/* ═══════════════════════════════════════════════════════════════════
   VISUVATE BRAND SYSTEM — Stylesheet
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Typefaces */
  --display: 'Onest', system-ui, -apple-system, sans-serif;
  --text: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --t-display: 120px;
  --t-h1: 80px;
  --t-h2: 56px;
  --t-h3: 36px;
  --t-h4: 22px;
  --t-h5: 16px;
  --t-eyebrow: 12px;
  --t-lead-xl: 22px;
  --t-lead: 18px;
  --t-body: 15px;
  --t-body-s: 13px;
  --t-caption: 12px;

  /* Tracking */
  --tr-display: -0.045em;
  --tr-h1: -0.04em;
  --tr-h2: -0.035em;
  --tr-h3: -0.03em;
  --tr-h4: -0.022em;
  --tr-h5: -0.015em;

  /* Brand blue */
  --blue-50: #EEF1FF;
  --blue-100: #DCE2FF;
  --blue-200: #B5BFFE;
  --blue-300: #8E9CFB;
  --blue-400: #6A7DF8;
  --blue-500: #4263FF;
  --blue-600: #2F4EE0;
  --blue-700: #233CB8;
  --blue-800: #1B2D8C;
  --blue-900: #131F60;

  /* Grayscale */
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F0F0F0;
  --gray-200: #D8D8D8;
  --gray-300: #ABABAB;
  --gray-400: #898989;
  --gray-500: #757575;
  --gray-600: #5A5A5A;
  --gray-700: #363636;
  --gray-800: #222222;
  --gray-900: #161616;

  /* Secondaries — rotation only */
  --violet: #7A3DFF;
  --coral: #FF5A3D;
  --lime: #C8FF3D;
  --amber: #FFB840;
  --mint: #3DE8B0;
  --rose: #FF5C8A;

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --sidebar-w: 248px;
  --sidebar-w-collapsed: 72px;

  /* Radii — Webflow-style soft, consistent */
  --r-sm: 4px;
  --r-md: 4px;
  --r-lg: 4px;
  --r-xl: 4px;
  --r-pill: 999px;

  /* Card gap rhythm */
  --gap: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 600ms;
}

/* ─── THEMES ─────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg: var(--black);
  --bg-elevated: #111;
  --surface: #141414;
  --surface-2: #181818;
  --surface-strong: #1F1F1F;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-primary: var(--white);
  --text-muted: #9A9A9A;
  --text-subtle: #6B6B6B;
  --nav-bg: rgba(10, 10, 10, 0.72);
}

[data-theme="light"] {
  --bg: var(--white);
  --bg-elevated: var(--gray-50);
  --surface: #F6F6F6;
  --surface-2: #F1F1F1;
  --surface-strong: var(--gray-100);
  --border: rgba(10, 10, 10, 0.10);
  --border-strong: rgba(10, 10, 10, 0.18);
  --text-primary: var(--black);
  --text-muted: #5A5A5A;
  --text-subtle: #989898;
  --nav-bg: rgba(255, 255, 255, 0.80);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--text);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--blue-500); color: var(--white); }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────────── */
.display, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: var(--tr-h1);
  line-height: 1.04;
}
.display { font-size: var(--t-display); letter-spacing: var(--tr-display); }
h1, .h1 { font-size: var(--t-h1); letter-spacing: var(--tr-h1); line-height: 1.04; }
h2, .h2 { font-size: var(--t-h2); letter-spacing: var(--tr-h2); line-height: 1.06; }
h3, .h3 { font-size: var(--t-h3); letter-spacing: var(--tr-h3); line-height: 1.12; }
h4, .h4 { font-size: var(--t-h4); letter-spacing: var(--tr-h4); line-height: 1.2; }
h5, .h5 { font-size: var(--t-h5); letter-spacing: var(--tr-h5); line-height: 1.3; }

.eyebrow {
  font-family: var(--text);
  font-weight: 600;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
}
.eyebrow::before { display: none; }

.lead-xl { font-size: var(--t-lead-xl); line-height: 1.5; letter-spacing: -0.01em; color: var(--text-muted); }
.lead { font-size: var(--t-lead); line-height: 1.55; letter-spacing: -0.005em; color: var(--text-muted); }
.body-s { font-size: var(--t-body-s); line-height: 1.6; }
.caption {
  font-family: var(--text);
  font-weight: 500;
  font-size: var(--t-caption);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

/* ─── APP SHELL ──────────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}
.layout.sidebar-collapsed {
  grid-template-columns: var(--sidebar-w-collapsed) 1fr;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  border-right: 1px solid var(--border);
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.layout.sidebar-collapsed .sidebar {
  width: var(--sidebar-w-collapsed);
  padding: 22px 14px;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 32px;
  min-height: 32px;
  position: relative;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
}
.sidebar-brand svg { width: 22px; height: 22px; flex-shrink: 0; }
.sidebar-brand svg path { fill: var(--blue-500); }
.sidebar-brand .brand-text {
  display: inline-flex;
  gap: 5px;
  transition: opacity var(--dur-fast) var(--ease);
}
.sidebar-brand .sub { color: var(--text-muted); font-weight: 400; }
.layout.sidebar-collapsed .sidebar-brand .brand-text { display: none; }

.sidebar-collapse-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--text-subtle);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.sidebar-collapse-btn:hover { color: var(--text-primary); background: var(--surface); border-color: var(--border-strong); }
.sidebar-collapse-btn svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.layout.sidebar-collapsed .sidebar-collapse-btn svg { transform: rotate(180deg); }
/* Collapsed: stack the mark above the toggle so neither is squeezed and the
   logo keeps its full size (no shrinking). */
.layout.sidebar-collapsed .sidebar-head {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}
.layout.sidebar-collapsed .sidebar-brand { gap: 0; justify-content: center; width: 100%; }
.layout.sidebar-collapsed .sidebar-brand svg { width: 28px; height: 28px; }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.sidebar-nav a svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.9; }
.sidebar-nav a .nav-label { transition: opacity var(--dur-fast) var(--ease); }
.layout.sidebar-collapsed .sidebar-nav a { justify-content: center; padding: 11px 0; }
.layout.sidebar-collapsed .sidebar-nav a .nav-label { display: none; }
.sidebar-nav a:hover { color: var(--text-primary); background: var(--surface); }
.sidebar-nav a.active { color: var(--text-primary); background: var(--surface); }
.sidebar-nav a.active svg { opacity: 1; color: var(--text-primary); }

.sidebar-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.theme-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.theme-switch:hover { background: var(--surface); color: var(--text-primary); }
.theme-switch .ts-icon { width: 17px; height: 17px; flex-shrink: 0; display: grid; place-items: center; }
.theme-switch .ts-icon svg { width: 17px; height: 17px; }
.theme-switch .ts-label {
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  transition: opacity var(--dur-fast) var(--ease);
}
.theme-switch .ts-track {
  margin-left: auto;
  width: 34px; height: 20px;
  border-radius: var(--r-pill);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.theme-switch .ts-track::after {
  content: '';
  position: absolute;
  top: 50%; left: 2px;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: var(--r-pill);
  background: var(--text-muted);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
[data-theme="light"] .theme-switch .ts-track { background: var(--blue-500); border-color: var(--blue-500); }
[data-theme="light"] .theme-switch .ts-track::after { transform: translateY(-50%) translateX(14px); background: var(--white); }
.layout.sidebar-collapsed .theme-switch { justify-content: center; padding: 11px 0; }
.layout.sidebar-collapsed .theme-switch .ts-label,
.layout.sidebar-collapsed .theme-switch .ts-track { display: none; }

[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="light"] .theme-sun { display: none; }
[data-theme="light"] .theme-moon { display: block; }

.icon-btn {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface); color: var(--text-primary); }
.icon-btn svg { width: 16px; height: 16px; }

/* Main content area */
.main {
  grid-column: 2;
  min-width: 0;
}

/* Mobile topbar */
.topbar { display: none; }
.scrim { display: none; }

/* ─── CONTENT LAYOUT ──────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 72px;
}

section {
  padding: 128px 0;
  position: relative;
}
section + section { border-top: 1px solid var(--border); }

/* Top intro block — eyebrow + big heading left, lead right (Webflow section intro) */
.page-intro { padding-bottom: clamp(80px, 9vw, 128px); }
.intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: end;
  padding-bottom: 8px;
}
.intro .meta-stack .eyebrow { margin-bottom: 24px; }
.intro .meta-stack h2 {
  font-size: clamp(40px, 5.6vw, 76px);
  letter-spacing: -0.05em;
  line-height: 0.99;
  max-width: 15ch;
}
.intro .lead {
  align-self: end;
  font-size: var(--t-lead);
  color: var(--text-muted);
  max-width: 46ch;
}

/* ─── PAGE HERO (breadcrumb · big title · subhead + lead) ─────────── */
.page-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 9vw, 132px); }
.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(64px, 11vw, 168px);
}
.hero-crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.hero-crumb a { color: var(--text-primary); transition: color var(--dur-fast) var(--ease); }
.hero-crumb a:hover { color: var(--blue-400); }
.hero-crumb .sep { color: var(--text-subtle); font-size: 15px; }
.hero-crumb .cur { color: var(--text-subtle); }
.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-shrink: 0; }
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease);
}
.hero-action:hover { color: var(--blue-400); }
.hero-action svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; transition: color var(--dur-fast) var(--ease); }
.hero-action:hover svg { color: var(--blue-400); }
.ha-aa { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.04em; line-height: 1; color: var(--text-muted); transition: color var(--dur-fast) var(--ease); }
.hero-action:hover .ha-aa { color: var(--blue-400); }
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(60px, 13.5vw, 184px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin: 0 0 clamp(56px, 8vw, 128px);
  text-wrap: balance;
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.hero-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 16ch;
}
.hero-lead {
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  max-width: 32ch;
}
@media (max-width: 900px) {
  .hero-top { flex-direction: column; gap: 22px; margin-bottom: 52px; }
  .hero-actions { flex-direction: row; gap: 28px; flex-wrap: wrap; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
}

/* Section row — STACKED (header above, content full-width below).
   This is the core "section-by-section" rhythm. The heading is never
   squeezed into a side column next to the content. */
.row { display: block; }
.row-label {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  max-width: 100%;
}
.row-label .eyebrow {
  grid-column: 1;
  margin-bottom: 0;
  align-self: start;
}
.row-label h2 {
  grid-column: 1;
  font-size: clamp(44px, 5.8vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.0;
  max-width: 16ch;
  margin-top: 18px;
}
.row-label h3 {
  grid-column: 1;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-top: 0;
}
.row-label p {
  grid-column: 2;
  align-self: end;
  color: var(--text-muted);
  font-size: var(--t-lead);
  line-height: 1.55;
  max-width: 48ch;
}
.row-content { width: 100%; }

/* Subsection block */
.sub-head { margin: 0 0 28px; max-width: 64ch; }
.sub-head h3 { margin-bottom: 8px; }
.sub-head p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.row-content > .sub-head:not(:first-child) { margin-top: 88px; }
.applied-block + .sub-head { margin-top: 88px; }

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.005em;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn--solid { background: var(--text-primary); color: var(--bg); }
.btn--solid:hover { opacity: 0.9; }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn--ghost:hover { background: var(--surface); border-color: var(--text-primary); }
.btn--blue { background: var(--blue-500); color: var(--white); }
.btn--blue:hover { background: var(--blue-600); }
.btn svg { width: 13px; height: 13px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* ═══════════════════════════════════════════════════════════════════
   HOME — HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 24px;
  border-top: none !important;
  height: 100vh;
  min-height: 640px;
  max-height: 940px;
  display: block;
  background: var(--bg);
}
.hero-inner {
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
}
.hero-bleed {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.hero-bleed-mark {
  /* Fixed proportions — contained, no breathing/scale animation */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.hero-bleed-mark path { fill: var(--blue-500); }

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
}
.hero-content h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  text-wrap: balance;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: gap var(--dur-fast) var(--ease);
  padding: 13px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  width: fit-content;
}
.hero-cta:hover { gap: 16px; background: var(--surface-strong); }
.hero-cta svg { width: 14px; height: 14px; }

/* Explore section */
.explore { padding: 140px 0; }
.explore-title {
  font-size: clamp(44px, 5.6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 64px;
  max-width: 13ch;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.explore-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.explore-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.explore-card .icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 72px;
  color: var(--blue-400);
}
.explore-card .icon svg { width: 28px; height: 28px; }
.explore-card h4 {
  font-size: 27px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.explore-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  flex-grow: 1;
  max-width: 34ch;
}
.explore-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  margin-top: 28px;
}
.explore-card .more svg {
  width: 14px; height: 14px;
  transition: transform var(--dur-fast) var(--ease);
}
.explore-card:hover .more svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════
   LOGO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.logo-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 96px;
  display: grid;
  place-items: center;
  position: relative;
  min-height: 440px;
  overflow: hidden;
}
.logo-stage .mark { width: 168px; height: 168px; color: var(--blue-500); }
.logo-stage .mark svg { width: 100%; height: 100%; }
.logo-stage .mark svg path { fill: currentColor; }

.clearspace-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 80px;
  display: grid;
  place-items: center;
  min-height: 480px;
}
.clearspace { position: relative; width: 340px; aspect-ratio: 1 / 1; }
.clearspace-mark { position: absolute; inset: 25%; display: grid; place-items: center; }
.clearspace-mark svg { width: 100%; height: 100%; color: var(--blue-500); }
.clearspace-mark svg path { fill: currentColor; }
.clearspace-guides {
  position: absolute;
  inset: 25%;
  border: 1px dashed color-mix(in srgb, var(--blue-500) 55%, transparent);
  border-radius: 4px;
}
.clearspace-outer { position: absolute; inset: 7%; border: 1px dashed var(--border-strong); border-radius: 4px; }
.clearspace::before, .clearspace::after { display: none; }

.donts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.dont-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dont-card .dont-visual { flex: 1; display: grid; place-items: center; position: relative; }
.dont-card .dont-visual svg { width: 60px; height: 60px; }
.dont-card .dont-visual svg path { fill: var(--blue-500); }
.dont-card .dont-label {
  font-family: var(--text);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.dont-card .dont-label::before {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  margin-top: 3px;
  background: var(--coral);
  border-radius: var(--r-pill);
  background-image: linear-gradient(45deg, transparent 46%, white 46%, white 54%, transparent 54%),
                    linear-gradient(-45deg, transparent 46%, white 46%, white 54%, transparent 54%);
}
.dont--stretch svg { transform: scaleX(1.6); }
.dont--rotate svg { transform: rotate(28deg); }
.dont--color svg path { fill: var(--coral) !important; }
.dont--lowcontrast svg path { fill: var(--gray-700) !important; }
.dont--outline svg path { fill: none; stroke: var(--blue-500); stroke-width: 16; }
.dont--shadow svg { filter: drop-shadow(0 0 16px var(--blue-500)); }
.dont--gradient svg path { fill: url(#grad-bad); }
.dont--bg { background: var(--blue-500); border-color: transparent; }
.dont--bg svg path { fill: var(--white); }
.dont--bg .dont-label { color: rgba(255, 255, 255, 0.9); }
.dont--bg .dont-label::before { background: rgba(255,255,255,0.95); }

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
.type-specimen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px 40px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 360px;
}
.type-specimens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.type-specimen .specimen-aa {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(90px, 12vw, 168px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  flex: 1;
  display: flex;
  align-items: center;
}
.specimen-aa.text { font-family: var(--text); font-weight: 400; letter-spacing: 0; }
.type-specimen .specimen-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.type-specimen .specimen-info .k {
  display: block;
  font-family: var(--text);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.type-specimen .specimen-info .v {
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
}
.type-specimen .label {
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-stack {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.type-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 100px;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.type-row:last-child { border-bottom: none; }
.type-row .meta:nth-child(3) { display: none; }
.type-row .sample {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.type-row.body .sample { font-family: var(--text); font-weight: 400; letter-spacing: 0; }
.type-row .meta {
  font-family: var(--text);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.type-row .meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 4px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

/* Type scale — specimen + spec row (heading & paragraph scales) */
.type-scale { display: flex; flex-direction: column; gap: clamp(56px, 6.5vw, 104px); }
.ts-item { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 34px); }
.ts-sample {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
.ts-sample.body { font-family: var(--text); font-weight: 400; text-wrap: pretty; max-width: 22ch; }
.ts-sample.eyebrow-sample {
  font-family: var(--text);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ts-spec {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}
.ts-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-family: var(--text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.ts-badge.head { background: var(--violet); }
.ts-badge.para { background: var(--blue-500); }
.ts-cols {
  display: flex;
  gap: clamp(22px, 3.4vw, 52px);
  flex-wrap: wrap;
  padding-top: 2px;
}
.ts-col { display: flex; flex-direction: column; gap: 7px; min-width: 80px; }
.ts-col .k {
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.ts-col .v {
  font-family: var(--text);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* Interactive type playground */
.type-play {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.type-play-canvas {
  padding: 56px 48px;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.type-play-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "wght" 600;
  font-size: 72px;
  letter-spacing: -0.04em;
  line-height: 1.18;
  padding: 0.08em 0;
  resize: none;
  overflow: hidden;
  display: block;
}
.type-play-input::placeholder { color: var(--text-subtle); }
.type-play-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Upgrade to CSS Grid to force absolute width compliance */
.tp-control {
  display: grid;
  grid-template-columns: max-content 1fr 36px; /* max-content rigidly locks the label size */
  align-items: center;
  gap: 12px;
  flex: 1 1 180px; 
}

/* Keep the font toggle button as a flex row */
.tp-control--font {
  display: flex;
  flex: 0 0 auto;
}

.tp-seg { display: inline-flex; background: var(--surface-strong); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.tp-seg button { padding: 7px 18px; border-radius: var(--r-pill); font-family: var(--text); font-weight: 500; font-size: 12px; letter-spacing: 0.01em; color: var(--text-muted); transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.tp-seg button.active { background: var(--blue-500); color: var(--white); }
.tp-seg button:not(.active):hover { color: var(--text-primary); }

.tp-control label {
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tp-control .val {
  font-family: var(--text);
  font-weight: 500;
  font-size: 12px;
  color: var(--text-primary);
  text-align: left; /* Snaps text exactly 12px away from the stretched slider */
  font-variant-numeric: tabular-nums;
}

.tp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%; /* Strictly fills the 1fr grid cell */
  min-width: 40px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--surface-strong);
  outline: none;
  margin: 0;
}
.tp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; height: 15px;
  border-radius: var(--r-pill);
  background: var(--blue-500);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease);
}
.tp-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
.tp-range::-moz-range-thumb {
  width: 15px; height: 15px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--blue-500);
  cursor: pointer;
}

/* Variable-weight scroll section */
.vweight {
  padding: clamp(120px, 16vw, 220px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.vweight-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 72px);
  width: 100%;
  padding: 0 clamp(20px, 4vw, 64px);
}
.vweight-line {
  font-family: var(--display);
  font-size: clamp(120px, 19.5vw, 400px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  font-weight: 400;
  font-variation-settings: "wght" 300;
  will-change: font-variation-settings;
}
/* Line 1 begins at the horizontal center of the page and runs right. */
.vweight-line--start { padding-left: 50%; }

/* Line 2 is physically centered, allowing even overflow on both sides. */
.vweight-line--center { align-self: center; }

/* Line 3 is physically anchored to the right edge, forcing any overflow off the left side */
.vweight-line--right { align-self: flex-end; }
.vweight-caption {
  font-family: var(--text);
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 56px;
  max-width: 46ch;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════
   COLOR — rounded cards, gaps, light centered copy overlay
   ═══════════════════════════════════════════════════════════════════ */
.swatch-blue {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--gap);
}
.swatch-blue .hero-area {
  background: var(--blue-500);
  aspect-ratio: 24 / 7;
  position: relative;
  cursor: pointer;
}
.swatch-blue .hero-area .Aa {
  position: absolute;
  top: 28px; left: 32px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--white);
  font-size: 32px;
  letter-spacing: -0.035em;
}
.swatch-blue .ramp { display: grid; grid-template-columns: repeat(9, 1fr); height: 56px; }
.swatch-blue .ramp > span { display: block; cursor: pointer; position: relative; }
.swatch-blue .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}
.swatch-blue .meta .name { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.swatch-blue .meta .hex { font-family: var(--text); font-weight: 500; font-size: 13px; color: var(--text-muted); letter-spacing: 0.02em; }

/* Copy-on-hover — full-area, CENTERED, no heavy darkening */
.copyable { position: relative; cursor: pointer; }
.copyable .copy-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease);
  color: var(--white);
  font-family: var(--text);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.copyable:hover .copy-overlay { opacity: 0.92; }
.copyable.copied .copy-overlay { opacity: 1; }
/* light swatches get dark copy text (set inline in markup via color) */
.copyable .copy-overlay[style*="0A0A0A"] { text-shadow: 0 1px 8px rgba(255, 255, 255, 0.45); }
/* narrow ramp cells: shrink the label so it stays centered and legible */
.swatch-blue .ramp .copy-overlay {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-indent: 0.08em;
}

.swatch-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-bottom: var(--gap);
}
.swatch-flat {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.swatch-flat .body { aspect-ratio: 21 / 11; position: relative; cursor: pointer; }
.swatch-flat .body .Aa {
  position: absolute;
  top: 28px; left: 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.035em;
}
.swatch-flat .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
}
.swatch-flat .name { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.swatch-flat .hex { font-family: var(--text); font-weight: 500; font-size: 12px; color: var(--text-muted); letter-spacing: 0.02em; }

.gray-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
}
.gray-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.gray-cell .swatch { aspect-ratio: 5 / 3; cursor: pointer; position: relative; }
.gray-cell .info { padding: 12px 14px; }
.gray-cell .info .name { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.gray-cell .info .hex { font-family: var(--text); font-size: 11px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.02em; }

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.sec-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.sec-cell .swatch { aspect-ratio: 3 / 2; position: relative; cursor: pointer; }
.sec-cell .swatch .Aa {
  position: absolute;
  top: 18px; left: 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.sec-cell .info {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sec-cell .info .name { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.sec-cell .info .hex { font-family: var(--text); font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-family: var(--text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 12px; height: 12px; }

/* Color usage examples */
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.usage-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}
.usage-card.coral { background: var(--coral); color: var(--black); }
.usage-card.violet { background: var(--violet); color: var(--white); }
.usage-card h3 { letter-spacing: -0.035em; font-size: 32px; line-height: 1.05; }
.usage-card .badge {
  position: absolute;
  top: 28px; left: 28px;
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.usage-card.coral .badge { color: rgba(0,0,0,0.65); }
.usage-card.violet .badge { color: rgba(255,255,255,0.7); }

/* Color don'ts */
.color-donts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.color-dont {
  aspect-ratio: 4 / 3;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.color-dont .preview { flex: 1; display: grid; place-items: center; }
.color-dont .preview .demo {
  width: 72%; height: 52%;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.cd-1 .demo { background: linear-gradient(135deg, var(--coral), var(--violet)); color: var(--white); }
.cd-2 .demo { background: var(--lime); color: var(--coral); }
.cd-3 .demo { background: var(--violet); color: var(--mint); }
.color-dont .label {
  font-family: var(--text);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.color-dont .label::before {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  margin-top: 3px;
  background: var(--coral);
  border-radius: var(--r-pill);
  background-image: linear-gradient(45deg, transparent 46%, white 46%, white 54%, transparent 54%),
                    linear-gradient(-45deg, transparent 46%, white 46%, white 54%, transparent 54%);
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT / SPACING / MOTION
   ═══════════════════════════════════════════════════════════════════ */
.scale-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 24px;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.scale-row:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.scale-row:last-child { border-bottom: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.scale-row .num { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--text-primary); letter-spacing: -0.01em; }
.scale-row .vis { background: var(--blue-500); height: 10px; border-radius: var(--r-pill); }
.scale-row .px { font-family: var(--text); font-size: 12px; color: var(--text-muted); text-align: right; letter-spacing: 0.02em; }
.scale-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.grid-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  min-height: 320px;
  position: relative;
}
.grid-demo .col {
  background: color-mix(in srgb, var(--blue-500) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue-500) 26%, transparent);
  border-radius: var(--r-sm);
  min-height: 240px;
  display: grid;
  place-items: center;
  font-family: var(--text);
  font-size: 11px;
  color: var(--blue-400);
  font-weight: 500;
}

.motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.motion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
}
.motion-card .demo-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 100px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.motion-card .dot { width: 16px; height: 16px; border-radius: var(--r-pill); background: var(--blue-500); }
.motion-card.m-ease .dot { animation: mEase 2.2s ease-in-out infinite; }
.motion-card.m-spring .dot { animation: mSpring 2.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.motion-card.m-fade .dot { animation: mFade 2.2s ease infinite; }
@keyframes mEase { 0%, 100% { transform: translateX(-60px); } 50% { transform: translateX(60px); } }
@keyframes mSpring { 0%, 100% { transform: translateX(-60px) scale(1); } 50% { transform: translateX(60px) scale(1.2); } }
@keyframes mFade { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.2; transform: scale(0.6); } }

/* ═══════════════════════════════════════════════════════════════════
   VOICE & TONE
   ═══════════════════════════════════════════════════════════════════ */
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.principle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.principle-card .num { font-family: var(--text); font-weight: 600; font-size: 11px; color: var(--text-subtle); letter-spacing: 0.12em; text-transform: uppercase; }
.principle-card h3 {}
.principle-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; max-width: 38ch; }

.voice-rows {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.voice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  padding: 28px;
  border-bottom: 1px solid var(--border);
  align-items: stretch;
  background: var(--surface);
}
.voice-row:last-child { border-bottom: none; }
.voice-cell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
}
.voice-cell.dont { background: transparent; }
.voice-cell .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--text);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  width: fit-content;
}
.voice-cell .tag-do { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.voice-cell .tag-dont { background: color-mix(in srgb, var(--coral) 16%, transparent); color: var(--coral); }
.voice-cell .quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}
.voice-cell.dont .quote { color: var(--text-subtle); }

.vocab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.vocab-col {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.vocab-col h5 { font-family: var(--text); font-weight: 500; font-size: 11px; margin-bottom: 24px; letter-spacing: 0.06em; text-transform: uppercase; }
.vocab-col.always h5 { color: var(--mint); }
.vocab-col.sometimes h5 { color: var(--text-muted); }
.vocab-col.never h5 { color: var(--coral); }
.vocab-col ul li { font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.9; letter-spacing: -0.015em; color: var(--text-primary); }
.vocab-col.sometimes ul li { color: var(--text-muted); }
.vocab-col.never ul li { color: var(--text-subtle); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--coral) 50%, transparent); }

/* ═══════════════════════════════════════════════════════════════════
   ASSETS PAGE
   ═══════════════════════════════════════════════════════════════════ */
.asset-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: var(--gap);
  overflow: hidden;
  position: relative;
}
.asset-stage {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 64px;
  position: relative;
  transition: background var(--dur) var(--ease);
}
.asset-stage .mark { width: 140px; height: 140px; }
.asset-stage .mark svg { width: 100%; height: 100%; }
.asset-stage[data-bg="dark"] { background: var(--black); }
.asset-stage[data-bg="light"] { background: var(--white); }
.asset-stage[data-bg="blue"] { background: var(--blue-500); }

.asset-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.color-tabs { display: flex; gap: 4px; }
.color-tabs button {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--text-subtle);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.color-tabs button:hover { color: var(--text-muted); }
.color-tabs button.active { color: var(--text-primary); background: var(--surface-strong); }

/* Morphing download control */
.dl-control { display: inline-flex; align-items: center; background: var(--blue-500); border-radius: var(--r-pill); overflow: hidden; height: 38px; }
.dl-formats { display: grid; grid-template-columns: 0fr; transition: grid-template-columns var(--dur) var(--ease); }
.dl-formats-inner { overflow: hidden; display: flex; align-items: center; height: 38px; }
.dl-control.open .dl-formats { grid-template-columns: 1fr; }
.dl-formats button {
  padding: 0 16px;
  height: 38px;
  color: var(--white);
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  opacity: 0;
}
.dl-control.open .dl-formats button { opacity: 1; transition-delay: 100ms; }
.dl-formats button:hover { background: rgba(255, 255, 255, 0.14); }
.dl-toggle { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; color: var(--white); position: relative; transition: background var(--dur-fast) var(--ease); }
.dl-toggle:hover { background: var(--blue-600); }
.dl-toggle svg { width: 15px; height: 15px; grid-area: 1 / 1; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.dl-toggle .ico-x { opacity: 0; transform: scale(0.7); }
.dl-toggle .ico-dl { opacity: 1; transform: scale(1); }
.dl-control.open .dl-toggle .ico-dl { opacity: 0; transform: scale(0.7); }
.dl-control.open .dl-toggle .ico-x { opacity: 1; transform: scale(1); }

.asset-svg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.asset-svg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease);
}
.asset-svg-card:hover { border-color: var(--border-strong); }
.asset-svg-card .preview { flex: 1; display: grid; place-items: center; padding: 32px; }
.asset-svg-card .preview svg { width: 60%; height: 60%; color: var(--blue-400); }
.asset-svg-card .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.asset-svg-card .info .name { font-family: var(--text); font-weight: 500; font-size: 12px; }
.asset-svg-card .info .dl { width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-subtle); transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.asset-svg-card .info .dl:hover { color: var(--blue-400); background: var(--surface-strong); }
.asset-svg-card .info .dl svg { width: 13px; height: 13px; }

/* ═══════════════════════════════════════════════════════════════════
   APPLIED SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.applied-block { margin-bottom: 88px; }
.applied-block:last-child { margin-bottom: 0; }
.applied-label {
  font-family: var(--text);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.applied-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Browser mock */
.browser { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.browser-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--surface-strong); }
.browser-bar .url { flex: 1; text-align: center; font-family: var(--text); font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }
.web-hero { background: var(--black); padding: 28px 40px 56px; min-height: 460px; display: flex; flex-direction: column; color: var(--white); position: relative; }
.web-hero .wh-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.web-hero .wh-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.web-hero .wh-brand svg { width: 16px; height: 16px; }
.web-hero .wh-brand svg path { fill: var(--blue-500); }
.web-hero .wh-links { display: flex; gap: 28px; font-family: var(--text); font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.web-hero .wh-cta { font-family: var(--text); font-size: 11px; font-weight: 500; padding: 9px 16px; border-radius: var(--r-pill); background: var(--blue-500); letter-spacing: 0.02em; }
.web-hero h3 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1.02; margin: 56px 0 0; color: var(--white); text-wrap: balance; }
.web-hero .wh-foot { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--text); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.web-hero .wh-foot .right { display: flex; gap: 24px; }

/* Case study mock */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); min-height: 420px; }
.case-left {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.case-left .tag { font-family: var(--text); font-weight: 600; font-size: 11px; color: var(--text-subtle); margin-bottom: 24px; letter-spacing: 0.12em; text-transform: uppercase; }
.case-left h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.035em; line-height: 1.06; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.case-meta .k { font-family: var(--text); font-size: 10px; color: var(--text-subtle); margin-bottom: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
.case-meta .v { font-family: var(--text); font-weight: 500; font-size: 13px; color: var(--text-primary); }
.case-right {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  padding: 44px;
}
.case-right .ph { text-align: center; font-family: var(--text); font-size: 11px; color: var(--text-subtle); line-height: 1.8; letter-spacing: 0.06em; text-transform: uppercase; }
.case-right .ph-mark { width: 72px; height: 72px; margin: 0 auto 20px; opacity: 0.2; }
.case-right .ph-mark svg path { fill: var(--text-primary); }

/* Business cards */
.bcard-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.bcard {
  aspect-ratio: 1.7 / 1;
  padding: 24px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
}
.bcard.dark { background: var(--black); border-color: transparent; }
.bcard.dark * { color: var(--white) !important; }
.bcard.blue { background: var(--blue-500); border-color: transparent; }
.bcard.blue * { color: var(--white) !important; }
.bcard .bc-mark { width: 24px; height: 24px; }
.bcard .bc-mark svg path { fill: var(--blue-500); }
.bcard.dark .bc-mark svg path { fill: var(--white); }
.bcard.blue .bc-mark svg path { fill: var(--white); }
.bcard .bc-name { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; color: var(--text-primary); }
.bcard .bc-role { font-family: var(--text); font-size: 11px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.02em; }
.bcard .bc-foot { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--text); font-size: 10px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Social grid */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.social-tile {
  aspect-ratio: 1 / 1;
  padding: 28px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.social-tile .st-mark { width: 24px; height: 24px; }
.social-tile h4 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; line-height: 1.12; }
.social-tile.dark { background: var(--black); }
.social-tile.dark, .social-tile.dark h4 { color: var(--white); }
.social-tile.dark .st-mark svg path { fill: var(--blue-500); }
.social-tile.blue { background: var(--blue-500); }
.social-tile.blue, .social-tile.blue h4 { color: var(--white); }
.social-tile.blue .st-mark svg path { fill: var(--white); }
.social-tile.coral { background: var(--coral); }
.social-tile.coral, .social-tile.coral h4 { color: var(--black); }
.social-tile.coral .st-mark svg path { fill: var(--black); }
.social-tile.light { background: var(--gray-100); }
.social-tile.light, .social-tile.light h4 { color: var(--black); }
.social-tile.light .st-mark svg path { fill: var(--blue-500); }
.social-tile.violet { background: var(--violet); }
.social-tile.violet, .social-tile.violet h4 { color: var(--white); }
.social-tile.violet .st-mark svg path { fill: var(--white); }
.social-tile.mint { background: var(--mint); }
.social-tile.mint, .social-tile.mint h4 { color: var(--black); }
.social-tile.mint .st-mark svg path { fill: var(--black); }

/* Pitch deck */
.deck {
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: var(--r-lg);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}
.deck .dk-mark { width: 36px; height: 36px; }
.deck .dk-mark svg path { fill: var(--blue-500); }
.deck h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1.02; color: var(--white); text-wrap: balance; }
.deck .dk-foot { display: flex; justify-content: space-between; font-family: var(--text); font-size: 11px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.08em; text-transform: uppercase; }

/* Email signature / letterhead */
.emailsig { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px; overflow: hidden; }
.emailsig .sig { display: flex; align-items: center; gap: 20px; padding-left: 20px; border-left: 2px solid var(--blue-500); }
.emailsig .sig-mark { width: 36px; height: 36px; }
.emailsig .sig-mark svg path { fill: var(--blue-500); }
.emailsig .sig-name { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.emailsig .sig-role { font-family: var(--text); font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.emailsig .sig-meta { font-family: var(--text); font-size: 11px; color: var(--text-subtle); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; }

/* A4 letterhead */
.letter-frame {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px;
  display: grid;
  place-items: center;
}
.letter {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1.414;
  background: #FCFCFC;
  color: #161616;
  padding: 52px 52px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.letter-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 52px; }
.lh-mark { width: 28px; height: 28px; flex-shrink: 0; }
.lh-mark svg { width: 100%; height: 100%; }
.lh-mark svg path { fill: #161616; }
.lh-org { font-family: var(--text); font-weight: 500; font-size: 9px; line-height: 1.8; letter-spacing: 0.05em; text-transform: uppercase; color: #777; text-align: right; }
.lh-ref { font-family: var(--text); font-weight: 500; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #999; margin-bottom: 26px; }
.lh-to { font-family: var(--text); font-size: 11px; line-height: 1.65; color: #444; margin-bottom: 26px; }
.lh-body { font-family: var(--text); font-size: 11px; line-height: 1.85; color: #2A2A2A; display: flex; flex-direction: column; gap: 13px; }
.lh-body p { max-width: 54ch; }
.lh-sign { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: #161616; margin-top: 20px; }
.lh-role { font-family: var(--text); font-weight: 500; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #999; margin-top: 8px; }
.letter-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid #E4E4E4; display: flex; justify-content: space-between; gap: 12px; font-family: var(--text); font-weight: 500; font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: #999; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 96px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-brand .nav-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.025em; margin-bottom: 16px; }
.footer-brand .nav-brand svg { width: 24px; height: 24px; }
.footer-brand .nav-brand svg path { fill: var(--blue-500); }
.footer-brand p { color: var(--text-muted); max-width: 38ch; font-size: 14px; line-height: 1.55; }
.footer-col h5 { font-family: var(--text); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-family: var(--text); font-size: 13px; color: var(--text-primary); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-family: var(--text); font-size: 11px; color: var(--text-subtle); letter-spacing: 0.06em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════════
   REVEAL / ANIMATION
   ═══════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

@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 { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1240px) {
  .shell { padding: 0 48px; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .row-label { grid-template-columns: 1fr; gap: 22px; }
  .row-label .eyebrow, .row-label h2, .row-label h3, .row-label p { grid-column: 1; }
  .row-label h2, .row-label h3 { margin-top: 14px; }
}

@media (max-width: 1080px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .gray-grid { grid-template-columns: repeat(3, 1fr); }
  .secondary-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .type-row { grid-template-columns: 1fr 80px 80px; gap: 16px; }
  .type-row .meta:nth-child(4), .type-row .meta:nth-child(5) { display: none; }
  .donts-grid { grid-template-columns: repeat(3, 1fr); }
  .motion-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .asset-svg-grid { grid-template-columns: repeat(3, 1fr); }
  .bcard-row { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .type-specimens { grid-template-columns: 1fr; }
  .voice-row { grid-template-columns: 1fr; }
  .vocab-grid { grid-template-columns: 1fr; }
}

/* Tablet / mobile — sidebar becomes a slide-in drawer */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .layout.sidebar-collapsed { grid-template-columns: 1fr; }
  .main { grid-column: 1; padding-top: 56px; }
  .sidebar { transform: translateX(-100%); width: 280px; box-shadow: 0 0 60px rgba(0,0,0,0.4); }
  .layout.sidebar-collapsed .sidebar { width: 280px; padding: 22px 18px; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-collapse-btn { display: none; }
  .layout.sidebar-collapsed .sidebar-brand .brand-text { display: inline-flex; }
  .layout.sidebar-collapsed .sidebar-head { justify-content: space-between; }
  .layout.sidebar-collapsed .sidebar-nav a { justify-content: flex-start; padding: 10px 12px; }
  .layout.sidebar-collapsed .sidebar-nav a .nav-label { display: inline; }
  .layout.sidebar-collapsed .theme-switch { justify-content: flex-start; padding: 10px 12px; }
  .layout.sidebar-collapsed .theme-switch .ts-label { display: inline; }
  .layout.sidebar-collapsed .theme-switch .ts-track { display: block; width: 34px; }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    padding: 0 18px;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 90;
  }
  .topbar .nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
  .topbar .nav-brand svg { width: 18px; height: 18px; }
  .topbar .nav-brand svg path { fill: var(--blue-500); }
  .topbar-actions { display: flex; gap: 8px; align-items: center; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); z-index: 95; }
  .scrim.show { opacity: 1; pointer-events: auto; }
  .hero { height: auto; min-height: auto; max-height: none; padding: 16px; }
  .hero-inner { grid-template-columns: 1fr; height: auto; }
  .hero-bleed { aspect-ratio: 1 / 0.8; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-content { padding: 56px 40px 64px; }
}

@media (max-width: 720px) {
  :root { --t-display: 56px; --t-h1: 44px; --t-h2: 36px; --t-h3: 28px; --t-h4: 20px; --t-lead-xl: 17px; --t-lead: 16px; --gap: 12px; }
  .shell { padding: 0 20px; }
  section { padding: 80px 0; }
  .explore { padding: 88px 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .gray-grid { grid-template-columns: repeat(2, 1fr); }
  .secondary-grid { grid-template-columns: repeat(2, 1fr); }
  .donts-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-stage, .clearspace-frame { padding: 48px 24px; }
  .type-specimen { padding: 32px 24px; gap: 32px; }
  .type-specimen .specimen-info { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .type-row { padding: 18px 20px; }
  .type-row .sample { font-size: 22px !important; }
  .usage-grid { grid-template-columns: 1fr; }
  .color-donts { grid-template-columns: 1fr; }
  .voice-row { grid-template-columns: 1fr; }
  .vocab-grid { grid-template-columns: 1fr; }
  .voice-cell .quote { font-size: 17px; }
  .asset-stage { padding: 40px 24px; min-height: 280px; }
  .asset-svg-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-demo { grid-template-columns: repeat(4, 1fr); padding: 16px; gap: 8px; }
  .grid-demo .col { min-height: 120px; font-size: 10px; }
  .type-play-canvas { padding: 32px 24px; min-height: 140px; }
  .type-play-input { font-size: 40px !important; }
  .type-play-controls { gap: 16px; }
  .tp-control { min-width: 100%; }
  .case { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .web-hero .wh-links { display: none; }
  .deck { padding: 32px; }
  .emailsig { padding: 28px; }
  .emailsig .sig { flex-wrap: wrap; gap: 14px; }
}
