/* ── Vaibhav Saxena — portfolio ─────────────────────────────
   Palette sampled from the wine-cellar photograph:
   warm blacks, wood amber, cream — wine red + sneaker blue accents. */

:root {
  --bg: #0d0908;
  --bg2: #14100c;
  --surface: #1b1410;
  --surface2: #221a14;
  --line: rgba(201, 138, 75, 0.14);
  --line-soft: rgba(201, 138, 75, 0.08);
  --amber: #c98a4b;
  --amber-hi: #e8b478;
  --wine: #a4434e;
  --sky: #7cb8e4;
  --text: #ece4d8;
  --sub: #b3a595;
  --dim: #7d7267;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(201, 138, 75, 0.35); }

/* film grain */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 3; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* scroll progress hairline */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--wine)); }

/* ── nav ── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1060px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 20px; z-index: 50;
  background: rgba(13, 9, 8, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { background: rgba(13, 9, 8, 0.85); border-color: var(--line); }
.mark {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  color: var(--text); text-decoration: none; letter-spacing: 0.02em;
}
.mark span { color: var(--amber); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--sub); text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s ease; cursor: pointer;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--amber-hi); }
.nav-social { display: flex; gap: 8px; }
.nav-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; color: var(--sub);
  border: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-social a:hover { color: var(--amber-hi); border-color: var(--line); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* the shining menu item */
.nav-links a.shine, .nav-sheet a.shine {
  background: linear-gradient(100deg,
    var(--amber-hi) 0%, var(--amber-hi) 38%,
    #f6ead2 46%, var(--sky) 50%, #f6ead2 54%,
    var(--amber-hi) 62%, var(--amber-hi) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shineSweep 3.6s ease-in-out infinite;
}
@keyframes shineSweep {
  0% { background-position: 125% 0; }
  55% { background-position: -125% 0; }
  100% { background-position: -125% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a.shine, .nav-sheet a.shine { animation: none; background-position: 50% 0; }
}

/* mobile menu */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 34px; padding: 0 7px;
  background: none; border: 1px solid transparent; border-radius: 9px; cursor: pointer;
}
.nav-burger span {
  display: block; height: 1.6px; width: 100%; background: var(--text);
  border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.nav-sheet {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(13, 9, 8, 0.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 34px 60px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.nav-sheet.open { opacity: 1; pointer-events: auto; }
.nav-sheet a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); font-weight: 400;
  color: var(--text); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.nav-sheet a.active, .nav-sheet a:hover { color: var(--amber-hi); }

/* ── hero ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 24px 60px;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(164, 67, 78, 0.13), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(201, 138, 75, 0.10), transparent 60%),
    var(--bg);
}
.hero-inner {
  width: min(1060px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber);
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--amber); opacity: 0.6; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9.5vw, 108px);
  line-height: 0.98; letter-spacing: -0.015em;
  margin: 20px 0 26px;
}
.hero h1 em { font-style: italic; color: var(--amber-hi); }
.hero-sub { max-width: 54ch; color: var(--sub); font-size: 16.5px; font-weight: 300; }
.hero-sub .amber { color: var(--amber-hi); font-weight: 400; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.hero-tags span {
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--sub);
  background: rgba(201, 138, 75, 0.05);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), #a96b32);
  color: #17100a; font-weight: 600; font-size: 14px; font-family: var(--sans);
  text-decoration: none; border: none; cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 22px rgba(201, 138, 75, 0.18);
}
.btn:hover { filter: brightness(1.1); box-shadow: 0 8px 30px rgba(201, 138, 75, 0.3); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--amber); color: var(--amber-hi); }

.hero-photo { justify-self: end; text-align: center; }
.photo-arch {
  width: min(320px, 78vw); aspect-ratio: 9 / 15.4;
  border-radius: 999px 999px 26px 26px;   /* cellar arch */
  overflow: hidden; position: relative;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(201, 138, 75, 0.05),
    0 0 90px rgba(164, 67, 78, 0.12);
}
.photo-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 9, 8, 0.5));
  pointer-events: none;
}
.hero-photo figcaption {
  margin-top: 14px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; color: var(--dim);
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* ── the thread ── */
.thread { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; }
.thread path { fill: none; stroke-linecap: round; }
#threadPath { stroke: url(#threadGrad); stroke-width: 1.8; opacity: 0.55; }
#threadGlow { stroke: var(--amber); stroke-width: 8; opacity: 0.1; filter: blur(5px); }
.hero, main { position: relative; z-index: 1; }
@media (max-width: 560px) {
  #threadPath { stroke-width: 1.4; opacity: 0.38; }
  #threadGlow { display: none; }
}

/* ── sections ── */
section { padding: clamp(70px, 10vw, 120px) 24px; max-width: 1060px; margin: 0 auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.index {
  font-family: var(--mono); font-size: 13px; color: var(--wine);
  letter-spacing: 0.2em; display: block; margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.01em; line-height: 1.1;
}
.section-sub { color: var(--sub); margin-top: 12px; max-width: 58ch; font-weight: 300; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 5vw, 64px); }
.lede {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(19px, 2.4vw, 24px); line-height: 1.6; color: var(--text);
}
.about-facts { display: flex; flex-direction: column; gap: 18px; }
.fact {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-soft);
}
.fact svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
a.fact { text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
a.fact:hover { border-color: var(--line); transform: translateY(-2px); }
.fact strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.fact span { font-size: 13px; color: var(--sub); line-height: 1.5; }

/* ── cards (shared) ── */
.card {
  position: relative; border-radius: 20px;
  background: linear-gradient(160deg, var(--surface), var(--bg2));
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.card[data-glow]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 138, 75, 0.10), transparent 65%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card[data-glow]:hover::before { opacity: 1; }
.card:hover { border-color: var(--line); }

.card-top { display: flex; gap: 8px; margin-bottom: 14px; }
.chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--sub);
}
.amber-chip { color: var(--amber-hi); border-color: rgba(201, 138, 75, 0.4); display: inline-flex; align-items: center; gap: 6px; }

/* flagship */
.flagship {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden; margin-bottom: 64px;
}
.flagship-media { position: relative; min-height: 420px; background: #0a0705; }
.flagship-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.6s ease;
}
.flagship-media video.on { opacity: 0.92; }
.bp-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--amber-hi); padding: 5px 12px; border-radius: 999px;
  background: rgba(10, 7, 5, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.6s ease;
}
.bp-label.on { opacity: 1; }
.flagship-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 65%, var(--surface));
  pointer-events: none;
}
.flagship-body { padding: clamp(26px, 4vw, 44px); }
.flagship h3, .olisol h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 34px);
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
}
.t-icon { color: var(--amber); flex-shrink: 0; }
.tagline { color: var(--amber-hi); font-size: 15px; margin-bottom: 14px; font-weight: 400; }
.flagship p, .olisol p { color: var(--sub); font-size: 14.5px; font-weight: 300; }
.feature-list { list-style: none; margin: 18px 0 24px; }
.feature-list li {
  position: relative; padding: 7px 0 7px 26px;
  color: var(--sub); font-size: 13.8px; line-height: 1.55; font-weight: 300;
  border-bottom: 1px solid var(--line-soft);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--amber), var(--wine));
}
.feature-list em { color: var(--text); font-style: normal; font-weight: 500; }
.feature-list a { color: var(--sky); text-decoration: none; border-bottom: 1px dotted rgba(124, 184, 228, 0.5); }
.feature-list a:hover { color: #a5d0f0; }
.card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* olisol */
.olisol {
  display: grid; grid-template-columns: 1fr 1.1fr;
  overflow: hidden; margin-bottom: 36px;
}
.olisol-body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.olisol-body .card-actions { margin-top: 22px; }
.olisol-media { position: relative; min-height: 300px; }
.olisol-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.olisol-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--surface) 0, transparent 22%);
  pointer-events: none;
}

/* grids */
.grid { display: grid; gap: 16px; }
.products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.repo-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 34px; }

.card.mini {
  display: block; padding: 30px 28px; text-decoration: none; color: inherit; cursor: pointer;
}
.card.mini:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.mini-icon { color: var(--amber); margin-bottom: 14px; }
.card.mini h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.card.mini p { font-size: 13.5px; color: var(--sub); font-weight: 300; line-height: 1.6; min-height: 66px; }
.mini-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--sky);
}

/* repos */
.group-title {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine);
  margin: 8px 0 18px; display: flex; align-items: center; gap: 14px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.card.repo { display: block; padding: 22px; text-decoration: none; color: inherit; cursor: pointer; }
.card.repo:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.repo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.repo-head svg { color: var(--amber); flex-shrink: 0; }
.repo-head h4 { font-family: var(--mono); font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; }
.stars { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--amber-hi); }
.card.repo p { font-size: 13px; color: var(--sub); font-weight: 300; line-height: 1.6; }
.tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tech span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(124, 184, 228, 0.07); color: var(--sky);
  border: 1px solid rgba(124, 184, 228, 0.14);
}

/* contact */
.contact {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(164, 67, 78, 0.14), transparent 70%),
    var(--bg2);
  padding: clamp(70px, 10vw, 110px) 24px 46px;
  text-align: center;
}
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 60px); }
.contact p { color: var(--sub); margin-top: 10px; font-weight: 300; }
.contact-links { display: flex; justify-content: center; gap: 14px; margin: 34px 0 60px; flex-wrap: wrap; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--text);
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.contact-links a:hover { border-color: var(--amber); color: var(--amber-hi); background: rgba(201, 138, 75, 0.05); }
/* ── phone-number puzzle gate ── */
.phone-gate {
  max-width: 380px; margin: 0 auto 60px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
  text-align: left;
}
.gate-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--amber); margin: 0 !important; }
.gate-q { font-size: 14.5px; color: var(--text) !important; margin-top: 8px !important; }
.gate-form { display: flex; gap: 8px; margin-top: 14px; }
.gate-form input {
  flex: 1; min-width: 0;
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg2);
  color: var(--text); font-family: var(--mono); font-size: 14px;
  outline: none; transition: border-color 0.2s;
}
.gate-form input:focus { border-color: var(--amber); }
.gate-form button {
  padding: 10px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(201, 138, 75, 0.08);
  color: var(--amber-hi); font-family: var(--mono); font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.gate-form button:hover { border-color: var(--amber); background: rgba(201, 138, 75, 0.14); }
.gate-msg { font-family: var(--mono); font-size: 13px; margin-top: 12px !important; min-height: 1em; }
.gate-msg.err { color: var(--wine); }
.gate-msg a { color: var(--amber-hi); text-decoration: none; border-bottom: 1px solid var(--line); }
.gate-msg a:hover { border-bottom-color: var(--amber-hi); }
.phone-gate.shake { animation: gateShake 0.4s; }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}
.phone-gate.solved .gate-form, .phone-gate.solved .gate-q { display: none; }

.colophon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }

/* ── ask the living room ── */
.chat { overflow: hidden; }
.chat-top {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim);
}
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #58c98a; box-shadow: 0 0 8px rgba(88, 201, 138, 0.7); }
.chat-log {
  padding: 22px 20px; max-height: 430px; min-height: 180px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.msg {
  max-width: 78%; padding: 11px 15px; border-radius: 14px;
  font-size: 14px; line-height: 1.55; font-weight: 300; white-space: pre-wrap;
}
.msg.bot { align-self: flex-start; background: var(--surface2); border: 1px solid var(--line-soft); color: var(--text); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: rgba(201, 138, 75, 0.14); border: 1px solid rgba(201, 138, 75, 0.3); color: var(--text); border-bottom-right-radius: 4px; }
.msg.bot code {
  font-family: var(--mono); font-size: 12.5px; color: var(--amber-hi);
  background: rgba(201, 138, 75, 0.1); padding: 1px 6px; border-radius: 6px;
}
.msg.bot strong { font-weight: 600; color: var(--text); }
.msg.bot a { color: var(--sky); text-decoration: none; border-bottom: 1px dotted rgba(124, 184, 228, 0.5); }
.msg.bot a:hover { color: #a5d0f0; }
.msg.typing { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.msg.typing::after { content: "▍"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.chat-chips button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--sub); background: none; cursor: pointer;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.chat-chips button:hover { color: var(--amber-hi); border-color: var(--amber); }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line-soft); }
.chat-form input {
  flex: 1; min-width: 0; padding: 11px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  font-family: var(--sans); font-size: 14px; outline: none; transition: border-color 0.2s;
}
.chat-form input:focus { border-color: var(--amber); }
.chat-form button {
  padding: 11px 20px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(201, 138, 75, 0.1);
  color: var(--amber-hi); font-family: var(--mono); font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.chat-form button:hover:not(:disabled) { border-color: var(--amber); background: rgba(201, 138, 75, 0.16); }
.chat-form button:disabled { opacity: 0.45; cursor: default; }

/* ── under the bar page ── */
.nav-links a.active { color: var(--amber-hi); }
.utb-hero { min-height: 66svh; }
.utb-hero .hero-inner { grid-template-columns: 1fr; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { padding: 34px 30px 30px; }
.stat-icon { color: var(--amber); }
.stat-num {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 6.5vw, 78px); line-height: 1.05;
  margin: 14px 0 10px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-num small {
  font-family: var(--mono); font-size: 15px; font-weight: 400;
  color: var(--amber-hi); margin-left: 8px; letter-spacing: 0.06em;
}
.stat-cap { font-size: 13.5px; color: var(--sub); font-weight: 300; line-height: 1.6; }
.lift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lift-card { overflow: hidden; position: relative; margin: 0; }
.lift-card[data-accent="squat"] { box-shadow: 0 30px 90px -22px rgba(201, 138, 75, 0.38); }
.lift-card[data-accent="bench"] { box-shadow: 0 30px 90px -22px rgba(124, 184, 228, 0.3); }
.lift-card[data-accent="deadlift"] { box-shadow: 0 30px 90px -22px rgba(164, 67, 78, 0.42); }
.lift-media { position: relative; background: #0a0705; }
.lift-media video { display: block; width: 100%; height: auto; cursor: pointer; }
.sound-chip {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text); padding: 4px 10px; border-radius: 999px;
  background: rgba(10, 7, 5, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.lift-meta {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 16px 20px 18px;
}
.lift-name { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; }
.lift-desc { font-size: 12.5px; color: var(--sub); font-weight: 300; display: block; margin-top: 2px; }
.lift-nums { text-align: right; }
.lift-kg { font-family: var(--mono); font-size: 13.5px; color: var(--amber-hi); letter-spacing: 0.06em; display: block; white-space: nowrap; }
.lift-bw { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.06em; display: block; margin-top: 3px; }
@media (max-width: 920px) {
  .stats-grid, .lift-grid { grid-template-columns: 1fr; }
}

/* ── the soundtrack ── */
.tracks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
@media (max-width: 920px) { .tracks-grid { grid-template-columns: 1fr; } }
.tracks { overflow: hidden; }
.tracks-dot { background: var(--amber-hi); box-shadow: 0 0 8px rgba(232, 180, 120, 0.7); }
.track-rows { list-style: none; margin: 0; padding: 6px 0; }
.track-rows li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 11px 22px; border-bottom: 1px solid var(--line-soft);
}
.track-rows li:last-child { border-bottom: none; }
.tno { font-family: var(--mono); font-size: 11px; color: var(--wine); letter-spacing: 0.06em; }
.tname { font-size: 14.5px; font-weight: 500; color: var(--text); }
.tartist { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.04em; margin-left: auto; text-align: right; }
.tracks-link {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 22px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--sky); text-decoration: none;
}
.tracks-link:hover { color: #a5d0f0; }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── responsive ── */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; order: -1; margin-top: 10px; }
  .photo-arch { width: min(250px, 62vw); }
  .hero h1 { font-size: clamp(52px, 13vw, 84px); }
  .about-grid { grid-template-columns: 1fr; }
  .flagship, .olisol { grid-template-columns: 1fr; }
  .flagship-media { min-height: 340px; }
  .flagship-media::after { background: linear-gradient(180deg, transparent 65%, var(--surface)); }
  .olisol-media { min-height: 240px; order: -1; }
  .olisol-media::after { background: linear-gradient(180deg, transparent 70%, var(--surface)); }
  .products-grid, .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  .products-grid, .repo-grid { grid-template-columns: 1fr; }
  .card.mini p { min-height: 0; }
  .hero { padding-top: 90px; }
}
