/* =========================================================
   Crown Signs - Editorial / Signage House
   Warm paper + ink. Big serif display, grotesque body.
   Hairline rules, sharp edges, asymmetric, photo-forward.
   Brand tokens live in :root.
   ========================================================= */

:root {
  /* paper + ink (clean warm-white, near-black, neutral charcoal) */
  --paper:    #f6f4ef;   /* main background, clean warm-white */
  --paper-2:  #eeebe3;   /* panels / alt sections */
  --paper-3:  #e6e1d6;   /* deeper panel */
  --ink:      #111010;   /* near-black - type + dark bands */
  --ink-2:    #2f2c28;   /* secondary text, charcoal */
  --muted:    #74706a;   /* tertiary / captions, neutral gray */
  --line:     rgba(17,16,16,.15);   /* hairline rules */
  --line-2:   rgba(17,16,16,.28);   /* stronger rule */

  /* accent - Crown gold, deepened so it reads on light */
  --accent:        #9a6a11;
  --accent-bright: #c7901a;
  --accent-deep:   #7a5410;

  /* dark band (black/gold) */
  --night:    #0e0c07;
  --night-2:  #16130b;
  --on-night: #f5f2ea;
  --on-night-2: #d2c9b2;
  --night-line: rgba(245,242,234,.16);
  --gold:     #f2a72b;   /* Crown gold, used on dark */
  --gold-bright: #ffc24b;

  /* materials (cross-section figure) */
  --alu:     #b9b2a4;
  --alu-2:   #8f897c;
  --blueprint: rgba(255,219,145,.55);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:    "Archivo", system-ui, -apple-system, sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: 26px;
  --radius: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }

svg.ico, .ico {
  width: 1.1em; height: 1.1em; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* unused legacy ambient layers - neutralized for the editorial system */
.bg-grid, .bg-glow { display: none !important; }

/* ---------- container + rules ---------- */
.container { width: min(100% - 2*var(--gutter), var(--container)); margin-inline: auto; }
.rule { height: 1px; background: var(--line); border: 0; }

/* editorial label: "01 - SECTION" */
.label {
  display: inline-flex; align-items: baseline; gap: .7em;
  font-family: var(--sans); font-weight: 600; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.label .n { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .5em; }
.brand__crown { width: 1.5rem; height: 1.5rem; color: var(--ink); }
.brand__mark { font-family: var(--sans); font-weight: 800; font-size: 1.16rem; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.brand__a { color: var(--ink); }
.brand__b { color: var(--ink); margin-left: .25em; }
.brand__b::before { content: ""; }

/* ---------- buttons (square-ish, editorial) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .94rem; letter-spacing: .01em;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .ico { stroke-width: 2; }
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--primary .ico { transition: transform .2s var(--ease); }
.btn--glass { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--glass:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost { border-color: transparent; padding-inline: .4em; }
.btn--ghost:hover { color: var(--accent); }

/* text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.tlink:hover { color: var(--accent); border-color: var(--accent); }
.tlink .ico { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.tlink:hover .ico { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(244,239,228,.9); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav__inner { width: min(100% - 2*var(--gutter), var(--container)); margin-inline: auto; display: flex; align-items: center; gap: 1.4rem; height: 74px; }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a { font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: .3em 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 1.2rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__phone svg { width: 15px; height: 15px; color: var(--accent); }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: .2rem; padding: 0 var(--gutter) 18px; }
.nav__mobile a { padding: .85em 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.nav__mobile .btn { margin-top: .8rem; border-bottom: none; }
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; background: var(--paper); border-bottom: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 124px) 0; position: relative; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--night); color: var(--on-night); }
.section--ink .label { color: var(--on-night-2); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section__head .label { margin-bottom: 1.4rem; }
.section__head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.015em; }
.section__head p { margin-top: 1.2rem; color: var(--ink-2); font-size: 1.12rem; max-width: 58ch; }
.section--ink .section__head p { color: var(--on-night-2); }

/* kicker kept as alias of label for any legacy markup */
.kicker { display: inline-flex; align-items: center; gap: .6em; font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }

/* ===========================================================
   HERO - editorial, photo-forward
   =========================================================== */
.hero { padding: clamp(116px, 15vh, 168px) 0 0; }
.hero__top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__top b { color: var(--ink); font-weight: 600; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: end; padding-top: clamp(2rem, 4vw, 3.4rem); }
.hero__title { font-family: var(--display); font-weight: 600; font-size: clamp(2.7rem, 6.6vw, 5.2rem); line-height: .98; letter-spacing: -.022em; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { margin-top: 1.6rem; font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.hero__cap { margin-top: .7rem; font-size: .78rem; letter-spacing: .04em; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.hero__cap .n { color: var(--accent); font-weight: 600; }

/* editorial stat strip */
.figrow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(2.4rem, 5vw, 4rem); }
.figrow > div { padding: 1.4rem 1.2rem; border-left: 1px solid var(--line); }
.figrow > div:first-child { border-left: 0; padding-left: 0; }
.fig__n { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.fig__l { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 720px) { .figrow { grid-template-columns: 1fr 1fr; } .figrow > div:nth-child(odd) { border-left: 0; padding-left: 0; } .figrow > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- client index (replaces marquee) ---------- */
.trust { padding: clamp(46px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.clients__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.8rem; }
.clients__head .label { color: var(--muted); }
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients span { background: var(--paper); padding: 1.1rem 1.2rem; font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, 1fr); } .clients span { font-size: .95rem; padding: .9rem 1rem; } }
/* legacy marquee markup fallback */
.marquee, .marquee__track { all: unset; }
.marquee__track span { display: inline-block; margin-right: 2rem; font-family: var(--display); }
.trust__label { display: none; }

/* ---------- credentials row ---------- */
.credbar { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.credbar__inner { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; }
.credbar__item { display: inline-flex; align-items: center; gap: .55em; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.credbar__item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.credbar__sep { display: none; }

/* ---------- credibility statement ---------- */
.cred { padding: clamp(56px, 8vw, 110px) 0; }
.cred__inner { display: grid; gap: 2rem; }
.cred__line { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.18; letter-spacing: -.01em; max-width: 24ch; }
.cred__line a { color: var(--accent); border-bottom: 1px solid var(--accent); white-space: nowrap; }
.cred__chips { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.cred__chip { padding: 1.1rem 1.4rem 1.1rem 0; margin-right: 1.4rem; border-right: 1px solid var(--line); padding-right: 1.4rem; font-size: .95rem; color: var(--ink-2); }
.cred__chip:last-child { border-right: 0; }
.cred__chip b { color: var(--ink); font-weight: 600; }

/* ---------- before / after (kept, editorial) ---------- */
.shift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.panel { padding: clamp(1.6rem, 3vw, 2.4rem); border-left: 1px solid var(--line); }
.panel:first-child { border-left: 0; }
.panel--after { background: var(--ink); color: var(--on-night); }
.panel h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.3rem; }
.panel__tag { font-family: var(--sans); font-size: .7rem; padding: .3em .7em; border: 1px solid currentColor; border-radius: 999px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; width: max-content; }
.panel__tag--bad { color: var(--accent-deep); }
.panel__tag--good { color: var(--gold-bright); }
.ticklist li { position: relative; padding-left: 1.7rem; margin-bottom: .85rem; font-size: .98rem; }
.ticklist li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.ticklist--bad li { color: var(--ink-2); } .ticklist--bad li::before { content: "\00d7"; color: var(--accent-deep); }
.ticklist--good li { color: var(--on-night-2); } .ticklist--good li::before { content: "\2014"; color: var(--gold-bright); }
.shift__arrow { display: none; }

/* ---------- features (editorial cards: hairline, sharp) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1.1rem; }
.feature__ico svg { width: 100%; height: 100%; }
.feature h3 { font-family: var(--display); font-size: 1.22rem; font-weight: 600; margin-bottom: .5rem; }
.feature p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 760px) { .feature { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } }

/* ---------- sign-type index (replaces module cards) ---------- */
.index { border-top: 1px solid var(--ink); }
.irow { display: grid; grid-template-columns: 3rem 1.1fr 1.6fr auto; gap: 1.5rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease), background .25s var(--ease); }
.irow:hover { background: var(--paper-2); padding-inline: 1rem; }
.irow__n { font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.irow__name { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; letter-spacing: -.01em; }
.irow__desc { color: var(--ink-2); font-size: 1rem; }
.irow__go { display: inline-flex; align-items: center; gap: .5em; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.irow__go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.irow:hover .irow__go { color: var(--accent); }
.irow:hover .irow__go svg { transform: translateX(4px); }
@media (max-width: 800px) {
  .irow { grid-template-columns: 2rem 1fr; gap: .5rem 1rem; padding: 1.4rem 0; }
  .irow__desc { grid-column: 2; }
  .irow__go { grid-column: 2; }
  .irow:hover { padding-inline: 0; }
}

/* ---------- service modules (services page) - editorial cards ---------- */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.module { position: relative; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 1.8rem; background: var(--paper); transition: border-color .25s, transform .25s var(--ease); }
.module:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.module__glow { display: none; }
.module__badge { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.module__ico { width: 34px; height: 34px; color: var(--ink); margin-bottom: .9rem; }
.module__ico svg { width: 100%; height: 100%; }
.module h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; margin-bottom: .55rem; }
.module p { color: var(--ink-2); font-size: .97rem; }
.module__list { margin-top: 1rem; }
.module__list li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--ink-2); margin-bottom: .4rem; }
.module__list li::before { content: "\2014"; position: absolute; left: 0; color: var(--accent); }
.module__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 1.1rem; font-weight: 600; font-size: .9rem; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.module__more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.module:hover .module__more { color: var(--accent); border-color: var(--accent); }
.module:hover .module__more svg { transform: translateX(3px); }

.center-cta { margin-top: 2.8rem; }

/* ---------- stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 2rem 1.4rem 2rem 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.section--ink .stat__num { color: var(--gold-bright); }
.stat__label { display: block; margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.section--ink .stat__label { color: var(--on-night-2); }
@media (max-width: 720px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(odd) { border-left: 0; } .stat { padding-right: 1rem; } }

/* ---------- gallery (editorial figures) ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem 1.4rem; }
.gal { position: relative; display: block; text-align: left; background: none; border: 0; cursor: zoom-in; }
.gal__frame, .gal > img { display: block; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); transition: filter .3s; }
.gal:hover img { filter: brightness(.94); }
.gal__cap { position: static; opacity: 1; display: flex; flex-direction: column; padding: .7rem 0 0; background: none; }
.gal__cap b { font-family: var(--display); font-size: 1.02rem; font-weight: 600; }
.gal__cap span { font-size: .84rem; color: var(--muted); }
/* bento spans */
.gal--a { grid-column: span 7; } .gal--a img { aspect-ratio: 16/11; }
.gal--b { grid-column: span 5; } .gal--b img { aspect-ratio: 16/11; }
.gal--c { grid-column: span 4; }
.gal--d { grid-column: span 4; }
.gal--e { grid-column: span 4; }
.gal--f { grid-column: span 6; } .gal--f img { aspect-ratio: 16/10; }
.gal--g { grid-column: span 6; } .gal--g img { aspect-ratio: 16/10; }
.gal--wide { grid-column: span 12; }
.gallery--even .gal { grid-column: span 4; }
.gallery--even .gal:nth-child(7n+1) { grid-column: span 8; }
.gallery--even .gal:nth-child(7n+1) img { aspect-ratio: 16/10; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gal, .gallery--even .gal, .gallery--even .gal:nth-child(7n+1) { grid-column: span 1; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gal { grid-column: span 1 !important; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 4vmin; background: rgba(23,20,14,.94); }
.lightbox.is-open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius); }
.lightbox__cap { position: absolute; bottom: 4vmin; left: 0; right: 0; text-align: center; color: var(--on-night-2); font-size: .95rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,239,228,.1); border: 1px solid var(--night-line); color: var(--on-night); transition: background .2s; }
.lightbox__close { top: 4vmin; right: 4vmin; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #fff; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__prev { left: 3vmin; } .lightbox__next { right: 3vmin; }

/* ===========================================================
   CROSS-SECTION - editorial cutaway figure (dark panel)
   =========================================================== */
.xsec-wrap { position: relative; }
.xsec { position: relative; background: var(--night); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.xsec__bar { display: flex; align-items: center; gap: .55rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--night-line); }
.xsec__bar-ico { width: 14px; height: 14px; color: var(--gold-bright); flex-shrink: 0; }
.xsec__title { font-family: var(--sans); font-size: .72rem; color: var(--on-night); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.xsec__hint { margin-left: auto; font-size: .68rem; color: var(--gold-bright); letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.xsec__stage-wrap { position: relative; aspect-ratio: 7/5; overflow: hidden; background: radial-gradient(120% 100% at 68% 42%, #16140d 0%, var(--night) 72%); }
.xsec-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* schematic context: blueprint grid, scan sweep, wall, dimension lines */
.xs-scan { stroke: rgba(255,194,75,.55); stroke-width: 1.4; opacity: 0; }
.xsec[data-stage="0"] .xs-scan { animation: xsScan 1.6s var(--ease); }
@keyframes xsScan { 0%{transform:translateX(0);opacity:0} 14%{opacity:.7} 86%{opacity:.45} 100%{transform:translateX(420px);opacity:0} }
.xs-wall line { stroke: rgba(245,242,234,.2); stroke-width: 1.3; }
.xs-dims line { stroke: rgba(245,242,234,.34); stroke-width: 1; }
.xs-dimt { fill: rgba(245,242,234,.52); font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .14em; }

/* components: revealed cumulatively as the build progresses */
.cmp { opacity: 0; transition: opacity .55s var(--ease); }
.xsec.is-r-face .cmp--face,
.xsec.is-r-trim .cmp--trim,
.xsec.is-r-led .cmp--led,
.xsec.is-r-return .cmp--return,
.xsec.is-r-raceway .cmp--raceway,
.xsec.is-lit .cmp { opacity: 1; }
.xs-alu { fill: none; stroke: var(--alu); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); transition: stroke .45s var(--ease), filter .45s var(--ease); }
.xs-alu2 { fill: #20211d; stroke: var(--alu-2); stroke-width: 1.6; transition: stroke .4s var(--ease); }
.xs-ps { fill: #181915; stroke: #4a4b44; stroke-width: 1.4; transition: stroke .4s var(--ease); }
.xs-ps-l { stroke: var(--gold); stroke-width: 1.6; }
.xs-trim { fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s var(--ease), filter .45s var(--ease); }
.xs-face { fill: rgba(207,201,187,.45); stroke: #cfc9bb; stroke-width: 1.4; transition: fill .5s var(--ease), filter .5s var(--ease); }
.xs-ledpath { fill: none; stroke: rgba(255,194,75,.38); stroke-width: 1.6; stroke-dasharray: 4 6; transition: stroke .4s var(--ease); }
.xs-led { fill: #5a554a; transition: fill .4s var(--ease); }

/* emphasis: the current stage's component brightens, synced to its label */
.xsec[data-emphasis="raceway"] .xs-alu2,
.xsec[data-emphasis="raceway"] .xs-ps { stroke: var(--gold-bright); }
.xsec[data-emphasis="return"] .xs-alu { stroke: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(255,194,75,.5)); }
.xsec[data-emphasis="trim"] .xs-trim { stroke: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(255,194,75,.6)); }
.xsec[data-emphasis="face"] .xs-face { fill: rgba(255,231,184,.4); }
.xsec[data-emphasis="led"] .xs-ledpath { stroke: var(--gold-bright); animation: xsFlow 1.1s linear infinite; }
.xsec[data-emphasis="led"] .xs-led { animation: xsLed 1.3s ease-in-out infinite; }
.xsec[data-emphasis="led"] .xs-led:nth-of-type(1){animation-delay:0s}
.xsec[data-emphasis="led"] .xs-led:nth-of-type(2){animation-delay:.11s}
.xsec[data-emphasis="led"] .xs-led:nth-of-type(3){animation-delay:.22s}
.xsec[data-emphasis="led"] .xs-led:nth-of-type(4){animation-delay:.33s}
.xsec[data-emphasis="led"] .xs-led:nth-of-type(5){animation-delay:.44s}
@keyframes xsFlow { to { stroke-dashoffset: -20; } }
@keyframes xsLed { 0%,100%{fill:#6a6456} 50%{fill:#ffe7b8} }

/* full illumination */
.xsec.is-lit .xs-face { fill: #ffe7b8; filter: drop-shadow(0 0 6px rgba(255,231,184,.85)) drop-shadow(0 0 22px rgba(255,178,66,.5)); }
.xsec.is-lit .xs-led { fill: #fff1d4; }
.xsec.is-lit .xs-ledpath { stroke: rgba(255,221,150,.7); }
.xsec.is-lit .xs-trim { stroke: var(--gold-bright); }
.xs-faceglow { opacity: 0; transition: opacity .7s var(--ease); }
.xsec.is-lit .xs-faceglow { opacity: 1; animation: xsGlow 3.2s ease-in-out infinite; }
@keyframes xsGlow { 0%,100%{opacity:.82} 50%{opacity:1} }

@media (prefers-reduced-motion: reduce) {
  .xs-scan, .xs-faceglow,
  .xsec[data-emphasis="led"] .xs-led, .xsec[data-emphasis="led"] .xs-ledpath { animation: none !important; }
}

/* anatomy editorial layout */
.anat { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.anat__notes { display: grid; gap: 0; }
.anat__note { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--night-line); transition: background .35s var(--ease); }
.anat__note .n { font-family: var(--sans); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; font-size: .95rem; transition: color .3s var(--ease), transform .3s var(--ease), text-shadow .3s var(--ease); transform-origin: left center; }
.anat__note b { font-family: var(--sans); font-weight: 700; font-size: 1.06rem; letter-spacing: -.005em; display: block; color: #f6f0e6; transition: color .3s var(--ease); }
.anat__note span { display: block; color: #cdc4b4; font-size: .94rem; transition: color .3s var(--ease); }
.anat__note.is-active { background: linear-gradient(90deg, rgba(255,194,75,.08), transparent 62%); }
.anat__note.is-active .n { color: var(--gold-bright); transform: scale(1.16); text-shadow: 0 0 12px rgba(255,194,75,.55); }
.anat__note.is-active b { color: #fff8ec; }
.anat__note.is-active span { color: #e7decb; }
/* dark-section heading + eyebrow contrast */
.section--ink .label { color: var(--on-night-2); }
.section--ink .label .n { color: var(--gold-bright); }
.section--ink .section__head p { color: var(--on-night-2); }
@media (max-width: 860px) { .anat { grid-template-columns: 1fr; } }

/* shared pill segment (legacy) */
.seg { padding: .5em .9em; border-radius: var(--radius); font-size: .85rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink-2); }
.seg.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--display); font-weight: 600; font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } }

/* ---------- guided quote planner ---------- */
.planner { max-width: 760px; border: 1px solid var(--ink); background: var(--paper); padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.planner__bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.planner__dots { display: flex; gap: .5rem; flex: 1; }
.planner__dot { height: 3px; flex: 1; background: var(--line-2); transition: background .3s var(--ease); }
.planner__dot.is-on { background: var(--accent); }
.planner__count { font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pstep { display: none; animation: pstepIn .35s var(--ease); }
.pstep.is-on { display: block; }
@keyframes pstepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pstep__q { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: .4rem; }
.pstep__hint { color: var(--muted); font-size: .94rem; margin-bottom: 1.4rem; }
.popts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--line); }
.popt { display: flex; align-items: center; gap: .8rem; text-align: left; padding: 1.1rem 1.2rem; border: 1px solid var(--line); margin: -.5px; background: var(--paper); color: var(--ink); transition: background .18s var(--ease); }
.popt:hover { background: var(--paper-2); }
.popt.is-sel { background: var(--ink); color: var(--paper); }
.popt.is-sel svg { color: var(--gold-bright); }
.popt svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.popt b { font-family: var(--display); font-weight: 600; font-size: 1rem; display: block; line-height: 1.15; }
.popt > span { display: block; }
.popt > span span { font-size: .8rem; color: var(--muted); }
.popt.is-sel > span span { color: var(--on-night-2); }
.pfields { display: grid; gap: 1.1rem; }
.pfield { display: grid; gap: .45rem; }
.pfield label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pfield input, .pfield select, .pfield textarea { padding: .85em 1em; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line-2); }
.pfield input:focus, .pfield select:focus, .pfield textarea:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.pfield textarea { resize: vertical; min-height: 84px; }
.pfield--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.planner__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.planner__back { color: var(--muted); font-weight: 600; font-size: .92rem; }
.planner__back:hover { color: var(--ink); }
.planner__back[hidden] { visibility: hidden; }
.planner__summary { font-size: .95rem; color: var(--ink-2); padding: 1.1rem 1.3rem; background: var(--paper-2); border-left: 3px solid var(--accent); margin-bottom: 1.4rem; }
.planner__summary b { color: var(--ink); }
.planner__done { text-align: center; padding: 1.5rem 0; }
.planner__done svg { width: 46px; height: 46px; color: var(--accent); margin: 0 auto 1rem; }
.planner__done h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: .6rem; }
.planner__done p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }
@media (max-width: 560px) { .pfield--2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-family: var(--display); font-size: 1.18rem; font-weight: 600; }
.qa__q:hover { color: var(--accent); }
.qa__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--accent); }
.qa__icon::before { width: 13px; height: 2px; }
.qa__icon::after { width: 2px; height: 13px; transition: transform .3s var(--ease); }
.qa.is-open .qa__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.qa__a-inner { padding: 0 0 1.4rem; color: var(--ink-2); font-size: 1.02rem; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta__card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night); color: var(--on-night); padding: clamp(2.6rem, 6vw, 5rem) clamp(1.6rem, 5vw, 4rem); }
.cta__glow { display: none; }
.cta__card .kicker, .cta__card .label { color: var(--gold-bright); margin-bottom: 1.2rem; }
.cta__card h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.03; letter-spacing: -.015em; max-width: 18ch; }
.cta__card p { max-width: 52ch; margin-top: 1.2rem; color: var(--on-night-2); font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.cta__card .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta__card .btn--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.cta__card .btn--glass { color: var(--on-night); border-color: var(--night-line); }
.cta__card .btn--glass:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select { padding: .85em 1em; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.field textarea { resize: vertical; min-height: 130px; }
.form__ok { display: none; padding: .9em 1.1em; border-radius: var(--radius); background: var(--paper-2); border-left: 3px solid var(--accent); color: var(--ink); font-size: .95rem; }
.form__ok.is-shown { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.contact-card { border: 1px solid var(--line); padding: 1.8rem; background: var(--paper-2); }
.contact-card h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 1.2rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-item__ico { flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); }
.contact-item__ico svg { width: 19px; height: 19px; }
.contact-item b { display: block; font-family: var(--display); font-size: 1.02rem; }
.contact-item a, .contact-item span { color: var(--ink-2); font-size: .95rem; }
.contact-item a:hover { color: var(--accent); }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { padding: clamp(128px, 16vh, 184px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.page-hero h1 .accent { color: var(--accent); font-style: italic; }
.page-hero p { max-width: 640px; margin-top: 1.3rem; color: var(--ink-2); font-size: 1.12rem; }
.crumbs { display: inline-flex; gap: .5em; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--line-2); }

/* prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-family: var(--display); font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: .9rem; }
.prose ul { padding-left: 1.3rem; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- detail pages ---------- */
.detail-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.detail-split__media { border: 1px solid var(--line); overflow: hidden; }
.detail-split__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.detail-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.spec-list { display: grid; border-top: 1px solid var(--ink); max-width: 820px; }
.spec-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.spec-row dd { color: var(--ink-2); font-size: .96rem; }
.note-list { max-width: 760px; }
.note-list li { position: relative; padding-left: 1.6rem; margin-bottom: .9rem; color: var(--ink-2); }
.note-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 760px) { .detail-split { grid-template-columns: 1fr; } .spec-row { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { display: flex; align-items: center; gap: .8rem; padding: 1.3rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ind svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.ind b { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }

/* illumination compare (services) */
.illum-look { display: flex; gap: .5rem; margin: .9rem 0 .2rem; }
.illum-look span { flex: 1; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .45em; border: 1px solid var(--line); }
.illum-look .day { color: var(--ink); background: var(--paper-3); }
.illum-look .night { color: var(--gold-bright); background: var(--night); border-color: var(--night); }
.illum-meta { display: flex; gap: 1.4rem; margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.illum-meta b { color: var(--ink-2); font-weight: 600; display: block; }

/* anatomy figure (static, detail pages) */
.anatomy { margin-top: 1.4rem; border: 1px solid var(--line); background: var(--paper-2); padding: 1.3rem; }
.anatomy svg { width: 100%; height: auto; overflow: visible; }
.anatomy figcaption { margin-top: .9rem; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.anatomy figcaption b { color: var(--ink); }
.an-lead { stroke: var(--line-2); stroke-width: 1; }
.an-label { fill: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.an-label b, .an-label tspan.k { fill: var(--ink); }

/* legacy hero chips / eyebrow (fallback) */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.eyebrow__dot { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--ink-2); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--ink); padding: clamp(48px, 6vw, 76px) 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand p { margin-top: 1rem; color: var(--muted); font-size: .95rem; max-width: 32ch; }
.footer__col h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--ink-2); font-size: .95rem; padding: .32em 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a:hover { color: var(--accent); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 1.6rem; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- reveal (gated on .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  body { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__media { max-width: 520px; }
  .hero__media img { aspect-ratio: 16/11; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shift__grid { grid-template-columns: 1fr; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .panel:first-child { border-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column; gap: .4rem; }
}

/* ===========================================================
   R1 REDESIGN - Direction C (Built Work Showcase)
   Additive components. Existing classes untouched (sub-pages
   depend on them). Homepage opts in via new class names.
   =========================================================== */

/* ---------- full-bleed show hero ---------- */
.hero--show {
  padding: 0;
  position: relative;
  min-height: min(86vh, 800px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,20,14,.30) 0%, rgba(23,20,14,.52) 52%, rgba(23,20,14,.88) 100%);
}
.hero__show-inner {
  position: relative;
  padding-block: clamp(140px, 18vh, 200px) clamp(2.2rem, 5vw, 3.6rem);
}
.hero__show-title {
  font-family: var(--display); font-weight: 600; color: var(--on-night);
  font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.022em;
  max-width: 17ch;
}
.hero__show-title em { font-style: italic; color: var(--gold-bright); }
.hero__show-sub { margin-top: 1.5rem; color: var(--on-night-2); font-size: clamp(1.04rem, 1.6vw, 1.25rem); max-width: 60ch; }
.hero--show .hero__actions { margin-top: 2.2rem; }
.hero__show-cap { margin-top: clamp(1.8rem, 4vw, 2.8rem); font-size: .78rem; letter-spacing: .04em; color: rgba(244,239,228,.62); max-width: 52ch; }
.eyebrow--light { color: var(--gold-bright); }
.tlink--light { color: var(--on-night); border-color: rgba(244,239,228,.4); }
.tlink--light:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* gold action button (on dark) */
.btn--gold { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--gold .ico { stroke-width: 2; transition: transform .2s var(--ease); }
.btn--gold:hover .ico { transform: translateX(3px); }

/* ---------- proof strip (capability labels, dark band) ---------- */
.proofstrip { background: var(--ink); color: var(--on-night); border-top: 1px solid var(--night-line); }
.proofstrip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 2.4rem; padding: 1.05rem 0; text-align: center; }
.proofstrip__item { position: relative; font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); padding-left: 1.4rem; }
.proofstrip__item::before { content: ""; position: absolute; left: .35rem; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); transform: translateY(-50%); }
@media (max-width: 560px) { .proofstrip__inner { gap: .45rem 1.4rem; } .proofstrip__item { font-size: .74rem; } }

/* ---------- service cards (image-led) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.svc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -28px rgba(23,20,14,.5); }
.svc__media { aspect-ratio: 16/11; overflow: hidden; background: var(--paper-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.svc h3 { font-family: var(--display); font-size: 1.32rem; font-weight: 600; }
.svc p { color: var(--ink-2); font-size: .96rem; margin-top: .5rem; flex: 1; }
.svc__go { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.2rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.svc__go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.svc:hover .svc__go { color: var(--accent); }
.svc:hover .svc__go svg { transform: translateX(4px); }

/* ---------- bigger proof-wall gallery ---------- */
.section--alt .gallery { gap: 1.5rem; }

/* ---------- mobile sticky quote bar ---------- */
.quotebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(23,20,14,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--night-line);
}
.quotebar .btn { flex: 1; }
.quotebar__call { flex: 0 0 auto; width: 52px; padding-inline: 0; color: var(--on-night); border-color: var(--night-line); }
.quotebar__call:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.quotebar__call .ico { width: 1.2em; height: 1.2em; }
@media (max-width: 880px) {
  .quotebar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- show-hero mobile ---------- */
@media (max-width: 640px) {
  .hero--show { min-height: min(82vh, 680px); }
  .hero__show-inner { padding-block: clamp(116px, 16vh, 150px) 2rem; }
}

/* ===================================================================
   Hi Signs-inspired refinement (R1) - additive components only
   =================================================================== */

/* ---------- project-wall category chips ---------- */
.gal__tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--sans); font-weight: 600; font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  background: rgba(244, 239, 228, .92); border: 1px solid var(--line);
  padding: .32em .62em; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  pointer-events: none;
}
@media (max-width: 520px) { .gal__tag { font-size: .62rem; top: .55rem; left: .55rem; } }

/* ---------- "What Crown handles" capability module ---------- */
.handles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 2.2rem;
}
.handle {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.05rem 0; border-top: 1px solid var(--line);
}
.handle > svg {
  width: 21px; height: 21px; flex: none; color: var(--accent); margin-top: .15rem;
}
.handle b {
  display: block; font-family: var(--display); font-size: 1.06rem;
  font-weight: 600; letter-spacing: -.01em;
}
.handle span {
  display: block; color: var(--ink-2); font-size: .92rem;
  margin-top: .22rem; line-height: 1.5;
}

/* ---------- footer quote CTA ---------- */
.footer__cta { margin-top: 1.1rem; }

/* ---------- service-page proof row (3-up, reuses .gal / .gal__tag / .gal__cap) ---------- */
.proofrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.proofrow .gal img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .proofrow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proofrow { grid-template-columns: 1fr; } }

/* ===================================================================
   Brand + motion polish (R1) - black/gold, intentional animation
   =================================================================== */

/* primary button: black, gold on hover (Crown black/gold) */
.btn--primary:hover { background: var(--ink); border-color: var(--gold); color: var(--gold-bright); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* category chips -> premium near-black + Crown gold */
.gal__tag {
  background: rgba(14,12,7,.82); color: var(--gold-bright);
  border: 1px solid rgba(255,194,75,.34);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  letter-spacing: .1em;
}

/* stronger card hover: lift + slight brighten + gold caption */
.gal { transition: transform .35s var(--ease); }
.gal:hover { transform: translateY(-3px); }
.gal img { transition: filter .35s var(--ease), transform .5s var(--ease); }
.gal:hover img { filter: brightness(1.03) saturate(1.03); }
.gal:hover .gal__cap b { color: var(--accent); }
.gal__cap b { transition: color .25s var(--ease); }

/* ---------- intentional motion ---------- */
/* hero image very subtle, slow scale-in (no parallax jank, no layout shift) */
.hero--show .hero__bg { transform: scale(1.06); transition: transform 1.6s var(--ease); will-change: transform; }
.hero--show.is-hero-in .hero__bg { transform: scale(1); }

/* reveal: a touch more travel (stagger is applied per-sibling in main.js) */
.js [data-reveal] { transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hero--show .hero__bg { transform: none !important; transition: none !important; }
  .js [data-reveal] { transition: none !important; transition-delay: 0ms !important; }
}

/* ---------- stat credibility band (confirmed stats; black/gold) ---------- */
.statband { background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); }
.statband__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: clamp(1.6rem, 3vw, 2.4rem) 0; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--night-line); }
.stat__n { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.02em; color: var(--gold-bright); line-height: 1; }
.stat__l { display: block; margin-top: .5rem; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--on-night-2); }
@media (max-width: 560px) {
  .statband__inner { gap: .8rem; padding: 1.4rem 0; }
  .stat__n { font-size: clamp(1.6rem, 9vw, 2.2rem); }
  .stat__l { font-size: .72rem; }
}

/* ===================================================================
   R2 commercial polish - header contrast, less editorial, tighter feel
   =================================================================== */

/* --- header over the dark hero (homepage only): cream text + gold --- */
.nav--over-hero:not(.is-stuck) .brand__a,
.nav--over-hero:not(.is-stuck) .brand__b { color: var(--on-night); }
.nav--over-hero:not(.is-stuck) .brand__crown { color: var(--gold-bright); }
.nav--over-hero:not(.is-stuck) .nav__links a { color: rgba(245,242,234,.9); }
.nav--over-hero:not(.is-stuck) .nav__links a:hover { color: var(--gold-bright); }
.nav--over-hero:not(.is-stuck) .nav__links a.is-active { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.nav--over-hero:not(.is-stuck) .nav__phone { color: var(--on-night); }
.nav--over-hero:not(.is-stuck) .nav__phone svg { color: var(--gold-bright); }
.nav--over-hero:not(.is-stuck) .nav__phone:hover { color: var(--gold-bright); }
.nav--over-hero:not(.is-stuck) .nav__cta .btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav--over-hero:not(.is-stuck) .nav__cta .btn--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.nav--over-hero:not(.is-stuck) .nav__burger span { background: var(--on-night); }

/* --- less editorial: clean emphasis (no italic), commercial weights --- */
.hero__show-title em { font-style: normal; color: var(--gold-bright); }
.page-hero h1 .accent { font-style: normal; color: var(--accent); }
.nav__links a { font-weight: 600; }
.label { font-size: .77rem; font-weight: 700; }
.kicker { font-size: .77rem; font-weight: 700; }
/* project + proof card names: commercial sans, not gallery serif */
.gal__cap b { font-family: var(--sans); font-weight: 700; font-size: .97rem; letter-spacing: -.005em; }
/* stat numbers: punchy sans for commercial confidence */
.stat__n { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
/* denser, less art-gallery whitespace */
.section { padding: clamp(54px, 7vw, 96px) 0; }
/* stronger, more confident hero scrim (darker top for header, dark base for text) */
.hero__scrim { background: linear-gradient(180deg, rgba(14,12,7,.56) 0%, rgba(14,12,7,.4) 32%, rgba(14,12,7,.6) 68%, rgba(14,12,7,.9) 100%); }

/* ===================================================================
   HERO MOTION + MOBILE + LOGO STRIP (R1) - additive
   =================================================================== */

/* picture wrapper must not create a box (img stays absolute over hero) */
.hero__pic { display: contents; }

/* ---- "sign powers on": image starts dim, brightens as it scales in ---- */
.hero--show .hero__bg {
  transform: scale(1.07);
  filter: brightness(.66) saturate(.9) contrast(1.03);
  transition: transform 1.9s var(--ease), filter 2.4s cubic-bezier(.45,.06,.32,1);
  will-change: transform, filter;
}
.hero--show.is-hero-in .hero__bg {
  transform: scale(1);
  filter: brightness(1) saturate(1) contrast(1);
}

/* left-weighted + vertical scrim so the headline reads over busy signage */
.hero__scrim {
  background:
    linear-gradient(95deg, rgba(14,12,7,.60) 0%, rgba(14,12,7,.32) 42%, rgba(14,12,7,.08) 74%),
    linear-gradient(180deg, rgba(14,12,7,.32) 0%, rgba(14,12,7,.28) 38%, rgba(14,12,7,.60) 72%, rgba(14,12,7,.92) 100%);
}

/* ---- looped gold light sweep (a sign lighting up) ---- */
.hero__sweep { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero__sweep::before {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 30%;
  background: linear-gradient(100deg, rgba(255,221,150,0) 0%, rgba(255,224,165,.20) 44%, rgba(255,236,198,.34) 52%, rgba(255,224,165,.20) 60%, rgba(255,221,150,0) 100%);
  transform: translateX(-160%) skewX(-12deg);
  filter: blur(5px);
  mix-blend-mode: screen;
  animation: heroSweep 10.5s ease-in-out infinite;
}
@keyframes heroSweep {
  0%   { transform: translateX(-160%) skewX(-12deg); opacity: 0; }
  5%   { opacity: 1; }
  26%  { transform: translateX(430%)  skewX(-12deg); opacity: 1; }
  31%  { transform: translateX(430%)  skewX(-12deg); opacity: 0; }
  100% { transform: translateX(430%)  skewX(-12deg); opacity: 0; }
}

/* ---- soft glow breathe near the sign ---- */
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(60% 50% at 50% 62%, rgba(255,205,100,.18) 0%, rgba(255,205,100,0) 66%);
  mix-blend-mode: screen;
  opacity: .2;
  animation: heroGlow 10.5s ease-in-out infinite;
}
@keyframes heroGlow { 0%, 100% { opacity: .14; } 12% { opacity: .5; } 28% { opacity: .2; } }

/* keep hero content above the light layers */
.hero__show-inner { z-index: 2; }

/* ---- credibility strip: center to match the dark capability spine ---- */
.credbar__inner { justify-content: center; text-align: center; }

/* ---- mobile hero: cleaner art-directed image, stronger scrim, tighter rhythm ---- */
@media (max-width: 640px) {
  .hero--show { min-height: min(86vh, 700px); }
  .hero__bg { object-position: 50% 32%; }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(14,12,7,.40) 0%, rgba(14,12,7,.34) 34%, rgba(14,12,7,.70) 70%, rgba(14,12,7,.94) 100%);
  }
  .hero__show-inner { padding-block: clamp(120px, 17vh, 158px) 1.7rem; }
  .eyebrow--light { font-size: .68rem; letter-spacing: .13em; }
  .hero__show-title { font-size: clamp(2.05rem, 8.6vw, 3rem); max-width: 15ch; }
  .hero__show-sub { margin-top: 1.05rem; font-size: 1.01rem; line-height: 1.5; max-width: 40ch; }
  .hero--show .hero__actions { margin-top: 1.5rem; gap: .7rem; width: 100%; }
  .hero__actions .btn--gold { width: 100%; justify-content: center; }
  .hero__show-cap { display: none; }
}

/* ---- client logo strip (replaces text grid) ---- */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.6rem) clamp(1.9rem, 3.6vw, 3.2rem);
}
.logos__item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 44px; }
.logos__item img {
  display: block; height: 34px; width: auto; max-width: 142px; object-fit: contain;
  filter: grayscale(1) contrast(1.03); opacity: .64;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.logos__item img:hover { filter: grayscale(0) contrast(1); opacity: 1; }
@media (max-width: 560px) {
  .logos { gap: 1.7rem 2rem; }
  .logos__item { height: 38px; }
  .logos__item img { height: 29px; max-width: 118px; }
}

/* ---- reduced motion: freeze hero in final lit state ---- */
@media (prefers-reduced-motion: reduce) {
  .hero--show .hero__bg { filter: brightness(1) saturate(1) !important; transition: none !important; }
  .hero__sweep::before { animation: none !important; opacity: 0 !important; }
  .hero__glow { animation: none !important; opacity: .2 !important; }
  .logos__item img { transition: none !important; }
}

/* ===================================================================
   MOBILE TRUST STRIP: capability ticker + credbar cleanup (R1)
   =================================================================== */

/* desktop/tablet: static centered set; ticker hidden */
.proofstrip__static { display: flex; }
.proofstrip__ticker { display: none; }

@media (max-width: 640px) {
  /* swap the wrapping spine for a slow, calm marquee on mobile */
  .proofstrip__static { display: none; }
  .proofstrip__ticker {
    display: block; overflow: hidden; padding: 1rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .proofstrip__track { display: flex; width: max-content; animation: proofTicker 28s linear infinite; }
  .proofstrip__grp { display: flex; flex: 0 0 auto; align-items: center; gap: 0 2.2rem; padding-right: 2.2rem; }
  .proofstrip__ticker .proofstrip__item { font-size: .76rem; white-space: nowrap; }
  .proofstrip__ticker:hover .proofstrip__track,
  .proofstrip__ticker:focus-within .proofstrip__track { animation-play-state: paused; }
}
@keyframes proofTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* white credibility strip: intentional centered 2-col grid on mobile */
@media (max-width: 640px) {
  .credbar { padding: 1.2rem 0; }
  .credbar__inner {
    display: grid; grid-template-columns: auto auto;
    justify-content: center; align-items: center;
    gap: .8rem 1.5rem; text-align: left;
  }
  .credbar__item { font-size: .82rem; }
  .credbar__item:last-child { grid-column: 1 / -1; justify-self: center; }
}

/* reduced motion: kill the ticker, show the static wrapped set */
@media (prefers-reduced-motion: reduce) {
  .proofstrip__track { animation: none !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .proofstrip__ticker { display: none; }
  .proofstrip__static { display: flex; flex-wrap: wrap; }
}

/* ===================================================================
   HEADER LOGO - official Crown Signs lockup (R1)
   =================================================================== */
.brand { gap: 0; }
.brand__logo { display: block; height: 46px; width: auto; }
/* default (light / sticky header + footer): ink lockup */
.brand__logo--gold { display: none; }
.brand__logo--light { display: block; }
/* over the dark hero header: gold lockup */
.nav--over-hero:not(.is-stuck) .brand__logo--light { display: none; }
.nav--over-hero:not(.is-stuck) .brand__logo--gold { display: block; }
/* footer sits on light paper -> ink lockup, a touch larger */
.footer__brand .brand__logo { height: 52px; }
/* mobile: trim the header lockup so it never crowds the burger */
@media (max-width: 640px) {
  .brand__logo { height: 38px; }
  .footer__brand .brand__logo { height: 46px; }
}

/* ===================================================================
   SITEWIDE REVEAL MOTION (R1) - stronger, premium, calm
   =================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* cards / images / logos / steps: subtle scale lift in addition to fade-up */
.js .gal[data-reveal],
.js .svc[data-reveal],
.js .module[data-reveal],
.js .step[data-reveal],
.js .logos__item[data-reveal],
.js [data-reveal="card"] { transform: translateY(24px) scale(.986); }
.js .gal[data-reveal].is-in,
.js .svc[data-reveal].is-in,
.js .module[data-reveal].is-in,
.js .step[data-reveal].is-in,
.js .logos__item[data-reveal].is-in,
.js [data-reveal="card"].is-in { transform: none; }
/* dark sections: a touch more travel for contrast */
.js .section--ink [data-reveal] { transform: translateY(28px); }
.js .section--ink [data-reveal].is-in { transform: none; }
/* reduced motion: show everything instantly, no movement */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
