/* ==========================================================================
   Tandem Crew — site stylesheet
   Plain CSS, no build step. Mobile-first; breakpoints at 640 / 900 / 1100px.
   ========================================================================== */

/* ---------- 1. Brand tokens ---------- */
:root {
  --forest:    #14342B;  /* primary dark green */
  --deep:      #0E241E;  /* deepest background */
  --brass:     #C08A3E;  /* primary accent / gold */
  --brass-ink: #7A5417;  /* dark gold for text on light */
  --paper:     #EDEAE2;  /* warm off-white background */
  --sage:      #B6C7BE;  /* soft secondary */
  --body:      #2E3A34;  /* body text */
  --muted:     #4F5D55;  /* secondary text */

  /* Derived tones */
  --paper-2:     #E4E0D5;
  --card:        #F6F4EF;
  --ink-on-brass:#0B1D18;
  --line-light:  rgba(20, 52, 43, .14);
  --line-dark:   rgba(237, 234, 226, .12);
  --brass-line:  rgba(192, 138, 62, .45);

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap:   1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --band:   clamp(80px, 11vw, 144px);
  --header: 88px;
  --radius: 6px;

  --shadow-sm: 0 1px 2px rgba(14, 36, 30, .06), 0 2px 8px rgba(14, 36, 30, .05);
  --shadow-md: 0 2px 4px rgba(14, 36, 30, .05), 0 18px 40px -12px rgba(14, 36, 30, .22);
  --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .55);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { max-width: 62ch; }
strong { font-weight: 600; color: var(--forest); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--ink-on-brass);
  padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Typography ---------- */
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: 1.0; max-width: 17ch; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; max-width: 20ch; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--forest); }
h1 em, h2 em, .display em { font-style: italic; color: var(--brass-ink); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.lede + .lede { margin-top: 1.1em; }
.small { font-size: .96rem; color: var(--muted); }

/* Eyebrow: brass hairline + small caps label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }

/* Section head: title + lede */
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { margin-top: 20px; }
.section-head--split { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .section-head--split .lede { margin-top: 0; }
}

/* ---------- 4. Bands (dark / light rhythm) ---------- */
.band { position: relative; padding-block: var(--band); isolation: isolate; }
.band--tight { padding-block: clamp(64px, 8vw, 104px); }
.band--paper { background: var(--paper); }
.band--card  { background: var(--paper-2); }
.band--forest, .band--deep { color: var(--sage); }
.band--forest { background: var(--forest); }
.band--deep   { background: var(--deep); }

/* Everything "on dark" in one place */
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display, .on-dark strong { color: var(--paper); }
.on-dark h1 em, .on-dark h2 em, .on-dark .display em { color: var(--brass); }
.on-dark .lede, .on-dark .small { color: var(--sage); }
.on-dark .eyebrow { color: var(--brass); }

/* Brass hairline at the top edge of a band */
.band--rule::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 2 * var(--gutter)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-line), transparent);
}

/* ---------- 5. Buttons & links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn {
  --lift: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .98rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { --lift: -2px; }
.btn:active { --lift: 0; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--brass); color: var(--ink-on-brass); box-shadow: 0 8px 24px -10px rgba(192, 138, 62, .7); }
.btn--primary:hover { background: #CD9950; box-shadow: 0 14px 30px -10px rgba(192, 138, 62, .75); }

.btn--ghost { border-color: rgba(20, 52, 43, .28); color: var(--forest); }
.btn--ghost:hover { border-color: var(--brass-ink); color: var(--brass-ink); }
.on-dark .btn--ghost { border-color: rgba(237, 234, 226, .3); color: var(--paper); }
.on-dark .btn--ghost:hover { border-color: var(--brass); color: var(--brass); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem; color: var(--brass-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease), gap .25s var(--ease);
}
.text-link:hover { background-size: 100% 1px; gap: 12px; }
.on-dark .text-link { color: var(--brass); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header);
  color: var(--paper);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}
.site-header::after { /* hairline that fades in on scroll */
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line-dark); opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled {
  --header: 72px;
  background: rgba(14, 36, 30, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.site-header.is-scrolled::after { opacity: 1; }

.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 48px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 38px; }
.brand__word {
  font-weight: 600; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--paper);
}

.site-nav { display: none; }
.site-nav__list { list-style: none; padding: 0; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.site-nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .94rem; font-weight: 500; color: var(--sage); text-decoration: none;
  transition: color .2s;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--paper); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header .btn { min-height: 44px; padding: 10px 22px; font-size: .92rem; }
.site-header__cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 50%; cursor: pointer;
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--brass); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--paper); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--deep);
  padding: calc(var(--header) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav__list { list-style: none; padding: 0; }
.mobile-nav__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav__list a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.4rem); line-height: 1.1;
  color: var(--paper); text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--brass); font-style: italic; }
.mobile-nav__list a span { font-family: var(--sans); font-size: .8rem; color: var(--brass); letter-spacing: .12em; }
.mobile-nav__foot { color: var(--sage); font-size: .95rem; }
.mobile-nav__foot .btn { width: 100%; margin-bottom: 20px; }
.mobile-nav__foot a:not(.btn) { color: var(--sage); }

@media (min-width: 1100px) {
  .site-nav, .site-header__cta { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}
@media (max-width: 400px) {
  .brand img { height: 40px; }
  .brand__word { font-size: .8rem; letter-spacing: .16em; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--deep);
  color: var(--sage);
  padding-top: calc(var(--header) + clamp(64px, 10vw, 136px));
  padding-bottom: clamp(72px, 10vw, 136px);
}
/* Soft forest glow + faint vertical grid */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(192, 138, 62, .10), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgba(20, 52, 43, .95), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--forest));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(237, 234, 226, .035) 1px, transparent 1px);
  background-size: calc(var(--wrap) / 6) 100%;
  background-position: center;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__mark { /* large low-opacity horse watermark */
  position: absolute; z-index: -1; pointer-events: none;
  right: max(-120px, -8vw); top: 50%; transform: translateY(-46%);
  width: clamp(360px, 46vw, 720px); height: auto; opacity: .03;
}
.hero--photo { min-height: clamp(640px, 76svh, 800px); display: flex; align-items: center; }
.hero__photo {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: .88; filter: saturate(.78);
}
.hero--photo::before {
  z-index: -2;
  background: linear-gradient(90deg, rgba(9, 29, 23, .96) 0%, rgba(9, 29, 23, .88) 42%, rgba(9, 29, 23, .67) 100%),
    linear-gradient(0deg, rgba(9, 29, 23, .68), transparent 48%);
}
.hero--photo::after { z-index: -1; opacity: .35; }
.hero--photo h1 { text-shadow: 0 3px 24px rgba(0, 0, 0, .2); }
.hero--photo .lede { color: #E2E8DF; text-shadow: 0 2px 16px rgba(0, 0, 0, .24); }
.hero--social .hero__photo { object-position: 60% center; }
.hero--sales .hero__photo { object-position: 65% center; }
.hero--roofing .hero__photo { object-position: 63% center; }
.hero--story .hero__photo { object-position: 50% center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: clamp(24px, 3vw, 36px); max-width: 54ch; }

@media (prefers-reduced-motion: no-preference) {
  .hero--photo .hero__photo { animation: hero-photo-arrive 1.5s var(--ease) both; }
  @keyframes hero-photo-arrive { from { opacity: .35; transform: scale(1.025); } to { opacity: .88; transform: scale(1); } }
}
@media (max-width: 899px) {
  .hero--photo { min-height: 0; }
  .hero--photo::before {
    background: linear-gradient(90deg, rgba(9, 29, 23, .93), rgba(9, 29, 23, .79)),
      linear-gradient(0deg, rgba(9, 29, 23, .82), transparent 64%);
  }
}
@media (max-width: 639px) {
  .hero--photo { padding-top: calc(var(--header) + 76px); padding-bottom: 80px; }
  .hero--photo .hero__photo { object-position: 68% center; }
  .hero--story .hero__photo { object-position: 48% center; }
  .hero--photo .lede { font-size: 1.08rem; }
}

@media (min-width: 900px) {
  .hero--split .hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: end; }
  .hero--split .lede:first-child { margin-top: 0; }
  .hero--split .btns { margin-top: 32px; }
}

/* Home hero image overlaps into the next band */
.hero--with-media { display: flow-root; padding-bottom: 0; overflow: clip visible; z-index: 2; } /* let the image overlap the next band */
.hero__media { position: relative; margin-top: clamp(56px, 8vw, 96px); margin-bottom: calc(-1 * clamp(80px, 12vw, 180px)); z-index: 2; }
.hero__media .placeholder { box-shadow: var(--shadow-lg); }
.after-hero-media { padding-top: calc(var(--band) + clamp(80px, 12vw, 180px)); }

/* ---------- 8. Image placeholders (swap for <img> later) ---------- */
.placeholder {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px; text-align: center;
  font-size: .9rem; line-height: 1.5;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, rgba(20, 52, 43, .045) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--card), var(--paper-2));
  border: 1px solid var(--line-light);
}
.placeholder::before, .placeholder::after { /* brass crop marks */
  content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--brass); opacity: .75;
}
.placeholder::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.placeholder::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.placeholder__icon { width: 30px; height: 30px; color: var(--brass-ink); opacity: .8; margin-bottom: 4px; }
.placeholder__label { font-weight: 600; color: var(--forest); font-size: .95rem; }
.placeholder__note { max-width: 38ch; }
.placeholder__dims { margin-top: 4px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }

.on-dark .placeholder {
  color: var(--sage);
  background:
    repeating-linear-gradient(135deg, rgba(237, 234, 226, .035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, rgba(237, 234, 226, .07), rgba(237, 234, 226, .02));
  border-color: var(--line-dark);
}
.on-dark .placeholder__label { color: var(--paper); }
.on-dark .placeholder__icon, .on-dark .placeholder__dims { color: var(--brass); }

.media-img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); aspect-ratio: var(--ratio, auto); }

/* ---------- 9. Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mt-lg { margin-top: clamp(40px, 6vw, 72px); }
.mt-md { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- 10. Price statement band ---------- */
.statement { display: grid; gap: 24px; }
.statement__title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 16ch; }
@media (min-width: 900px) { .statement { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; } }

/* ---------- 11. Service cards (home) ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service-card::before { /* brass top rule that grows on hover */
  content: ""; position: absolute; left: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); top: -1px; height: 2px;
  background: var(--brass); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(122, 84, 23, .3); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--brass-ink); opacity: .9; }
.service-card__who { margin-top: 28px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.service-card__title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.35rem); line-height: 1.05; }
.service-card p { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.service-card p strong { color: var(--forest); }
.service-card .text-link { margin-top: auto; padding-top: 28px; align-self: flex-start; }
.service-card .text-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* ---------- 12. Timeline (3-step process) ---------- */
.timeline { list-style: none; padding: 0; position: relative; display: grid; gap: 0; counter-reset: step; }
.timeline__step { position: relative; padding: 0 0 44px 76px; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before { /* vertical connector (mobile) */
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px;
  background: linear-gradient(var(--brass), rgba(192, 138, 62, .1));
}
.timeline__step:last-child::before { display: none; }
.timeline__node {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--brass);
  border: 1px solid var(--brass-line);
  background: radial-gradient(circle at 30% 30%, rgba(192, 138, 62, .16), transparent 70%);
}
.timeline__node::after { /* inner ring */
  content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(192, 138, 62, .18);
}
.timeline__step h3 { font-size: 1.25rem; padding-top: 12px; }
.timeline__step p { margin-top: 10px; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .timeline::before { /* horizontal connector across all nodes */
    content: ""; position: absolute; left: 28px; right: 0; top: 28px; height: 1px;
    background: linear-gradient(90deg, var(--brass), rgba(192, 138, 62, .35) 70%, transparent);
  }
  .timeline__step { padding: 92px 0 0 0; }
  .timeline__step::before { display: none; }
  .timeline__node { background-color: var(--forest); }
  .band--deep .timeline__node { background-color: var(--deep); }
  .timeline__step h3 { padding-top: 0; }
}
/* Light-band variant */
.band--paper .timeline__node { color: var(--brass-ink); border-color: rgba(122, 84, 23, .4); background-color: var(--paper); }

/* ---------- 13. Feature list ("why" grid) ---------- */
.features { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.feature { background: var(--paper); padding: clamp(28px, 3vw, 40px); transition: background-color .35s; }
.feature:hover { background: var(--card); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: var(--brass-ink); border: 1px solid rgba(122, 84, 23, .3); margin-bottom: 22px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; }
.feature p { margin-top: 10px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .features--bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .features--bento .feature { grid-column: span 2; }
  .features--bento .feature:nth-child(4), .features--bento .feature:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 640px) and (max-width: 999px) { .features--bento .feature:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.on-dark .features { background: var(--line-dark); border-color: var(--line-dark); }
.on-dark .feature { background: var(--deep); }
.on-dark .feature:hover { background: #122C25; }
.on-dark .feature__icon { color: var(--brass); border-color: var(--brass-line); }

/* ---------- 14. Check list ---------- */
.checks { list-style: none; padding: 0; display: grid; gap: 0 48px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; color: var(--forest); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--brass-ink); }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.on-dark .checks li { border-color: var(--line-dark); color: var(--paper); }
.on-dark .checks svg { color: var(--brass); }

/* ---------- 15. Pricing ---------- */
.tiers { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); color: var(--body);
  border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier__name { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.05; color: var(--forest); }
.tier__who { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.tier__amount { margin-top: 28px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4rem); line-height: 1; color: var(--forest); }
.tier__per { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.tier__list { list-style: none; padding: 0; margin-top: 28px; border-top: 1px solid var(--line-light); }
.tier__list li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: .98rem; }
.tier__list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--brass-ink); }

/* Highlighted (middle) tier */
.tier--featured {
  background: var(--forest); color: var(--sage);
  border-color: rgba(192, 138, 62, .55);
  box-shadow: 0 0 0 1px rgba(192, 138, 62, .25), var(--shadow-lg);
}
.tier--featured::before { /* brass top band */
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent); border-radius: 12px 12px 0 0;
}
.tier--featured .tier__name { color: var(--paper); }
.tier--featured .tier__name::after { content: ""; display: block; width: 36px; height: 1px; background: var(--brass); margin-top: 14px; }
.tier--featured .tier__who, .tier--featured .tier__per { color: var(--sage); }
.tier--featured .tier__list, .tier--featured .tier__list li { border-color: var(--line-dark); }
.tier--featured .tier__list li { color: var(--paper); }
.tier--featured .tier__list svg { color: var(--brass); }
@media (min-width: 900px) { .tiers--3 .tier--featured { transform: translateY(-16px); } .tiers--3 .tier--featured:hover { transform: translateY(-22px); } }

/* Dark-band tiers: cards stay on paper for contrast */
.on-dark .tier:not(.tier--featured) { border-color: transparent; }

/* ---------- 16. Stat figures ---------- */
.stats { display: grid; gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.stat { background: var(--deep); padding: clamp(28px, 4vw, 48px) 0; }
.stat__value { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--paper); letter-spacing: -.02em; }
.stat__value--accent { color: var(--brass); font-style: italic; }
.stat p { margin-top: 16px; max-width: 34ch; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); background: transparent; }
  .stat { padding: 48px 40px 48px 0; border-right: 1px solid var(--line-dark); }
  .stat + .stat { padding-left: 40px; }
  .stat:last-child { border-right: 0; }
}

/* ---------- 17. Price highlight (inside sales) ---------- */
.price-panel {
  position: relative; border: 1px solid var(--brass-line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 4vw, 52px);
  background: linear-gradient(160deg, rgba(192, 138, 62, .08), transparent 55%);
}
.price-panel__amount { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--paper); }
.price-panel__amount em { color: var(--brass); }
.price-panel .lede { margin-top: 22px; }
.price-panel .lede strong { color: var(--brass); }
.split { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } .split--top { align-items: start; } }

/* ---------- 18. FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line-light); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--forest);
  transition: color .2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--brass-ink); }
.faq__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(122, 84, 23, .35); transition: transform .4s var(--ease), background-color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--brass-ink);
  transform: translate(-50%, -50%); transition: transform .4s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: rgba(192, 138, 62, .12); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 64px 28px 0; color: var(--muted); max-width: 70ch; }

.on-dark .faq, .on-dark .faq__item { border-color: var(--line-dark); }
.on-dark .faq__question { color: var(--paper); }
.on-dark .faq__question:hover { color: var(--brass); }
.on-dark .faq__icon { border-color: var(--brass-line); }
.on-dark .faq__icon::before, .on-dark .faq__icon::after { background: var(--brass); }
.on-dark .faq__answer p { color: var(--sage); }
@media (max-width: 640px) { .faq__answer p { padding-right: 0; } }

/* ---------- 19. CTA band ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .lede { margin: 22px auto 0; }
.cta .btns { justify-content: center; }
.cta__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 90vw); opacity: .05; z-index: -1; pointer-events: none; }
.band--paper .cta__mark { filter: brightness(.25); opacity: .06; }

/* ---------- 20. Our Story ---------- */
.founder { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .founder__media { position: sticky; top: calc(var(--header) + 32px); } }
.founder__body h2 { margin-bottom: 28px; }
.founder__body p + p { margin-top: 1.1em; }
.founder__body p { font-size: 1.1rem; }
.founder__caption { margin-top: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }

.pull-quote {
  margin-block: clamp(36px, 5vw, 56px);
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 2px solid var(--brass);
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; color: var(--brass); max-width: 20ch;
}
.load-meter { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 8px; max-width: 560px; }
.load-meter li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; font-family: var(--serif); font-size: 1.35rem; color: var(--paper); }
.load-meter__bar { height: 6px; border-radius: 6px; background: rgba(237, 234, 226, .08); overflow: hidden; }
.load-meter__bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--sage), var(--brass)); transform-origin: left; }
.load-meter li:last-child { color: var(--brass); font-style: italic; }
.load-meter li:last-child .load-meter__bar span { background: var(--brass); }

.note { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--brass); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; max-width: 72ch; }

/* ---------- 21. Contact form ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; letter-spacing: .02em; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: #FBFAF7; border: 1px solid rgba(20, 52, 43, .22); border-radius: var(--radius);
  color: var(--body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px rgba(192, 138, 62, .22); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #9B3A2E; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .small a { color: var(--brass-ink); }
.form-status { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: rgba(20, 52, 43, .08); color: var(--forest); border-left: 3px solid var(--forest); }
.form-status--error { background: rgba(155, 58, 46, .08); color: #7C2E24; border-left: 3px solid #9B3A2E; }
.hp { position: absolute; left: -9999px; }

/* ---------- 22. Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--sage); padding-top: clamp(72px, 9vw, 112px); font-size: .96rem; }
.site-footer__mark { position: absolute; right: -80px; bottom: -120px; width: 520px; opacity: .035; z-index: -1; pointer-events: none; }
.site-footer__grid { display: grid; gap: 48px; padding-bottom: 64px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 40px; } }
.site-footer .brand img { height: 64px; }
.site-footer__tag { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1.1; color: var(--brass); }
.site-footer h2 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--sage); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--paper); }
.site-footer__cta p { margin-bottom: 20px; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: rgba(182, 199, 190, .75); }

/* ---------- 23. Scroll reveal ---------- */
/* Hidden state only applies when JS is running and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  /* Uses the independent `translate` property + an animation so it never clobbers
     component transforms/transitions (card hover lifts, the raised middle tier). */
  .js [data-reveal] { opacity: 0; }
  .js [data-reveal].is-visible { opacity: 1; animation: reveal .9s var(--ease) var(--delay, 0s) both; }
  @keyframes reveal { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

  .js .load-meter__bar span { transform: scaleX(0); transition: transform 1.4s var(--ease); }
  .js .load-meter li:nth-child(2) .load-meter__bar span { transition-delay: .2s; }
  .js .load-meter li:nth-child(3) .load-meter__bar span { transition-delay: .4s; }
  .js .is-visible .load-meter__bar span { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 24. Page-specific tweaks ---------- */
.hero--home h1 { max-width: 19ch; font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.hero--home .lede { max-width: 60ch; }
.band--forest .tier--featured { background: var(--deep); }
.tiers--3 { padding-top: 16px; } /* room for the raised middle tier */
.site-footer { border-top: 1px solid var(--line-dark); }
.on-dark .small a { color: var(--brass); }
.on-dark .form-card strong { color: var(--forest); }
.on-dark .tier:not(.tier--featured) .tier__name,
.on-dark .tier:not(.tier--featured) .tier__amount { color: var(--forest); } /* light cards inside dark bands */
.band--paper .cta__mark { opacity: .04; }
h2 { max-width: 22ch; }
.hero__media .placeholder { /* opaque: it overlaps the light band below */
  background:
    repeating-linear-gradient(135deg, rgba(237, 234, 226, .035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1D4136, #15352C);
}

/* ---------- 25. Home editorial hero ---------- */
.hero--carousel {
  min-height: min(900px, 100svh);
  padding-top: calc(var(--header) + clamp(72px, 9vw, 130px));
  padding-bottom: clamp(32px, 4vw, 54px);
  display: flex;
  align-items: stretch;
  background: var(--deep);
}
.hero--carousel::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 28, 23, .96) 0%, rgba(9, 28, 23, .91) 29%, rgba(9, 28, 23, .61) 56%, rgba(9, 28, 23, .15) 100%),
    linear-gradient(0deg, rgba(9, 28, 23, .78), transparent 31%);
}
.hero--carousel::after { z-index: -1; opacity: .4; }
.hero-carousel__images { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-carousel__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.045);
  transition: opacity 1.15s ease, transform 7s linear;
}
.hero-carousel__image.is-active { opacity: 1; transform: scale(1); }
.hero-carousel__content { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(56px, 8vw, 110px); }
.hero-carousel__copy { max-width: 780px; }
.hero--carousel h1 { max-width: 17ch; font-size: clamp(3.15rem, 6.1vw, 6.4rem); text-shadow: 0 3px 22px rgba(0, 0, 0, .12); }
.hero--carousel h1 em { color: #D7A85E; }
.hero--carousel .lede { max-width: 53ch; color: #E2E8DF; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero-carousel__eyebrow-extra { color: var(--sage); font-weight: 400; letter-spacing: .09em; }
.hero-carousel__footer { display: flex; align-items: end; justify-content: space-between; gap: 40px; border-top: 1px solid rgba(237, 234, 226, .28); padding-top: 25px; }
.hero-carousel__caption { flex: none; max-width: none; color: var(--sage); font-size: .85rem; line-height: 1.6; }
.hero-carousel__caption-label { color: var(--paper); font-weight: 600; }
.hero-carousel__controls { display: flex; gap: clamp(18px, 3vw, 48px); justify-content: flex-end; }
.hero-carousel__control {
  position: relative; min-width: clamp(100px, 11vw, 158px); padding: 11px 0 0;
  display: flex; gap: 10px; align-items: baseline; text-align: left;
  border: 0; border-top: 1px solid rgba(237, 234, 226, .35);
  background: none; color: var(--sage); cursor: pointer;
  font-size: .8rem; line-height: 1.3;
  transition: color .3s ease;
}
.hero-carousel__control::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
}
.hero-carousel__control.is-active { color: var(--paper); }
.hero-carousel__control.is-active::after { transform: scaleX(1); }
.hero--carousel.is-playing .hero-carousel__control.is-active::after { animation: hero-progress 7s linear both; }
.hero-carousel__control-number { font-weight: 600; color: var(--brass); }
.hero-carousel__control-name { white-space: nowrap; }
.hero-carousel__pause {
  align-self: start; min-width: 50px; padding: 11px 0 0;
  border: 0; border-top: 1px solid rgba(237, 234, 226, .35);
  background: none; color: var(--paper); cursor: pointer;
  font-size: .8rem; font-weight: 600; text-align: right;
}
.hero-carousel__pause:hover { color: var(--brass); }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.service-card { --service-pad: clamp(28px, 3vw, 40px); }
.service-card__image {
  width: calc(100% + 2 * var(--service-pad)); max-width: none;
  height: clamp(200px, 20vw, 250px); object-fit: cover;
  margin: calc(-1 * var(--service-pad)) calc(-1 * var(--service-pad)) 28px;
  border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
  filter: saturate(.88);
  transition: filter .45s var(--ease), scale .45s var(--ease);
}
.service-card:hover .service-card__image { filter: saturate(1); }
.service-card__who { margin-top: 18px; }

.crew-portrait { display: grid; gap: clamp(50px, 8vw, 120px); align-items: center; }
.crew-portrait__detail {
  min-height: 330px; padding: clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  border: 1px solid rgba(192, 138, 62, .42); border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(circle at 100% 0, rgba(192, 138, 62, .18), transparent 55%),
    linear-gradient(145deg, #183C31, #102A22);
  box-shadow: var(--shadow-lg);
  font-family: var(--serif); font-size: clamp(3.4rem, 6.7vw, 7rem); line-height: .92; color: var(--paper);
}
.crew-portrait__detail em { color: var(--brass); font-weight: 400; }
.crew-portrait__rule { width: 100%; height: 1px; margin-top: 44px; background: rgba(237, 234, 226, .2); }
.crew-portrait__detail small { margin-top: 18px; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }

.workflow-grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 8px); overflow: hidden; }
.workflow-grid > div { padding: clamp(28px, 3.5vw, 48px); background: var(--card); }
.workflow-grid span { display: block; margin-bottom: clamp(28px, 4vw, 50px); font-family: var(--serif); font-size: 3.1rem; line-height: 1; color: var(--brass-ink); }
.workflow-grid h3 { font-family: var(--serif); font-size: clamp(1.65rem, 2.4vw, 2.1rem); font-weight: 400; }
.workflow-grid p { margin-top: 16px; color: var(--muted); font-size: 1rem; }

@media (min-width: 900px) {
  .crew-portrait { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid--3 > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .hero--carousel { min-height: 760px; }
  .hero--carousel::before { background: linear-gradient(90deg, rgba(9, 28, 23, .94), rgba(9, 28, 23, .65)), linear-gradient(0deg, rgba(9, 28, 23, .75), transparent 45%); }
  .hero-carousel__caption { display: none; }
  .hero-carousel__controls { width: 100%; justify-content: space-between; gap: clamp(10px, 2vw, 18px); }
  .hero-carousel__control { flex: 1; min-width: 0; }
}
@media (max-width: 639px) {
  .hero--carousel { min-height: 780px; padding-top: calc(var(--header) + 60px); }
  .hero--carousel h1 { font-size: clamp(2.9rem, 11vw, 4.6rem); }
  .hero--carousel .lede { font-size: 1.02rem; line-height: 1.55; }
  .hero-carousel__eyebrow-extra, .hero-carousel__control-name { display: none; }
  .hero-carousel__control { padding-top: 10px; }
  .hero-carousel__image { object-position: 62% center; }
  .crew-portrait__detail { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel__image { transition: none; transform: none; }
  .hero--carousel.is-playing .hero-carousel__control.is-active::after { animation: none; }
  .hero-carousel__pause { display: none; }
}
