:root {
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --ink: #232220;
  --ink-2: #4a4844;
  --muted: #6f6b65;
  --rule: #d9d4cb;
  --accent: #2f3a63;          /* deep ink-navy, taken from the bicycle monogram */
  --accent-ink: #ffffff;
  --name-colour: #ad426b;
  --text-brand: clamp(1.08rem, .82rem + .8vw, 1.55rem);
  --display: "Erode", "Iowan Old Style", Georgia, serif;
  --body: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --text-hero: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4rem, 9vw, 8rem);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-base)/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--rule); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { position: relative; font: 400 var(--text-brand)/1 var(--body); letter-spacing: .2em; text-decoration: none; white-space: nowrap; color: var(--name-colour); }
.brand__first { font-weight: 600; }
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a { font-size: var(--text-sm); text-decoration: none; color: var(--ink-2); padding: .5rem 0; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { border: 1px solid var(--ink); padding: .55rem 1rem !important; color: var(--ink) !important; transition: background .2s, color .2s; }
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; font: 500 var(--text-sm)/1 var(--body); letter-spacing: .04em; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow { font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.hero__title { font: 300 var(--text-hero)/1.06 var(--display); letter-spacing: -.01em; max-width: 14ch; }
.hero__title em { font-style: normal; color: inherit; }
.hero__lede { margin-top: 1.6rem; max-width: 46ch; color: var(--ink-2); }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__art { position: relative; margin: 0; justify-self: end; width: min(100%, 420px); }
.hero__main { width: 100%; box-shadow: 0 30px 60px -30px rgba(35,34,32,.35); }
.hero__float { position: absolute; background: transparent; padding: 0; box-shadow: none; }
.hero__float--a { position: relative; display: block; width: 68%; margin: -43.5% auto 0; }  /* bike monogram centred under the couple */
.hero__art figcaption { margin-top: 1rem; font-size: var(--text-xs); color: var(--muted); letter-spacing: .04em; text-align: right; }

/* sections */
.section { padding: var(--sec) 0; }
.section--tint { background: var(--paper-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sec-title { font: 400 var(--text-xl)/1.15 var(--display); }

/* filters */
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { font: 500 var(--text-xs)/1 var(--body); letter-spacing: .06em; padding: .7rem 1rem; min-height: 40px; background: transparent; color: var(--ink-2); border: 1px solid var(--rule); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* work grid — masonry columns so every piece shows whole */
.works { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: clamp(1rem, 2vw, 1.6rem); }
.work { break-inside: avoid; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.work[hidden] { display: none; }
.work__btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; }
.work__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.work__img { display: block; overflow: hidden; background: #fff; padding: 7%; }
.work__img img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work__btn:hover .work__img img { transform: scale(1.03); }
.work__cap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; font-size: var(--text-sm); }
.work__t { color: var(--ink); }
.work__c { color: var(--muted); font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding-top: .15rem; }
.more { margin-top: 2.5rem; }
.more a { font-size: var(--text-sm); text-underline-offset: 4px; }

/* services */
.svc { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.svc__intro { position: sticky; top: 110px; align-self: start; }
.svc__intro p { margin-top: 1.2rem; color: var(--ink-2); max-width: 36ch; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc__list li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.svc__n { font: 400 var(--text-sm)/1 var(--display); color: var(--muted); }
.svc__list h3 { font: 500 var(--text-lg)/1.3 var(--body); margin-bottom: .35rem; }
.svc__list p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.tag { font-size: var(--text-xs); letter-spacing: .06em; color: var(--muted); white-space: nowrap; }

/* steps */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.steps__n { font: 300 2.6rem/1 var(--display); color: var(--accent); display: block; margin-bottom: 1rem; }
.steps h3 { font: 500 var(--text-lg)/1.3 var(--body); margin-bottom: .4rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__art { margin: 0; }
.about__art img { width: 100%; background: #fff; }
.about__art figcaption { margin-top: .8rem; font-size: var(--text-xs); color: var(--muted); }
.about__text .sec-title { margin-bottom: 1.4rem; }
.about__text p { color: var(--ink-2); max-width: 58ch; }
.facts { margin: 2rem 0 0; display: grid; gap: 1rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.facts dt { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.facts dd { margin: 0; font-size: var(--text-sm); }

/* contact */
.contact { background: var(--paper); color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__eyebrow { color: var(--name-colour); margin-bottom: 1rem; }
.contact__title { font: 300 var(--text-hero)/1.05 var(--display); max-width: 11ch; }
.contact__lede { margin-top: 1.4rem; color: var(--ink-2); max-width: 38ch; }
.contact__direct { margin-top: 2rem; font: 400 var(--text-lg)/1.3 var(--display); }
.contact__direct a { color: var(--name-colour); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact__meta { color: var(--muted); font-size: var(--text-sm); }
.form { display: grid; gap: 1.1rem; align-content: start; background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -34px rgba(35,34,32,.35); border-top: 3px solid var(--name-colour); }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--text-base); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: .6rem 0; border-radius: 0; }
.field input::placeholder, .field textarea::placeholder { color: #a8a39b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--name-colour); }
.form .btn--solid { justify-self: start; margin-top: .6rem; }
.form .btn--solid:hover { background: var(--name-colour); border-color: var(--name-colour); }
.form__note { font-size: var(--text-xs); color: var(--muted); margin: 0; }

/* closing call to action */
.cta-end { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--rule); }
.cta-end__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-end__t { margin: 0; font: 300 var(--text-xl)/1.15 var(--display); }

/* footer */
.foot { background: var(--ink); color: #a8a39b; border-top: 1px solid #3a3835; font-size: var(--text-xs); }
.foot__in { display: flex; justify-content: space-between; padding-top: 1.4rem; padding-bottom: 1.4rem; gap: 1rem; flex-wrap: wrap; }

/* lightbox */
.lb { border: 0; padding: 0; max-width: min(1000px, 94vw); width: 100%; background: var(--paper); color: var(--ink); }
.lb::backdrop { background: rgba(20,19,18,.82); }
.lb figure { margin: 0; display: grid; grid-template-columns: 1.4fr 1fr; }
.lb img { width: 100%; max-height: 82vh; object-fit: contain; background: #fff; }
.lb figcaption { padding: 2rem; align-self: end; }
.lb h3 { font: 400 var(--text-xl)/1.15 var(--display); margin-bottom: 1rem; }
.lb p { color: var(--ink-2); margin: 0; }
.lb__frames { list-style: none; margin: 0; padding: 1rem; max-height: 82vh; overflow-y: auto; background: #fff; display: grid; gap: 1rem; overscroll-behavior: contain; }
.lb__frames li { position: relative; }
.lb .lb__frames img { display: block; width: 100%; height: auto; max-height: none; border: 1px solid #e6e3dc; }
.lb__frames span { position: absolute; left: .5rem; top: .5rem; background: var(--paper); color: var(--ink); font-size: .75rem; letter-spacing: .06em; padding: .15rem .45rem; }
.lb__frames--grid { grid-template-columns: repeat(5, 1fr); gap: .25rem; align-content: start; }
.lb .lb__frames--grid img { border: 0; aspect-ratio: 1; }
.lb [hidden] { display: none !important; }
.lb__x { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; border: 0; background: var(--paper); font-size: 1.6rem; cursor: pointer; color: var(--ink); z-index: 2; }

/* responsive */
@media (max-width: 900px) {
  .hero__grid, .svc, .about, .contact__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; width: min(78%, 360px); margin-top: 1rem; }
  .svc__intro { position: static; }
  .works { columns: 2; }
  .lb figure { grid-template-columns: 1fr; }
  .lb img { max-height: 60vh; }
  .lb__frames { max-height: 46vh; }
  .lb__frames--grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .nav__links li:not(:last-child) { display: none; }
  .brand { letter-spacing: .12em; }
  .nav__in { gap: .5rem; }
  .nav__cta { padding: .55rem .65rem !important; }
  .steps { grid-template-columns: 1fr; }
  .works { columns: 1; }
  .svc__list li { grid-template-columns: 2.2rem 1fr; }
  .svc__list .tag { grid-column: 2; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- pastel brush strokes ---------- */
.hero, .section { position: relative; isolation: isolate; overflow: hidden; }
html, body { overflow-x: clip; }
.hero { overflow: visible; }
.hero__connecting-stroke { position: absolute; left: 0; pointer-events: none; z-index: -1; max-width: 100%; filter: blur(.65px); }  /* one soft pass instead of blurring every bristle */
.hero__art::before, .hero__art::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: no-repeat center / contain; }
.hero__art::before { background-image: url(img/brush/hero-composition.webp); width: 190%; aspect-ratio: 1; left: -48%; top: -15%; }
.hero__art::after { display: none; }

.sec-title { display: inline-block; padding: 0 .12em .06em; margin-left: -.12em; background: no-repeat 0 108% / 100% .78em; }
#work-h  { background-image: url(img/brush/u-sky.webp); }
#svc-h   { background-image: url(img/brush/u-sage.webp); }
#proc-h  { background-image: url(img/brush/u-lav.webp); }
#about-h { background-image: url(img/brush/u-blush.webp); }
#contact-h { display: inline; background: no-repeat 0 100% / 100% .3em url(img/brush/u-blush.webp); }
.contact__title-wrap { max-width: 11ch; font: 300 var(--text-hero)/1.05 var(--display); }
.contact__title { font: inherit; max-width: none; }

.steps__n { position: relative; display: inline-block; padding: .1em .35em 0; margin-left: -.35em; }
.steps__n::before { content: ""; position: absolute; inset: -.3em -.7em -.2em -.55em; z-index: -1; background: no-repeat center / contain; }
.steps li:nth-child(1) .steps__n::before { background-image: url(img/brush/dab-blush.webp); }
.steps li:nth-child(2) .steps__n::before { background-image: url(img/brush/dab-sage.webp); }
.steps li:nth-child(3) .steps__n::before { background-image: url(img/brush/dab-sky.webp); }

.section::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: no-repeat center / contain; }
#services::before { background-image: url(img/brush/wash-sage.webp); width: min(620px, 70vw); aspect-ratio: 800 / 420; left: -8%; bottom: 4%; transform: rotate(-4deg); opacity: .9; }
#contact::before { background-image: url(img/brush/hero-blush.webp); width: min(640px, 80vw); aspect-ratio: 1; right: -10%; top: -6%; opacity: .55; }
#about::before { background-image: url(img/brush/wash-lav.webp); width: min(520px, 62vw); aspect-ratio: 800 / 420; left: 2%; top: 56%; transform: rotate(3deg); opacity: .95; }
#about .about__art img { position: relative; box-shadow: 0 24px 50px -30px rgba(35,34,32,.35); }
@media (max-width: 900px) {
  #about::before { top: 2%; left: -12%; width: 90vw; }
}
@media (max-width: 640px) {
  .hero__art::before { width: 185%; left: -43%; top: -12%; }
}
