/* ============================================================================
   LDN ADVISORY · design system per claude_design concept (10 Jul 2026)
   Tokens: Archivo + Space Mono · page #0A1C26 · panels #081218 · chrome #071219
   accent #BFE3FF · zero border-radius everywhere · square LIVE dots
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --bg: #0A1C26;
  --panel: #081218;
  --deep: #050E14;
  --deepest: #03090D;
  --chrome: #071219;
  --text: #EDF4F1;
  --sub: #8AA3AD;
  --mut: #4E6B77;
  --legal: #3A5560;
  --accent: #BFE3FF;
  --dim: #5F7D88;
  --ink: #071219;            /* text on accent surfaces */
  --ink-sub: #20414B;
  --line-08: rgba(200, 253, 243, .08);
  --line-10: rgba(200, 253, 243, .1);
  --line-12: rgba(200, 253, 243, .12);
  --line-14: rgba(200, 253, 243, .14);
  --line-16: rgba(200, 253, 243, .16);
  --line-18: rgba(200, 253, 243, .18);
  --line-22: rgba(200, 253, 243, .22);
  --line-30: rgba(200, 253, 243, .3);
  --line-35: rgba(200, 253, 243, .35);
  --mono: 'Space Mono', monospace;
}

/* ------------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sub); text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; }
::placeholder { color: #3E6B70; opacity: 1; }

@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); opacity: .65; }
  50% { transform: translate(-90px, 70px) scale(1.15); opacity: 1; }
  100% { transform: translate(50px, -50px) scale(.95); opacity: .6; }
}

.wrap { max-width: 1500px; margin: 0 auto; width: 100%; }
.section { padding: 150px 4vw; }

/* ------------------------------------------------------- shared motifs */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--sub);
  border: 1px solid var(--line-22);
  padding: 8px 12px;
  white-space: nowrap;
}
a.tag:hover { color: var(--accent); border-color: var(--accent); }
.idx { font-family: var(--mono); font-size: 11px; color: var(--mut); }
.plus-motif { font-family: var(--mono); font-size: 22px; color: var(--accent); }

.live {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  color: var(--accent);
}
.live::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  animation: blinkDot 2.2s infinite; display: block;
}

/* two-column split: label rail + content */
.split { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(320px, 3.2fr); gap: 40px; }

/* headings */
.h-page { margin: 0; font-size: clamp(42px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.h-section { margin: 0; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.h-inner { margin: 0; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.dim { color: var(--mut); }

/* buttons (mono labels) */
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  white-space: nowrap;
}
.btn-primary { color: var(--ink); background: var(--accent); padding: 16px 26px; font-weight: 700; border: 0; cursor: pointer; }
.btn-primary:hover { background: var(--text); color: var(--ink); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-30); padding: 15px 26px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* glow + grid texture */
.glow {
  position: absolute; pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 11%, transparent) 0%, transparent 62%);
  filter: blur(40px);
  animation: glowDrift 20s ease-in-out infinite alternate;
}

/* skip link: hidden until keyboard-focused */
.skip {
  position: fixed; top: -100px; left: 4vw; z-index: 100;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--ink); background: var(--accent); padding: 10px 16px;
  transition: top .2s ease;
}
.skip:focus { top: 10px; color: var(--ink); }

/* ------------------------------------------------------------ scroll bits */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--accent); z-index: 80; }

/* reveal animation: hidden state only exists once JS adds .reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .95s cubic-bezier(.22, .61, .36, 1), transform .95s cubic-bezier(.22, .61, .36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; height: 64px;
  background: rgba(7, 18, 25, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-10);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-ldn { font-weight: 700; font-size: 16px; letter-spacing: .02em; color: var(--text); }
.brand-pipe { width: 1px; height: 18px; background: var(--accent); display: block; }
.brand-adv { font-weight: 500; font-size: 11.5px; letter-spacing: .24em; color: var(--sub); padding-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.nav-cta { color: var(--text); border: 1px solid var(--line-35); padding: 9px 16px; }
.nav-cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.burger {
  display: none; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line-35); color: var(--text);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  padding: 9px 14px; cursor: pointer;
}

/* mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 18, 25, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: none; flex-direction: column;
}
.menu.open { display: flex; }
.menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; height: 64px; border-bottom: 1px solid var(--line-10);
}
.menu-close {
  background: transparent; border: 1px solid var(--line-35); color: var(--text);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  padding: 9px 14px; cursor: pointer;
}
.menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 8vw; }
.menu-links a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-10); color: var(--text); }
.menu-links a .idx { font-size: 11px; }
.menu-links a .menu-label { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.menu-links a.menu-legal { color: var(--sub); border-bottom: 0; }
.menu-links a.menu-legal .menu-label { font-size: 16px; font-family: var(--mono); font-weight: 400; letter-spacing: .1em; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: 170px 4vw 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block;
  filter: saturate(.35) brightness(.45) contrast(1.04);  /* approved navy grade */
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 25, .85) 0%, rgba(10, 28, 38, .62) 40%, rgba(10, 28, 38, .55) 65%, #0A1C26 100%);
}
.hero-radial { position: absolute; inset: 0; background: radial-gradient(70% 75% at 30% 40%, rgba(7, 18, 25, .5) 0%, rgba(7, 18, 25, 0) 72%); }
.hero-gridtex {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(85% 75% at 72% 18%, rgba(0, 0, 0, .95), transparent);
  mask-image: radial-gradient(85% 75% at 72% 18%, rgba(0, 0, 0, .95), transparent);
}
.hero-glow {
  top: -240px; right: -180px; width: 860px; height: 860px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 13%, transparent) 0%, transparent 62%);
  filter: blur(38px);
  animation-duration: 18s;
}
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hero-left { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { margin: 0; font-size: clamp(48px, 6.6vw, 104px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.hero h1 .accent { color: var(--accent); }
.hero-row { display: flex; flex-wrap: wrap; gap: 60px; align-items: flex-end; margin-top: 48px; }
.hero-sub { margin: 0; max-width: 520px; font-size: 16.5px; line-height: 1.7; color: var(--sub); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn-ghost { background: rgba(7, 18, 25, .5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }

/* stat strip */
.strip { margin-top: 90px; border: 1px solid var(--line-14); background: rgba(7, 18, 25, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.strip-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--line-12);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--sub);
}
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { padding: 20px; border-right: 1px solid var(--line-10); }
.stat:last-child { border-right: 0; }
.stat-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--mut); }
.stat-value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.stat-value.accent { color: var(--accent); }
.stat-unit { font-size: 13px; font-weight: 500; color: var(--sub); }
.stat-track { height: 3px; background: var(--line-10); margin-top: 14px; }
.stat-bar { height: 3px; width: 0%; transition: width 1.6s ease; }
.stat-bar.accent { background: var(--accent); }
.stat-bar.dim { background: var(--dim); }
.stat-bar.light { background: var(--text); }

/* -------------------------------------------------------------- landscape */
.landscape { padding: 160px 4vw 140px; }
.rows { margin-top: 70px; border-top: 1px solid var(--line-14); }
.row { border-bottom: 1px solid var(--line-14); cursor: pointer; }
.row-line {
  display: grid; grid-template-columns: 90px minmax(180px, 1fr) 1.6fr 24px;
  gap: 26px; align-items: baseline;
  padding: 32px 4px;
}
.row-h { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.row-p { font-size: 14.5px; line-height: 1.65; color: var(--sub); }
.row-detail { display: none; padding: 0 4px 34px 116px; }
.row.open .row-detail { display: block; }
.row-detail p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--sub); max-width: 680px; }
.row.open .idx { color: var(--accent); }
.closing { margin: 54px 0 0; font-size: 19px; line-height: 1.6; color: var(--sub); max-width: 600px; }
.closing strong { color: var(--text); font-weight: 400; }

/* --------------------------------------------------------------- services */
.panel-section { background: var(--panel); border-top: 1px solid var(--line-08); border-bottom: 1px solid var(--line-08); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 70px; }
.section-head .tag { margin-bottom: 28px; }
.h-max { max-width: 18ch; }
.h-max-20 { max-width: 20ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 1px solid var(--line-12); }
.svc { position: relative; cursor: pointer; padding: 32px 30px 44px; border-right: 1px solid var(--line-12); border-bottom: 1px solid var(--line-12); background: transparent; text-align: left; color: var(--text); font-family: inherit; border-top: 0; border-left: 0; }
.svc:hover { background: rgba(200, 253, 243, .04); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-icon { font-family: var(--mono); font-size: 15px; color: var(--accent); }
.svc-rule { height: 1px; background: var(--line-14); margin: 24px 0 28px; }
.svc-title { font-size: 23px; font-weight: 600; letter-spacing: -.015em; }
.svc-text { margin: 14px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--sub); }
.svc-scope { display: none; margin-top: 26px; border-top: 1px solid var(--line-14); padding-top: 22px; }
.svc.open .svc-scope { display: block; }
.scope-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--mut); margin-bottom: 14px; }
.scope-list { display: flex; flex-direction: column; gap: 10px; }
.scope-item { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--sub); }
.scope-item .plus { font-family: var(--mono); color: var(--accent); }

.svc-cta {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 30px 44px; background: var(--accent); color: var(--ink);
  border-bottom: 1px solid var(--line-12);
}
.svc-cta:hover { background: var(--text); color: var(--ink); }
.svc-cta-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; }
.svc-cta-title { font-size: 23px; font-weight: 700; letter-spacing: -.015em; margin-top: 40px; }

/* what we don't do */
.notdo { margin-top: 100px; border-top: 1px solid var(--line-12); padding-top: 70px; }
.xitems { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.xitem { display: flex; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-10); }
.xitem .x { font-family: var(--mono); font-size: 14px; color: var(--mut); }
.xitem-h { font-size: 17px; font-weight: 600; color: var(--text); }
.xitem-p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--sub); }

/* --------------------------------------------------------- generic content */
.paras-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-top: 50px; }
.paras-2 p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--sub); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.cols-2 p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--sub); }

/* how-we-work cards (about) */
.wcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border: 1px solid var(--line-12); }
.wcard { padding: 36px 32px 44px; border-right: 1px solid var(--line-12); }
.wcard:last-child { border-right: 0; }
.wcard .idx { font-size: 10px; letter-spacing: .2em; }
.wcard-h { font-size: 21px; font-weight: 600; margin-top: 26px; letter-spacing: -.01em; }
.wcard-p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--sub); }

/* experience tags */
.exptags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; max-width: 820px; }
.exptags span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  color: var(--sub); border: 1px solid var(--line-18); padding: 9px 13px;
}

/* ----------------------------------------------------------- inner headers */
.page-head { position: relative; overflow: hidden; padding: 190px 4vw 110px; }
.page-head .glow { top: -280px; right: -200px; width: 820px; height: 820px; }
.head-img { position: absolute; inset: 0; }
.head-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.35) brightness(.45) contrast(1.04);  /* same navy grade as the hero */
}
.head-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 25, .88) 0%, rgba(10, 28, 38, .72) 45%, #0A1C26 100%);
}
.page-head .lede { margin: 36px 0 0; max-width: 620px; font-size: 16.5px; line-height: 1.75; color: var(--sub); }
.page-head-left { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ----------------------------------------------------------- inertia embed */
.inertia-section { position: relative; overflow: hidden; background: var(--deep); border-top: 1px solid var(--line-08); border-bottom: 1px solid var(--line-08); }
.inertia-section .glow { bottom: -260px; left: -200px; width: 900px; height: 900px; filter: blur(42px); animation-duration: 22s; }
.inertia-head { display: flex; flex-wrap: wrap; gap: 50px; justify-content: space-between; align-items: flex-end; }
.inertia-head p { margin: 30px 0 0; font-size: 16px; line-height: 1.75; color: var(--sub); }

.frame { border: 1px solid var(--line-16); }
.frame-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--line-16);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--sub);
}
.frame-body { position: relative; width: 100%; aspect-ratio: 16 / 8.2; background: var(--deepest); }
.frame-body.tall { aspect-ratio: auto; height: 78vh; min-height: 520px; }
.frame-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.frame-body.active iframe { pointer-events: auto; }
.frame-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(3, 9, 13, 0) 65%, rgba(3, 9, 13, .5) 100%);
}
.frame-body.active .frame-overlay { display: none; }
.frame-enable {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 700;
  color: var(--ink); background: var(--accent); border: 0; padding: 14px 24px; cursor: pointer;
}
.frame-enable:hover { background: var(--text); }
.frame-caption { margin: 18px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--mut); }

/* ------------------------------------------------------------ contact band */
.contact-band { background: var(--accent); padding: 130px 4vw; }
.contact-band .tag { color: var(--ink); border-color: rgba(7, 18, 25, .3); margin-bottom: 30px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 70px; }
.contact-band h2 { margin: 0; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--ink); }
.contact-band .lede { margin: 30px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink-sub); max-width: 440px; }
.contact-band .email {
  display: inline-block; margin-top: 24px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.contact-band .email:hover { color: var(--ink-sub); }
.contact-band form { display: flex; flex-direction: column; gap: 10px; padding-top: 56px; }
.contact-band input, .contact-band textarea {
  background: transparent; border: 1px solid rgba(7, 18, 25, .35);
  padding: 16px 18px; color: var(--ink); font-size: 15px; font-family: 'Archivo', sans-serif; outline: none;
}
.contact-band ::placeholder { color: rgba(7, 18, 25, .55); }
.contact-band textarea { resize: vertical; }
.contact-band .submit {
  align-self: flex-start; margin-top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 700;
  color: var(--text); background: var(--ink); border: 0; padding: 17px 32px; cursor: pointer;
}
.contact-band .submit:hover { background: var(--bg); }

/* ------------------------------------------------------------ contact page */
.contact-page { position: relative; overflow: hidden; padding: 190px 4vw 130px; }
.contact-page .glow { top: -280px; right: -200px; width: 820px; height: 820px; }
.contact-page-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr); gap: 70px; }
.contact-page .tag-row { margin-bottom: 30px; }
.contact-page .lede { margin: 32px 0 0; font-size: 16px; line-height: 1.75; color: var(--sub); max-width: 460px; }
.contact-page .email { display: inline-block; margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.contact-page .email:hover { color: var(--text); }
.company-block { margin-top: 60px; border-top: 1px solid var(--line-12); padding-top: 30px; }
.company-block .label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--mut); }
.company-block p { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: var(--sub); }
.contact-page form { display: flex; flex-direction: column; gap: 10px; padding-top: 64px; }
.contact-page input, .contact-page textarea {
  background: transparent; border: 1px solid rgba(200, 253, 243, .2);
  padding: 16px 18px; color: var(--text); font-size: 15px; font-family: 'Archivo', sans-serif; outline: none;
}
.contact-page textarea { resize: vertical; }
.contact-page .submit {
  align-self: flex-start; margin-top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 700;
  color: var(--ink); background: var(--accent); border: 0; padding: 17px 32px; cursor: pointer;
}
.contact-page .submit:hover { background: var(--text); }

/* ------------------------------------------------------------ services page */
.svc-rows { margin-top: 70px; border-top: 1px solid var(--line-14); }
.svc-row { display: grid; grid-template-columns: 90px minmax(200px, 1.1fr) 1.9fr; gap: 26px; padding: 44px 4px; border-bottom: 1px solid var(--line-14); }
.svc-row-h { font-size: 26px; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.svc-row p { margin: 0 0 22px; font-size: 15px; line-height: 1.75; color: var(--sub); }
.svc-row .scope-list { margin-top: 4px; }

/* ------------------------------------------------------------- legal page */
.legal-block { margin-top: 44px; border-top: 1px solid var(--line-12); padding-top: 34px; }
.legal-block:first-of-type { margin-top: 70px; }
.legal-block .label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--mut); }
.legal-block p { margin: 18px 0 0; font-size: 15px; line-height: 1.8; color: var(--sub); }
.legal-copyright { margin: 60px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--mut); }

/* ----------------------------------------------------------------- footer */
.footer { background: var(--chrome); padding: 90px 4vw 50px; }
.footer-h2 { margin: 0 0 80px; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; max-width: 22ch; color: var(--text); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(140px, 1fr) minmax(260px, 1.6fr); gap: 50px; padding-top: 40px; border-top: 1px solid var(--line-10); }
.footer-blurb { margin: 18px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--sub); max-width: 300px; }
.footer-email { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.footer-nav .label, .footer-company .label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mut); }
.footer-nav .label { margin-bottom: 6px; }
.footer-reg { margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: var(--mut); }
.footer-legal { margin: 14px 0 0; font-size: 11px; line-height: 1.7; color: var(--legal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-08);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--mut);
}
.footer-bottom a { color: var(--mut); }
.footer-bottom a:hover { color: var(--text); }

/* -------------------------------------------------- micro-interactions */
/* Selection + keyboard focus in the accent (small, everywhere, deliberate) */
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* Logo pipe blinks like a cursor when you hover the lockup */
.brand:hover .brand-pipe { animation: blinkDot 1.1s steps(1) infinite; }

/* Nav links: hairline accent underline slides in */
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--accent);
  transition: width .25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

/* Ghost buttons + nav CTA: corner ticks appear on hover (registration marks) */
.btn-ghost, .nav-cta { position: relative; }
.btn-ghost::before, .nav-cta::before,
.btn-ghost::after, .nav-cta::after {
  content: ''; position: absolute; width: 7px; height: 7px;
  opacity: 0; transition: opacity .2s ease;
}
.btn-ghost::before, .nav-cta::before { top: -4px; left: -4px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.btn-ghost::after, .nav-cta::after { bottom: -4px; right: -4px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.btn-ghost:hover::before, .nav-cta:hover::before,
.btn-ghost:hover::after, .nav-cta:hover::after { opacity: 1; }

/* Service cards: accent scanline sweeps the top edge, index lights up */
.svc::after {
  content: ''; position: absolute; top: 0; left: 0;
  height: 1px; width: 0; background: var(--accent);
  transition: width .45s ease;
}
.svc:hover::after, .svc.open::after { width: 100%; }
.svc:hover .idx, .svc.open .idx { color: var(--accent); }
.idx { transition: color .25s ease; }

/* S06 CTA card: arrow steps forward */
.svc-cta-top span:last-child { display: inline-block; transition: transform .25s ease; }
.svc-cta:hover .svc-cta-top span:last-child { transform: translateX(5px); }

/* List rows (landscape, services page): quiet selection tint, index lights */
.row, .svc-row { transition: background .25s ease; }
.row:hover, .svc-row:hover { background: rgba(200, 253, 243, .03); }
.row:hover .idx, .svc-row:hover .idx { color: var(--accent); }

/* Experience tags invert like selected chips */
.exptags span { transition: background .2s ease, color .2s ease, border-color .2s ease; }
.exptags span:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Terminal frames: + registration marks off the corners, accent on hover */
.frame { position: relative; }
.frame::before, .frame::after {
  font-family: var(--mono); font-size: 14px; color: var(--mut);
  position: absolute; line-height: 1; transition: color .3s ease;
  pointer-events: none;
}
.frame::before { content: '+'; top: -8px; left: -8px; }
.frame::after { content: '+'; bottom: -8px; right: -8px; }
.frame:hover::before, .frame:hover::after { color: var(--accent); }

/* Stat strip: tabular figures, accent flash when a value ticks */
.stat-value { font-variant-numeric: tabular-nums; }
.stat-num { transition: color .6s ease; }
.stat-num.tick { color: var(--accent); transition: none; }

/* Email links: blinking terminal cursor on hover */
.footer-email::after, .contact-page .email::after, .contact-band .email::after {
  content: '_'; display: inline-block; width: .6em;
  font-family: var(--mono); opacity: 0;
}
.footer-email:hover::after, .contact-page .email:hover::after, .contact-band .email:hover::after {
  animation: blinkDot 1s steps(1) infinite;
  opacity: 1;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .split, .contact-page-grid, .xitems, .cols-2 { grid-template-columns: 1fr; }
  .row-line, .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .row-detail { padding-left: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .svc, .wcard { border-right: 0; }
  .frame-body { aspect-ratio: auto; height: 70vh; min-height: 420px; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow, .hero-glow { animation: none; }
  .live::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stat-bar { transition: none; }
  .brand:hover .brand-pipe { animation: none; }
  .footer-email:hover::after, .contact-page .email:hover::after, .contact-band .email:hover::after { animation: none; opacity: 1; }
  .svc::after { transition: none; }
  .stat-num { transition: none; }
}
