/* IntelliSign — public site stylesheet (premium pass, 2026-10-12)
   Architectural/editorial: Instrument Serif display + Inter text, restrained palette,
   amber only for primary actions and "lit" accents, cyan only for the focus ring.
   Mobile-first. Breakpoints: 720px (gutter + 2-col grids), 980px (desktop nav, multi-col, launcher). */
:root {
  --ink: #0b0d12; --ink-2: #12151d; --ink-3: #1b202b; --line-dark: #2a3042;
  --paper: #f8f6f1; --paper-2: #efebe3; --line: #e1dcd2; --text: #16181d; --muted: #5a5f6b;
  --text-on-dark: #f3f0e9; --muted-on-dark: #a8acb7;
  --halo: #ffb547; --halo-deep: #e8931a; --neon: #ff4fa3; --cyan: #46e0ff;
  --ok: #1f9d55; --warn: #b7791f; --danger: #c53030;
  --radius: 4px; --radius-sm: 4px; --radius-btn: 6px; --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(11, 13, 18, .04), 0 12px 32px rgba(11, 13, 18, .06);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, .45);
  --font-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-body); /* legacy alias: small UI headings stay in Inter */
  --max: 1320px;
  --section-y: clamp(64px, 10vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --halo-text: #8a5200; --halo-soft: #fff3dc;
  --ok-deep: #17703f; --ok-soft: #e6f4ec;
  --warn-deep: #8a5a12; --warn-soft: #fbf1dc;
  --danger-soft: #fdeeee;
  --info: #0e6680; --info-soft: #e4f4f8;
  --focus-ring: 0 0 0 2px var(--ink), 0 0 0 5px var(--cyan);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 104px;
  --header-h: 68px; --mobile-cta-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; font-feature-settings: "ss01", "cv11"; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 400; color: inherit; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.02em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); letter-spacing: -.015em; line-height: 1.06; }
h3, h4 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h3 { font-size: 1.12rem; }
h1 em, h2 em { font-style: italic; }
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.015em; }
.h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--halo); color: var(--ink); padding: 10px 16px; z-index: 200; font-weight: 600; border-radius: 0 0 var(--radius-btn) 0; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tiny { font-size: .78rem; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.center-x { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.between { justify-content: space-between; }
.nowrap { white-space: nowrap; }
.js-only { display: none !important; }
.js .js-only { display: revert !important; }
.js .no-js-only { display: none !important; }

/* ---------- Layout grids ---------- */
.grid { display: grid; gap: 16px; }
.m2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) {
  .grid { gap: 24px; }
  .g2, .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .split.top { align-items: start; }
  .split-aside { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
}

/* ---------- Banners ---------- */
.preview-banner { background: #2a1f08; color: #ffe2a8; font-size: .8rem; text-align: center; padding: 7px 16px; letter-spacing: .01em; }
.preview-banner a { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .9); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--text-on-dark); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-on-dark); min-height: 44px; flex: none; }
.brand img { width: 30px; height: 30px; }
.brand-name { font: 600 1.06rem var(--font-body); letter-spacing: -.01em; white-space: nowrap; }
.brand-name span { color: var(--halo); }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { position: relative; text-decoration: none; color: var(--muted-on-dark); padding: 10px 12px; font-size: .9rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"], .nav a.on { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { width: 44px; height: 44px; border-radius: var(--radius-btn); border: 1px solid var(--line-dark); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.header-cta .long { display: none; }
.mobile-nav { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 8px 0 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 2px; color: var(--text-on-dark); text-decoration: none; border-bottom: 1px solid var(--ink-3); font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: #fff; font-weight: 600; }
.mobile-nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--halo); }
.mobile-nav svg { width: 20px; height: 20px; flex: none; }
.mobile-nav-talk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mobile-nav-talk a { border: 1px solid var(--line-dark); border-radius: var(--radius-btn); justify-content: center; min-height: 48px; font-size: .95rem; }
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
.mobile-nav a.btn-primary { color: var(--ink); }
.header-help { color: var(--muted-on-dark); font-size: .9rem; display: flex; align-items: center; gap: 8px; margin: 0; }
.header-help a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.header-help .hh-wa svg { width: 18px; height: 18px; color: #25d366; }
@media (max-width: 420px) { .header-help .hh-label { display: none; } }
@media (min-width: 980px) {
  .nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .header-cta .long { display: inline; }
  .header-cta .short { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .98rem/1.2 var(--font-body); letter-spacing: -.005em; padding: 14px 24px; border-radius: var(--radius-btn); border: 1px solid transparent; text-decoration: none; cursor: pointer; min-height: 48px; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--halo); color: var(--ink); border-color: var(--halo); }
.btn-primary:hover { background: #ffc469; border-color: #ffc469; }
.btn-secondary { border-color: rgba(22, 24, 29, .35); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--text); }
.section-dark .btn-secondary, .night .btn-secondary, .hero .btn-secondary, .hero-home .btn-secondary, .page-hero .btn-secondary, .cta-band .btn-secondary, .portal-head .btn-secondary, .photo-band .btn-secondary, .site-footer .btn-secondary { border-color: rgba(243, 240, 233, .4); color: var(--text-on-dark); }
.section-dark .btn-secondary:hover, .night .btn-secondary:hover, .hero .btn-secondary:hover, .hero-home .btn-secondary:hover, .page-hero .btn-secondary:hover, .cta-band .btn-secondary:hover, .photo-band .btn-secondary:hover { border-color: var(--text-on-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost { background: transparent; color: inherit; border-color: transparent; text-decoration: underline; text-underline-offset: 5px; padding-left: 4px; padding-right: 4px; font-weight: 500; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn[aria-busy="true"] { opacity: .8; cursor: progress; }
.btn-consent { background: var(--ink-3); border-color: var(--line-dark); color: var(--text-on-dark); flex: 1; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 44px; height: 44px; border-radius: var(--radius-btn); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; padding: 0; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section.tight { padding-top: 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted, .section-dark .lead { color: var(--muted-on-dark); }
.section-alt { background: var(--paper-2); }
.night { background: var(--ink); color: var(--text-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }
.head-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row .section-head { margin: 0; }
.eyebrow { font: 500 .74rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.section-dark .eyebrow, .night .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .portal-head .eyebrow, .wiz-top .eyebrow { color: var(--muted-on-dark); }
.lead { font-size: 1.1rem; line-height: 1.55; color: var(--muted); max-width: 640px; }
@media (min-width: 980px) { .lead { font-size: 1.2rem; } }

/* ---------- Generic hero (thanks, error) + page hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); padding: 40px 0 56px; }
@media (min-width: 980px) { .hero { padding: 96px 0 112px; } }
.hero h1 { color: #fff; }
.hero .lead { color: var(--muted-on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
@media (max-width: 719px) { .hero-ctas .btn { width: 100%; } }
.hero .media { aspect-ratio: 4 / 3; }
.hero-note { color: var(--muted-on-dark); margin: 18px 0 0; }
.hero-note a, .hero-note button { color: #fff; font-weight: 500; }
.page-hero { background: var(--ink); color: var(--text-on-dark); padding: 28px 0 56px; }
@media (min-width: 980px) { .page-hero { padding: 56px 0 112px; } }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.5rem); max-width: 16ch; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.page-hero .split h1 { max-width: none; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.page-hero .lead, .page-hero .muted { color: var(--muted-on-dark); }
.page-hero .media { aspect-ratio: 4 / 3; }
@media (min-width: 980px) { .page-hero .media { aspect-ratio: 1 / 1; max-height: 640px; } }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.breadcrumbs { font-size: .82rem; color: var(--muted-on-dark); margin-bottom: 28px; }
.breadcrumbs a { color: var(--muted-on-dark); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.trust-line { font-size: .9rem; color: var(--muted-on-dark); margin: 0; letter-spacing: .01em; }
.trust-line span + span::before { content: "·"; margin: 0 10px; opacity: .7; }

/* ---------- Home hero: full-bleed night photograph ---------- */
.hero-home { position: relative; background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.hero-home .hero-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.hero-home .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-home .hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 13, 18, 0) 60%, rgba(11, 13, 18, .85) 100%); pointer-events: none; }
.hero-home .hero-media .prov { z-index: 2; left: auto; right: 12px; top: 12px; bottom: auto; }
.hero-home .hero-copy { position: relative; padding-top: 4px; padding-bottom: 56px; margin-top: -48px; z-index: 2; }
.hero-home h1 { color: #fff; max-width: 13ch; margin-bottom: 18px; }
.hero-home h1 em { color: #ffe0ad; }
.hero-home .lead { color: #c9ccd4; margin-bottom: 0; }
.hero-home .btn-primary { box-shadow: 0 0 0 1px rgba(255, 181, 71, .35), 0 10px 40px rgba(255, 181, 71, .28); }
/* One-time "switch-on": a dark veil fades away (brightness ~.35 -> 1). Opacity animates reliably on every GPU. */
.hero-home .hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; pointer-events: none; animation: switch-on 1.2s var(--ease) .15s both; }
@keyframes switch-on { 0% { opacity: .65; } 30% { opacity: .58; } 100% { opacity: 0; } }
@media (min-width: 720px) and (max-width: 979px) { .hero-home .hero-media { aspect-ratio: 16 / 11; } }
@media (min-width: 980px) {
  .hero-home { min-height: min(calc(100vh - var(--header-h)), 940px); display: flex; align-items: flex-end; }
  .hero-home .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-home .hero-media img { object-position: 50% 50%; }
  .hero-home .hero-media::after { background: linear-gradient(90deg, rgba(11, 13, 18, .94) 0%, rgba(11, 13, 18, .8) 30%, rgba(11, 13, 18, .35) 58%, rgba(11, 13, 18, 0) 78%), linear-gradient(0deg, rgba(11, 13, 18, .75) 0%, rgba(11, 13, 18, 0) 38%); }
  .hero-home .hero-media .prov { top: 20px; right: 24px; }
  .hero-home .hero-copy { margin-top: 0; padding-top: 120px; padding-bottom: clamp(72px, 9vw, 128px); width: 100%; }
  .hero-home .hero-copy > * { max-width: 620px; }
}

/* ---------- Media + provenance tags ---------- */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.r43 { aspect-ratio: 4 / 3; }
.prov { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1.25 var(--font-body); letter-spacing: .03em; padding: 4px 7px; border-radius: 2px; max-width: calc(100% - 20px); z-index: 2; background: rgba(8, 9, 12, .72); color: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.prov svg { width: 13px; height: 13px; flex: none; }
.prov-partner_example { color: #ffe2b0; }
.prov-customer_project { background: rgba(23, 112, 63, .92); color: #fff; }
.prov-customer_project .prov-text { display: flex; flex-direction: column; gap: 1px; }
.prov .loc { font-weight: 400; opacity: .9; }
.prov.static { position: static; font-size: .76rem; padding: 6px 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: #fff; pointer-events: auto; }
.prov.static.prov-customer_project { background: var(--ok-deep); border-color: var(--ok-deep); }
.prov.top { top: 10px; bottom: auto; }
.legend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.legend-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--muted-on-dark); line-height: 1.5; }
@media (min-width: 720px) { .legend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; } }
@media (min-width: 1100px) { .legend-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.legend-details { margin-top: 36px; border-top: 1px solid var(--line-dark); padding-top: 8px; }
.legend-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; font-size: .92rem; }
.figcap { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.section-dark .figcap { color: var(--muted-on-dark); }

/* Image hover zoom (cards) */
.pcard .media img, .ind-card .media img, .tile .media img { transition: transform .9s var(--ease); }
.pcard:hover .media img, .ind-card:hover .media img, .tile-open:hover .media img { transform: scale(1.03); }

/* ---------- Editorial product cards ---------- */
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.pcard .media { aspect-ratio: 4 / 5; }
.pcard-body { padding: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.pcard-body h3 { margin: 0; font-size: 1.14rem; }
.pcard-body p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pcard-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; margin-top: 6px; min-height: 32px; }
.pcard-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pcard:hover .pcard-link svg { transform: translateX(4px); }
.pcard:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.section-dark .pcard-body p, .pcard-dark .pcard-body p { color: var(--muted-on-dark); }
.section-dark .pcard-body h3 { color: #fff; }
/* 2 + 3 editorial grid (phones: swipe row) */
.pgrid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pgrid::-webkit-scrollbar { display: none; }
.pgrid > * { flex: 0 0 80%; scroll-snap-align: start; }
@media (max-width: 719px) {
  .pgrid.stack-sm { display: grid; gap: 40px; overflow: visible; margin: 0; padding: 0; }
  .pgrid.stack-sm .media { aspect-ratio: 4 / 3; }
}
@media (min-width: 720px) {
  .pgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 24px; overflow: visible; margin: 0; padding: 0; }
  .pgrid > * { grid-column: span 2; }
  .pgrid > :nth-child(1), .pgrid > :nth-child(2) { grid-column: span 3; }
  .pgrid > :nth-child(1) .media, .pgrid > :nth-child(2) .media { aspect-ratio: 5 / 4; }
  .pgrid.even > :nth-child(n) { grid-column: span 2; }
  .pgrid.even > :nth-child(n) .media { aspect-ratio: 4 / 5; }
}
@media (min-width: 980px) { .pgrid { gap: 72px 32px; } }
.swipe-hint { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
@media (min-width: 720px) { .swipe-hint { display: none; } }

/* Legacy card (still used by a few pages) */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.card .media { border-radius: 0; aspect-ratio: 4 / 3; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3, .card-body p { margin: 0; }

/* ---------- Industry cards (4:5) ---------- */
.ind-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: var(--ink-2); }
.ind-card .media { position: absolute; inset: 0; border-radius: 0; }
.ind-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 18, 0) 45%, rgba(11, 13, 18, .88)); }
.ind-card .ind-body { position: relative; padding: 16px; width: 100%; z-index: 1; }
.ind-card .prov { top: 8px; bottom: auto; left: 8px; }
.ind-card h3 { margin: 0 0 4px; font: 400 clamp(1.35rem, 2vw, 1.75rem)/1.1 var(--font-serif); letter-spacing: -.01em; color: #fff; }
.ind-card .more { font-size: .84rem; color: #d9dbe2; display: inline-flex; align-items: center; gap: 6px; }
.ind-card .more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.ind-card:hover .more svg { transform: translateX(3px); }
.ind-card.plain { background: var(--ink); border: 1px solid var(--line-dark); }
.section-alt .ind-card.plain, .ind-card.plain.light { background: transparent; color: var(--text); border-color: rgba(22, 24, 29, .25); }
.section-alt .ind-card.plain h3, .ind-card.plain.light h3 { color: var(--text); }
.section-alt .ind-card.plain .more, .ind-card.plain.light .more { color: var(--muted); }
.ind-card.plain.light:hover { border-color: var(--text); }
@media (min-width: 720px) { .ind-card .ind-body { padding: 22px; } }

/* ---------- Gallery tiles ---------- */
.tile { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.tile .media { aspect-ratio: 4 / 3; }
.tile .tile-title { font: 500 1rem/1.35 var(--font-body); margin: 0; }
.tile .tag { font-size: .7rem; font-weight: 500; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .14em; }
.tile .cap { font-size: .88rem; color: var(--muted-on-dark); margin: 0; line-height: 1.5; }
.tile .where { font-size: .84rem; color: var(--text-on-dark); margin: 0; }
.paper-tile .tag, .paper-tile .cap { color: var(--muted); }
.paper-tile .where { color: var(--text); }
.tile-open { background: none; border: 0; padding: 0; margin: 0; display: block; width: 100%; cursor: zoom-in; color: inherit; text-align: left; border-radius: var(--radius); }

/* ---------- Full-bleed photo band ---------- */
.photo-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.photo-band .band-media { position: relative; aspect-ratio: 4 / 5; }
.photo-band .band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo-band .band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 18, 0) 35%, rgba(11, 13, 18, .88) 100%); }
.photo-band .prov { top: 12px; right: 12px; left: auto; bottom: auto; }
.photo-band .band-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 40px; }
.photo-band h2 { color: #fff; max-width: 18ch; margin-bottom: 22px; }
@media (min-width: 720px) { .photo-band .band-media { aspect-ratio: 16 / 9; } }
@media (min-width: 980px) {
  .photo-band .band-media { aspect-ratio: auto; height: min(78vh, 760px); min-height: 520px; }
  .photo-band .band-copy { padding-bottom: clamp(56px, 7vw, 96px); }
  .photo-band .prov { top: 20px; right: 24px; }
}

/* ---------- "What you get" points ---------- */
.points { display: grid; gap: 40px; list-style: none; margin: 0; padding: 0; counter-reset: pt; }
@media (min-width: 980px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.points li { border-top: 1px solid var(--line); padding-top: 24px; counter-increment: pt; }
.points li::before { content: "0" counter(pt); display: block; font: 400 1.6rem/1 var(--font-serif); color: var(--muted); margin-bottom: 18px; font-style: italic; }
.points h3 { font-size: 1.15rem; margin: 0 0 8px; }
.points p { margin: 0; color: var(--muted); }
.section-dark .points li { border-color: var(--line-dark); }
.section-dark .points p, .section-dark .points li::before { color: var(--muted-on-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .steps.h5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.step .num { font: 400 2rem/1 var(--font-serif); font-style: italic; color: var(--muted); }
.step h3 { margin: 6px 0 0; font-size: 1.02rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.step.approve { background: var(--ink); border-color: rgba(255, 181, 71, .55); color: var(--text-on-dark); }
.step.approve h3 { color: #fff; }
.step.approve .num { color: var(--halo); }
.step.approve p { color: var(--muted-on-dark); }
.section-dark .step:not(.approve) { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .step:not(.approve) p, .section-dark .step:not(.approve) .num { color: var(--muted-on-dark); }
.approve-badge { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--halo); border: 1px solid rgba(255, 181, 71, .5); font: 600 .68rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 2px; align-self: flex-start; }
.approve-badge svg { width: 13px; height: 13px; }
.approve-badge.lg { font-size: .74rem; padding: 8px 12px; }

/* ---------- Timeline (how it works) ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 0 0 0 52px; margin: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; }
.tl-item .dot { position: absolute; left: -52px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font: 400 1.15rem var(--font-serif); font-style: italic; }
.tl-item .dot svg { width: 16px; height: 16px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tl-card h3 { margin: 0 0 8px; }
.tl-card p { margin: 0 0 8px; color: var(--muted); font-size: .96rem; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-item.approve .dot { background: var(--ink); border-color: var(--halo); color: var(--halo); }
.tl-item.approve .tl-card { background: var(--ink); color: var(--text-on-dark); border-color: rgba(255, 181, 71, .55); }
.tl-item.approve .tl-card h3 { color: #fff; margin-top: 14px; }
.tl-item.approve .tl-card p { color: var(--muted-on-dark); }
.tl-item.approve .tl-card a { color: #fff; }
.tl-grid { display: grid; gap: 16px; }
@media (min-width: 980px) { .tl-grid { grid-template-columns: minmax(0, 1fr) 180px; align-items: start; } }
.fact { display: flex; gap: 8px; align-items: baseline; font-size: .9rem; margin: 6px 0 0; }
.fact b { font-weight: 600; flex: none; }
.thumb-portal { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper); padding: 10px; color: var(--text); width: 100%; font-size: .72rem; }
.thumb-portal .bar { height: 8px; border-radius: 2px; background: var(--line); margin: 5px 0; }
.thumb-portal .bar.amber { background: var(--halo); width: 60%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font: 500 1.04rem/1.4 var(--font-body); min-height: 60px; width: 100%; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); color: var(--muted); }
.faq-q:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-item[open] .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 40px 22px 2px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.section-dark .faq, .section-dark .faq-item { border-color: var(--line-dark); }
.section-dark .faq-a { color: var(--muted-on-dark); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(700px 260px at 50% 110%, rgba(255, 181, 71, .16), transparent 70%), var(--ink); color: var(--text-on-dark); border-radius: var(--radius); padding: 56px 22px; text-align: center; }
@media (min-width: 980px) { .cta-band { padding: 112px 48px; } }
.cta-band h2 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted-on-dark); max-width: 520px; margin: 0 auto 32px; }
.cta-band .row { justify-content: center; }
@media (max-width: 719px) { .cta-band .row .btn { width: 100%; } }

/* ---------- Lists / features / options ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ok-deep); }
.section-dark .checks svg, .night .checks svg, .aside-dark .checks svg { color: var(--text-on-dark); opacity: .8; }
.feature { background: transparent; border-top: 1px solid var(--line); padding: 24px 0 8px; }
.feature h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.feature h3:first-child { margin-top: 0; }
.feature h3 a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.feature h3 a:hover { text-decoration: underline; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.feature p + p { margin-top: 6px; }
.feature .ic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); display: flex; align-items: center; justify-content: center; }
.feature .ic svg { width: 17px; height: 17px; }
.section-dark .feature { border-color: var(--line-dark); }
.section-dark .feature p { color: var(--muted-on-dark); }
.section-dark .feature .ic { border-color: var(--line-dark); color: var(--text-on-dark); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-card h2, .side-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.aside-dark { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.aside-dark h2, .aside-dark h3 { color: #fff; }
.aside-dark .muted { color: var(--muted-on-dark); }
.opt-row { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.opt-row:first-child { border-top: 1px solid var(--line); }
@media (min-width: 980px) { .opt-row { grid-template-columns: 260px 1fr; align-items: baseline; } }
.opt-row .lbl { font: 600 1rem var(--font-body); margin: 0; }
.pill { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: var(--radius-btn); background: transparent; border: 1px solid var(--line); font-size: .88rem; line-height: 1.3; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.callout { background: var(--halo-soft); border: 1px solid #f1d39a; border-left: 3px solid var(--halo-deep); border-radius: var(--radius); padding: 14px 18px; margin: 1.2em 0; }
.callout.info { background: var(--info-soft); border-color: #b8e0ea; border-left-color: var(--info); }
.callout.warn, .callout.danger { background: var(--danger-soft); border-color: #f0bcbc; border-left-color: var(--danger); }
.callout.ok { background: var(--ok-soft); border-color: #b9dfc7; border-left-color: var(--ok-deep); }
.callout > :last-child { margin-bottom: 0; }
.prose-block p { max-width: 680px; }
.prose-block h2 + p { margin-top: 8px; }
.daynight { display: grid; gap: 32px; }
@media (min-width: 980px) { .daynight { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; } }
.daynight .media { aspect-ratio: 3 / 2; }

/* ---------- Day / night compare slider ---------- */
.compare { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); --pos: 35%; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-day { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 2; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.compare-handle span { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.compare-handle span::before { left: 8px; border-right-color: var(--ink); }
.compare-handle span::after { right: 8px; border-left-color: var(--ink); }
.compare-label { position: absolute; top: 12px; z-index: 2; font: 500 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(8, 9, 12, .6); padding: 7px 9px; border-radius: 2px; pointer-events: none; }
.compare-label.day { left: 12px; }
.compare-label.night { right: 12px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; background: transparent; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.compare-range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.compare .prov { z-index: 4; }
.compare-help { font-size: .84rem; color: var(--muted-on-dark); margin: 12px 0 0; }

/* ---------- Testimonials (rendered only when verified ones exist) ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.quote-card blockquote { margin: 0 0 16px; font: 400 1.4rem/1.35 var(--font-serif); }
.quote-card figcaption { font-size: .9rem; }

/* ---------- Prose (policies, long copy) ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--info); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; font-size: .95rem; }
.toc ol { margin: 6px 0 0; }
.draft-note { border: 1px dashed var(--warn); background: #fffaf0; color: #744210; padding: 12px 16px; border-radius: var(--radius); font-size: .92rem; margin-bottom: 24px; }

/* ---------- Gallery ---------- */
.filter-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(11, 13, 18, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 10px 0; }
.filter-row { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 2px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row + .filter-row { margin-top: 6px; }
.filter-row .flabel { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-on-dark); flex: none; margin-right: 8px; font-weight: 500; min-width: 44px; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid transparent; color: var(--muted-on-dark); text-decoration: none; font-size: .88rem; white-space: nowrap; }
.fchip:hover { color: #fff; border-color: var(--line-dark); }
.fchip .ct { font-size: .74rem; opacity: .7; }
.fchip[aria-current="true"] { background: var(--text-on-dark); color: var(--ink); border-color: var(--text-on-dark); font-weight: 600; }
.gallery-grid { display: grid; gap: 40px 24px; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; } }
.empty { text-align: center; border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: 48px 20px; max-width: 640px; margin: 0 auto; }
.empty h2 { font-size: 1.8rem; }
.empty .row { justify-content: center; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(5, 6, 10, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: 100%; max-width: 1080px; color: var(--text-on-dark); display: flex; flex-direction: column; gap: 12px; max-height: 100%; overflow-y: auto; }
.lightbox .media img { max-height: 72vh; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.lightbox .icon-btn { background: var(--ink-3); border-color: var(--line-dark); color: #fff; width: 52px; height: 52px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .legend { font: 600 .95rem var(--font-body); color: var(--text); padding: 0; }
fieldset.field > legend { margin-bottom: 10px; }
.req { color: var(--danger); font-weight: 600; margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.help { font-size: .86rem; color: var(--muted); margin: 0; }
.input, .select, .textarea,
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], select, textarea {
  font: inherit; font-size: 16px; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9c2b5; border-radius: var(--radius-btn); background: #fff; color: var(--text); transition: border-color .15s;
}
input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover, select:hover, textarea:hover { border-color: #9c9588; }
textarea, .textarea { min-height: 110px; resize: vertical; }
select, .select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: var(--focus-ring); outline: 0; }
[aria-invalid="true"]:is(input, select, textarea), .is-error:is(input, select, textarea) { border-color: var(--danger); background-color: #fffafa; }
.error-text { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: .88rem; font-weight: 600; margin: 0; }
.error-text[hidden] { display: none; }
.error-text svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.field.has-error > legend, .field.has-error > label { color: var(--danger); }
.field.has-error .choice, .field.has-error .rp { border-color: var(--danger); }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { display: grid; gap: 0 16px; grid-template-columns: 2fr 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Choice cards */
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) { .choice-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice-stack { display: grid; gap: 8px; }
@media (min-width: 720px) { .choice-stack.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; flex-direction: column; gap: 10px; border: 1px solid #c9c2b5; border-radius: var(--radius-btn); background: #fff; padding: 8px 8px 12px; min-height: 44px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice:hover { border-color: #9c9588; }
.choice > input, .rp > input, .check > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice .thumb { aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; position: relative; background: var(--ink-2); }
.choice .thumb img { width: 100%; height: 100%; object-fit: cover; }
.choice .thumb .prov { left: 4px; bottom: 4px; font-size: 9.5px; padding: 3px 5px; }
.choice .thumb.none { display: flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--muted); font: 400 1.8rem var(--font-serif); }
.choice .ctext { font-weight: 600; font-size: .9rem; line-height: 1.3; padding: 0 26px 0 4px; }
.choice .box { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 4px; border: 1.5px solid #9a9488; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 3; color: transparent; }
.choice .box svg { width: 14px; height: 14px; }
.choice:has(input:checked), .choice.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice:has(input:checked) .box, .choice.on .box { background: var(--ink); border-color: var(--ink); color: var(--halo); }
.choice:has(input:focus-visible), .rp:has(input:focus-visible), .check:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.choice.row-choice { flex-direction: row; align-items: center; min-height: 56px; padding: 12px 14px; gap: 12px; }
.choice.row-choice .box { position: static; border-radius: 50%; flex: none; }
.choice.row-choice .box i { width: 10px; height: 10px; border-radius: 50%; background: transparent; display: block; }
.choice.row-choice:has(input:checked) .box i { background: var(--halo); }
.choice.row-choice .ctext { padding: 0; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rp { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-btn); border: 1px solid #c9c2b5; background: #fff; font-weight: 500; font-size: .94rem; cursor: pointer; }
.rp:hover { border-color: #9c9588; }
.rp:has(input:checked), .rp.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; cursor: pointer; min-height: 44px; padding: 10px 0; }
.check .box { width: 24px; height: 24px; flex: none; border-radius: 4px; border: 1.5px solid #9a9488; background: #fff; display: flex; align-items: center; justify-content: center; margin-top: 1px; color: transparent; }
.check .box svg { width: 15px; height: 15px; }
.check:has(input:checked) .box, .check.on .box { background: var(--ink); border-color: var(--ink); color: var(--halo); }
.ack { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 14px; }
.ack .check { padding: 0; }
.dropzone { border: 1px dashed #a9a296; border-radius: var(--radius-btn); background: #fff; padding: 28px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; transition: border-color .15s, background .15s; }
.dropzone.is-drag { border-color: var(--ink); background: var(--halo-soft); }
.dropzone > svg { width: 28px; height: 28px; color: var(--muted); }
.dropzone label { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.dropzone label b { text-decoration: underline; text-underline-offset: 4px; }
.dropzone input[type=file] { font-size: .9rem; max-width: 100%; }
.js .dropzone input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 6px 6px 6px 12px; font-size: .9rem; min-width: 0; }
.file-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .sz { color: var(--muted); font-size: .82rem; flex: none; }
.file-list .why { color: var(--danger); font-size: .82rem; font-weight: 600; }
.file-list li.bad { border-color: var(--danger); background: var(--danger-soft); flex-wrap: wrap; }

/* Flash messages */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-btn); border: 1px solid; font-size: .94rem; margin-bottom: 12px; }
.flash svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.flash-success { background: var(--ok-soft); border-color: #b9dfc7; color: var(--ok-deep); }
.flash-error, .flash-danger { background: var(--danger-soft); border-color: #f0bcbc; color: var(--danger); }
.flash-info, .flash-message { background: var(--info-soft); border-color: #b8e0ea; color: var(--info); }
.flash-warning { background: var(--warn-soft); border-color: #ecd39b; color: var(--warn-deep); }

/* ---------- Quote wizard ---------- */
.quote-page { background: var(--paper); }
.wiz-top { background: var(--ink); color: var(--text-on-dark); padding: 22px 0 22px; }
@media (min-width: 980px) { .wiz-top { padding: 48px 0 44px; } }
.wiz-top .eyebrow { margin-bottom: 10px; }
.wiz-top h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.25rem); margin: 0 0 8px; }
.wiz-top .lead { color: var(--muted-on-dark); font-size: 1rem; margin: 0; }
@media (max-width: 719px) { .wiz-top .lead { display: none; } .wiz-top .eyebrow { display: none; } }
.stepper { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
@media (min-width: 980px) { .js .stepper { display: none; } }
.step-label { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; font-weight: 600; }
.wiz-top .step-label { color: var(--text-on-dark); }
.wiz-top .step-label .muted { color: var(--muted-on-dark); font-weight: 500; }
.progress { height: 3px; border-radius: 2px; background: var(--line-dark); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--halo); border-radius: 2px; transition: width .3s var(--ease); width: 25%; }
.wiz-layout { display: grid; gap: 24px; padding: 22px 0 32px; }
@media (min-width: 980px) { .wiz-layout { grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 48px 0 80px; } }
.step-list { display: none; }
@media (min-width: 980px) { .js .step-list { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 100px; list-style: none; padding: 0; margin: 0; } }
.sl { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-btn); font-weight: 500; font-size: .94rem; color: var(--muted); }
.sl .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #c9c2b5; display: inline-flex; align-items: center; justify-content: center; font: 600 .85rem var(--font-body); flex: none; }
.sl.on { background: #fff; color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.sl.on .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.sl.done .n { background: var(--ok-soft); border-color: var(--ok-deep); color: var(--ok-deep); }
.sl.err .n { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.wiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; min-width: 0; }
@media (min-width: 720px) { .wiz-card { padding: 40px; } }
.form-step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.form-step + .form-step { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 20px; }
.js-wizard .form-step + .form-step { border-top: 0; padding-top: 0; margin-top: 0; }
.form-step[hidden] { display: none; }
.form-step > legend { padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.form-step > legend + * { clear: both; }
.step-title { display: block; font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.08 var(--font-serif); letter-spacing: -.015em; color: var(--text); margin: 0; }
.step-kicker { display: block; font: 500 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 8px; }
.step-intro { color: var(--muted); margin: 8px 0 24px; clear: both; }
.form-nav { display: flex; gap: 10px; margin-top: 20px; }
.js-wizard .form-nav { position: sticky; bottom: 0; z-index: 10; margin: 20px -16px -22px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
@media (min-width: 720px) { .js-wizard .form-nav { margin: 28px -40px -40px; padding: 16px 40px; } }
.form-nav .btn { flex: 1; }
.form-nav .btn-secondary { flex: 0 0 auto; padding: 13px 18px; }
.form-nav .btn[hidden] { display: none; }
.err-summary { background: var(--danger-soft); border: 1px solid var(--danger); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; }
.err-summary:focus { outline: 2px solid var(--cyan); outline-offset: 3px; }
.err-summary h2 { font: 600 1.02rem var(--font-body); color: var(--danger); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.err-summary h2 svg { width: 20px; height: 20px; }
.err-summary ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.err-summary a { color: var(--danger); font-weight: 600; }
.reassure { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.reassure svg { width: 18px; height: 18px; color: var(--ok-deep); flex: none; margin-top: 2px; }
.wiz-aside { display: grid; gap: 16px; }
.wiz-aside .side-card h2 { font-size: 1.7rem; }
@media (min-width: 980px) { .wiz-aside { position: sticky; top: 100px; } }
.submit-nojs { margin-top: 8px; }

/* ---------- Thanks ---------- */
.medallion { width: 60px; height: 60px; border-radius: 50%; background: transparent; border: 1px solid var(--halo); color: var(--halo); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 0 32px rgba(255, 181, 71, .25); }
.medallion svg { width: 28px; height: 28px; }
.ref-block { display: inline-flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-dark); background: var(--ink-2); border-radius: var(--radius); padding: 12px 16px; margin: 6px 0 18px; }
.ref-block .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-on-dark); }
.ref-block .v { font: 600 1.2rem ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: clamp(56px, 8vw, 104px) 0 28px; font-size: .92rem; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: var(--muted-on-dark); font: 500 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; }
.footer-top { display: grid; gap: 24px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: inline-flex; min-height: 44px; align-items: center; }
.footer-logo img { height: 40px; width: auto; }
.footer-statement { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.15 var(--font-serif); color: var(--text-on-dark); margin: 0; max-width: 24ch; letter-spacing: -.01em; }
.footer-top .btn { justify-self: start; }
.site-footer .footer-top a.btn:hover { text-decoration: none; }
@media (min-width: 980px) { .footer-top { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 56px; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer-links a, .footer-links button { display: inline-flex; min-height: 44px; align-items: center; }
.footer-links .plain { min-height: 44px; display: flex; align-items: center; }
.footer-links button { background: none; border: 0; padding: 0; font: inherit; color: var(--text-on-dark); cursor: pointer; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 13, 18, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .08); transition: transform .3s var(--ease); }
.mobile-cta .btn-primary { flex: 1; }
.mobile-cta .wa-btn { width: 52px; min-height: 48px; border-radius: var(--radius-btn); border: 1px solid var(--line-dark); background: var(--ink-3); color: #25d366; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mobile-cta .wa-btn svg { width: 24px; height: 24px; }
.mobile-cta.is-hidden { transform: translateY(110%); }
body.has-mobile-cta { padding-bottom: var(--mobile-cta-h); }
body.consent-open .mobile-cta, .chat-open .mobile-cta { display: none; }
@media (min-width: 980px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; background: var(--ink-2); color: var(--text-on-dark); border: 1px solid var(--line-dark); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-dark); }
.consent[hidden] { display: none; }
.consent h2 { font: 600 1.02rem var(--font-body); color: #fff; margin: 0 0 6px; }
.consent p { font-size: .9rem; color: var(--muted-on-dark); margin: 0 0 14px; }
.consent a { color: var(--text-on-dark); }
.consent .row { flex-wrap: nowrap; }

/* ---------- "Talk to us" launcher (desktop) ---------- */
.talk { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: none; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (min-width: 980px) { .js .talk:not([hidden]) { display: flex; } }
.chat-open .talk, .quote-page .talk { display: none !important; }
.talk-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, .14); padding: 0 20px 0 16px; border-radius: var(--radius-btn); font: 600 .95rem var(--font-body); min-height: 50px; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: background .2s; }
.talk-btn:hover { background: var(--ink-3); }
.talk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--halo); box-shadow: 0 0 10px rgba(255, 181, 71, .8); }
.talk-menu { width: 290px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11, 13, 18, .22); padding: 6px; display: grid; gap: 2px; }
.talk-menu[hidden] { display: none; }
.talk-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: var(--text); background: none; border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.talk-item:hover { background: var(--paper-2); }
.talk-item b { display: block; font-weight: 600; font-size: .94rem; }
.talk-item small { display: block; color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.talk-item .ti { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex: none; }
.talk-item .ti svg { width: 18px; height: 18px; }
.talk-item .ti.wa { color: #1c9e4c; }

/* ---------- Chat panel ---------- */
.chat-panel { position: fixed; z-index: 80; inset: 0; background: var(--paper); display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.chat-panel[hidden] { display: none; }
@media (min-width: 720px) { .chat-panel { inset: auto 24px 24px auto; width: 390px; height: min(640px, calc(100vh - 48px)); max-height: 82vh; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark); border: 1px solid var(--line); } }
.chat-head { background: var(--ink); color: #fff; padding: 12px 12px 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.chat-head .t { font: 400 1.35rem var(--font-serif); margin: 0; color: #fff; letter-spacing: 0; }
.chat-head .s { font-size: .76rem; color: var(--muted-on-dark); margin: 0; }
.chat-head .icon-btn { background: transparent; border-color: var(--line-dark); color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.msg.a { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 3px; align-self: flex-start; }
.msg.u { background: var(--ink); color: #fff; border-bottom-right-radius: 3px; align-self: flex-end; }
.msg a { color: var(--info); font-weight: 600; }
.msg.u a { color: var(--halo); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; border-bottom-left-radius: 3px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: block; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-suggest button { font: 500 .86rem var(--font-body); border: 1px solid var(--line); background: #fff; border-radius: var(--radius-btn); padding: 10px 12px; min-height: 44px; color: var(--text); cursor: pointer; text-align: left; }
.chat-suggest button:hover { border-color: var(--text); }
.chat-handoff { background: var(--ok-soft); border: 1px solid #b9dfc7; color: var(--ok-deep); border-radius: var(--radius-btn); padding: 10px 12px; font-size: .88rem; }
.chat-error { background: var(--danger-soft); border: 1px solid #f0bcbc; color: var(--danger); border-radius: var(--radius-btn); padding: 10px 12px; font-size: .88rem; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; flex: none; align-items: flex-end; }
.chat-form textarea { flex: 1; min-height: 46px; height: 46px; max-height: 120px; padding: 11px 12px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: var(--paper); resize: none; }
.chat-form .btn { flex: none; }
.chat-foot { padding: 4px 14px calc(8px + env(safe-area-inset-bottom)); font-size: .74rem; color: var(--muted); background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex: none; }
.chat-foot p { margin: 0; }
.chat-foot button { background: none; border: 0; font: 600 .78rem var(--font-body); color: var(--text); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; flex: none; }

/* ---------- Status badges ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap; background: #eceae5; color: #4a4f5c; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-draft { background: #eceae5; color: #4a4f5c; }
.status-sent { background: var(--info-soft); color: var(--info); }
.status-awaiting { background: var(--warn-soft); color: var(--warn-deep); }
.status-approved { background: var(--ok-soft); color: var(--ok-deep); }
.status-changes { background: #fdeee0; color: #9a4a0b; }
.status-void { background: #eceae5; color: #4a4f5c; }
.status.ok { background: var(--ok-soft); color: var(--ok-deep); }
.status.warn { background: var(--warn-soft); color: var(--warn-deep); }
.status.bad { background: var(--danger-soft); color: var(--danger); }
.status.info { background: var(--info-soft); color: var(--info); }

/* ---------- Approval portal ---------- */
.portal-head { background: var(--ink); color: var(--text-on-dark); padding: 24px 0 32px; }
@media (min-width: 980px) { .portal-head { padding: 48px 0 56px; } }
.portal-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 8px 0 8px; }
.portal-head .meta { color: var(--muted-on-dark); font-size: .9rem; margin: 0; }
.portal-head .row { margin-top: 16px; }
.portal-body { padding: 28px 0 64px; }
@media (min-width: 980px) { .portal-body { padding: 48px 0 104px; } .portal-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; } .portal-grid .sticky { position: sticky; top: 92px; } }
.portal-grid { display: grid; gap: 24px; }
.approval-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.approval-card h2 { font-size: 1.7rem; }
.version-pill { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255, 181, 71, .55); color: var(--halo); font: 600 .8rem var(--font-body); padding: 7px 12px; border-radius: 2px; letter-spacing: .04em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 12px; }
.spec-table td { font-weight: 600; }
.spec-table tr.total th, .spec-table tr.total td { border-bottom: 0; padding-top: 14px; font-size: 1.02rem; color: var(--text); }
.decision { border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; padding: 24px; }
.decision h2 { font-size: 1.8rem; }
.ack .stmt { font-size: .92rem; line-height: 1.5; margin: 0; color: var(--text); }
.ack[hidden] { display: none; }
.history { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.history li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 10px 0; }
.history .hd { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--line); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.history .hd.ok { background: var(--ok-deep); box-shadow: 0 0 0 1px var(--ok-deep); }
.history .hd.ch { background: #c2620f; box-shadow: 0 0 0 1px #c2620f; }
.proof { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); position: relative; }
.proof img { width: 100%; height: auto; }
.proof-list { display: grid; gap: 16px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; text-decoration: none; color: var(--text); min-height: 52px; overflow-wrap: anywhere; }
.file-row svg { width: 22px; height: 22px; color: var(--danger); flex: none; }
.video { background: #05060a; border-radius: var(--radius); overflow: hidden; }
.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #05060a; }
.receipt { border: 1px solid var(--ok-deep); background: var(--ok-soft); border-radius: var(--radius); padding: 20px; }
.receipt h2 { color: var(--ok-deep); font: 600 1.15rem var(--font-body); display: flex; gap: 8px; align-items: center; }
.receipt h2 svg { width: 22px; height: 22px; }
.receipt dl, .kv-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: .94rem; }
.receipt dt, .kv-list dt { color: var(--muted); }
.receipt dd, .kv-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.state-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; }
.state-card.info { border-color: var(--info); background: var(--info-soft); }
.state-card.changes { border-color: #e9b98c; background: #fff8f1; }
.tampered { min-height: 70vh; display: flex; align-items: center; }
.tampered .shield { width: 56px; height: 56px; color: var(--danger); margin-bottom: 16px; }
.pre-line { white-space: pre-line; }

/* ---------- Error page ---------- */
.error-hero { min-height: 62vh; display: flex; align-items: center; }
.error-code { font: 400 clamp(5rem, 16vw, 10rem)/1 var(--font-serif); font-style: italic; color: var(--halo); text-shadow: 0 0 48px rgba(255, 181, 71, .35); margin: 0 0 8px; }

/* ---------- Free logo mockup page ---------- */
.mk-layout { display: grid; gap: 24px; padding-top: 22px; padding-bottom: 40px; }
@media (min-width: 980px) { .mk-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, 500px); gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 80px; } .mk-preview-wrap { position: sticky; top: 92px; } }
.mk-preview-wrap { order: -1; }
@media (min-width: 980px) { .mk-preview-wrap { order: 0; } }
.mk-step { display: flex; align-items: center; gap: 12px; margin: 36px 0 16px; font: 400 clamp(1.6rem, 2.4vw, 2rem)/1.15 var(--font-serif); letter-spacing: -.01em; }
.mk-step:first-of-type { margin-top: 0; }
.mk-step .n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--text); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font: 500 .9rem var(--font-body); flex: none; }
.mk-types { flex-wrap: wrap; }
.mk-loc { display: grid; grid-template-columns: 1fr 96px; gap: 8px; }
.dropzone.is-over { border-color: var(--halo-deep); background: #fff7e8; }
.mk-preview { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark); background: #15181f; }
.mk-wall { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mk-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(0, 0, 0, .55) 100%); }
.mk-preview[data-wall="white"]::after { background: radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0, 0, 0, .18) 100%); }
/* Photo textures first, CSS gradients underneath as the fallback */
.mk-preview[data-wall="brick"] .mk-wall { background-color: #2e1812;
  background-image: url("../img/walls/brick.jpg"), linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    repeating-linear-gradient(0deg, #1a0e0a 0 3px, transparent 3px 34px),
    repeating-linear-gradient(90deg, #1a0e0a 0 3px, transparent 3px 76px),
    linear-gradient(135deg, #5b2e22, #3a1d15 60%, #4a251b);
  background-size: cover, auto, auto, auto, auto; }
.mk-preview[data-wall="stone"] .mk-wall { background-image: url("../img/walls/stone.jpg"), linear-gradient(160deg, #262a31, #15181d 60%, #1f2228); }
.mk-preview[data-wall="wood"] .mk-wall { background-image: url("../img/walls/wood.jpg"), repeating-linear-gradient(90deg, #5a3d27 0 26px, #2a1c12 26px 30px); background-color: #4a3322; }
.mk-preview[data-wall="white"] .mk-wall { background-image: url("../img/walls/white.jpg"), linear-gradient(180deg, #f1eee8, #e2ded6); }
/* Lit styles read best on a wall at dusk: dim the texture (not the logo) */
.mk-preview[data-style="halo"]:not([data-wall="white"]) .mk-wall, .mk-preview[data-style="neon"]:not([data-wall="white"]) .mk-wall, .mk-preview[data-style="front"]:not([data-wall="white"]) .mk-wall { filter: brightness(.5) saturate(.85); }
.mk-sign { position: absolute; inset: 14% 10% 18%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.mk-sign img { max-width: 100%; max-height: 100%; object-fit: contain; transition: filter .3s; }
.mk-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .88); text-align: center; font-weight: 500; padding: 22px; border: 1px dashed rgba(255, 255, 255, .45); border-radius: var(--radius); background: rgba(8, 9, 12, .45); cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mk-preview[data-wall="white"] .mk-placeholder { color: var(--text); border-color: rgba(0, 0, 0, .3); background: rgba(255, 255, 255, .6); }
.mk-placeholder svg { width: 30px; height: 30px; }
.mk-preview .prov { z-index: 3; }
.mk-preview[data-style="halo"] img { filter: brightness(.16) contrast(1.15) drop-shadow(0 0 1.5px rgba(255,226,170,.95)) drop-shadow(0 0 12px rgba(255,181,71,.9)) drop-shadow(0 0 32px rgba(255,181,71,.6)); }
.mk-preview[data-style="front"] img { filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 3px rgba(255,255,255,.85)) drop-shadow(0 0 16px rgba(255,236,200,.55)); }
.mk-preview[data-style="neon"] img { filter: brightness(0) invert(1) drop-shadow(0 0 2px #ff4fa3) drop-shadow(0 0 8px #ff4fa3) drop-shadow(0 0 22px #ff4fa3) drop-shadow(0 0 44px rgba(255,79,163,.6)); }
.mk-preview[data-style="flat"] img { filter: drop-shadow(3px 5px 3px rgba(0,0,0,.5)); }
.mk-preview[data-wall="white"][data-style="halo"] img { filter: brightness(.25) drop-shadow(0 0 10px rgba(255,181,71,.75)) drop-shadow(0 0 24px rgba(255,181,71,.45)); }
.mk-controls { margin-top: 16px; display: grid; gap: 12px; }
.mk-ctl-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mk-ctl-group .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); width: 100%; margin-bottom: 2px; }
.mk-chip { font: 500 .88rem var(--font-body); padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid #c9c2b5; background: #fff; color: var(--text); cursor: pointer; min-height: 44px; }
.mk-chip:hover { border-color: var(--text); }
.mk-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mk-chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.mk-next { margin: 22px 0 0; padding: 18px 0 0 1.2em; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.mk-next li { margin-bottom: 6px; }
.mk-placeholder[hidden], .mk-sign img[hidden] { display: none !important; }

/* ---------- Motion: scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .pcard:hover .media img, .ind-card:hover .media img, .tile-open:hover .media img { transform: none; }
  .typing i { opacity: .6; }
}

@media print {
  .site-header, .site-footer, .mobile-cta, .talk, .chat-panel, .consent, .preview-banner { display: none !important; }
  body { background: #fff; padding: 0 !important; }
}
.hero-home .hero-media picture { display: contents; }
