/* ============================================================
   Style 03 — Builder · Dark / terminal aesthetic
   ============================================================ */

:root {
  /* Paper & Pine — warm cream, pine ink, forest accent */
  --bg: #f5f1e8;
  --bg-2: #ede8da;
  --bg-3: #d9d2bf;
  --panel: #ece6d7;
  --panel-2: #e3dccb;
  --ink: #1d2a23;
  --ink-2: #4a5448;
  --ink-3: #7a8275;
  --ink-4: #b4b7ad;
  --line: rgba(29, 42, 35, 0.10);
  --line-strong: rgba(29, 42, 35, 0.22);
  --accent: #2f5e3e;
  --accent-2: #244a31;
  --warn: #b8842b;
  --cyan: #4a6b8a;
  --accent-glow: rgba(47, 94, 62, 0.22);

  --font-sans: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 4px;
  --r-sm: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15.5px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,42,35,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,42,35,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
}

main, nav, footer { position: relative; z-index: 1; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding-bottom: clamp(96px, 12vw, 140px); position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.cyan { color: var(--cyan); }

/* Selection */
::selection { background: var(--accent); color: var(--bg); }

/* Back chip */
.back-bar {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  background: var(--panel);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  transition: border-color 0.15s, transform 0.15s;
}
.back-bar:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ============================================================
   Terminal label — reused everywhere
   ============================================================ */
.term-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.term-label .bracket { color: var(--ink-4); }
.term-label .key { color: var(--accent); }
.term-label .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  display: inline-block;
}

.section-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 56px;
  padding: 64px 0 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.section-marker .sm-tag {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.005em;
}
.section-marker .sm-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.038em;
  max-width: 20ch;
  font-weight: 600;
}
.section-head .sh-note {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 38ch;
  line-height: 1.55;
}
.section-head .sh-note .mono { color: var(--accent); font-size: 0.92em; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.nav-name {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-name .prompt { color: var(--accent); }
.nav-name .cursor {
  width: 7px; height: 14px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.nav-mid {
  display: inline-flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.nav-mid a {
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-mid a:hover { color: var(--accent); background: var(--panel); }
.nav-mid a::before { content: "/ "; color: var(--ink-4); }

.nav-right { display: inline-flex; align-items: center; gap: 12px; }
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.nav-status .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 0 18px var(--accent-glow); }
.nav-cta::before { content: "./"; opacity: 0.6; }
@media (max-width: 920px) {
  .nav-mid, .nav-status { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.hero-prompt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-prompt .p { color: var(--accent); }
.hero-prompt .com { color: var(--ink); }
.hero-prompt .arg { color: var(--cyan); }
.hero-prompt .cursor {
  width: 8px; height: 16px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
  vertical-align: middle;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 20ch;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .pipe { color: var(--ink-4); font-weight: 400; }
.hero h1 .cursor-end {
  display: inline-block;
  width: 0.5ch;
  height: 0.9em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: -0.05em;
  animation: blink 1.1s steps(1) infinite;
}

.hero-body {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 38ch;
  line-height: 1.5;
  font-weight: 400;
}
.hero-sub strong {
  color: var(--ink);
  font-weight: 500;
}
.hero-sub .hl {
  color: var(--accent);
  font-weight: 500;
}

/* Hero status panel — terminal flavored */
.hero-status {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
}
.hero-status-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
}
.hero-status-head .dots {
  display: inline-flex;
  gap: 6px;
}
.hero-status-head .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-4);
}
.hero-status-head .dots span:nth-child(1) { background: #d96259; }
.hero-status-head .dots span:nth-child(2) { background: #d99b3d; }
.hero-status-head .dots span:nth-child(3) { background: var(--accent); }
.hero-status-head .file { color: var(--ink-2); }
.hs-row {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
}
.hs-row:last-child { border-bottom: none; }
.hs-key { color: var(--ink-3); }
.hs-key::before { content: "→ "; color: var(--accent); }
.hs-val { color: var(--ink); }
.hs-val .tag { color: var(--accent); }
.hs-val .muted { color: var(--ink-3); font-size: 11.5px; display: block; margin-top: 2px; }

.hero-cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero-body { grid-template-columns: 1fr; gap: 32px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 0 24px var(--accent-glow); }
.btn-primary::before { content: "./"; opacity: 0.6; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.15s;
}
.btn-link::before { content: "→"; }
.btn-link:hover { gap: 12px; }

/* ============================================================
   Shipping log — replaces stats
   ============================================================ */
.shiplog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0;
  overflow: hidden;
}
.shiplog-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.shiplog-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.shiplog-head .live .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-soft 1.6s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.shiplog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ship-stat {
  padding: 28px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ship-stat:last-child { border-right: none; }
.ship-stat .num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.ship-stat .num .unit {
  font-size: 0.46em;
  color: var(--accent);
  margin-left: 4px;
  vertical-align: 0.18em;
  font-weight: 500;
}
.ship-stat .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.ship-stat .label .tag { color: var(--accent); }
@media (max-width: 760px) {
  .shiplog-grid { grid-template-columns: 1fr; }
  .ship-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .ship-stat:last-child { border-bottom: none; }
}

/* ============================================================
   Principles
   ============================================================ */
.principles-intro {
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--ink);
  max-width: 30ch;
  line-height: 1.25;
  margin-bottom: 56px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.principles-intro .hl { color: var(--accent); }

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.principle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.principle:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.principle::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.principle-num .key { color: var(--accent); }
.principle h3 {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 4px;
}
.principle h3 .hl { color: var(--accent); }
.principle p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
}

/* ============================================================
   Services
   ============================================================ */
.services-intro {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
  margin-bottom: 36px;
}
.services-intro strong { color: var(--ink); font-weight: 500; }
.services-intro .hl { color: var(--accent); }

.cap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1000px;
}
.cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cap::before {
  content: "[ ]";
  color: var(--ink-4);
  font-size: 11px;
}
.cap.is-primary {
  background: rgba(47, 94, 62, 0.08);
  border-color: rgba(47, 94, 62, 0.35);
  color: var(--accent);
}
.cap.is-primary::before { content: "[✓]"; color: var(--accent); }
.cap:hover { border-color: var(--line-strong); color: var(--ink); }
.cap-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 14px;
}

/* ============================================================
   Work
   ============================================================ */
.work-group + .work-group { margin-top: 72px; }
.work-group-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.work-group-label::before { content: "##"; color: var(--ink-3); }
.work-group-note {
  font-size: 14px;
  color: var(--ink-2);
  margin: -10px 0 28px;
  max-width: 60ch;
  line-height: 1.6;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:not(.card-disabled):hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 0 32px var(--accent-glow);
}
.card-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.card-head .path { color: var(--ink-3); }
.card-head .path .slug { color: var(--accent); }
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}
.card-status .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-glow);
}
.card-status.is-progress { color: var(--warn); }
.card-status.is-progress .dot {
  background: var(--warn);
  box-shadow: 0 0 6px rgba(184, 132, 43, 0.35);
  animation: pulse-soft 1.6s ease-in-out infinite;
}
.card-body {
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--ink);
}
.card-outcome {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.card-outcome strong {
  color: var(--accent);
  font-weight: 500;
}
.card-detail {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
}
.card-stack .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-2);
}
.card-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-link {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.case-link:hover { gap: 10px; }
.case-link::before { content: "→"; }
.card-meta { color: var(--ink-3); }
.card-disabled { opacity: 0.85; }

/* Personal */
.personal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .personal-grid { grid-template-columns: 1fr; } }
.p-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.p-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.p-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.p-card-head .self { color: var(--cyan); }
.p-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.p-card .desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  flex: 1;
}
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-2);
}

/* ============================================================
   Process — pipeline diagram
   ============================================================ */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 6px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.step-num::before { content: "["; color: var(--ink-3); margin-right: 2px; }
.step-num::after { content: "]"; color: var(--ink-3); margin-left: 2px; }
.step-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.step p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
@media (max-width: 880px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pipeline::before { display: none; }
  .step { margin: 0; }
}
@media (max-width: 540px) {
  .pipeline { grid-template-columns: 1fr; }
}

/* ============================================================
   Testimonial
   ============================================================ */
.quote-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.quote-head {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--panel-2);
}
.quote-head .source { color: var(--accent); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
}
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-body {
  padding: 36px 36px 32px;
  font-size: clamp(17px, 1.65vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.quote-body::before {
  content: ">";
  color: var(--accent);
  font-family: var(--font-mono);
  margin-right: 8px;
}
.quote-tag {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.quote-tag::before { content: "// "; color: var(--ink-3); }

.quote-attrib {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
  background: var(--panel-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 880px) {
  .quote-attrib { border-left: none; border-top: 1px solid var(--line); }
}
.qa-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.qa-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.qa-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.qa-link::before { content: "→"; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 920px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--panel-2); }
.faq-q-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.faq-q-num::before { content: "Q"; color: var(--accent); }
.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.15s, color 0.15s, border-color 0.15s;
  color: var(--ink-2);
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 360px; }
.faq-a-inner {
  padding: 0 22px 22px 92px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 72ch;
}
.faq-a-inner::before { content: "A "; color: var(--accent); font-family: var(--font-mono); font-size: 13px; margin-right: 4px; }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  text-align: center;
  padding-top: clamp(96px, 13vw, 160px);
  padding-bottom: clamp(96px, 13vw, 160px);
}
.contact .prompt-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.contact .prompt-line .p { color: var(--accent); }
.contact h2 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 20px;
}
.contact h2 .accent { color: var(--accent); }
.contact h2 .cursor-end {
  display: inline-block;
  width: 0.5ch;
  height: 0.9em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: -0.05em;
  animation: blink 1.1s steps(1) infinite;
}
.contact .subline {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  margin: 0 auto 40px;
  max-width: 50ch;
}
.contact-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.or-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.or-line a {
  color: var(--accent);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-inner strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}
.footer-inner .build {
  color: var(--accent);
}
.footer-inner .links { display: inline-flex; gap: 18px; }
.footer-inner a:hover { color: var(--accent); }

/* ============================================================
   About / whoami
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-statement h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 28px;
  text-wrap: balance;
  max-width: 18ch;
}
.about-statement h2 .hl { color: var(--accent); }
.about-statement p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 60ch;
}
.about-statement p:last-child { margin-bottom: 0; }
.about-statement strong { color: var(--ink); font-weight: 600; }
.about-statement .hl { color: var(--accent); font-weight: 500; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Highlight */
.hl { color: var(--accent); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
