/* =============================================================
   tykhon.me — Apple × Linear × Scandinavian
   Warm off-white, layered glass-ish UI cards, gradients,
   real visual depth. One grotesque sans + mono for chrome.
   ============================================================= */

:root {
  --bg: #faf9f5;
  --bg-2: #f1efe8;
  --bg-3: #e9e6dc;
  --divider: rgba(17, 17, 16, 0.09);
  --divider-2: rgba(17, 17, 16, 0.04);

  --ink: #111110;
  --ink-2: rgba(17, 17, 16, 0.6);
  --ink-3: rgba(17, 17, 16, 0.36);
  --ink-4: rgba(17, 17, 16, 0.2);

  --warm: #c46a3a;
  --warm-soft: rgba(196, 106, 58, 0.12);
  --live: #3a8a4f;
  --live-soft: rgba(58, 138, 79, 0.18);

  --card: #ffffff;
  --card-shadow:
    0 1px 2px rgba(17, 17, 16, 0.04),
    0 4px 14px -2px rgba(17, 17, 16, 0.06),
    0 30px 60px -24px rgba(17, 17, 16, 0.18);
  --card-shadow-lg:
    0 2px 6px rgba(17, 17, 16, 0.05),
    0 12px 28px -4px rgba(17, 17, 16, 0.1),
    0 50px 100px -30px rgba(17, 17, 16, 0.22);

  --sans: "Inter Tight", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1180px;
  --max-narrow: 880px;
  --max-text: 720px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --hover-shadow:
    0 1px 2px rgba(17, 17, 16, 0.04),
    0 8px 18px -2px rgba(17, 17, 16, 0.08),
    0 36px 70px -28px rgba(17, 17, 16, 0.22);
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
::selection { background: var(--ink); color: var(--bg); }

@media (hover: hover) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-thumb { background: rgba(17,17,16,0.12); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(17,17,16,0.24); }
}

.link {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 1px;
}
.link:hover { border-color: var(--ink); }

/* =============================================================
   ATMOSPHERE
   ============================================================= */
.halo {
  position: fixed;
  top: -20vh;
  left: 50%;
  width: 140vw;
  height: 90vh;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50vw 40vh at 65% 30%, rgba(196, 106, 58, 0.13), transparent 70%),
    radial-gradient(ellipse 40vw 30vh at 28% 55%, rgba(196, 106, 58, 0.07), transparent 70%);
  pointer-events: none;
  z-index: -2;
  filter: blur(8px);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-size: 220px 220px;
}

/* =============================================================
   SHARED ATOMS
   ============================================================= */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}

.dot--live {
  background: var(--live);
  position: relative;
}

.dot--live::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--live);
  opacity: 0.32;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.32; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(24px, 3.5vw, 40px);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.eyebrow em { font-style: normal; color: var(--ink-4); margin: 0 4px; }
.eyebrow--center { justify-content: center; width: 100%; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.8);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--divider); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 1px;
}

.nav__links {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.nav__links a { font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.nav__cv {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  padding: 6px 0;
}
.nav__cv:hover { color: var(--ink); }
.nav__cv svg { transition: transform 0.25s var(--ease); }
.nav__cv:hover svg { transform: translateY(1px); }

.nav__say {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink-4);
}
.nav__say:hover { border-color: var(--ink); }
.nav__say svg { transition: transform 0.25s var(--ease); }
.nav__say:hover svg { transform: translate(2px, 0); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta { gap: 14px; }
}

/* =============================================================
   SECTION BASE
   ============================================================= */
section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 14vw, 160px) var(--gutter);
}

/* =============================================================
   HERO — two columns, floating UI on the right
   ============================================================= */
.hero {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}

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

.hero__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.hero__period {
  color: var(--warm);
}

.hero__lede {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: var(--max-text);
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}

.hero__lede p {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
}

.hero__voice { color: var(--ink-2); }
.hero__voice em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: clamp(36px, 5vw, 56px) 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  align-items: center;
}
.hero__trust strong {
  font-weight: 500;
  color: var(--ink-2);
}
.hero__trust span:first-child { color: var(--ink-4); }

/* ---- Stage of floating cards ---- */
.hero__col--visual {
  position: relative;
  min-height: 540px;
}

@media (max-width: 980px) {
  .hero__col--visual {
    min-height: 460px;
  }
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  perspective: 1200px;
}

.fcard {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(17, 17, 16, 0.03),
    0 6px 18px -6px rgba(17, 17, 16, 0.08),
    0 24px 48px -22px rgba(17, 17, 16, 0.14);
  will-change: transform;
  transition:
    transform 0.65s var(--ease-soft),
    box-shadow 0.65s var(--ease-soft),
    border-color 0.65s var(--ease-soft);
}

.fcard:hover {
  border-color: rgba(196, 106, 58, 0.25);
  box-shadow:
    0 2px 4px rgba(17, 17, 16, 0.04),
    0 16px 32px -8px rgba(17, 17, 16, 0.12),
    0 36px 70px -28px rgba(17, 17, 16, 0.18);
  z-index: 10;
}

/* Each card has its own resting rotation, so hover transform must
   override the full transform — it straightens slightly + lifts up. */
.fcard--status:hover {
  transform: rotate(1deg) translateY(-4px) translateZ(0);
}
.fcard--runner:hover {
  transform: rotate(-0.8deg) translateY(-5px) translateZ(0);
}
.fcard--metric:hover {
  transform: rotate(1.5deg) translateY(-4px) translateZ(0);
}
.fcard--chip:hover {
  transform: rotate(-2deg) translateY(-3px) translateZ(0);
}

/* Reveal-on-load — override the default [data-reveal] (which would wipe
   the per-card rotation). Each card animates from flat + translated to
   its final tilted resting position, staggered. */
.fcard[data-reveal] {
  opacity: 0;
}
.fcard[data-reveal].is-revealed {
  opacity: 1;
  animation-duration: 1s;
  animation-timing-function: var(--ease-soft);
  animation-fill-mode: backwards;
  /* Restore the smooth hover transitions after reveal — without this
     the cards snap instantly on hover. */
  transition:
    transform 0.6s var(--ease-soft),
    box-shadow 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft);
}

.fcard--status[data-reveal].is-revealed {
  animation-name: fcardInStatus;
  animation-delay: 0.15s;
}
.fcard--runner[data-reveal].is-revealed {
  animation-name: fcardInRunner;
  animation-delay: 0.3s;
}
.fcard--metric[data-reveal].is-revealed {
  animation-name: fcardInMetric;
  animation-delay: 0.45s;
}
.fcard--chip[data-reveal].is-revealed {
  animation-name: fcardInChip;
  animation-delay: 0.6s;
}

@keyframes fcardInStatus {
  from { opacity: 0; transform: rotate(0deg) translateY(24px) translateZ(0); }
  to   { opacity: 1; transform: rotate(2.5deg) translateY(0) translateZ(0); }
}
@keyframes fcardInRunner {
  from { opacity: 0; transform: rotate(0deg) translateY(32px) translateZ(0); }
  to   { opacity: 1; transform: rotate(-2deg) translateY(0) translateZ(0); }
}
@keyframes fcardInMetric {
  from { opacity: 0; transform: rotate(0deg) translateY(28px) translateZ(0); }
  to   { opacity: 1; transform: rotate(3deg) translateY(0) translateZ(0); }
}
@keyframes fcardInChip {
  from { opacity: 0; transform: rotate(0deg) translateY(22px) translateZ(0); }
  to   { opacity: 1; transform: rotate(-4deg) translateY(0) translateZ(0); }
}

/* status pill (top-right) */
.fcard--status {
  top: 6%;
  right: 0%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  transform: rotate(2.5deg) translateZ(0);
  font-size: 13px;
  z-index: 3;
}

.fcard__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 5px var(--live-soft);
}

.fcard__label {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.fcard__sep { color: var(--ink-4); }

.fcard__value {
  color: var(--ink-2);
}

.fcard__sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 4px;
}

/* test runner card (center, biggest — stays inside visual column) */
.fcard--runner {
  top: 24%;
  left: 0;
  width: min(380px, 96%);
  padding: 18px 20px 16px;
  transform: rotate(-2deg) translateZ(0);
  z-index: 2;
}

.runner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}

.runner__tab {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  background: var(--bg-2);
  padding: 4px 10px;
  border-radius: 6px;
}

.runner__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.runner__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.runner__list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 12px;
  border-bottom: 1px dashed var(--divider-2);
}

.runner__list li:last-child { border-bottom: 0; }

.runner__list code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.runner__list span {
  color: var(--ink-3);
  font-size: 11px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--live-soft);
  color: var(--live);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.runner__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--divider);
}

.runner__pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 4px 8px;
  background: var(--bg-2);
  border-radius: 999px;
}

.runner__pill--pass {
  background: var(--live-soft);
  color: var(--live);
}

/* metric card */
.fcard--metric {
  bottom: 6%;
  right: 0%;
  width: 232px;
  padding: 18px 20px 16px;
  transform: rotate(3deg) translateZ(0);
  z-index: 3;
}

.fcard--metric .fcard__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.fcard__big {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 6px 0 8px;
  font-weight: 600;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.fcard__big-suf {
  color: var(--warm);
  font-weight: 500;
}

.spark {
  width: 100%;
  height: 28px;
  margin: 4px 0 6px;
}

.fcard--metric .fcard__sub {
  margin-left: 0;
  display: block;
}

/* tiny floating chip */
.fcard--chip {
  bottom: 22%;
  left: 8%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  transform: rotate(-4deg);
  z-index: 1;
}

@media (max-width: 980px) {
  .fcard--status { right: 4%; }
  .fcard--runner { top: 18%; left: 0; width: min(380px, 88%); }
  .fcard--metric { right: 6%; }
}

@media (max-width: 480px) {
  .hero__col--visual { min-height: 420px; }
  .fcard--runner { left: 0; right: auto; width: 92%; }
  .fcard--metric { width: 210px; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 20px -6px rgba(17,17,16,0.3);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(17,17,16,0.35); }
.btn:hover svg { transform: translate(2px, 0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-4);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-2);
  box-shadow: none;
}

/* =============================================================
   STATS BANNER
   ============================================================= */
.banner {
  max-width: var(--max);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.banner__rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.banner__rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(196,106,58,0.06), transparent 70%);
  pointer-events: none;
}

.banner__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: clamp(12px, 1.6vw, 20px);
  border-left: 1px solid var(--divider);
}

.banner__stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.banner__num {
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.banner__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

@media (max-width: 880px) {
  .banner__rail {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }
  .banner__stat:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .banner__rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner__stat:nth-child(3),
  .banner__stat:nth-child(5) {
    border-left: 0;
    padding-left: 0;
  }
}

/* =============================================================
   BENTO — How I deliver
   ============================================================= */
.bento {
  padding-top: clamp(60px, 9vw, 120px);
}

.bento__head { margin-bottom: clamp(40px, 5vw, 64px); }

.bento__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.bento__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.tile {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

/* Tile widths (12-col) */
.tile--voice { grid-column: span 8; min-height: 280px; justify-content: center; }
.tile--live  { grid-column: span 4; }
.tile--code  { grid-column: span 8; }
.tile--metric{ grid-column: span 4; }
.tile--stack { grid-column: span 8; }
.tile--mini  { grid-column: span 4; justify-content: center; }

@media (max-width: 880px) {
  .tile--voice, .tile--code, .tile--stack { grid-column: span 12; }
  .tile--live, .tile--metric, .tile--mini { grid-column: span 6; }
}

@media (max-width: 560px) {
  .tile--live, .tile--metric, .tile--mini { grid-column: span 12; }
  /* Mini-tile gets a slimmer body and a bigger quote on phones —
     otherwise the line floats in too much whitespace. */
  .tile--mini {
    min-height: 0;
    padding: clamp(28px, 7vw, 36px);
  }
  .tile--mini .tile__line--big {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.1;
  }
}

.tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tile__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.tile__pill--mono { font-family: var(--mono); }

.tile__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* tile—voice: large quote with subtle gradient */
.tile--voice {
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-2) 100%);
}

.tile__quote {
  margin: 0;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.tile__quote em {
  font-style: italic;
  color: var(--warm);
  font-weight: 500;
}

.tile__attrib {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

/* tile—live: stat + bars */
.tile__bigstat {
  margin-bottom: 18px;
}

.tile__bignum {
  display: block;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.tile__bigsub {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.tile__bars {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  align-items: end;
  height: 64px;
}

.tile__bars span {
  display: block;
  width: 100%;
  height: var(--h, 40%);
  background: linear-gradient(180deg, var(--warm) 0%, rgba(196,106,58,0.5) 100%);
  border-radius: 4px;
  opacity: 0.78;
}

.tile__bars span:last-child {
  background: var(--warm);
  opacity: 1;
}

/* tile—code */
.tile--code {
  background: #14131a;
  color: #e8e6e0;
  border-color: rgba(255,255,255,0.06);
}

.tile--code .tile__pill {
  background: rgba(255,255,255,0.08);
  color: rgba(232,230,224,0.7);
}

.code {
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e8e6e0;
  white-space: pre;
  overflow-x: auto;
}

.code code {
  font-family: inherit;
}

.c-c { color: rgba(232,230,224,0.45); }
.c-s { color: #d6936a; }
.c-t { color: #8fb3d1; }

/* tile—metric flow */
.tile__flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  color: var(--ink-2);
}

.tile__before {
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--ink-4);
}

.tile__after {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.tile__line {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.tile__line code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink);
}

.tile__line--big {
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tile__line--big em {
  font-style: italic;
  color: var(--warm);
  font-weight: 500;
}

/* tile—stack: logos grouped by category */
.stack__group {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack__group:first-of-type { margin-top: 4px; }

.stack__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink-3);
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

.logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 7px 13px;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.logo:hover {
  transform: translateY(-2px);
  background: var(--card);
  border-color: var(--ink-3);
}

/* =============================================================
   COVERAGE MAP — real spec counts by epic
   ============================================================= */
.coverage {
  padding-top: clamp(60px, 9vw, 120px);
}

.coverage__head { margin-bottom: clamp(40px, 5vw, 64px); }

.coverage__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.coverage__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.coverage__lede {
  margin: clamp(18px, 2vw, 24px) 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}
.coverage__lede code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink);
}

.coverage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}

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

.coverage__col {
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.coverage__col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(196,106,58,0.05), transparent 70%);
  pointer-events: none;
}

.coverage__col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(18px, 2vw, 24px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
  border-bottom: 1px solid var(--divider);
}

.coverage__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-transform: lowercase;
}

.coverage__total {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.coverage__bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.coverage__bars li {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.4fr) 50px;
  align-items: center;
  gap: 12px;
}

.coverage__label {
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coverage__bar {
  display: block;
  width: 100%;
  height: 8px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.coverage__bar > span {
  display: block;
  height: 100%;
  width: var(--w, 30%);
  background: linear-gradient(90deg, rgba(17,17,16,0.78), rgba(17,17,16,0.55));
  border-radius: 999px;
}

.coverage__bar--accent > span {
  background: linear-gradient(90deg, var(--warm), rgba(196,106,58,0.6));
}

.coverage__count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: var(--ink-2);
}

.coverage__count i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.coverage__rest .coverage__label,
.coverage__rest .coverage__count {
  color: var(--ink-3);
}

.coverage__rest .coverage__count i {
  opacity: 0.4;
}

.coverage__rest .coverage__bar > span {
  background: linear-gradient(90deg, rgba(17,17,16,0.32), rgba(17,17,16,0.18));
}

.coverage__foot {
  margin: clamp(28px, 3.5vw, 40px) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.coverage__foot strong {
  font-weight: 500;
  color: var(--ink-2);
}
.coverage__foot code {
  font-family: var(--mono);
  padding: 1px 5px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink-2);
}
.coverage__foot-accent { color: var(--warm); }

/* =============================================================
   CASE STUDIES
   ============================================================= */
.cases {
  padding-top: clamp(60px, 9vw, 120px);
}

.cases__head { margin-bottom: clamp(48px, 7vw, 88px); }

.cases__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cases__title em {
  font-style: italic;
  color: var(--warm);
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--divider);
}

.case:last-child { border-bottom: 1px solid var(--divider); }

.case--reverse .case__col--text { order: 2; }
.case--reverse .case__col--visual { order: 1; }

@media (max-width: 880px) {
  .case, .case--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case--reverse .case__col--text,
  .case--reverse .case__col--visual { order: initial; }
}

.case__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.case__title {
  margin: 14px 0 18px;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.case__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.case__copy {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}

.case__copy code {
  font-family: var(--mono);
  font-size: 14px;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink);
}

.case__pills {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case__pills li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 5px 11px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--card);
}

/* Chart */
.chart {
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

.chart__delta {
  font-weight: 600;
  color: var(--warm);
}

.chart__svg {
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  display: block;
}

.chart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* Terminal mock */
.term {
  background: #14131a;
  color: #e8e6e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,255,255,0.05);
}

.term__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1c1b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.term__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.term__title {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(232,230,224,0.5);
}

.term__body {
  margin: 0;
  padding: clamp(18px, 2.2vw, 24px);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #e8e6e0;
  white-space: pre-wrap;
  word-break: break-word;
}

.t-prompt { color: var(--warm); font-weight: 600; }
.t-cmd { color: #f0e1c0; }
.t-flag { color: #8fb3d1; }
.t-meta { color: rgba(232,230,224,0.5); }
.t-ok { color: #6dd494; font-weight: 600; }
.t-warn { color: #e8b96a; font-weight: 600; }

/* Cluster */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 36px);
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--divider);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  align-content: center;
  align-items: center;
  min-height: 280px;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 14px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  box-shadow: 0 6px 14px -6px rgba(17,17,16,0.1);
  transition: transform 0.25s var(--ease);
}

.chip:hover { transform: translateY(-2px); }

.chip span {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chip--lg {
  font-size: 18px;
  padding: 16px 22px;
}

.chip--accent {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.chip--accent span {
  color: rgba(250,249,245,0.55);
}

/* =============================================================
   BEYOND THE SUITE — non-test work, problem-solver framing
   ============================================================= */
.beyond { padding-top: clamp(60px, 9vw, 120px); }

.beyond__head { margin-bottom: clamp(40px, 5vw, 64px); }

.beyond__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.beyond__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.beyond__lede {
  margin: clamp(18px, 2vw, 24px) 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

.beyond__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.8vw, 24px);
}

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

.beyond__tile {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.beyond__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--warm);
  font-weight: 500;
}

.beyond__h {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.beyond__copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
}

.beyond__copy code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink);
}

.beyond__chips {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.beyond__chips li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--bg);
}

/* =============================================================
   PRINCIPLES
   ============================================================= */
.principles { padding-top: clamp(60px, 9vw, 120px); }

.principles__list {
  list-style: none;
  padding: 0;
  margin: clamp(32px, 4vw, 48px) 0 0;
  display: grid;
  gap: clamp(32px, 4.5vw, 56px);
}

.principle {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(20px, 4vw, 48px);
  row-gap: clamp(14px, 1.8vw, 22px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--divider-2);
}

.principle:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.principle__num {
  grid-column: 1; grid-row: 1;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 12px;
  letter-spacing: 0.02em;
}

.principle__statement {
  grid-column: 2; grid-row: 1;
  margin: 0;
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.principle__statement em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.principle__note {
  grid-column: 2; grid-row: 2;
  margin: 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .principle {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 12px;
  }
  .principle__num,
  .principle__statement,
  .principle__note { grid-column: 1; }
  .principle__num { grid-row: 1; padding-top: 0; }
  .principle__statement { grid-row: 2; }
  .principle__note { grid-row: 3; }
}

/* =============================================================
   HOW I SHOW UP — working style / soft side
   ============================================================= */
.showup { padding-top: clamp(60px, 9vw, 120px); }

.showup__head { margin-bottom: clamp(40px, 5vw, 64px); }

.showup__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.showup__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.showup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.2vw, 32px) clamp(28px, 3vw, 44px);
}

@media (max-width: 760px) {
  .showup__grid { grid-template-columns: 1fr; gap: 28px; }
}

.showup__tile {
  position: relative;
  padding: 0 0 clamp(20px, 2.2vw, 28px);
  border-bottom: 1px solid var(--divider-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showup__h {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.showup__h::before {
  content: "+";
  display: inline-block;
  margin-right: 10px;
  color: var(--warm);
  font-weight: 500;
  vertical-align: 1px;
}

.showup__copy {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

/* =============================================================
   NOW
   ============================================================= */
.now { border-top: 1px solid var(--divider); }

.now__lede em {
  font-style: italic;
  font-weight: 500;
  color: var(--warm);
}

.now__lede {
  margin: 0 0 clamp(32px, 4vw, 48px);
  max-width: 36ch;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}

/* week rhythm strip — Mon → Fri */
.week {
  list-style: none;
  padding: clamp(16px, 1.8vw, 22px);
  margin: 0 0 clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  counter-reset: week;
}

.week::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 75%, rgba(196,106,58,0.06) 100%);
  pointer-events: none;
}

.week__day {
  position: relative;
  padding: clamp(14px, 1.6vw, 20px) clamp(12px, 1.4vw, 18px);
  border-left: 1px dashed var(--divider-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.week__day:first-child { border-left: 0; }

.week__d {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.week__t {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.week__t code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 5px;
  background: var(--bg-2);
  border-radius: 4px;
  color: var(--ink);
}

.week__day--ship .week__d { color: var(--warm); }
.week__day--ship .week__t {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.week__day--ship .week__t em {
  font-style: italic;
  color: var(--warm);
  font-weight: 500;
}

@media (max-width: 760px) {
  .week {
    grid-template-columns: 1fr;
    padding: 6px;
  }
  .week__day {
    border-left: 0;
    border-top: 1px dashed var(--divider-2);
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
  }
  .week__day:first-child { border-top: 0; }
  .week__d { min-width: 36px; }
}

.now__list { margin: 0; padding: 0; border-top: 1px solid var(--divider-2); }

.now__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--divider-2);
  align-items: baseline;
}

.now__row dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  padding-top: 4px;
}

.now__row dd {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
}

@media (max-width: 640px) {
  .now__row { grid-template-columns: 1fr; gap: 6px; }
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact { border-top: 1px solid var(--divider); }

.contact__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(44px, 8vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.contact__period { color: var(--warm); }

.contact__note {
  margin: clamp(28px, 3.6vw, 44px) 0 clamp(32px, 4vw, 48px);
  max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

/* Primary email card */
.contact__primary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(17, 17, 16, 0.03),
    0 4px 14px -6px rgba(17, 17, 16, 0.06);
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition:
    transform 0.55s var(--ease-soft),
    border-color 0.55s var(--ease-soft),
    box-shadow 0.55s var(--ease-soft);
}
.contact__primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 120% at 100% 0%,
    rgba(196, 106, 58, 0.1),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
}
.contact__primary:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 106, 58, 0.35);
  box-shadow:
    0 2px 4px rgba(17, 17, 16, 0.04),
    0 12px 28px -10px rgba(17, 17, 16, 0.1);
}
.contact__primary:hover::before { opacity: 1; }

.contact__primary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink-2);
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.55s var(--ease-soft),
    color 0.55s var(--ease-soft),
    transform 0.55s var(--ease-soft);
}
.contact__primary-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.55s var(--ease-soft);
}
.contact__primary:hover .contact__primary-icon {
  background: var(--warm-soft);
  color: var(--warm);
  transform: scale(1.06) rotate(-3deg);
}
.contact__primary:hover .contact__primary-icon svg {
  transform: translateY(-1px);
}

.contact__primary-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact__primary-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact__primary-value {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.1;
  position: relative;
  display: inline-block;
  align-self: start;
  background-image: linear-gradient(var(--warm), var(--warm));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease-soft);
}
.contact__primary:hover .contact__primary-value {
  background-size: 100% 1.5px;
}

.contact__primary-arrow {
  color: var(--ink-3);
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease-soft),
    color 0.5s var(--ease-soft);
}
.contact__primary:hover .contact__primary-arrow {
  color: var(--warm);
  transform: translateX(5px);
}

/* Secondary cards row */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0 0 clamp(28px, 3.4vw, 40px);
}

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

.contact__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px);
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(17, 17, 16, 0.03);
  will-change: transform;
  transition:
    transform 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft);
}

.contact__card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-4);
  box-shadow:
    0 2px 4px rgba(17, 17, 16, 0.04),
    0 14px 32px -12px rgba(17, 17, 16, 0.16);
}

.contact__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink-2);
  flex-shrink: 0;
  transition:
    background 0.45s var(--ease-soft),
    color 0.45s var(--ease-soft);
}
.contact__card:hover .contact__card-icon {
  background: var(--warm-soft);
  color: var(--warm);
}

.contact__card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact__card-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.contact__card-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact__card-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
  flex-shrink: 0;
  transition:
    color 0.45s var(--ease-soft),
    transform 0.45s var(--ease-soft);
}
.contact__card:hover .contact__card-arrow {
  color: var(--warm);
  transform: translate(3px, -3px);
}

/* Meta line (location + phone) */
.contact__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.contact__meta a {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.contact__meta a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-3);
}
.contact__meta span[aria-hidden] { color: var(--ink-4); }

.signature {
  margin: clamp(48px, 7vw, 84px) 0 0;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--warm);
  opacity: 0.85;
}

.signature em { font-weight: 500; }

/* =============================================================
   FOOTER
   ============================================================= */
.foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 36px;
  border-top: 1px solid var(--divider);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

.foot__mid { justify-self: center; }
.foot__top { justify-self: end; color: var(--ink-2); }
.foot__top:hover { color: var(--ink); }

@media (max-width: 720px) {
  .foot { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .foot__mid, .foot__top { justify-self: start; }
}

/* =============================================================
   REVEAL-ON-SCROLL
   ============================================================= */
/* General reveal — applies to everything except .fcard (fcards have
   their own per-card reveal animation that preserves rotation). */
[data-reveal]:not(.fcard) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal]:not(.fcard).is-revealed {
  opacity: 1;
  transform: none;
}

section [data-reveal]:nth-child(1) { transition-delay: 0.02s; }
section [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
section [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
section [data-reveal]:nth-child(4) { transition-delay: 0.2s; }
section [data-reveal]:nth-child(5) { transition-delay: 0.26s; }
section [data-reveal]:nth-child(6) { transition-delay: 0.32s; }

.bento__grid .tile:nth-child(1) { transition-delay: 0.04s; }
.bento__grid .tile:nth-child(2) { transition-delay: 0.1s; }
.bento__grid .tile:nth-child(3) { transition-delay: 0.16s; }
.bento__grid .tile:nth-child(4) { transition-delay: 0.22s; }
.bento__grid .tile:nth-child(5) { transition-delay: 0.28s; }
.bento__grid .tile:nth-child(6) { transition-delay: 0.34s; }

.principles__list .principle:nth-child(1) { transition-delay: 0.04s; }
.principles__list .principle:nth-child(2) { transition-delay: 0.12s; }
.principles__list .principle:nth-child(3) { transition-delay: 0.2s; }

.now__list .now__row:nth-child(1) { transition-delay: 0.04s; }
.now__list .now__row:nth-child(2) { transition-delay: 0.1s; }
.now__list .now__row:nth-child(3) { transition-delay: 0.16s; }
.now__list .now__row:nth-child(4) { transition-delay: 0.22s; }

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal]:not(.fcard) { opacity: 1; transform: none; }
  .fcard[data-reveal] { opacity: 1; }
  .dot--live::after { display: none; }
}
