/* ============================================================
   ArthaMatrix — Website stylesheet
   Premium navy + gold/green editorial-finance aesthetic
   ============================================================ */

:root {
  --navy-900: #07172E;
  --navy-800: #0A1F44;
  --navy-700: #142C5C;
  --navy-500: #2A5BBF;
  --navy-300: #6F8EC6;
  --ink: #0E1626;
  --charcoal: #2A3447;
  --slate: #58647A;
  --mute: #8B95A8;
  --hair: #E5E8EE;
  --hair-2: #EEF1F5;
  --paper: #FBFBF8;
  --paper-warm: #F6F4EC;
  --paper-cool: #F4F6FA;
  --lavender: #ECE7F5;
  --lavender-soft: #F4F0FA;
  --gold: #C8A24A;
  --gold-soft: #E7D49E;
  --green: #2D8C52;
  --green-soft: #BFE0C7;
  --shadow-lg: 0 30px 80px -30px rgba(10, 31, 68, 0.25), 0 12px 28px -16px rgba(10, 31, 68, 0.18);
  --shadow-md: 0 16px 40px -20px rgba(10, 31, 68, 0.18), 0 6px 16px -10px rgba(10, 31, 68, 0.12);
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06), 0 4px 14px -8px rgba(10, 31, 68, 0.12);
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ===== type primitives ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--gold); display: inline-block;
}
.eyebrow.center::after {
  content: ''; width: 22px; height: 1px; background: var(--gold); display: inline-block;
}
.h-display {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--navy-900);
  margin: 18px 0 0;
  text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--navy-700); font-weight: 700; }
.h-display .accent { color: var(--green); font-style: normal; font-weight: 700; }
.h-display .gold { color: var(--gold); }
.h-section {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--navy-900);
  margin: 14px 0 0;
  text-wrap: balance;
}
.h-section em { font-style: normal; color: var(--navy-700); font-weight: 700; }
.lede {
  color: var(--slate);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  max-width: 620px;
  margin: 18px 0 0;
  text-wrap: pretty;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lede { margin-left: auto; margin-right: auto; }

/* ===== background ledger pattern ===== */
.bg-ledger {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(10, 31, 68, 0.04) 31px, rgba(10, 31, 68, 0.04) 32px),
    repeating-linear-gradient(to right, transparent 0, transparent 79px, rgba(10, 31, 68, 0.035) 79px, rgba(10, 31, 68, 0.035) 80px);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
}

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 248, 0.85); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(10, 31, 68, 0.06); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); border: 1px solid var(--hair); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--navy-900); }
.brand-text small { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--slate); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--charcoal); transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--navy-800); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1px solid var(--hair); }
.btn-ghost:hover { border-color: var(--navy-800); background: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #b88f3a; transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }

/* ----- disabled CTA with launch-date tooltip ----- */
.btn-disabled {
  position: relative;
  background: var(--paper-warm) !important;
  color: var(--mute) !important;
  border-color: var(--hair) !important;
  cursor: not-allowed;
  pointer-events: auto;
  box-shadow: none !important;
}
.btn-disabled:hover { transform: none !important; }
.btn-disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: var(--navy-900);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 12px 28px -10px rgba(10, 31, 68, 0.35);
  z-index: 10;
}
.btn-disabled[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--navy-900);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 10;
}
.btn-disabled:hover::after,
.btn-disabled:focus::after { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.btn-disabled:hover::before,
.btn-disabled:focus::before { opacity: 1; }

.menu-toggle { display: none; }

/* ============================================================
   HERO  (3 variations switched via [data-hero])
   ============================================================ */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero .bg-ledger { z-index: 0; }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 700px; height: 700px; border-radius: 50%;
  filter: blur(80px); opacity: 0.45;
}
.hero-glow.a { top: -240px; right: -200px; background: radial-gradient(circle, rgba(200, 162, 74, 0.2), transparent 60%); }
.hero-glow.b { bottom: -300px; left: -240px; background: radial-gradient(circle, rgba(45, 140, 82, 0.18), transparent 60%); }
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(10, 31, 68, 0.12);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.hero-badge .pill {
  background: var(--navy-800); color: #fff;
  padding: 3px 8px; border-radius: 999px;
  font-size: 9px; letter-spacing: 0.16em;
}
.hero-badge .pill .glow { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }

.hero-buttons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 12.5px; color: var(--slate); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.hero-meta .tick { color: var(--green); margin-right: 6px; font-weight: 700; }

/* --- variant: split (default) --- */
[data-hero="split"] .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
[data-hero="split"] .hero-visual-center,
[data-hero="split"] .hero-visual-full { display: none; }

/* --- variant: centered --- */
[data-hero="centered"] .hero-grid { display: block; text-align: center; }
[data-hero="centered"] .hero-grid .lede { margin-left: auto; margin-right: auto; }
[data-hero="centered"] .hero-grid .hero-buttons { justify-content: center; }
[data-hero="centered"] .hero-grid .hero-meta { justify-content: center; }
[data-hero="centered"] .hero-visual-split,
[data-hero="centered"] .hero-visual-full { display: none; }
[data-hero="centered"] .hero-visual-center { display: block; margin-top: 56px; }

/* --- variant: full (bottom dashboard) --- */
[data-hero="full"] .hero-grid { display: block; text-align: center; max-width: 920px; margin: 0 auto; }
[data-hero="full"] .hero-grid .lede { margin-left: auto; margin-right: auto; }
[data-hero="full"] .hero-grid .hero-buttons { justify-content: center; }
[data-hero="full"] .hero-grid .hero-meta { justify-content: center; }
[data-hero="full"] .hero-visual-split,
[data-hero="full"] .hero-visual-center { display: none; }
[data-hero="full"] .hero-visual-full { display: block; margin-top: 64px; }

/* ===== hero stage / cards (split variant) ===== */
.stage { position: relative; height: 580px; }
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 31, 68, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 68, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 30%, transparent 75%);
  z-index: 1;
}

.fcard {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg);
}
.fcard-tb { top: 30px; right: 0; width: 100%; padding: 26px; z-index: 3; }
.fcard-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--hair-2); }
.fcard-head .title { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 22px; color: var(--navy-900); letter-spacing: -0.01em; }
.fcard-head .meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); text-transform: uppercase; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.tbl th { text-align: left; font-weight: 500; color: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; padding: 10px 0 8px; border-bottom: 1px solid var(--hair-2); }
.tbl th.num { text-align: right; }
.tbl td { padding: 9px 0; color: var(--charcoal); border-bottom: 1px dashed var(--hair-2); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.tbl td.muted { color: var(--mute); }
.tbl tr.total td { border-bottom: none; padding-top: 14px; font-weight: 600; color: var(--navy-900); font-size: 13px; }
.tbl tr.total td.num { color: var(--green); }
.tbl-double { height: 4px; border-top: 1px solid var(--navy-900); border-bottom: 1px solid var(--navy-900); margin-top: 8px; }
.tb-match { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(45, 140, 82, 0.07); border: 1px solid rgba(45, 140, 82, 0.18); border-radius: 10px; font-size: 12px; color: var(--green); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.tb-match .check { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-right: 8px; }

.fcard-calc { bottom: 20px; left: -10px; width: 230px; padding: 18px; z-index: 4; transform: rotate(-3deg); }
.calc-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.calc-amt { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--navy-900); letter-spacing: -0.02em; margin-top: 8px; line-height: 1; }
.calc-amt small { font-size: 14px; color: var(--slate); margin-right: 4px; font-family: 'Geist', sans-serif; font-weight: 500; }
.calc-delta { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--green); background: rgba(45, 140, 82, 0.08); padding: 3px 8px; border-radius: 6px; }

.fcard-doc { top: -10px; left: -30px; width: 180px; z-index: 2; transform: rotate(4deg); padding: 14px; }
.doc-line { height: 6px; background: var(--hair); border-radius: 3px; margin: 8px 0; }
.doc-line.short { width: 60%; }
.doc-line.gold { background: var(--gold-soft); }
.doc-stamp { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.doc-stamp .ring { width: 30px; height: 30px; border: 1.5px dashed var(--gold); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; color: var(--gold); }

/* centered hero — single trifold */
.hero-visual-center .trifold {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; align-items: end;
  max-width: 900px; margin: 0 auto;
}
.hero-visual-center .trifold > * { position: relative; }
.hero-visual-center .trifold .fcard-tb { position: relative; top: auto; right: auto; }
.hero-visual-center .trifold .fcard-doc { position: relative; top: auto; left: auto; transform: none; width: auto; }
.hero-visual-center .trifold .fcard-calc { position: relative; bottom: auto; left: auto; transform: none; width: auto; }

/* full-bleed dashboard hero */
.hero-visual-full .dash {
  position: relative;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
  max-width: 1080px; margin: 0 auto;
}
.dash-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--hair-2); background: var(--paper-cool); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hair); }
.dash-bar .url { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--slate); margin-left: 12px; }
.dash-body { display: grid; grid-template-columns: 220px 1fr; min-height: 460px; }
.dash-side { background: var(--navy-900); color: #fff; padding: 22px 16px; }
.dash-side .side-brand { font-family: 'Instrument Serif', serif; font-size: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 18px; letter-spacing: -0.01em; }
.dash-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.dash-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 12.5px; color: rgba(255,255,255,0.65); }
.dash-side li.active { background: rgba(200, 162, 74, 0.14); color: #fff; }
.dash-side li.active::before { content: ''; width: 3px; height: 14px; background: var(--gold); border-radius: 2px; }
.dash-side li::before { content: ''; width: 3px; height: 14px; background: transparent; border-radius: 2px; }
.dash-main { padding: 22px 26px; background: #fff; }
.dash-main h4 { margin: 0 0 4px; font-size: 18px; color: var(--navy-900); font-weight: 600; }
.dash-main .crumb { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute); letter-spacing: 0.14em; text-transform: uppercase; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.dash-stat { padding: 14px; border: 1px solid var(--hair); border-radius: 10px; background: var(--paper); }
.dash-stat .lbl { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.dash-stat .val { font-family: 'Instrument Serif', serif; font-size: 28px; color: var(--navy-900); margin-top: 6px; letter-spacing: -0.01em; line-height: 1; }
.dash-stat .val small { font-family: 'Geist', sans-serif; font-size: 12px; color: var(--slate); margin-right: 4px; font-weight: 500; }
.dash-stat .chg { display: inline-block; margin-top: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.dash-stat .chg.up { color: var(--green); background: rgba(45, 140, 82, 0.08); }
.dash-stat .chg.flat { color: var(--gold); background: rgba(200, 162, 74, 0.1); }
.dash-rows { border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; }
.dash-rows .row { display: grid; grid-template-columns: 1fr 110px 110px 80px; gap: 14px; padding: 11px 16px; font-size: 12px; align-items: center; border-bottom: 1px solid var(--hair-2); }
.dash-rows .row:last-child { border-bottom: 0; }
.dash-rows .row.head { background: var(--paper-cool); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.dash-rows .row .num { font-family: 'JetBrains Mono', monospace; text-align: right; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.dash-rows .row .tag { font-size: 10px; font-family: 'JetBrains Mono', monospace; padding: 2px 6px; border-radius: 4px; justify-self: end; }
.tag.ok { color: var(--green); background: rgba(45, 140, 82, 0.08); }
.tag.warn { color: var(--gold); background: rgba(200, 162, 74, 0.1); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 80px 0; }
.section-divider { height: 1px; background: var(--hair); max-width: var(--maxw); margin: 0 auto; }
.section-alt { background: linear-gradient(to bottom, var(--paper) 0%, #fff 40%, #fff 60%, var(--paper) 100%); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .h-section { color: #fff; }

/* ----- subtle per-section backgrounds (lavender / cross-hatch) ----- */
.section-lavender { background: var(--lavender-soft); }
.section-hatch {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'><path d='M0 9 L9 0' stroke='rgb(31,33,60)' stroke-opacity='0.045' stroke-width='1' shape-rendering='crispEdges'/></svg>");
  background-size: 9px 9px;
}
.section-lavender-hatch {
  background-color: var(--lavender-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'><path d='M0 9 L9 0' stroke='rgb(70,55,130)' stroke-opacity='0.05' stroke-width='1' shape-rendering='crispEdges'/></svg>");
  background-size: 9px 9px;
}
.section-dark .lede { color: rgba(255, 255, 255, 0.7); }
.section-dark .eyebrow { color: var(--gold-soft); }

/* ============================================================
   WHY (bento)
   ============================================================ */
.why-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(10, 31, 68, 0.14); }
.why-card .why-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--paper-warm); border: 1px solid var(--hair); display: inline-flex; align-items: center; justify-content: center; color: var(--navy-800); margin-bottom: 18px; }
.why-card .why-ico svg { width: 22px; height: 22px; }
.why-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; }
.why-card p { margin: 0; color: var(--slate); font-size: 14.5px; line-height: 1.55; }
.why-card.feature { grid-row: span 2; background: linear-gradient(155deg, #fff 0%, var(--paper-warm) 100%); }
.why-card.feature h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.why-card.feature h3 em { font-style: italic; }
.why-card.dark { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.why-card.dark h3 { color: #fff; }
.why-card.dark p { color: rgba(255, 255, 255, 0.7); }
.why-card.dark .why-ico { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: var(--gold-soft); }
.why-card.feature .why-visual {
  margin-top: 22px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.why-card.feature .why-visual .vrow { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--hair-2); color: var(--charcoal); }
.why-card.feature .why-visual .vrow:last-child { border-bottom: 0; padding-top: 9px; color: var(--green); font-weight: 600; }
.why-card.feature .why-visual .vrow span:last-child { font-variant-numeric: tabular-nums; }

/* ============================================================
   FEATURES — 2 variations (cards / split-list)
   ============================================================ */

/* --- variant: cards (default) --- */
[data-features="cards"] .feat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
[data-features="cards"] .feat-split { display: none; }
.feat-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feat-card .feat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase;
}
.feat-card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 26px; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 12px 0 12px;
}
.feat-card h3 em { font-style: italic; }
.feat-card p { color: var(--slate); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.feat-card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed var(--hair); padding-top: 18px; }
.feat-card ul li { font-size: 13px; color: var(--charcoal); display: flex; align-items: center; gap: 10px; }
.feat-card ul li::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* --- variant: split (alternating list) --- */
[data-features="split"] .feat-cards { display: none; }
[data-features="split"] .feat-split { display: flex; flex-direction: column; gap: 0; }
.feat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}
.feat-row:last-child { border-bottom: 0; }
.feat-row:nth-child(even) .feat-row-text { order: 2; }
.feat-row-text .feat-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.feat-row-text h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.015em; color: var(--navy-900); margin: 12px 0 16px; }
.feat-row-text h3 em { font-style: italic; }
.feat-row-text p { color: var(--slate); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; }
.feat-row-text ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.feat-row-text ul li { font-size: 14.5px; color: var(--charcoal); display: flex; align-items: flex-start; gap: 10px; }
.feat-row-text ul li::before {
  content: '✓';
  color: var(--green); font-weight: 700;
  background: var(--green-soft);
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0; margin-top: 2px;
}
.feat-row-visual {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 280px;
}

/* ============================================================
   BUILT FOR
   ============================================================ */
.bf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bf-card {
  border: 1px solid var(--hair);
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px;
}
.bf-card .bf-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.bf-card h4 { margin: 12px 0 8px; font-size: 16px; color: var(--navy-900); font-weight: 600; letter-spacing: -0.005em; }
.bf-card p { margin: 0; color: var(--slate); font-size: 13.5px; line-height: 1.55; }

/* ============================================================
   PREVIEW (image slots)
   ============================================================ */
.preview-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.preview-frame {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.preview-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hair-2); background: var(--paper-cool); }
.preview-bar .dots { display: flex; gap: 6px; }
.preview-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hair); }
.preview-bar .label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--slate); letter-spacing: 0.14em; text-transform: uppercase; margin-left: 10px; }
.preview-slot { position: relative; min-height: 460px; background: var(--paper-warm); }
.preview-slot.small { min-height: 220px; }
.preview-slot image-slot { width: 100%; height: 100%; min-height: inherit; }
.preview-side { display: flex; flex-direction: column; gap: 18px; }
.preview-side .preview-frame { flex: 1; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.how-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 32px 26px 26px;
}
.how-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 22px; right: 24px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 44px;
  color: var(--paper-warm);
  letter-spacing: -0.02em;
  line-height: 1;
}
.how-card .how-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--paper-warm);
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.how-card .how-ico svg { width: 22px; height: 22px; }
.how-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; position: relative; z-index: 1; }
.how-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.6; position: relative; z-index: 1; }
.how-card .how-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--hair); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-tabs {
  display: inline-flex; gap: 4px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  margin: 22px auto 0;
}
.pricing-tabs button {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  font-family: inherit;
}
.pricing-tabs button.active { background: var(--navy-900); color: #fff; }
.pricing-tabs .save { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; padding: 2px 5px; background: var(--green); color: #fff; border-radius: 4px; margin-left: 8px; }
.pricing-tabs button.active .save { background: var(--gold); color: var(--navy-900); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: scale(1.02); }
.price-card.featured h3 { color: #fff; }
.price-card.featured .price-sub { color: rgba(255, 255, 255, 0.65); }
.price-card.featured .price-currency, .price-card.featured .price-period { color: rgba(255, 255, 255, 0.6); }
.price-card.featured .price-amount { color: #fff; }
.price-card.featured ul li { color: rgba(255, 255, 255, 0.82); }
.price-card.featured ul li::before { background: var(--gold-soft); color: var(--navy-900); }
.price-card.featured .price-divider { border-color: rgba(255, 255, 255, 0.1); }
.price-badge {
  position: absolute; top: -12px; left: 28px;
  padding: 5px 11px;
  background: var(--gold);
  color: var(--navy-900);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.price-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.005em; }
.price-sub { font-size: 13px; color: var(--slate); margin-bottom: 22px; }
.price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-currency { font-family: 'Geist', sans-serif; font-size: 18px; color: var(--slate); font-weight: 500; }
.price-amount { font-family: 'Instrument Serif', serif; font-size: 56px; line-height: 1; color: var(--navy-900); letter-spacing: -0.02em; }
.price-period { font-size: 13px; color: var(--slate); margin-left: 4px; }
.price-card .price-divider { border: none; border-top: 1px dashed var(--hair); margin: 22px 0; }
.price-card .price-feat-head { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { font-size: 13.5px; color: var(--charcoal); display: flex; align-items: flex-start; gap: 10px; }
.price-card ul li::before {
  content: '✓';
  color: var(--green); font-weight: 700;
  background: var(--green-soft);
  width: 17px; height: 17px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0; margin-top: 2px;
}
.price-card .price-cta { margin-top: auto; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card.featured .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.price-card.featured .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }

.price-foot { margin-top: 36px; text-align: center; font-size: 13px; color: var(--mute); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.price-foot a { color: var(--navy-800); }
.price-foot a:hover { color: var(--green); }

.price-tab-pane { display: none; }
.price-tab-pane.active { display: grid; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--hair);
}
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  background: none; border: 0; cursor: pointer;
}
.faq-q .faq-ico {
  width: 30px; height: 30px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--navy-800);
  background: #fff;
  transition: transform .25s ease, background .25s, color .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .faq-ico { background: var(--navy-900); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 0 24px; }
.faq-a p { margin: 0; max-width: 680px; }

/* ============================================================
   CONTACT CTA + FOOTER
   ============================================================ */
.contact-section { padding: 80px 0 60px; }
.contact-card-big {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact-card-big::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at top right, rgba(200, 162, 74, 0.22), transparent 55%),
    radial-gradient(circle at bottom left, rgba(45, 140, 82, 0.18), transparent 55%);
  pointer-events: none;
}
.contact-card-big > * { position: relative; z-index: 1; }
.contact-card-big .eyebrow { color: var(--gold-soft); }
.contact-card-big .eyebrow::before { background: var(--gold-soft); }
.contact-card-big h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 16px;
  line-height: 1.05;
}
.contact-card-big h2 em { font-style: italic; }
.contact-card-big p { color: rgba(255, 255, 255, 0.7); max-width: 580px; margin: 0 auto 28px; font-size: 16px; }
.contact-card-big .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.footer { padding: 50px 0 40px; border-top: 1px solid var(--hair); margin-top: 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; }
.footer-meta b { font-size: 14px; color: var(--navy-900); font-weight: 600; }
.footer-meta span { font-size: 12.5px; color: var(--mute); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--slate); }
.footer-links a:hover { color: var(--navy-800); }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  border: 0; cursor: pointer;
  transition: transform .2s;
}
.tweaks-fab:hover { transform: scale(1.05); }
.tweaks-fab svg { width: 22px; height: 22px; }
.tweaks-fab.show { display: inline-flex; }

.tweaks-panel {
  position: fixed; bottom: 88px; right: 24px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  z-index: 101;
  font-family: 'Geist', sans-serif;
}
.tweaks-panel.open { display: block; }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tweaks-head h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.005em; }
.tweaks-head button.close { color: var(--mute); width: 22px; height: 22px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.tweaks-head button.close:hover { background: var(--hair-2); color: var(--charcoal); }
.tweaks-section { margin-bottom: 18px; }
.tweaks-section:last-child { margin-bottom: 0; }
.tweaks-section .lbl { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.tweaks-radios { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tweaks-radios button {
  padding: 9px 8px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--slate);
  background: #fff;
  transition: all .2s;
  font-weight: 500;
}
.tweaks-radios button.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tweaks-radios.two { grid-template-columns: 1fr 1fr; }

/* ============================================================
   HERO CAROUSEL — horizontal track
   ============================================================ */
.hero-carousel { position: relative; z-index: 2; }
.hero-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hero-track {
  display: flex;
  width: 100%;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  touch-action: pan-y;
}
.hero-track.dragging { transition: none; }
.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px 2px 8px;
}
.hero-slide .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-slide .stage { height: 540px; }

/* ----- split layout (fixed left text + carousel right) ----- */
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-text-fixed { min-width: 0; }
.hero-split-grid .hero-carousel { min-width: 0; }

/* ----- carousel controls ----- */
.carousel-controls {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px dashed var(--hair);
}
.carousel-arrows { order: 0; justify-content: flex-start; }
.carousel-dots { order: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.carousel-dot {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; background: none; border: 0;
  color: var(--mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s;
}
.carousel-dot:hover { color: var(--charcoal); }
.carousel-dot .dot-num { display: inline-block; opacity: 0.55; }
.carousel-dot .dot-track {
  position: relative;
  display: inline-block;
  width: 56px; height: 2px;
  background: var(--hair);
  border-radius: 2px;
  overflow: hidden;
}
.carousel-dot .dot-track::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy-900);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 2px;
}
.carousel-dot.active { color: var(--navy-900); }
.carousel-dot.active .dot-num { opacity: 1; color: var(--gold); }
.carousel-dot.active .dot-track::after {
  transform: scaleX(1);
  transition: transform 5s linear;
}
.carousel-paused .carousel-dot.active .dot-track::after { transition: none; }

.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-900);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  cursor: pointer;
}
.carousel-arrow:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: translateY(-1px); }
.carousel-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   PROBLEM & SHIFT
   ============================================================ */
.ps-head-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 18px;
}
.ps-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.ps-col-label.after { color: var(--gold); }
.ps-col-label.after::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

.ps-pair {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 24px;
}
.ps-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.ps-card.before {
  background: linear-gradient(160deg, #fff 0%, var(--paper-cool) 100%);
}
.ps-card.after {
  background: linear-gradient(160deg, #fff 0%, var(--paper-warm) 100%);
  border-color: rgba(200, 162, 74, 0.32);
  box-shadow: 0 24px 60px -32px rgba(200, 162, 74, 0.45), var(--shadow-sm);
}
.ps-card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 12px;
}
.ps-card.after h3 { color: var(--navy-900); }
.ps-card.after h3 em { font-style: italic; color: #7a6020; }
.ps-card p {
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 460px;
}

/* ----- transition arrow ----- */
.ps-arrow {
  display: flex; align-items: center; justify-content: center;
}
.ps-arrow .arrow-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(10, 31, 68, 0.32);
}
.ps-arrow .arrow-circle svg { width: 22px; height: 22px; }

/* ----- "before" visuals (manual / chaotic) ----- */
.ps-visual { margin-top: auto; }
.ps-visual-mess {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper);
  border: 1px dashed var(--hair);
  border-radius: 12px;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.ps-visual-mess .mess-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: 8px;
  color: var(--charcoal);
}
.ps-visual-mess .mess-row .lbl { color: var(--mute); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; min-width: 60px; }
.ps-visual-mess .mess-row .val { font-variant-numeric: tabular-nums; color: var(--navy-900); }
.ps-visual-mess .mess-row.err { background: rgba(193, 71, 71, 0.06); border-color: rgba(193, 71, 71, 0.22); color: #8a3a3a; }
.ps-visual-mess .mess-row.err .val { color: #8a3a3a; }
.ps-visual-mess .mess-row .strike { text-decoration: line-through; color: var(--mute); }

.ps-visual-excel {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.ps-visual-excel .x-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: #1d6b3e;
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ps-visual-excel .x-bar .x-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 2px; }
.ps-visual-excel .x-grid { display: grid; grid-template-columns: 36px 1fr 90px; }
.ps-visual-excel .x-cell { padding: 7px 10px; border-right: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); color: var(--charcoal); font-size: 11px; }
.ps-visual-excel .x-cell.h { background: #f3f5f1; color: var(--mute); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.ps-visual-excel .x-cell.idx { background: #fafbf8; color: var(--mute); text-align: center; }
.ps-visual-excel .x-cell.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.ps-visual-excel .x-cell.err { background: rgba(193, 71, 71, 0.08); color: #8a3a3a; }
.ps-visual-excel .x-cell.err::after { content: '#REF!'; font-size: 9px; margin-left: 6px; }
.ps-visual-excel .x-cell.broken { color: #8a3a3a; }
.ps-visual-excel .x-cell.last { border-bottom: 0; }

.ps-visual-hands {
  background: var(--paper);
  border: 1px dashed var(--hair);
  border-radius: 12px;
  padding: 16px;
}
.ps-visual-hands .hand-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border: 1.5px dashed #b8392f;
  color: #b8392f;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  margin-bottom: 12px;
}
.ps-visual-hands .hand-rows { display: flex; flex-direction: column; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.ps-visual-hands .hand-rows .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--hair); color: var(--charcoal); }
.ps-visual-hands .hand-rows .row .num { font-variant-numeric: tabular-nums; color: var(--navy-900); }
.ps-visual-hands .hand-rows .row.scratch { color: var(--mute); text-decoration: line-through; }
.ps-visual-hands .hand-rows .row.scratch .num { color: var(--mute); }
.ps-visual-hands .hand-note {
  margin-top: 12px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 13px;
  color: #b8392f;
  transform: rotate(-1deg);
  display: inline-block;
}

/* ----- "after" visuals (clean UI mockup) ----- */
.ps-visual-clean {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ps-visual-clean .clean-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--navy-900);
  color: #fff;
}
.ps-visual-clean .clean-bar .ttl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
}
.ps-visual-clean .clean-bar .step { display: flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: rgba(255,255,255,0.6); }
.ps-visual-clean .clean-bar .step .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.ps-visual-clean .clean-body { padding: 18px 18px 20px; }
.ps-visual-clean .clean-row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--hair-2); font-size: 12.5px; color: var(--charcoal); }
.ps-visual-clean .clean-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ps-visual-clean .clean-row .num { text-align: right; font-family: 'JetBrains Mono', monospace; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.ps-visual-clean .clean-row.total { border-bottom: 0; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--navy-900); font-weight: 600; }
.ps-visual-clean .clean-row.total .num { color: var(--green); }
.ps-visual-clean .clean-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 10px 14px;
  background: rgba(45, 140, 82, 0.08);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.04em;
}
.ps-visual-clean .clean-foot .check { width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }

.ps-visual-buckets {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ps-visual-buckets .bk-bar {
  padding: 12px 16px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: space-between;
}
.ps-visual-buckets .bk-bar .ttl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
}
.ps-visual-buckets .bk-bar .meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }
.ps-visual-buckets .bk-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ps-visual-buckets .bk-row {
  display: grid; grid-template-columns: 90px 1fr 80px; gap: 12px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.ps-visual-buckets .bk-row .lbl { color: var(--charcoal); }
.ps-visual-buckets .bk-row .bar { height: 8px; background: var(--paper-cool); border-radius: 4px; overflow: hidden; }
.ps-visual-buckets .bk-row .bar .fill { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-800), var(--gold)); border-radius: 4px; }
.ps-visual-buckets .bk-row .num { text-align: right; color: var(--navy-900); font-variant-numeric: tabular-nums; }

.ps-visual-export {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.ps-visual-export .ex-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.ps-visual-export .ex-head .ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--paper-warm);
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-800);
}
.ps-visual-export .ex-head .ico svg { width: 18px; height: 18px; }
.ps-visual-export .ex-head .t1 { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px; color: var(--navy-900); letter-spacing: -0.005em; }
.ps-visual-export .ex-head .t2 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 2px; }
.ps-visual-export .ex-files { display: flex; flex-direction: column; gap: 8px; }
.ps-visual-export .ex-file {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--charcoal);
  background: var(--paper);
}
.ps-visual-export .ex-file .tag {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(45, 140, 82, 0.1);
  color: var(--green);
  margin-left: auto;
}
.ps-visual-export .ex-file .ext { color: var(--mute); }

/* ============================================================
   PROBLEM & SHIFT — FEATURED PAIR (rich card)
   ============================================================ */
.ps-pair-featured { margin-bottom: 36px; }
.ps-fcard {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.ps-fcard.fcard-after { border-color: rgba(200, 162, 74, 0.4); }

/* ----- top band (numbered header) ----- */
.ps-fcard-band {
  display: flex; align-items: stretch;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.ps-fcard-band .band-num {
  padding: 12px 16px;
  background: var(--navy-900);
  color: #fff;
  display: inline-flex; align-items: center;
  letter-spacing: 0.12em;
}
.ps-fcard-band .band-lbl {
  flex: 1;
  padding: 12px 18px;
  display: inline-flex; align-items: center;
}
.band-before .band-num { background: #B8392F; }
.band-before .band-lbl { background: rgba(184, 57, 47, 0.08); color: #8a2a22; }
.band-after .band-num { background: var(--gold); color: var(--navy-900); }
.band-after .band-lbl { background: rgba(200, 162, 74, 0.12); color: #7a6020; }

/* ----- body ----- */
.ps-fcard-body {
  padding: 36px 32px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.ps-fcard-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--navy-900);
  text-align: center;
}
.ps-fcard-title .ttl-em { display: inline-block; position: relative; padding-bottom: 8px; }
.ps-fcard-title .ttl-em::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 56px; height: 3px; border-radius: 2px;
  transform: translateX(-50%);
}
.ttl-em-red { color: #B8392F; }
.ttl-em-red::after { background: #B8392F; }
.ttl-em-gold { color: #7a6020; }
.ttl-em-gold::after { background: var(--gold); }

.ps-fcard-desc {
  text-align: center;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 380px;
}

/* ----- stage (visual area) ----- */
.ps-fcard-stage {
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.stage-head {
  display: flex; align-items: center; justify-content: space-between;
}
.stage-head .stage-ttl {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}
.stage-head .stage-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mute);
  background: #fff;
  border: 1px solid var(--hair);
  padding: 4px 9px;
  border-radius: 999px;
}
.stage-head .stage-meta svg { width: 13px; height: 13px; color: var(--gold); }

/* ----- time-spent visual (before) ----- */
.stage-time .time-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.stage-time .time-row {
  display: grid;
  grid-template-columns: 130px 1fr 36px;
  gap: 12px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.stage-time .time-row .t-lbl { color: var(--charcoal); }
.stage-time .time-row .t-bar {
  position: relative;
  height: 10px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 5px;
  overflow: hidden;
}
.stage-time .time-row .t-bar .fill { display: block; height: 100%; border-radius: 4px; }
.stage-time .time-row .t-bar .fill.heavy { background: linear-gradient(90deg, #c25a4d, #b8392f); }
.stage-time .time-row .t-bar .fill.thin { background: var(--green); }
.stage-time .time-row .t-val { text-align: right; color: var(--navy-900); font-variant-numeric: tabular-nums; font-weight: 600; }
.stage-time .time-row.analysis .t-lbl { color: var(--green); font-weight: 600; }
.stage-time .time-row.analysis .t-val { color: var(--green); }
.stage-time .stage-foot { text-align: center; margin-top: 4px; }
.stage-time .stage-foot .foot-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.stage-time .stage-foot .foot-pill.warn {
  background: rgba(184, 57, 47, 0.1);
  color: #8a2a22;
  border: 1px solid rgba(184, 57, 47, 0.18);
}

/* ----- mini-dashboard visual (after) ----- */
.stage-dash { padding: 0; background: #fff; }
.stage-dash .dash-mini-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: var(--paper-cool);
  border-bottom: 1px solid var(--hair-2);
}
.stage-dash .dash-mini-bar .dots { display: inline-flex; gap: 5px; }
.stage-dash .dash-mini-bar .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--hair); }
.stage-dash .dash-mini-bar .dash-mini-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.stage-dash .dash-mini-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 220px;
}
.stage-dash .dash-mini-side {
  background: var(--navy-900);
  color: #fff;
  padding: 14px 10px;
}
.stage-dash .dash-mini-side-ttl {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.005em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 10px;
}
.stage-dash .dash-mini-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.stage-dash .dash-mini-side li {
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
}
.stage-dash .dash-mini-side li.active {
  background: rgba(200, 162, 74, 0.18);
  color: #fff;
  border-left: 2px solid var(--gold);
  padding-left: 8px;
}
.stage-dash .dash-mini-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.stage-dash .mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage-dash .mini-stat {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 8px 10px;
}
.stage-dash .mini-stat .mini-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.stage-dash .mini-stat .mini-val {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.stage-dash .mini-stat .mini-val.ok { color: var(--green); }
.stage-dash .mini-stat .mini-val.mute { color: var(--mute); }
.stage-dash .mini-bars { display: flex; flex-direction: column; gap: 6px; }
.stage-dash .mb-ttl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2px;
}
.stage-dash .mb-row {
  display: grid;
  grid-template-columns: 80px 1fr 26px;
  gap: 8px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}
.stage-dash .mb-row .mb-lbl { color: var(--charcoal); }
.stage-dash .mb-row .mb-bar { height: 6px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.stage-dash .mb-row .mb-bar .mb-fill { display: block; height: 100%; background: var(--navy-800); border-radius: 3px; }
.stage-dash .mb-row .mb-bar .mb-fill.warm { background: var(--gold); }
.stage-dash .mb-row .mb-val { text-align: right; color: var(--navy-900); font-weight: 600; font-variant-numeric: tabular-nums; }

.stage-dash .mini-activity {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px dashed var(--hair-2);
  padding-top: 10px;
}
.stage-dash .ma-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--charcoal);
}
.stage-dash .ma-row b { font-weight: 600; color: var(--navy-900); }
.stage-dash .ma-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); flex-shrink: 0; }
.stage-dash .ma-dot.ok { background: var(--green); }

/* ----- impact panel (bottom) ----- */
.ps-fcard-impact {
  padding: 22px 28px 26px;
  border-top: 1px solid var(--hair);
}
.impact-before { background: linear-gradient(to bottom, rgba(184, 57, 47, 0.05), rgba(184, 57, 47, 0.09)); border-top-color: rgba(184, 57, 47, 0.15); }
.impact-after { background: linear-gradient(to bottom, rgba(200, 162, 74, 0.06), rgba(200, 162, 74, 0.12)); border-top-color: rgba(200, 162, 74, 0.22); }
.impact-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.impact-head .impact-ico {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.impact-head .impact-ico svg { width: 14px; height: 14px; }
.impact-head .impact-ico.ico-warn { background: #B8392F; }
.impact-head .impact-ico.ico-ok { background: var(--green); }
.impact-head .impact-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.impact-before .impact-lbl { color: #8a2a22; }
.impact-after .impact-lbl { color: #7a6020; }
.impact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.impact-list li {
  font-size: 14px;
  color: var(--charcoal);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.impact-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.impact-before .impact-list li::before { background: #B8392F; }
.impact-after .impact-list li::before { background: var(--gold); }

/* ============================================================
   PROBLEM & SHIFT — compact "10 shifts" strip
   ============================================================ */
.ps-strip { margin-top: 90px; }
.ps-strip-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.ps-strip-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 12px 0 0;
}
.ps-strip-title em { font-style: normal; color: var(--navy-700); font-weight: 700; }
.ps-strip-sub {
  margin: 12px auto 0;
  color: var(--slate);
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.ps-strip-list {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ps-strip-item { border-bottom: 1px solid var(--hair-2); }
.ps-strip-item:last-child { border-bottom: 0; }

.ps-strip-row {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 44px 1fr 28px;
  gap: 22px;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  align-items: center;
  cursor: pointer;
  transition: background .2s;
  font: inherit;
  color: inherit;
}
.ps-strip-row:hover { background: var(--paper); }
.ps-strip-row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}
.ps-strip-row .side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ps-strip-row .side .r-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  line-height: 1.25;
}
.ps-strip-row .side.after .r-title { color: var(--navy-900); }
.ps-strip-row .side .r-sub {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.ps-strip-row .arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-warm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  transition: background .2s, color .2s;
}
.ps-strip-row .arrow svg { width: 16px; height: 16px; }
.ps-strip-row:hover .arrow { background: var(--navy-900); color: #fff; }
.ps-strip-row .caret {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--navy-900);
  transition: transform .25s ease, background .2s, color .2s;
}
.ps-strip-item.open .ps-strip-row .caret {
  transform: rotate(45deg);
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.ps-strip-item .r-detail {
  display: grid;
  grid-template-columns: 44px 1fr 44px 1fr 28px;
  gap: 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 24px;
  background: linear-gradient(to bottom, var(--paper) 0%, #fff 100%);
}
.ps-strip-item.open .r-detail {
  max-height: 600px;
  padding: 4px 24px 26px;
}
.ps-strip-item .r-detail > .spacer { /* empty grid cells for alignment */ }
.ps-strip-item .r-detail .r-impact { display: flex; flex-direction: column; gap: 8px; }
.ps-strip-item .r-detail .r-impact .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.ps-strip-item .r-detail .r-impact.after .lbl { color: var(--gold); }
.ps-strip-item .r-detail .r-impact ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ps-strip-item .r-detail .r-impact ul li {
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
.ps-strip-item .r-detail .r-impact.before ul li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mute);
  flex-shrink: 0;
  margin-top: 8px;
}
.ps-strip-item .r-detail .r-impact.after ul li::before {
  content: '✓';
  color: var(--green); font-weight: 700;
  background: var(--green-soft);
  width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0; margin-top: 2px;
}

/* span the detail across the right 4 columns (skip num, end before caret) */
.ps-strip-item .r-detail .r-impact.before { grid-column: 2; }
.ps-strip-item .r-detail .arrow-gap { grid-column: 3; }
.ps-strip-item .r-detail .r-impact.after { grid-column: 4; }

/* ----- rich detail (row 01 — embedded featured pair) ----- */
.ps-strip-item .r-detail-rich {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 28px;
  padding: 0 28px;
  background: var(--paper);
}
.ps-strip-item.open .r-detail-rich {
  max-height: 3200px;
  padding: 26px 28px 32px;
}
.ps-strip-item .r-detail-rich .ps-fcard { box-shadow: var(--shadow-md); }
.ps-strip-item .r-detail-rich .ps-arrow.rich-arrow {
  display: flex; align-items: center; justify-content: center;
}
.ps-strip-item .r-detail-rich .ps-arrow.rich-arrow .arrow-circle {
  width: 52px; height: 52px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(10, 31, 68, 0.32);
}
.ps-strip-item .r-detail-rich .ps-arrow.rich-arrow .arrow-circle svg { width: 20px; height: 20px; }

/* ----- compact sizing inside the row-01 expansion ----- */
.ps-strip-item .r-detail-rich .ps-fcard-band .band-num,
.ps-strip-item .r-detail-rich .ps-fcard-band .band-lbl { padding: 8px 14px; }
.ps-strip-item .r-detail-rich .ps-fcard-body { padding: 18px 20px 14px; gap: 8px; }
.ps-strip-item .r-detail-rich .ps-fcard-title { font-size: clamp(20px, 1.9vw, 24px); }
.ps-strip-item .r-detail-rich .ps-fcard-title .ttl-em { padding-bottom: 5px; }
.ps-strip-item .r-detail-rich .ps-fcard-title .ttl-em::after { width: 40px; height: 2px; }
.ps-strip-item .r-detail-rich .ps-fcard-desc { font-size: 12.5px; line-height: 1.5; max-width: 340px; }
.ps-strip-item .r-detail-rich .ps-fcard-stage { margin-top: 8px; padding: 12px; gap: 8px; }
.ps-strip-item .r-detail-rich .stage-time .time-rows { gap: 5px; }
.ps-strip-item .r-detail-rich .stage-time .time-row { font-size: 10.5px; grid-template-columns: 110px 1fr 30px; gap: 8px; }
.ps-strip-item .r-detail-rich .stage-time .time-row .t-bar { height: 7px; }
.ps-strip-item .r-detail-rich .stage-dash .dash-mini-body { min-height: 0; grid-template-columns: 92px 1fr; }
.ps-strip-item .r-detail-rich .stage-dash .dash-mini-side { padding: 10px 8px; }
.ps-strip-item .r-detail-rich .stage-dash .dash-mini-side li { padding: 4px 6px; font-size: 9.5px; }
.ps-strip-item .r-detail-rich .stage-dash .dash-mini-main { padding: 10px 12px; gap: 8px; }
.ps-strip-item .r-detail-rich .stage-dash .mini-stat { padding: 6px 8px; }
.ps-strip-item .r-detail-rich .stage-dash .mini-stat .mini-val { font-size: 16px; }
.ps-strip-item .r-detail-rich .stage-dash .mb-row { font-size: 9px; }
.ps-strip-item .r-detail-rich .stage-dash .mb-row .mb-bar { height: 5px; }
.ps-strip-item .r-detail-rich .stage-dash .mini-activity { padding-top: 6px; gap: 3px; }
.ps-strip-item .r-detail-rich .stage-dash .ma-row { font-size: 10px; }
.ps-strip-item .r-detail-rich .ps-fcard-impact { padding: 14px 20px 16px; }
.ps-strip-item .r-detail-rich .impact-head { margin-bottom: 8px; }
.ps-strip-item .r-detail-rich .impact-list { font-size: 12.5px; }

/* ----- icon-grid stage (rich detail visuals for rows 02-10) ----- */
.stage-icons {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 14px 4px;
  padding: 14px 6px 12px;
  align-items: start;
}
.stage-icons .ic-col {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 8px;
  min-width: 0;
  padding: 0 6px;
  position: relative;
}
.stage-icons .ic-col + .ic-col::before {
  content: '';
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: var(--hair);
}
.stage-icons .ic-title {
  font-size: 11.5px; font-weight: 600;
  color: var(--navy-900);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  line-height: 1.25;
  min-height: 28px;
  display: flex; align-items: center; justify-content: center;
  text-wrap: balance;
}
.stage-icons .ic-img {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #B8392F;
}
.stage-icons.after .ic-img { color: var(--green); }
.stage-icons .ic-img svg { width: 100%; height: 100%; }
.stage-icons .ic-cap {
  font-size: 10px;
  color: var(--slate);
  line-height: 1.45;
  text-wrap: pretty;
}

/* compact sizing inside rich expansions */
.ps-strip-item .r-detail-rich .stage-icons { padding: 8px 4px 4px; gap: 10px 2px; }
.ps-strip-item .r-detail-rich .stage-icons .ic-col { padding: 0 4px; gap: 6px; }
.ps-strip-item .r-detail-rich .stage-icons .ic-title { font-size: 10.5px; min-height: 26px; }
.ps-strip-item .r-detail-rich .stage-icons .ic-img { width: 38px; height: 38px; }
.ps-strip-item .r-detail-rich .stage-icons .ic-cap { font-size: 9.5px; line-height: 1.4; }

/* ============================================================
   INSIDE ARTHAMATRIX — modules bento grid
   ============================================================ */
.modules {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex; flex-direction: column;
  min-height: 340px;
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 31, 68, 0.14);
}
.module-card.featured { background: var(--paper); }

.module-card .m-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.module-card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 12px;
}
.module-card h3 em { font-style: italic; }
.module-card .m-desc {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 480px;
}
.module-card .m-points {
  list-style: none;
  padding: 18px 0 0;
  margin: auto 0 0;
  display: flex; flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--hair);
}
.module-card .m-points li {
  font-size: 13px;
  color: var(--charcoal);
  display: flex; align-items: center;
  gap: 10px;
}
.module-card .m-points li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* col spans */
.mc-lg { grid-column: span 7; }
.mc-md { grid-column: span 5; }
.mc-eq { grid-column: span 6; }

/* ---------- shared mini-visual chrome ---------- */
.m-mini {
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 4px 0 18px;
  box-shadow: 0 1px 0 rgba(10, 31, 68, 0.02);
}
.module-card.featured .m-mini { background: #fff; }

/* 01 · table mini */
.m-mini-table .mt-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair-2);
  margin-bottom: 8px;
}
.m-mini-table .mt-ttl {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--navy-900);
}
.m-mini-table .mt-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
}
.m-mini-table .mt-row {
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: var(--charcoal);
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
}
.m-mini-table .mt-row .mt-num { font-family: 'JetBrains Mono', monospace; }
.m-mini-table .mt-row.total {
  border-top: 2px double var(--navy-900);
  margin-top: 4px;
  padding-top: 8px;
  font-weight: 600;
  color: var(--navy-900);
}
.m-mini-table .mt-row.total .mt-num { color: var(--green); }

/* 02 · notes mini */
.m-mini-notes { display: flex; flex-direction: column; gap: 6px; }
.m-mini-notes .mn-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  background: var(--paper-warm);
  border-radius: 6px;
  font-size: 12px;
}
.m-mini-notes .mn-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 50px;
}
.m-mini-notes .mn-lbl { flex: 1; color: var(--charcoal); }
.m-mini-notes .mn-flag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 7px;
  border-radius: 4px;
}

/* 03 · bars mini */
.m-mini-bars { display: flex; flex-direction: column; gap: 8px; }
.m-mini-bars .mb-row {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--charcoal);
}
.m-mini-bars .mb-lbl { color: var(--slate); font-family: 'JetBrains Mono', monospace; }
.m-mini-bars .mb-bar {
  height: 7px;
  background: var(--paper-warm);
  border-radius: 4px;
  overflow: hidden;
}
.m-mini-bars .mb-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #d4a857 100%);
}
.m-mini-bars .mb-num {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--navy-900);
}

/* 04 · workflow mini */
.m-mini-flow {
  display: flex; align-items: center;
  gap: 8px;
  padding: 18px 14px;
}
.m-mini-flow .mf-step {
  display: flex; align-items: center; gap: 9px;
  background: var(--paper-warm);
  border: 1px solid var(--hair-2);
  border-radius: 8px;
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
}
.m-mini-flow .mf-step.done { border-color: var(--green); background: var(--green-soft); }
.m-mini-flow .mf-step.active { border-color: var(--gold); background: rgba(200, 162, 74, 0.12); }
.m-mini-flow .mf-tick {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  background: #fff;
  flex-shrink: 0;
}
.m-mini-flow .mf-step.done .mf-tick { color: var(--green); }
.m-mini-flow .mf-step.active .mf-tick { color: var(--gold); }
.m-mini-flow .mf-role {
  font-size: 11.5px; font-weight: 600;
  color: var(--navy-900);
}
.m-mini-flow .mf-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
}
.m-mini-flow .mf-line {
  width: 18px; height: 1px;
  background: var(--hair-2);
  flex-shrink: 0;
}

/* 05 · mapping mini */
.m-mini-map {
  display: flex; align-items: center;
  gap: 12px;
  padding: 16px;
}
.m-mini-map .mm-from,
.m-mini-map .mm-to {
  flex: 1;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--charcoal);
  background: var(--paper-warm);
  border: 1px solid var(--hair-2);
  min-width: 0;
  overflow-wrap: anywhere;
}
.m-mini-map .mm-to {
  background: rgba(200, 162, 74, 0.10);
  border-color: rgba(200, 162, 74, 0.30);
}
.m-mini-map .mm-to em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--navy-900);
}
.m-mini-map .mm-arrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

/* 06 · vault mini */
.m-mini-vault .mv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--paper-warm);
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.m-mini-vault .mv-ico { display: inline-flex; color: var(--green); }
.m-mini-vault .mv-ico svg { width: 12px; height: 12px; }
.m-mini-vault .mv-rows { display: flex; flex-direction: column; gap: 5px; }
.m-mini-vault .mv-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px;
  color: var(--charcoal);
  padding: 6px 10px;
  background: var(--paper-warm);
  border-radius: 6px;
}
.m-mini-vault .mv-row.active {
  background: var(--green-soft);
  color: var(--navy-900);
}
.m-mini-vault .mv-row .mv-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--mute);
  text-transform: uppercase;
}
.m-mini-vault .mv-row.active .mv-meta { color: var(--green); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'><path d='M0 9 L9 0' stroke='rgb(31,33,60)' stroke-opacity='0.045' stroke-width='1' shape-rendering='crispEdges'/></svg>");
  background-size: 9px 9px;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.about-h1 { font-size: clamp(40px, 5.2vw, 68px) !important; line-height: 1.04; margin: 0 0 24px; }
.about-lede { font-size: 17px; max-width: 560px; }

/* Stamp ring (right side decorative element) */
.about-hero-stamp { display: flex; justify-content: center; align-items: center; }
.stamp-ring {
  position: relative;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px -30px rgba(10, 31, 68, 0.18), inset 0 0 0 14px var(--paper-warm);
}
.stamp-line {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--mute);
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}
.stamp-line.top { top: 28px; }
.stamp-line.bottom { bottom: 28px; }
.stamp-core { text-align: center; }
.stamp-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 64px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stamp-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 12px;
}
.stamp-flourish {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* story 3-column */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.story-col {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.story-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 18px;
}
.story-h {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  color: var(--navy-900);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.story-col p {
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* flagship card */
.flagship-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  box-shadow: 0 24px 60px -30px rgba(10, 31, 68, 0.12);
}
.flagship-text .eyebrow { color: var(--gold); display: inline-block; margin-bottom: 14px; }
.flagship-text h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 0 0 18px; }
.flagship-text p { font-size: 15px; color: var(--slate); line-height: 1.65; margin: 0 0 14px; }
.flagship-points {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.flagship-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.55;
}
.flagship-points .fp-bullet {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
}
.flagship-points li strong {
  color: var(--navy-900);
  font-weight: 600;
}

/* founder cards */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.founder-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 36px;
  display: flex; flex-direction: column;
  min-width: 0;
  box-shadow: 0 24px 60px -32px rgba(10, 31, 68, 0.14);
}
.founder-photo {
  position: relative;
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 0 28px;
  background: var(--paper-warm);
  border: 1px solid var(--hair);
}
.founder-photo image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
}
.founder-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--mute);
  background: linear-gradient(155deg, #fff 0%, var(--paper-warm) 100%);
  z-index: 1;
  pointer-events: none;
}
.founder-photo:has(image-slot[data-has-image]) .founder-photo-fallback { display: none; }

.founder-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.founder-name {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 34px);
  color: var(--navy-900);
  margin: 10px 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.founder-quals {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--slate);
  margin: 0 0 22px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.founder-bio {
  color: var(--charcoal);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.founder-expertise {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--hair);
}
.founder-expertise .exp-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.founder-expertise ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.founder-expertise li {
  font-size: 12.5px;
  color: var(--charcoal);
  background: var(--paper-warm);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hair);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'><path d='M0 9 L9 0' stroke='rgb(31,33,60)' stroke-opacity='0.045' stroke-width='1' shape-rendering='crispEdges'/></svg>");
  background-size: 9px 9px;
}
.contact-hero-inner { max-width: 760px; text-align: center; margin: 0 auto; }
.contact-h1 { font-size: clamp(40px, 5.4vw, 68px) !important; line-height: 1.04; margin: 0 0 22px; }
.contact-lede { font-size: 16.5px; margin: 0 auto; max-width: 600px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* form card */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 24px 60px -32px rgba(10, 31, 68, 0.14);
  min-width: 0;
}
.contact-form-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.contact-form-h {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--navy-900);
  margin: 10px 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.contact-form-sub {
  color: var(--slate);
  font-size: 14px;
  margin: 0 0 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
}
.cf-opt {
  color: var(--mute);
  text-transform: none;
  letter-spacing: 0;
  font-size: 9.5px;
  margin-left: 6px;
}
.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field input[type="tel"],
.cf-field textarea {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 9px;
  padding: 12px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  color: var(--charcoal);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: 0;
  border-color: var(--navy-800);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.08);
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cf-chips label {
  display: inline-flex; align-items: center;
  cursor: pointer;
}
.cf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chips span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 13px;
  color: var(--slate);
  transition: background .15s, border-color .15s, color .15s;
}
.cf-chips label:hover span { border-color: var(--navy-300); color: var(--navy-900); }
.cf-chips input:checked + span {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.cf-actions {
  display: flex; align-items: center; gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cf-note {
  font-size: 11.5px;
  color: var(--mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  max-width: 260px;
  line-height: 1.45;
}

/* channels right column */
.contact-channels {
  display: flex; flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.ch-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 22px 24px;
}
.ch-card.highlight {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.ch-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--paper-warm);
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  margin-bottom: 14px;
}
.ch-card.highlight .ch-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--gold);
}
.ch-icon svg { width: 18px; height: 18px; }
.ch-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
}
.ch-card.highlight .ch-label { color: var(--gold-soft); }
.ch-value {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--navy-900);
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
  text-decoration: none;
  word-break: break-word;
}
.ch-card.highlight .ch-value { color: #fff; }
a.ch-value:hover { color: var(--gold); }
.ch-sub {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}
.ch-card.highlight .ch-sub { color: rgba(255, 255, 255, 0.7); }

/* mini-faq on contact page */
.contact-mini-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.cmf-row {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 24px 26px;
}
.cmf-row h4 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy-900);
  margin: 0 0 8px;
  line-height: 1.35;
}
.cmf-row p {
  color: var(--slate);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* About / Contact nav active state */
.nav-links a { position: relative; white-space: nowrap; }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  pointer-events: none;
}

/* ============================================================
   ABOUT / CONTACT — responsive
   ============================================================ */

/* ============================================================
   RESPONSIVE — defensive guards (apply at every width)
   ============================================================ */
/* Grid/flex items must be allowed to shrink — otherwise the card's
   intrinsic content width wins and the row overflows on narrow screens. */
.ps-strip-item .r-detail-rich,
.ps-strip-item .r-detail-rich .ps-fcard,
.ps-strip-item .r-detail-rich .ps-fcard-body,
.ps-strip-item .r-detail-rich .ps-fcard-stage,
.ps-strip-item .r-detail-rich .stage-icons,
.ps-strip-item .r-detail-rich .stage-time,
.ps-strip-item .r-detail-rich .stage-dash { min-width: 0; }
.ps-strip-item .r-detail-rich .ps-fcard { max-width: 100%; }
.ps-strip-item .r-detail-rich .ps-fcard-title,
.ps-strip-item .r-detail-rich .ps-fcard-desc { overflow-wrap: anywhere; word-break: break-word; }
.ps-strip { overflow: hidden; }   /* clip any rogue child during transitions */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .container { padding: 0 32px; }
  .why-bento { grid-template-columns: 1fr 1fr; }
  .why-card.feature { grid-row: span 1; grid-column: span 2; }
  [data-features="cards"] .feat-cards { grid-template-columns: 1fr 1fr; }
  .bf-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card.featured { transform: none; }
  .preview-wrap { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
@media (max-width: 1180px) {
  .ps-head-row, .ps-pair { grid-template-columns: 1fr; gap: 18px; }
  .ps-arrow { padding: 4px 0; }
  .ps-arrow .arrow-circle { transform: rotate(90deg); }
  .ps-col-label.after::before { display: none; }
  .ps-strip-row, .ps-strip-item .r-detail { grid-template-columns: 36px 1fr 36px 1fr 24px; gap: 16px; padding-left: 18px; padding-right: 18px; }
  .ps-strip-row .side .r-title { font-size: 15px; }
  .ps-strip-row .side .r-sub { font-size: 12.5px; }
  .ps-strip-item .r-detail-rich { grid-template-columns: 1fr; gap: 18px; }
  .ps-strip-item .r-detail-rich .ps-arrow.rich-arrow .arrow-circle { transform: rotate(90deg); }
  .ps-strip-item.open .r-detail-rich { padding: 22px 20px 26px; }
  /* hero — stack early so right-side carousel has breathing room */
  .hero-split-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-slide .stage { height: 480px; }
  /* modules — collapse 12-col bento to 2-col */
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-lg, .mc-md, .mc-eq { grid-column: span 1; }
  .module-card { min-height: 0; padding: 26px 24px; }
  /* about + contact — stack two-column layouts */
  .about-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-hero-stamp { order: -1; }
  .stamp-ring { width: 220px; height: 220px; }
  .stamp-num { font-size: 50px; }
  .flagship-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .founders-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-card { padding: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-card { padding: 32px 26px; }
  .contact-mini-faq { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 16px; }
  .cf-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--hair); border-radius: 9px; background: #fff; color: var(--navy-900); }
  .menu-toggle svg { width: 18px; height: 18px; }
  .nav-cta .btn:not(.menu-toggle) { display: none; }
  [data-hero="split"] .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  [data-hero="split"] .stage { height: 460px; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-slide .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-slide .stage { height: 420px; }
  .hero-slide { padding-right: 0; padding-left: 0; }
  /* mobile carousel — slimmer controls, no text labels */
  .carousel-controls { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; padding-top: 20px; }
  .carousel-dots { gap: 10px; }
  .carousel-dot { gap: 8px; font-size: 10px; }
  .carousel-dot > span:last-child { display: none; }     /* hide text label */
  .carousel-dot .dot-track { width: 28px; }
  .carousel-arrows { gap: 8px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .ps-card { padding: 28px 24px; min-height: 0; }
  .ps-card h3 { font-size: 22px; }
  /* featured pair → tighten on mobile */
  .ps-fcard-body { padding: 28px 20px 18px; }
  .ps-fcard-title { font-size: 26px; }
  .ps-fcard-impact { padding: 18px 20px 22px; }
  .stage-time .time-row { grid-template-columns: 100px 1fr 32px; gap: 8px; font-size: 11px; }
  .stage-dash .dash-mini-body { grid-template-columns: 90px 1fr; min-height: 200px; }
  .stage-dash .mini-stat .mini-val { font-size: 18px; }
  /* rich expansion → tighten on mobile */
  .ps-strip-item.open .r-detail-rich { padding: 18px 12px 22px; max-height: 5200px; }
  .ps-strip-item .r-detail-rich .ps-fcard-body { padding: 22px 18px 16px; }
  .ps-strip-item .r-detail-rich .ps-fcard-title { font-size: clamp(20px, 6.4vw, 26px); }
  .ps-strip-item .r-detail-rich .ps-fcard-desc { font-size: 12.5px; max-width: 100%; }
  .ps-strip-item .r-detail-rich .ps-fcard-impact { padding: 16px 18px 20px; }
  .ps-strip-item .r-detail-rich .stage-time .time-row { grid-template-columns: 92px 1fr 28px; font-size: 10px; }
  .ps-strip-item .r-detail-rich .stage-dash .dash-mini-body { grid-template-columns: 84px 1fr; min-height: 0; }
  .ps-strip-item .r-detail-rich .stage-icons .ic-title { font-size: 11px; min-height: 30px; }
  .ps-strip-item .r-detail-rich .stage-icons .ic-img { width: 40px; height: 40px; }
  .ps-strip-item .r-detail-rich .stage-icons .ic-cap { font-size: 10px; }
  /* compact strip → stack on mobile */
  .ps-strip-row {
    grid-template-columns: 32px 1fr 24px;
    grid-template-rows: auto auto auto;
    gap: 10px 14px;
    padding: 18px 16px;
  }
  .ps-strip-row .num { grid-row: 1 / span 3; align-self: start; }
  .ps-strip-row .side.before { grid-column: 2; grid-row: 1; }
  .ps-strip-row .arrow { grid-column: 2; grid-row: 2; width: 28px; height: 28px; transform: rotate(90deg); margin-left: 0; }
  .ps-strip-row .arrow svg { width: 13px; height: 13px; }
  .ps-strip-row .side.after { grid-column: 2; grid-row: 3; }
  .ps-strip-row .caret { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
  .ps-strip-item .r-detail { grid-template-columns: 32px 1fr 24px; padding: 0 16px; }
  .ps-strip-item.open .r-detail { padding: 4px 16px 20px; gap: 14px; }
  .ps-strip-item .r-detail .r-impact.before { grid-column: 2; }
  .ps-strip-item .r-detail .r-impact.after { grid-column: 2; }
  .how-grid { grid-template-columns: 1fr; }
  [data-features="split"] .feat-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  [data-features="split"] .feat-row:nth-child(even) .feat-row-text { order: 0; }
  .section-pad { padding: 72px 0; }
  .contact-card-big { padding: 44px 24px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .brand img { width: 48px; height: 48px; border-radius: 12px; padding: 5px; }
  .brand-text b { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  [data-features="cards"] .feat-cards { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .bf-grid { grid-template-columns: 1fr; }
  .why-bento { grid-template-columns: 1fr; }
  .why-card.feature { grid-column: span 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-rows .row { grid-template-columns: 1fr 80px 70px; }
  .dash-rows .row .num:nth-child(3) { display: none; }
  .dash-rows .row.head > div:nth-child(3) { display: none; }
  /* rich expansion → collapse icon grid */
  .stage-icons { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 4px; }
  .stage-icons .ic-col:nth-child(2n+1) + .ic-col::before { display: none; }
  .stage-icons .ic-col:nth-child(n+3) { padding-top: 12px; border-top: 1px solid var(--hair); }
  .ps-strip-item.open .r-detail-rich { padding: 16px 10px 20px; }
  .ps-strip-item .r-detail-rich .ps-fcard-body { padding: 18px 14px 14px; }
  .ps-strip-item .r-detail-rich .ps-fcard-impact { padding: 14px 14px 18px; }
}
