/* Lyndgate Consulting. Tokens copied from design/tokens.css; change them there first. */

@font-face {
  font-family: "Literata";
  src: url("/fonts/literata-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #faf7f1;
  --surface-raised: #ffffff;
  --tint: #f1f2e8;
  --tint-strong: #e2e6d6;
  --brand: #364b38;
  --brand-strong: #22302a;
  --on-brand: #faf7f1;
  --band: #364b38;
  --on-band: #faf7f1;
  --ink: #1f2621;
  --ink-muted: #59625a;
  --eyebrow: #4f6b52;
  --hairline: #e2e1d8;
  --sage: #a7b39a;
  --honey: #a8843f;
  --focus: #364b38;

  --font-serif: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --border-hairline: 1px;
  --border-control: 1.5px;

  --container: 1120px;
  --gutter: 24px;
  --section: var(--space-24);
  --header-h: 106px;
  /* distance from the content edge to the viewport edge, for panels that bleed */
  --bleed: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

/* Backgrounds run the full width of the window; content stays within --container.
   overflow-x on html (not body) clips stray decoration without blocking scrolling. */
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-6);
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius-pill);
  font: 600 15px/20px var(--font-sans);
}
.skip-link:focus { top: var(--space-4); color: var(--on-brand); }

.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Type */

.display  { font: 400 56px/60px var(--font-serif); letter-spacing: -0.01em; color: var(--brand-strong); }
.h1       { font: 400 40px/46px var(--font-serif); letter-spacing: -0.005em; color: var(--brand-strong); }
.h2       { font: 400 30px/36px var(--font-serif); color: var(--brand-strong); }
.h3       { font: 500 22px/28px var(--font-serif); color: var(--brand-strong); }
.quote    { font: italic 400 20px/30px var(--font-serif); color: var(--ink); }
.eyebrow  { font: 600 12px/16px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.lead     { font: 400 18px/28px var(--font-sans); color: var(--ink); }
.label    { font: 500 14px/20px var(--font-sans); }
.small    { font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }

/* Text inside the inline illustrations. A fill attribute on the element wins. */
.ill text { font-family: var(--font-sans); }
.ill text:not([fill]) { fill: var(--ink); }
.ill .t-title  { font-size: 17px; font-weight: 600; }
.ill .t-strong { font-size: 12.5px; font-weight: 600; }
.ill .t-muted  { font-size: 11.5px; }
.ill .t-label  { font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.ill .t-nav    { font-size: 12px; font-weight: 500; }
.ill .t-tab    { font-size: 11.5px; font-weight: 600; }
.ill .t-row    { font-size: 12.5px; }
.ill .t-init   { font-size: 9px; font-weight: 600; text-anchor: middle; }
.ill .t-num    { font-family: var(--font-serif); font-size: 26px; }
.ill .t-title:not([fill]), .ill .t-strong:not([fill]), .ill .t-num:not([fill]) { fill: var(--brand-strong); }
.ill .t-muted:not([fill]), .ill .t-label:not([fill]), .ill .t-tab:not([fill]) { fill: var(--ink-muted); }

/* Layout */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }

.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head .lead { margin-top: var(--space-4); color: var(--ink-muted); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-6);
  border: var(--border-control) solid var(--brand);
  border-radius: var(--radius-pill);
  font: 600 15px/20px var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button .icon { width: 18px; height: 18px; stroke-width: 2; }

.button--primary { background: var(--brand); color: var(--on-brand); }
.button--primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }

.button--secondary { background: transparent; color: var(--brand); }
.button--secondary:hover { background: var(--tint); color: var(--brand); }

.button--on-band { background: var(--on-band); border-color: var(--on-band); color: var(--brand); }
.button--on-band:hover { background: var(--tint); border-color: var(--tint); color: var(--brand-strong); }
.button--on-band:focus-visible { outline-color: var(--on-band); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }

/* Header (sits over the hero image) */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  padding-block: var(--space-6);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
}
.site-header .logo { justify-self: start; }
.site-header .nav { justify-self: center; }
.site-header .header-cta, .site-header .menu { justify-self: end; }
.page-header .container { display: flex; justify-content: space-between; }

.logo { display: block; flex: none; }
.logo img { width: 110px; height: auto; }

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav ul { display: flex; gap: var(--space-8); }
.nav a:not(.button) {
  font: 500 16px/24px var(--font-sans);
  color: var(--ink);
  text-decoration: none;
}
.nav a:not(.button):hover { color: var(--brand); text-decoration: underline; }

.menu { display: none; position: relative; }
.menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: var(--border-control) solid var(--brand);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand);
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + var(--space-2));
  z-index: 5;
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  padding: var(--space-4);
  background: var(--surface-raised);
  border: var(--border-hairline) solid var(--hairline);
  border-radius: var(--radius-md);
}
.menu-panel a:not(.button) {
  display: block;
  padding: var(--space-3) var(--space-2);
  font: 500 16px/20px var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  border-bottom: var(--border-hairline) solid var(--hairline);
}
.menu-panel .button { width: 100%; margin-top: var(--space-4); }

/* Masthead: hero copy on the left, curved image on the right */

/* The ground deepens slightly towards the lower edge, as in the reference, so the services
   row below reads as a lighter cream strip without being white. */
.masthead {
  position: relative;
  min-height: 640px;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(to bottom, var(--surface) 35%, color-mix(in srgb, var(--tint) 55%, var(--surface)));
}
/* faint wedge in the bottom-left corner */
.masthead::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 206px;
  height: 94px;
  background: linear-gradient(to right, color-mix(in srgb, var(--tint-strong) 55%, var(--tint)), transparent);
  clip-path: path("M0 0Q112 38 206 94H0Z");
  pointer-events: none;
}

.hero { position: relative; z-index: 1; padding-block: var(--space-16) var(--space-16); }
/* Never wider than the left half, so the copy stays clear of the curve */
.hero-copy { max-width: min(540px, calc(50% - 16px)); }
/* Three lines, as in the reference: sized so the longest line fits the text column */
.hero-title { font-size: 46px; line-height: 54px; }
.hero .eyebrow { margin-bottom: var(--space-4); }
.hero .lead { max-width: 30em; margin-top: var(--space-6); }
.hero .actions { margin-top: var(--space-8); }

/* Anchored to the centre of the content column (not the window), so the curve and the
   panel stay put relative to the text at every desktop width. The shapes are drawn in the
   reference mockup's units (hero 428 tall, x from 503) and scale with the hero's height:
   the inline SVG slices from the left, and the panel's mask is sized the same way. */
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(50% - 12px);
}
.hero-bands { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bands-outer { fill: var(--tint-strong); }
.hero-bands-fold  { fill: color-mix(in srgb, var(--sage) 40%, var(--tint-strong)); }
.hero-bands-strip { fill: var(--sage); }
.hero-bands-band  { fill: var(--sage); }
/* The header image, cut to the traced curve */
.hero-panel {
  --hero-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='503 0 3000 428'%3E%3Cpath d='M3503 72H700C696.3 72.1 685.3 72.1 678 72.6C670.7 73.1 663.7 73.6 656 75C648.3 76.4 640 78.5 632 81C624 83.5 615.5 86.5 608 90C600.5 93.5 593.5 97.7 587 102C580.5 106.3 574.5 111 569 116C563.5 121 558.3 126.7 554 132C549.7 137.3 546.2 142.7 543 148C539.8 153.3 537.3 158.3 535 164C532.7 169.7 530.7 176 529 182C527.3 188 525.8 194 525 200C524.2 206 524 212 524 218C524 224 524.3 230.3 525 236C525.7 241.7 526.7 246.3 528 252C529.3 257.7 531 264.2 533 270C535 275.8 537.3 281.7 540 287C542.7 292.3 545.5 296.7 549 302C552.5 307.3 556.7 313 561 319C565.3 325 570 331.3 575 338C580 344.7 585.3 352 591 359C596.7 366 603 373.2 609 380C615 386.8 620.8 393.3 627 400C633.2 406.7 639.3 413 646 420C652.7 427 663.5 438.3 667 442H3503Z'/%3E%3C/svg%3E");
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--tint-strong);
  -webkit-mask: var(--hero-mask) left top / auto 100% no-repeat;
  mask: var(--hero-mask) left top / auto 100% no-repeat;
}
/* Anchored right so the icons stay in view at every width. The file has a band of extra sky on
   top (design/tools/hero-bg.py, PAD = 142 of 887): it is 116% of the panel's height, so the
   original keeps its scale and the icons sit lower, near the middle of the visible curve. */
.hero-panel img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: calc(100% * 1029 / 887);
  max-width: none;
  object-fit: cover;
  object-position: right top;
}


/* Services row */

/* Plain page cream, never white: it reads lighter only because the hero above ends darker */
.services { padding-block: var(--space-8); }
.services + .section { padding-top: var(--space-12); }
.feature-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  text-align: center;
}
.feature + .feature { border-left: var(--border-hairline) solid var(--hairline); }
.feature .icon { width: 40px; height: 40px; stroke-width: 1.2; margin-bottom: var(--space-4); color: var(--brand); }
.feature h3 { font: 500 16px/22px var(--font-sans); color: var(--brand-strong); }

/* Split sections: picture panel bleeding to one edge, copy on the other side */

.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: var(--space-16);
}
.split-copy .eyebrow { margin-bottom: var(--space-3); }
.split-copy h2 { margin-bottom: var(--space-6); }
.split-copy p + p { margin-top: var(--space-4); }
.split-copy p { max-width: 62ch; }
.split-copy .pills-label { margin-top: var(--space-6); font: 500 13px/20px var(--font-sans); color: var(--ink-muted); }
.split-copy .pills { margin-top: var(--space-2); }

.media-panel {
  position: relative;
  overflow: hidden;
  padding: var(--space-12);
  background: var(--tint-strong);
}
.media-panel::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: var(--surface);
  opacity: .6;
}
.media-panel--left {
  margin-left: calc(-1 * var(--bleed));
  padding: var(--space-16) var(--space-6) var(--space-16) var(--bleed);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.media-panel--left::before { left: -20%; bottom: -34%; }

/* About portrait: cut-out on a sage disc, head rising above it (after Ali Abdaal's site) */
.portrait {
  --d: 300px;
  position: relative;
  z-index: 1;
  width: var(--d);
  margin: 0 auto;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
}
.portrait-clip {
  position: relative;
  height: calc(var(--d) * 1.12);   /* head starts at the top edge, so space above and below match */
  overflow: hidden;
  border-radius: 0 0 calc(var(--d) / 2) calc(var(--d) / 2);
}
.portrait-clip img {
  position: absolute;
  left: 50%;
  bottom: calc(var(--d) * -0.05);
  width: 135%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.portrait-arc {
  position: absolute;
  aspect-ratio: 1;
  border: 3px solid transparent;
  border-radius: 50%;
  pointer-events: none;
}
.portrait-arc--honey {
  left: -22px; bottom: -22px;
  width: calc(var(--d) + 44px);
  border-left-color: var(--honey);
  transform: rotate(28deg);
}
.portrait-arc--line {
  right: -38px; bottom: -38px;
  width: calc(var(--d) + 76px);
  border-width: 1.5px;
  border-right-color: var(--brand);
  opacity: .45;
  transform: rotate(-24deg);
}

.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pills li {
  padding: var(--space-1) var(--space-4);
  background: var(--surface-raised);
  border: var(--border-hairline) solid var(--hairline);
  border-radius: var(--radius-pill);
  font: 500 13px/22px var(--font-sans);
}

/* Why band */

.why-band { padding-block: var(--space-12); background: var(--tint); }
.why {
  display: grid;
  gap: var(--space-8);
}
.why-head .eyebrow { margin-bottom: var(--space-3); }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-list li {
  padding: var(--space-2) var(--space-6);
  border-left: var(--border-hairline) solid var(--sage);
}
.why-list li:first-child { padding-left: 0; border-left: 0; }
.why-list .icon { width: 36px; height: 36px; stroke-width: 1.2; margin-bottom: var(--space-3); color: var(--brand); }
.why-list h3 { font: 600 16px/24px var(--font-sans); color: var(--brand-strong); }
.why-list p { margin-top: var(--space-2); font-size: 15px; line-height: 24px; color: var(--ink-muted); }

/* Founder quote */

.quote-section { padding-block: var(--space-12) var(--space-6); }
.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  overflow: hidden;
  background: var(--tint-strong);
  border-radius: var(--radius-lg);
}
.quote-media {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: var(--space-8) var(--space-16) var(--space-8) var(--space-8);
  background: var(--tint);
  border-radius: 0 50% 50% 0 / 0 62% 38% 0;
}
.quote-media .ill { width: 100%; max-width: 360px; height: auto; }
.quote-body { position: relative; padding: var(--space-12) var(--space-12) var(--space-12) var(--space-8); }
.quote-mark {
  display: block;
  height: 44px;
  font: 400 88px/1 var(--font-serif);
  color: var(--sage);
}
.quote-body blockquote { max-width: 34em; }
.quote-body figcaption { display: grid; margin-top: var(--space-6); }
.quote-name { font: 600 15px/22px var(--font-sans); color: var(--brand-strong); }

/* Contact: the page's one forest band carries the question, the form sits beside it */

.contact-section { padding-top: var(--space-12); }
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; gap: var(--space-16); }
.band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-12) var(--space-12) 0;
  background: var(--band);
  border-radius: var(--radius-md);
  color: var(--on-band);
}
.band .eyebrow { margin-bottom: var(--space-3); color: var(--tint-strong); }
.band h2 { color: var(--on-band); }
.band .lead { margin-top: var(--space-4); color: var(--on-band); }
.band-note { margin-top: var(--space-6); font-size: 14px; line-height: 22px; }
.band-art {
  flex: none;
  width: 320px;
  height: auto;
  margin: auto calc(-1 * var(--space-12)) 0 auto;
  padding-top: var(--space-12);
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.25;
  opacity: .8;
}

.form { display: grid; gap: var(--space-6); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.field { display: grid; gap: var(--space-2); }
.field label { font: 500 14px/20px var(--font-sans); color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-raised);
  border: var(--border-hairline) solid var(--ink-muted);
  border-radius: var(--radius-sm);
  font: 400 16px/24px var(--font-sans);
  color: var(--ink);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
.form .button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */

.site-footer { padding-block: var(--space-12) var(--space-8); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: var(--border-hairline) solid var(--hairline);
}
.footer-top .logo img { width: 104px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer-nav a { font: 500 14px/20px var(--font-sans); color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--brand); text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-6);
}

/* Simple pages (privacy, 404) */

.page { padding-block: var(--space-12) var(--space-24); }
.page-header { position: static; }
.prose { max-width: 680px; }
.prose .eyebrow { margin-bottom: var(--space-3); }
.prose h1 { margin-bottom: var(--space-6); }
.prose h2 { margin: var(--space-12) 0 var(--space-4); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: var(--space-4); }
.prose ul { list-style: disc; padding-left: var(--space-6); }
.prose ul + p, .prose p + ul { margin-top: var(--space-3); }
.prose li + li { margin-top: var(--space-2); }
.prose .lead { color: var(--ink-muted); }
.page-actions { margin-top: var(--space-8); }

/* 404: copy beside a closed garden gate */
.notfound { padding-block: var(--space-12) var(--space-24); }
.notfound-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--space-16);
}
.notfound-copy .eyebrow { margin-bottom: var(--space-3); }
.notfound-copy .h1 + .lead { margin-top: var(--space-4); color: var(--ink-muted); max-width: 34em; }
.notfound-links { display: grid; margin-top: var(--space-8); border-top: var(--border-hairline) solid var(--hairline); max-width: 420px; }
.notfound-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: var(--border-hairline) solid var(--hairline);
  font: 500 17px/24px var(--font-sans);
  color: var(--brand-strong);
  text-decoration: none;
}
.notfound-links a:hover { color: var(--brand); }
.notfound-links .icon { width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
.notfound-links a:hover .icon { transform: translateX(4px); }
.notfound-art { width: 100%; max-width: 360px; height: auto; justify-self: center; }
@media (max-width: 860px) {
  .notfound-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .notfound-art { order: -1; max-width: 220px; justify-self: start; }
}
.page .h1 + .lead { margin-top: 0; }

/* Motion: one gentle rise on first view */

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy { animation: rise .7s cubic-bezier(.22, .61, .36, 1) both; }

/* Scroll reveal: sections fade and rise as they come into view. Pure CSS (scroll-driven
   animations); browsers without support, and anyone who prefers less motion, see everything at once. */
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .feature,
    .split > *,
    .why-head, .why-list li,
    .section-head,
    .quote-panel,
    .contact > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    /* a gentle stagger across rows of items */
    .feature:nth-child(2), .why-list li:nth-child(2), .split > :nth-child(2), .contact > :nth-child(2) { animation-range: entry 6% entry 61%; }
    .feature:nth-child(3), .why-list li:nth-child(3) { animation-range: entry 12% entry 67%; }
    .feature:nth-child(4), .why-list li:nth-child(4) { animation-range: entry 18% entry 73%; }
    .feature:nth-child(5) { animation-range: entry 24% entry 79%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-title { font-size: clamp(32px, 3.9vw, 44px); line-height: 1.18; }
}

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .site-header .container { display: flex; justify-content: space-between; }
  .feature-row { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: var(--space-8); }
  .feature { grid-column: span 2; }
  .feature:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-8); }
  .why-list li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  :root { --section: var(--space-16); --header-h: 96px; }
  .masthead { min-height: 0; }
  .hero { padding-block: var(--space-8) var(--space-12); }
  /* Stacked layout: no header image (Christian, 2026-11-25); the services row follows the buttons */
  .hero-media { display: none; }
  .hero-title br { display: none; }
  .hero-copy { max-width: 540px; }
  .masthead::before { display: none; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: var(--space-12); }
  .media-panel { padding: var(--space-8) var(--space-6); }
  .media-panel--left { padding-left: var(--bleed); }
  .quote-panel { grid-template-columns: 1fr; }
  .quote-media { padding: var(--space-8) var(--space-6) var(--space-12); border-radius: 0 0 50% 50% / 0 0 18% 18%; }
  .quote-body { padding: var(--space-8) var(--space-6) var(--space-8); }
  .contact { grid-template-columns: 1fr; gap: var(--space-12); }
  .band { padding: var(--space-8) var(--space-8) 0; }
  .band-art { width: 260px; margin-right: calc(-1 * var(--space-8)); padding-top: var(--space-8); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 84px; }
  .site-header { padding-block: var(--space-4); }
  .display { font-size: 40px; line-height: 44px; }
  .hero-title { font-size: 34px; line-height: 40px; }
  .h1      { font-size: 32px; line-height: 38px; }
  .h2      { font-size: 26px; line-height: 32px; }
  .logo img { width: 98px; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(n) { grid-column: auto; border-left: 0; }
  .feature:nth-child(even) { border-left: var(--border-hairline) solid var(--hairline); }
  .feature:nth-child(5) { grid-column: 1 / -1; }
  .why-list { grid-template-columns: 1fr; row-gap: var(--space-6); }
  .why-list li:nth-child(n) { padding: 0; border-left: 0; }
  .portrait { --d: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
