/* ============================================================
   AssetReady — Brand stylesheet
   Palette, type and components per Brand Identity Guide v1.0
   ============================================================ */

/* Google Fonts loaded via <link> in each page <head> for performance — not here */

:root {
  /* ── Brand colour ── */
  --ember:    #E8632A;
  --ember-dk: #C9501C;
  --abyss:    #0C1118;
  --graphite: #111820;
  --panel-2:  #0F1620;
  --border:   #1B2733;
  --border-2: #243341;
  --slate:    #334455;
  --slate-lt: #5A6E80;
  --bone:     #DDD8D0;
  --linen:    #F0EBE2;
  --ink:      #141E28;

  /* ── Type ── */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;
  --heading: var(--serif);        /* switchable: serif (editorial) | sans (SaaS) */
  --heading-weight: 300;
  --heading-tracking: 0.005em;

  /* ── Rhythm ── */
  --maxw: 1220px;
  --gutter: clamp(22px, 5vw, 64px);
  --section-y: clamp(88px, 12vh, 168px);
  --radius: 3px;

  /* ── Motion ── */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* density tweak */
[data-density="compact"] { --section-y: clamp(60px, 8vh, 110px); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--abyss);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ── Layout primitives ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 8vh, 100px); }
html { scroll-padding-top: 96px; }

/* ── Eyebrow / labels ── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { display: none; }
.eyebrow--muted { color: var(--slate-lt); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }

/* ── Headings ── */
h1, h2, h3 { font-family: var(--heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); line-height: 1.04; }
.display {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lede {
  font-size: clamp(1.06rem, 1.55vw, 1.32rem);
  line-height: 1.62;
  font-weight: 300;
  color: color-mix(in oklab, var(--bone) 82%, transparent);
  max-width: 46ch;
}
em, .it { font-style: italic; }
.ember { color: var(--ember); }
.serif { font-family: var(--serif); }

p { text-wrap: pretty; }

/* ── Buttons ── */
.btn {
  --bg: var(--ember);
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-weight: 400; font-size: 0.86rem;
  letter-spacing: 0.06em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .4s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--ember); color: #fff; box-shadow: 0 10px 34px -16px rgba(232,99,42,.8); }
.btn--primary:hover { background: var(--ember-dk); transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(232,99,42,.7); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--ember); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 0.92rem; }
.btn--block { width: 100%; justify-content: center; }

/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), border-color .4s, padding .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--abyss) 86%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--border);
  padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .mark { width: 40px; height: 40px; display: block; flex: none; }
.brand .lockup { display: flex; flex-direction: column; line-height: 1; }
.brand .word {
  font-family: var(--serif); font-weight: 300; font-size: 1.62rem;
  letter-spacing: 0.04em; color: var(--bone);
}
.brand .word b { font-weight: 300; color: var(--ember); }
.brand .rule { height: 1px; width: 100%; margin: 4px 0 3px; background: linear-gradient(90deg, var(--ember), transparent); }
.brand .tag {
  font-family: var(--sans); font-weight: 300; font-size: 8px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--slate-lt);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a.navlink {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--bone) 74%, transparent);
  position: relative; padding: 4px 0; white-space: nowrap;
  transition: color .25s;
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--ember); transition: width .35s var(--ease);
}
.nav a.navlink:hover { color: var(--bone); }
.nav a.navlink:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; }

@media (max-width: 940px) {
  .nav.primary-nav { display: none; }
  .header-cta .btn { display: none; }
}

/* ── Hexagon motif background ── */
.hex-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hex-field svg { position: absolute; }

/* ── HERO ── */
.hero { position: relative; padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(80px, 12vh, 150px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 80px); align-items: center; position: relative; z-index: 2;
}
.hero h1 { margin: 22px 0 26px; }
.hero .lede { margin-bottom: 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero-art .mark-xl { width: min(440px, 80%); height: auto; display: block; }

.trust-strip {
  position: relative; z-index: 2;
  margin-top: clamp(54px, 8vh, 96px);
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center;
  padding-top: 30px; border-top: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 0.82rem; letter-spacing: 0.04em; color: color-mix(in oklab, var(--bone) 66%, transparent); }
.trust-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ember); flex: none; }
.trust-item b { font-weight: 400; color: var(--bone); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 240px; }
  .hero-art .mark-xl { width: 220px; }
}

/* ── Section heads ── */
.sec-head { max-width: 720px; margin-bottom: clamp(46px, 6vw, 76px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 20px; }
.sec-head .lede { margin-top: 22px; }
.sec-head.center .lede { margin-inline: auto; }

/* ── Problem cards ── */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prob-card {
  background: linear-gradient(180deg, var(--graphite), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px 44px;
  position: relative; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
}
.prob-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ember), transparent);
  transition: width .6s var(--ease);
}
.prob-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.prob-card:hover::before { width: 70%; }
.prob-num { font-family: var(--serif); font-size: 2.4rem; color: var(--ember); line-height: 1; opacity: .9; }
.prob-card h3 { margin: 22px 0 14px; font-size: 1.5rem; color: var(--bone); }
.prob-card p { font-size: 0.96rem; color: color-mix(in oklab, var(--bone) 70%, transparent); line-height: 1.62; }
.prob-close { margin-top: 46px; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; color: color-mix(in oklab, var(--bone) 86%, transparent); max-width: 30ch; line-height: 1.32; }
.prob-close .ember { font-style: normal; }

@media (max-width: 820px) { .prob-grid { grid-template-columns: 1fr; } }

/* ── What we do ── */
.dfy { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 6vw, 88px); align-items: center; }
.dfy-steps { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); }
.dfy-step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: baseline;
  padding: 26px 4px; border-bottom: 1px solid var(--border);
  transition: padding-left .4s var(--ease), background .4s;
}
.dfy-step:hover { padding-left: 14px; }
.dfy-step .k { font-family: var(--sans); font-weight: 300; font-size: 0.8rem; letter-spacing: 0.22em; color: var(--ember); }
.dfy-step .b h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--bone); margin-bottom: 6px; }
.dfy-step .b p { font-size: 0.92rem; color: color-mix(in oklab, var(--bone) 64%, transparent); }
.dfy-aside { background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 40px; }
.dfy-aside .big { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-style: italic; line-height: 1.28; color: var(--bone); }
.dfy-aside .sub { margin-top: 22px; font-size: 0.95rem; color: color-mix(in oklab, var(--bone) 66%, transparent); }
.dfy-aside .divline { height: 1px; background: linear-gradient(90deg, var(--ember), transparent); margin: 26px 0; }

@media (max-width: 860px) { .dfy { grid-template-columns: 1fr; } }

/* ── Services / tiers ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px 34px; display: flex; flex-direction: column;
  position: relative; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.tier:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.tier--featured { border-color: color-mix(in oklab, var(--ember) 55%, var(--border)); background: linear-gradient(180deg, #14110D, var(--graphite)); }
.tier--featured::after {
  content: "Most engaged"; position: absolute; top: -1px; right: 24px; transform: translateY(-50%);
  background: var(--ember); color: #fff; font-size: 9px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 2px;
}
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-tag { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate-lt); white-space: nowrap; }
.tier--featured .tier-tag { color: var(--ember); }
.tier h3 { font-size: 1.78rem; margin: 18px 0 4px; color: var(--bone); }
.tier .blurb { font-size: 0.9rem; color: color-mix(in oklab, var(--bone) 62%, transparent); line-height: 1.55; min-height: 72px; }
.tier .price { margin: 22px 0 4px; font-family: var(--serif); font-size: 1.9rem; color: var(--bone); }
.tier .price small { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--slate-lt); display: block; margin-top: 4px; font-weight: 300; }
.tier .price .from { font-size: 0.8rem; font-family: var(--sans); color: var(--slate-lt); letter-spacing: .06em; }
.tier ul { list-style: none; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; border-top: 1px solid var(--border); padding-top: 24px; }
.tier li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 0.88rem; color: color-mix(in oklab, var(--bone) 76%, transparent); line-height: 1.45; }
.tier li .hexbullet { width: 13px; height: 14px; margin-top: 4px; flex: none; }
.tier .tier-foot { margin-top: auto; }
.fee-note { margin-top: 22px; font-size: 0.8rem; color: var(--slate-lt); letter-spacing: 0.02em; }

@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ── Methodology (Linen) ── */
.method { background: var(--linen); color: var(--ink); }
.method .eyebrow { color: var(--ember-dk); }
.method .eyebrow::before { background: linear-gradient(90deg, var(--ember-dk), transparent); }
.method .h2 { color: var(--ink); }
.method .lede { color: color-mix(in oklab, var(--ink) 74%, transparent); }
.method-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 80px); }
.mstep {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: 26px 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
.mstep .mnum {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--ember-dk);
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--ember-dk) 40%, transparent); border-radius: 50%;
}
.mstep h4 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--ink); margin-bottom: 7px; }
.mstep p { font-size: 0.9rem; color: color-mix(in oklab, var(--ink) 64%, transparent); line-height: 1.55; }
.method-foot { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: color-mix(in oklab, var(--ink) 62%, transparent); }
.method-foot .iso-chip { font-family: var(--sans); font-weight: 500; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--ember-dk); border: 1px solid color-mix(in oklab, var(--ember-dk) 35%, transparent); padding: 6px 13px; border-radius: 2px; text-transform: uppercase; }

@media (max-width: 760px) { .method-list { grid-template-columns: 1fr; } }

/* ── Sectors (interactive) ── */
.sectors-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sector-list { display: flex; flex-direction: column; }
.sector-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 20px 8px 20px 16px; border-top: 1px solid var(--border); cursor: pointer;
  background: none; border-left: 2px solid transparent; width: 100%; text-align: left; color: inherit; font: inherit;
  transition: background .35s, border-color .35s, padding-left .35s var(--ease);
}
.sector-row:last-child { border-bottom: 1px solid var(--border); }
.sector-row:hover { background: color-mix(in oklab, var(--graphite) 60%, transparent); padding-left: 22px; }
.sector-row.active { background: var(--graphite); border-left-color: var(--ember); }
.sector-row .s-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: color-mix(in oklab, var(--bone) 82%, transparent); transition: color .3s; }
.sector-row.active .s-name, .sector-row:hover .s-name { color: var(--bone); }
.pri { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; white-space: nowrap; }
.pri-immediate { background: color-mix(in oklab, var(--ember) 18%, transparent); color: var(--ember); border: 1px solid color-mix(in oklab, var(--ember) 40%, transparent); }
.pri-near { background: color-mix(in oklab, #C9A24B 14%, transparent); color: #D7B05A; border: 1px solid color-mix(in oklab, #C9A24B 32%, transparent); }
.pri-growth { background: color-mix(in oklab, var(--slate-lt) 16%, transparent); color: var(--slate-lt); border: 1px solid color-mix(in oklab, var(--slate-lt) 34%, transparent); }
.pri-pipeline { background: transparent; color: var(--slate); border: 1px solid var(--border-2); }

.sector-detail {
  position: sticky; top: 110px;
  background: linear-gradient(180deg, var(--graphite), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 38px; min-height: 320px; overflow: hidden;
}
.sector-detail .sd-hex { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; opacity: .5; pointer-events: none; }
.sector-detail .sd-pri { margin-bottom: 22px; }
.sector-detail h3 { font-size: 2rem; color: var(--bone); margin-bottom: 8px; position: relative; }
.sector-detail .sd-driver-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-lt); margin: 24px 0 10px; }
.sector-detail .sd-driver { font-size: 1.02rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 80%, transparent); position: relative; }
.sector-detail .sd-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 0.88rem; color: color-mix(in oklab, var(--bone) 60%, transparent); line-height: 1.55; }
.fade-swap { animation: fadeSwap .5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .sectors-layout { grid-template-columns: 1fr; }
  .sector-detail { position: relative; top: 0; }
}

/* ── Differentiators ── */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.diff-cell { background: var(--abyss); padding: 38px 32px 40px; transition: background .4s; position: relative; }
.diff-cell:hover { background: var(--graphite); }
.diff-cell .di-mark { width: 30px; height: 33px; margin-bottom: 22px; display: block; }
.diff-cell h4 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--bone); margin-bottom: 12px; }
.diff-cell p { font-size: 0.9rem; line-height: 1.58; color: color-mix(in oklab, var(--bone) 64%, transparent); }

@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ── Regulatory clock band ── */
.reg { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--panel-2); }
.reg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.reg-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reg-item { padding-top: 24px; border-top: 1px solid var(--border-2); position: relative; }
.reg-item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.reg-item.future::before { background: var(--slate); }
.reg-item .r-date { font-family: var(--serif); font-size: 1.5rem; color: var(--bone); }
.reg-item .r-jur { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin: 8px 0 10px; }
.reg-item.future .r-jur { color: var(--slate-lt); }
.reg-item p { font-size: 0.86rem; line-height: 1.5; color: color-mix(in oklab, var(--bone) 62%, transparent); }

@media (max-width: 820px) { .reg-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .reg-timeline { grid-template-columns: 1fr; } }

/* ── About / founder ── */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.about-intro .h2 { margin: 20px 0 24px; }
.about-intro p { font-size: 1rem; line-height: 1.7; color: color-mix(in oklab, var(--bone) 76%, transparent); max-width: 44ch; margin-bottom: 18px; }
.cred-table { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.cred-row { display: grid; grid-template-columns: 0.42fr 1fr; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--border); }
.cred-row .ck { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); padding-top: 3px; }
.cred-row .cv { font-size: 0.96rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 82%, transparent); }
.cred-row .cv .muted { color: var(--slate-lt); font-size: 0.84rem; }

@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .cred-row { grid-template-columns: 1fr; gap: 6px; } }

/* ── Final CTA ── */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final .inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.cta-final .h2 { margin: 22px 0 24px; }
.cta-final .lede { margin: 0 auto 38px; text-align: center; }
.cta-final .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 40px; display: flex; gap: 12px 34px; justify-content: center; flex-wrap: wrap; font-size: 0.86rem; color: color-mix(in oklab, var(--bone) 64%, transparent); }
.cta-contact a:hover { color: var(--ember); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); background: var(--abyss); padding-block: clamp(54px, 7vw, 84px) 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; }
.foot-brand .word b { color: var(--ember); font-weight: 300; }
.foot-brand p { margin-top: 18px; font-size: 0.85rem; line-height: 1.6; color: var(--slate-lt); max-width: 32ch; }
.foot-col h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 18px; font-weight: 500; }
.foot-col a, .foot-col span { display: block; font-size: 0.9rem; color: color-mix(in oklab, var(--bone) 70%, transparent); margin-bottom: 11px; transition: color .25s; }
.foot-col a:hover { color: var(--ember); }
.foot-base { margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-base p { font-size: 0.76rem; color: var(--slate); letter-spacing: 0.02em; }
.foot-base .iso-line { font-size: 0.74rem; color: var(--slate-lt); letter-spacing: 0.08em; }

@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Reveal — statically visible. No animation/transition dependency, so
   content is never stuck hidden if the rendering clock is throttled. ── */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* hex draw animation — default DRAWN (dashoffset:0) so the mark is visible
   even if the rendering clock is throttled; the draw-in animates from 1. */
.mark-xl .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark-animate .draw { animation: dash 2.2s var(--ease) forwards; }
@keyframes dash { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pulse-dot { transform-box: fill-box; transform-origin: center; }
.mark-animate .pulse-dot { animation: pulse 3.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.spin-slow { transform-box: fill-box; transform-origin: center; }
.mark-animate .spin-slow { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[data-motion="reduced"] .mark-animate .draw,
[data-motion="reduced"] .mark-animate .pulse-dot,
[data-motion="reduced"] .mark-animate .spin-slow { animation: none; stroke-dashoffset: 0; }

/* mobile menu sheet */
.menu-toggle {
  background: none; border: 1px solid var(--border-2); border-radius: var(--radius);
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
.menu-toggle span { display: block; width: 17px; height: 1.4px; background: var(--bone); transition: .3s var(--ease); }
.mobile-sheet {
  position: fixed; inset: 0; z-index: 99; background: color-mix(in oklab, var(--abyss) 97%, transparent);
  backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter); transform: translateY(-100%); transition: transform .5s var(--ease), visibility .5s;
  pointer-events: none; visibility: hidden;
}
.mobile-sheet.open { transform: none; pointer-events: auto; visibility: visible; }
.mobile-sheet a { font-family: var(--serif); font-size: 2rem; color: var(--bone); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-sheet a:last-of-type { border-bottom: none; }
.mobile-sheet .btn { margin-top: 24px; }
@media (max-width: 940px) { .menu-toggle { display: flex; } }
@media (min-width: 941px) { .mobile-sheet { display: none; } }

/* ============================================================
   MULTI-PAGE ADDITIONS
   ============================================================ */

/* ── Active nav state ── */
.nav a.navlink[aria-current="page"] { color: var(--bone); }
.nav a.navlink[aria-current="page"]::after { width: 100%; }
.mobile-sheet a[aria-current="page"] { color: var(--ember); }

/* ── Page hero (interior pages) ── */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(150px, 22vh, 230px);
  padding-bottom: clamp(40px, 7vh, 86px);
}
.page-hero .ph-inner { position: relative; z-index: 2; max-width: 60ch; }
.page-hero--center { padding-bottom: clamp(28px, 5vh, 60px); }
.page-hero--split { padding-bottom: clamp(36px, 6vh, 72px); }
.page-hero--split .ph-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero--split .ph-art { display: flex; align-items: center; justify-content: center; }
.page-hero--split .ph-art .ph-mark { width: min(360px, 92%); height: auto; display: block; }
.page-hero--split .ph-copy { max-width: 60ch; }
@media (max-width: 820px) {
  .page-hero--split .ph-split { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
  .page-hero--split .ph-art { order: -1; }
  .page-hero--split .ph-art .ph-mark { width: 190px; }
}
.page-hero--center .ph-inner { max-width: 66ch; margin-inline: auto; text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .crumbs { justify-content: center; }
.page-hero--center .hex-field svg { right: auto !important; left: 50%; transform: translateX(-50%); top: -160px !important; }
.page-hero--center .ph-mark { width: min(260px, 56%); height: auto; display: block; margin: clamp(34px, 6vh, 64px) auto 0; }
.page-hero h1 { margin: 22px 0 24px; }
.page-hero .lede { max-width: 56ch; }
.page-hero .crumbs {
  display: flex; align-items: center; gap: 10px; font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 6px;
}
.page-hero .crumbs a { color: var(--slate-lt); transition: color .25s; }
.page-hero .crumbs a:hover { color: var(--ember); }
.page-hero .crumbs .sep { opacity: .5; }

/* ── Trusted-by logo strip ── */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px clamp(20px, 4vw, 54px);
  padding-block: 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.logos .ll {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: color-mix(in oklab, var(--bone) 60%, transparent);
}
.logos .ll svg { width: 19px; height: 21px; flex: none; opacity: .85; }
.logos-cap { text-align: center; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 22px; }

/* ── Home services overview cards ── */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.svc-card {
  display: flex; flex-direction: column; text-align: left;
  background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px 32px; color: inherit;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.svc-card .sc-tag { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate-lt); }
.svc-card h3 { font-size: 1.7rem; margin: 16px 0 4px; color: var(--bone); }
.svc-card .sc-price { font-family: var(--serif); font-size: 1.32rem; color: var(--ember); margin-bottom: 16px; }
.svc-card p { font-size: 0.92rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 66%, transparent); }
.svc-card .sc-more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 9px; font-size: 0.84rem; letter-spacing: 0.05em; color: var(--ember); }
.svc-card .sc-more .arrow { transition: transform .4s var(--ease); }
.svc-card:hover .sc-more .arrow { transform: translateX(4px); }
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ── Why grid (4 points) ── */
.why4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.why4 .w-cell { background: var(--abyss); padding: 34px 28px 38px; transition: background .4s; }
.why4 .w-cell:hover { background: var(--graphite); }
.why4 .w-cell .di-mark { width: 28px; height: 31px; margin-bottom: 20px; display: block; }
.why4 .w-cell h4 { font-family: var(--heading); font-size: 1.36rem; font-weight: var(--heading-weight); color: var(--bone); margin-bottom: 11px; }
.why4 .w-cell p { font-size: 0.88rem; line-height: 1.56; color: color-mix(in oklab, var(--bone) 64%, transparent); }
@media (max-width: 900px) { .why4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why4 { grid-template-columns: 1fr; } }

/* ── Featured case study ── */
.feat-case {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center;
  background: linear-gradient(180deg, var(--graphite), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden;
}
.feat-case .fc-hex { position: absolute; right: -50px; bottom: -60px; width: 260px; height: 260px; opacity: .4; pointer-events: none; }
.feat-case .fc-tag { margin-bottom: 18px; }
.feat-case h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--bone); margin-bottom: 16px; }
.feat-case p { font-size: 0.98rem; line-height: 1.64; color: color-mix(in oklab, var(--bone) 74%, transparent); max-width: 42ch; }
.feat-stats { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); position: relative; z-index: 2; }
.feat-stat { background: var(--abyss); padding: 24px 28px; }
.feat-stat .fs-k { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 8px; }
.feat-stat .fs-v { font-family: var(--heading); font-size: 1.2rem; line-height: 1.4; color: var(--bone); }
@media (max-width: 820px) { .feat-case { grid-template-columns: 1fr; } }

/* ── Contact strip (home bottom) ── */
.contact-strip-band { border-top: 1px solid var(--border); background: var(--panel-2); }
.cstrip {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.cstrip .cs-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--bone); margin-bottom: 12px; }
.cstrip .cs-copy p { font-size: 0.96rem; color: color-mix(in oklab, var(--bone) 68%, transparent); max-width: 40ch; }
.mini-form { display: flex; flex-direction: column; gap: 12px; min-width: min(380px, 80vw); }
.mini-form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.mini-form .field { flex: 1 1 150px; }
@media (max-width: 820px) { .cstrip { grid-template-columns: 1fr; } }

/* ── Form controls ── */
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; font-family: var(--sans); font-weight: 300; font-size: 0.95rem; color: var(--bone);
  background: var(--abyss); border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
}
.cstrip .input, .cstrip .select { background: var(--graphite); }
.input::placeholder, .textarea::placeholder { color: var(--slate); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ember) 18%, transparent); }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6E80' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { font-size: 0.88rem; letter-spacing: 0.02em; min-height: 1.2em; }
.form-status.ok { color: #6FBF8E; }
.form-status.err { color: var(--ember); }
.form-note { font-size: 0.76rem; color: var(--slate-lt); }

/* ── Services page: detailed services ── */
.svc-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(44px, 6vw, 76px); border-top: 1px solid var(--border); }
.svc-detail:first-of-type { border-top: none; padding-top: 0; }
.svc-detail .sd-left .num { font-family: var(--serif); font-size: 2.6rem; color: var(--ember); line-height: 1; opacity: .85; }
.svc-detail .sd-left h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--bone); margin: 14px 0 18px; }
.svc-detail .sd-left .price-block { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 24px; }
.svc-detail .sd-left .price-block .pk { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 8px; }
.svc-detail .sd-left .price-block .pv { font-family: var(--serif); font-size: 1.6rem; color: var(--ember); }
.svc-detail .sd-left .price-block .tf { font-size: 0.86rem; color: color-mix(in oklab, var(--bone) 64%, transparent); margin-top: 14px; }
.svc-detail .sd-right { display: flex; flex-direction: column; gap: 0; }
.svc-block { padding: 22px 0; border-bottom: 1px solid var(--border); }
.svc-block:first-child { padding-top: 0; }
.svc-block .sb-k { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.svc-block p { font-size: 0.98rem; line-height: 1.64; color: color-mix(in oklab, var(--bone) 78%, transparent); }
.svc-detail .sd-cta { margin-top: 26px; }
@media (max-width: 820px) { .svc-detail { grid-template-columns: 1fr; gap: 30px; } }

/* ── Process strip (4 step) ── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.process .p-step { background: var(--abyss); padding: 32px 28px 36px; transition: background .4s; }
.process .p-step:hover { background: var(--graphite); }
.process .p-step .pn { font-family: var(--serif); font-size: 1.05rem; color: var(--ember); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid color-mix(in oklab, var(--ember) 40%, transparent); border-radius: 50%; margin-bottom: 20px; }
.process .p-step h4 { font-family: var(--serif); font-size: 1.34rem; font-weight: 400; color: var(--bone); margin-bottom: 9px; }
.process .p-step p { font-size: 0.86rem; line-height: 1.55; color: color-mix(in oklab, var(--bone) 62%, transparent); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ── Sectors page: detailed sector blocks ── */
.sector-block { padding-block: clamp(46px, 6vw, 80px); border-top: 1px solid var(--border); position: relative; }
.sector-block:first-of-type { border-top: none; padding-top: 0; }
.sector-block .sb-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.sector-block .sb-head .pri { margin-bottom: 16px; }
.sector-block .sb-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--bone); }
.sector-block .sb-head .sb-clients { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.sector-block .sb-head .sb-clients .ck { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-lt); margin-bottom: 10px; }
.sector-block .sb-head .sb-clients p { font-size: 0.92rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 72%, transparent); }
.sector-block .sb-body .blk { padding: 20px 0; border-bottom: 1px solid var(--border); }
.sector-block .sb-body .blk:first-child { padding-top: 0; }
.sector-block .sb-body .bk { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.sector-block .sb-body .blk p { font-size: 0.98rem; line-height: 1.64; color: color-mix(in oklab, var(--bone) 78%, transparent); }
.sector-block .sb-body .reg-note { font-size: 0.9rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 64%, transparent); }
.sector-block .sb-cta { margin-top: 26px; }
.sector-block .sb-head .sb-photo { display: block; width: 100%; margin-top: 24px; border: 1px solid var(--border); border-radius: 14px; }
.sector-block.featured-sector { background: linear-gradient(180deg, color-mix(in oklab, var(--ember) 6%, var(--abyss)), var(--abyss)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
@media (max-width: 820px) { .sector-block .sb-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Case studies ── */
.case {
  display: grid; grid-template-columns: 0.42fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start;
  padding-block: clamp(40px, 5vw, 68px); border-top: 1px solid var(--border);
}
.case:first-of-type { border-top: none; padding-top: 0; }
.case .c-side .sector-tag {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ember); border: 1px solid color-mix(in oklab, var(--ember) 38%, transparent);
  padding: 6px 13px; border-radius: 2px; margin-bottom: 22px;
}
.case .c-side .c-client { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--bone); line-height: 1.28; }
.case .c-side .c-num { font-family: var(--serif); font-size: 0.95rem; color: var(--slate-lt); margin-bottom: 14px; letter-spacing: 0.16em; }
.case .c-body .blk { padding: 18px 0; border-bottom: 1px solid var(--border); }
.case .c-body .blk:first-child { padding-top: 0; }
.case .c-body .bk { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.case .c-body p { font-size: 0.98rem; line-height: 1.64; color: color-mix(in oklab, var(--bone) 78%, transparent); }
.case .c-body .outcome { background: linear-gradient(180deg, var(--graphite), var(--panel-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin-top: 8px; }
.case .c-body .outcome .bk { color: #6FBF8E; }
.case .c-body .outcome p { color: var(--bone); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; gap: 24px; } }

/* ── Contact page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(30px, 4vw, 44px); }
.contact-card h3 { font-size: 1.6rem; color: var(--bone); margin-bottom: 8px; }
.contact-card .cc-sub { font-size: 0.9rem; color: color-mix(in oklab, var(--bone) 64%, transparent); margin-bottom: 26px; }
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.calendly-embed { width: 100%; min-height: 580px; border: none; border-radius: var(--radius); background: var(--abyss); }
.contact-details { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 4px; }
.cd-row { display: grid; grid-template-columns: 0.5fr 1fr; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--border); align-items: baseline; }
.cd-row .ck { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); }
.cd-row .cv { font-size: 0.98rem; color: color-mix(in oklab, var(--bone) 84%, transparent); }
.cd-row .cv a:hover { color: var(--ember); }
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.reassure .r-cell { background: var(--abyss); padding: 30px 28px; }
.reassure .r-cell .di-mark { width: 26px; height: 29px; margin-bottom: 16px; display: block; }
.reassure .r-cell h4 { font-family: var(--serif); font-size: 1.24rem; font-weight: 400; color: var(--bone); margin-bottom: 8px; }
.reassure .r-cell p { font-size: 0.86rem; line-height: 1.55; color: color-mix(in oklab, var(--bone) 62%, transparent); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .reassure { grid-template-columns: 1fr; } .cd-row { grid-template-columns: 1fr; gap: 5px; } }

/* ── ISO landing extras ── */
.iso-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.iso-point { background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 30px 32px; }
.iso-point .ip-num { font-family: var(--serif); font-size: 1.05rem; color: var(--ember); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid color-mix(in oklab, var(--ember) 40%, transparent); border-radius: 50%; margin-bottom: 18px; }
.iso-point h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--bone); margin-bottom: 10px; }
.iso-point p { font-size: 0.92rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 66%, transparent); }
@media (max-width: 720px) { .iso-points { grid-template-columns: 1fr; } }

/* generic divider helper */
.band-top { border-top: 1px solid var(--border); }

/* ============================================================
   SaaS DIRECTION — light theme · sans headlines · new home modules
   Moves toward an AssetFuture-style product look while keeping the
   AssetReady ember brand. Driven by body[data-theme] / [data-head];
   fully reversible via the Tweaks panel.
   ============================================================ */

/* ── Heading mode: SANS (SaaS) ── */
[data-head="sans"] {
  --heading: var(--sans);
  --heading-weight: 600;
  --heading-tracking: -0.02em;
}
[data-head="sans"] .display { letter-spacing: -0.035em; font-weight: 700; line-height: 1.0; }
[data-head="sans"] .h2 { letter-spacing: -0.026em; }
[data-head="sans"] .brand .word { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
[data-head="sans"] .brand .word b { font-weight: 700; }

/* ── LIGHT THEME ── */
body[data-theme="light"] {
  --abyss:    #F5F4F0;
  --graphite: #FFFFFF;
  --panel-2:  #ECEAE2;
  --border:   #E5E2DA;
  --border-2: #D6D2C8;
  --slate:    #A8A395;
  --slate-lt: #6E7178;
  --bone:     #171B21;
  --linen:    #14110D;   /* the .method inset flips dark for contrast */
  --ink:      #F0EBE2;
  background: var(--abyss);
  color: var(--bone);
}
/* soft product-style elevation in light mode */
body[data-theme="light"] .svc-card,
body[data-theme="light"] .feat-case,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .pillar,
body[data-theme="light"] .dv-card {
  box-shadow: 0 1px 2px rgba(22,30,40,.045), 0 16px 38px -22px rgba(22,30,40,.18);
}
body[data-theme="light"] .svc-card:hover,
body[data-theme="light"] .pillar:hover { box-shadow: 0 26px 64px -30px rgba(22,30,40,.28); }
body[data-theme="light"] .tier--featured { background: linear-gradient(180deg, #FFF6F1, #fff); }
body[data-theme="light"] .site-header.scrolled { background: color-mix(in oklab, #fff 84%, transparent); }
body[data-theme="light"] .btn--primary { box-shadow: 0 10px 30px -14px rgba(232,99,42,.55); }
/* fade the dark hairline hex motif so it reads as faint grey on light */
body[data-theme="light"] .hex-field { opacity: .55; mix-blend-mode: multiply; }
body[data-theme="light"] .feat-case .fc-hex,
body[data-theme="light"] .sector-detail .sd-hex { opacity: .14; }
body[data-theme="light"] ::selection { background: var(--ember); color: #fff; }

/* ── Hero deliverable visual (replaces decorative mark on home) ── */
.deliverable { position: relative; width: min(470px, 100%); margin-inline: auto; }
.dv-card {
  background: var(--graphite); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px 22px 24px; box-shadow: 0 40px 90px -50px rgba(0,0,0,.7);
  position: relative; z-index: 2;
}
.dv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dv-title { font-family: var(--sans); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--bone); }
.dv-title span { display: block; font-weight: 300; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-lt); margin-top: 3px; }
.dv-badge { font-family: var(--sans); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); border: 1px solid color-mix(in oklab, var(--ember) 40%, transparent); padding: 5px 9px; border-radius: 3px; white-space: nowrap; }
.dv-sub { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-lt); margin: 18px 0 12px; }
.dv-chart { display: grid; grid-template-columns: repeat(10, 1fr); align-items: end; gap: 6px; height: 132px; }
.dv-bar { background: linear-gradient(180deg, color-mix(in oklab, var(--ember) 78%, transparent), var(--ember)); border-radius: 3px 3px 0 0; min-height: 8px; opacity: .92; }
.dv-bar.lo { background: color-mix(in oklab, var(--slate-lt) 40%, transparent); }
.dv-axis { display: flex; justify-content: space-between; margin-top: 9px; font-size: 0.58rem; letter-spacing: 0.06em; color: var(--slate); }
.dv-rows { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.dv-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.dv-row .tick { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--ember) 16%, transparent); flex: none; }
.dv-row .tick svg { width: 9px; height: 9px; }
.dv-row .lbl { font-size: 0.8rem; color: color-mix(in oklab, var(--bone) 74%, transparent); }
.dv-row .val { font-family: var(--sans); font-weight: 500; font-size: 0.78rem; color: var(--bone); }
.dv-float {
  position: absolute; right: -18px; bottom: -22px; z-index: 3;
  background: var(--graphite); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.6);
}
.dv-float .ring { width: 34px; height: 34px; flex: none; }
.dv-float .ft { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.5rem; color: var(--bone); line-height: 1; }
.dv-float .fk { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-lt); margin-top: 4px; }
.deliverable .glow { position: absolute; inset: -14% -10% -20% -10%; background: radial-gradient(60% 60% at 60% 35%, color-mix(in oklab, var(--ember) 16%, transparent), transparent 70%); filter: blur(20px); z-index: 0; pointer-events: none; }
@media (max-width: 880px) { .deliverable { max-width: 420px; } }

/* ── Proof-stat band ── */
.stat-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--panel-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--abyss); padding: clamp(30px, 4vw, 44px) clamp(24px, 3vw, 34px); }
.stat .sv { font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(2.3rem, 4.2vw, 3.3rem); color: var(--bone); line-height: 1; letter-spacing: -0.02em; }
.stat .sv .u { color: var(--ember); }
.stat .sk { margin-top: 14px; font-size: 0.82rem; letter-spacing: 0.03em; color: color-mix(in oklab, var(--bone) 62%, transparent); line-height: 1.45; }
@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stat-grid { grid-template-columns: 1fr; } }

/* ── 3-pillar capability framework ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pillar { position: relative; display: flex; flex-direction: column; background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px 32px; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--ember), transparent); transition: width .6s var(--ease); }
.pillar:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--ember) 38%, var(--border)); }
.pillar:hover::before { width: 64%; }
.pillar .pv { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); }
.pillar .ph { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.7rem; color: var(--bone); margin: 12px 0 6px; }
.pillar .pp { font-size: 0.93rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 66%, transparent); }
.pillar ul { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--border); padding-top: 22px; }
.pillar li { display: grid; grid-template-columns: auto 1fr; gap: 11px; font-size: 0.88rem; color: color-mix(in oklab, var(--bone) 78%, transparent); line-height: 1.45; }
.pillar li svg { width: 13px; height: 14px; margin-top: 4px; flex: none; }
.pillar .pf { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; font-size: 0.84rem; letter-spacing: 0.04em; color: var(--ember); }
.pillar .pf .arrow { transition: transform .4s var(--ease); }
.pillar:hover .pf .arrow { transform: translateX(4px); }
.pillars-cap { text-align: center; margin-top: 38px; font-family: var(--heading); font-style: italic; font-size: clamp(1.2rem, 2.3vw, 1.65rem); color: color-mix(in oklab, var(--bone) 82%, transparent); }
[data-head="sans"] .pillars-cap { font-style: normal; font-weight: 500; letter-spacing: -0.01em; }
.pillars-cap .ember { font-style: normal; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ── Logo cloud refinement ── */
.logos .ll b { color: var(--bone); font-weight: 500; }

/* ── Client / partner logos — transparent, rotating marquee ── */
.partner-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partner-track {
  display: flex; width: max-content; align-items: center;
  gap: clamp(46px, 6vw, 92px); animation: partnerScroll 40s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partnerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 40px clamp(46px,6vw,92px); } }
.pm-item { flex: none; display: flex; align-items: center; justify-content: center; height: 60px; }
.pm-item img {
  max-height: 50px; max-width: 180px; object-fit: contain;
  opacity: .82; transition: opacity .3s;
}
.pm-item:hover img { opacity: 1; }
.pm-item.is-icon img { max-height: 56px; max-width: 60px; }
.pm-text {
  font-family: var(--sans); font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.18rem);
  letter-spacing: 0.01em; white-space: nowrap; color: color-mix(in oklab, var(--bone) 72%, transparent);
  transition: color .3s;
}
.pm-item:hover .pm-text { color: var(--bone); }

/* ============================================================
   NAV DROPDOWN (Services mega-menu)
   ============================================================ */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .navlink { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 9px; height: 6px; opacity: .7; transition: transform .3s var(--ease); }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 290px; padding: 10px; margin-top: 12px;
  background: var(--graphite); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.02) inset;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  z-index: 200;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-sub a {
  display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 13px;
  padding: 12px 13px; border-radius: 9px; color: inherit; transition: background .2s;
}
.nav-sub a:hover { background: var(--panel-2); }
.nav-sub a::after { display: none; }
.nav-sub .ns-ic { width: 30px; height: 33px; flex: none; margin-top: 2px; opacity: .9; }
.nav-sub .ns-t { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--bone); }
.nav-sub .ns-d { display: block; font-size: 0.74rem; letter-spacing: 0.01em; color: var(--slate-lt); margin-top: 3px; }
.nav-sub .nav-sub-all {
  grid-template-columns: 1fr; text-align: left; margin-top: 4px; padding: 12px 13px;
  border-top: 1px solid var(--border); border-radius: 0 0 9px 9px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember);
}
.nav-sub .nav-sub-all:hover { background: transparent; color: var(--bone); }
.nav-item[data-current] > .navlink { color: var(--bone); }
.nav-item[data-current] > .navlink::after { width: 100%; }

/* mobile sub-links */
.mobile-sheet .ms-sub { font-size: 1.05rem; color: var(--slate-lt); padding-left: 16px; }
.mobile-sheet .ms-sub:hover { color: var(--ember); }

/* ============================================================
   SERVICE SUB-PAGES
   ============================================================ */
/* hero with media */
.svc-sub-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.svc-sub-hero .ssh-copy { max-width: 54ch; }
.svc-sub-hero .pricepill {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 24px;
  border: 1px solid var(--border-2); border-radius: 100px; padding: 10px 20px;
}
.svc-sub-hero .pricepill .pp-v { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.3rem; color: var(--ember); }
.svc-sub-hero .pricepill .pp-k { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-lt); }
.ssh-media { position: relative; }
image-slot.media-img { display: block; width: 100%; border: 1px solid var(--border); }
.ssh-media .badge-float {
  position: absolute; left: -16px; bottom: -18px; z-index: 4;
  background: var(--graphite); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 17px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 26px 56px -30px rgba(0,0,0,.7);
}
.ssh-media .badge-float .bf-ic { width: 30px; height: 33px; flex: none; }
.ssh-media .badge-float .bf-t { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.25rem; color: var(--bone); line-height: 1; }
.ssh-media .badge-float .bf-k { font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-lt); margin-top: 4px; }
@media (max-width: 860px) { .svc-sub-hero { grid-template-columns: 1fr; } .ssh-media { max-width: 520px; } }

/* spec strip */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--abyss); padding: 26px 26px 28px; }
.spec .sk { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 11px; }
.spec .sv { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.32rem; color: var(--bone); line-height: 1.2; }
.spec .sv small { display: block; font-family: var(--sans); font-weight: 300; font-size: 0.8rem; color: var(--slate-lt); margin-top: 6px; letter-spacing: 0.02em; }
@media (max-width: 820px) { .spec-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .spec-strip { grid-template-columns: 1fr; } }

/* alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--border); }
.feature:first-of-type { border-top: none; padding-top: clamp(20px, 3vw, 34px); }
.feature .ft-media { order: 2; }
.feature.rev .ft-media { order: 0; }
.feature .ft-k { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.feature .ft-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--bone); margin-bottom: 16px; }
.feature .ft-text p { font-size: 1rem; line-height: 1.66; color: color-mix(in oklab, var(--bone) 76%, transparent); max-width: 46ch; }
image-slot.feat-img { display: block; width: 100%; border: 1px solid var(--border); }

/* On-brand fallback panel for media areas without a photo yet */
.media-fill {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(150deg, var(--graphite), var(--panel-2));
}
.media-fill::after {
  content: ""; position: absolute; right: -50px; bottom: -60px; width: 230px; height: 230px;
  background: radial-gradient(circle, color-mix(in oklab, var(--ember) 12%, transparent), transparent 70%);
}
.media-fill .mf-mark { position: relative; z-index: 1; width: 42%; max-width: 148px; opacity: .6; }
@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature .ft-media, .feature.rev .ft-media { order: -1; }
}

/* included checklist */
.incl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.incl-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.incl-item svg { width: 16px; height: 17px; margin-top: 3px; flex: none; }
.incl-item .ii-t { font-family: var(--sans); font-weight: 500; font-size: 0.96rem; color: var(--bone); }
.incl-item .ii-d { font-size: 0.86rem; line-height: 1.55; color: var(--slate-lt); margin-top: 4px; }
@media (max-width: 680px) { .incl-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING TIERS (services page)
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--graphite); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px 34px; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.tier:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 30px 64px -40px rgba(0,0,0,.9); }
.tier--featured {
  border-color: color-mix(in oklab, var(--ember) 55%, var(--border));
  background: linear-gradient(180deg, color-mix(in oklab, var(--ember) 9%, var(--graphite)), var(--graphite) 60%);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ember) 30%, transparent), 0 40px 80px -50px rgba(232,99,42,.5);
}
.tier--featured:hover { border-color: var(--ember); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ember) 40%, transparent), 0 40px 80px -44px rgba(232,99,42,.6); }
.tier--featured { padding-top: 18px; }
.tier-badge {
  display: block; width: max-content; margin: 0 auto 18px; order: -1;
  background: var(--ember); color: #fff; font-family: var(--sans); font-weight: 600;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(232,99,42,.7);
}
.tier .t-tier { font-family: var(--sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate-lt); }
.tier--featured .t-tier { color: var(--ember); }
.tier .t-name { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.7rem; color: var(--bone); margin: 14px 0 14px; line-height: 1.1; }
.tier .t-desc { font-size: 0.93rem; line-height: 1.6; color: color-mix(in oklab, var(--bone) 68%, transparent); }
.tier .t-price { margin-top: 26px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.tier .t-price .tp-from { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--slate-lt); }
.tier .t-price .tp-v { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.78rem; color: var(--bone); letter-spacing: 0.01em; }
.tier--featured .t-price .tp-v { color: var(--ember); }
.tier .t-note { font-size: 0.78rem; letter-spacing: 0.02em; color: var(--slate-lt); margin-top: 12px; }
.tier .t-list { list-style: none; margin: 24px 0 30px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 15px; }
.tier .t-list li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; font-size: 0.9rem; line-height: 1.5; color: color-mix(in oklab, var(--bone) 80%, transparent); }
.tier .t-list li svg { width: 15px; height: 16px; margin-top: 3px; flex: none; }
.tier .t-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.tier .t-foot .btn { width: 100%; justify-content: center; }
.tier .t-detail { text-align: center; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--slate-lt); transition: color .25s; }
.tier .t-detail:hover { color: var(--ember); }
.tiers-note { text-align: center; margin-top: 36px; font-size: 0.86rem; color: var(--slate-lt); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
