/* ==========================================================================
   Aarhit Consultancy | style.css
   Theme: Blueprint. Signal Blue and Graphite.
   Light, gridded, measured. Mono typography carries the technical weight.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --graphite: #12161C;
  --graphite-2: #1B212B;
  --blue: #1E5EFF;
  --blue-dark: #164BCC;
  --blue-wash: #EEF3FF;
  --steel: #5A6473;
  --grid: #DCE3EC;
  --paper: #FBFBF9;
  --white: #FFFFFF;

  --text: #12161C;
  --text-soft: #5A6473;
  --text-light: #AEB6C2;

  --hair: #E3E8EF;
  --hair-dark: #2A313D;

  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 74px;
  --util-h: 38px;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(18, 22, 28, .05);
  --shadow: 0 8px 30px rgba(18, 22, 28, .07);
  --shadow-lg: 0 24px 60px rgba(18, 22, 28, .12);
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--graphite);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1rem; color: var(--text-soft); }
p.lead { font-size: 1.14rem; color: var(--text-soft); max-width: 62ch; }

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; display: block; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--graphite); color: #fff; padding: .8rem 1.2rem;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- 3. Layout ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }

.band-paper { background: var(--paper); }
.band-white { background: var(--white); border-block: 1px solid var(--hair); }
.band-wash { background: var(--blue-wash); }
.band-graphite { background: var(--graphite); color: var(--text-light); }
.band-graphite h1, .band-graphite h2, .band-graphite h3 { color: #fff; }
.band-graphite p { color: var(--text-light); }

/* Blueprint grid overlay. Decorative only, never behind body copy. */
.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.band-graphite.grid-bg::before {
  background-image:
    linear-gradient(var(--hair-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-dark) 1px, transparent 1px);
  opacity: .7;
}
.grid-bg > * { position: relative; z-index: 1; }

/* ---------- 4. Eyebrow: the signature mono label ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: "//"; opacity: .55; letter-spacing: 0; }
.eyebrow .num { color: var(--steel); }
.eyebrow-line::after {
  content: ""; flex: 1; height: 1px; background: var(--hair); max-width: 90px;
}
.band-graphite .eyebrow { color: #6E96FF; }
.band-graphite .eyebrow-line::after { background: var(--hair-dark); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* ---------- 5. Buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius);
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  transition: all .28s var(--ease);
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 94, 255, .28); }
.btn-graphite { background: var(--graphite); color: #fff; }
.btn-graphite:hover { background: var(--graphite-2); color: #fff; transform: translateY(-2px); }
.btn-outline-dark2 { border-color: var(--grid); color: var(--graphite); background: transparent; }
.btn-outline-dark2:hover { border-color: var(--graphite); background: var(--graphite); color: #fff; }
.btn-ghost-light { border-color: var(--hair-dark); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: #fff; color: var(--graphite); }

.link-arrow {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem;
}
.link-arrow i { transition: transform .28s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- 6. Utility bar: the group switcher ---------- */
.utility-bar {
  background: var(--graphite);
  border-bottom: 1px solid var(--hair-dark);
  height: var(--util-h);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
}
.utility-bar a { color: var(--text-light); padding: 0 .55rem; }
.utility-bar a:hover { color: #fff; }
.utility-bar a.active { color: var(--blue); }
.utility-bar a.active::before { content: "> "; }
.util-label { color: #6B7686; text-transform: uppercase; }
.util-contact { color: var(--text-light); }
.util-contact a { padding: 0 .4rem; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  height: var(--header-h);
  background: rgba(251, 251, 249, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-solid { background: var(--paper); border-bottom-color: var(--hair); box-shadow: var(--shadow-sm); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--graphite); letter-spacing: -.01em; }
.brand-text span { color: var(--blue); }

.nav-link-main {
  font-size: .93rem; font-weight: 450; color: var(--text-soft);
  padding: .5rem .85rem; position: relative;
}
.nav-link-main:hover, .nav-link-main.active { color: var(--graphite); }
.nav-link-main.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
  height: 2px; background: var(--blue);
}

.nav-toggle {
  border: 1px solid var(--hair); background: transparent; border-radius: var(--radius);
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--graphite);
}

.offcanvas { background: var(--paper); }
.offcanvas .nav-link-main { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--hair); display: block; }
.offcanvas .nav-link-main.active::after { display: none; }
.offcanvas .nav-link-main.active { color: var(--blue); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--paper);
}
.hero-title { max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--blue); }
.hero-sub { max-width: 54ch; font-size: 1.15rem; }

.hero-meta {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel);
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem;
  padding-top: 1.4rem; border-top: 1px solid var(--hair);
}
.hero-meta strong { color: var(--graphite); font-weight: 600; }

/* Timezone overlap strip: the signature persuasion device */
.tz-strip {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.tz-strip h4 {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 1.1rem;
}
.tz-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: .9rem; margin-bottom: .7rem; }
.tz-row:last-child { margin-bottom: 0; }
.tz-name { font-family: var(--font-mono); font-size: .78rem; color: var(--graphite); font-weight: 500; }
.tz-bar { position: relative; height: 10px; background: var(--blue-wash); border-radius: 999px; overflow: hidden; }
.tz-fill { position: absolute; top: 0; bottom: 0; background: var(--blue); border-radius: 999px; opacity: .28; }
.tz-fill.overlap { background: var(--blue); opacity: 1; }
.tz-legend {
  margin-top: 1.1rem; padding-top: .9rem; border-top: 1px dashed var(--hair);
  font-family: var(--font-mono); font-size: .72rem; color: var(--steel);
  display: flex; gap: 1.2rem; flex-wrap: wrap;
}
.tz-key { display: inline-flex; align-items: center; gap: .4rem; }
.tz-dot { width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.tz-dot.soft { opacity: .28; }

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero {
  background: var(--graphite);
  color: #fff;
  padding: calc(var(--header-h) + 2.5rem) 0 3.2rem;
  position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--text-light); max-width: 60ch; }
.breadcrumb-rail {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: #6B7686; margin-bottom: 1.4rem;
}
.breadcrumb-rail a { color: #6B7686; }
.breadcrumb-rail a:hover { color: #fff; }
.breadcrumb-rail .sep { padding: 0 .5rem; opacity: .5; }

/* ---------- 10. Stats ---------- */
.stat { padding: 1.4rem 0; }
.stat-num {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--graphite);
  letter-spacing: -.03em; line-height: 1;
}
.band-graphite .stat-num { color: #fff; }
.stat-label {
  font-family: var(--font-mono); font-size: .73rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); margin-top: .6rem;
}
.band-graphite .stat-label { color: var(--text-light); }

/* ---------- 11. Cards ---------- */
.card-flat {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 1.9rem;
  transition: all .3s var(--ease); height: 100%;
}
.card-flat:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-flat .icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--blue-wash); color: var(--blue);
  display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1.2rem;
}
.card-flat h3 { font-size: 1.14rem; }
.card-flat p { font-size: .94rem; margin-bottom: 0; }

.card-dark {
  background: var(--graphite-2); border: 1px solid var(--hair-dark);
  border-radius: var(--radius-lg); padding: 1.9rem; height: 100%;
}
.card-dark h3 { color: #fff; font-size: 1.1rem; }
.card-dark p { color: var(--text-light); font-size: .94rem; margin-bottom: 0; }

/* Numbered card, mono index */
.card-num { position: relative; }
.card-num .idx {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em;
  color: var(--blue); margin-bottom: .9rem; display: block;
}

/* Pod card: team composition, not stock photos */
.pod-card {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
}
.pod-head { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--hair); background: var(--blue-wash); }
.pod-head h3 { margin: 0; font-size: 1.08rem; }
.pod-head .pod-size { font-family: var(--font-mono); font-size: .74rem; color: var(--blue); letter-spacing: .08em; }
.pod-body { padding: 1.4rem 1.6rem; }
.pod-role {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px dashed var(--hair);
  font-size: .92rem; color: var(--text-soft);
}
.pod-role:last-child { border-bottom: 0; }
.pod-role .count { font-family: var(--font-mono); color: var(--graphite); font-weight: 500; }

/* ---------- 12. Chips ---------- */
.chip {
  display: inline-block; font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .06em;
  padding: .38rem .8rem; border: 1px solid var(--hair);
  border-radius: 999px; color: var(--text-soft); background: var(--white);
  margin: 0 .4rem .55rem 0; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip-solid { background: var(--blue-wash); border-color: transparent; color: var(--blue); }
.band-graphite .chip { background: transparent; border-color: var(--hair-dark); color: var(--text-light); }

/* ---------- 13. Engagement model tabs ---------- */
.model-tabs { border-bottom: 1px solid var(--hair); display: flex; gap: .3rem; flex-wrap: wrap; }
.model-tabs .nav-link {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel);
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  padding: .9rem 1.2rem; background: transparent;
}
.model-tabs .nav-link:hover { color: var(--graphite); }
.model-tabs .nav-link.active { color: var(--blue); border-bottom-color: var(--blue); background: transparent; }

.model-panel { padding-top: 2.4rem; }
.model-metric {
  border-left: 2px solid var(--blue); padding-left: 1rem; margin-bottom: 1.5rem;
}
.model-metric dt {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); font-weight: 400;
}
.model-metric dd { margin: .3rem 0 0; color: var(--graphite); font-weight: 500; }

/* ---------- 14. Timeline ---------- */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: .5rem; bottom: .5rem;
  width: 1px; background: var(--hair);
}
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: .45rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--blue);
}
.tl-year { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--blue); margin-bottom: .35rem; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.tl-item p { font-size: .94rem; margin-bottom: 0; }

/* ---------- 15. Filter + work cards ---------- */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .5rem 1rem;
  border: 1px solid var(--hair); background: var(--white);
  border-radius: 999px; color: var(--text-soft); cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--graphite); border-color: var(--graphite); color: #fff; }

.work-card {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 1.8rem; height: 100%;
  cursor: pointer; transition: all .3s var(--ease); text-align: left; width: 100%;
}
.work-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.work-tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.work-card h3 { font-size: 1.1rem; margin: .8rem 0 .5rem; }
.work-card p { font-size: .92rem; margin-bottom: 1rem; }
.work-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--steel); border-top: 1px solid var(--hair); padding-top: .9rem; }

.filter-empty { text-align: center; padding: 3rem 0; color: var(--steel); }

/* Filter engine contract: main.js toggles .is-hidden on items. */
[data-filter-item].is-hidden { display: none !important; }

/* ---------- 16. Case study ---------- */
.case-block { border-top: 1px solid var(--hair); padding-top: 3rem; margin-top: 3rem; }
.case-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

.metrics-rail {
  background: var(--graphite); border-radius: var(--radius-lg);
  padding: 1.8rem; position: sticky; top: calc(var(--header-h) + 20px);
}
.metric-item { padding: .9rem 0; border-bottom: 1px solid var(--hair-dark); }
.metric-item:last-child { border-bottom: 0; }
.metric-val { font-family: var(--font-mono); font-size: 1.7rem; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.metric-key { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-top: .25rem; }

.case-section h3 { font-size: 1.15rem; margin-top: 2rem; }
.case-section h3:first-child { margin-top: 0; }

/* ---------- 17. Testimonials ---------- */
.quote-feature { border-left: 3px solid var(--blue); padding-left: 2rem; }
.quote-feature blockquote {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.35; letter-spacing: -.02em; color: var(--graphite); margin: 0 0 1.6rem;
}
.quote-card {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 1.7rem; break-inside: avoid; margin-bottom: 1.5rem;
}
.quote-card p { font-size: .96rem; color: var(--text); }
.quote-attr { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--hair); }
.quote-initial {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--blue-wash); color: var(--blue);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: .9rem;
}
.quote-name { font-weight: 600; font-size: .92rem; color: var(--graphite); line-height: 1.3; }
.quote-role { font-size: .82rem; color: var(--steel); }

.masonry { column-count: 3; column-gap: 1.5rem; }
@media (max-width: 991px) { .masonry { column-count: 2; } }
@media (max-width: 575px) { .masonry { column-count: 1; } }

/* ---------- 18. Accordion ---------- */
.accordion-item { border: 1px solid var(--hair); border-radius: var(--radius-lg) !important; margin-bottom: .9rem; overflow: hidden; background: var(--white); }
.accordion-button {
  font-family: var(--font-display); font-weight: 500; font-size: 1.03rem;
  color: var(--graphite); background: var(--white); padding: 1.25rem 1.5rem;
}
.accordion-button:not(.collapsed) { background: var(--blue-wash); color: var(--blue); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--blue); }
.accordion-body { padding: 0 1.5rem 1.5rem; color: var(--text-soft); font-size: .96rem; }
.role-meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--steel); margin-bottom: 1rem; }

/* ---------- 19. Forms ---------- */
.form-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: .5rem; }
.form-control, .form-select {
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: .8rem 1rem; font-size: .96rem; background: var(--white); color: var(--text);
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 94, 255, .12); }
.form-control::placeholder { color: #B4BCC8; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.invalid-feedback { font-size: .84rem; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { border-radius: var(--radius); border: 0; font-size: .95rem; }
.form-status[hidden] { display: none !important; }
.form-status:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- 20. Contact rail ---------- */
.contact-rail { background: var(--graphite); border-radius: var(--radius-lg); padding: 2.2rem; height: 100%; }
.contact-rail h3 { color: #fff; font-size: 1.05rem; }
.rail-item { padding: 1.2rem 0; border-bottom: 1px solid var(--hair-dark); }
.rail-item:last-child { border-bottom: 0; }
.rail-key { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #6B7686; margin-bottom: .45rem; }
.rail-val { color: #fff; font-size: .96rem; line-height: 1.55; }
.rail-val a { color: #fff; }
.rail-val a:hover { color: var(--blue); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair); line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ---------- 21. Legal pages ---------- */
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: 1.45rem; margin-top: 2.8rem; }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.8rem; }
.legal-body ul { color: var(--text-soft); padding-left: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-updated {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em;
  color: var(--steel); padding: .8rem 1.1rem; background: var(--white);
  border: 1px solid var(--hair); border-radius: var(--radius); display: inline-block;
}
.legal-toc { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 20px); }
.legal-toc h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 1rem; }
.legal-toc a { display: block; padding: .35rem 0; font-size: .89rem; color: var(--text-soft); }
.legal-toc a:hover { color: var(--blue); }

.legal-table { width: 100%; font-size: .92rem; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.legal-table th { background: var(--blue-wash); color: var(--graphite); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: .8rem 1rem; text-align: left; }
.legal-table td { padding: .8rem 1rem; border-top: 1px solid var(--hair); color: var(--text-soft); }

/* ---------- 22. CTA band ---------- */
.cta-band { background: var(--graphite); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: var(--text-light); max-width: 52ch; }

/* ---------- 23. Footer ---------- */
.site-footer { background: var(--graphite); color: var(--text-light); padding: 4.5rem 0 0; }
.site-footer h4 {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: #6B7686; margin-bottom: 1.3rem;
}
.site-footer a { color: var(--text-light); font-size: .93rem; }
.site-footer a:hover { color: var(--blue); }
.footer-links li { margin-bottom: .6rem; list-style: none; }
.footer-links { padding: 0; margin: 0; }

.footer-reach { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.5rem; }
.footer-reach a { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; transition: color .3s var(--ease), transform .3s var(--ease); }
.footer-reach a i {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: var(--radius);
  border: 1px solid var(--hair-dark); display: grid; place-items: center; font-size: .95rem;
  transition: all .3s var(--ease);
}
.footer-reach a:hover { color: var(--blue); transform: translateX(3px); }
.footer-reach a:hover i { border-color: var(--blue); color: var(--blue); }

.footer-bottom {
  margin-top: 3.5rem; padding: 1.6rem 0; border-top: 1px solid var(--hair-dark);
  font-family: var(--font-mono); font-size: .76rem; color: #6B7686;
}
.footer-bottom a { color: #6B7686; font-size: .76rem; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- 24. Floating actions ---------- */
.float-wa, .to-top {
  position: fixed; right: 20px; z-index: 1040;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: all .3s var(--ease); border: 0;
}
.float-wa { bottom: 20px; background: #25D366; color: #fff; font-size: 1.4rem; }
.float-wa:hover { color: #fff; transform: scale(1.08); }
.to-top { bottom: 82px; background: var(--graphite); color: #fff; opacity: 0; visibility: hidden; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue); }

/* ---------- 25. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 26. 404 ---------- */
.err-code {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(5rem, 17vw, 12rem); line-height: .9;
  color: var(--graphite); letter-spacing: -.05em;
}
.err-code span { color: var(--blue); }

/* ---------- 27. Responsive ---------- */
@media (max-width: 991px) {
  :root { --header-h: 66px; }
  .utility-bar { display: none; }
  .metrics-rail, .legal-toc { position: static; }
  .quote-feature { padding-left: 1.2rem; }
}
@media (max-width: 575px) {
  .hero-meta { gap: 1rem; }
  .float-wa, .to-top { right: 14px; width: 46px; height: 46px; }
  .to-top { bottom: 74px; }
}

/* ---------- 28. Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .utility-bar, .site-header, .site-footer, .float-wa, .to-top, .filter-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .grid-bg::before { display: none; }
}
