/* ============================================================
   TECHVISORY — SHARED DESIGN SYSTEM
   Black & white, Apple-inspired. Tokenized for light + dark.
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #ffffff;
  --ink: #111111;
  --graphite: #6e6e73;
  --silver: #86868b;
  --line: #e3e3e6;
  --line-2: #d2d2d7;
  --fog: #f5f5f7;
  --nav-bg: rgba(255,255,255,0.72);
  --grid-line: rgba(0,0,0,0.045);
  --glow: rgba(0,0,0,0.06);
  --card-glow: rgba(0,0,0,0.05);
  --focus-ring: rgba(0,0,0,0.06);
  --shadow: rgba(0,0,0,0.22);
  --panel-bg: #000000;
  --panel-text: #ffffff;
  --panel-dim: #5a5a5f;
  --panel-sub: #b3b3b8;
  --panel-grid: rgba(255,255,255,0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 52px;
}

[data-theme="dark"] {
  --paper: #000000;
  --ink: #f5f5f7;
  --graphite: #a1a1a6;
  --silver: #86868b;
  --line: #262629;
  --line-2: #38383c;
  --fog: #0e0e0f;
  --nav-bg: rgba(0,0,0,0.72);
  --grid-line: rgba(255,255,255,0.05);
  --glow: rgba(255,255,255,0.05);
  --card-glow: rgba(255,255,255,0.06);
  --focus-ring: rgba(255,255,255,0.14);
  --shadow: rgba(0,0,0,0.6);
  --panel-bg: #f5f5f7;
  --panel-text: #0a0a0a;
  --panel-dim: #9a9aa0;
  --panel-sub: #4a4a4f;
  --panel-grid: rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.4;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--silver); }

/* ---------- Scroll progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--ink); z-index: 200; transition: width 0.05s linear; }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 300; mix-blend-mode: difference; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid #fff; transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease); }
.cursor-ring.hover { width: 64px; height: 64px; }
@media (hover: none), (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Navigation ---------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px); z-index: 150;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
nav.top.scrolled { border-bottom-color: var(--line); }
.brand { font-weight: 600; font-size: 19px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: inline-grid; place-items: center; color: var(--paper); font-size: 13px; font-weight: 700; transition: background 0.4s, color 0.4s; }
.nav-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); }
.nav-links { display: flex; gap: clamp(18px, 3vw, 34px); align-items: center; }
.nav-links a { font-size: 13px; color: var(--ink); opacity: 0.85; position: relative; transition: opacity 0.3s; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-cta { font-size: 13px; background: var(--ink); color: var(--paper) !important; padding: 7px 16px; border-radius: 980px; opacity: 1 !important; transition: transform 0.3s var(--ease), background 0.4s, color 0.4s; }
.nav-cta:hover { transform: scale(1.05); }

/* Theme toggle */
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; flex: none; }
.theme-toggle:hover { transform: rotate(18deg); border-color: var(--silver); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: block; } .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; } [data-theme="dark"] .theme-toggle .sun { display: block; }

/* Mobile menu */
.nav-toggle { display: none; width: 30px; height: 30px; position: relative; background: none; border: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 10px; } .nav-toggle span:nth-child(2) { top: 18px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.45s var(--ease); align-items: stretch;
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta { margin-top: 16px; text-align: center; padding: 14px; border-bottom: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-size: 15px; font-weight: 500; padding: 14px 30px; border-radius: 980px; cursor: pointer; border: 1px solid transparent; transition: transform 0.3s var(--ease), background 0.35s, color 0.35s, box-shadow 0.3s, border-color 0.35s; will-change: transform; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 12px 40px var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-invert { background: var(--panel-text); color: var(--panel-bg); }

/* ---------- Shared layout ---------- */
section.block { padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 60px); }
.wrap { max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 780px; margin: 0 auto; }

.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--silver); margin-bottom: 18px; }

.section-head { margin-bottom: 70px; max-width: 900px; }
.section-head h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.section-head h2 .muted { color: var(--line-2); }
.section-head p { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--graphite); max-width: 60ch; line-height: 1.55; }

/* ---------- Hero (home) ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 40px) 20px 60px; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: -2px; background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%); z-index: 0; animation: gridfloat 20s ease-in-out infinite alternate; }
@keyframes gridfloat { from { transform: translate(0,0); } to { transform: translate(-32px, -32px); } }
.hero-glow { position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); top: 30%; left: 50%; transform: translate(-50%, -50%); z-index: 0; animation: pulse 8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--graphite); border: 1px solid var(--line-2); padding: 6px 14px; border-radius: 980px; margin-bottom: 30px; position: relative; z-index: 2; background: var(--fog); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }

.hero h1 { font-size: clamp(40px, 8.5vw, 116px); line-height: 0.98; font-weight: 700; letter-spacing: -0.045em; max-width: 15ch; position: relative; z-index: 2; margin-bottom: 28px; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
.hero h1 .grad { background: linear-gradient(90deg, var(--ink) 0%, var(--silver) 50%, var(--ink) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }
.hero p.sub { font-size: clamp(16px, 2vw, 21px); color: var(--graphite); max-width: 60ch; line-height: 1.5; position: relative; z-index: 2; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.5s forwards; }
@keyframes fadeUp { from { opacity:0; transform: translateY(20px);} to {opacity:1; transform:none;} }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.7s forwards; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--silver); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeUp 1s ease 1.2s forwards; }
.scroll-hint .line { width: 1px; height: 40px; background: linear-gradient(var(--ink), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(70px,12vh,130px)) clamp(20px,5vw,60px) clamp(50px,8vh,90px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-grid { animation: none; }
.breadcrumb { font-size: 13px; color: var(--silver); margin-bottom: 22px; position: relative; z-index: 2; }
.breadcrumb a { transition: color 0.25s; } .breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line-2); margin: 0 8px; }
.page-hero h1 { font-size: clamp(38px, 7vw, 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; max-width: 16ch; position: relative; z-index: 2; }
.page-hero p.lead { margin-top: 26px; font-size: clamp(17px, 2vw, 22px); color: var(--graphite); max-width: 60ch; line-height: 1.5; position: relative; z-index: 2; }
.page-hero .idx { position: absolute; right: clamp(20px,5vw,60px); top: calc(var(--nav-h) + 40px); font-size: clamp(90px, 16vw, 220px); font-weight: 700; color: var(--fog); letter-spacing: -0.06em; z-index: 0; line-height: 1; user-select: none; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--paper); white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 60px; animation: scroll-x 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: "✳"; color: var(--silver); font-size: 20px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px 34px; background: var(--paper); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease), background 0.4s; min-height: 300px; display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), var(--card-glow), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 60px -20px var(--shadow); }
.card:hover::before { opacity: 1; }
.card .num { font-size: 12px; color: var(--silver); letter-spacing: 0.1em; margin-bottom: 22px; }
.card .ic { width: 46px; height: 46px; margin-bottom: 22px; color: var(--ink); }
.card .ic svg { width: 100%; height: 100%; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--graphite); line-height: 1.55; flex-grow: 1; }
.card .arrow { margin-top: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background 0.35s var(--ease), color 0.35s, transform 0.35s var(--ease); }
.card:hover .arrow { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }

/* ---------- Dark panel + stats ---------- */
.panel-dark { background: var(--panel-bg); color: var(--panel-text); border-radius: 34px; margin: clamp(20px,5vw,60px); padding: clamp(60px, 10vw, 130px) clamp(24px, 6vw, 90px); position: relative; overflow: hidden; transition: background 0.5s var(--ease), color 0.5s var(--ease); }
.panel-dark .hero-grid { background-image: linear-gradient(to right, var(--panel-grid) 1px, transparent 1px), linear-gradient(to bottom, var(--panel-grid) 1px, transparent 1px); mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 75%); animation: none; }
.panel-dark .kicker { color: var(--panel-dim); position: relative; z-index: 2; }
.panel-dark h2 { font-size: clamp(30px, 5.5vw, 66px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 20ch; position: relative; z-index: 2; }
.panel-dark h2 .dim { color: var(--panel-dim); }
.panel-dark p.lead { margin-top: 26px; font-size: clamp(16px,1.7vw,20px); color: var(--panel-sub); max-width: 60ch; line-height: 1.55; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; position: relative; z-index: 2; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); gap: 34px 20px; } }
.stat .n { font-size: clamp(38px, 6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat .l { margin-top: 10px; font-size: 13px; color: var(--panel-dim); letter-spacing: 0.02em; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 800px){ .steps { grid-template-columns: 1fr; gap: 40px; } }
.step-list { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 4px; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); }
.step:hover { padding-left: 16px; }
.step .sn { font-size: 14px; color: var(--silver); font-weight: 600; }
.step h4 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--graphite); line-height: 1.5; }
.steps-aside { position: sticky; top: 120px; }
.steps-aside h3 { font-size: clamp(26px,3.5vw,40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.steps-aside p { margin-top: 18px; color: var(--graphite); font-size: 16px; line-height: 1.55; }

/* ---------- Feature list / service detail ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px,6vw,90px); align-items: start; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 44px; } }
.prose p { font-size: clamp(16px,1.7vw,19px); color: var(--graphite); line-height: 1.65; margin-bottom: 20px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.feature-list { border-top: 1px solid var(--line); }
.feature-list li { list-style: none; padding: 22px 4px; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; transition: padding 0.4s var(--ease); }
.feature-list li:hover { padding-left: 14px; }
.feature-list .chk { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin-top: 1px; }
.feature-list .chk svg { width: 12px; height: 12px; }
.feature-list h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.feature-list p { font-size: 14.5px; color: var(--graphite); line-height: 1.5; }

.spec-card { border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; background: var(--fog); }
.spec-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver); margin-bottom: 20px; }
.spec-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.spec-card .row:last-child { border-bottom: none; }
.spec-card .row span:first-child { color: var(--graphite); }
.spec-card .row span:last-child { font-weight: 600; text-align: right; }

/* ---------- Pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px){ .pager { grid-template-columns: 1fr; } }
.pager a { border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; transition: border-color 0.35s, transform 0.4s var(--ease), background 0.35s; }
.pager a:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pager .dir { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 8px; }
.pager .t { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pager a.next { text-align: right; }

/* ---------- Insights / blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .post-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 60px -20px var(--shadow); }
.post-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--fog); border-bottom: 1px solid var(--line); }
.post-thumb .g { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px); background-size: 28px 28px; }
.post-thumb .big { position: absolute; right: 18px; bottom: -14px; font-size: 120px; font-weight: 700; color: var(--line); letter-spacing: -0.05em; line-height: 1; }
.post-thumb .cat { position: absolute; left: 20px; top: 18px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 980px; }
.post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.post-body .meta { font-size: 12px; color: var(--silver); margin-bottom: 12px; letter-spacing: 0.01em; }
.post-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 12px; }
.post-body p { font-size: 14.5px; color: var(--graphite); line-height: 1.55; flex-grow: 1; }
.post-body .read { margin-top: 20px; font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.post-card:hover .read svg { transform: translateX(4px); }
.post-body .read svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article .meta { font-size: 14px; color: var(--silver); margin-bottom: 30px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.article .meta .tag { color: var(--ink); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 980px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.article p { font-size: 18px; color: var(--ink); line-height: 1.75; margin-bottom: 24px; }
.article h2 { font-size: clamp(24px,3vw,32px); font-weight: 700; letter-spacing: -0.03em; margin: 46px 0 18px; }
.article blockquote { border-left: 2px solid var(--ink); padding-left: 24px; margin: 32px 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; }
.article ul { padding-left: 22px; margin-bottom: 24px; }
.article li { font-size: 18px; color: var(--ink); line-height: 1.7; margin-bottom: 10px; }
.article .byline { display: flex; align-items: center; gap: 14px; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); }
.article .byline .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; }
.article .byline .who { font-size: 15px; font-weight: 600; } .article .byline .role { font-size: 13px; color: var(--silver); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,80px); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; gap: 50px; } }
.contact-info h3 { font-size: clamp(24px,3vw,34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.contact-info p { margin-top: 18px; color: var(--graphite); font-size: 16px; line-height: 1.6; }
.contact-detail { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-detail a, .contact-detail div { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 4px; }
.contact-detail .val { font-size: 17px; font-weight: 500; transition: opacity 0.25s; }
.contact-detail a:hover .val { opacity: 0.6; }

form.tv { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px){ .field.row2 { grid-template-columns: 1fr; } }
.field label { font-size: 13px; color: var(--graphite); letter-spacing: -0.01em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 15px 16px; transition: border-color 0.3s, box-shadow 0.3s, background 0.4s, color 0.4s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--focus-ring); }
.field input::placeholder, .field textarea::placeholder { color: var(--silver); }
.form-note { font-size: 13px; color: var(--silver); }
.form-success { display: none; padding: 18px 20px; border: 1px solid var(--ink); border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 15px; }
.form-success.show { display: block; animation: fadeUp 0.5s var(--ease); }

/* ---------- Legal prose ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: clamp(22px,3vw,30px); font-weight: 700; letter-spacing: -0.03em; margin: 48px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16.5px; color: var(--graphite); line-height: 1.7; margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .updated { font-size: 14px; color: var(--silver); margin-bottom: 40px; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding: clamp(90px, 16vh, 200px) 20px; }
.cta-final h2 { font-size: clamp(40px, 9vw, 130px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.cta-final p { margin: 26px auto 0; max-width: 46ch; color: var(--graphite); font-size: clamp(16px,1.8vw,20px); }
.cta-final .hero-cta { animation: none; opacity: 1; margin-top: 44px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px clamp(20px,5vw,60px) 40px; background: var(--fog); transition: background 0.5s var(--ease); }
.foot-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--graphite); font-size: 14px; line-height: 1.5; }
.foot-cols { display: flex; gap: clamp(40px, 8vw, 90px); flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink); opacity: 0.8; margin-bottom: 11px; transition: opacity 0.25s; }
.foot-col a:hover { opacity: 1; text-decoration: underline; }
.foot-bottom { max-width: 1200px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--silver); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; } .reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
