/* =============================================================================
   Halden Partners - theme-forge "fm-flexio"
   Original stylesheet. Warm-linen consulting language: floating ecru nav pill,
   left-set display hero over a bleeding arch-photo row, ink bands, ecru cards.
   Tokens are :root custom props so the ZiWi builder can map them.
   ============================================================================= */

/* ---------- fonts (self-hosted, latin) ---------- */
@font-face {
  font-family: "Darker Grotesque";
  src: url("../fonts/darker-grotesque-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Signika";
  src: url("../fonts/signika-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
}

/* ---------- tokens ---------- */
:root {
  /* palette */
  --paper: #f9f5f0;          /* Warm Linen   */
  --paper-2: #ffffff;        /* Chalk        */
  --ecru: #e7e1da;           /* Ecru         */
  --ecru-2: #ded7ce;         /* Ecru Deep    */
  --ink: #12100c;            /* Bitumen      */
  --ink-2: #1c1913;          /* Bitumen Lift */
  --ink-soft: #45403a;       /* Soft Ink     */
  --ember: #f2570f;          /* Ember        */
  --ember-btn: #c24505;      /* Ember Deep   */
  --ember-ink: #a83a05;      /* Ember Ink    */
  --azure: #2c46d2;          /* Azure        */
  --sage: #62bba6;           /* Sage         */
  --wheat: #f6ce86;          /* Wheat        */
  --line: rgba(18, 16, 12, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* type */
  --display: "Darker Grotesque", "Trebuchet MS", sans-serif;
  --body: "Signika", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(50px, calc(38.5px + 2.952vw), 81px);
  --fs-h2: clamp(42px, calc(34.57px + 1.905vw), 62px);
  --fs-h3: clamp(34px, calc(28.8px + 1.333vw), 48px);
  --fs-card: clamp(22px, calc(20.5px + 0.38vw), 26px);
  --fs-lead: clamp(17px, calc(16.6px + 0.095vw), 18px);
  --fs-body: 17px;
  --fs-meta: 15px;
  --fs-chip: 14px;

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 140px;

  /* shape */
  --r-chip: 4px;
  --r-img: 16px;
  --r-card: 20px;
  --r-shell: 24px;
  --r-nav: 32px;
  --r-pill: 99px;
  --wrap: 1340px;
  --gut: 50px;
  --arch-h: 355px;
  --shadow-card: 0 1px 2px rgba(18, 16, 12, 0.05), 0 10px 28px rgba(18, 16, 12, 0.07);
  --t-fast: 150ms;
  --t-base: 240ms;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--ember-btn);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- layout primitives ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }
.h1 { font-size: var(--fs-h1); line-height: 0.85; }
.h2 { font-size: var(--fs-h2); line-height: 0.92; }
.h3 { font-size: var(--fs-h3); line-height: 1; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.56;
  color: var(--ink-soft);
}
.chip {
  display: inline-block;
  background: var(--ember-btn);
  color: #fff;
  font-family: var(--body);
  font-size: var(--fs-chip);
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-chip);
}
.chip--onink { background: var(--paper); color: var(--ember-ink); }
.centered { text-align: center; }
.centered .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  border: 0; border-radius: var(--r-pill);
  font-family: var(--body); font-size: 16px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) ease-out, transform var(--t-fast) ease-out, color var(--t-fast) ease-out;
}
.btn--primary { background: var(--ember-btn); color: #fff; }
.btn--primary:hover { background: #a83a05; }
.btn--ghost { background: var(--ecru); color: var(--ink); }
.btn--ghost:hover { background: var(--ecru-2); }
.btn--onink { background: var(--ecru); color: var(--ink); }
.btn--onink:hover { background: var(--paper-2); }
.btn--dark { background: var(--ink-2); color: var(--paper); }
.btn--dark:hover { background: #2a2620; }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; font-size: 15px; padding: 0 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s4); }
.hero .btn, .closer .btn, .split--process .btn { min-width: 144px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90;
  padding-top: 20px; height: 84px;
  transition: transform var(--t-base) ease-out;
}
.hdr[data-hidden="true"] { transform: translateY(-100px); }
.nav {
  display: flex; align-items: center; gap: 40px;
  width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto;
  height: 64px; padding: 6px 6px 6px 24px;
  background: var(--ecru); border-radius: var(--r-nav);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-word {
  font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 16px; color: var(--ink);
  transition: background-color var(--t-fast) ease-out;
}
.nav-links a:hover { background: var(--ecru-2); }
.nav-links a[aria-current="page"] { background: var(--ecru-2); }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none; width: 52px; height: 52px; flex-shrink: 0;
  align-items: center; justify-content: center;
  margin-left: auto;
  background: var(--ember-btn); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-panel { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 180px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 800px; margin-top: 12px; }
.hero .lead { max-width: 700px; margin-top: 24px; }
.hero .cta-row { margin-top: 32px; }
.arch-band { margin-top: 80px; padding-bottom: 120px; }
.arch-rail { position: relative; }
.arch-row {
  --cycle: 1819px;
  display: flex; align-items: flex-end; gap: 10px;
  width: max-content; margin-left: -601px;
  animation: drift 90.95s linear infinite;
}
.arch-rail[data-paused="true"] .arch-row { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--cycle))); } }
.rail-toggle {
  position: absolute; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--ecru); color: var(--ink-soft);
  border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color var(--t-fast) ease-out;
}
.rail-toggle:hover { background: var(--ecru-2); }
.rail-toggle svg { width: 16px; height: 16px; }
.rail-toggle--hero { right: 50px; top: -58px; }
.arch {
  position: relative;
  height: var(--arch-h);
  border-radius: 50% 50% 0 0 / 50% 50% 0 0;
  overflow: hidden;
  background: var(--ecru);
  flex-shrink: 0;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--w { width: calc(var(--arch-h) * 1.29); }
.arch--sq { width: var(--arch-h); }
.arch--n { width: calc(var(--arch-h) * 0.896); }
.arch--half { width: calc(var(--arch-h) * 0.499); }
.arch-pair { display: flex; align-items: flex-end; gap: 0; }
.arch-block {
  width: calc(var(--arch-h) * 0.299);
  height: var(--arch-h);
  background: var(--ember);
  flex-shrink: 0;
}

/* ---------- ink band + marquee ---------- */
.band { padding-block: var(--s10); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ecru { background: var(--ecru); }
.band--tight { padding-block: 120px; }
.band--ink .lead { color: rgba(249, 245, 240, 0.72); }
.band--ink h2, .band--ink h3 { color: var(--paper); }
.trust .h3 { max-width: 700px; margin-inline: auto; margin-top: 4px; }
.marquee {
  position: relative; margin-top: 30px;
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee-rule { flex-shrink: 0; width: 1px; height: 28px; background: rgba(249, 245, 240, 0.18); }
.marquee[data-paused="true"] .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 48px;
  color: rgba(249, 245, 240, 0.82); white-space: nowrap;
}
.marquee-toggle {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(249, 245, 240, 0.12); color: var(--paper);
  border: 0; border-radius: 50%; cursor: pointer;
}
.marquee-toggle svg { width: 16px; height: 16px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- split (problem) ---------- */
.band--split { padding-bottom: 0; }
.split {
  display: grid; grid-template-columns: 588px 1fr; gap: 107px;
  align-items: start;
}
.split h2 { max-width: 538px; margin-top: 12px; }
.split .lead { max-width: 540px; margin-top: 24px; }
.checks { margin-top: 40px; display: grid; gap: 20px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: var(--fs-body); }
.check .check-mark {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center;
  color: var(--ember-btn);
}
.check-mark svg { width: 26px; height: 26px; }
.check b { font-weight: 600; }
.check span { color: var(--ink-soft); }
.photo-panel { position: relative; }
.photo-panel img {
  width: 100%; aspect-ratio: 645 / 640; object-fit: cover;
  border-radius: var(--r-card);
  outline: 1px solid rgba(18, 16, 12, 0.08); outline-offset: -1px;
}
.stickers { position: absolute; right: -14px; top: -18px; display: grid; gap: 8px; justify-items: end; }
.sticker {
  font-family: var(--body); font-size: var(--fs-chip); font-weight: 600;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 10px 18px; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(18, 16, 12, 0.14);
  white-space: nowrap;
}
.sticker--1 { background: var(--ember-btn); color: #fff; transform: rotate(-6deg); }
.sticker--2 { background: var(--sage); color: var(--ink); transform: rotate(3deg); margin-right: 22px; }
.sticker--3 { background: var(--azure); color: #fff; transform: rotate(-4deg); margin-right: 60px; }

/* ---------- service cards ---------- */
.band--services { padding-top: 220px; padding-bottom: 0; }
.sec-head { max-width: 640px; margin-inline: auto; }
.sec-head--wide { max-width: 800px; }
.sec-head--quotes { max-width: 700px; }
.sec-head--quotes h2 { margin-top: 12px; }
.head-800 { max-width: 800px; margin-inline: auto; }
.head-610 { max-width: 610px; }
.sec-head h2 { margin-top: 12px; }
.sec-head .lead { margin-top: 20px; max-width: 620px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 72px; }
.svc {
  position: relative; display: block;
  height: 480px; border-radius: var(--r-img);
  overflow: hidden; background: var(--ink);
  transition: transform var(--t-base) ease-out;
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 12, 0.72) 0%, rgba(18, 16, 12, 0.34) 26%, rgba(18, 16, 12, 0) 45%),
    linear-gradient(180deg, rgba(18, 16, 12, 0) 62%, rgba(18, 16, 12, 0.92) 100%);
}
.svc-top {
  position: absolute; inset: 24px 24px auto 24px; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.svc-top h3 { font-size: var(--fs-card); line-height: 1.05; color: var(--paper); }
.svc-plus {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(249, 245, 240, 0.22); color: var(--paper);
  transition: background-color var(--t-fast) ease-out;
}
.svc-plus svg { width: 20px; height: 20px; }
.svc:hover .svc-plus { background: var(--ember-btn); }
.svc:hover { transform: translateY(-3px); }
.svc-foot {
  position: absolute; inset: auto 24px 24px 24px; z-index: 2;
  color: rgba(249, 245, 240, 0.92); font-size: var(--fs-meta); line-height: 1.5;
  max-width: 330px;
}

/* ---------- process ---------- */
.band--process { padding-top: 220px; padding-bottom: var(--s10); }
.split--process { grid-template-columns: 588px 1fr; gap: 107px; }
.split--process h2 { margin-top: 12px; max-width: 520px; }
.split--process .cta-row { margin-top: 40px; }
.steps { display: grid; gap: 29px; }
.step {
  display: grid; grid-template-columns: 36px 1fr; gap: 24px;
  align-items: start;
  background: var(--ecru); border-radius: var(--r-card);
  padding: 28px 40px 28px 28px;
  min-height: 156px;
}
.step-n {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ember-btn); color: #fff;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--fs-card); line-height: 1.05; }
.step p { margin-top: 12px; color: var(--ink-soft); font-size: var(--fs-meta); }

/* ---------- pinned media ---------- */
.pinned { position: relative; height: 2280px; }
.pinned-inner {
  position: sticky; top: 0; height: 900px; overflow: hidden;
  background: var(--ink);
}
.pinned-inner img { width: 100%; height: 100%; object-fit: cover; }
.pinned-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.82) 0%, rgba(18, 16, 12, 0.7) 46%, rgba(18, 16, 12, 0.34) 66%, rgba(18, 16, 12, 0) 88%);
}
.pinned-lines { position: absolute; inset: 0; }
.pinned-line {
  position: absolute; left: 50%; width: 1050px; margin-left: -525px;
  font-family: var(--display); font-weight: 600; font-size: 62px; line-height: 1.0;
  color: #fff; text-shadow: 0 1px 18px rgba(18, 16, 12, 0.5);
}
.pinned-line--1 { top: 230px; }
.pinned-line--2 { top: 393px; }
@supports (animation-timeline: view()) {
  .pinned-line { animation: pinRise linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  @keyframes pinRise { from { transform: translateY(324px); } to { transform: translateY(0); } }
}

/* ---------- stats ---------- */
.band--stats { padding-top: 100px; padding-bottom: 116px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.stats--hero { margin-top: 32px; }
.hero--inner > .wrap:last-child { padding-bottom: var(--s10); }
.hero--inner .note { margin-top: 14px; }
.stat {
  background: var(--ecru); border-radius: var(--r-card);
  min-height: 191px; padding: 40px 24px;
  display: grid; align-content: center; justify-items: center; gap: 12px;
  text-align: center;
}
.stat b {
  font-family: var(--display); font-weight: 600; font-size: 57px; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.stat span { font-size: var(--fs-meta); color: var(--ink-soft); }
.note { margin-top: 24px; font-size: 13px; color: var(--ink-soft); }
.band--ink .note { color: rgba(249, 245, 240, 0.62); }

/* ---------- pricing rows ---------- */
.band--price { padding-top: 120px; padding-bottom: 96px; }
.band--price h2 { margin-top: 24px; max-width: 620px; }
.price-list { margin-top: 64px; border-top: 1px solid var(--line-dark); }
.price-list .price-row:last-child { border-bottom: 0; padding-bottom: 30px; }
.price-row {
  display: grid; grid-template-columns: 300px 604px 1fr; gap: 48px;
  min-height: 182px; padding: 30px 0; border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.price-row:last-child { border-bottom: 0; }
.price-idx {
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: var(--ember); font-variant-numeric: tabular-nums;
}
.price-row h3 { font-size: 48px; line-height: 1; margin-top: 10px; }
.price-feats { display: grid; gap: 10px; padding-top: 12px; }
.price-feats li { font-size: var(--fs-meta); color: rgba(249, 245, 240, 0.78); }
.price-amt { text-align: right; }
.price-amt b {
  display: block; font-family: var(--display); font-weight: 600; font-size: 46px;
  line-height: 0.84; font-variant-numeric: tabular-nums;
}
.price-amt span { display: block; margin-top: 6px; font-size: var(--fs-meta); color: rgba(249, 245, 240, 0.7); }
.price-amt .btn { margin-top: 16px; min-height: 38px; }

/* ---------- industries pills ---------- */
.band--industries { padding-top: var(--s10); padding-bottom: 0; }
.ind-stage { position: relative; height: 200px; margin: 0 100px; }
.ind {
  position: absolute;
  font-family: var(--body); font-size: 18px; font-weight: 500; line-height: 28px;
  padding: 20px 40px; border-radius: var(--r-pill); white-space: nowrap;
}
.ind--1 { background: var(--wheat); color: var(--ink); left: 0; top: 122px; }
.ind--2 { background: var(--ember-btn); color: #fff; left: 215px; top: 122px; }
.ind--3 { background: var(--sage); color: var(--ink); left: 428px; top: 84px; transform: rotate(-19deg); }
.ind--4 { background: var(--azure); color: #fff; left: 648px; top: 88px; transform: rotate(-19deg); }
.ind--5 { background: var(--ember); color: var(--ink); left: 790px; top: 122px; }
.ind--6 { background: var(--ink); color: var(--paper); left: 934px; top: 122px; }
.ind--7 { background: #70a2e1; color: var(--ink); left: 852px; top: 0; }
.ind--8 { background: var(--paper-2); color: var(--ink); left: 874px; top: 58px; }

/* ---------- testimonials ---------- */
.band--quotes { padding-top: var(--s10); padding-bottom: 0; overflow: hidden; }
.quote-rail { margin-top: 40px; width: 100vw; margin-left: 50%; transform: translateX(-50%); overflow: hidden; }
.quote-track { display: flex; gap: 25px; width: max-content; animation: slide 100s linear infinite; padding-inline: 12px; }
.quote-rail[data-paused="true"] .quote-track { animation-play-state: paused; }
.qcard {
  display: grid; grid-template-columns: 302px 365px; gap: 33px;
  width: 730px; height: 355px; padding: 7px 16px 7px 7px; border-radius: var(--r-card);
  background: var(--ink); color: var(--paper);
}
.qcard img { width: 302px; height: 341px; object-fit: cover; border-radius: 12px; }
.qcard-body { display: flex; flex-direction: column; padding: 24px 0 15px; }
.qmark { position: relative; width: 60px; height: 60px; display: grid; place-items: center; }
.qmark svg.scallop { position: absolute; inset: 0; width: 60px; height: 60px; }
.qmark-glyph { position: relative; width: 26px; height: 26px; color: var(--ember-btn); display: block; }
.qmark-glyph svg { width: 26px; height: 26px; }
.qcard blockquote { margin: 51px 0 0; font-size: var(--fs-body); line-height: 1.5; }
.qcard cite { margin-top: 16px; font-style: normal; font-size: var(--fs-meta); color: rgba(249, 245, 240, 0.66); }

/* ---------- case studies ---------- */
.band--cases { padding-top: 220px; padding-bottom: var(--s10); }
.cases-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cases-head h2 { margin-top: 12px; max-width: 640px; }
.cases-2 { display: grid; grid-template-columns: 737fr 578fr; gap: 25px; margin-top: 72px; }
.cases-grid .cases-2 { grid-template-columns: 804fr 512fr; gap: 24px; margin-top: 0; }
.cases-grid .cases-2--flip { grid-template-columns: 512fr 804fr; }
.cases-grid .case-card img { height: 385px; }
.case-card { display: block; }
.case-card img {
  width: 100%; height: 400px; object-fit: cover;
  border-radius: var(--r-img);
  outline: 1px solid rgba(18, 16, 12, 0.08); outline-offset: -1px;
  transition: transform var(--t-base) ease-out;
}
.case-card:hover img { transform: translateY(-3px); }
.case-card .chip { margin-top: 20px; }
.case-card h3, .case-card h2 { margin-top: 10px; font-size: var(--fs-card); line-height: 1.1; }
.case-card p { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-meta); }
.cases-grid { display: grid; gap: 40px; margin-top: 40px; }
.hero--cases { padding-bottom: var(--s10); }
.hero--cases h1.h2 { max-width: 800px; margin-inline: auto; }
.hero--cases .note { margin-top: 40px; }

/* ---------- closing CTA + shape strip ---------- */
.closer { background: var(--ink); color: var(--paper); padding-top: 120px; overflow: hidden; }
.closer h2 { max-width: 620px; margin: 12px auto 0; }
.closer .btn { margin-top: 40px; }
.strip {
  display: flex; align-items: flex-end; gap: 10px;
  width: max-content; margin: 88px 0 0 50%; transform: translateX(-50%);
  height: 300px;
}
.strip > * { flex-shrink: 0; }
.strip-arch, .strip-shape { height: 300px; }
.strip-arch { width: 300px; border-radius: 50% 50% 0 0 / 50% 50% 0 0; overflow: hidden; }
.strip-arch img { width: 100%; height: 100%; object-fit: cover; }
.strip-shape { width: 300px; height: 300px; }
.strip-shape--arch-ember { background: var(--ember); border-radius: 50% 50% 0 0 / 50% 50% 0 0; }
.strip-shape--arch-narrow { width: 220px; background: var(--sage); border-radius: 50% 50% 0 0 / 50% 50% 0 0; }
.strip-shape--quarter-sage { background: var(--sage); border-radius: 0 300px 0 0; }
.strip-shape--stack { display: grid; grid-template-rows: 118px 1fr; gap: 12px; }
.strip-shape--stack i:first-child { display: block; background: var(--azure); border-radius: 118px 118px 0 0; height: 118px; }
.strip-shape--stack i:last-child { display: block; background: var(--wheat); height: 170px; }
.strip-bars { display: flex; align-items: flex-end; gap: 26px; }
.strip-bars i { display: block; width: 84px; background: var(--paper); border-radius: 42px 42px 0 0; }
.strip-bars i:nth-child(1) { height: 300px; }
.strip-bars i:nth-child(2) { height: 232px; }
.strip-bars i:nth-child(3) { height: 178px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); }
.foot-card {
  width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto;
  background: var(--paper); border-radius: var(--r-shell) var(--r-shell) 0 0;
  padding: 56px 50px 0;
  overflow: hidden;
}
.foot-grid { display: grid; grid-template-columns: 1fr 180px 160px 240px; gap: 40px; }
.foot-label { font-size: var(--fs-meta); color: var(--ink-soft); }
.foot-mail {
  display: inline-block; margin-top: 6px;
  font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.05;
  border-bottom: 2px solid transparent;
}
.foot-mail:hover { border-bottom-color: var(--ember-btn); }
.foot-meta { margin-top: 18px; font-size: var(--fs-meta); color: var(--ink-soft); }
.foot-col h3 { font-family: var(--body); font-size: var(--fs-body); font-weight: 600; }
.foot-col ul { margin-top: 16px; display: grid; gap: 12px; }
.foot-col a, .foot-col p { font-size: var(--fs-meta); color: var(--ink-soft); }
.foot-col a:hover { color: var(--ember-ink); }
.foot-word {
  display: flex; align-items: flex-end; gap: 20px; margin-top: 40px;
  overflow: hidden; height: 210px;
}
.foot-word .brand-mark { width: 152px; height: 152px; margin-bottom: 8px; }
.foot-word span {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(120px, 20vw, 286px); line-height: 0.78;
  letter-spacing: -0.02em; color: var(--ink);
}
.foot-legal {
  width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto;
  padding: 22px 0 28px; font-size: 13px; line-height: 1.6; color: rgba(249, 245, 240, 0.6);
}

/* ---------- about page pieces ---------- */
.hero--inner { padding-top: 180px; }
.hero--inner h1 { max-width: 830px; }
.hero-pair { display: grid; grid-template-columns: 875fr 435fr; gap: 30px; margin-top: 64px; padding-bottom: 0; }
.hero-pair img {
  width: 100%; height: 460px; object-fit: cover; border-radius: var(--r-img);
  outline: 1px solid rgba(18, 16, 12, 0.08); outline-offset: -1px;
}
.story { display: grid; grid-template-columns: 700px 1fr; gap: 107px; }
.story h2 { margin-top: 16px; max-width: 700px; }
.story-cols { display: grid; grid-template-columns: repeat(2, 335px); gap: 30px; margin-top: 24px; }
.story-cols p { color: var(--ink-soft); font-size: var(--fs-meta); }
.callout {
  margin-top: 24px; padding: 24px;
  background: var(--ecru); border-radius: var(--r-card);
  font-size: var(--fs-body); font-weight: 500; max-width: 700px;
}
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px 40px; margin-top: 72px; max-width: 1040px; margin-inline: auto; }
.value { text-align: center; }
.value-badge {
  width: 132px; height: 132px; margin: 0 auto; display: grid; place-items: center;
  color: #fff;
}
.value-badge--ink { color: var(--ink); }
.value-badge svg.scallop { position: absolute; width: 132px; height: 132px; }
.value-badge-in { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.value-badge-in svg.ico { position: relative; width: 46px; height: 46px; }
.value h3 { margin-top: 26px; font-size: var(--fs-card); }
.value p { margin-top: 14px; font-size: var(--fs-meta); color: var(--ink-soft); max-width: 380px; margin-inline: auto; }
.team { display: grid; grid-template-columns: 430px 1fr; gap: 82px; }
.team h2 { margin-top: 12px; }
.team .btn { margin-top: 36px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.member { position: relative; border-radius: var(--r-img); overflow: hidden; height: 397px; background: var(--ink); }
.member img { width: 100%; height: 100%; object-fit: cover; }
.member::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0) 45%, rgba(18, 16, 12, 0.78) 100%);
}
.member-cap { position: absolute; inset: auto 24px 22px 24px; z-index: 2; color: var(--paper); }
.member-cap b { display: block; font-family: var(--display); font-weight: 600; font-size: var(--fs-card); line-height: 1.1; }
.member-cap span { display: block; margin-top: 4px; font-size: var(--fs-meta); color: rgba(249, 245, 240, 0.82); }

/* ---------- contact page ---------- */
.contact-hero { padding-top: 180px; padding-bottom: var(--s10); }
.contact-grid { display: grid; grid-template-columns: 610px 610px; justify-content: space-between; gap: 120px; align-items: start; }
.contact-grid h1 { margin-top: 12px; }
.contact-grid .lead { margin-top: 24px; max-width: 520px; }
.crows { margin-top: 44px; display: grid; gap: 20px; max-width: 610px; }
.crow {
  display: flex; align-items: center; gap: 18px; min-height: 90px;
  background: var(--ecru); border-radius: var(--r-pill);
  padding: 16px 24px 16px 16px;
}
.crow-ico {
  width: 54px; height: 54px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--ember-btn); color: #fff; border-radius: 50%;
}
.crow-ico svg { width: 24px; height: 24px; }
.crow-text b { display: block; font-size: var(--fs-body); font-weight: 600; }
.crow-text span, .crow-text a { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--ink-soft); }
.crow-text a:hover { color: var(--ember-ink); }
.form-card { background: var(--ecru); border-radius: var(--r-img); padding: 32px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.field label { font-size: var(--fs-meta); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font-family: var(--body); font-size: var(--fs-body); color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ember-btn); }
.form-card .btn { width: 100%; }
.form-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.form-ok {
  display: none; margin-top: 20px; padding: 18px 20px;
  background: var(--paper-2); border-left: 3px solid var(--ember-btn); border-radius: 10px;
  font-size: var(--fs-meta);
}
.form-ok[data-on="true"] { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gut: 32px; --arch-h: 300px; }
  .split, .split--process, .story, .team, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .qcard { width: 640px; }
  .band--services, .band--process, .band--cases { padding-top: 140px; }
  .pinned { height: 1800px; }
  .pinned-inner { height: 720px; }
}
@media (max-width: 860px) {
  :root { --gut: 16px; --arch-h: 250px; --s10: 80px; }
  .nav { gap: 0; padding: 6px 6px 6px 18px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-panel {
    display: block; position: fixed; inset: 92px 16px auto 16px; z-index: 89;
    background: var(--ecru); border-radius: var(--r-card);
    padding: 16px; box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-base) ease-out, transform var(--t-base) ease-out, visibility var(--t-base);
  }
  .nav-panel[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav-panel ul { display: grid; gap: 4px; }
  .nav-panel a {
    display: flex; align-items: center; min-height: 48px; padding: 0 14px;
    border-radius: 12px; font-size: var(--fs-body);
  }
  .nav-panel a:hover { background: var(--ecru-2); }
  .nav-panel .btn { width: 100%; margin-top: 10px; }

  .hero { padding-top: 124px; text-align: center; }
  .hero h1, .hero .lead { margin-inline: auto; }
  .hero .cta-row { justify-content: center; }
  .arch-band { margin-top: 56px; padding-bottom: 64px; }
  .arch-row { --cycle: 1296px; margin-left: -744px; animation-duration: 64.8s; }
  .rail-toggle--hero { right: var(--gut); top: -52px; }
  .band { padding-block: var(--s10); }
  .band--tight { padding-block: 64px; }
  .marquee { margin-top: 40px; }
  .marquee-item { font-size: 24px; }
  .split h2, .split .lead, .split--process h2 { max-width: none; }
  .stickers { right: -6px; top: -14px; }
  .sticker { font-size: 12px; padding: 8px 14px; }
  .sticker--2 { margin-right: 14px; }
  .sticker--3 { margin-right: 34px; }
  .cards-3 { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .svc { height: 420px; }
  .band--services { padding-top: var(--s10); padding-bottom: 0; }
  .band--process { padding-top: var(--s10); }
  .step { grid-template-columns: 32px 1fr; gap: 18px; padding: 24px; min-height: 0; }
  .pinned { height: auto; }
  .pinned-inner { position: static; height: 520px; }
  .pinned-line { width: auto; left: var(--gut); right: var(--gut); margin-left: 0; font-size: 34px; }
  .pinned-line--1 { top: 150px; }
  .pinned-line--2 { top: 300px; }
  .stats { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .stat { min-height: 0; padding: 32px 20px; }
  .stat b { font-size: 46px; }
  .band--price { padding-block: 80px; }
  .price-list { margin-top: 40px; }
  .price-row { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 36px; }
  .price-row h3 { font-size: 34px; }
  .price-amt { text-align: left; }
  .price-amt b { font-size: 38px; }
  .band--industries { padding-bottom: 120px; }
  .ind-stage { height: auto; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .ind { position: static; font-size: 15px; padding: 13px 20px; }
  .ind--3, .ind--4 { background: var(--azure); color: #fff; left: 648px; top: 88px; transform: rotate(-19deg); }
  .band--industries { padding-bottom: var(--s10); }
  .band--quotes { padding-top: var(--s10); padding-bottom: 56px; }
  .quote-rail { margin-top: 44px; }
  .qcard { width: 320px; height: auto; grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .qcard img { height: 220px; }
  .qcard img { width: 100%; height: 220px; }
  .qcard-body { padding: 0 6px 10px; }
  .qcard blockquote { margin-top: 18px; }
  .cases-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cases-2, .cases-2--flip, .cases-grid .cases-2, .cases-grid .cases-2--flip { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .cases-grid { gap: 40px; margin-top: 40px; }
  .cases-grid .case-card img { height: 260px; }
  .case-card img { height: 260px; }
  .closer { padding-top: 80px; }
  .strip { height: 190px; margin-top: 56px; }
  .strip > * { height: 190px; }
  .strip-arch, .strip-shape { width: 190px; height: 190px; }
  .strip-shape--quarter-sage { border-radius: 0 190px 0 0; }
  .strip-shape--stack { grid-template-rows: 76px 1fr; gap: 8px; }
  .strip-shape--stack i:first-child { border-radius: 76px 76px 0 0; height: 76px; }
  .strip-shape--stack i:last-child { height: 106px; }
  .strip-bars { gap: 16px; }
  .strip-bars i { width: 52px; border-radius: 26px 26px 0 0; }
  .strip-bars i:nth-child(1) { height: 190px; }
  .strip-bars i:nth-child(2) { height: 148px; }
  .strip-bars i:nth-child(3) { height: 112px; }
  .foot-card { padding: 40px 20px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-mail { font-size: 23px; overflow-wrap: anywhere; }
  .foot-word { height: 96px; gap: 10px; margin-top: 28px; }
  .foot-word .brand-mark { width: 66px; height: 66px; }
  .foot-word span { font-size: 25vw; }
  .hero--inner { padding-top: 124px; }
  .hero-pair { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; padding-bottom: var(--s10); }
  .hero-pair img { height: 300px; }
  .story-cols { grid-template-columns: 1fr; gap: 20px; }
  .values { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
  .value-badge, .value-badge-in, .value-badge svg.scallop { width: 104px; height: 104px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member { height: 260px; }
  .member-cap { inset: auto 14px 14px 14px; }
  .member-cap b { font-size: 20px; }
  .contact-hero { padding-top: 124px; }
  .form-card { padding: 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .crow { min-height: 78px; }
}

/* ---------- reduced motion: complete static render ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track, .quote-track, .arch-row { animation: none; transform: none; }
  .pinned-line { animation: none; transform: none; }
  .marquee { mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: 100%; gap: 16px 40px; justify-content: center; }
  .quote-track { width: 100%; overflow-x: auto; padding-inline: var(--gut); }
  .hdr[data-hidden="true"] { transform: none; }
  .pinned { height: auto; }
  .pinned-inner { position: static; height: 560px; }
}
