/* ==========================================================================
   Fernwood & Co. — landscape design & build
   Direction: "The place carries it" — photographs lead, type steps back.
   Bone ground, forest ink, one sprout-green accent kept for the main action.
   ========================================================================== */

:root {
  --bone: #e9e8e3;
  --bone-2: #dddcd4;
  --mist: #d8e1db;
  --forest: #213020;
  --forest-2: #2b3c29;
  --ink: #1b2219;
  --ink-soft: #464d41;
  --on-dark: #f1f0eb;
  --on-dark-soft: #c3cbbd;
  --sprout: #cfe37a;

  --f-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --f-text: "EB Garamond", Georgia, serif;

  /* five type steps */
  --step-small: 1rem;                                        /* 16px */
  --step-body: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);   /* 18–20px */
  --step-lead: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);     /* 22–28px */
  --step-head: clamp(3rem, 1.6rem + 5vw, 6.25rem);           /* 48–100px */
  --step-display: min(calc((100vw - 2 * var(--margin)) / 4.45), 36svh);

  --margin: max(clamp(16px, 3vw, 44px), (100vw - 1760px) / 2);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 12vw, 176px);
  --radius: 6px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.hero :focus-visible, .svc :focus-visible, .team :focus-visible, .cta :focus-visible, .bar :focus-visible { outline-color: var(--sprout); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sprout); color: var(--forest); padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */
.head {
  font: 400 var(--step-head)/.88 var(--f-display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.head--light { color: var(--on-dark); }
.body-lg { font-size: var(--step-lead); line-height: 1.32; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font: 600 var(--step-body)/1 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease-out), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--sprout { background: var(--sprout); color: var(--forest); }
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-fill, transparent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--sprout { --btn-fill: #e2efa6; }
.btn--forest { background: var(--forest); color: var(--bone); }
.btn--forest { --btn-fill: var(--forest-2); }

.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; min-height: 44px; }
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: var(--on-dark);
  background: var(--forest);
  overflow: hidden;
}
.hero__shutter { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { /* neutral scrim behind the text areas only (taste-skill-ignore) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 16, 11, .5) 0, rgba(12, 16, 11, 0) 18%), /* taste-skill-ignore */
    linear-gradient(0deg, rgba(12, 16, 11, .78) 0, rgba(12, 16, 11, .35) 42%, rgba(12, 16, 11, 0) 62%); /* taste-skill-ignore */
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--margin); position: relative; z-index: 5; }
.wordmark { font: 400 1.75rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links a { position: relative; font-size: var(--step-body); text-decoration: none; padding: 10px 0; }
.nav__links a:not(.nav__action)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__links a:not(.nav__action):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__action { background: var(--bone); color: var(--forest); padding: 12px 22px; border-radius: 999px; transition: background-color .25s; }
.nav__links .nav__action:hover { background: var(--sprout); }
.nav__toggle { display: none; }

.hero__base { margin-top: auto; padding: 0 var(--margin) clamp(12px, 1.6vw, 22px); }
.hero__row { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(8px, 1.4vw, 20px); }
.hero__lede { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.hero__name {
  font: 400 var(--step-display)/.8 var(--f-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: -.02em;
  padding-top: .04em;
}

/* ---------- Studio ---------- */
.studio {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: var(--section) var(--margin);
}
.studio__text { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; margin-bottom: clamp(56px, 7vw, 104px); }
.studio__text .head { grid-column: 1 / 7; }
.studio .statement { grid-column: 7 / -1; font-size: var(--step-lead); line-height: 1.32; text-indent: 3em; max-width: 40ch; }
.studio__media { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 20px; }
.studio__small { grid-column: 1 / 5; }
.studio__small img { aspect-ratio: 4 / 5; max-height: 62svh; object-fit: cover; width: 100%; border-radius: var(--radius); }
.studio__small figcaption { margin-top: 12px; font-size: var(--step-small); font-style: italic; color: var(--ink-soft); }
.studio__wide { grid-column: 5 / -1; grid-row: 1; }
.studio__wide img { width: 100%; height: 100%; max-height: 78svh; object-fit: cover; border-radius: var(--radius); }
.studio figure { overflow: hidden; }
.studio figure img { transition: transform 1.1s var(--ease-out); }
.studio figure:hover img { transform: scale(1.03); }

/* ---------- Services ---------- */
.services { background: var(--forest); color: var(--on-dark); padding: var(--section) var(--margin); }
.services__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 104px); }
.services__body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.services__img img { width: 100%; aspect-ratio: 4 / 5; max-height: 82svh; object-fit: cover; border-radius: var(--radius); }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.promise h3 { font: 500 var(--step-lead)/1.15 var(--f-text); margin-bottom: 12px; }
.promise p { color: var(--on-dark-soft); }

/* ---------- Before / After ---------- */
.transform {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: var(--section) var(--margin);
}
.transform .body-lg { margin-top: 28px; max-width: 34ch; }
/* held for one screen while the scroll draws the garden out of the sketch */
.transform.is-held { min-height: calc(100svh + 100svh); align-items: start; }
.transform.is-held > * { position: sticky; top: max(96px, calc(50svh - min(30vw, 40svh))); }
/* a tall copy column on a short screen holds with its last line in view */
.transform.is-held .transform__copy { top: min(96px, calc(100svh - var(--copy-h, 0px) - 32px)); }
.transform.is-held .ba { max-height: 80svh; }
.notes { display: grid; gap: 4px; margin: 36px 0 0; max-width: 34rem; }
.notes div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 10px 16px; border-radius: var(--radius); }
.notes div:nth-child(odd) { background: var(--bone-2); }
.notes dt { font-weight: 600; color: var(--forest); }
.notes dd { margin: 0; }

/* the arch-shaped comparison frame */
.ba {
  --pos: 50%;
  position: relative;
  max-height: 84svh;
  aspect-ratio: 5 / 4.3;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  overflow: hidden;
  background: var(--bone-2);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--bone); pointer-events: none; }
.ba__knob {
  position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sprout); color: var(--forest); border: 4px solid var(--bone);
  display: grid; place-items: center; font-size: 24px;
  transition: transform .25s var(--ease-out);
}
.ba.is-dragging .ba__knob { transform: translate(-50%, -50%) scale(1.12); }
.ba__range:focus-visible ~ .ba__line .ba__knob { outline: 3px solid var(--forest); outline-offset: 3px; }
.ba__label {
  position: absolute; bottom: 24px; z-index: 2;
  padding: 7px 16px; border-radius: 999px;
  font-size: var(--step-small); font-weight: 600;
  background: var(--forest); color: var(--bone);
  transition: opacity .3s; pointer-events: none;
}
.ba__label--before { left: 0; border-radius: 0 var(--radius) 0 0; }
.ba__label--after { right: 0; border-radius: var(--radius) 0 0 0; background: var(--bone); color: var(--forest); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }

/* ---------- Team ---------- */
.team { background: var(--forest); color: var(--on-dark); padding: var(--section) var(--margin); }
.team__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; transition: transform .8s var(--ease-out); }
.member:hover img { transform: translateY(-6px); }
.member h3 { font: 600 var(--step-body)/1.3 var(--f-text); }
.member p { font-size: var(--step-small); color: var(--on-dark-soft); font-style: italic; }

/* ---------- Materials ---------- */
.materials { background: var(--mist); padding: var(--section) var(--margin); overflow: clip; }
.materials__head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.materials__head .body-lg { max-width: 40ch; }
.materials__board { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr .95fr 1.1fr; gap: var(--gap); align-items: start; }
.mat:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.materials.is-strips .mat:nth-child(even) { margin-top: 0; }
.mat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.mat h3 { font: 600 var(--step-lead)/1.15 var(--f-text); margin-bottom: 4px; }
.mat p { font-size: var(--step-small); max-width: 26ch; }
.js .mat.reveal { transform: translateY(16px); }
.js .mat.reveal.is-in { transform: none; }
/* "looks better with age": the swatch starts pale and weathers into full colour as it reaches the middle of the screen */
@keyframes weather { from { filter: saturate(.1) brightness(1.15); } to { filter: none; } }
@supports (animation-timeline: view()) {
  .mat img { animation: weather linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  /* gallery: pictures move a little inside still frames */
  @keyframes inframe { from { translate: 0 -4%; } to { translate: 0 4%; } }
  .g img { height: 110%; margin-top: -5%; animation: inframe linear both; animation-timeline: view(); }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr 1.1fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, 280px));
  padding: var(--section) var(--margin);
}
.gallery__label { grid-row: 1 / 3; align-self: end; display: grid; gap: 22px; justify-items: start; }
.gallery__label p { max-width: 26ch; }
.g { position: relative; border-radius: var(--radius); overflow: clip; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; bottom: 0; background: var(--bone); color: var(--ink); font-size: var(--step-small); padding: 6px 14px; border-radius: 0 var(--radius) 0 0; }
.g--arch { grid-row: 1 / 3; border-radius: 999px 999px var(--radius) var(--radius); }
.g--a { grid-column: 3; grid-row: 1; }
.g--b { grid-column: 3; grid-row: 2; }
.g--tall { grid-column: 4; grid-row: 1 / 3; }
.g-quote { grid-column: 2 / -1; grid-row: 3; margin: clamp(56px, 6vw, 104px) 0 0; display: grid; gap: 14px; }
.g-quote blockquote { margin: 0; }
.g-quote p { font: italic 400 clamp(1.5rem, 1rem + 1.4vw, 2.25rem)/1.2 var(--f-text); color: var(--forest); max-width: 30ch; }
.g-quote figcaption { font-size: var(--step-small); color: var(--ink); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--forest); padding: 0 var(--margin) clamp(64px, 8vw, 112px); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; background: var(--bone); }
.cta__card { position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; min-height: clamp(420px, 46vw, 620px); display: flex; align-items: flex-end; color: var(--on-dark); }
.cta__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.cta__card.is-in > img { transform: scale(1); }
.cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 16, 11, .7) 0, rgba(12, 16, 11, 0) 65%); } /* taste-skill-ignore: scrim */
.cta__inner { padding: clamp(24px, 4vw, 56px); display: grid; gap: 22px; justify-items: start; max-width: 760px; }
.cta__title { font: 400 var(--step-head)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.cta__inner p { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }

/* ---------- Booking form (grows out of the CTA button) ---------- */
.cta__card { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.cta__card.is-open { grid-template-columns: minmax(0, 1fr) minmax(380px, 600px); }
.cta__open { transition: transform .3s var(--ease-out), background-color .25s, opacity .3s, visibility .3s; }
.js .cta__card.is-open .cta__open { opacity: 0; visibility: hidden; transition-delay: 0s; }

.booking {
  --ox: 0px; --oy: 100%; --r: 0px;
  align-self: stretch;
  margin: clamp(12px, 1.6vw, 20px);
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--bone); color: var(--ink);
  border-radius: var(--radius);
  clip-path: circle(0px at var(--ox) var(--oy));
  transition: clip-path .5s cubic-bezier(.5, 0, .75, 0);
}
.booking.is-shown { clip-path: circle(var(--r) at var(--ox) var(--oy)); transition: clip-path .8s var(--ease-out); }
.booking__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.booking__head h3 { font: 400 clamp(2rem, 1.4rem + 1.6vw, 3rem)/.9 var(--f-display); text-transform: uppercase; }
.booking__close {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--bone-2); color: var(--ink); font-weight: 600;
  transition: background-color .25s;
}
.booking__close:hover { background: #cfcdc3; }

.booking__form { display: grid; gap: 12px; }
.booking__form > * { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.booking.is-shown .booking__form > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.booking.is-shown .booking__form > :nth-child(1) { transition-delay: .25s; }
.booking.is-shown .booking__form > :nth-child(2) { transition-delay: .31s; }
.booking.is-shown .booking__form > :nth-child(3) { transition-delay: .37s; }
.booking.is-shown .booking__form > :nth-child(4) { transition-delay: .43s; }
.booking.is-shown .booking__form > :nth-child(5) { transition-delay: .49s; }
.booking.is-shown .booking__form > :nth-child(6) { transition-delay: .55s; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.field-row--wide { grid-template-columns: 2fr 3fr; }
.field { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: var(--step-small); font-weight: 600; padding: 0; }
.field label span[aria-hidden] { color: #8e2a1c; }
.field__opt { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 8px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #f6f5f1; border: 1.5px solid #c4c2b8; border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9a988e; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--forest); outline-offset: 1px; border-color: var(--forest); background: #fff; }
.field input[aria-invalid="true"] { border-color: #8e2a1c; background: #fbf2f0; }
.field__err { font-size: var(--step-small); color: #8e2a1c; min-height: 0; }
.field__err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--bone-2); border-radius: 999px; font-size: 1rem; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chips label:hover span { background: #d2d0c6; }
.chips input:checked + span { background: var(--forest); color: var(--bone); }
.chips input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }

.booking__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.booking__foot p { font-size: var(--step-small); color: var(--ink-soft); max-width: 30ch; }
.booking__foot .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

.booking__done { display: grid; gap: 16px; justify-items: start; align-content: center; min-height: 60%; outline: none; }
.booking__done-title { font: 400 var(--step-head)/.9 var(--f-display); text-transform: uppercase; color: var(--forest); }
.booking__done p:not(.booking__done-title) { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }

/* ---------- About: founder ---------- */
.founder {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start;
  margin: clamp(80px, 9vw, 144px) calc(-1 * var(--margin)) calc(-1 * var(--section));
  padding: clamp(64px, 7vw, 112px) var(--margin); background: var(--bone-2);
}
.founder__pic { grid-column: 1 / 4; grid-row: 1 / 3; }
.founder__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.founder__text { grid-column: 5 / -1; display: grid; gap: 20px; }
.founder__title { font: 400 clamp(2rem, 1.2rem + 2.6vw, 3.6rem)/.9 var(--f-display); text-transform: uppercase; color: var(--forest); }
.founder__quote { margin: 0; font-size: var(--step-lead); line-height: 1.32; max-width: 38ch; }
.founder__by { color: var(--ink); font-size: var(--step-small); font-style: italic; }
.founder__facts { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 32px; }
.founder__facts li { max-width: 30ch; }
.founder__facts strong { font-weight: 600; color: var(--forest); }

/* ---------- Services: open-able rows ---------- */
.svc { background: var(--forest); color: var(--on-dark); padding: var(--section) var(--margin); }
.svc__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.svc__list { display: grid; gap: 8px; }
.svc__item { scroll-margin-top: 88px; background: var(--forest-2); border-radius: var(--radius); transition: background-color .35s, color .35s; }
.svc__item summary {
  display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 24px;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px);
  cursor: pointer; list-style: none; border-radius: var(--radius);
}
.svc__item summary::-webkit-details-marker { display: none; }
.svc__item:not([open]):hover { background: #35492f; }
.svc__name { font: 400 clamp(2rem, 1.2rem + 2.6vw, 3.6rem)/.9 var(--f-display); text-transform: uppercase; }
.svc__meta { color: var(--on-dark-soft); white-space: nowrap; transition: color .35s; }
.svc__toggle { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--bone); transition: transform .4s var(--ease-out), background-color .3s; }
.svc__toggle::before, .svc__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2.5px; margin: -1.25px 0 0 -9px; background: var(--forest); border-radius: 2px; }
.svc__toggle::after { transform: rotate(90deg); }
.svc__item[open] { background: var(--bone); color: var(--ink); }
.svc__item[open] .svc__meta { color: var(--ink-soft); }
.svc__item[open] .svc__toggle { transform: rotate(45deg); background: var(--sprout); }
.svc__item summary:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; }
.svc__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); padding: 0 clamp(20px, 2.6vw, 36px) clamp(20px, 2.6vw, 36px); }
.svc__item[open] .svc__body { animation: rise .6s var(--ease-out) both; }
.svc__copy { display: grid; gap: 18px; align-content: start; max-width: 46ch; }
.svc__copy p { font-size: var(--step-lead); line-height: 1.3; }
.svc__copy ul { list-style: disc; padding-left: 1.1em; color: var(--ink-soft); display: grid; gap: 4px; }
.svc__item:not([open]) .svc__body { display: none; }
.svc__body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* ---------- Process: stages rising like growth ---------- */
.process { background: var(--mist); padding: var(--section) var(--margin); }
.process__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.process__head .body-lg { max-width: 40ch; }
.process__next { margin-top: clamp(40px, 5vw, 72px); }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); align-items: start; }
.stage { display: grid; gap: 12px; align-content: start; }
.stage:nth-child(1) { padding-top: clamp(0px, 12vw, 216px); }
.stage:nth-child(2) { padding-top: clamp(0px, 8vw, 144px); }
.stage:nth-child(3) { padding-top: clamp(0px, 4vw, 72px); }
.stage__when { font: 400 clamp(2rem, 1.2rem + 2.6vw, 3.6rem)/.9 var(--f-display); text-transform: uppercase; color: var(--forest); }
.stage h3 { font: 600 var(--step-lead)/1.15 var(--f-text); }
.stage p:last-child { max-width: 32ch; }

/* ---------- Sticky bar ---------- */
section[id] { scroll-margin-top: 72px; }
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px var(--margin);
  background: var(--forest); color: var(--on-dark);
  box-shadow: 0 6px 20px rgba(12, 16, 11, .18); /* taste-skill-ignore: sticky bar floats */
  transform: translateY(-110%);
  transition: transform .45s var(--ease-out);
}
.bar.is-shown { transform: none; }
.bar__mark { font: 400 1.75rem/1 var(--f-display); text-decoration: none; letter-spacing: .01em; }
.bar__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.bar__links a { position: relative; display: inline-block; padding: 12px 0; text-decoration: none; color: var(--on-dark-soft); transition: color .25s; }
.bar__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--sprout); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.bar__links a:hover, .bar__links a[aria-current="true"] { color: var(--on-dark); }
.bar__links a[aria-current="true"]::after { transform: scaleX(1); }
.bar__book { min-height: 44px; padding: 0 20px; }
.bar__menu { display: none; }

/* ---------- Process promises ---------- */
.stage__promise { margin-top: 6px; font-style: italic; color: var(--forest); max-width: 32ch; }
.stage__promise strong { font-style: normal; font-weight: 600; }

/* ---------- Picture reveal: a wipe upward, so pictures arrive differently from text ---------- */
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out); }
.js .reveal.reveal-img { opacity: 1; transform: none; }
.js .reveal-img.is-in, .js .is-in .reveal-img { clip-path: inset(0 0 0 0); }
.js .reveal-img > img, .js img.reveal-img { scale: 1.08; transition: clip-path 1.1s var(--ease-out), scale 1.6s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal-img.is-in > img, .js .is-in img.reveal-img { scale: 1; }

/* ---------- Materials, wide screens: sample strips that open one at a time ---------- */
.materials.is-strips .materials__board { display: flex; align-items: stretch; gap: var(--gap); height: clamp(440px, 62svh, 640px); }
.materials.is-strips .mat {
  flex: 1 1 0; min-width: 0; margin: 0; display: flex; flex-direction: column; cursor: pointer; outline: none;
}
/* widths animate only after the first layout, so the strips never grow in from nothing on load */
.materials.is-strips.is-ready .mat { transition: flex-grow .7s var(--ease-expo), opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.materials.is-strips .mat.is-open { flex-grow: 3.4; cursor: default; }
.materials.is-strips .mat img {
  flex: 1; min-height: 0; aspect-ratio: auto; margin-bottom: 14px; animation: none;
  filter: saturate(.45) brightness(1.06); transition: filter 1.2s ease;
}
/* the open strip weathers into full colour */
.materials.is-strips .mat.is-open img { filter: none; }
.materials.is-strips .mat:hover:not(.is-open) img { filter: saturate(.7) brightness(1.03); }
.materials.is-strips .mat:focus-visible img { outline: 3px solid var(--forest); outline-offset: 3px; }
.materials.is-strips .mat h3 { min-height: 2.3em; overflow-wrap: anywhere; }
.materials.is-strips .mat p { max-width: 34ch; min-height: 2.8em; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .4s var(--ease-out); }
.materials.is-strips .mat.is-open p { opacity: 1; transform: none; transition-delay: .25s; }

/* ---------- Questions ---------- */
.faq { padding: var(--section) var(--margin); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 20px; position: sticky; top: 96px; }
.faq__head .body-lg { max-width: 30ch; }
.faq__list { display: grid; gap: 6px; align-content: start; }
.faq__list.is-measuring .faq__item::details-content, .faq__list.is-measuring .faq__item p { transition: none; }
.faq__item { background: var(--bone-2); border-radius: var(--radius); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 24px; min-height: 64px; cursor: pointer; list-style: none;
  font: 600 var(--step-lead)/1.2 var(--f-text); color: var(--forest);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bone); font: 400 1.5rem/1 var(--f-text); transition: transform .4s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--ink); }
.faq__item summary:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-radius: var(--radius); }
.faq__item p { padding: 0 24px 24px; max-width: 60ch; }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item p { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.faq__item[open] p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- Footer ---------- */
.footer { background: var(--bone); padding: clamp(64px, 8vw, 112px) var(--margin) 24px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.footer__head { font: 500 var(--step-lead)/1.2 var(--f-text); margin-bottom: 22px; max-width: 22ch; }
.news label { display: block; font-size: var(--step-small); color: var(--ink-soft); margin-bottom: 8px; }
.news__row { display: flex; gap: 8px; max-width: 480px; }
.news input { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 999px; background: var(--bone-2); padding: 0 22px; font: inherit; color: var(--ink); }
.news input::placeholder { color: #6a7064; }
.news__msg { margin-top: 10px; min-height: 1.5em; font-size: var(--step-small); }
.news__msg.is-error { color: #8e2a1c; }
.news__msg.is-ok { color: #355c19; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h3 { font: 600 var(--step-body)/1.2 var(--f-text); margin-bottom: 12px; }
.footer__cols li { font-size: var(--step-small); color: var(--ink); padding: 4px 0; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--forest); text-decoration: underline; }
.footer__name {
  font: 400 var(--step-display)/.8 var(--f-display); letter-spacing: -.035em; text-transform: uppercase;
  white-space: nowrap; color: var(--forest); margin: clamp(56px, 7vw, 96px) 0 0 -.02em;
}
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: var(--step-small); color: var(--ink-soft); }
.footer__base a { text-decoration: none; }
.footer__base a:hover { text-decoration: underline; }

/* ---------- Motion ---------- */
@keyframes shutter { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__shutter { animation: shutter 1.1s var(--ease-out) both; }
.hero__bg { animation: settle 2.4s var(--ease-out) both; }
.hero__lede { animation: rise .9s .55s var(--ease-out) both; }
.hero__row .btn { animation: rise .9s .65s var(--ease-out) both; }
.hero__name { animation: rise 1s .4s var(--ease-out) both; }
.hero__name.split { animation: none; }
.split .l, .split .l > span { display: inline-block; }
@keyframes letter { from { opacity: 0; transform: translateY(45%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero__name .l > span { animation: letter 1.1s calc(.3s + var(--i) * 30ms) var(--ease-out) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.nav { animation: fade .8s .8s var(--ease-out) both; } /* opacity only: a transform here would trap the fixed menu inside the hero */
body.menu-open .hero { z-index: 100; }
body.menu-open .nav { position: fixed; top: 0; left: 0; right: 0; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .head.split { opacity: 1; transform: none; }
.head.split .ln { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.head.split .ln > span { display: block; transform: translateY(110%); transition: transform .9s var(--ease-expo); transition-delay: calc(var(--i) * 100ms); }
.head.split.is-in .ln > span { transform: none; }
/* process: stages ahead of the reader wait, lit ones stay lit */
.is-tracking .stage > * { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.is-tracking .stage.is-ahead > * { opacity: .45; transform: translateY(8px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto repeat(2, 220px); }
  .gallery__label { grid-column: 1 / -1; grid-row: auto; }
  .g--arch { grid-column: 1; grid-row: 2 / 4; }
  .g--a { grid-column: 2; grid-row: 2; }
  .g--b { grid-column: 2; grid-row: 3; }
  .g--tall { grid-column: 3; grid-row: 2 / 4; }
  .g-quote { grid-column: 1 / -1; grid-row: 4; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    background: var(--bone); color: var(--forest); border: 0; border-radius: 999px;
    font-weight: 600; position: relative; z-index: 6;
  }
  .nav__links {
    position: fixed; inset: 0; z-index: 5; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--forest); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links a { font: 400 3rem/1 var(--f-display); text-transform: uppercase; }
  .nav__links .nav__action { font: 600 var(--step-body)/1 var(--f-text); text-transform: none; margin-top: 16px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .wordmark { position: relative; z-index: 6; }

  .hero__row { flex-direction: column; align-items: flex-start; gap: 20px; }

  .studio__text .head, .studio .statement { grid-column: 1 / -1; }
  .studio .statement { margin-top: 24px; text-indent: 0; }
  .studio__small { grid-column: 1 / 6; grid-row: 1; }
  .studio__wide { grid-column: 6 / -1; grid-row: 1; }
  .studio__wide img { aspect-ratio: 4 / 5; }

  .services__top, .services__body, .transform, .team__head, .footer__grid, .materials { grid-template-columns: 1fr; }
  .services__img img { aspect-ratio: 16 / 10; }
  .team__head { gap: 16px; }
  .svc__head { grid-template-columns: 1fr; gap: 16px; }
  .founder__pic { grid-column: 1 / 5; grid-row: 1; }
  .founder__text { grid-column: 5 / -1; }
  .founder__facts { grid-column: 1 / -1; grid-row: 2; }
  .bar nav { display: none; }
  .bar__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-left: auto; border: 0; border-radius: 999px; background: var(--forest-2); color: var(--on-dark); font-weight: 600; }
  .process__steps { grid-template-columns: 1fr 1fr; align-items: start; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .materials__board { grid-template-columns: repeat(3, 1fr); }
  .mat:nth-child(even) { margin-top: 0; }
  .stage:nth-child(n) { padding-top: 0; }
  .cta__card.is-open { grid-template-columns: minmax(0, 1fr); }
  .js .cta__card.is-open .cta__open { display: none; }
}

@media (max-width: 600px) {
  .studio__small, .studio__wide { grid-column: 1 / -1; grid-row: auto; }
  .studio__wide img { aspect-ratio: 4 / 3; }
  .promises { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto 280px 200px; }
  .g--arch { grid-column: 1; grid-row: 2; }
  .g--tall { grid-column: 2; grid-row: 2; }
  .g--a { grid-column: 1; grid-row: 3; }
  .g--b { grid-column: 2; grid-row: 3; }
  .g-quote { grid-row: 4; }
  .g figcaption { left: 8px; bottom: 8px; font-size: .8125rem; }
  .ba { aspect-ratio: 1 / 1.05; }
  .ba__label { bottom: 16px; }
  .ba__label--before { left: 16px; }
  .ba__label--after { right: 16px; }
  .cta::before { height: 22%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .news__row { flex-direction: column; }
  .news input { flex: none; }
  .field-row { grid-template-columns: 1fr; }
  .founder__pic { grid-column: 1 / -1; }
  .founder__img { aspect-ratio: 4 / 3; }
  .founder__text { grid-column: 1 / -1; margin-top: 24px; }
  .founder__facts { grid-template-columns: 1fr; grid-row: auto; }
  .bar { gap: 8px; }
  .bar__mark { font-size: 1.35rem; }
  .bar__book { padding: 0 16px; }
  .svc__item summary { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .svc__meta { grid-row: 2; white-space: normal; }
  .svc__toggle { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; }
  .svc__body { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: 40px; }
  .materials__board { grid-template-columns: 1fr 1fr; }
  .mat:last-child { grid-column: 1 / -1; }
  .mat:last-child img { aspect-ratio: 16 / 9; }
  .notes div { grid-template-columns: 5rem 1fr; }
  .booking { margin: 8px; }
  .faq__item summary { padding: 16px 18px; }
  .faq__item p { padding: 0 18px 20px; }
  /* phone: tighter rhythm, so the page reads as one scroll rather than thirteen screens */
  :root { --section: 64px; }
  .studio__media { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .studio__small { grid-column: 1; }
  .studio__wide { grid-column: 2; grid-row: 1; }
  .studio__small img, .studio__wide img { aspect-ratio: 3 / 4; }
  .founder__img { aspect-ratio: 16 / 10; }
  .founder__facts { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
  .founder__facts li:last-child { grid-column: 1 / -1; }
  .process__steps { gap: 28px; }
  .member img { aspect-ratio: 1 / 1; margin-bottom: 10px; }
  .mat img { aspect-ratio: 1 / 1; margin-bottom: 10px; }
  .mat:last-child img { aspect-ratio: 21 / 9; }
  .materials__head, .team__head { margin-bottom: 28px; }
  .footer { padding-top: 56px; }
  .footer__grid { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item p { opacity: 1; transform: none; }
  .mat img, .g img { animation: none !important; filter: none; translate: none; }
  .is-tracking .stage.is-ahead > * { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cta__card > img { transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img > img, .js img.reveal-img { scale: 1; }
}
