/* DigitalView Diligence Corporation — site styles
   Layout concept: the case file. Left-set editorial headlines, mono reference labels,
   hairline grids on midnight, with bright "paper" sections where findings are read. */
:root {
  --ink-950: #0A1020;
  --ink-900: #101C35;
  --ink-850: #13213F;
  --ink-800: #1A2B4F;
  --line: rgba(203, 213, 225, 0.14);
  --line-strong: rgba(203, 213, 225, 0.26);
  --silver: #CBD5E1;
  --mist: #9AA8BC;
  --white: #FFFFFF;
  --cyan: #35D5F2;
  --cyan-soft: rgba(53, 213, 242, 0.12);
  --gold: #C5A46D;
  --paper: #F3F5F8;
  --paper-2: #E7EBF1;
  --paper-ink: #0E1830;
  --paper-muted: #46556B;
  --paper-line: #D3DAE4;
  --cyan-deep: #0B7488;
  --danger: #FF8A8A;
  --danger-paper: #B42318;
  --ok: #5EE2A0;

  --f-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.6vw, 2.8rem);
  --step-4: clamp(2.35rem, 1.7rem + 3vw, 4.1rem);
  --step-5: clamp(2.7rem, 1.8rem + 4.4vw, 5.4rem);

  --wrap: 1240px;
  --radius: 6px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--silver);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink-950); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--white); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.025em; }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
::selection { background: var(--cyan); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
.paper :focus-visible { outline-color: var(--cyan-deep); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--ink-950); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- Type helpers ---------- */
.ref { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); display: inline-flex; align-items: center; gap: 10px; }
.ref::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.ref.no-rule::before { display: none; }
.paper .ref { color: var(--paper-muted); }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--silver); max-width: 62ch; }
.paper .lede { color: var(--paper-muted); }
.muted { color: var(--mist); }
.accent { color: var(--cyan); }
.paper .accent { color: var(--cyan-deep); }
.stack > * + * { margin-top: var(--gap, 1.1rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: var(--ink-950); box-shadow: 0 0 0 0 rgba(53,213,242,0); }
.btn-primary:hover { background: #6BE2F7; box-shadow: 0 10px 30px -10px rgba(53,213,242,.55); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.paper .btn-ghost { color: var(--paper-ink); border-color: #B8C2D1; }
.paper .btn-ghost:hover { color: var(--cyan-deep); border-color: var(--cyan-deep); }
.paper .btn-primary { background: var(--ink-950); color: var(--white); }
.paper .btn-primary:hover { background: var(--ink-800); box-shadow: 0 10px 30px -12px rgba(10,16,32,.5); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-family: var(--f-display); font-weight: 700; text-decoration: none; font-size: .95rem; }
.text-link .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }
.paper .text-link { color: var(--cyan-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.always-solid {
  background: rgba(10, 16, 32, 0.84);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 0; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: 0.01em; }
.brand-word span { font-family: var(--f-display); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.3em; color: var(--mist); margin-top: 5px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--silver); text-decoration: none; border-radius: 4px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }
.header-cta { display: none; }
.header-cta.btn { min-height: 42px; padding: 9px 16px; font-size: .86rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.menu-toggle span { position: relative; width: 18px; height: 1.6px; background: currentColor; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .nav a { padding: 8px 9px; font-size: .86rem; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink-950);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.mobile-menu nav ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mobile-menu.is-open nav li { opacity: 1; transform: none; }
.mobile-menu nav li:nth-child(2) { transition-delay: .03s } .mobile-menu nav li:nth-child(3) { transition-delay: .06s }
.mobile-menu nav li:nth-child(4) { transition-delay: .09s } .mobile-menu nav li:nth-child(5) { transition-delay: .12s }
.mobile-menu nav li:nth-child(6) { transition-delay: .15s } .mobile-menu nav li:nth-child(7) { transition-delay: .18s }
.mobile-menu nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--white); text-decoration: none; }
.mobile-menu nav a small { font-family: var(--f-mono); font-size: .7rem; color: var(--mist); letter-spacing: .12em; font-weight: 400; }
.mobile-menu nav a[aria-current="page"] { color: var(--cyan); }
.mobile-menu .mm-foot { margin-top: 28px; display: grid; gap: 14px; }
.mobile-menu .mm-foot a:not(.btn) { color: var(--silver); text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,16,32,.94) 0%, rgba(10,16,32,.78) 38%, rgba(10,16,32,.15) 75%, rgba(10,16,32,.35) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, rgba(10,16,32,0) 28%);
}
.hero-inner { min-height: clamp(560px, 82vh, 860px); display: grid; align-content: center; padding-block: 72px 112px; }
.hero h1 { max-width: 14ch; margin-top: 22px; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--silver); font-weight: 700; }
.hero .lede { margin-top: 26px; max-width: 56ch; }
.hero .btn-row { margin-top: 36px; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 28px; }
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.coords { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--mist); display: none; }
@media (min-width: 720px) { .coords { display: block; } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--mist); text-decoration: none; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; display: block; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i::after { animation: cue 2.2s var(--ease) infinite; } }
@keyframes cue { to { top: 110%; } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .intro { animation: rise .9s var(--ease) both; }
  .js .hero .intro.d1 { animation-delay: .08s } .js .hero .intro.d2 { animation-delay: .18s }
  .js .hero .intro.d3 { animation-delay: .3s } .js .hero .intro.d4 { animation-delay: .42s }
}
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(53,213,242,.12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.page-hero .wrap { padding-block: 72px 64px; display: grid; gap: 40px; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; margin-top: 18px; }
.page-hero .lede { margin-top: 22px; }
.page-hero.has-visual .wrap { align-items: center; }
@media (min-width: 960px) { .page-hero.has-visual .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .page-hero .wrap { padding-block: 104px 88px; } }
.crumbs { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { text-decoration: none; color: var(--mist); }
.crumbs a:hover { color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.section.alt { background: var(--ink-900); }
.paper { background: var(--paper); color: var(--paper-muted); }
.paper h1, .paper h2, .paper h3, .paper h4 { color: var(--paper-ink); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { max-width: 20ch; }
@media (min-width: 960px) {
  .section-head.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 64px; }
}

/* Value grid */
.values { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.value { background: var(--paper); padding: 32px 28px 36px; display: grid; gap: 14px; align-content: start; transition: background-color .3s var(--ease); }
.value:hover { background: var(--white); }
.value .ico { width: 30px; height: 30px; color: var(--cyan-deep); transition: transform .4s var(--ease); }
.value:hover .ico { transform: translateY(-3px); }
.value h3 { font-size: var(--step-1); }
.value .n { font-family: var(--f-mono); font-size: .72rem; color: var(--paper-muted); letter-spacing: .12em; }

/* Service cards */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: 30px 28px 28px; min-height: 100%;
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--silver); overflow: hidden; isolation: isolate;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px 220px at var(--mx, 80%) var(--my, 0%), rgba(53,213,242,.16), transparent 70%);
}
.svc-card:hover { border-color: rgba(53,213,242,.45); transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.8); }
.svc-card:hover::before { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-top .ico { width: 34px; height: 34px; color: var(--cyan); }
.svc-top .code { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: var(--mist); }
.svc-card h2, .svc-card h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }
.svc-card p { font-size: .95rem; color: var(--mist); }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: .9rem; padding-top: 10px; border-top: 1px solid var(--line); }
.svc-card .more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); color: var(--cyan); }
.svc-card:hover .more .ico { transform: translateX(4px); }
.svc-card.other { background: transparent; border-style: dashed; }

/* Timeline */
.timeline { list-style: none; display: grid; gap: 0; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline .prog { position: absolute; left: 15px; top: 8px; width: 1px; height: calc((100% - 16px) * var(--p, 1)); background: var(--cyan); transition: height .2s linear; }
.tl-step { position: relative; padding: 0 0 40px 56px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ink-950); display: grid; place-items: center; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.tl-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.tl-step .num { font-family: var(--f-mono); font-size: .78rem; color: var(--gold); letter-spacing: .12em; }
.tl-step h3 { margin-top: 4px; font-size: var(--step-2); }
.tl-step p { margin-top: 10px; color: var(--mist); max-width: 46ch; }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .timeline::before { left: 0; right: 0; top: 15px; bottom: auto; width: auto; height: 1px; }
  .timeline .prog { left: 0; top: 15px; height: 1px; width: calc(100% * var(--p, 1)); transition: width .2s linear; }
  .tl-step { padding: 56px 0 0; }
}
.section.alt .tl-dot { background: var(--ink-900); }

/* Positioning */
.position { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .position { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.principles { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.principles li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--silver); font-size: .98rem; }
.principles .ico { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 4px; }
.paper .principles { border-color: var(--paper-line); }
.paper .principles li { border-color: var(--paper-line); color: var(--paper-ink); }
.paper .principles .ico { color: var(--cyan-deep); }

.statement { font-family: var(--f-display); font-weight: 800; font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.03em; color: var(--white); }
.statement span { display: block; }
.statement span:nth-child(2) { color: var(--silver); }
.statement span:nth-child(3) { color: var(--cyan); }

/* Visual panels */
.panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--ink-850), var(--ink-950));
  aspect-ratio: 4 / 3; max-width: 100%;
}
.panel svg { width: 100%; height: 100%; display: block; }
.panel figcaption, .panel .cap {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist);
  display: flex; justify-content: space-between; gap: 12px;
}
.panel.tall { aspect-ratio: 4 / 4.4; }
figure { margin: 0; }
.skyline-panel canvas { width: 100%; height: 100%; display: block; }

/* Industries */
.industries { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .industries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ind { background: var(--ink-950); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; transition: background-color .3s var(--ease); }
.ind:hover { background: var(--ink-900); }
.ind .ico { width: 28px; height: 28px; color: var(--cyan); }
.ind h3 { font-size: 1.12rem; line-height: 1.3; }
.ind p { font-size: .93rem; color: var(--mist); }
.ind .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); border: 1px solid var(--line-strong); padding: 3px 7px; border-radius: 3px; }
.paper .tag { color: var(--paper-muted); border-color: #C3CCD8; }

/* Split content */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.split > * { min-width: 0; }

.scope-list { list-style: none; display: grid; gap: 0; counter-reset: sc; border-top: 1px solid var(--paper-line); }
.scope-list li { counter-increment: sc; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--paper-line); color: var(--paper-ink); }
.scope-list li::before { content: counter(sc, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--cyan-deep); padding-top: 3px; }

.callout { border-left: 2px solid var(--gold); padding: 6px 0 6px 20px; color: var(--silver); }
.paper .callout { color: var(--paper-ink); }
.callout strong { color: var(--white); font-family: var(--f-display); }
.paper .callout strong { color: var(--paper-ink); }

.boundary { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(16,28,53,.5); display: grid; gap: 12px; }
.boundary h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.boundary h3 .ico { width: 20px; height: 20px; color: var(--gold); }
.boundary ul { list-style: none; display: grid; gap: 8px; }
.boundary li { padding-left: 18px; position: relative; color: var(--mist); font-size: .95rem; }
.boundary li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--gold); }

.cards-3 { display: grid; gap: 20px; }
@media (min-width: 880px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qa { padding: 28px; border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--white); display: grid; gap: 10px; align-content: start; }
.qa h3 { font-size: 1.12rem; }
.qa p { font-size: .96rem; }

/* Report anatomy */
.report { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(10,16,32,.45); overflow: hidden; }
.report-head { background: var(--ink-950); color: var(--silver); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.report-head svg { width: 26px; height: 26px; }
.report-body { padding: 24px 22px 26px; display: grid; gap: 0; }
.report-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); color: var(--paper-ink); font-size: .95rem; }
.report-row:last-child { border-bottom: 0; }
.report-row b { font-family: var(--f-mono); font-weight: 500; font-size: .75rem; color: var(--cyan-deep); padding-top: 3px; }
.report-row span small { display: block; color: var(--paper-muted); font-size: .85rem; margin-top: 2px; }
.grades { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.grade { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid; }
.g1 { color: #0B6B4E; border-color: #9FD9C2; background: #EAF8F1; }
.g2 { color: #0B5F73; border-color: #A3DCE8; background: #EAF7FA; }
.g3 { color: #7A5A1C; border-color: #E5CF9F; background: #FBF4E4; }
.g4 { color: #8A2C2C; border-color: #EDB8B8; background: #FCEEEE; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 15% 110%, rgba(53,213,242,.16), transparent 70%), radial-gradient(600px 300px at 95% -20%, rgba(197,164,109,.10), transparent 70%); }
.cta-inner { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: minmax(0, 1.3fr) auto; } }
.cta-inner h2 { font-size: var(--step-3); max-width: 22ch; }
.cta-inner p { margin-top: 16px; max-width: 56ch; color: var(--mist); }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { font-family: var(--f-body); font-size: .88rem; font-weight: 500; padding: 9px 16px; min-height: 40px; border-radius: 999px; border: 1px solid #C3CCD8; background: transparent; color: var(--paper-ink); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--cyan-deep); color: var(--cyan-deep); }
.chip[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.articles { display: grid; gap: 24px; }
@media (min-width: 720px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.art-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--paper-muted); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.art-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(10,16,32,.55); border-color: #B9C4D3; }
.art-card .thumb { aspect-ratio: 16 / 9; background: var(--ink-950); position: relative; overflow: hidden; }
.art-card .thumb svg { width: 100%; height: 100%; display: block; transition: transform .6s var(--ease); }
.art-card:hover .thumb svg { transform: scale(1.04); }
.art-card .body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
.art-meta .cat { color: var(--cyan-deep); }
.art-card h3 { font-size: 1.15rem; line-height: 1.3; }
.art-card p { font-size: .94rem; }
.art-card.featured { grid-column: 1 / -1; }
@media (min-width: 1080px) {
  .art-card.featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto; }
  .art-card.featured .thumb { aspect-ratio: auto; min-height: 100%; }
  .art-card.featured .body { padding: 40px; align-content: center; }
  .art-card.featured h3 { font-size: var(--step-2); }
}
.art-card[hidden] { display: none !important; }
.filter-status { font-size: .9rem; margin-top: -20px; margin-bottom: 24px; color: var(--paper-muted); }

/* Prose (articles, legal) */
.prose { max-width: 70ch; color: var(--paper-muted); font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; color: var(--paper-ink); }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; color: var(--paper-ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cyan-deep); }
.prose strong { color: var(--paper-ink); }
.prose a { color: var(--cyan-deep); text-underline-offset: 3px; }
.prose .note { font-size: .92rem; padding: 18px 20px; background: var(--paper-2); border-radius: var(--radius); border-left: 2px solid var(--gold); }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.aside-card h2 { font-size: 1.1rem; }
.aside-card p { font-size: .93rem; }
.aside-card .btn { width: 100%; }
.related { list-style: none; display: grid; gap: 10px; }
.related a { color: var(--paper-ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.related a:hover { color: var(--cyan-deep); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 22px; height: 22px; color: var(--cyan); margin-top: 3px; }
.contact-list .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.contact-list a, .contact-list .v { color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--cyan); }
.notice { border: 1px solid rgba(197,164,109,.4); background: rgba(197,164,109,.07); border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: .93rem; color: var(--silver); }
.notice .ico { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.notice strong { color: var(--white); }

.form { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--white); }
.field .opt { font-weight: 400; color: var(--mist); font-size: .82rem; margin-left: 6px; }
.field .hint { font-size: .82rem; color: var(--mist); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--white);
  background: var(--ink-950); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239AA8BC' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input::placeholder, .textarea::placeholder { color: #66758C; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(203,213,225,.42); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,213,242,.18); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.err { font-size: .84rem; color: var(--danger); display: none; }
.field.has-error .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-size: .93rem; transition: all .2s var(--ease); }
.radio input:checked + span { border-color: var(--cyan); background: var(--cyan-soft); color: var(--white); }
.radio input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .93rem; color: var(--silver); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); }
.check a { color: var(--cyan); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; display: none; }
.form-status.is-error { display: block; border: 1px solid rgba(255,138,138,.45); background: rgba(255,138,138,.08); color: #FFD0D0; }
.form-status.is-ok { display: block; border: 1px solid rgba(94,226,160,.45); background: rgba(94,226,160,.08); color: #D5F8E6; }
.form-status strong { color: var(--white); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(10,16,32,.3); border-top-color: var(--ink-950); border-radius: 50%; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .ico { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--mist); font-size: .82rem; max-width: 42ch; }

.area-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area-card .panel { border: 0; border-radius: 0; aspect-ratio: 16 / 10; }
.area-card .area-body { padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); font-size: .92rem; }

/* Legal */
.legal-toc { list-style: none; display: grid; gap: 8px; font-size: .93rem; }
.legal-toc a { color: var(--paper-ink); text-decoration: none; }
.legal-toc a:hover { color: var(--cyan-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.foot-brand p { margin-top: 18px; color: var(--mist); max-width: 38ch; }
.site-footer h2 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { width: 17px; height: 17px; color: var(--cyan); margin-top: 3px; flex: none; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--mist); font-size: .84rem; }
.foot-base ul { display: flex; gap: 20px; flex-wrap: wrap; }
.localtime { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal.pending { opacity: .001; transform: translateY(22px); }
  .js .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal-group.pending > * { opacity: .001; transform: translateY(18px); }
  .js .reveal-group > * { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal-group > *:nth-child(2) { transition-delay: .07s } .js .reveal-group > *:nth-child(3) { transition-delay: .14s }
  .js .reveal-group > *:nth-child(4) { transition-delay: .21s } .js .reveal-group > *:nth-child(5) { transition-delay: .28s }
  .js .reveal-group > *:nth-child(6) { transition-delay: .35s } .js .reveal-group > *:nth-child(7) { transition-delay: .42s }
  .js .reveal-group > *:nth-child(8) { transition-delay: .49s }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Utility */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.center-row { display: flex; justify-content: flex-start; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.paper .divider { background: var(--paper-line); }
.kicker-grid { display: grid; gap: 28px; }
@media (min-width: 880px) { .kicker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.kicker h3 { font-size: 1.15rem; margin-top: 12px; }
.kicker p { margin-top: 10px; font-size: .96rem; }
.kicker .ico { width: 28px; height: 28px; color: var(--cyan); }
.paper .kicker .ico { color: var(--cyan-deep); }

/* "Other services" card spans the row so the grid never leaves an orphan */
.other-text { display: grid; gap: 10px; }
@media (min-width: 720px) {
  .svc-card.other { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 28px; }
  .svc-card.other .more { border-top: 0; padding-top: 0; white-space: nowrap; }
  .svc-card.other .svc-top .code { display: none; }
}

/* ---------- Full-screen homepage hero ---------- */
.hero-full .hero-inner { min-height: 100vh; min-height: 100svh; padding-block: calc(var(--header-h) + 32px) 150px; margin-top: calc(-1 * (var(--header-h) + env(safe-area-inset-top, 0px))); }
.hero-full h1 { font-size: clamp(2.6rem, min(1.2rem + 4.6vw, 8.4vh), 6rem); max-width: 13ch; text-shadow: 0 2px 40px rgba(6, 11, 23, 0.6); }
.hero-full .lede { color: #DCE3EC; text-shadow: 0 1px 18px rgba(6, 11, 23, 0.8); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-full::after {
  background:
    linear-gradient(90deg, rgba(6,11,23,.88) 0%, rgba(6,11,23,.62) 34%, rgba(6,11,23,.08) 70%, rgba(6,11,23,.25) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, rgba(10,16,32,0) 24%),
    linear-gradient(180deg, rgba(6,11,23,.55) 0%, rgba(6,11,23,0) 22%);
}
.hero-full.has-video::after {
  background:
    linear-gradient(90deg, rgba(6,11,23,.9) 0%, rgba(6,11,23,.7) 38%, rgba(6,11,23,.3) 72%, rgba(6,11,23,.45) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, rgba(10,16,32,0) 26%),
    linear-gradient(180deg, rgba(6,11,23,.6) 0%, rgba(6,11,23,0) 22%);
}
@media (max-width: 759px) {
  .hero-full::after { background: linear-gradient(180deg, rgba(6,11,23,.55) 0%, rgba(6,11,23,.72) 45%, rgba(6,11,23,.55) 75%, var(--ink-950) 100%); }
  .hero-full .hero-inner { padding-bottom: 150px; }
}
.btn-glass { background: rgba(10,16,32,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-full .hero-meta { bottom: 74px; }

/* Floating analysis tags */
.hero-tags { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (min-width: 1100px) { .hero-tags { display: block; } }
.htag {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 15px 11px 13px; border-radius: 8px;
  background: rgba(16, 28, 53, 0.55); border: 1px solid rgba(203, 213, 225, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; color: var(--mist); text-transform: uppercase;
}
.htag b { display: block; font-family: var(--f-display); font-size: .86rem; letter-spacing: 0; text-transform: none; color: var(--white); font-weight: 700; margin-bottom: 2px; }
.htag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(53,213,242,.15); flex: none; }
.htag .dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(94,226,160,.15); }
.htag .dot.warn { background: var(--gold); box-shadow: 0 0 0 4px rgba(197,164,109,.18); }
.htag.t1 { right: 7%; top: 24%; }
.htag.t2 { right: 23%; top: 42%; }
.htag.t3 { right: 5%; top: 58%; }
@media (prefers-reduced-motion: no-preference) {
  .js .htag { animation: tagIn 1s var(--ease) both, float 7s ease-in-out infinite; }
  .js .htag.t1 { animation-delay: .9s, 1.9s; }
  .js .htag.t2 { animation-delay: 1.5s, 2.5s; animation-duration: 1s, 8s; }
  .js .htag.t3 { animation-delay: 2.1s, 3.1s; animation-duration: 1s, 6.5s; }
  .js .htag .dot { animation: ping 2.4s ease-out infinite; }
}
@keyframes tagIn { from { opacity: .001; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(53,213,242,.45); } 100% { box-shadow: 0 0 0 10px rgba(53,213,242,0); } }

/* Service ticker along the bottom of the hero */
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1;
  border-top: 1px solid var(--line); background: rgba(6, 11, 23, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker-track span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); padding: 17px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); opacity: .7; margin-left: 28px; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: ticker 48s linear infinite; } }
@keyframes ticker { to { transform: translateX(-50%); } }
.hero-full .lede { max-width: 52ch; margin-top: 22px; } .hero-full .btn-row { margin-top: 30px; }

/* ---------- Photography ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); border: 1px solid var(--line); }
.photo.tall { aspect-ratio: 4 / 4.6; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(6,11,23,.72) 0%, rgba(6,11,23,0) 42%); }
.photo figcaption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #E2E8F0; }
.paper .photo { border-color: var(--paper-line); }
.article-photo { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.article-photo::after { display: none; }
.art-card .thumb { background: var(--ink-900); }
.art-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.art-card:hover .thumb img { transform: scale(1.04); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .photo img { animation: kenburns 24s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }

/* ---------- About: values on a dark section (fixes unreadable text) ---------- */
.values-dark .values { background: var(--line); border-color: var(--line); }
.values-dark .value { background: var(--ink-900); }
.values-dark .value:hover { background: var(--ink-850); }
.values-dark .value h3 { color: var(--white); }
.values-dark .value p { color: var(--silver); }
.values-dark .value .n { color: var(--gold); }
.values-dark .value .ico { color: var(--cyan); }
.value h3 { color: var(--paper-ink); }
.value p { color: var(--paper-muted); }

/* ---------- Contact map ---------- */
.map-frame { position: relative; aspect-ratio: 16 / 11; max-width: 100%; background: var(--ink-900); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(92%) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.95); }

/* ---------- Hero video ---------- */
.hero-video { opacity: 1; }
.hero-full.has-video .hero-canvas { opacity: .9; }
.video-toggle { position: absolute; z-index: 2; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 70px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(6,11,23,.55); color: var(--silver);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.video-toggle:hover { color: var(--white); border-color: var(--cyan); }
.video-toggle::before { content: ""; width: 10px; height: 10px; flex: none;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.video-toggle[aria-pressed="true"]::before { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video-toggle .vt-play, .video-toggle[aria-pressed="true"] .vt-pause { display: none; }
.video-toggle[aria-pressed="true"] .vt-play { display: inline; }
@media (min-width: 720px) { .video-toggle { right: auto; left: 50%; transform: translateX(-50%); bottom: 72px; } }
@media (min-width: 720px) { .hero-full .coords { display: none; } }

/* Taglines (replace the old analysis cards) */
.hero-tags { list-style: none; margin: 0; padding: 0; }
.htag { padding: 14px 20px 14px 16px; }
.htag small { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.htag b { font-size: 1.05rem; margin: 0; }
.htag .dot.gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(197,164,109,.18); }
.htag.t1 { right: 6%; top: 25%; }
.htag.t2 { right: 20%; top: 44%; }
.htag.t3 { right: 5%; top: 62%; }

/* ---------- Header actions: Client Login + consultation CTA ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.client-login.btn { min-height: 42px; padding: 9px 14px; font-size: .86rem; gap: 8px; background: rgba(10,16,32,.35); }
.client-login .ico { width: 16px; height: 16px; }
.client-login:hover .ico { transform: none; }
.client-login .cl-short { display: none; }
@media (max-width: 1099px) {
  .client-login .cl-full { display: none; }
  .client-login .cl-short { display: inline; }
  .client-login.btn { min-height: 46px; padding: 9px 12px; }
}
@media (max-width: 359px) {
  .client-login .cl-short { display: none; }
  .client-login.btn { width: 46px; padding: 0; }
  .brand-word span { letter-spacing: .2em; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header .wrap { gap: 14px; }
  .brand-word b { font-size: 1rem; }
  .brand-word span { font-size: .52rem; letter-spacing: .24em; }
  .nav a { padding: 8px 7px; font-size: .83rem; }
  .header-cta.btn, .client-login.btn { padding: 9px 12px; font-size: .82rem; }
}
.mobile-menu .mm-foot .btn-ghost { gap: 10px; }
.mobile-menu .mm-foot .btn-ghost .ico { width: 18px; height: 18px; }
.mm-addr { color: var(--mist); font-size: .93rem; }
.foot-contact li > span a { color: var(--silver); }
/* keep header items on one line */
.nav a, .brand-word b, .brand-word span, .header-actions .btn { white-space: nowrap; }
.site-header .nav { min-width: 0; }
@media (min-width: 1100px) and (max-width: 1379px) {
  .nav ul { gap: 0; }
  .nav a { padding: 8px 8px; font-size: .85rem; }
  .site-header .wrap { gap: 16px; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .brand-word span { display: none; }
  .brand-word b { font-size: 1.05rem; }
  .nav a { padding: 8px 6px; font-size: .82rem; }
}
.foot-grid > * { min-width: 0; }
.foot-contact li { min-width: 0; }
.foot-contact li > span, .foot-contact li > a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .site-header .brand { gap: 9px; }
  .site-header .brand svg { width: 34px; height: 34px; }
  .site-header .brand-word b { font-size: 1.02rem; }
  .site-header .brand-word span { font-size: .47rem; letter-spacing: .14em; }
  .header-actions { gap: 8px; }
}
@media (max-width: 359px) { .site-header .brand-word span { display: none; } }

.header-cta[aria-current="page"] { box-shadow: 0 0 0 2px rgba(53,213,242,.35); }
