/* =========================================================
   DEEPA SINGH — PORTFOLIO
   Senior-designer pass — v4
   Aesthetic: dark, editorial, fintech-serious. One accent.
   Grid: 12 cols · gutter clamp(20px, 4vw, 40px) · max 1400px
   Rhythm: 8 pt baseline, section padding clamps with viewport
   ========================================================= */

:root {
  /* Palette — Obsidian & Plum (neutral, not branded) */
  --ink-1000: #0b0b0d;        /* page */
  --ink-900:  #111114;        /* surface */
  --ink-850:  #15151a;
  --ink-800:  #191920;        /* raised */
  --ink-700:  #23232b;
  --ink-600:  #2e2e38;
  --line:         rgba(255,255,255,0.07);
  --line-strong:  rgba(255,255,255,0.14);
  --line-mid:     rgba(255,255,255,0.10);

  --fg:        #ece9e4;
  --fg-muted:  #9a968f;
  --fg-dim:    #65615b;

  /* Accent — deep plum-rose. Used for 1-2 touches per screen. */
  --accent:       #d94a6e;
  --accent-2:     #f0a6b9;
  --accent-deep:  #7a1a34;
  --accent-ink:   #1a0a10;

  /* Type */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Satoshi", "Neue Haas Grotesk Display Pro", "Inter", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Space scale — 8 pt */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Container */
  --gutter: clamp(20px, 4vw, 40px);
  --max:    1400px;
  --nav-h:  68px;
}

[data-theme="light"] {
  --ink-1000: #f5f1e8;
  --ink-900:  #ece5d4;
  --ink-850:  #e4dcc7;
  --ink-800:  #dbd1b8;
  --ink-700:  #cec1a2;
  --ink-600:  #b6a684;
  --line:         rgba(10,10,12,0.08);
  --line-mid:     rgba(10,10,12,0.14);
  --line-strong:  rgba(10,10,12,0.22);
  --fg:        #141216;
  --fg-muted:  #524d48;
  --fg-dim:    #85807a;
  --accent:    #9b2648;
  --accent-2:  #7a1a34;
  --accent-ink: #fff8f4;
}

/* -------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--ink-1000);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 360ms var(--ease-out), color 360ms var(--ease-out);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

.mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
}
.muted { color: var(--fg-muted); }

/* -------------------------- SCROLL PROGRESS */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent);
  z-index: 100; transition: width 120ms linear;
  pointer-events: none;
}

/* -------------------------- NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--ink-1000) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.mark-glyph {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 17px; line-height: 1;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  letter-spacing: 0;
}
.mark-text {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted);
  transition: color 200ms var(--ease-out);
  position: relative;
}
.nav__links a:hover { color: var(--fg); }
.nav__links a.active { color: var(--fg); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
}
.theme-toggle {
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--fg-muted);
  transition: color 200ms, border-color 200ms, transform 400ms var(--ease-out);
}
.theme-toggle:hover { color: var(--fg); border-color: var(--fg-muted); transform: rotate(30deg); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* -------------------------- LAYOUT PRIMITIVES */
.section {
  padding: var(--sp-10) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section--tight { padding: var(--sp-9) var(--gutter); }

/* Consistent section head: label above title, lede right-aligned column */
.section__head {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2.2fr);
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: var(--sp-8);
  align-items: start;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.section__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 10px;
  padding-top: 20px;
}
.section__label::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 999px; background: var(--accent);
  flex: 0 0 auto;
}
.section__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(40px, 5.2vw, 80px); line-height: 0.98;
  margin: 0; color: var(--fg);
}
.section__title em { font-style: italic; color: var(--accent); font-weight: 300; }
.section__lede {
  font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5;
  color: var(--fg-muted); max-width: 52ch; margin: var(--sp-5) 0 0;
}
@media (max-width: 860px) {
  .section__head {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-bottom: var(--sp-7);
  }
  .section__label { padding-top: 0; }
}

/* Hairline */
.rule { height: 1px; background: var(--line); width: 100%; }

/* =========================================================
   1) HERO
   ========================================================= */
.hero {
  min-height: calc(100vh - var(--nav-h));
  padding: var(--sp-8) var(--gutter) var(--sp-8);
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-rows: auto 1fr auto;
  gap: var(--sp-7);
  position: relative;
}
.hero__meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-4);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.hero__meta .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: #41c488; margin-right: 8px; box-shadow: 0 0 10px #41c488;
  animation: pulse 2s ease-in-out infinite; vertical-align: 1px;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero__body {
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
}
.hero__kicker {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero__kicker::before {
  content: ""; width: 48px; height: 1px;
  background: var(--fg-muted); flex: 0 0 auto;
}

.hero__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.045em;
  font-size: clamp(56px, 10.5vw, 172px);
  line-height: 0.9; margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.hero__title .row { display: block; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--accent); }

/* Rotator — sized to a full line-box so descenders (g, p, y) are preserved */
.rotator {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.05em;            /* taller than glyph so descenders aren't cropped */
  line-height: 0.9;
  position: relative;
  padding-bottom: 0.05em;
}
.rotator__track {
  display: flex; flex-direction: column;
  transition: transform 560ms var(--ease-in-out);
}
.rotator__item {
  height: 1.05em;
  line-height: 0.9;
  font-style: italic; font-weight: 300; color: var(--accent);
  white-space: nowrap; padding-right: 0.12em;
  display: flex; align-items: flex-end;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.hero__about {
  font-family: var(--serif); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6;
  color: var(--fg-muted); max-width: 44ch;
  margin: 0;
}
.hero__about strong { color: var(--fg); font-weight: 500; }
.hero__about em { font-style: italic; color: var(--accent); font-weight: 400; }

/* CTA — consistent pill used across the site */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg);
  transition: all 240ms var(--ease-out);
  white-space: nowrap;
  align-self: end; justify-self: start;
}
.btn:hover {
  background: var(--fg); color: var(--ink-1000);
  border-color: var(--fg);
  transform: translateY(-1px);
}
.btn .arrow { transition: transform 240ms var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--solid {
  background: var(--fg); color: var(--ink-1000); border-color: var(--fg);
}
.btn--solid:hover {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}
.btn--accent {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.btn--accent:hover { filter: brightness(1.06); transform: translateY(-2px); }

.hero__cta { align-self: end; justify-self: center; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(16px, 2.5vw, 36px);
  justify-self: end; text-align: right;
  align-items: end;
}
.hero__stat {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.hero__stat .num {
  display: block; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 300; line-height: 1;
  letter-spacing: -0.03em; color: var(--fg);
}
.hero__stat .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-dim);
  margin-top: 8px; display: block;
}

@media (max-width: 900px) {
  .hero__foot {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .hero__cta, .hero__stats { justify-self: start; text-align: left; }
  .hero__stats { grid-template-columns: repeat(3, auto); gap: var(--sp-5); }
}

/* -------------------------- MARQUEE */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  padding: 20px 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 3.6vw, 48px);
  color: var(--fg);
}
.marquee__track {
  display: inline-flex; gap: 40px;
  animation: scroll 46s linear infinite;
  padding-left: 40px;
}
.marquee__track span { display: inline-block; }
.marquee__track .sep { color: var(--accent); font-family: var(--sans); font-style: normal; font-weight: 300; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   2) FEATURED
   ========================================================= */
.featured__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(217,74,110,0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-1000));
  transition: border-color 320ms;
  display: block;
}
[data-theme="light"] .featured__card {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(155,38,72,0.12), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
}
.featured__card:hover { border-color: var(--line-strong); }

.featured__top {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 960px) { .featured__top { grid-template-columns: 1fr; } }

.featured__copy {
  padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column; gap: var(--sp-5);
  min-height: 520px;
}
.featured__eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.featured__eyebrow .chip {
  padding: 5px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--fg); background: rgba(255,255,255,0.03);
  font-size: 10px; letter-spacing: 0.14em;
}
.featured__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(34px, 4.2vw, 60px); line-height: 1; margin: 0;
  color: var(--fg); text-wrap: balance;
}
.featured__title em { font-style: italic; color: var(--accent); }
.featured__desc {
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  color: var(--fg-muted); max-width: 44ch;
  margin: 0;
}
.featured__cta {
  margin-top: auto;
}

.featured__visual {
  position: relative; background: var(--ink-1000);
  min-height: 620px;
  overflow: hidden;
  display: grid; place-items: center;
  border-left: 1px solid var(--line);
}
@media (max-width: 960px) {
  .featured__visual { border-left: 0; border-top: 1px solid var(--line); min-height: 420px; }
  .featured__copy { min-height: 0; }
}

.pv-stage {
  position: relative; width: 100%; height: 100%; padding: 40px;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(214,172,82,0.12), transparent 70%),
    radial-gradient(520px 360px at 50% 100%, rgba(217,74,110,0.14), transparent 70%);
  overflow: hidden;
  perspective: 1200px;
}

/* Giant ghosted "oz" in Fraunces — behind everything */
.pv-ghost {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(260px, 36vw, 460px); line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214,172,82,0.10);
  pointer-events: none; user-select: none;
  z-index: 0;
  transform: translateY(-4%);
}

/* Price ticker — across the top */
.pv-ticker {
  position: absolute; top: 16px; left: 0; right: 0;
  height: 28px; overflow: hidden;
  border-top: 1px solid rgba(214,172,82,0.18);
  border-bottom: 1px solid rgba(214,172,82,0.18);
  background: linear-gradient(90deg, transparent, rgba(214,172,82,0.04), transparent);
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.pv-ticker__track {
  display: inline-flex; gap: 40px; padding: 6px 20px;
  white-space: nowrap;
  animation: pvTicker 28s linear infinite;
  will-change: transform;
}
.pv-ticker__track span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(236,233,228,0.4); text-transform: uppercase;
}
.pv-ticker__track span b { color: #d6ac52; font-weight: 500; margin-left: 4px; }
.pv-ticker__track span i { color: rgba(152,196,148,0.8); font-style: normal; margin-left: 2px; font-size: 9px; }
@keyframes pvTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Gold coin emblem — floating behind */
.pv-coin {
  position: absolute;
  width: clamp(150px, 16vw, 220px); aspect-ratio: 1;
  left: 6%; top: 24%;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(214,172,82,0.25)) drop-shadow(0 2px 2px rgba(0,0,0,0.4));
  transform: rotate(-14deg);
  animation: pvCoinFloat 8s ease-in-out infinite;
}
.pv-coin svg { width: 100%; height: 100%; }
@keyframes pvCoinFloat {
  0%,100% { transform: rotate(-14deg) translateY(0); }
  50%     { transform: rotate(-10deg) translateY(-8px); }
}

/* Secondary "mini" phone — tucked right behind */
.pv-phone--mini {
  position: absolute;
  right: 6%; top: 38%;
  width: 148px !important; aspect-ratio: 9/19.2;
  transform: rotate(6deg) translateZ(0);
  z-index: 2;
  opacity: 0.92;
  box-shadow:
    0 40px 60px -20px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05) !important;
}
.pv-screen--mini {
  padding: 22px 14px 16px !important;
  gap: 8px;
  display: flex; flex-direction: column;
}
.pv-mini__chip {
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(214,172,82,0.85);
  padding: 5px 8px; border: 1px solid rgba(214,172,82,0.3); border-radius: 999px;
  align-self: flex-start;
}
.pv-mini__tick {
  width: 44px; height: 44px; margin: 6px auto 4px;
}
.pv-mini__tick svg { width: 100%; height: 100%; }
.pv-mini__amt {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em;
  color: #6a6660; text-align: center;
  text-transform: uppercase;
}
.pv-mini__amt b {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: 22px; color: #d6ac52; letter-spacing: -0.02em;
  margin-top: 2px;
}
.pv-mini__note {
  font-family: var(--mono); font-size: 7.5px; color: rgba(152,196,148,0.85);
  text-align: center; letter-spacing: 0.06em;
}
.pv-mini__bar {
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden;
  margin: 8px 0 4px;
}
.pv-mini__bar span {
  display: block; width: 72%; height: 100%;
  background: linear-gradient(90deg, #d6ac52, #f0c96b);
}
.pv-mini__foot {
  margin-top: auto; font-family: var(--mono); font-size: 7px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(236,233,228,0.35); text-align: center;
}

/* Case-study ribbon — bottom-right */
.pv-ribbon {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 12px;
  background: rgba(11,11,13,0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214,172,82,0.2);
  border-radius: 999px;
  z-index: 4;
  transition: transform 360ms var(--ease-out), border-color 240ms;
}
.featured__card:hover .pv-ribbon {
  transform: translateX(4px);
  border-color: rgba(214,172,82,0.5);
}
.pv-ribbon__num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: #d6ac52; padding-right: 10px;
  border-right: 1px solid rgba(214,172,82,0.25);
}
.pv-ribbon__txt {
  font-family: var(--serif); font-size: 13px; font-weight: 400; line-height: 1.15;
  color: var(--fg); letter-spacing: -0.01em;
}
.pv-ribbon__txt em { font-style: italic; color: rgba(236,233,228,0.55); font-size: 11px; }
.pv-ribbon__arrow {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 999px;
  background: #d6ac52; color: #1a1508;
}
.pv-phone {
  width: 272px; aspect-ratio: 9/19.2; position: relative;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 44px;
  box-shadow:
    0 50px 90px rgba(0,0,0,0.6),
    0 0 0 9px #17171b,
    0 0 0 10px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(214,172,82,0.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg) rotateZ(-2deg);
  transition: transform 700ms var(--ease-out);
  z-index: 3;
}
.pv-phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; background: #000;
  border-radius: 999px; z-index: 4;
}
.pv-screen {
  position: absolute; inset: 0;
  background:
    radial-gradient(220px 220px at 80% 12%, rgba(214,172,82,0.18), transparent 60%),
    radial-gradient(180px 180px at 10% 90%, rgba(217,74,110,0.10), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #0c0a08 100%);
  padding: 44px 20px 20px;
  color: #ece9e4; font-family: var(--sans); font-size: 11px;
  display: flex; flex-direction: column; gap: 12px;
}
.pv-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: #ece9e4; font-family: var(--mono);
  letter-spacing: 0.08em; font-weight: 500;
}
.pv-status__r { display: inline-flex; align-items: center; gap: 3px; }
.pv-status__r i { width: 3px; height: 3px; border-radius: 50%; background: #ece9e4; display: inline-block; }
.pv-status__r i:nth-child(2) { width: 14px; height: 8px; border-radius: 2px; background: transparent; border: 1px solid #ece9e4; position: relative; }
.pv-status__r i:nth-child(2)::after { content: ''; position: absolute; inset: 1px; width: 9px; background: #ece9e4; border-radius: 1px; }
.pv-status__r b { display: inline-block; width: 16px; height: 8px; border: 1px solid #ece9e4; border-radius: 2px; position: relative; margin-left: 2px; }
.pv-status__r b::after { content: ''; position: absolute; inset: 1.5px; width: 70%; background: #ece9e4; border-radius: 1px; }
.pv-hero { margin-top: 4px; }
.pv-hero .lbl {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em;
  color: #8a847a; text-transform: uppercase;
}
.pv-hero .val {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 38px; letter-spacing: -0.03em; color: #f0c96b;
  margin-top: 6px; line-height: 0.95;
  text-shadow: 0 2px 12px rgba(214,172,82,0.25);
}
.pv-hero .val .oz {
  font-size: 14px; font-style: normal; font-family: var(--mono);
  color: #a09c95; letter-spacing: 0.06em; margin-left: 2px;
  vertical-align: baseline;
}
.pv-hero .sub {
  font-size: 10px; margin-top: 6px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); letter-spacing: 0.04em;
}
.pv-hero .sub .up { color: #98c494; font-weight: 500; }
.pv-hero .sub .muted { color: #6a6660; }

.pv-chart { height: 74px; margin-top: 4px; position: relative; }
.pv-chart svg { width: 100%; height: 54px; display: block; }
.pv-chart__range {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em;
  color: #6a6660; text-transform: uppercase;
}
.pv-chart__range span { padding: 3px 6px; border-radius: 4px; }
.pv-chart__range .on { background: rgba(214,172,82,0.15); color: #d6ac52; }

.pv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 10.5px;
}
.pv-row .k {
  color: #6a6660; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pv-row .v {
  color: #ece9e4; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.pv-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.pv-dot--safe { background: #98c494; box-shadow: 0 0 0 3px rgba(152,196,148,0.15); }

.pv-cta {
  margin-top: auto;
  background: linear-gradient(180deg, #f0c96b, #d6ac52);
  color: #1a1508; padding: 13px; border-radius: 12px;
  text-align: center; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 18px rgba(214,172,82,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}

.featured__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.featured__meta > div {
  padding: 22px clamp(20px, 2.4vw, 28px);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.featured__meta > div:last-child { border-right: 0; }
.featured__meta .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-dim);
}
.featured__meta .v {
  font-family: var(--serif); font-size: 18px; color: var(--fg);
  margin-top: 6px; font-weight: 400; line-height: 1.3;
}
@media (max-width: 780px) {
  .featured__meta { grid-template-columns: repeat(2, 1fr); }
  .featured__meta > div { border-bottom: 1px solid var(--line); }
  .featured__meta > div:nth-last-child(-n+2) { border-bottom: 0; }
  .featured__meta > div:nth-child(2n) { border-right: 0; }
}

/* =========================================================
   3) WORK GRID  —  consistent anatomy, thoughtful placeholders
   ========================================================= */
.work-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.work-card {
  position: relative; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-900);
  cursor: pointer; display: flex; flex-direction: column;
  transition: transform 360ms var(--ease-out), border-color 260ms;
}
.work-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.work-card .visual {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-850);
}
.visual__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transition: transform 800ms var(--ease-out), filter 800ms var(--ease-out);
  filter: saturate(0.92) contrast(1.02);
}
.work-card:hover .visual__img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.02);
}
.visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(11,11,13,0.45) 100%);
  pointer-events: none;
}
.visual__label {
  position: absolute; left: 14px; bottom: 12px;
  z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(11,11,13,0.35);
  backdrop-filter: blur(6px);
}
.work-card .body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.work-card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-card .tags .t {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted);
  padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 999px;
  line-height: 1;
}
.work-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 2px 0 0; color: var(--fg);
}
.work-card h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
.work-card p {
  margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.5;
  max-width: 48ch;
}
.work-card .year {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--fg-muted);
  padding: 5px 9px; background: rgba(0,0,0,0.5); border-radius: 999px;
  backdrop-filter: blur(6px);
}
[data-theme="light"] .work-card .year {
  background: rgba(255,255,255,0.7); color: var(--fg);
}

.work-card--wide  { grid-column: span 8; }
.work-card--third { grid-column: span 4; }
.work-card--half  { grid-column: span 6; }
.work-card--soft  {
  background: transparent;
  border-style: dashed; border-color: var(--line-mid);
}
.work-card--soft:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.work-card--soft .visual { border-bottom: 1px dashed var(--line-mid); }

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work-card--wide, .work-card--third, .work-card--half { grid-column: span 6; }
}

/* visual placeholders */
.viz-placeholder {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.viz-placeholder .glyph {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(120px, 14vw, 200px); line-height: 1;
  font-weight: 300; letter-spacing: -0.04em;
}
.viz-placeholder .soon {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(0,0,0,0.25); backdrop-filter: blur(6px);
}
.viz-placeholder .sub {
  position: absolute; left: 20px; bottom: 18px;
  font-family: var(--serif); font-style: italic; font-size: 18px;
  font-weight: 300; color: var(--fg);
  max-width: 60%;
}
.viz-stripes {
  position: absolute; inset: 0; opacity: 0.10;
  background-image: repeating-linear-gradient(
    45deg, currentColor 0 1px, transparent 1px 10px
  );
}

/* Featured visuals per brand */
.viz-gold {
  background:
    radial-gradient(500px 300px at 70% 50%, rgba(214,172,82,0.28), transparent 60%),
    linear-gradient(135deg, #1a1308, #0f0b05);
}
.viz-gold .glyph { color: #d6ac52; opacity: 0.45; }
.viz-estate {
  background: linear-gradient(135deg, #3a2f22, #1c1814);
}
.viz-estate .glyph { color: #e4c98a; opacity: 0.55; }
.viz-bazaar {
  background: linear-gradient(135deg, #2a1620, #140a10);
}
.viz-bazaar .glyph { color: var(--accent); opacity: 0.55; }
.viz-pod {
  background: linear-gradient(135deg, #121a24, #080d13);
}
.viz-pod .glyph { color: #7ab6e8; opacity: 0.50; }

/* ===== Harmony Hour cover — vinyl sleeve + polaroid ===== */
.viz-hh-cover {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(184,58,46,0.16), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(199,138,44,0.14), transparent 60%),
    linear-gradient(160deg, #1a1410 0%, #0b0805 55%, #14100b 100%);
}
.viz-hh-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(242,236,224,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}
.hhc__sleeve {
  position: absolute; left: 14%; top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: 42%; aspect-ratio: 1;
  padding: 14px;
  background: #1a1612;
  border: 1px solid rgba(26,22,18,0.5);
  box-shadow: 0 18px 28px -10px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.1);
  display: flex; flex-direction: column;
  color: #f2ece0;
  z-index: 2;
  overflow: hidden;
}
.hhc__sleeve-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  z-index: 0;
}
.hhc__sleeve-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.35), transparent 40%, transparent 60%, rgba(0,0,0,0.2));
  z-index: 0;
}
.hhc__sleeve > * { position: relative; z-index: 1; }
.hhc__sleeve::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid rgba(242,236,224,0.2);
  pointer-events: none;
  z-index: 1;
}
.hhc__sleeve-top {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(242,236,224,0.75);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hhc__sleeve-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 0.95; margin-top: auto;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hhc__sleeve-title em { font-style: italic; color: #f0c96b; }
.hhc__sleeve-sub {
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(242,236,224,0.7);
  margin-top: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hhc__sleeve-foot {
  margin-top: 10px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(242,236,224,0.6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hhc__sleeve-stamp {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px dashed rgba(242,236,224,0.55);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 8px;
  color: rgba(242,236,224,0.8);
  transform: rotate(-8deg);
  background: rgba(0,0,0,0.25);
}
.hhc__disc {
  position: absolute; right: -6%; top: 50%;
  transform: translateY(-50%);
  width: 56%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #b83a2e 0 15%, #1a1612 15.5% 16%, #1a1612 17% 21%, rgba(255,255,255,0.04) 21.5% 22%, transparent 22%),
    repeating-radial-gradient(circle at 50% 50%, #0d0b09 0 1px, #1a1612 1px 3px);
  box-shadow: 0 16px 26px -10px rgba(0,0,0,0.5);
  z-index: 1;
  animation: hhcSpin 28s linear infinite;
}
.hhc__disc::after {
  content: ""; position: absolute; inset: 48%;
  border-radius: 50%; background: #0a0805;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
@keyframes hhcSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* Mini polaroid */
.hhc__polaroid {
  position: absolute; right: 8%; bottom: 10%;
  width: 34%; padding: 6px 6px 22px;
  background: #fbf7ed;
  border: 1px solid rgba(26,22,18,0.25);
  box-shadow: 0 14px 22px -10px rgba(0,0,0,0.55);
  transform: rotate(5deg);
  z-index: 3;
}
.hhc__polaroid::before {
  content: ""; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 36px; height: 10px;
  background: rgba(255,220,150,0.55);
  border: 1px solid rgba(184,140,50,0.25);
}
.hhc__polaroid-photo {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(145deg, #2a2420, #0e0a08);
  display: grid; place-items: center;
  overflow: hidden;
}
.hhc__polaroid-dot {
  position: absolute; top: 4px; right: 4px;
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.14em;
  color: #b83a2e; text-transform: uppercase;
  background: rgba(251,247,237,0.9);
  padding: 1px 4px; border-radius: 1px;
}
.hhc__polaroid-dot i {
  width: 3px; height: 3px; border-radius: 50%; background: #b83a2e;
  animation: hhcRec 1.4s ease-in-out infinite;
}
@keyframes hhcRec { 0%,100%{opacity:1} 50%{opacity:0.35} }
.hhc__polaroid-initial {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 48px; color: #c78a2c; line-height: 1;
  letter-spacing: -0.03em;
}
.hhc__polaroid-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hhc__polaroid-hand {
  position: absolute; left: 6px; right: 6px; bottom: 4px;
  font-family: "Caveat", cursive; font-size: 13px;
  color: #4a423a; text-align: center;
  transform: rotate(-1.5deg);
}
.hhc__polaroid-hand b { color: #b83a2e; font-weight: 600; }

/* Corner markers */
.hhc__kicker {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #d6c9a8;
  padding: 4px 8px; border: 1px solid rgba(214,201,168,0.25);
  border-radius: 999px;
  background: rgba(14,10,6,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 4;
}
.hhc__mark {
  position: absolute; left: 16px; bottom: 14px;
  display: flex; align-items: baseline; gap: 10px;
  z-index: 4;
}
.hhc__mark-n {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 40px; line-height: 0.9; letter-spacing: -0.04em;
  color: rgba(214,201,168,0.65);
}
.hhc__mark-t {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(236,233,228,0.65);
  border-left: 1px solid rgba(214,201,168,0.25);
  padding-left: 10px;
}
.viz-ops {
  background: linear-gradient(135deg, #1a2015, #0a0e08);
}
.viz-ops .glyph { color: #9bc279; opacity: 0.55; }
.viz-siply {
  background: linear-gradient(135deg, #1f1a2e, #0c0a14);
}
.viz-siply .glyph { color: #b39cff; opacity: 0.55; }

/* ===== Siply Rewards cover — tiny live app surface ===== */
.viz-siply-cover {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(214,172,82,0.22), transparent 60%),
    radial-gradient(50% 40% at 10% 100%, rgba(179,156,255,0.12), transparent 65%),
    linear-gradient(165deg, #181022 0%, #0b070f 55%, #120a1a 100%);
}
.sic__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(30% 30% at 70% 55%, rgba(240,201,107,0.14), transparent 70%);
  pointer-events: none;
}
.sic__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(214,172,82,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,172,82,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 70%);
  pointer-events: none;
}

/* Phone */
.sic__phone {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%) perspective(1000px) rotateY(-10deg) rotateX(4deg) rotateZ(-2deg);
  width: 52%; max-width: 200px; aspect-ratio: 9/19.2;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow:
    0 30px 50px -10px rgba(0,0,0,0.55),
    0 0 0 5px #17171b,
    0 0 0 6px rgba(214,172,82,0.08);
  overflow: hidden;
}
.sic__notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 12px; background: #000; border-radius: 999px; z-index: 2;
}
.sic__screen {
  position: absolute; inset: 0;
  padding: 22px 10px 10px;
  display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(120px 120px at 80% 8%, rgba(214,172,82,0.18), transparent 60%),
    linear-gradient(180deg, #0a0810 0%, #080508 100%);
  color: #ece9e4;
}
.sic__status {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em;
  color: #ece9e4; font-weight: 500;
}
.sic__sig { display: inline-flex; gap: 1.5px; }
.sic__sig i { width: 2px; height: 5px; background: #ece9e4; border-radius: 0.5px; display: inline-block; }
.sic__sig i:nth-child(1) { height: 3px; }
.sic__sig i:nth-child(2) { height: 4px; }

.sic__tabs {
  display: flex; gap: 2px; padding: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sic__tabs span {
  flex: 1; padding: 4px 0; text-align: center;
  color: rgba(236,233,228,0.4); border-radius: 6px;
}
.sic__tabs .on {
  background: rgba(214,172,82,0.18); color: #f0c96b;
}

.sic__hero { margin-top: 2px; }
.sic__hero-lbl {
  font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.16em;
  color: #8a847a; text-transform: uppercase;
}
.sic__hero-val {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 26px; letter-spacing: -0.03em; color: #f0c96b;
  margin-top: 2px; line-height: 0.95;
}
.sic__hero-val em {
  font-family: var(--mono); font-style: normal; font-size: 10px;
  color: #a09c95; letter-spacing: 0.08em; margin-left: 1px;
  vertical-align: baseline;
}
.sic__hero-sub {
  display: flex; gap: 6px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.08em;
  margin-top: 3px; color: #6a6660; text-transform: uppercase;
}
.sic__hero-sub .up { color: #98c494; font-weight: 500; }

.sic__streak-card {
  margin-top: 4px; padding: 7px 8px;
  background: rgba(214,172,82,0.06);
  border: 1px solid rgba(214,172,82,0.2);
  border-radius: 8px;
}
.sic__streak-hd {
  display: flex; align-items: center; gap: 5px;
}
.sic__flame { width: 11px; height: 11px; display: inline-block; }
.sic__flame svg { width: 100%; height: 100%; }
.sic__streak-t {
  font-family: var(--serif); font-style: italic; font-size: 10px;
  color: #ece9e4; flex: 1;
}
.sic__streak-tail {
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.12em;
  color: rgba(152,196,148,0.9); text-transform: uppercase;
}
.sic__dots {
  display: flex; gap: 3px; margin: 5px 0 3px;
}
.sic__dots i {
  flex: 1; height: 3px; background: rgba(255,255,255,0.08); border-radius: 1px;
}
.sic__dots i.on { background: linear-gradient(90deg, #d6ac52, #f0c96b); }
.sic__streak-foot {
  font-family: var(--mono); font-size: 5.5px; letter-spacing: 0.1em;
  color: rgba(236,233,228,0.35); text-transform: uppercase;
}

.sic__row {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 7px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}
.sic__row--alt { background: rgba(240,201,107,0.04); border-color: rgba(240,201,107,0.15); }
.sic__row-ic {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(214,172,82,0.14);
  display: grid; place-items: center; flex-shrink: 0;
}
.sic__row-ic--alt { background: rgba(240,201,107,0.18); }
.sic__row-ic svg { width: 12px; height: 12px; }
.sic__row-body { flex: 1; min-width: 0; }
.sic__row-t {
  font-family: var(--serif); font-size: 9px; color: #ece9e4; line-height: 1.1;
}
.sic__row-s {
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.08em;
  color: #6a6660; text-transform: uppercase; margin-top: 1.5px;
}
.sic__row-cta {
  font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #1a1508;
  background: linear-gradient(180deg, #f0c96b, #d6ac52);
  padding: 4px 7px; border-radius: 6px; font-weight: 600;
}
.sic__row-badge {
  font-family: var(--mono); font-size: 6px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #98c494;
  padding: 3px 6px; border: 1px solid rgba(152,196,148,0.3); border-radius: 999px;
}

/* Floating reward chip */
.sic__chip {
  position: absolute; left: 18px; top: 46%;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 6px;
  background: linear-gradient(180deg, #f0c96b, #d6ac52);
  color: #1a1508; border-radius: 999px;
  box-shadow: 0 12px 22px rgba(214,172,82,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: rotate(-4deg);
  animation: sicChipFloat 5s ease-in-out infinite;
  z-index: 3;
}
@keyframes sicChipFloat {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50%     { transform: rotate(-4deg) translateY(-4px); }
}
.sic__chip-ic {
  width: 18px; height: 18px; border-radius: 50%;
  background: #1a1508; display: grid; place-items: center;
}
.sic__chip-ic svg { width: 11px; height: 11px; }
.sic__chip-ic svg path { fill: #f0c96b; }
.sic__chip-t {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 13px; letter-spacing: -0.01em;
}
.sic__chip-t em {
  font-family: var(--mono); font-style: normal; font-size: 7px;
  letter-spacing: 0.14em; text-transform: uppercase; display: block; opacity: 0.7;
  margin-top: -1px;
}

/* Corner markers */
.sic__kicker {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(214,172,82,0.85);
  padding: 4px 8px; border: 1px solid rgba(214,172,82,0.25);
  border-radius: 999px;
  background: rgba(14,10,6,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 3;
}
.sic__mark {
  position: absolute; left: 16px; bottom: 14px;
  display: flex; align-items: baseline; gap: 10px;
  z-index: 3;
}
.sic__mark-n {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 40px; line-height: 0.9; letter-spacing: -0.04em;
  color: rgba(214,172,82,0.55);
}
.sic__mark-t {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(236,233,228,0.65);
  border-left: 1px solid rgba(214,172,82,0.25);
  padding-left: 10px;
}
.viz-fabindia {
  background: linear-gradient(135deg, #2a1510, #0f0806);
}
.viz-fabindia .glyph { color: #d97755; opacity: 0.60; }

/* ========================================================
   FABINDIA — crafted cover (appears on the #work grid)
   dark, textile-inspired: madder ground + block-print motifs
   + a cream paper label slip
   ======================================================== */
.viz-fabindia-cover {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, #6a2716 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, #3a140a 0%, transparent 60%),
    linear-gradient(135deg, #5a1f12 0%, #2a0f08 100%);
  overflow: hidden;
}
/* warp + weft — subtle woven texture */
.viz-fabindia-cover .fic__weft {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 3px,
      rgba(245,239,227,0.045) 3px, rgba(245,239,227,0.045) 4px),
    repeating-linear-gradient(0deg,
      transparent 0, transparent 3px,
      rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px);
  mix-blend-mode: overlay;
  opacity: 0.9;
}
/* block-print stamp cluster */
.viz-fabindia-cover .fic__stamps {
  position: absolute; inset: 0; pointer-events: none;
}
.viz-fabindia-cover .stamp {
  position: absolute;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1.5px rgba(245,239,227,0.35),
    inset 0 0 0 6px transparent,
    inset 0 0 0 7.5px rgba(245,239,227,0.18);
  background:
    radial-gradient(circle at 50% 50%,
      rgba(245,239,227,0.3) 0,
      rgba(245,239,227,0.3) 22%,
      transparent 24%,
      transparent 44%,
      rgba(245,239,227,0.2) 46%,
      rgba(245,239,227,0.2) 52%,
      transparent 54%);
}
.viz-fabindia-cover .stamp.s1 { width: 56px; height: 56px; top: 14%; left: 8%;  opacity: 0.8; }
.viz-fabindia-cover .stamp.s2 { width: 36px; height: 36px; top: 18%; right: 18%; opacity: 0.55;
  background: radial-gradient(circle, rgba(197,138,36,0.55) 0, rgba(197,138,36,0.55) 40%, transparent 42%);
  box-shadow: inset 0 0 0 1.2px rgba(197,138,36,0.7);
}
.viz-fabindia-cover .stamp.s3 { width: 72px; height: 72px; bottom: 10%; right: 8%; opacity: 0.7; }
.viz-fabindia-cover .stamp.s4 { width: 28px; height: 28px; top: 55%; left: 26%; opacity: 0.7;
  background: radial-gradient(circle, rgba(30,58,95,0.7) 0, rgba(30,58,95,0.7) 50%, transparent 52%);
  box-shadow: inset 0 0 0 1.2px rgba(30,58,95,0.9);
}
.viz-fabindia-cover .stamp.s5 { width: 20px; height: 20px; bottom: 32%; left: 12%; opacity: 0.6; }
.viz-fabindia-cover .stamp.s6 { width: 44px; height: 44px; top: 8%; right: 38%; opacity: 0.45; }

/* paper label slip — like a khadi tag sewn onto the fabric */
.viz-fabindia-cover .fic__slip {
  position: absolute;
  left: 24px; top: 50%; transform: translateY(-50%);
  width: 58%; max-width: 260px;
  background: #f1e8d2;
  border-radius: 4px;
  padding: 16px 18px 18px;
  box-shadow:
    0 14px 30px -10px rgba(0,0,0,0.5),
    0 2px 0 rgba(0,0,0,0.1),
    inset 0 0 0 1px rgba(28,24,20,0.08);
  /* dashed border inside */
  background-image:
    linear-gradient(#f1e8d2, #f1e8d2),
    repeating-linear-gradient(90deg, rgba(162,53,35,0.45) 0 4px, transparent 4px 8px);
  background-clip: padding-box, padding-box;
  transform-origin: left center;
  transform: translateY(-50%) rotate(-1.2deg);
}
.viz-fabindia-cover .fic__slip::before {
  /* pin */
  content: ""; position: absolute; top: -3px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #c2411e;
  box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.viz-fabindia-cover .fic__slip::after {
  /* inner dashed rule */
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(162,53,35,0.4); border-radius: 2px;
  pointer-events: none;
}
.viz-fabindia-cover .fic__kicker {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #a23523;
  margin-bottom: 8px; position: relative;
}
.viz-fabindia-cover .fic__brand {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 34px; line-height: 1; color: #1c1814;
  letter-spacing: -0.02em; position: relative;
}
.viz-fabindia-cover .fic__meta {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #5c4a38;
  margin-top: 10px; position: relative;
}
/* weaver tag pill — bottom-right */
.viz-fabindia-cover .fic__tag {
  position: absolute; right: 18px; bottom: 46px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  background: rgba(245,239,227,0.92);
  border-radius: 999px;
  font-family: var(--serif); font-style: italic; font-size: 12px;
  color: #1c1814;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.35);
  max-width: 150px; line-height: 1.2;
}
.viz-fabindia-cover .fic__tag em { font-style: italic; color: #a23523; font-weight: 400; }
.viz-fabindia-cover .fic__tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #a23523;
  flex-shrink: 0;
}

/* =========================================================
   4) ABOUT
   ========================================================= */
.about {
  display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: var(--sp-7); }
}

.about__side {
  display: flex; flex-direction: column; gap: var(--sp-5);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.about__portrait {
  aspect-ratio: 4 / 5;
  max-width: 280px;
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.about__quick {
  display: flex; flex-direction: column;
  max-width: 280px;
  border-top: 1px solid var(--line);
}
.about__quick .q {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.about__quick .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-dim);
}
.about__quick .v { color: var(--fg); text-align: right; }

/* CTA: Read my full journey — sits below portrait + quick-facts */
.about__journey-cta {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  color: var(--fg); text-decoration: none;
  background: transparent;
  max-width: 320px;
  transition: background 240ms, border-color 240ms, transform 240ms var(--ease-out);
}
.about__journey-cta:hover {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
  transform: translateY(-1px);
}
.about__journey-cta .ajcta__icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  flex-shrink: 0;
}
.about__journey-cta:hover .ajcta__icon { background: var(--bg); color: var(--fg); }
.about__journey-cta .ajcta__body {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.about__journey-cta .ajcta__txt {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 18px; letter-spacing: -0.01em; line-height: 1.1;
}
.about__journey-cta .ajcta__meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-muted);
}
.about__journey-cta:hover .ajcta__meta { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) {
  .about__side {
    position: relative; top: auto;
    flex-direction: row; gap: var(--sp-5); align-items: flex-start;
    flex-wrap: wrap;
  }
  .about__portrait { max-width: 240px; }
  .about__quick { flex: 1; min-width: 220px; }
}
.about__aside {
  font-family: var(--serif) !important; font-style: italic;
  color: var(--fg-muted) !important;
  margin-top: var(--sp-5) !important;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 16px !important;
}

/* ===== JOURNEY TIMELINE ===== */
.journey {
  margin-top: var(--sp-9);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--line);
}
.journey__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: var(--sp-5);
  display: flex; align-items: center; gap: 12px;
}
.journey__head .journey__label::after { display: none; }
/* head row — label + "read my journey" CTA */
.journey__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.journey__head .journey__label { margin-bottom: 0; }
.journey__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--fg); text-decoration: none;
  transition: background 240ms, border-color 240ms, transform 240ms var(--ease-out);
  background: transparent;
}
.journey__cta:hover {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
  transform: translateY(-1px);
}
.journey__cta .jcta__icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  flex-shrink: 0;
}
.journey__cta:hover .jcta__icon {
  background: var(--bg); color: var(--fg);
}
.journey__cta .jcta__txt {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 17px; letter-spacing: -0.01em;
  line-height: 1;
}
.journey__cta .jcta__meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-muted);
  padding-left: 10px; border-left: 1px solid var(--line);
}
.journey__cta:hover .jcta__meta { color: var(--bg); border-left-color: rgba(255,255,255,0.3); }

@media (max-width: 760px) {
  .journey__cta .jcta__meta { display: none; }
}
.journey__label::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
}
.journey__label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.journey__scroll {
  position: relative;
  overflow-x: auto; overflow-y: hidden;
  padding-bottom: 20px;
  scrollbar-width: thin;
}
.journey__scroll::-webkit-scrollbar { height: 6px; }
.journey__scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.journey__path {
  position: absolute; inset: 40px 0 auto 0; height: 80px;
  pointer-events: none; color: var(--accent); opacity: 0.55;
  min-width: 1400px;
}
.journey__path svg { width: 100%; height: 100%; display: block; }
.journey__stops {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 8px;
  min-width: 1400px;
  position: relative;
  z-index: 1;
}
.stop {
  display: flex; flex-direction: column; gap: 6px;
  padding: 90px 16px 16px;
  position: relative;
  border-radius: var(--r-md);
  transition: background 240ms var(--ease-out);
}
.stop:hover { background: rgba(255,255,255,0.02); }
[data-theme="light"] .stop:hover { background: rgba(0,0,0,0.02); }
.stop__dot {
  position: absolute; top: 40px; left: 50%; transform: translate(-50%, 20px);
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--ink-1000);
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent);
  z-index: 2;
  transition: transform 260ms var(--ease-out), background 260ms;
}
.stop:hover .stop__dot { transform: translate(-50%, 20px) scale(1.08); }
.stop__dot::before {
  content: ""; width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent); opacity: 0;
  transition: opacity 260ms;
}
.stop--now .stop__dot { background: var(--accent); border-color: var(--accent); }
.stop--now .stop__dot::before { opacity: 1; background: var(--accent-ink); }
.stop__dot[data-icon="book"]::after  { content: "📖"; font-size: 14px; }
.stop__dot[data-icon="spark"]::after { content: "✦"; font-size: 16px; line-height: 1; }
.stop__dot[data-icon="fin"]::after   { content: "₹"; font-family: var(--serif); font-size: 16px; font-weight: 500; }
.stop__dot[data-icon="chain"]::after { content: "◆"; font-size: 12px; }
.stop__dot[data-icon="mic"]::after   { content: "🎙"; font-size: 12px; }
.stop__dot[data-icon="star"]::after  { content: "★"; color: var(--accent-ink); font-size: 14px; }
.stop__dot[data-icon="book"]::after,
.stop__dot[data-icon="mic"]::after   { filter: grayscale(0.1); }
.stop__dot::after { z-index: 3; }

.stop__year {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
}
.stop__place {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--fg-dim); text-transform: uppercase;
}
.stop__title {
  font-family: var(--serif); font-weight: 400;
  font-size: 17px; line-height: 1.25;
  color: var(--fg); letter-spacing: -0.01em;
}
.stop__title em { font-style: italic; color: var(--accent); font-weight: 300; }
.stop__note {
  font-size: 13px; line-height: 1.5; color: var(--fg-muted);
  max-width: 32ch;
}
.stop--now .stop__title { color: var(--accent); }

/* old facts grid kept in case used elsewhere — no-op here */
.about__facts { display: none; }
.portrait__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 900ms var(--ease-out);
}
.about__portrait:hover .portrait__img { transform: scale(1.03); }
.about__portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,0.0) 50%, rgba(10,10,12,0.55) 100%);
  z-index: 1;
}
.about__portrait .tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: #fff; background: rgba(10,10,12,0.5);
  backdrop-filter: blur(10px);
}

.about__copy h2 {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05;
  margin: 0 0 var(--sp-5); text-wrap: balance;
}
.about__copy h2 em { font-style: italic; color: var(--accent); }
.about__copy p {
  font-family: var(--serif); font-size: 17px; line-height: 1.65;
  color: var(--fg); margin: 0 0 var(--sp-4);
  max-width: 58ch;
}
.about__copy p + p { color: var(--fg-muted); }
.about__copy p strong { color: var(--fg); font-weight: 500; }

.about__facts {
  margin-top: var(--sp-7);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.about__facts .f {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.about__facts .f:nth-child(odd)  { padding-right: 24px; border-right: 1px solid var(--line); }
.about__facts .f:nth-child(even) { padding-left: 24px; }
.about__facts .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-dim);
}
.about__facts .v {
  font-family: var(--serif); font-size: 18px; color: var(--fg);
  margin-top: 6px; line-height: 1.3;
}

/* Skills — grouped for clarity */
.skills { margin-top: var(--sp-7); }
.skills__group + .skills__group { margin-top: var(--sp-5); }
.skills__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: var(--sp-3);
  display: flex; align-items: center; gap: 10px;
}
.skills__label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.skills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill {
  padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--fg); background: var(--ink-900);
  transition: all 200ms var(--ease-out);
  line-height: 1;
}
.skill:hover { border-color: var(--accent); color: var(--accent); }
.skill.primary {
  background: rgba(217,74,110,0.12);
  color: var(--accent);
  border-color: rgba(217,74,110,0.40);
}
[data-theme="light"] .skill.primary {
  background: rgba(155,38,72,0.10);
  border-color: rgba(155,38,72,0.35);
  color: var(--accent);
}

/* =========================================================
   5) PROCESS  —  compact, consistent cards, no text clipping
   ========================================================= */
.process {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1100px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .process { grid-template-columns: 1fr; } }

.process__step {
  padding: var(--sp-6) var(--sp-5);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--sp-4);
  min-height: 340px; position: relative;
  min-width: 0;
}
.process__step:last-child { border-right: 0; }
@media (max-width: 1100px) {
  .process__step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 260px; }
  .process__step:nth-child(2n) { border-right: 0; }
  .process__step:nth-last-child(-n+2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .process__step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step:last-child { border-bottom: 0; }
}

.process__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
}
.process__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 1.9vw, 26px); letter-spacing: -0.02em;
  color: var(--fg); margin: 0; line-height: 1.15;
  text-wrap: balance;
}
.process__title em { font-style: italic; color: var(--accent); }
.process__copy {
  font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0;
}
.process__deliverables {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--fg-dim); text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.process__deliverables span { position: relative; }
.process__deliverables span + span::before {
  content: "·"; margin-right: 10px; color: var(--line-strong);
}

/* =========================================================
   6) EXPERIENCE
   ========================================================= */
.resume {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 900px) { .resume { grid-template-columns: 1fr; } }

.resume__aside {
  position: sticky; top: calc(var(--nav-h) + 24px);
  align-self: start;
  display: flex; flex-direction: column; gap: var(--sp-5);
}
.resume__aside p {
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  color: var(--fg-muted); max-width: 34ch; margin: 0;
}
.resume__download {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg);
  align-self: flex-start;
  transition: all 220ms;
}
.resume__download:hover { border-color: var(--accent); color: var(--accent); }

.resume__timeline { display: flex; flex-direction: column; }

.resume__group-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-dim);
  padding: var(--sp-5) 0 var(--sp-4);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.resume__group-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.resume__group-label:first-child { border-top: 0; padding-top: 0; }

.job {
  display: grid; grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line);
}
.resume__group-label + .job { border-top: 0; padding-top: var(--sp-3); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job__years {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-muted);
  line-height: 1.5;
  padding-top: 6px;
  white-space: nowrap;
}
.job__role {
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px);
  font-weight: 300; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0; text-wrap: balance;
}
.job__role em { font-style: italic; color: var(--accent); }
.job__co {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--fg-muted); text-transform: uppercase; margin-top: 6px;
}
.job__desc {
  color: var(--fg-muted); margin: var(--sp-4) 0 0;
  font-size: 15px; line-height: 1.6; max-width: 60ch;
}
.job__desc strong { color: var(--fg); font-weight: 500; }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); }
.job__tags .t {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--fg-dim); text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px;
  line-height: 1;
}

@media (max-width: 680px) {
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job__years { padding-top: 0; }
}

/* =========================================================
   7) CONTACT
   ========================================================= */
.contact {
  text-align: center;
  padding: var(--sp-10) var(--gutter) var(--sp-9);
  max-width: 1100px; margin: 0 auto; position: relative;
  overflow: hidden;
}
.contact__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: var(--sp-5);
}
.contact__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.045em;
  font-size: clamp(48px, 8vw, 128px); line-height: 0.94; margin: 0 auto;
  color: var(--fg); text-wrap: balance;
}
.contact__title em { font-style: italic; color: var(--accent); }
.contact__lede {
  font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55;
  color: var(--fg-muted); max-width: 52ch;
  margin: var(--sp-6) auto 0;
}
.contact__cta {
  margin-top: var(--sp-7);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px;
  transition: all 280ms var(--ease-out);
  box-shadow: 0 16px 40px -14px rgba(217,74,110,0.55);
}
.contact__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -12px rgba(217,74,110,0.65);
}
.contact__alt {
  margin-top: var(--sp-5);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-muted);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px;
}
.contact__alt a {
  color: var(--fg); border-bottom: 1px solid var(--fg-muted); padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
}
.contact__alt a:hover { color: var(--accent); border-color: var(--accent); }
.contact__alt .divider { color: var(--fg-dim); }

/* giant ghost word behind contact */
.contact__ghost {
  position: absolute; left: 50%; bottom: -5vw; transform: translateX(-50%);
  z-index: -1;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(160px, 24vw, 440px); line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  pointer-events: none; letter-spacing: -0.04em;
  white-space: nowrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-8) var(--gutter) var(--sp-5);
  max-width: var(--max); margin: 0 auto;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(280px, 2.2fr) 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.footer__wordmark {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 300;
  letter-spacing: -0.03em; line-height: 1;
}
.footer__meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--fg-muted); margin-top: var(--sp-4);
}
.footer__col { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-dim);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px; color: var(--fg);
  transition: color 200ms; line-height: 1.5;
}
.footer__col a:hover { color: var(--accent); }
.footer__base {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-dim);
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .footer__base { flex-direction: column; gap: 10px; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   AI-era additions — hero stat tuning, AI skill chips
   ============================================ */
.hero__stat .num em {
  font-style: normal; color: var(--accent, #c9a24a); margin: 0 2px;
  font-family: var(--mono); font-size: 0.68em; vertical-align: 0.12em;
}
.hero__stat:nth-child(2) .num,
.hero__stat:nth-child(3) .num {
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  font-weight: 400;
  font-family: var(--mono);
  text-transform: uppercase;
}
.hero__stat .num { text-wrap: nowrap; }

/* AI-stack group — soft gold accent */
.skills__group--ai .skills__label { color: var(--accent, #c9a24a); }
.skills__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, #c9a24a);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent, #c9a24a) 22%, transparent);
  animation: skills-pulse 2.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes skills-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent, #c9a24a) 22%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent, #c9a24a) 6%, transparent); }
}
.skill--ai {
  background: color-mix(in oklch, var(--accent, #c9a24a) 6%, var(--ink-900));
  border-color: color-mix(in oklch, var(--accent, #c9a24a) 28%, var(--line));
  color: var(--fg);
  position: relative;
}
.skill--ai::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent, #c9a24a);
  display: inline-block;
  margin-right: 8px; vertical-align: 0.12em;
  opacity: 0.85;
}
.skill--ai:hover {
  border-color: var(--accent, #c9a24a);
  background: color-mix(in oklch, var(--accent, #c9a24a) 12%, var(--ink-900));
}

/* Portrait — slightly wider so face reads bigger at reasonable viewport */
.about__portrait { max-width: 300px; }
@media (min-width: 1280px) { .about__portrait { max-width: 340px; } }

/* ========================================================
   TRANSAK — Web3 on-ramp cover (work grid · half card)
   dark cobalt surface · embedded widget · partner chip
   ======================================================== */
.viz-tk-cover {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% -10%, rgba(20,97,219,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 110%, rgba(75,225,180,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #11142b 0%, #07091a 100%);
  overflow: hidden;
}
.viz-tk-cover .tkc__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.30;
  background-image:
    linear-gradient(rgba(120,150,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
}
.viz-tk-cover .tkc__glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(40px);
}
.viz-tk-cover .tkc__glow--a {
  width: 240px; height: 240px; top: -60px; right: -40px;
  background: radial-gradient(circle, rgba(20,97,219,0.55), transparent 70%);
}
.viz-tk-cover .tkc__glow--b {
  width: 220px; height: 220px; bottom: -80px; left: -40px;
  background: radial-gradient(circle, rgba(75,225,180,0.18), transparent 70%);
}

/* partner shell — thin chrome behind the widget so it reads as "embedded" */
.viz-tk-cover .tkc__shell {
  position: absolute; inset: 22px 22px 28px;
  border: 1px solid rgba(120,150,255,0.16);
  border-radius: 16px;
  background: rgba(10,13,32,0.45);
  backdrop-filter: blur(2px);
}
.viz-tk-cover .tkc__shell-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-bottom: 1px solid rgba(120,150,255,0.10);
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9px; letter-spacing: 0.16em; color: rgba(180,195,240,0.55);
  text-transform: uppercase;
}
.viz-tk-cover .tkc__shell-dots { display: inline-flex; gap: 4px; }
.viz-tk-cover .tkc__shell-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(120,150,255,0.22);
}
.viz-tk-cover .tkc__shell-url {
  background: rgba(20,30,60,0.6); padding: 4px 9px; border-radius: 5px;
  color: rgba(184,204,255,0.75); letter-spacing: 0.10em;
}

/* THE WIDGET — centered, slightly tilted */
.viz-tk-cover .tkc__wdg {
  position: absolute; top: 50%; left: 50%;
  width: 220px;
  transform: translate(-50%, -50%) rotate(-2deg);
  background: #0e1430;
  border: 1px solid rgba(120,150,255,0.28);
  border-radius: 14px;
  box-shadow:
    0 30px 60px -16px rgba(0,0,0,0.65),
    0 0 0 1px rgba(20,97,219,0.18),
    0 0 60px -20px rgba(20,97,219,0.55);
  overflow: hidden;
  font-family: 'Inter', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  z-index: 2;
}
.viz-tk-cover .tkc__wdg-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 11px;
  border-bottom: 1px solid rgba(120,150,255,0.10);
}
.viz-tk-cover .tkc__wdg-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 11px; color: #fff; letter-spacing: -0.01em;
}
.viz-tk-cover .tkc__wdg-lg {
  font-style: normal; font-weight: 800; font-size: 9px;
  width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, #1461db, #0e4cb1);
  display: inline-grid; place-items: center; color: #fff;
}
.viz-tk-cover .tkc__wdg-x {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(120,150,255,0.18);
  display: grid; place-items: center;
  color: rgba(184,204,255,0.7); font-size: 11px; line-height: 1;
}
.viz-tk-cover .tkc__wdg-tabs {
  display: flex; padding: 0 11px;
  border-bottom: 1px solid rgba(120,150,255,0.10);
}
.viz-tk-cover .tkc__wdg-tabs span {
  padding: 8px 0; margin-right: 14px;
  font-size: 10px; font-weight: 600;
  color: rgba(184,204,255,0.55); letter-spacing: -0.01em;
  position: relative;
}
.viz-tk-cover .tkc__wdg-tabs span.on { color: #fff; }
.viz-tk-cover .tkc__wdg-tabs span.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1.5px; background: #b8ccff; border-radius: 2px;
}
.viz-tk-cover .tkc__wdg-body {
  padding: 10px 11px; display: flex; flex-direction: column; gap: 6px;
}
.viz-tk-cover .tkc__wdg-lbl {
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 7.5px; letter-spacing: 0.16em;
  color: rgba(120,150,255,0.55);
  text-transform: uppercase;
}
.viz-tk-cover .tkc__wdg-amt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  background: #161b3a; border-radius: 9px;
  border: 1px solid rgba(120,150,255,0.10);
}
.viz-tk-cover .tkc__wdg-v {
  font-weight: 700; font-size: 17px; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
}
.viz-tk-cover .tkc__wdg-v small {
  font-size: 9px; color: rgba(184,204,255,0.5);
  font-weight: 600; margin-left: 2px;
}
.viz-tk-cover .tkc__wdg-v--blue { color: #b8ccff; }
.viz-tk-cover .tkc__wdg-pl {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 7px; background: #1a2046;
  border-radius: 999px; border: 1px solid rgba(120,150,255,0.16);
  font-size: 9.5px; font-weight: 600; color: #fff; letter-spacing: -0.01em;
}
.viz-tk-cover .tkc__wdg-fg, .viz-tk-cover .tkc__wdg-eg {
  font-style: normal; width: 12px; height: 12px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 8px; font-weight: 800; color: #fff;
}
.viz-tk-cover .tkc__wdg-fg {
  background: linear-gradient(180deg, #ff7a45, #ffb547);
}
.viz-tk-cover .tkc__wdg-eg { background: #627eea; }
.viz-tk-cover .tkc__wdg-quote {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px;
  background: rgba(20,97,219,0.10);
  border: 1px solid rgba(20,97,219,0.22);
  border-radius: 8px;
  font-size: 9px; color: rgba(184,204,255,0.75);
}
.viz-tk-cover .tkc__wdg-quote b {
  color: #fff; font-weight: 600;
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
}
.viz-tk-cover .tkc__wdg-lock {
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-weight: 600; color: #b8ccff;
}
.viz-tk-cover .tkc__wdg-cta {
  margin-top: 2px; padding: 9px;
  border-radius: 9px;
  background: linear-gradient(180deg, #6b94ff, #1461db);
  color: #fff; font-weight: 700; font-size: 10px;
  text-align: center; letter-spacing: -0.01em;
  box-shadow: 0 8px 18px -6px rgba(20,97,219,0.55);
}

/* floating partner chip — top-left */
.viz-tk-cover .tkc__chip {
  position: absolute; top: 64px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px;
  background: rgba(14,20,48,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(120,150,255,0.28);
  border-radius: 10px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 10px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; transform: rotate(-4deg);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  z-index: 3;
}
.viz-tk-cover .tkc__chip-lg {
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(135deg, #f6851b, #e2761b);
  display: inline-grid; place-items: center;
  color: #fff; font-size: 9px; font-weight: 800;
}
.viz-tk-cover .tkc__chip-t { font-weight: 500; color: rgba(184,204,255,0.85); }
.viz-tk-cover .tkc__chip-t b { color: #fff; font-weight: 700; }

/* second floating chip — bottom-right */
.viz-tk-cover .tkc__chip2 {
  position: absolute; bottom: 80px; right: 26px;
  padding: 6px 11px;
  background: rgba(20,97,219,0.18);
  border: 1px solid rgba(20,97,219,0.40);
  border-radius: 999px;
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9px; letter-spacing: 0.14em; font-weight: 600;
  color: #b8ccff; text-transform: uppercase;
  transform: rotate(3deg); z-index: 3;
}

/* corner markers — kicker top-left, mark bottom-right */
.viz-tk-cover .tkc__kicker {
  position: absolute; top: 16px; left: 22px;
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9px; letter-spacing: 0.16em;
  color: rgba(184,204,255,0.55);
  text-transform: uppercase;
  z-index: 4;
}
.viz-tk-cover .tkc__mark {
  position: absolute; bottom: 18px; right: 22px;
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  z-index: 4;
}
.viz-tk-cover .tkc__mark-n {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: 28px; line-height: 1; color: #b8ccff;
  letter-spacing: -0.02em;
}
.viz-tk-cover .tkc__mark-t {
  font-size: 9px; letter-spacing: 0.16em;
  color: rgba(184,204,255,0.55);
  text-transform: uppercase;
}

/* small-screen tweaks: shrink widget so chips don't overlap */
@media (max-width: 1000px) {
  .viz-tk-cover .tkc__wdg { width: 200px; }
  .viz-tk-cover .tkc__chip { top: 52px; left: 18px; }
  .viz-tk-cover .tkc__chip2 { bottom: 70px; right: 18px; }
}
