/* ============================================================
   SOLA Enerji — "Cinematic Solar Editorial"
   Design language: full-bleed photography, dusk gradient scrims,
   high-contrast serif display + technical mono labels,
   layered translucent panels, brass hairlines, film grain.
   Mobile-first.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* pine / forest base */
  --pine-900: #06150f;
  --pine-800: #0c2a22;
  --pine-700: #113a2e;
  --pine-600: #1a4c3b;
  --pine-500: #2a6450;

  /* brass / amber accent */
  --brass-600: #a06d1f;
  --brass-500: #c98b2e;
  --brass-400: #dfa94c;
  --brass-300: #efc87c;

  /* bone / paper neutrals */
  --bone-050: #fdfbf6;
  --bone-100: #f6f1e7;
  --bone-200: #ece4d4;
  --bone-300: #ddd2bc;
  --bone-400: #c0b39a;

  /* dusk gradient stops */
  --dusk-amber: #f0a24a;
  --dusk-rose: #c4596a;
  --dusk-indigo: #2a2655;

  /* semantic */
  --ink: var(--pine-800);
  --ink-soft: #3d5a4d;
  --ink-mute: #6c7f73;
  --paper: var(--bone-100);
  --paper-raise: var(--bone-050);
  --rule: rgba(12, 42, 34, .14);
  --rule-brass: rgba(201, 139, 46, .34);
  --on-dark: #f3ece0;
  --on-dark-soft: rgba(243, 236, 224, .74);
  --on-dark-mute: rgba(243, 236, 224, .54);
  --rule-dark: rgba(243, 236, 224, .16);

  /* type */
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ui: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;

  /* rhythm */
  --gut: 20px;
  --maxw: 1240px;
  --narrow: 720px;
  --sec: 64px;

  /* elevation */
  --lift-1: 0 1px 2px rgba(6, 21, 15, .06), 0 8px 24px -12px rgba(6, 21, 15, .18);
  --lift-2: 0 2px 4px rgba(6, 21, 15, .07), 0 28px 60px -28px rgba(6, 21, 15, .34);
  --lift-3: 0 40px 90px -36px rgba(6, 21, 15, .46);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 680px) { :root { --gut: 32px; --sec: 88px; } }
@media (min-width: 1100px) { :root { --gut: 48px; --sec: 124px; } }

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass-300); color: var(--pine-900); }

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

.skip {
  position: fixed; left: 14px; top: -60px; z-index: 300;
  background: var(--pine-800); color: var(--on-dark);
  padding: 12px 18px; border-radius: 999px;
  font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- 3. Typographic utilities ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .66em;
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: .668rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass-600);
  line-height: 1.4;
}
.eyebrow::before {
  content: ""; flex: 0 0 26px; height: 1px;
  background: currentColor; opacity: .6;
}
.eyebrow.is-center { justify-content: center; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--brass-300); }

.num { font-family: var(--sans); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.lede {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 54ch;
}
@media (min-width: 680px) { .lede { font-size: 1.12rem; } }

.meta {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.d1 { font-size: clamp(2.4rem, 11.4vw, 4.1rem); }
.d2 { font-size: clamp(1.95rem, 7.6vw, 3.1rem); }
.d3 { font-size: clamp(1.46rem, 5.4vw, 2rem); }
@media (min-width: 900px) {
  .d1 { font-size: clamp(3.6rem, 5.2vw, 5.3rem); }
  .d2 { font-size: clamp(2.6rem, 3.6vw, 3.6rem); }
  .d3 { font-size: clamp(1.7rem, 1.8vw, 2.1rem); }
}

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec-sm { padding-block: calc(var(--sec) * .62); }

.sec-head { max-width: 62ch; margin-bottom: 40px; }
.sec-head .lede { margin-top: 18px; }
@media (min-width: 900px) {
  .sec-head { margin-bottom: 56px; }
  .sec-head.is-split {
    max-width: none;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
    gap: 48px; align-items: end;
  }
  .sec-head.is-split .lede { margin-top: 0; padding-bottom: .4em; }
}

.rule-brass { height: 1px; background: var(--rule-brass); border: 0; margin: 0; }

.dark-field {
  position: relative;
  background: var(--pine-800);
  color: var(--on-dark);
  overflow: hidden;
}
.dark-field::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% -10%, rgba(223, 169, 76, .22), transparent 56%),
    radial-gradient(circle at 6% 104%, rgba(42, 38, 85, .4), transparent 58%);
  pointer-events: none;
}
.dark-field > * { position: relative; z-index: 1; }
.dark-field h1, .dark-field h2, .dark-field h3 { color: var(--on-dark); }
.dark-field .lede, .dark-field p { color: var(--on-dark-soft); }
.dark-field .eyebrow { color: var(--brass-300); }
.dark-field .meta { color: var(--on-dark-mute); }

/* ---------- 5. Film grain (global texture) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 250;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- 6. Buttons ---------- */
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brass-500);
  color: #1c1203;
  font-family: var(--sans);
  font-size: .745rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px -16px rgba(160, 109, 31, .72);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), background-color .25s var(--ease);
}
.act::after {
  content: "→";
  font-family: var(--ui);
  font-size: .95rem;
  letter-spacing: 0;
  transition: transform .34s var(--ease-out);
}
.act:hover { background: var(--brass-400); transform: translateY(-2px); box-shadow: 0 20px 42px -18px rgba(160, 109, 31, .82); }
.act:hover::after { transform: translateX(4px); }
.act:active { transform: translateY(0); }

.act.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-brass);
  box-shadow: none;
}
.act.ghost:hover { background: rgba(201, 139, 46, .1); border-color: var(--brass-500); }
.dark-field .act.ghost, .hero .act.ghost { color: var(--on-dark); border-color: rgba(243, 236, 224, .4); }
.dark-field .act.ghost:hover, .hero .act.ghost:hover { background: rgba(243, 236, 224, .1); border-color: rgba(243, 236, 224, .72); }

.act.no-arrow::after { content: none; }

.acts { display: flex; flex-wrap: wrap; gap: 12px; }

.txt-link {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-600);
  /* underline drawn as a gradient so the 44px tap area stays invisible */
  background: linear-gradient(var(--rule-brass), var(--rule-brass)) left calc(50% + .85em) / 100% 1px no-repeat;
  transition: color .22s var(--ease), background-image .22s var(--ease), gap .28s var(--ease-out);
}
.txt-link::after { content: "→"; font-family: var(--ui); letter-spacing: 0; font-size: .9rem; }
.txt-link:hover {
  color: var(--brass-500);
  background-image: linear-gradient(var(--brass-500), var(--brass-500));
  gap: .9em;
}
.dark-field .txt-link { color: var(--brass-300); }

/* ---------- 7. Masthead ---------- */
.topbar { position: sticky; top: 0; z-index: 120; }

/* NOTE: no backdrop-filter below 1060px. A filtered ancestor becomes the
   containing block for position:fixed, which would trap the mobile drawer
   inside the header box. Mobile uses an opaque bar instead. */
.mast-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px var(--gut);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.topbar.is-stuck .mast-row { box-shadow: 0 10px 34px -22px rgba(6, 21, 15, .5); }
.word {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: .13em;
  flex: 0 0 auto;
  min-height: 44px;
}
.word em { font-style: italic; letter-spacing: .01em; color: var(--brass-600); }
.brand-logo {
  width: 34px; height: 34px; flex: 0 0 34px;
  object-fit: contain;
  border-radius: 9px;
  background: var(--pine-800);
  padding: 4px;
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; min-width: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--rule-brass);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans); font-size: .685rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle .bars { display: grid; gap: 3.5px; width: 15px; }
.nav-toggle .bars i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0 0 0 auto;
  width: min(360px, 88vw);
  z-index: 130;
  display: flex; flex-direction: column;
  gap: 2px;
  padding: 88px 26px 40px;
  background: var(--pine-800);
  color: var(--on-dark);
  box-shadow: var(--lift-3);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .44s var(--ease-out), visibility .44s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav.is-open { transform: none; visibility: visible; }
.nav a {
  display: flex; align-items: baseline; gap: 14px;
  min-height: 52px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--serif);
  font-size: 1.42rem;
  color: var(--on-dark);
  transition: color .22s var(--ease), padding-left .3s var(--ease-out);
}
.nav a::before {
  content: attr(data-n);
  font-family: var(--sans); font-size: .6rem; font-weight: 500;
  letter-spacing: .1em;
  color: var(--brass-400);
  flex: 0 0 auto;
}
.nav a:hover { color: var(--brass-300); padding-left: 10px; }
.nav a[aria-current="page"] { color: var(--brass-300); }
.nav-foot { margin-top: auto; padding-top: 28px; }
.nav-foot a {
  border: 0; min-height: 44px; padding: 0;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .08em;
  color: var(--on-dark-soft);
}
.nav-foot a::before { content: none; }

.nav-veil {
  position: fixed; inset: 0; z-index: 125;
  background: rgba(6, 21, 15, .56);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav-veil.is-on { opacity: 1; visibility: visible; }

.mast-phone { display: none; }

body.nav-locked { overflow: hidden; }

@media (min-width: 1060px) {
  .mast-row {
    gap: 28px; padding-block: 14px;
    background: rgba(246, 241, 231, .88);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
    backdrop-filter: saturate(1.5) blur(16px);
  }
  .nav-toggle { display: none; }
  .nav {
    position: static; width: auto; inset: auto;
    flex-direction: row; align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    background: none; color: inherit;
    box-shadow: none; transform: none; visibility: visible;
    overflow: visible;
    transition: none;
  }
  .nav a {
    min-height: 40px;
    padding: 8px 13px;
    border: 0; border-radius: 999px;
    font-family: var(--sans);
    font-size: .705rem; font-weight: 500;
    letter-spacing: .13em; text-transform: uppercase;
    color: var(--ink-soft);
  }
  .nav a::before { content: none; }
  .nav a:hover { padding-left: 13px; color: var(--ink); background: rgba(201, 139, 46, .11); }
  .nav a[aria-current="page"] { color: var(--pine-800); background: rgba(201, 139, 46, .16); }
  .nav-foot { display: none; }
  .nav-veil { display: none; }
  .mast-phone {
    display: inline-flex; align-items: center; gap: .6em;
    min-height: 44px; padding: 10px 20px;
    border: 1px solid var(--rule-brass); border-radius: 999px;
    font-family: var(--sans); font-variant-numeric: tabular-nums;
    font-size: .735rem; letter-spacing: .06em; white-space: nowrap;
    color: var(--pine-800);
    transition: background-color .25s var(--ease), border-color .25s var(--ease);
  }
  .mast-phone::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-500); box-shadow: 0 0 0 3px rgba(201, 139, 46, .22); }
  .mast-phone:hover { background: var(--pine-800); color: var(--on-dark); border-color: var(--pine-800); }
}

/* ---------- 8. Cinematic hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 86svh;
  display: grid;
  align-items: end;
  background: var(--pine-900);
  color: var(--on-dark);
  overflow: hidden;
}
@media (min-width: 900px) { .hero { min-height: min(92svh, 860px); } }

.hero-media { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  transform: scale(1.06);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }

/* layered dusk scrim: amber -> rose -> deep indigo */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(176deg,
      rgba(240, 162, 74, .3) 0%,
      rgba(196, 89, 106, .2) 26%,
      rgba(42, 38, 85, .42) 58%,
      rgba(6, 21, 15, .9) 92%);
}
.hero-scrim::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 21, 15, .95) 0%, rgba(6, 21, 15, .62) 34%, rgba(6, 21, 15, .12) 64%, transparent 84%);
}

/* soft radial sun flare */
.hero-flare {
  position: absolute; z-index: 2; pointer-events: none;
  top: -16%; right: -14%;
  width: min(74vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(255, 233, 186, .62) 0%,
      rgba(240, 162, 74, .34) 28%,
      rgba(196, 89, 106, .14) 52%,
      transparent 72%);
  filter: blur(14px);
  animation: flarePulse 9s ease-in-out infinite alternate;
}
@keyframes flarePulse { from { opacity: .72; transform: scale(.97); } to { opacity: 1; transform: scale(1.05); } }

.hero-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-inner {
  position: relative; z-index: 4;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 120px var(--gut) 40px;
}
@media (min-width: 900px) { .hero-inner { padding-block: 140px 68px; } }

.hero .eyebrow {
  color: #ffe6b8;
  text-shadow: 0 1px 14px rgba(6, 21, 15, .85), 0 0 3px rgba(6, 21, 15, .6);
}
.hero .eyebrow::before { opacity: .95; }
.hero h1 {
  color: #fff;
  max-width: 19ch;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(6, 21, 15, .5);
}
.hero h1 em { font-style: italic; color: var(--brass-300); }
.hero-text {
  max-width: 48ch;
  margin-bottom: 30px;
  color: rgba(243, 236, 224, .84);
  font-size: 1rem;
  line-height: 1.72;
}
@media (min-width: 680px) { .hero-text { font-size: 1.08rem; } }
.hero .acts { margin-bottom: 36px; }

/* hero bottom data strip (translucent panel over photo) */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  border-radius: 14px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--lift-2);
}
.hero-strip div {
  background: rgba(6, 21, 15, .46);
  padding: 15px 16px;
}
.hero-strip b {
  display: block;
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: 1.02rem; font-weight: 600;
  color: var(--brass-300);
  letter-spacing: .01em;
}
.hero-strip span {
  display: block; margin-top: 3px;
  font-family: var(--sans);
  font-size: .615rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-dark-mute);
  line-height: 1.5;
}
@media (min-width: 760px) {
  .hero-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-strip div { padding: 20px 22px; }
  .hero-strip b { font-size: 1.16rem; }
}

.hero-scroll {
  display: none;
}
@media (min-width: 900px) {
  .hero-scroll {
    position: absolute; z-index: 5;
    right: var(--gut); bottom: 68px;
    display: flex; align-items: center; gap: 12px;
    font-family: var(--sans); font-size: .6rem;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--on-dark-mute);
    writing-mode: vertical-rl;
  }
  .hero-scroll::after {
    content: ""; width: 1px; height: 54px;
    background: linear-gradient(to bottom, var(--brass-400), transparent);
    animation: scrollHint 2.4s ease-in-out infinite;
  }
}
@keyframes scrollHint { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- 9. Count-up statistic strip ---------- */
.gauge { border-block: 1px solid var(--rule); background: var(--paper-raise); }
.gauge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.gauge-cell {
  padding: 26px 0;
  position: relative;
}
.gauge-cell + .gauge-cell::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px;
  width: 1px; background: var(--rule);
}
.gauge-cell:nth-child(odd) { padding-right: 18px; }
.gauge-cell:nth-child(even) { padding-left: 18px; }
.gauge-cell:nth-child(odd)::before { display: none; }
.gauge-cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }

.gauge-val {
  display: flex; align-items: baseline; gap: .12em;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: clamp(1.6rem, 7.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--pine-800);
  overflow-wrap: anywhere;
}
.gauge-val .u { font-size: .42em; font-weight: 500; letter-spacing: .06em; color: var(--brass-600); }
.gauge-lbl {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: .64rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.6;
}
.gauge-cell::after {
  content: ""; display: block; width: 28px; height: 1px;
  background: var(--brass-500); opacity: .6;
  margin-top: 14px;
}
@media (min-width: 860px) {
  .gauge-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gauge-cell { padding: 40px 30px; }
  .gauge-cell:nth-child(odd), .gauge-cell:nth-child(even) { padding-inline: 30px; }
  .gauge-cell:first-child { padding-left: 0; }
  .gauge-cell:last-child { padding-right: 0; }
  .gauge-cell:nth-child(-n+2) { border-bottom: 0; }
  .gauge-cell:nth-child(odd)::before { display: block; }
  .gauge-cell:first-child::before { display: none; }
  .gauge-val { font-size: clamp(2.1rem, 2.8vw, 2.9rem); }
}

/* ---------- 10. Service "plates" (editorial cards) ---------- */
.plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
@media (min-width: 720px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 1080px) { .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; } }

.plate {
  display: flex; flex-direction: column;
  position: relative;
  isolation: isolate;
}
.plate-fig {
  position: relative; margin: 0 0 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--pine-700);
  box-shadow: var(--lift-1);
}
.plate-fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .6s var(--ease);
}
.plate-fig::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 21, 15, .62) 0%, rgba(6, 21, 15, .08) 42%, transparent 70%);
  transition: opacity .5s var(--ease);
}
.plate-no {
  position: absolute; z-index: 2;
  left: 14px; bottom: 12px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: .66rem; font-weight: 600;
  letter-spacing: .2em;
  color: var(--brass-300);
}
.plate h3 { font-size: 1.32rem; line-height: 1.16; margin-bottom: 0; }
@media (min-width: 900px) { .plate h3 { font-size: 1.44rem; } }
.plate-rule {
  width: 34px; height: 1px;
  background: var(--brass-500);
  margin: 14px 0 14px;
  transition: width .5s var(--ease-out);
}
.plate-sum { color: var(--ink-soft); font-size: .935rem; line-height: 1.66; margin-bottom: 18px; }
.plate-spec {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; gap: 7px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.plate-spec li {
  display: flex; align-items: flex-start; gap: .66em;
  font-family: var(--sans);
  font-size: .668rem; letter-spacing: .105em; text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.6;
}
.plate-spec li::before {
  content: ""; flex: 0 0 4px; height: 4px; margin-top: .52em;
  border-radius: 50%; background: var(--brass-500);
}
.plate .txt-link { margin-top: auto; align-self: flex-start; }

.plate:hover .plate-fig img { transform: scale(1.06); }
.plate:hover .plate-fig::after { opacity: .72; }
.plate:hover .plate-rule { width: 64px; }

/* ---------- 11. Roof-scan system diagram (pure CSS/SVG) ---------- */
.scan {
  position: relative;
}
.scan-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .scan-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
}

.scan-stage {
  position: relative;
  padding: 18px;
  border: 1px solid var(--rule-dark);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(243, 236, 224, .07), rgba(6, 21, 15, .3));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--lift-2);
  overflow: hidden;
}
.scan-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 139, 46, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 139, 46, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.scan-stage svg { position: relative; width: 100%; height: auto; display: block; }

.scan-tag {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6, 21, 15, .72);
  border: 1px solid var(--rule-brass);
  font-family: var(--sans);
  font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-300);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.scan-tag::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brass-400); }
.scan-tag.t1 { top: 11%; left: 5%; }
.scan-tag.t2 { bottom: 23%; right: 5%; }
.scan-tag.t3 { bottom: 7%; left: 7%; }
@media (max-width: 520px) {
  .scan-tag { font-size: .5rem; padding: 4px 8px; letter-spacing: .12em; }
  .scan-tag.t1 { top: 7%; left: 3%; }
  .scan-tag.t2 { bottom: 26%; right: 3%; }
  .scan-tag.t3 { bottom: 4%; left: 3%; }
}

/* animated scan sweep */
.scan-sweep {
  position: absolute; z-index: 2; pointer-events: none;
  left: 0; right: 0; height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(223, 169, 76, .16) 55%, rgba(239, 200, 124, .5) 96%, transparent);
  border-bottom: 1px solid rgba(239, 200, 124, .6);
  animation: sweep 5.4s cubic-bezier(.5, .02, .5, .98) infinite;
}
@keyframes sweep {
  0% { transform: translateY(-110%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

.scan-legend {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; gap: 0;
}
.scan-legend li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--rule-dark);
}
.scan-legend li:last-child { border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 980px) {
  /* placed after the base .scan-stage rule so sticky is not overridden */
  .scan-stage { position: sticky; top: 104px; }
  .scan-legend { margin-top: 0; }
}
.scan-legend .k {
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .64rem; font-weight: 600; letter-spacing: .12em;
  color: var(--brass-400);
  padding-top: .25em;
}
.scan-legend b {
  display: block;
  font-family: var(--serif); font-weight: 400; font-size: 1.12rem;
  color: var(--on-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}
.scan-legend span { display: block; font-size: .88rem; line-height: 1.62; color: var(--on-dark-soft); }

/* ---------- 12. Horizontal scroll-snap gallery ---------- */
.reel-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.reel-hint {
  display: none;
  font-family: var(--sans); font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 760px) { .reel-hint { display: inline-flex; align-items: center; gap: .7em; } }
.reel-hint::after { content: "⟶"; letter-spacing: 0; color: var(--brass-500); }

.reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--gut) 26px;
  margin-inline: calc(var(--gut) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--brass-500) transparent;
}
.reel::-webkit-scrollbar { height: 4px; }
.reel::-webkit-scrollbar-track { background: var(--rule); border-radius: 99px; }
.reel::-webkit-scrollbar-thumb { background: var(--brass-500); border-radius: 99px; }

.reel-item {
  flex: 0 0 82%;
  scroll-snap-align: center;
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--pine-800);
  box-shadow: var(--lift-1);
  isolation: isolate;
}
@media (min-width: 620px) { .reel-item { flex-basis: 54%; scroll-snap-align: start; } }
@media (min-width: 980px) { .reel-item { flex-basis: 40%; } }
@media (min-width: 1300px) { .reel-item { flex-basis: 31%; } }

.reel-item img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
@media (min-width: 620px) { .reel-item img { aspect-ratio: 3 / 4; } }
.reel-item:hover img { transform: scale(1.05); }
.reel-item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 44px 18px 18px;
  background: linear-gradient(to top, rgba(6, 21, 15, .92) 0%, rgba(6, 21, 15, .6) 48%, transparent 100%);
  color: var(--on-dark);
}
.reel-item .rc-place {
  font-family: var(--sans);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-300);
  display: block; margin-bottom: 7px;
}
.reel-item .rc-title {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.22;
  display: block; margin-bottom: 11px;
}
.reel-item .rc-spec {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .64rem; letter-spacing: .09em;
  color: var(--on-dark-soft);
}
.reel-item .rc-spec span { display: inline-flex; align-items: center; gap: .45em; }
.reel-item .rc-spec span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--brass-400); }

/* ---------- 13. Process trace (numbered path) ---------- */
.trace-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  counter-reset: tr;
}
@media (min-width: 820px) { .trace-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
@media (min-width: 1180px) { .trace-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; } }

.trace-list li {
  counter-increment: tr;
  position: relative;
  padding: 24px 0 24px 46px;
  border-top: 1px solid var(--rule-dark);
}
.trace-list li::before {
  content: counter(tr, decimal-leading-zero);
  position: absolute; left: 0; top: 26px;
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .66rem; font-weight: 600; letter-spacing: .12em;
  color: var(--brass-400);
}
.trace-list b {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.24rem; line-height: 1.26;
  color: var(--on-dark);
  margin-bottom: 7px;
}
.trace-list span { display: block; font-size: .92rem; line-height: 1.66; color: var(--on-dark-soft); }

/* ---------- 14. Areas + FAQ ---------- */
.visit-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .visit-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; } }

.places {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 520px) { .places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 940px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.places li {
  background: var(--paper-raise);
  padding: 14px 14px;
  display: flex; align-items: center; gap: .62em;
  font-family: var(--sans);
  font-size: .685rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 48px;
}
.places li::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: var(--brass-500); }

.asks { display: grid; gap: 0; }
.asks details {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.asks details:last-of-type { border-bottom: 1px solid var(--rule); }
.asks summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.12rem; line-height: 1.34;
  color: var(--pine-800);
  transition: color .2s var(--ease);
}
.asks summary::-webkit-details-marker { display: none; }
.asks summary::after {
  content: "";
  flex: 0 0 11px;
  width: 11px; height: 11px;
  margin-top: .42em;
  background:
    linear-gradient(var(--brass-600), var(--brass-600)) center/11px 1.5px no-repeat,
    linear-gradient(var(--brass-600), var(--brass-600)) center/1.5px 11px no-repeat;
  transition: transform .34s var(--ease-out), opacity .24s var(--ease);
}
.asks details[open] summary::after { transform: rotate(90deg); background-size: 11px 1.5px, 0 0; }
.asks summary:hover { color: var(--brass-600); }
.asks .ans {
  padding: 0 0 22px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: .95rem;
}
@media (min-width: 900px) {
  .asks summary { font-size: 1.2rem; }
  .asks .ans { padding-right: 40px; }
}

/* ---------- 15. Editorial spread (service / about detail) ---------- */
.spread { position: relative; }
.spread-hero {
  position: relative;
  min-height: 46svh;
  display: grid; align-items: end;
  background: var(--pine-900);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) { .spread-hero { min-height: 58svh; } }
.spread-hero > figure { position: absolute; inset: 0; margin: 0; z-index: 0; }
.spread-hero > figure img { width: 100%; height: 100%; object-fit: cover; }
.spread-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 21, 15, .5) 0%, rgba(42, 38, 85, .26) 40%, rgba(6, 21, 15, .92) 100%);
}
.spread-hero .wrap { position: relative; z-index: 2; padding-block: 100px 40px; }
@media (min-width: 900px) { .spread-hero .wrap { padding-block: 130px 56px; } }
.spread-hero .eyebrow { color: var(--brass-300); }
.spread-hero h1 { color: #fff; max-width: 22ch; }
.spread-hero .lede { color: rgba(243, 236, 224, .84); margin-top: 18px; max-width: 52ch; }

.spread-body { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .spread-body { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 64px; }
}
.prose { max-width: 66ch; }
.prose > p {
  font-family: var(--serif);
  font-size: 1.08rem; line-height: 1.74;
  color: var(--ink-soft);
}
@media (min-width: 680px) { .prose > p { font-size: 1.14rem; } }
.prose > p:first-of-type {
  font-size: 1.22rem; line-height: 1.6;
  color: var(--pine-800);
}
@media (min-width: 680px) { .prose > p:first-of-type { font-size: 1.34rem; } }
.prose > p:first-of-type::first-letter {
  float: left;
  font-size: 3.1em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--brass-500);
}

.aside-card {
  border: 1px solid var(--rule);
  border-top: 2px solid var(--brass-500);
  background: var(--paper-raise);
  padding: 24px 22px;
  box-shadow: var(--lift-1);
  align-self: start;
}
@media (min-width: 960px) { .aside-card { position: sticky; top: 92px; } }
.aside-card h2, .aside-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 0; }
.spec-list li {
  display: flex; align-items: flex-start; gap: .7em;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .668rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}
.spec-list li::before {
  content: ""; flex: 0 0 4px; height: 4px; margin-top: .55em;
  border-radius: 50%; background: var(--brass-500);
}
.aside-card .act { width: 100%; }

/* ---------- 16. Note / article cards (blog) ---------- */
.notes { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.note-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 6px 14px;
  background: var(--paper);
  padding: 26px 0;
  transition: background-color .3s var(--ease), padding-left .4s var(--ease-out);
}
.note-item:hover { background: var(--paper-raise); padding-left: 10px; }
.note-k {
  grid-column: 1; grid-row: 1;
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .64rem; font-weight: 600; letter-spacing: .12em;
  color: var(--brass-600);
  padding-top: .5em;
}
.note-item h2, .note-item h3 {
  grid-column: 2; grid-row: 1;
  font-size: 1.26rem; line-height: 1.22; margin: 0;
}
.note-ex {
  grid-column: 2; grid-row: 2;
  margin: 0;
  color: var(--ink-mute);
  font-size: .93rem; line-height: 1.64;
}
@media (min-width: 900px) {
  .note-item {
    grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 30px;
    padding: 32px 0;
  }
  .note-k { grid-column: 1; grid-row: 1; padding-top: 0; }
  .note-item h2, .note-item h3 { grid-column: 2; grid-row: 1; font-size: 1.5rem; }
  .note-ex { grid-column: 3; grid-row: 1; }
  .note-item .txt-link { grid-column: 4; grid-row: 1; align-self: center; }
}
@media (max-width: 899px) { .note-item .txt-link { display: none; } }

.article { }
.article-head { border-bottom: 1px solid var(--rule); padding-bottom: 32px; margin-bottom: 36px; }
.article-head h1 { margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- 17. Forms ---------- */
.sheet-form { display: grid; gap: 18px; }
.sheet-form label {
  display: grid; gap: 7px;
  font-family: var(--sans);
  font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-mute);
}
.sheet-form input,
.sheet-form select,
.sheet-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-raise);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.sheet-form input[inputmode="decimal"] { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.sheet-form select {
  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 1.5 6 6.5l5-5' fill='none' stroke='%23c98b2e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.sheet-form textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.sheet-form input:focus,
.sheet-form select:focus,
.sheet-form textarea:focus {
  outline: none;
  border-color: var(--brass-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 139, 46, .16);
}
.sheet-form .act { margin-top: 4px; justify-self: start; }
@media (max-width: 560px) { .sheet-form .act { justify-self: stretch; } }

.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-grid .span-2 { grid-column: 1 / -1; }

.note {
  min-height: 1.4em;
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .08em;
  color: var(--brass-600);
}

.dark-field .sheet-form label { color: var(--on-dark-mute); }
.dark-field .sheet-form input,
.dark-field .sheet-form select,
.dark-field .sheet-form textarea {
  background: rgba(6, 21, 15, .34);
  border-color: var(--rule-dark);
  color: var(--on-dark);
}
.dark-field .sheet-form input:focus,
.dark-field .sheet-form select:focus,
.dark-field .sheet-form textarea:focus {
  background: rgba(6, 21, 15, .52);
  border-color: var(--brass-400);
  box-shadow: 0 0 0 3px rgba(223, 169, 76, .18);
}
.dark-field .sheet-form select { 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 1.5 6 6.5l5-5' fill='none' stroke='%23efc87c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- 18. Calculator ---------- */
.calc { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 52px; align-items: start; } }

.calc-panel {
  border: 1px solid var(--rule);
  border-top: 2px solid var(--brass-500);
  background: var(--paper-raise);
  padding: 26px 22px 28px;
  box-shadow: var(--lift-1);
}
@media (min-width: 680px) { .calc-panel { padding: 34px 32px 36px; } }
.calc-panel > .eyebrow { margin-bottom: 20px; }

.out {
  border: 1px solid var(--rule-dark);
  background: linear-gradient(165deg, rgba(243, 236, 224, .06), rgba(6, 21, 15, .34));
  color: var(--on-dark);
  padding: 22px 20px;
  box-shadow: var(--lift-2);
}
@media (min-width: 680px) { .out { padding: 30px 30px; } }
@media (min-width: 940px) { .out { position: sticky; top: 92px; } }
.out-row {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.out-row:last-of-type { border-bottom: 0; }
.out-row span {
  font-family: var(--sans);
  font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-dark-mute);
  flex: 1 1 100%;
}
.out-row b {
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--brass-300);
  flex: 1 1 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.out-row.is-lead { padding-block: 18px 20px; border-bottom: 1px solid var(--rule-brass); }
.out-row.is-lead b { font-size: 1.42rem; color: #fff; line-height: 1.16; }
@media (min-width: 520px) {
  .out-row span { flex: 1 1 auto; }
  .out-row b { flex: 0 1 auto; text-align: right; }
}
@media (min-width: 680px) { .out-row.is-lead b { font-size: 1.8rem; } }
.out-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px 14px;
  padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px solid var(--rule-brass);
}
.out-head .eyebrow { margin: 0; color: var(--brass-300); }
.warn {
  display: flex; gap: .7em;
  margin: 14px 0 0;
  padding: 13px 15px;
  border-left: 2px solid var(--brass-400);
  background: rgba(223, 169, 76, .09);
  font-family: var(--ui);
  font-size: .84rem; line-height: 1.6;
  color: rgba(243, 236, 224, .88);
}
.warn::before { content: "!"; font-family: var(--sans); font-weight: 600; color: var(--brass-300); flex: 0 0 auto; }

.work-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  max-width: 76ch;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-mute);
}

.slip-note {
  margin: 24px 0 0;
  padding: 20px 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--rule-dark);
  border-left: 2px solid var(--brass-400);
  background: rgba(6, 21, 15, .34);
  font-family: var(--sans);
  font-size: .8rem; line-height: 1.8;
  color: var(--on-dark-soft);
}
@media (min-width: 680px) { .slip-note { padding: 24px 26px; font-size: .835rem; } }
.ekb { margin-top: 26px; }

/* ---------- 19. Reach / contact ---------- */
.reach-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .reach-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; } }

.dial { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.dial li { border-top: 1px solid var(--rule); }
.dial li:last-child { border-bottom: 1px solid var(--rule); }
.dial a, .dial .ln {
  display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 16px 0;
  min-height: 48px;
}
.dial .k {
  font-family: var(--sans);
  font-size: .615rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute);
}
.dial .v {
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .95rem; letter-spacing: .01em;
  color: var(--pine-800);
  overflow-wrap: anywhere;
}
.dial a:hover .v { color: var(--brass-600); }
.dial .ln .v { font-family: var(--ui); color: var(--ink-soft); font-size: .92rem; }

/* ---------- 20. CTA band ---------- */
.band { position: relative; overflow: hidden; }
.band-inner { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .band-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.band h2 { color: #fff; max-width: 24ch; }
.band .lede { margin-top: 16px; }
.band-side { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .band-side { justify-items: stretch; } }
.band-side .act { width: 100%; }
.band-side .meta { color: var(--on-dark-mute); }

/* ---------- 21. Footer ---------- */
.colophon {
  position: relative;
  background: var(--pine-900);
  color: var(--on-dark);
  overflow: hidden;
  padding-top: 56px;
}
.colophon::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 14% 0%, rgba(223, 169, 76, .14), transparent 54%);
  pointer-events: none;
}
.colophon > * { position: relative; z-index: 1; }
.colophon-top { display: grid; gap: 22px; padding-bottom: 42px; }
@media (min-width: 900px) { .colophon-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; } }
.colophon-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 17vw, 7rem);
  line-height: .86;
  letter-spacing: .04em;
  color: var(--on-dark);
}
.colophon-mark em { font-style: italic; color: var(--brass-500); }
.colophon-top p { color: var(--on-dark-soft); max-width: 44ch; font-size: .96rem; }

.colophon-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-dark);
  padding-top: 38px;
}
@media (min-width: 620px) { .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; } }
@media (min-width: 980px) { .colophon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.col-head {
  font-family: var(--sans);
  font-size: .615rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 16px;
}
.colophon-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.colophon-grid li a,
.colophon-grid li .ln {
  display: flex; align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: var(--on-dark-soft);
  font-size: .915rem;
  line-height: 1.5;
  transition: color .22s var(--ease), padding-left .3s var(--ease-out);
}
.colophon-grid li a:hover { color: var(--brass-300); padding-left: 7px; }
.colophon-grid li .ln { color: var(--on-dark-mute); font-size: .875rem; }
.colophon-grid .num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.colophon-base {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  margin-top: 44px; padding: 22px 0 28px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--sans);
  font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.colophon-base a {
  color: var(--on-dark-soft);
  transition: color .22s var(--ease);
  min-height: 44px; display: inline-flex; align-items: center;
}
.colophon-base a:hover { color: var(--brass-300); }

/* ---------- 22. Sticky mobile action bar ---------- */
.dock {
  position: fixed; z-index: 115;
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-dark);
  border-top: 1px solid var(--rule-brass);
  padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateY(102%);
  transition: transform .4s var(--ease-out);
  box-shadow: 0 -16px 40px -22px rgba(6, 21, 15, .6);
}
.dock.is-on { transform: none; }
.dock a {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px;
  padding: 14px 10px;
  background: rgba(12, 42, 34, .95);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: .665rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-align: center;
}
.dock a.is-key { background: var(--brass-500); color: #1c1203; }
.dock a svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (min-width: 1060px) { .dock { display: none; } }
@media (max-width: 1059px) { body { padding-bottom: 0; } body.has-dock .colophon-base { padding-bottom: 86px; } }

/* ---------- 23. Scroll reveal ---------- */
[data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .82s var(--ease-out), transform .82s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-rise].is-in { opacity: 1; transform: none; }

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media img { animation: none; transform: none; }
  .hero-flare { animation: none; }
  .scan-sweep { animation: none; opacity: .5; transform: translateY(120%); }
  .hero-scroll::after { animation: none; }
  [data-rise] { opacity: 1; transform: none; }
  .reel { scroll-behavior: auto; }
  .dock { transition: none; }
}

/* ---------- 25. Print ---------- */
@media print {
  .mast-row, .topbar, .nav, .dock, .grain, .hero-flare, .hero-grain, .scan-sweep, .nav-veil { display: none !important; }
  body { background: #fff; color: #000; }
  .dark-field, .colophon { background: #fff !important; color: #000 !important; }
}
