/* ==========================================================================
   Nannilam — version II, "Contour"
   The hill read as an instrument: hairlines, measured rails, nothing filled.
   Same two families and same palette as v1, inverted to a dark ground.
   ========================================================================== */

:root {
  --ink:        #0F1814;
  --ink-2:      #131E19;
  --canopy:     #1A3328;
  --laterite:   #9B4A2C;
  --laterite-lift: #C4663F;
  --paddy:      #C68B3C;
  --paddy-lift: #E0B573;
  --leaf:       #7D9A55;
  --stone:      #6B5E50;
  --millet:     #EDE3D3;
  --limewash:   #F4EDE1;

  --on-dark:     rgba(244, 237, 225, 0.76);
  --on-dark-dim: rgba(244, 237, 225, 0.56);
  --hair:        rgba(244, 237, 225, 0.16);
  --hair-soft:   rgba(244, 237, 225, 0.09);
  --hair-dark:   rgba(19, 30, 25, 0.22);

  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans:  Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tamil: "Noto Serif Tamil", var(--serif);

  --fs-hero:  clamp(2.5rem, 5.6vw, 4.75rem);
  --fs-h2:    clamp(1.75rem, 3.1vw, 2.75rem);
  --fs-lead:  clamp(1.1rem, 1.6vw, 1.4375rem);
  --fs-body:  clamp(0.9375rem, 0.4vw + 0.85rem, 1rem);
  --fs-eyebrow: 0.6875rem;

  --gutter:  clamp(1.5rem, 5vw, 7rem);
  --section: clamp(4.5rem, 7.5vw, 7.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--limewash);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 96;
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.028em; font-variation-settings: "SOFT" 44, "WONK" 1, "opsz" 144; }
h2 { font-size: var(--fs-h2); }
p { margin: 0; text-wrap: pretty; }
h2, h3 { text-wrap: balance; }

a { color: var(--paddy); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--paddy-lift); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--paddy); outline-offset: 3px; border-radius: 2px;
}

/* --- atoms --------------------------------------------------------- */

.eyebrow {
  display: block; font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--paddy);
  line-height: 1.6;
}
.eyebrow--lift { color: var(--paddy-lift); }
.eyebrow { text-wrap: balance; }
.eyebrow--gold { color: var(--paddy); }

.lead {
  font-family: var(--serif); font-variation-settings: "SOFT" 32, "opsz" 48;
  font-size: var(--fs-lead); font-weight: 300; line-height: 1.55;
  letter-spacing: -0.008em; color: var(--limewash);
}
.prose { color: var(--on-dark); }
.prose + .prose { margin-top: 1.25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 48px; padding: 0 1.75rem; border-radius: 0; border: 1px solid transparent;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--primary { background: var(--paddy); color: var(--ink); }
.btn--primary:hover { background: var(--paddy-lift); color: var(--ink); }
.btn--ghost { border-color: var(--hair); color: var(--limewash); }
.btn--ghost:hover { border-color: var(--paddy); color: var(--paddy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.section { padding: var(--section) var(--gutter); }
.section--deep { background: var(--canopy); }
.section--pale { background: var(--millet); color: var(--ink-2); }
.section--pale .eyebrow { color: var(--laterite); }
.section--pale h2 { color: var(--ink-2); }
.section--pale p { color: var(--stone); }
.section--pale a { color: var(--laterite); }
.section--pale a:hover { color: var(--ink-2); }
.section--pale :focus-visible { outline-color: var(--laterite); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2rem; border-bottom: 1px solid var(--hair);
}
.section--pale .section-head { border-bottom-color: var(--hair-dark); }
.section-head h2 { margin-top: 1.125rem; max-width: 20ch; }
.section-head > p { max-width: 32ch; font-size: 0.9375rem; color: var(--on-dark-dim); }
.section--pale .section-head > p { color: var(--stone); }

/* --- header -------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter); height: 5rem; color: var(--limewash);
  transition: background-color 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(15, 24, 20, 0.92);
  backdrop-filter: blur(10px);
  height: 4rem; border-bottom-color: var(--hair);
}
.site-header a { color: currentColor; }
.site-header a:hover { color: var(--paddy); }

.nav { display: flex; align-items: center; gap: 2rem; flex: 1 1 0; }
.nav a { padding-block: 0.625rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.header-actions { display: flex; justify-content: flex-end; flex: 1 1 0; }
.header-actions .btn { border-color: var(--hair); color: currentColor; min-height: 40px; }
.header-actions .btn:hover { border-color: var(--paddy); color: var(--paddy); }

.brand { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; }
/* The designer's mark and wordmark (media/brand/), as masks over the text
   colour, so the logo is limewash on dark and ink on pale with no second file. */
.brand__mark, .brand__word, .gate__mark {
  display: block; flex: none; background: currentColor;
  -webkit-mask: url("../media/brand/mark.png") center / contain no-repeat;
          mask: url("../media/brand/mark.png") center / contain no-repeat;
}
.brand__word {
  -webkit-mask-image: url("../media/brand/word.png");
          mask-image: url("../media/brand/word.png");
}

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  margin-right: -0.75rem; background: none; border: 0; cursor: pointer; color: currentColor;
}

/* --- hero: the contour field --------------------------------------- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8.5rem var(--gutter) 5rem; overflow: hidden; isolation: isolate;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -3; transform-origin: 50% 55%; }
.hero__video, .land__video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The contour field survives as a survey overlay drawn on the footage. */
.hero__field {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  color: var(--limewash); opacity: 0.16;
}
.hero__field .field path { vector-effect: non-scaling-stroke; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,24,20,0.55) 0%, rgba(15,24,20,0) 22%, rgba(15,24,20,0) 70%, rgba(15,24,20,0.7) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 60% at 30% 52%, rgba(15,24,20,0.72) 0%, rgba(15,24,20,0.42) 48%, rgba(15,24,20,0) 100%);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 br { display: none; }

.media-toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 1.75rem;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair); border-radius: 50%; background: rgba(15, 24, 20, 0.35);
  color: var(--limewash); cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.media-toggle:hover { border-color: var(--paddy); color: var(--paddy); }
.media-toggle__play { display: none; }
.media-toggle[aria-pressed="true"] .media-toggle__play { display: inline; }
.media-toggle[aria-pressed="true"] .media-toggle__pause { display: none; }
.hero__inner { max-width: 44rem; }
.hero__trinity {
  font-family: var(--tamil); font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 300; letter-spacing: 0.07em; line-height: 1.5;
  color: var(--on-dark); margin-top: 1.375rem;
}
.hero h1 { margin-top: 0.625rem; }
.hero__sub { margin-top: 1.75rem; max-width: 34rem; color: var(--on-dark); line-height: 1.75; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }

/* --- zones: a measured rail ---------------------------------------- */

.rail { border-block: 1px solid var(--hair); background: var(--ink-2); }
.rail__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rail__item {
  padding: 1.75rem clamp(1.25rem, 2.4vw, 2.5rem);
  border-right: 1px solid var(--hair-soft);
  transition: background-color 0.4s var(--ease);
}
.rail__item:last-child { border-right: 0; }
.rail__item:hover { background: rgba(244, 237, 225, 0.03); }
.rail__n { display: block; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paddy); }
.rail__t {
  display: block; margin-top: 0.5rem; font-family: var(--serif);
  font-variation-settings: "SOFT" 36, "opsz" 40; font-size: 1.125rem; font-weight: 400;
}
.rail__cursor {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 25%;
  background: var(--paddy);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
  opacity: 0; transform: translateX(0);
}
.rail__track:hover .rail__cursor, .rail__track:focus-within .rail__cursor { opacity: 1; }

/* --- story ---------------------------------------------------------- */

.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.story__head { position: relative; }
.measure { display: block; width: 1px; height: 7rem; margin-top: 2.5rem; background: var(--hair); }
.measure i { display: block; width: 1px; height: 0; background: var(--paddy); transition: height 1.2s var(--ease); }
.measure.is-in i { height: 100%; }
.story__body { max-width: 36rem; }
.story__body .prose { margin-top: 1.5rem; }

/* Arch-topped photographs, each with a hairline ring — the gate, recalled. */
.arch { position: relative; margin: 0; container-type: inline-size; }
.arch__img { display: block; width: 100%; height: auto; border-radius: 50cqw 50cqw 0 0; background: var(--ink-2); }
.arch::after {
  content: ""; position: absolute; inset: -0.75rem -0.75rem 0; pointer-events: none;
  border: 1px solid var(--hair); border-bottom: 0;
  border-radius: calc(50cqw + 0.75rem) calc(50cqw + 0.75rem) 0 0;
}
.story__arch { max-width: 22rem; margin-top: 2.5rem; }
.story__body .link-arrow { margin-top: 1.75rem; }

/* --- foundations: the line accordion -------------------------------- */

.acc { margin-top: 2.75rem; border-bottom: 1px solid var(--hair-dark); }
.acc__item { border-top: 1px solid var(--hair-dark); }
.acc__head { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto 2.5rem;
  align-items: center; gap: 1.25rem; padding: 1.75rem 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink-2);
  font-family: inherit; transition: padding-left 0.4s var(--ease), color 0.3s var(--ease);
}
.acc__btn:hover { padding-left: 0.75rem; color: var(--laterite); }
.acc__n { font-family: var(--serif); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; color: var(--laterite); }
.acc__t {
  font-family: var(--serif); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72;
  font-size: clamp(1.5rem, 2.9vw, 2.25rem); font-weight: 300; letter-spacing: -0.02em; color: inherit;
}
.acc__icon { stroke: var(--canopy); opacity: 0.55; transition: opacity 0.3s var(--ease); }
.acc__btn:hover .acc__icon, .acc__item[data-open] .acc__icon { opacity: 1; }
.acc__plus { position: relative; justify-self: end; width: 14px; height: 14px; }
.acc__plus::before, .acc__plus::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1px; background: currentColor;
}
.acc__plus::after { transform: rotate(90deg); transition: transform 0.45s var(--ease); }
.acc__item[data-open] .acc__plus::after { transform: rotate(0deg); }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc__item[data-open] .acc__panel { grid-template-rows: 1fr; }
.acc__inner {
  overflow: hidden; display: grid; align-content: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-rows: auto auto 1fr;          /* the photo's extra height lands in the empty third row */
}
.acc__inner > p, .acc__inner .tag { grid-column: 1; }
.acc__inner .tag { justify-self: start; align-self: start; }
.acc__img {
  grid-column: 2; grid-row: 1 / 4; width: 100%; height: auto; margin-bottom: 2rem;
  opacity: 0; transform: translateY(0.75rem);
  transition: opacity 0.6s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s;
}
.acc__item[data-open] .acc__img { opacity: 1; transform: none; }
.acc__inner > p {
  max-width: 52ch; padding-bottom: 0.5rem; margin-left: 5.75rem;
  color: var(--stone); font-size: 0.9375rem;
}
.acc__inner .tag {
  display: inline-block; margin: 0.75rem 0 2rem 5.75rem;
  font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: #4B6433;
}

/* --- land: an elevation section ------------------------------------ */

.land { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) var(--gutter) 0; background: var(--ink-2); }
.land__media { position: absolute; inset: 0 0 auto 0; height: 82%; z-index: -1; }
.land__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19,30,25,0.78) 0%, rgba(19,30,25,0.35) 55%, rgba(19,30,25,0.1) 100%),
    linear-gradient(180deg, rgba(19,30,25,0.6) 0%, rgba(19,30,25,0) 30%, rgba(19,30,25,0.2) 60%, var(--ink-2) 100%);
}
.land__head {
  max-width: 46rem; min-height: clamp(24rem, 60vh, 38rem);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.land__toggle { top: 1.75rem; bottom: auto; }
.land__quote {
  font-family: var(--serif); font-variation-settings: "SOFT" 44, "WONK" 1, "opsz" 144;
  font-style: italic; font-size: clamp(1.5rem, 2.9vw, 2.5rem); font-weight: 300;
  line-height: 1.26; letter-spacing: -0.02em; margin-top: 1.5rem;
}
.land__text { margin-top: 1.625rem; max-width: 36rem; color: var(--on-dark); }
.profile { position: relative; margin-top: clamp(3rem, 6vw, 5rem); }
.profile__art { width: 100%; height: clamp(8rem, 16vw, 16rem); color: var(--paddy); }
.profile__line { stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 2.2s var(--ease); }
.profile.is-in .profile__line { stroke-dashoffset: 0; }
.profile__stats { position: relative; height: 7.5rem; border-top: 1px solid var(--hair); }
.profile__stat {
  position: absolute; top: 0; transform: translateX(-50%);
  padding-top: 1.25rem; text-align: center; width: 12rem;
}
.profile__stat::before {
  content: ""; position: absolute; top: -0.625rem; left: 50%; width: 1px; height: 0.625rem;
  background: var(--paddy);
}
.stat__n {
  display: block; font-family: var(--serif); font-variation-settings: "SOFT" 36, "opsz" 96;
  font-size: clamp(1.25rem, 2.1vw, 1.875rem); font-weight: 300; line-height: 1; color: var(--paddy);
}
.stat__l {
  display: block; margin-top: 0.625rem; font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark);
}

/* --- specimens: plates from the species survey --------------------- */

.specimens { background: var(--ink-2); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem); }
.specimens__track {
  display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); counter-reset: plate;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding: 2rem var(--gutter) 1rem;
  scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.specimens__track::-webkit-scrollbar { display: none; }
.specimens__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.specimens__track.is-dragging .specimen { pointer-events: none; }
.specimens__track:focus-visible { outline: 2px solid var(--paddy); outline-offset: -2px; }
.specimen {
  position: relative; flex: 0 0 auto; width: clamp(15rem, 21vw, 20rem); margin: 0;
  scroll-snap-align: start; counter-increment: plate;
}
.specimen::before {
  content: counter(plate, decimal-leading-zero);
  position: absolute; left: 0; top: -1.625rem;
  font-family: var(--serif); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; color: var(--paddy);
}
.specimen::after {
  content: ""; position: absolute; left: 2.25rem; right: 0; top: -1.1rem; height: 1px; background: var(--hair);
}
.specimen__img {
  display: block; width: 100%; height: auto; background: #fff;
  transition: transform 0.5s var(--ease);
}
.specimen:hover .specimen__img { transform: translateY(-4px); }

/* --- life: index + live vignette ----------------------------------- */

.ix { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.75rem; }
.ix__list { border-bottom: 1px solid var(--hair); }
.ix__row {
  display: grid; grid-template-columns: 3.75rem minmax(0, 1fr) minmax(0, 20rem) 1.875rem;
  align-items: center; gap: 1.25rem; min-height: 4.75rem; padding: 0.625rem 0;
  border-top: 1px solid var(--hair); color: var(--limewash);
  transition: padding-left 0.4s var(--ease), color 0.25s var(--ease), border-color 0.3s var(--ease);
}
.ix__row:hover, .ix__row:focus-visible { color: var(--paddy); padding-left: 0.75rem; border-top-color: var(--paddy); }
.ix__n { font-family: var(--serif); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; color: var(--paddy); }
.ix__t {
  font-family: var(--serif); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72;
  font-size: clamp(1.1875rem, 2vw, 1.625rem); font-weight: 300; letter-spacing: -0.016em; color: inherit;
}
.ix__d { font-size: 0.8125rem; line-height: 1.6; color: var(--on-dark-dim); }
.ix__arrow { justify-self: end; opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.ix__row:hover .ix__arrow { opacity: 1; transform: translateX(5px); }

.ix__panel { position: sticky; top: 7rem; align-self: start; padding: 0.75rem 0.75rem 0; }
.ix__arch { aspect-ratio: 4 / 5; }
.ix__img {
  position: absolute; inset: 0; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.ix__img.is-on { opacity: 1; }
/* Below 1100px the arch panel is gone, so each row carries its own photo. */
.ix__thumb { display: none; }
.ix__thumbimg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }

/* --- acre: the stepper ---------------------------------------------- */

.acre__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "head plan" "text plan";
  grid-template-rows: auto 1fr; column-gap: clamp(2rem, 5vw, 5rem); row-gap: 2rem; align-items: start;
}
.acre__head { grid-area: head; }
.acre h2 { margin-top: 1.25rem; }
.acre__text { grid-area: text; color: var(--on-dark); max-width: 34rem; }
/* The layout plan as a paper plate pinned to the dark ground. */
.acre__plan {
  grid-area: plan; justify-self: end; margin: 0; padding: clamp(0.75rem, 1.4vw, 1.25rem);
  background: var(--limewash); outline: 1px solid var(--hair); outline-offset: 0.625rem;
}
.acre__img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(34rem, 72vh); }
.stps { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.stp { border-top: 1px solid var(--hair); }
.stp__btn {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  padding: 1.25rem 1rem 1.25rem 0; background: none; border: 0; cursor: pointer;
  text-align: left; color: var(--limewash); font-family: inherit;
  transition: color 0.25s var(--ease);
}
.stp__btn:hover { color: var(--paddy); }
.stp__n { font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.625rem; font-weight: 300; line-height: 1; color: var(--paddy); }
.stp__t { font-size: 0.8125rem; font-weight: 500; line-height: 1.5; }
.stp[data-open] { border-top-color: var(--paddy); }
.stp__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.stp[data-open] .stp__panel { grid-template-rows: 1fr; }
.stp__d { overflow: hidden; font-size: 0.8125rem; line-height: 1.7; color: var(--on-dark-dim); padding-right: 1rem; }
.acre .btn { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* --- roles: corner rules draw in ------------------------------------ */

.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
.role {
  position: relative; display: flex; flex-direction: column; min-height: 19rem;
  padding: 1.75rem 1.5rem; background: transparent;
  border: 1px solid var(--hair-dark); color: var(--laterite);
}
.role::before, .role::after {
  content: ""; position: absolute; background: var(--laterite);
  transition: transform 0.5s var(--ease); transform-origin: 0 0;
}
.role::before { top: -1px; left: -1px; width: 100%; height: 1px; transform: scaleX(0); }
.role::after { top: -1px; left: -1px; width: 1px; height: 100%; transform: scaleY(0); }
.role:hover::before, .role:focus-visible::before { transform: scaleX(1); }
.role:hover::after, .role:focus-visible::after { transform: scaleY(1); transition-delay: 0.12s; }
.role__t { font-family: var(--serif); font-variation-settings: "SOFT" 36, "opsz" 48; font-size: 1.4375rem; font-weight: 400; color: var(--ink-2); }
.role p { margin-top: 0.875rem; flex-grow: 1; font-size: 0.875rem; line-height: 1.75; color: var(--stone); }
.role__cta { margin-top: 1.125rem; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.role--dark { background: var(--ink-2); border-color: var(--ink-2); }
.role--dark .role__t { color: var(--limewash); }
.role--dark p { color: var(--on-dark); }
.role--dark .role__cta { color: var(--paddy); }
.role--dark::before, .role--dark::after { background: var(--paddy); }

/* --- workshops: a catalogue in three tracks ------------------------- */

.wk .section-head > p { max-width: 38ch; }
.wk__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.wk__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wk__filter {
  min-height: 40px; padding: 0 1.125rem; border: 1px solid var(--hair); background: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark); transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.wk__filter:hover { border-color: var(--paddy); color: var(--paddy); }
.wk__filter[aria-pressed="true"] { background: var(--paddy); border-color: var(--paddy); color: var(--ink); }
.wk__note { display: inline-block; padding-block: 0.5rem; font-size: 0.8125rem; color: var(--on-dark-dim); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 0.3em; }
.wk__note:hover { color: var(--paddy); text-decoration-color: currentColor; }

.wk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.wk__card { display: flex; flex-direction: column; border: 1px solid var(--hair); transition: border-color 0.35s var(--ease); }
.wk__card:hover { border-color: var(--paddy); }
.wk__card[hidden] { display: none; }
.wk__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.wk__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wk__card:hover .wk__img { transform: scale(1.035); }
.wk__photo--plate {
  display: flex; align-items: center; justify-content: center; color: var(--paddy);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, var(--hair-soft) 23px 24px),
    var(--canopy);
}
.wk__photo--plate svg { width: 3.25rem; height: 3.25rem; opacity: 0.85; }
.wk__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.25rem; }
.wk__meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paddy);
}
.wk__n { font-family: var(--serif); font-weight: 500; letter-spacing: 0.12em; color: var(--on-dark-dim); }
.wk__card h3 { margin-top: 0.75rem; font-size: clamp(1.3125rem, 1.8vw, 1.625rem); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72; }
.wk__card p { margin-top: 0.75rem; color: var(--on-dark); font-size: 0.9375rem; line-height: 1.7; flex-grow: 1; }
.wk__facts {
  list-style: none; margin: 1.25rem 0 0; padding: 0.875rem 0 0; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; color: var(--on-dark-dim);
}
.wk__facts li + li::before { content: "·"; margin-right: 1.25rem; color: var(--paddy); }
.wk__facts li { display: inline-flex; }
.wk__card .link-arrow { margin-top: 0.5rem; align-self: flex-start; }

.wk__group {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--canopy); border: 1px solid var(--hair);
}
.wk__group h3 { margin-top: 0.75rem; font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.wk__group p { margin-top: 0.75rem; max-width: 46ch; color: var(--on-dark); }
.wk__group-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- field notes: recent days, from Instagram ------------------------ */

.notes { border-top: 1px solid var(--hair); }
.notes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-top: 2.5rem; }
.note { display: flex; flex-direction: column; }
.note__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.note__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.note:hover .note__img { transform: scale(1.035); }
.note__date {
  display: block; margin-top: 1.25rem; padding-top: 0.875rem; border-top: 1px solid var(--paddy);
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paddy);
}
.note h3 { margin-top: 0.625rem; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72; }
.note p { margin-top: 0.625rem; color: var(--on-dark); font-size: 0.9375rem; line-height: 1.7; flex-grow: 1; }
.note .link-arrow { margin-top: 0.5rem; align-self: flex-start; }

.voices { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--hair); }
.voices__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 1.75rem; }
.voice { margin: 0; }
.voice blockquote { margin: 0; }
.voice blockquote p {
  font-family: var(--serif); font-variation-settings: "SOFT" 60, "opsz" 36; font-style: italic;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 300; line-height: 1.55; color: var(--limewash);
  text-wrap: pretty;
}
.voice blockquote p::before { content: "“"; color: var(--paddy); }
.voice blockquote p::after { content: "”"; color: var(--paddy); }
.voice figcaption { margin-top: 0.875rem; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--on-dark-dim); }
.notes__more { margin-top: 2rem; }

@media (max-width: 1100px) {
  .notes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices__row { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
}
@media (max-width: 620px) { .notes__grid { grid-template-columns: minmax(0, 1fr); } }

/* --- instagram -------------------------------------------------------- */

.gram { border-top: 1px solid var(--hair); }
.gram__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.gram__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 2.75rem; background: var(--hair); border: 1px solid var(--hair); }
.gram__post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.gram__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.4s var(--ease); }
.gram__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.875rem;
  background: linear-gradient(180deg, rgba(15,24,20,0) 0%, rgba(15,24,20,0.88) 100%);
  font-size: 0.75rem; line-height: 1.5; color: var(--limewash);
  opacity: 0; transform: translateY(0.5rem); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.gram__post:hover .gram__img, .gram__post:focus-visible .gram__img { transform: scale(1.04); }
.gram__post:hover .gram__cap, .gram__post:focus-visible .gram__cap { opacity: 1; transform: none; }
.gram__post.is-video::after {
  content: ""; position: absolute; top: 0.875rem; right: 0.875rem;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--limewash);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
@media (max-width: 760px) { .gram__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { :root { --fs-eyebrow: 0.75rem; } }

/* --- footer ---------------------------------------------------------- */

.site-footer { background: var(--ink-2); border-top: 1px solid var(--hair); padding: clamp(3.5rem, 6vw, 6rem) var(--gutter) 2.25rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--paddy); }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.footer__brand .brand { flex-direction: row; align-items: center; gap: 0.875rem; }
.footer__trinity { margin-top: 1.125rem; font-family: var(--tamil); font-size: 1rem; font-weight: 300; letter-spacing: 0.08em; color: var(--on-dark-dim); }
.footer__brand .prose { margin-top: 1.375rem; max-width: 22rem; color: var(--on-dark-dim); }
.newsletter__pitch {
  margin-top: 0.875rem; font-family: var(--serif); font-variation-settings: "SOFT" 36, "opsz" 72;
  font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.014em;
}
.newsletter form { display: flex; align-items: flex-end; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.field { flex: 1 1 14rem; display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-dim); }
.field input {
  width: 100%; min-height: 48px; padding: 0 2px 0.625rem; background: none; border: 0;
  border-bottom: 1px solid var(--hair); color: var(--limewash); font-family: var(--sans); font-size: 1rem;
  transition: border-color 0.25s var(--ease);
}
.field input::placeholder { color: rgba(244, 237, 225, 0.56); }
.field input:focus { border-bottom-color: var(--paddy); }
.form-note { margin-top: 0.875rem; font-size: 0.8125rem; color: var(--paddy); min-height: 1.2em; }

.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-top: 4rem; border-top: 1px solid var(--hair); padding-top: 2.5rem; }
.fcol { display: flex; flex-direction: column; gap: 0.6875rem; }
.fcol__h { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--limewash); }
.fcol a, .fcol address { font-size: 0.875rem; font-style: normal; line-height: 1.8; }
.fcol address { color: var(--on-dark); }
.socials { display: flex; gap: 0.5rem; margin-left: -0.75rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.footer__bar span { font-size: 0.75rem; color: var(--on-dark-dim); }
.footer__legal { display: flex; gap: 1.75rem; }
.footer__legal a { display: inline-block; padding-block: 0.375rem; font-size: 0.75rem; }

/* --- gate: the arched way in ------------------------------------------ *
   Shown only when the head script set html.gate-on. An arch-shaped hole is
   cut through it with clip-path (driven by js/gate.js); the live hero plays
   underneath. If the script never arrives, the failsafe fades it at 12s.   */

.gate { display: none; }
.gate-on .gate {
  display: block; position: fixed; inset: 0; z-index: 200;
  background: var(--canopy); color: var(--limewash); overflow: hidden;
  animation: gate-failsafe 0.8s var(--ease) 12s forwards;
}
.gate.is-driven { animation: none; }
@keyframes gate-failsafe { to { opacity: 0; visibility: hidden; } }

.gate__frame {
  position: absolute; inset: clamp(0.75rem, 1.6vw, 1.5rem);
  border: 1px solid var(--hair); opacity: 0; transition: opacity 1.2s var(--ease);
}
.gate.is-framed .gate__frame { opacity: 1; }
.gate__tex { position: absolute; inset: 0; overflow: hidden; }
.gate__texture {
  position: absolute; left: 50%; top: 50%; transform: translate(-52%, -56%) rotate(-7deg);
  font-family: var(--serif); font-style: italic; font-weight: 300; line-height: 1; white-space: nowrap;
  font-size: clamp(12rem, 34vw, 38rem); letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; opacity: 0.055; pointer-events: none;
}
/* Survey marks at the frame's corners. */
.gate__corner {
  position: absolute; width: 7px; height: 7px; background: var(--canopy);
  border: 1px solid rgba(244, 237, 225, 0.34); transform: rotate(45deg);
}
.gate__corner--tl { left: -4px; top: -4px; }
.gate__corner--tr { right: -4px; top: -4px; }
.gate__corner--bl { left: -4px; bottom: -4px; }
.gate__corner--br { right: -4px; bottom: -4px; }

.gate__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gate__ring { fill: none; stroke: rgba(244, 237, 225, 0.2); stroke-width: 1; vector-effect: non-scaling-stroke; }

.gate__content {
  position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto 1fr;
  justify-items: center; padding: 0 var(--gutter) clamp(2rem, 6vh, 3.5rem);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.gate-short .gate__content { display: none; }
.gate.is-leaving .gate__mid, .gate.is-leaving .gate__bot { opacity: 0; transform: translateY(-1.25rem); }
.gate__mid, .gate__bot { transition: opacity 0.55s var(--ease), transform 0.8s var(--ease); }

.gate__top { position: relative; width: 100%; }
.gate__mark {
  position: fixed; left: 50%; top: 0.9375rem; margin-left: -8px; color: var(--limewash);
  opacity: 0; transition: opacity 1.1s var(--ease) 0.1s;
}
.gate.is-in .gate__mark { opacity: 1; }

.gate__mid {
  grid-row: 2; width: 100%; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4.5rem);
}
.gate__cap {
  overflow: hidden; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--on-dark); white-space: nowrap;
}
.gate__cap--l { justify-self: end; }
.gate__cap--r { justify-self: start; }
.gate__word { position: relative; padding-bottom: 0.2em; }
.gate__name {
  display: block; font-family: var(--serif); font-weight: 300; line-height: 0.92;
  font-size: clamp(3.5rem, 11vw, 10rem); letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
}
.gate__ch { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0 0.12em; margin: -0.08em 0 -0.12em; }
.gate__accent {
  position: absolute; right: -0.35em; top: 100%; margin-top: -0.55em; overflow: hidden; padding: 0.2em 0.15em;
  font-family: var(--tamil); font-weight: 300; font-size: clamp(1rem, 2vw, 1.875rem);
  color: var(--paddy-lift); letter-spacing: 0.06em; transform: rotate(-8deg); transform-origin: 100% 50%;
  white-space: nowrap;
}
.gate__ch i, .gate__cap i, .gate__foot i, .gate__accent i {
  display: inline-block; font-style: normal; transform: translateY(112%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}
.gate.is-in .gate__ch i, .gate.is-in .gate__cap i,
.gate.is-in .gate__foot i, .gate.is-in .gate__accent i { transform: none; }
.gate__cap--l { --d: 0.35s; }
.gate__cap--r { --d: 0.42s; }
.gate__accent { --d: 0.6s; }

.gate__bot { grid-row: 3; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-top: clamp(1.5rem, 4vh, 3rem); }
.gate__line { display: block; width: 1px; height: clamp(4rem, 12vh, 7rem); background: var(--hair); overflow: hidden; opacity: 0; transition: opacity 0.8s var(--ease) 0.5s; }
.gate.is-in .gate__line { opacity: 1; }
.gate__line i { display: block; height: 100%; background: var(--paddy); transform-origin: 50% 0; transform: scaleY(0); }
.gate__foot {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.gate__foot span { overflow: hidden; }
.gate__foot span:first-child { --d: 0.5s; color: var(--limewash); }
.gate__foot span:last-child { --d: 0.58s; color: var(--on-dark-dim); }

/* What waits beneath: hidden while the gate is up, entering as it opens. */
.gate-on .hero__media { transform: scale(1.18); }
.gate-on .site-header, .gate-on .hero__toggle { opacity: 0; }
.gate-on .hero [data-enter] { opacity: 0; transform: translateY(1.5rem); }
.gate-on .hero h1 .line > span { transform: translateY(108%); }
.gate-open .site-header, .gate-open .hero__toggle { opacity: 1; transition: opacity 1s var(--ease) 0.2s; }
.gate-open .hero [data-enter] {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}
.gate-open .hero h1 .line > span { transform: none; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s); }
.hero__trinity { --d: 0.1s; }
.hero h1 .line:first-child > span { --d: 0.18s; }
.hero h1 .line:last-child > span { --d: 0.28s; }
.hero__sub { --d: 0.42s; }
.hero__cta { --d: 0.54s; }

/* --- reveal ----------------------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* --- drawer ----------------------------------------------------------- */

.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--ink);
  padding: 1.25rem var(--gutter) 2.5rem; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-1.5rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
/* Visible at once on open (fade still runs), so focus can move straight in. */
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 3rem; }
.drawer__head .brand { flex-direction: row; gap: 0.625rem; color: var(--limewash); }
.drawer__close { width: 48px; height: 48px; margin-right: -0.75rem; background: none; border: 0; color: var(--limewash); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer nav { display: flex; flex-direction: column; margin-top: 2rem; }
.drawer nav a {
  font-family: var(--serif); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72;
  font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 300; letter-spacing: -0.02em;
  color: var(--limewash); padding: 0.5rem 0; border-bottom: 1px solid var(--hair);
}
.drawer nav a:hover { color: var(--paddy); }
.drawer__foot { margin-top: auto; padding-top: 2rem; }
.drawer__foot .btn { width: 100%; }
.drawer__trinity { margin-top: 1.5rem; font-family: var(--tamil); font-size: 1rem; font-weight: 300; letter-spacing: 0.08em; color: var(--on-dark-dim); }
body.is-locked { overflow: hidden; }

/* --- enquiry form: one dialog, opened from the main CTAs ---------------- */

.enq {
  width: min(40rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  margin: auto; padding: 0; border: 1px solid var(--hair); background: var(--canopy); color: var(--limewash);
  overflow-y: auto; overscroll-behavior: contain;
}
.enq::backdrop { background: rgba(10, 16, 13, 0.78); backdrop-filter: blur(3px); }
.enq[open] { animation: enq-in 0.45s var(--ease); }
@keyframes enq-in { from { opacity: 0; transform: translateY(1rem); } }
.enq__body { padding: clamp(1.75rem, 5vw, 3rem); }
.enq h2 { margin-top: 0.875rem; font-size: clamp(1.625rem, 3vw, 2.25rem); max-width: 18ch; }
.enq__intro { margin-top: 0.75rem; color: var(--on-dark); font-size: 0.9375rem; max-width: 44ch; }
.enq__close {
  position: sticky; top: 0; float: right; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0.5rem 0.5rem 0 0; border: 0; background: var(--canopy); color: var(--limewash); cursor: pointer;
}
.enq__close:hover { color: var(--paddy); }

.enq__form { display: grid; gap: 1.75rem; margin-top: 2rem; }
.enq__row { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.enq__row[hidden] { display: none; }
.enq__row > label, .enq__row legend {
  padding: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--limewash); line-height: 1.5;
}
.enq__opt { margin-left: 0.5rem; font-size: 0.75rem; color: var(--on-dark-dim); }
.enq__hint { font-size: 0.75rem; color: var(--on-dark-dim); }
.enq__row input[type="text"], .enq__row input[type="tel"], .enq__row input[type="email"], .enq__row input[type="date"] {
  width: 100%; min-height: 48px; padding: 0 2px 0.5rem; background: none; border: 0; border-bottom: 1px solid var(--hair);
  border-radius: 0; color: var(--limewash); font-family: var(--sans); font-size: 1rem; color-scheme: dark;
  transition: border-color 0.25s var(--ease);
}
.enq__row input:focus { outline: none; border-bottom-color: var(--paddy); box-shadow: 0 1px 0 var(--paddy); }
.enq__row input[aria-invalid="true"] { border-bottom-color: #E0876A; }
.enq__err { min-height: 0; font-size: 0.8125rem; color: #F0A58C; }
.enq__err:empty { display: none; }

.enq__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.375rem; }
.enq__pill { position: relative; cursor: pointer; }
.enq__pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.enq__pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.5rem 1rem; border: 1px solid var(--hair);
  font-size: 0.875rem; line-height: 1.3; color: var(--on-dark);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.enq__pill:hover span { border-color: var(--paddy); color: var(--limewash); }
.enq__pill input:checked + span { background: var(--paddy); border-color: var(--paddy); color: var(--ink); }
.enq__pill input:focus-visible + span { outline: 2px solid var(--paddy); outline-offset: 3px; }

.enq__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq__status { font-size: 0.875rem; color: #F0A58C; }
.enq__status:empty { display: none; }
.enq__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.enq__foot .btn:disabled { opacity: 0.6; cursor: progress; }
.enq__privacy { font-size: 0.75rem; color: var(--on-dark-dim); max-width: 28ch; }
.enq__done .btn { margin-top: 2rem; }
.enq__thanks:focus { outline: none; }
@media (max-width: 620px) { .enq__foot .btn { width: 100%; } }

/* --- responsive -------------------------------------------------------- */

@media (max-width: 1240px) { .nav { gap: 1.375rem; } }

@media (max-width: 1100px) {
  .wk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__grid, .acre__grid, .footer__top { grid-template-columns: minmax(0, 1fr); }
  .ix { grid-template-columns: minmax(0, 1fr); }
  .ix__panel { display: none; }
  .acre__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "plan"; grid-template-rows: auto; }
  .acre__plan { justify-self: start; }
  .ix__row { grid-template-columns: 2.5rem 3.5rem minmax(0, 1fr) 1.875rem; }
  .ix__thumb { display: block; width: 3.5rem; height: 4.375rem; overflow: hidden; }
  .ix__d { display: none; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile__stat { width: 8rem; }
}

@media (max-width: 1000px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { flex-direction: row; gap: 0.625rem; }
  .hero { padding-top: 9.5rem; align-items: flex-end; padding-bottom: 6rem; }
  .hero::after { background: linear-gradient(180deg, rgba(15,24,20,0.2) 0%, rgba(15,24,20,0.5) 45%, rgba(15,24,20,0.85) 100%); }
  .hero__toggle { bottom: auto; top: 5.5rem; }
  .gate__cap { display: none; }
  .gate__mid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .acc__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .acc__img { grid-column: 1; grid-row: auto; margin-bottom: 2rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .rail__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail__item:nth-child(2n) { border-right: 0; }
  .rail__item:nth-child(-n+2) { border-bottom: 1px solid var(--hair-soft); }
  .rail__cursor { display: none; }
  .wk__group { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .profile__stats { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.5rem; }
  .profile__stat { position: static; transform: none; width: auto; text-align: left; padding-top: 0; }
  .profile__stat::before { display: none; }
  .acc__inner > p, .acc__inner .tag { margin-left: 0; }
  .acc__btn { grid-template-columns: 2.75rem minmax(0, 1fr) 1.75rem; gap: 0.875rem; }
  .acc__icon { display: none; }
}

@media (max-width: 620px) {
  .wk__grid { grid-template-columns: minmax(0, 1fr); }
  .wk__group-cta .btn { width: 100%; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { min-height: 0; }
  .stps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .acre .btn, .newsletter .btn { width: 100%; }
  .profile__stats { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .profile__line { stroke-dashoffset: 0; }
  .measure i { height: 100%; }
}
