/* Public brand website (W2 redesign, D116–D119). Dark architectural palette from the brief; logo inks from the supplied artwork
   (site/logo/). Contrast notes are measured WCAG ratios. Motion is opt-in via the .js class and removed under reduced motion. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-standard-normal.woff2) format('woff2-variations'); }

:root {
  --obsidian: #15191D; --graphite: #292F35; --graphite-2: #20252A; --line: #3A4148; --line-soft: #2C3238;
  --ivory: #F4F0E8; --ivory-2: #EAE4D9; --ink: #15191D;
  --copper: #B67344;        /* logo copper. On obsidian 4.8:1; button fill with obsidian text 4.8:1 */
  --copper-hi: #C98A5C;     /* hover / accents on dark: 6.2:1 on obsidian */
  --copper-deep: #8F5228;   /* copper text on ivory: 5.6:1 */
  --text: #E7E2D9;          /* body on obsidian 13.6:1 */
  --muted: #ADA79D;         /* secondary on obsidian 7.5:1, on graphite 5.9:1 */
  --ink-muted: #4C5157;     /* secondary on ivory 7.3:1 */
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --step--1: 0.9rem; --step-0: 1.0625rem; --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.1vw, 3rem); --step-4: clamp(2.35rem, 1rem + 3.3vw, 4rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.75rem); --section: clamp(4rem, 2.4rem + 6.5vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; background: var(--obsidian); }
body { margin: 0; background: var(--obsidian); color: var(--text); font-family: var(--serif); font-size: var(--step-0); line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
a { color: var(--copper-hi); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, .btn, .nav, .eyebrow, .footer-head, label, summary, .label, .chip, .stage, .card-num, .tag-illustrative, .menu-toggle { font-family: var(--display); }
h1, h2, h3, h4 { color: var(--ivory); line-height: 1.1; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); font-weight: 700; max-width: 24ch; text-wrap: balance; }
h3 { font-size: var(--step-1); font-weight: 650; line-height: 1.25; letter-spacing: -0.005em; }
h4 { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-hi); margin-bottom: 0.5rem; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 50rem; }
.small, .note { font-size: var(--step--1); color: var(--muted); }
.note { margin-top: 2rem; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 30; background: var(--ivory); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.eyebrow { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-hi); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.8rem; }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: currentColor; flex: none; }

.preview-banner { background: var(--copper); color: var(--ink); font-family: var(--display); font-size: 0.85rem; padding: 0.45rem 0; position: relative; z-index: 21; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(21, 25, 29, 0.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.site-header.scrolled, .page-plain .site-header { background: rgba(21, 25, 29, 0.94); border-bottom-color: var(--line-soft); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
/* logo clear space: at least a quarter of the lockup height on every side (padding below + header height) */
.logo-link { display: inline-flex; padding: 0.45rem 0; flex: none; line-height: 0; }
.logo { display: block; width: auto; max-width: none; }
.logo-header { height: 44px; }
.logo-footer { height: 54px; }
.site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav { display: flex; gap: 1.6rem; font-size: 0.86rem; font-weight: 550; letter-spacing: 0.02em; }
.nav a { color: var(--text); text-decoration: none; padding: 0.6rem 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: var(--copper-hi); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 0.6rem; background: none; border: 1px solid var(--line); color: var(--ivory); border-radius: var(--radius); min-height: 44px; padding: 0 0.9rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
[aria-expanded="true"] .menu-icon { background: transparent; }
[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1060px) {
  .nav { gap: 1.1rem; } .site-nav { gap: 1.2rem; }
}
@media (max-width: 960px) {
  .header-row { min-height: 4.25rem; }
  .logo-header { height: 38px; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .js .site-nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem; background: var(--obsidian); border-bottom: 1px solid var(--line-soft); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s; }
  .js .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
  .nav { flex-direction: column; gap: 0; font-size: 1rem; }
  .nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
}
@media (max-width: 380px) { .logo-header { height: 34px; } .menu-label { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.8rem 1.5rem; border-radius: var(--radius); font-weight: 650; font-size: 0.95rem; letter-spacing: 0.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.25; text-align: center; position: relative; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.btn-primary { background: var(--copper); color: var(--ink); }
.btn-primary:hover { background: var(--copper-hi); color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(182, 115, 68, 0.7); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(244, 240, 232, 0.35); }
.btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); background: rgba(244, 240, 232, 0.05); }
.btn-small { min-height: 2.75rem; padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-large { min-height: 3.4rem; padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh - 4.75rem, 920px); display: flex; align-items: center; overflow: clip; isolation: isolate;
  background: radial-gradient(ellipse 60% 70% at 72% 55%, rgba(58, 65, 72, 0.55), transparent 70%), var(--obsidian); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.88fr); align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy { max-width: 44rem; }
.hero-title { font-size: var(--step-4); font-weight: 760; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 1.6rem; }
.hero-title .line { display: block; }
@media (min-width: 961px) { .hero-title .line { white-space: nowrap; } }
.hero-title .line:nth-child(2) { color: var(--copper-hi); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--text); max-width: 33rem; margin-bottom: 2.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.4rem; }
.hero-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.hero-eyebrow { letter-spacing: 0.2em; }
/* the sculpture keeps to its own column: it never sits behind the headline or the buttons */
.hero-figure { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-visual { position: relative; width: min(100%, 620px); aspect-ratio: 1; pointer-events: none; }
.hero-visual::before { content: ''; position: absolute; inset: 12% 10% 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(182, 115, 68, 0.10), rgba(58, 65, 72, 0.18) 55%, transparent); }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-poster { object-fit: contain; transition: opacity 0.9s var(--ease); }
.hero-canvas { opacity: 0; transition: opacity 0.6s var(--ease); }
.hero-3d .hero-canvas { opacity: 1; }
.hero-3d .hero-poster, .hero-pending .hero-poster { opacity: 0; animation: none !important; } /* the fade-in animation would otherwise keep it visible */
.hero-caption { max-width: 26rem; margin-top: -0.5rem; text-align: center; font-family: var(--display); font-size: 0.78rem; font-weight: 550; letter-spacing: 0.08em; color: var(--muted); }
.hero-caption span { color: var(--text); }
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(82vw, 460px); }
  .hero-caption { margin-top: 0; }
}
@media (max-width: 600px) {
  .cta-row .btn { width: 100%; }
  .hero-visual { width: min(88vw, 380px); }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-graphite { background: var(--graphite-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-ivory h2, .section-ivory h3 { color: var(--ink); }
.section-ivory h4, .section-ivory .eyebrow { color: var(--copper-deep); }
.section-ivory a { color: var(--copper-deep); }
.section-ivory a:hover { color: var(--ink); }
.section-ivory .note, .section-ivory .small { color: var(--ink-muted); }
.section-head { margin-bottom: clamp(2.5rem, 4vw, 4rem); max-width: 52rem; }
.section-lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 46rem; margin: 0; }
.section-ivory .section-lede { color: var(--ink-muted); }

/* cards with hover depth */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.card { background: var(--obsidian); padding: 2rem 1.9rem 2.2rem; position: relative; transition: background-color 0.35s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.card:hover { background: #1A1F24; transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.9); z-index: 1; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; }
.card-num { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; color: var(--copper-hi); margin-bottom: 2.2rem; }

/* journey */
.journey-track { position: relative; margin-bottom: 2.5rem; }
.stages { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.5rem; position: relative; z-index: 1; counter-reset: none; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 0 0.25rem 0.5rem; text-decoration: none; color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-align: center; cursor: pointer; border-radius: var(--radius); }
.stage-num { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; background: var(--graphite-2); border: 1px solid var(--line); color: var(--muted); transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s; }
.stage:hover { color: var(--ivory); }
.stage:hover .stage-num { border-color: var(--copper-hi); color: var(--ivory); transform: translateY(-2px); }
.stage[aria-selected="true"] { color: var(--ivory); }
.stage[aria-selected="true"] .stage-num { background: var(--copper); border-color: var(--copper); color: var(--ink); box-shadow: 0 0 0 6px rgba(182, 115, 68, 0.16); }
.stage.done .stage-num { border-color: var(--copper); color: var(--copper-hi); }
.journey-line { position: absolute; left: 6.25%; right: 6.25%; top: 1.625rem; height: 2px; background: var(--line); }
.journey-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--progress, 0) * 100%); background: var(--copper); transition: width 0.6s var(--ease); }
.journey-panels { position: relative; }
.stage-panel { background: var(--obsidian); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.75rem); margin-bottom: 1rem; }
.js .stage-panel[hidden] { display: none; }
.js .stage-panel.entering { animation: panel-in 0.5s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-soft); }
.panel-top h3 { font-size: var(--step-2); margin: 0; }
.panel-num { color: var(--copper-hi); font-weight: 600; margin-right: 0.35rem; }
.tag-illustrative { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 0.3rem 0.75rem; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2.5rem; }
.panel-wide { grid-column: span 1; }
.panel-block p { margin: 0; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a, .chip { font-family: var(--display); display: inline-flex; align-items: center; min-height: 2.25rem; font-size: 0.8rem; font-weight: 600; text-decoration: none; padding: 0.35rem 0.85rem; border-radius: 99px; border: 1px solid rgba(201, 138, 92, 0.55); color: var(--copper-hi); transition: background-color 0.25s, color 0.25s; }
.chips a:hover, .chip:hover { background: var(--copper); color: var(--ink); }
.measures li { position: relative; padding-left: 1.2rem; margin-bottom: 0.35rem; }
.measures li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 0.5rem; height: 2px; background: var(--copper); }
@media (max-width: 860px) {
  .stages { grid-template-columns: repeat(4, 1fr); row-gap: 1.25rem; }
  .journey-line { display: none; }
  .panel-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 420px) { .stage { font-size: 0.72rem; letter-spacing: 0; } .stage-num { width: 2.9rem; height: 2.9rem; } }

/* services */
.service-system { position: relative; }
.service-hub { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-family: var(--display); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-deep); }
.service-hub img { width: 52px; height: auto; }
.service-hub::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--copper), transparent); transform-origin: left; }
.section-ivory .card-grid { background: #D8D0C3; border-color: #D8D0C3; }
.section-ivory .card { background: var(--ivory); }
.section-ivory .card:hover { background: #FBF8F2; box-shadow: 0 24px 40px -30px rgba(21, 25, 29, 0.45); }
.service-card h3 { font-size: var(--step-1); margin-bottom: 1.25rem; }
.service-card p { color: var(--ink); margin-bottom: 1rem; }
.service-card .label { display: block; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.25rem; }
.svc-stages { margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.svc-stages .label { width: 100%; }
.section-ivory .chip { color: var(--copper-deep); border-color: rgba(143, 82, 40, 0.45); }
.section-ivory .chip:hover { background: var(--copper-deep); color: var(--ivory); }

/* framework: progressive diagram */
.framework { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.framework-line { position: absolute; left: 0.6rem; right: 12%; top: 0.6rem; height: 1px; background: var(--line); }
.framework-line span { position: absolute; inset: 0; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.framework.in .framework-line span { transform: scaleX(1); }
.framework-step { position: relative; padding-top: 2.6rem; }
.framework-node { position: absolute; top: 0; left: 0; width: 1.2rem; height: 1.2rem; transform: rotate(45deg); background: var(--obsidian); border: 2px solid var(--copper); transition: background-color 0.4s;  }
.framework.in .framework-node { background: var(--copper); }
.fx { display: block; width: 136px; height: 136px; margin: 0 0 1rem -0.5rem; overflow: visible; }
.fx-g, .fx-c { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.fx-g { stroke: #6B737D; }
.fx-c { stroke: var(--copper-hi); }
.fx-wide { stroke-width: 3.2; }
.fx-core { fill: #4A515A; }
.fx-node { fill: var(--copper-hi); }
.framework-num { display: block; font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 0.75rem; }
.framework-step h3 { font-size: var(--step-2); font-weight: 700; }
.framework-step p { color: var(--muted); }
@media (max-width: 860px) {
  .framework { grid-template-columns: 1fr; gap: 0; }
  .framework-line { left: 0.55rem; right: auto; top: 0.6rem; bottom: 2rem; width: 1px; height: auto; }
  .framework-line span { transform: scaleY(0); transform-origin: top; }
  .framework.in .framework-line span { transform: scaleY(1); }
  .framework-step { padding: 0 0 2.25rem 2.75rem; }
  .fx { width: 96px; height: 96px; }
}

/* engagement timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.timeline-step { display: flex; gap: 1.25rem; padding: 2rem 1.75rem; background: var(--graphite-2); }
.timeline-num { flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--copper); color: var(--copper-hi); font-family: var(--display); font-weight: 650; font-size: 0.9rem; border-radius: 50%; }
.timeline-step h3 { margin-bottom: 0.4rem; }
.timeline-step p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* pilot */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.pilot-panel { background: linear-gradient(160deg, var(--graphite), var(--graphite-2)); border: 1px solid var(--line); border-top: 2px solid var(--copper); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.75rem); }
.pilot-panel .btn { margin-top: 1.75rem; }
.pledge { font-family: var(--display); font-weight: 600; font-size: var(--step-1); line-height: 1.4; color: var(--ivory); border-left: 2px solid var(--copper); padding-left: 1.25rem; margin-top: 2rem; }
.check li, .cross li { position: relative; padding-left: 1.9rem; margin-bottom: 0.8rem; }
.check li::before { content: ''; position: absolute; left: 0.15rem; top: 0.45em; width: 0.45rem; height: 0.85rem; border: solid var(--copper-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cross li::before, .cross li::after { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.9rem; height: 2px; background: var(--ink-muted); transform: rotate(45deg); }
.cross li::after { transform: rotate(-45deg); }
.section-ivory .check li::before { border-color: var(--copper-deep); }

/* about */
.list-title { font-size: var(--step-1); margin-bottom: 1.25rem; }
.rule-list li { padding: 1rem 0; border-top: 1px solid #D8D0C3; }
.rule-list li:last-child { border-bottom: 1px solid #D8D0C3; }
.tags-label { font-family: var(--display); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin: 1.5rem 0 0.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { font-family: var(--display); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.9rem; border: 1px solid #CFC6B8; border-radius: 99px; color: var(--ink); }
.fit { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid #D8D0C3; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 1.5rem; }
.fit-grid h4 { color: var(--ink); }
@media (max-width: 700px) { .fit-grid { grid-template-columns: 1fr; } }
.founder { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--copper); }
.founder-name { font-family: var(--display); font-weight: 650; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 2.75rem 1.35rem 0; font-size: var(--step-1); font-weight: 600; color: var(--ivory); position: relative; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0.5rem; top: 50%; width: 0.65rem; height: 0.65rem; border: solid var(--copper-hi); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--copper-hi); }
.faq details p { color: var(--text); padding-bottom: 1.4rem; margin: 0; }

/* consultation CTA + form */
.section-cta { background: radial-gradient(ellipse 70% 80% at 15% 0%, rgba(182, 115, 68, 0.14), transparent 60%), var(--graphite-2); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-intro h2 { font-size: var(--step-3); }
.request-form { background: var(--obsidian); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ivory); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ivory); background: var(--graphite-2); border: 1px solid #4A525A; border-radius: var(--radius); padding: 0.75rem 0.85rem; min-height: 3rem; transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper-hi); box-shadow: 0 0 0 3px rgba(201, 138, 92, 0.25); }
input::placeholder, textarea::placeholder { color: #8E887F; }
[aria-invalid="true"] { border-color: #E08A7A; }
.hint { font-size: var(--step--1); color: var(--muted); margin-top: -0.35rem; }
.more { margin: 0.25rem 0 1.25rem; }
.more summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--copper-hi); padding: 0.5rem 0; }
.more .field:first-of-type { margin-top: 0.75rem; }
.optional { color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: rgba(224, 138, 122, 0.12); border: 1px solid #E08A7A; color: var(--ivory); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 1rem; font-size: 0.95rem; }
.form-errors p { margin: 0 0 0.3rem; font-weight: 600; }
.form-errors ul { list-style: disc; padding-left: 1.2rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-left: 2px solid var(--copper); background: rgba(182, 115, 68, 0.1); color: var(--ivory); }

/* footer */
.site-footer { background: #101316; border-top: 1px solid var(--line-soft); padding: clamp(3rem, 6vw, 5rem) 0 2.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { font-family: var(--display); font-weight: 600; color: var(--muted); margin-top: 1.25rem; letter-spacing: 0.01em; }
.footer-head { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer p, .footer-links li { color: var(--text); }
.footer-links li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); text-decoration: underline; }

/* phone request bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); background: rgba(21, 25, 29, 0.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.mobile-cta.show { transform: none; }
@media (min-width: 761px) { .mobile-cta { display: none; } }
@media (max-width: 760px) { .js .site-footer { padding-bottom: 6.5rem; } }

/* plain pages */
.prose h1 { font-size: var(--step-3); }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45rem; max-width: 66ch; }
.prose code { font-size: 0.9em; }
.effective { color: var(--muted); font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.04em; }
.contact-single { grid-template-columns: minmax(0, 46rem); }
.draft-note { background: rgba(182, 115, 68, 0.15); border-left: 2px solid var(--copper); padding: 0.75rem 1rem; color: var(--ivory); }

/* ---------- motion (only with JavaScript, never under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.45em); animation: word-in 0.9s var(--ease) forwards; }
  .js .hero-eyebrow, .js .lede, .js .cta-row, .js .hero-note { opacity: 0; animation: fade-up 0.9s var(--ease) forwards; }
  .js .hero-eyebrow { animation-delay: 0.05s; } .js .lede { animation-delay: 0.75s; } .js .cta-row { animation-delay: 0.9s; } .js .hero-note { animation-delay: 1.05s; }
  .js .hero-poster { animation: fade-in 1.4s var(--ease) both 0.2s; }
  .js .fx :is(.fx-g, .fx-c) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
  .js .fx .fx-core, .js .fx .fx-node { opacity: 0; transition: opacity 0.6s var(--ease); }
  .js .framework.in .fx :is(.fx-g, .fx-c) { stroke-dashoffset: 0; }
  .js .framework.in .fx .fx-core, .js .framework.in .fx .fx-node { opacity: 1; }
  .js .service-hub::after { transform: scaleX(0); transition: transform 1.2s var(--ease) 0.2s; }
  .js .service-hub.in::after { transform: scaleX(1); }
}
/* stagger delays (data attributes, because the content security policy forbids inline styles) */
.js .reveal[data-d="0"] { transition-delay: 0ms; } .js .reveal[data-d="1"] { transition-delay: 80ms; } .js .reveal[data-d="2"] { transition-delay: 160ms; } .js .reveal[data-d="3"] { transition-delay: 240ms; } .js .reveal[data-d="4"] { transition-delay: 320ms; } .js .reveal[data-d="5"] { transition-delay: 400ms; } .js .reveal[data-d="6"] { transition-delay: 480ms; } .js .reveal[data-d="7"] { transition-delay: 560ms; }
.framework-step[data-d="0"] .framework-node { transition-delay: 300ms; } .framework-step[data-d="1"] .framework-node { transition-delay: 650ms; } .framework-step[data-d="2"] .framework-node { transition-delay: 1000ms; } .framework-step[data-d="3"] .framework-node { transition-delay: 1350ms; }
.js .hero-title [data-l="0"] [data-i="0"] { animation-delay: 120ms; } .js .hero-title [data-l="0"] [data-i="1"] { animation-delay: 190ms; } .js .hero-title [data-l="0"] [data-i="2"] { animation-delay: 260ms; } .js .hero-title [data-l="0"] [data-i="3"] { animation-delay: 330ms; } .js .hero-title [data-l="0"] [data-i="4"] { animation-delay: 400ms; } .js .hero-title [data-l="0"] [data-i="5"] { animation-delay: 470ms; } .js .hero-title [data-l="1"] [data-i="0"] { animation-delay: 380ms; } .js .hero-title [data-l="1"] [data-i="1"] { animation-delay: 450ms; } .js .hero-title [data-l="1"] [data-i="2"] { animation-delay: 520ms; } .js .hero-title [data-l="1"] [data-i="3"] { animation-delay: 590ms; } .js .hero-title [data-l="1"] [data-i="4"] { animation-delay: 660ms; } .js .hero-title [data-l="1"] [data-i="5"] { animation-delay: 730ms; } .js .hero-title [data-l="2"] [data-i="0"] { animation-delay: 640ms; } .js .hero-title [data-l="2"] [data-i="1"] { animation-delay: 710ms; } .js .hero-title [data-l="2"] [data-i="2"] { animation-delay: 780ms; } .js .hero-title [data-l="2"] [data-i="3"] { animation-delay: 850ms; } .js .hero-title [data-l="2"] [data-i="4"] { animation-delay: 920ms; } .js .hero-title [data-l="2"] [data-i="5"] { animation-delay: 990ms; }
.js .framework-step[data-d="0"] .fx * { transition-delay: 250ms; } .js .framework-step[data-d="1"] .fx * { transition-delay: 600ms; } .js .framework-step[data-d="2"] .fx * { transition-delay: 950ms; } .js .framework-step[data-d="3"] .fx * { transition-delay: 1300ms; }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-delay: 0s !important; }
}
