/* Layout: wide editorial bands on a warm-white ground; light theme only for every visitor, whatever their device setting. */
:root {
  --logo-bg: #FFFFFF;
  --logo-ink: #3A3F4B;
  --paper: #FFFFFF;
  --wash: #F6F3F1;
  --wash-2: #EEE9E6;
  --ink: #16181B;
  --muted: #50565D;
  --line: #E4DFDB;
  --red: #C8102E;
  --red-ink: #A50D26;
  --red-tint: #FBECEE;
  --card: #FFFFFF;
  --hero-bg: #F8F9FB;
  --hero-fg: #121418;
  --hero-muted: #4B525B;
  --hero-line: #DEE2E8;
  --ai-cool: #4C6FE0;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: only light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
a { color: inherit; }
img, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1280px; margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 520px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(72px, 9vw, 128px); }
.band.wash { background: var(--wash); }
.band.tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h-xl { font-size: clamp(44px, 6.6vw, 104px); line-height: 0.98; font-weight: 800; font-stretch: 112%; }
.h-lg { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; font-weight: 800; font-stretch: 108%; }
.h-md { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; font-weight: 700; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer; font-family: var(--font-body);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover { background: var(--red-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { border-color: color-mix(in srgb, var(--hero-fg) 30%, transparent); color: var(--hero-fg); background: color-mix(in srgb, var(--hero-bg) 70%, transparent); backdrop-filter: blur(8px); }
.btn-light:hover { background: var(--hero-fg); color: var(--hero-bg); border-color: var(--hero-fg); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); text-decoration: none; min-height: 44px; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--hero-fg); backdrop-filter: none; }
.site-header.over-hero.solid { background: color-mix(in srgb, var(--paper) 94%, transparent); color: var(--ink); border-color: var(--line); backdrop-filter: blur(14px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #FFFFFF; flex: none; }
.brand-mark span:first-child { background: #C8102E; display: grid; place-items: center; }
.brand-mark span:last-child { background: #6E7378; display: grid; place-items: center; }
.brand-word { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: 0.01em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-30%, 8px); width: min(960px, 92vw);
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(20, 10, 12, 0.28);
  padding: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-30%, 0); }
.mega h4 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega a { display: block; padding: 7px 0; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.35; }
.mega a:hover { color: var(--red); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid currentColor; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.mobile-panel { display: none; }
@media (max-width: 1020px) {
  .main-nav, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel { display: block; border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); max-height: calc(100vh - 76px); overflow-y: auto; }
  .mobile-panel[hidden] { display: none !important; }
  .mobile-panel nav { display: flex; flex-direction: column; padding-block: 12px 28px; }
  .mobile-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 18px; }
  .mobile-panel .sub { font-weight: 500; font-size: 15px; padding-left: 16px; color: var(--muted); }
  .site-header.menu-open { background: var(--paper); color: var(--ink); }
}

/* Hero (cinematic) */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--hero-fg);
  min-height: clamp(600px, 92vh, 920px); display: flex; align-items: flex-end;
}
.hero-media, .hero-media canvas, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hero-bg) 92%, transparent) 0%, color-mix(in srgb, var(--hero-bg) 55%, transparent) 42%, transparent 72%),
              linear-gradient(0deg, var(--hero-bg) 0%, transparent 22%); }
.hero-inner { width: 100%; padding-block: 160px 64px; display: flex; flex-direction: column; gap: 32px; }
.hero .eyebrow { color: var(--red); }
.hero h1 { max-width: 15ch; color: var(--hero-fg); }
.hero h1 .accent { color: var(--red); }
.hero h1 .accent-cool, .hero h1 .accent-cool .w { background-image: linear-gradient(90deg, var(--red) 10%, var(--ai-cool) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .accent-cool .w:nth-child(1) { background-image: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 70%, var(--ai-cool))); }
.hero h1 .accent-cool .w:nth-child(2) { background-image: linear-gradient(90deg, color-mix(in srgb, var(--red) 70%, var(--ai-cool)), color-mix(in srgb, var(--red) 50%, var(--ai-cool))); }
.hero h1 .accent-cool .w:nth-child(3) { background-image: linear-gradient(90deg, color-mix(in srgb, var(--red) 50%, var(--ai-cool)), var(--ai-cool)); }
.hero .lede { color: var(--hero-muted); }
.ai-chip { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--hero-line); background: color-mix(in srgb, var(--hero-bg) 75%, transparent); backdrop-filter: blur(8px); font-size: 14px; font-weight: 500; color: var(--hero-fg); }
.ai-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 60%, transparent); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--hero-line); padding-top: 24px; margin-top: 16px; font-size: 15px; color: var(--hero-muted); }
.ticker { display: inline-flex; align-items: center; gap: 12px; min-height: 28px; }
.ticker-label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hero-muted); }
.ticker-word { color: var(--hero-fg); font-weight: 600; display: inline-block; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.ticker-word.swap { opacity: 0; transform: translateY(8px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: var(--hero-fg); text-decoration: none; }
.scroll-cue span.line { width: 1.5px; height: 30px; background: var(--hero-line); position: relative; overflow: hidden; }
.scroll-cue span.line::after { content: ""; position: absolute; left: 0; top: -30px; width: 100%; height: 30px; background: var(--red); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 30px; } }
.hero.compact { min-height: clamp(420px, 58vh, 580px); }
.hero.compact .hero-inner { padding-block: 150px 56px; gap: 24px; }
.crumbs { font-size: 14px; color: var(--hero-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--hero-fg); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Load-in headline words */
.split .w { display: inline-block; animation: riseIn 0.9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.fade-up { animation: fadeUp 0.9s var(--ease) both; animation-delay: var(--d, 0.5s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveals (applied by JS only to content below the first screen) */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0ms); }

/* Client marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.marquee-row { display: flex; align-items: center; gap: 28px; }
.marquee-label { flex: none; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-block: 26px; }
.marquee-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; padding-block: 26px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--muted); white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Practice tabs + service cards */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 15.5px var(--font-body); cursor: pointer; transition: all 0.25s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.practice-intro { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: baseline; margin-bottom: 32px; }
.practice-intro h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; flex: 0 1 420px; }
.practice-intro p { flex: 1 1 420px; color: var(--muted); font-size: 18px; min-width: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; min-height: 260px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); box-shadow: 0 24px 48px -28px rgba(120, 10, 30, 0.35); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.svc-card h4 { font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.svc-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: -4px; }
.svc-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); font-size: 15px; }
.svc-card .more svg { transition: transform 0.3s var(--ease); }
.svc-card:hover .more svg { transform: translateX(5px); }
.tab-panel { animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 8px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 1020px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 4.4vw, 66px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num .unit { color: var(--red); }
.stat-label { color: var(--muted); font-size: 16px; max-width: 24ch; }

/* Story */
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px 80px; align-items: start; }
.story-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.era-line { position: relative; display: flex; flex-direction: column; gap: 0; padding-left: 36px; }
.era-line::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.era-line .progress { position: absolute; left: 7px; top: 8px; width: 2px; height: 0; background: var(--red); transition: height 1.6s var(--ease); }
.era-line.drawn .progress { height: calc(100% - 16px); }
.era { position: relative; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.era::before { content: ""; position: absolute; left: -36px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.era-kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.era-title { font-weight: 600; font-size: 18px; }

/* Industries strip */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.ind-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; padding: 28px;
  border-radius: var(--radius); background: var(--wash); text-decoration: none; overflow: hidden; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.ind-card:hover { background: var(--ink); color: var(--paper); }
.ind-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.ind-card > * { position: relative; }
.ind-card h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.ind-card p { font-size: 14.5px; color: var(--muted); transition: color 0.4s var(--ease); }
.ind-card:hover p { color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* Models */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.model { padding: 32px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model h3 { font-size: 21px; font-weight: 700; }
.model p { color: var(--muted); font-size: 15.5px; }
.model .ic { color: var(--red); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #FFFFFF; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-block: clamp(72px, 8vw, 112px); }
.cta-inner h2 { max-width: 16ch; color: #FFFFFF; }
.cta-inner p { color: rgba(255,255,255,0.86); margin-top: 18px; max-width: 52ch; font-size: 18px; }
.btn-white { background: #FFFFFF; color: #A50D26; }
.btn-white:hover { background: #16181B; color: #FFFFFF; }

/* Footer */
.site-footer { background: var(--wash); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--red); }
.foot-about p { color: var(--muted); margin-top: 16px; max-width: 36ch; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-base nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--red); }

/* Generic content blocks used on inner pages */
.split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px 80px; align-items: start; }
.split-2 > * { min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 20px; color: var(--muted); font-size: 18px; max-width: 64ch; }
.prose strong { color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px 32px; }
.value { border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.value h3 { font-size: 22px; font-weight: 700; }
.value p { color: var(--muted); font-size: 16px; }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.sub-card { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.sub-card:hover { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-4px); }
.sub-card .tag { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.sub-card h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.sub-card p { color: var(--muted); font-size: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 500; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.office { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.office .city { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.office .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.office p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.ind-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 72px; padding-block: 56px; border-top: 1px solid var(--line); align-items: start; }
.ind-row > * { min-width: 0; }
.ind-row h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; }
.ind-row .clients { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 17px; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 600; }
.badge .ic { color: var(--red); }

/* Careers */
.job-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  font: 400 16px var(--font-body); color: var(--ink); background: var(--card); min-height: 50px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 10px; transition: border-color 0.2s var(--ease);
}
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: none; }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job-list li a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.3s var(--ease), background 0.3s var(--ease); }
.job-list li a:hover { padding-left: 16px; background: var(--wash); }
.job-list .title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.job-list .meta { color: var(--muted); font-size: 14.5px; }
@media (max-width: 640px) { .job-list li a { grid-template-columns: 1fr; } }
.empty-note { padding: 28px 0; color: var(--muted); }

/* Contact */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { padding: 24px; border-radius: var(--radius); background: var(--red-tint); color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.err { color: var(--red); font-size: 13.5px; font-weight: 500; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px var(--font-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- 30-year anniversary banner ---------- */
.anniv { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.anniv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--red) 7%, transparent), transparent 60%), radial-gradient(50% 120% at 100% 100%, color-mix(in srgb, var(--ai-cool) 7%, transparent), transparent 60%); pointer-events: none; }
.anniv-inner { position: relative; padding-block: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 56px; align-items: center; }
@media (max-width: 760px) { .anniv-inner { grid-template-columns: 1fr; } }
.anniv-num { display: flex; align-items: flex-end; gap: 14px; }
.anniv-30 { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(110px, 15vw, 210px); line-height: 0.8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  background-image: linear-gradient(120deg, var(--red) 20%, color-mix(in srgb, var(--red) 55%, var(--ai-cool)) 60%, var(--ai-cool) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2ch; }
.anniv-unit { display: flex; flex-direction: column; gap: 4px; padding-bottom: 10px; }
.anniv-unit b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.anniv-unit span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.anniv-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.anniv-copy .kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.anniv-copy .kicker .yr { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.anniv-copy h2 { font-size: clamp(28px, 3.4vw, 50px); font-weight: 800; font-stretch: 108%; line-height: 1.04; }
.anniv-copy h2 .co { color: var(--red); }
.anniv-copy p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.anniv-track { grid-column: 1 / -1; position: relative; padding-top: 74px; padding-bottom: 34px; }
.anniv-ticks { position: relative; display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); align-items: end; height: 40px; }
.anniv-ticks .tick { position: relative; justify-self: center; width: 2px; height: 14px; background: var(--line); border-radius: 2px; transition: background 0.3s var(--ease); }
.anniv-ticks .tick.major { height: 26px; background: color-mix(in srgb, var(--muted) 50%, var(--line)); }
.anniv-ticks .tick em { position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.anniv-bar { position: relative; height: 4px; border-radius: 4px; background: var(--wash-2); margin-top: 6px; overflow: hidden; }
.anniv-bar span { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--red), var(--ai-cool)); transform: scaleX(1); }
.anniv.armed:not(.play) .anniv-bar span { transform: scaleX(0); }
.anniv.play .anniv-bar span { animation: barFill 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.anniv.play .anniv-ticks .tick { animation: tickOn 0.4s ease both; animation-delay: calc(var(--y) * 80ms); }
@keyframes tickOn { from { background: var(--line); } to { background: var(--red); } }
.anniv.play .anniv-ticks .tick.major { animation-name: tickOnMajor; }
@keyframes tickOnMajor { from { background: var(--line); } to { background: var(--ink); } }
.anniv-marks { position: absolute; inset: 0 0 auto; height: 74px; }
.mark { position: absolute; bottom: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; max-width: 200px; }
.mark::after { content: ""; position: absolute; bottom: -10px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.mark b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; color: var(--red); }
.mark span { color: var(--ink); font-weight: 600; }
.mark.l { transform: translateX(-4px); text-align: left; }
.mark.l::after { left: 0; }
.mark.r { transform: translateX(-100%) translateX(4px); text-align: right; align-items: flex-end; }
.mark.r::after { right: 0; }
.mark.hi { bottom: 30px; }
.mark.hi::before { content: ""; position: absolute; bottom: -24px; width: 1.5px; height: 18px; background: color-mix(in srgb, var(--red) 40%, transparent); }
.mark.l.hi::before { left: 4px; } .mark.r.hi::before { right: 4px; }
.mark.hi::after { bottom: -40px; }
.anniv-list { display: none; }
@media (max-width: 720px) {
  .anniv-marks { display: none; }
  .anniv-track { padding-top: 0; }
  .anniv-ticks .tick em { font-size: 10.5px; }
  .anniv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; list-style: none; margin: 40px 0 0; padding: 0; font-size: 14px; }
  .anniv-list b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--red); }
}

/* ---------- Service detail ---------- */
.hero-statement { font-size: clamp(19px, 1.6vw, 22px); }
.hero-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--hero-line); margin-top: 8px; }
.hero-kpis:empty { display: none; }
.hero-kpi { display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 4px 0; }
.hero-kpi + .hero-kpi { padding-left: 20px; border-left: 1px solid var(--hero-line); }
.hero-kpi .v { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; color: var(--hero-fg); letter-spacing: -0.02em; }
.hero-kpi .l { font-size: 14px; color: var(--hero-muted); line-height: 1.4; }
.hero-kpi-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--hero-muted); padding-top: 12px; }
@media (max-width: 640px) { .hero-kpi + .hero-kpi { border-left: 0; padding-left: 0; } }
.intro-lg { color: var(--ink); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; }
.sub-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 48px 0 20px; }

.date-line { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 24px; padding-top: 34px; margin-bottom: 8px; }
.date-line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.date-progress { position: absolute; left: 0; top: 7px; height: 2px; width: 0; background: linear-gradient(90deg, var(--muted), var(--red)); transition: width 1.8s var(--ease); }
.date-line.drawn .date-progress { width: 100%; }
.date-stop { position: relative; display: flex; flex-direction: column; gap: 6px; }
.date-dot { position: absolute; top: -34px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--muted); }
.date-stop.hot .date-dot { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 18%, transparent); }
.date-d { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.date-stop.hot .date-d { color: var(--red); }
.date-t { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .date-line::before, .date-progress { display: none; } .date-dot { position: static; margin-bottom: 4px; } .date-line { padding-top: 0; } }

.risk-grid, .q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.risk-card, .q-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.risk-card .ic, .q-card .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.q-card .ic { background: color-mix(in srgb, var(--ai-cool) 12%, transparent); color: var(--ai-cool); }
.risk-card h4, .q-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.q-card h4 { margin: 0; font-size: 19px; }
.q-card { align-items: center; }
.risk-card p { color: var(--muted); font-size: 15px; margin: 0; }

.compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; margin-block: 8px 8px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .cmp-arrow { transform: rotate(90deg); justify-self: center; } }
.cmp { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 12px; }
.cmp.new { border-color: color-mix(in srgb, var(--ai-cool) 45%, var(--line)); box-shadow: 0 20px 40px -28px color-mix(in srgb, var(--ai-cool) 60%, transparent); }
.cmp h3 { font-size: 24px; font-weight: 800; }
.cmp-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cmp.new .cmp-tag { color: var(--ai-cool); }
.cmp-arrow { align-self: center; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }

.pts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.45; }
.pts li svg { flex: none; color: var(--red); margin-top: 2px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.opt { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.opt h3 { font-size: 20px; font-weight: 700; }
.opt-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--wash-2); color: var(--muted); }
.opt.rec { border: 2px solid var(--red); box-shadow: 0 24px 48px -30px rgba(160, 10, 35, 0.5); }
.opt.rec .opt-tag { background: var(--red); color: #FFFFFF; }

.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 24px; top: 24px; height: 2px; width: 0; background: linear-gradient(90deg, var(--red), var(--ai-cool)); transition: width 1.8s var(--ease); }
.steps.drawn::after { width: calc(100% - 48px); }
@media (max-width: 760px) { .steps::before, .steps::after { display: none; } }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--red); color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.band.wash .step-n { background: var(--wash); }
.step-when { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ai-cool); }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { color: var(--muted); font-size: 15.5px; }
.step-note { display: flex; gap: 12px; align-items: center; margin-top: 32px; padding: 18px 22px; border-radius: 12px; background: var(--red-tint); color: var(--ink); font-weight: 500; }
.step-note svg { flex: none; color: var(--red); }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 20px; }
.cap { position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cap::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--red), var(--ai-cool)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.cap:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--red) 35%, var(--line)); box-shadow: 0 24px 48px -30px rgba(80, 20, 60, 0.35); }
.cap:hover::after { transform: scaleX(1); }
.cap .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.cap-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.cap h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.cap p { color: var(--muted); font-size: 15.5px; }
.tech-chips { margin-top: 28px; }

.engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.engine { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.engine:hover { border-color: var(--ai-cool); transform: translateY(-3px); }
.engine-n { font-family: var(--font-mono); font-size: 13px; color: var(--ai-cool); }

.benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 32px 28px; }
.benefit { display: flex; flex-direction: column; gap: 10px; }
.benefit-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ai-cool); background: color-mix(in srgb, var(--ai-cool) 12%, transparent); }
.benefit h3 { font-size: 20px; font-weight: 700; }
.benefit p { color: var(--muted); font-size: 15.5px; }

.letters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; }
.letter { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.letter .big { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: 0.9; background-image: linear-gradient(135deg, var(--red), var(--ai-cool)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.letter h3 { font-size: 19px; font-weight: 700; }
.letter p { color: var(--muted); font-size: 15px; }

.benches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.bench { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.bench h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.bench ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bench li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.bench li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px 72px; align-items: start; }
.proof-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.proof-side { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--card); border-radius: var(--radius); overflow: hidden; }
.kpi-grid .kpi { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.kpi-v { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.kpi-l { color: var(--muted); font-size: 14.5px; }
.built { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.built h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 28px 32px; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #FFFFFF; }
.why h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 15.5px; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); font-size: 17px; max-width: 70ch; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.foot-about .cert { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 14px; }

/* ---------- Brand logo ---------- */
.brand-logo { width: 34px; height: auto; display: block; border-radius: 3px; flex: none; }

/* ---------- Home: compact industries explorer ---------- */
.ind-explorer { display: flex; flex-direction: column; gap: 22px; }
.ind-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.ind-pill:hover { border-color: var(--ink); }
.ind-pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ind-count { font-family: var(--font-mono); font-size: 12px; font-weight: 500; min-width: 26px; height: 24px; padding-inline: 6px; border-radius: 999px; display: inline-grid; place-items: center; background: color-mix(in srgb, currentColor 12%, transparent); }
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 88px; gap: 10px; }
@media (max-width: 1020px) { .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 680px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 72px; gap: 8px; } }
.logo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 44%), 1fr)); grid-auto-rows: 80px; gap: 10px; }
.logo-tile { display: grid; place-items: center; min-width: 0; height: 100%; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--logo-bg); transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.logo-tile:hover { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); transform: translateY(-3px); box-shadow: 0 14px 28px -20px rgba(80, 20, 40, 0.4); }
.logo-tile img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 46px; object-fit: contain; }
.logo-tile.is-dim { opacity: 0.22; filter: grayscale(1); transform: scale(0.97); }
.is-filtered .logo-tile:not(.is-dim) { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); box-shadow: 0 10px 24px -18px rgba(200, 16, 46, 0.55); }
.ind-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 20px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: panelIn 0.4s var(--ease); }
.ind-lede { flex: 1 1 420px; min-width: 0; color: var(--muted); font-size: 16px; max-width: 72ch; }
.ind-lede strong { color: var(--ink); }
.ind-detail .chip { font-size: 13.5px; min-height: 36px; text-decoration: none; }
.ind-detail .chip:hover { border-color: var(--red); color: var(--red); }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--logo-ink); text-align: center; line-height: 1.2; letter-spacing: -0.01em; }


/* ---------- Chat assistant ---------- */
#tc-chat { position: fixed; z-index: 80; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font-body); }
.chat-launch { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #FFFFFF;
  background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 55%, var(--ai-cool))); box-shadow: 0 16px 32px -12px rgba(160, 10, 40, 0.55); transition: transform 0.3s var(--ease); }
.chat-launch:hover { transform: translateY(-3px) scale(1.04); }
.chat-ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: chatPing 2.4s ease-out infinite; }
#tc-chat.open .chat-ping { display: none; }
@keyframes chatPing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.chat-teaser { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(20, 20, 40, 0.35); animation: fadeUp 0.5s var(--ease); }
.chat-teaser-open { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ink); font: 600 15px var(--font-body); cursor: pointer; }
.chat-teaser-open svg { color: var(--red); }
.chat-teaser-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--wash); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.chat-teaser-x svg { width: 16px; height: 16px; }
.chat-panel { width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -24px rgba(20, 20, 50, 0.45); animation: chatIn 0.35s var(--ease); }
.chat-panel[hidden] { display: none !important; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--wash), var(--card)); }
.chat-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat-head strong { font-size: 15.5px; }
.chat-head div span { font-size: 12.5px; color: var(--muted); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; background: linear-gradient(135deg, var(--red), var(--ai-cool)); flex: none; }
.chat-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.chat-x:hover { background: var(--wash-2); color: var(--ink); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: fadeUp 0.3s var(--ease); }
.msg.bot { align-self: flex-start; background: var(--wash); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--red); color: #FFFFFF; border-bottom-right-radius: 6px; }
.msg.card { padding: 0; background: none; max-width: 100%; width: 100%; white-space: normal; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.1s infinite ease-in-out; }
.msg.typing span:nth-child(2) { animation-delay: 0.15s; } .msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.msg-link { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--red); font-weight: 600; text-decoration: none; }
.cal-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.cal-card div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cal-card div span { color: var(--muted); font-size: 13px; }
.cal-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.cal-btn { grid-column: 1 / -1; justify-content: center; min-height: 46px; text-decoration: none; }
.chat-links { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.chat-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 14px; text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.chat-links a:last-child { border-bottom: 0; }
.chat-links a:hover { color: var(--red); background: var(--wash); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick:empty { display: none; }
.qr { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--red); background: transparent; color: var(--red); font: 600 13.5px var(--font-body); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.qr:hover { background: var(--red); color: #FFFFFF; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 400 15px var(--font-body); }
.chat-form input:focus { outline: none; border-color: var(--red); }
.chat-form button { width: 46px; height: 46px; flex: none; border-radius: 12px; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.chat-form button:hover { background: var(--red); }
@media (max-width: 480px) { .chat-panel { width: calc(100vw - 24px); height: calc(100vh - 120px); } #tc-chat { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 680px) {
  .ind-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .ind-filter::-webkit-scrollbar { display: none; }
  .ind-pill { flex: none; }
  .logo-word { font-size: 13px; }
}

/* ---------- Nav: AI Readiness ---------- */
.nav-ai svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- Shared form fields for tools ---------- */
.calc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc-field label { font-weight: 600; font-size: 14.5px; }
.calc-field input, .calc-field select, .calc-assume input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 600 18px var(--font-body); font-variant-numeric: tabular-nums; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.calc-field select { font-size: 16px; }
.calc-field input:focus, .calc-field select:focus, .calc-assume input:focus { outline: none; border-color: var(--ai-cool); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ai-cool) 18%, transparent); }
.calc-hint { font-size: 13px; color: var(--muted); }
input[type="range"] { width: 100%; accent-color: var(--red); min-height: 32px; }

/* ---------- TalentAI calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 0 30px 60px -45px rgba(30, 40, 80, 0.45); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--wash); border-right: 1px solid var(--line); }
@media (max-width: 960px) { .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }
.calc-assume { border-top: 1px solid var(--line); padding-top: 14px; }
.calc-assume summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ai-cool); }
.calc-assume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.calc-assume label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.calc-assume input { min-height: 42px; font-size: 16px; }
.calc-assume p { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.calc-out { display: flex; flex-direction: column; gap: 22px; padding: 28px; min-width: 0; }
.calc-bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .calc-bench { grid-template-columns: 1fr; } }
.bench-cell { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.bench-cell .k, .hero-res .k, .sv-cell .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bench-cell .v { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bench-cell .s, .hero-res .s, .sv-cell .s { font-size: 13px; color: var(--muted); }
.bench-note { grid-column: 1 / -1; margin: 0; font-size: 14.5px; color: var(--ink); padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ai-cool) 9%, transparent); }
.calc-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 0; border-block: 1px solid var(--line); }
@media (max-width: 620px) { .calc-hero { grid-template-columns: 1fr; } }
.hero-res { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 20px 0; min-width: 0; }
.hero-res + .hero-res { padding-left: 18px; border-left: 1px solid var(--line); }
@media (max-width: 620px) { .hero-res + .hero-res { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.hero-res .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-res.red .v { color: var(--red); }
.calc-bars { display: flex; flex-direction: column; gap: 16px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; margin-bottom: 8px; }
.bar-head strong { font-variant-numeric: tabular-nums; }
.bar-track { display: flex; height: 18px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.seg { display: block; height: 100%; transition: width 0.6s var(--ease); }
.seg.s1, .bar-legend i.s1 { background: var(--red); }
.seg.s2, .bar-legend i.s2 { background: var(--ai-cool); }
.seg.s3, .bar-legend i.s3 { background: color-mix(in srgb, var(--ink) 45%, transparent); }
.bar-row.ai .seg { opacity: 0.85; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.bar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bar-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.calc-cta span { font-size: 13px; color: var(--muted); }

/* ---------- AI Readiness ---------- */
.ex-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); }
.why-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.why-stat { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.why-stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: 0.9; letter-spacing: -0.04em; background: linear-gradient(120deg, var(--red), var(--ai-cool)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-stat p { margin: 0; font-size: 16px; }
.why-stat .src { margin-top: auto; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }
.why-stat.accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.why-stat.accent .src { color: color-mix(in srgb, var(--paper) 65%, transparent); }

.dims { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
@media (max-width: 860px) { .dims { grid-template-columns: 1fr; } }
.dim-tabs { display: flex; flex-direction: column; padding: 10px; gap: 2px; border-right: 1px solid var(--line); background: var(--paper); }
@media (max-width: 860px) { .dim-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; } .dim-tab { flex: none; } }
.dim-tab { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 15.5px var(--font-body); text-align: left; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.dim-tab:hover { background: var(--wash); }
.dim-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.dim-n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--red); }
.dim-tab[aria-selected="true"] .dim-n { color: color-mix(in srgb, var(--paper) 70%, var(--red)); }
.dim-panel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px; min-width: 0; overflow: hidden; animation: panelIn 0.4s var(--ease); }
.dim-big { position: absolute; right: 18px; top: -18px; font-family: var(--font-display); font-weight: 800; font-size: 180px; line-height: 1; letter-spacing: -0.06em; color: color-mix(in srgb, var(--ai-cool) 9%, transparent); pointer-events: none; }
.dim-panel h3 { position: relative; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.dim-q { position: relative; margin: 0; font-size: 19px; color: var(--muted); max-width: 46ch; }
.dim-panel h4 { position: relative; margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ai-cool); }
.dim-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.dim-list li { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 500; font-size: 15px; }

.sys-split { align-items: stretch; }
.sys-groups { display: flex; flex-direction: column; gap: 20px; }
.sys-group h3 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sys-group .chip { font-size: 14px; min-height: 36px; }
.heat-wrap { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.heat-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.heat-title h3 { font-size: 20px; font-weight: 800; }
.heat { display: flex; flex-direction: column; gap: 6px; overflow-x: auto; }
.heat-row { display: grid; grid-template-columns: minmax(130px, 1.4fr) repeat(4, minmax(52px, 1fr)); gap: 6px; align-items: center; }
.heat-row > span:first-child { font-size: 14px; font-weight: 600; }
.heat-row.head span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.heat-row.head span:first-child { text-align: left; }
.hc { height: 34px; border-radius: 8px; display: block; }
.hc.h1, .heat-key i.h1 { background: color-mix(in srgb, var(--ai-cool) 10%, var(--paper)); }
.hc.h2, .heat-key i.h2 { background: color-mix(in srgb, var(--ai-cool) 28%, var(--paper)); }
.hc.h3, .heat-key i.h3 { background: color-mix(in srgb, var(--ai-cool) 50%, var(--red) 10%); }
.hc.h4, .heat-key i.h4 { background: color-mix(in srgb, var(--red) 62%, var(--ai-cool)); }
.hc.h5, .heat-key i.h5 { background: var(--red); }
.heat-key { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.heat-key i { width: 22px; height: 12px; border-radius: 4px; display: inline-block; }

.chk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .chk { grid-template-columns: 1fr; } }
.chk-q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .chk-q { grid-template-columns: 1fr; } }
.chk-row { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.chk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chk-top label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.chk-top output { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--red); min-width: 1ch; text-align: right; }
.chk-row p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.chk-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.chk-out { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 30px 60px -45px rgba(30, 40, 80, 0.45); }
@media (max-width: 960px) { .chk-out { position: static; } }
.chk-radar { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chk-radar svg { width: 100%; max-width: 320px; height: auto; }
.chk-radar .rg { fill: none; stroke: var(--line); stroke-width: 1; }
.chk-radar .rt { fill: none; stroke: var(--ai-cool); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chk-radar .rv { fill: color-mix(in srgb, var(--red) 18%, transparent); stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; transition: all 0.3s var(--ease); }
.chk-radar .rd { fill: var(--red); }
.chk-radar .rl { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); }
.radar-key { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.radar-key span { display: inline-flex; align-items: center; gap: 6px; }
.radar-key i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.radar-key i.you { background: var(--red); }
.radar-key i.tgt { background: repeating-linear-gradient(90deg, var(--ai-cool) 0 5px, transparent 5px 8px); }
#chk-res { display: flex; flex-direction: column; gap: 12px; }
#chk-res .btn { align-self: flex-start; }
.lvl { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lvl-score { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -0.04em; }
.lvl-score small { font-size: 22px; color: var(--muted); }
.lvl-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--red); }
#chk-res p { margin: 0; color: var(--muted); }
#chk-res h4 { margin: 6px 0 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ai-cool); }
.gap-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.gap-list li { padding-left: 4px; }
.gap-list strong { display: block; }
.gap-list span { font-size: 14.5px; color: var(--muted); }

.sv { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
@media (max-width: 900px) { .sv { grid-template-columns: 1fr; } }
.sv-in { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--wash); }
.range-wrap { display: flex; align-items: center; gap: 12px; }
.range-wrap output { font-family: var(--font-display); font-weight: 800; font-size: 22px; min-width: 3.2ch; text-align: right; }
.sv-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.9fr); align-content: center; gap: 0; padding: 28px; }
@media (max-width: 680px) { .sv-out { grid-template-columns: 1fr; } }
.sv-cell { display: flex; flex-direction: column; gap: 8px; padding: 8px 20px; min-width: 0; }
.sv-cell:first-child { padding-left: 0; }
.sv-cell + .sv-cell { border-left: 1px solid var(--line); }
@media (max-width: 680px) { .sv-cell, .sv-cell:first-child { padding: 14px 0; } .sv-cell + .sv-cell { border-left: 0; border-top: 1px solid var(--line); } }
.sv-cell .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sv-cell.red .v { color: var(--red); }
.sv-note { grid-column: 1 / -1; margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

.mx-split { align-items: center; }
.matrix { padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); min-width: 0; overflow-x: auto; }
.matrix svg { width: 100%; min-width: 520px; height: auto; display: block; }
.matrix .q-hi { fill: color-mix(in srgb, var(--red) 7%, transparent); }
.matrix .ax { stroke: var(--line); stroke-width: 1.5; }
.matrix .qt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; fill: var(--muted); }
.matrix .qt.hot { fill: var(--red); }
.matrix .axl { font-family: var(--font-body); font-size: 12.5px; fill: var(--muted); }
.matrix .uc circle { fill: var(--paper); stroke: var(--ai-cool); stroke-width: 2.5; }
.matrix .uc.hot circle { fill: var(--red); stroke: var(--red); }
.matrix .uc text { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--ink); }

.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.next-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: inherit; text-decoration: none; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.next-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); box-shadow: 0 20px 40px -30px rgba(80, 20, 40, 0.45); }
.next-card .n { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.next-card h3 { font-size: 20px; font-weight: 800; }
.next-card p { margin: 0; color: var(--muted); font-size: 15px; }
.next-card .go { margin-top: auto; color: var(--red); }

.logo-note { margin: -8px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }

/* ---------- Connected challenge web ---------- */
.web { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); gap: 0 120px; align-items: center; margin-top: 48px; padding-block: 12px; }
.web-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.web-lines .wl-base { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.web-lines .wl { fill: none; stroke: url(#wg); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) calc(var(--i) * 140ms + 250ms); }
.web.reveal-pending .web-lines .wl { stroke-dashoffset: 1; }
.web-lines .wl-pulse { fill: var(--red); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--red) 70%, transparent)); }
.web-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; }
.web-node { display: flex; align-items: flex-start; gap: 18px; transition: opacity 0.6s var(--ease) var(--rd), transform 0.6s var(--ease) var(--rd); }
.web.reveal-pending .web-node { opacity: 0; transform: translateY(14px); }
.web-node.l { flex-direction: row-reverse; text-align: right; }
.web-dot { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--red); color: var(--red); font-family: var(--font-mono); font-size: 13px; font-weight: 500; box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 8%, transparent); transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.band.wash .web-dot { background: var(--wash); }
.web-node:hover .web-dot { background: var(--red); color: var(--paper); transform: scale(1.08); }
.web-txt { min-width: 0; padding-top: 4px; }
.web-txt h4 { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.2; }
.web-txt p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.web-q .web-txt h4 { font-size: 18px; font-weight: 700; }
.web-hub { position: relative; z-index: 1; display: grid; place-items: center; aspect-ratio: 1; }
.web-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--ai-cool) 45%, transparent); animation: webSpin 40s linear infinite; }
.web-core { position: relative; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--ai-cool) 20%, var(--paper)), var(--paper) 70%); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(40, 50, 120, 0.45), inset 0 0 0 8px color-mix(in srgb, var(--red) 5%, transparent); }
.web-core svg { color: var(--red); width: 28px; height: 28px; }
.web-core strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.15; text-wrap: balance; }
@keyframes webSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .web-ring { animation: none; } }
@media (max-width: 1100px) { .web { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 0 64px; } .web-core strong { font-size: 17px; } }
@media (max-width: 860px) {
  .web { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .web-lines { display: none; }
  .web-hub { width: 168px; align-self: flex-start; margin: 14px 0 22px 14px; }
  .web-col { gap: 0; }
  .web-col.l { order: 2; } .web-col.r { order: 3; }
  .web-node, .web-node.l { flex-direction: row; text-align: left; position: relative; padding: 0 0 28px 0; }
  .web-node::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(var(--red), var(--ai-cool)); opacity: 0.35; }
  .web-col.r .web-node:last-child::before { display: none; }
}

.hero-res.big .v { font-size: clamp(36px, 3.8vw, 54px); }
.hero-res-note { grid-column: 1 / -1; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
[hidden] { display: none !important; }

.brand-full { display: block; height: 46px; width: auto; flex: none; position: relative; z-index: 1; }
@media (max-width: 520px) { .brand-full { height: 36px; } }

/* ---------- Hero: Now delivering card ---------- */
.hero-foot { align-items: flex-end; }
.now-card { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; flex: 1 1 100%; padding: 20px 26px 24px; border-radius: 18px; border: 1px solid var(--hero-line); background: color-mix(in srgb, var(--hero-bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -36px rgba(40, 50, 120, 0.45); overflow: hidden; }
.now-top { display: flex; align-items: center; gap: 12px; }
.now-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hero-muted); }
.now-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: ping 2s ease-out infinite; }
.now-count { font-family: var(--font-mono); font-size: 12px; color: var(--hero-muted); font-variant-numeric: tabular-nums; }
.now-ctrl { margin-left: auto; display: inline-flex; gap: 6px; }
.now-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hero-line); background: var(--paper); color: var(--hero-fg); display: grid; place-items: center; cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.now-btn:hover { border-color: var(--red); color: var(--red); }
.now-body { display: flex; flex-direction: column; gap: 6px; color: var(--hero-fg); text-decoration: none; min-height: 112px; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); }
.now-body.out { opacity: 0; transform: translateX(-14px); }
.now-body.out-back { opacity: 0; transform: translateX(14px); }
.now-name { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.now-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.now-b { font-size: 15px; line-height: 1.5; color: var(--hero-muted); }
.now-body:hover .now-h { color: var(--red); }
.now-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--hero-line) 70%, transparent); }
.now-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--ai-cool)); }
.now-card.run .now-bar i { animation: nowFill var(--now-dur, 6000ms) linear forwards; }
@keyframes nowFill { to { width: 100%; } }
@media (max-width: 640px) { .now-body { min-height: 132px; } .now-b { font-size: 14px; } }

@media (min-width: 900px) {
  .now-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 48px; row-gap: 6px; align-items: center; min-height: 0; }
  .now-name { grid-column: 1; grid-row: 1; align-self: end; }
  .now-h { grid-column: 1; grid-row: 2; align-self: start; font-size: clamp(24px, 2.2vw, 32px); }
  .now-b { grid-column: 2; grid-row: 1 / span 2; font-size: 16.5px; padding-left: 28px; border-left: 1px solid var(--hero-line); align-self: center; }
  .now-body { min-height: 92px; row-gap: 4px; }
}

.now-band { padding-block: 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.now-band .now-card { background: var(--hero-bg); }

.foot-privacy { display: inline-block; margin-top: 6px; }
.foot-privacy a { text-decoration: underline; }
.policy h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--ink); margin-top: 16px; }
.policy a { color: var(--red); }
.form-note a { color: var(--red); }
.form-error { padding: 14px 18px; border-radius: var(--radius); background: var(--red-tint); color: var(--ink); font-size: 15px; }
.form-error a { color: var(--red); }
