/* Lakshay Sharma portfolio: shared editorial finance styles. */
:root {
  --ink: #0f1b2d;
  --ink-soft: #2a3750;
  --muted: #556070;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #ddd7c9;
  --brass: #b98a3e;
  --brass-soft: #f0e4c8;
  --sage: #e1e9dd;
  --mist: #dce6f2;
  --ok-bg: #dceadd;
  --ok-ink: #1e4d2b;
  --warn-bg: #f3e4c2;
  --warn-ink: #6b4c10;
  --risk-bg: #f3d8d6;
  --risk-ink: #7d2420;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "Newsreader", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: 88px; }
::selection { background: var(--brass-soft); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { color: var(--muted); font: 500 11px/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }

/* Skip link */
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px var(--mono);
  transition: top .2s;
}
.skip-link:focus { top: 14px; }

/* Ambient pointer glow & progress */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 82%) var(--my, 8%), rgba(185,138,62,.08), transparent 68%);
}
.page-progress {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--brass);
  pointer-events: none;
}

/* Sticky Header */
.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 236, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.wordmark { display: flex; align-items: center; gap: 12px; flex-shrink: 0; font: 600 14px/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.brand-icon { display: block; width: 36px; height: 36px; flex: 0 0 36px; transition: transform .3s var(--ease); }
.nav { display: flex; align-items: center; gap: 6px; min-width: 0; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--muted);
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav a[aria-current="page"] { color: var(--paper); background: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); }

/* Headings & text */
h1 { margin: 16px 0 20px; font: 500 clamp(2.35rem, 5.8vw, 5.2rem)/.97 var(--serif); letter-spacing: -.04em; overflow-wrap: break-word; }
h1 em, .section-title em { font-style: italic; color: var(--brass); }
.lede { max-width: 580px; margin: 0; color: var(--ink-soft); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.62; }
.section { padding: 60px 0; }
.section + .section { padding-top: 20px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-title { max-width: 660px; margin: 10px 0 0; font: 500 clamp(2rem, 3.8vw, 3.4rem)/1.04 var(--serif); letter-spacing: -.035em; }
.section-note { max-width: 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  font: 500 12px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .3s, transform .15s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 100%;
  width: 140%;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, 0);
  transition: transform .6s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn.solid { color: var(--paper); background: var(--ink); }
.btn.solid::before { background: var(--brass); }
.btn i { width: 7px; height: 7px; flex-shrink: 0; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 52px; align-items: center; padding: 44px 0 64px; }
.hero > *, .split > *, .feature > *, .contact > * { min-width: 0; }
.hero.compact { grid-template-columns: minmax(0, 1fr) 310px; padding: 40px 0 48px; align-items: end; }
.hero.compact h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); max-width: 800px; }
.stamp { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.stamp strong { display: block; margin: 10px 0 6px; font: 500 28px/1.05 var(--serif); }
.stamp p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Portrait */
.liquid { position: relative; width: min(100%, 400px); max-width: 100%; margin-left: auto; aspect-ratio: 1 / 1.08; }
.liquid::before, .liquid::after {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 0;
  background: var(--brass-soft);
  filter: blur(24px);
  opacity: .85;
  animation: morph 16s ease-in-out infinite;
}
.liquid::after { inset: 6% -6% -8% 10%; background: var(--sage); animation-duration: 20s; animation-direction: reverse; }
.blob { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--ink); animation: morph 14s ease-in-out infinite; }
.blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(.96) contrast(1.04);
  transform: scale(1.03);
  transition: filter .7s ease, transform .9s var(--ease);
}
.chip {
  position: absolute;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
  font: 500 11px var(--mono);
  letter-spacing: .04em;
  box-shadow: 0 10px 30px rgba(15,27,45,.08);
  animation: float 7s ease-in-out infinite;
}
.chip b { color: var(--brass); font-weight: 500; }
.chip.one { left: 0; bottom: 12%; }
.chip.two { right: 2%; top: 4%; animation-delay: -3s; }
@keyframes morph {
  0%, 100% { border-radius: 56% 44% 53% 47% / 48% 55% 45% 52%; }
  33% { border-radius: 46% 54% 43% 57% / 56% 44% 55% 45%; }
  66% { border-radius: 52% 48% 58% 42% / 44% 56% 45% 55%; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.proof > div { padding: 22px 18px 22px 0; min-width: 0; }
.proof > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.proof strong { display: block; margin-bottom: 6px; font: 500 clamp(1.45rem, 2.5vw, 2.3rem)/1.05 var(--serif); letter-spacing: -.03em; }
.proof span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 252px;
  padding: 26px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: var(--brass);
  transform: scaleX(.32);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.cards .card:nth-child(2)::after { background: #6e86a8; }
.cards .card:nth-child(3)::after { background: var(--brass); }
.cards.four .card:nth-child(4)::after { background: #6e8b67; }
.card.in::after { transform: scaleX(1); }
.card.sage { background: var(--sage); }
.card.mist { background: var(--mist); }
.card.brass { background: var(--brass-soft); }
.card.sage .eyebrow, .card.mist .eyebrow, .card.brass .eyebrow { color: var(--ink-soft); }
.card h3 { margin: 36px 0 10px; font: 500 25px/1.1 var(--serif); letter-spacing: -.02em; }
.card.compact-card { min-height: 200px; }
.card.compact-card h3 { margin-top: 26px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.card .eyebrow { display: block; }
.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15,27,45,.1);
  color: var(--ink-soft);
  font: 500 11px/1.45 var(--mono);
  letter-spacing: .03em;
}

/* Work list */
.work-list { border-top: 1px solid var(--ink); }
.work-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease);
}
.work-item > * { min-width: 0; }
.work-item::before { content: ""; position: absolute; inset: 0 -18px; z-index: -1; border-radius: 16px; background: var(--card); opacity: 0; transition: opacity .35s; }
.work-num { color: var(--muted); font: 12px var(--mono); }
.work-title { font: 500 clamp(1.3rem, 2.1vw, 1.85rem)/1.12 var(--serif); letter-spacing: -.02em; }
.work-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.pill {
  display: inline-block;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--brass-soft);
  color: var(--ink);
  font: 500 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill.live { background: var(--sage); }
.pill.mist { background: var(--mist); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.t-row { display: grid; grid-template-columns: 165px 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.t-row > * { min-width: 0; }
.t-row.stacked { grid-template-columns: minmax(0, 1fr); gap: 5px; }
.t-row .when { color: var(--muted); font: 12px var(--mono); }
.t-row strong { font: 500 22px/1.15 var(--serif); letter-spacing: -.02em; }
.t-row span.role { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.t-row span.meta { color: var(--muted); font: 500 12px/1.4 var(--mono); }

/* Comparison table */
.compare { border-radius: 22px; overflow: hidden; border: 1px solid var(--ink); background: var(--card); }
.compare-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { min-width: 0; padding: 20px 22px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.compare-row > div + div { border-left: 1px solid var(--line); }
.compare-row.head > div { background: var(--ink); color: var(--paper); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.compare-row.head > div + div { border-left-color: #2a3750; }
.compare-row .label { color: var(--ink); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(246,243,236,.55); }
.compare-cards { margin-top: 14px; }

/* Stress test interactive module */
.stress-box { padding: 30px; border-radius: 26px; border: 1px solid var(--ink); background: var(--card); }
.stress-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.stress-top h3 { margin: 8px 0 4px; font: 500 clamp(1.45rem, 2.5vw, 2.05rem)/1.12 var(--serif); letter-spacing: -.02em; }
.stress-top p { margin: 0; color: var(--muted); font-size: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-btn {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  font: 500 11px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .15s var(--ease);
}
.tab-btn:active { transform: scale(.98); }
.tab-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stress-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.metric-cell { min-width: 0; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.metric-cell strong { display: block; margin-top: 10px; font: 500 clamp(1.4rem, 2.2vw, 1.95rem)/1.08 var(--serif); font-variant-numeric: tabular-nums; }
.metric-cell small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.stress-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.verdict { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.verdict.ok { background: var(--ok-bg); color: var(--ok-ink); }
.verdict.warn { background: var(--warn-bg); color: var(--warn-ink); }
.verdict.risk { background: var(--risk-bg); color: var(--risk-ink); }
.stress-note { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; max-width: 720px; }

/* Feature panel */
.feature { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); border-radius: 26px; overflow: hidden; border: 1px solid var(--ink); background: var(--card); }
.feature-main { padding: 36px; }
.feature-main h2 { margin: 24px 0 12px; font: 500 clamp(1.9rem, 3.6vw, 3.2rem)/1.04 var(--serif); letter-spacing: -.035em; }
.feature-main p { max-width: 580px; margin: 0; color: var(--ink-soft); line-height: 1.62; }
.feature-side { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 32px; background: var(--ink); color: var(--paper); }
.feature-side h3 { margin: 16px 0 0; font: 500 28px/1.1 var(--serif); letter-spacing: -.02em; }
.feature-side .eyebrow { color: #a9b4c4; }
.feature-side p { margin: 14px 0 0; color: #c5cedb; font-size: 14px; line-height: 1.55; }
.source-note { margin: 20px 0 0 !important; max-width: 700px !important; color: var(--muted) !important; font-size: 12px; line-height: 1.55; }
.source-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.slot { min-width: 0; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.slot b { display: block; margin-top: 8px; font: 500 17px/1.2 var(--serif); color: var(--ink); }
.slot span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 13px; line-height: 1.48; }

/* Profile (about) */
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 14px; }
.profile { padding: 30px; border-radius: 26px; background: var(--ink); color: var(--paper); }
.profile .liquid { width: min(100%, 250px); margin: 0 0 26px; }
.profile .liquid::before { background: rgba(185,138,62,.24); opacity: 1; }
.profile .liquid::after { background: rgba(125,152,119,.18); opacity: 1; }
.profile h2 { margin: 0 0 12px; font: 500 34px/1.05 var(--serif); letter-spacing: -.03em; }
.profile p { margin: 0; color: #c4cedc; font-size: 14px; line-height: 1.65; }
.profile p + p { margin-top: 12px; }
.panel { padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.panel .timeline { margin-top: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.contact-panel { min-height: 260px; padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.contact-panel.dark { display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: var(--paper); }
.contact-panel.dark .eyebrow { color: #a9b4c4; }
.contact-panel h2 { margin: 24px 0 0; font: 500 clamp(2rem, 3.8vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.04em; }
.contact-panel p { max-width: 420px; margin: 20px 0 0; color: var(--ink-soft); line-height: 1.6; font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.links .btn { padding: 10px 16px; min-height: 40px; }
.email-line { margin-top: 14px; color: var(--muted); font: 12px var(--mono); word-break: break-all; }

footer { padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font: 11px var(--mono); letter-spacing: .06em; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px; }
.footer-actions { display: flex; align-items: center; gap: 16px; }
.footer-actions a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .wordmark:hover .brand-icon { transform: scale(1.05); }
  .nav a:hover { color: var(--ink); background: rgba(15,27,45,.06); }
  .btn:hover { color: var(--paper); }
  .btn:hover::before { transform: translate(-50%, -62%); }
  .btn.solid:hover { border-color: var(--brass); }
  .btn:hover i { transform: translateX(3px) rotate(45deg); }
  .liquid:hover .blob img, .liquid:focus-within .blob img { filter: saturate(1.1) contrast(1.02); transform: scale(1.08); }
  .card:hover::after { transform: scaleX(1); }
  .card:hover { transform: translateY(-5px); border-color: rgba(185,138,62,.65); box-shadow: 0 18px 40px rgba(15,27,45,.09); }
  a.work-item:hover { padding-left: 14px; }
  a.work-item:hover::before { opacity: 1; }
  .tab-btn:hover { border-color: var(--ink); color: var(--ink); }
}

@media (max-width: 900px) {
  [id] { scroll-margin-top: 76px; }
  .shell { width: min(100% - 32px, 640px); }
  .topbar { min-height: 60px; }
  .hero, .hero.compact, .feature, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 34px; padding: 28px 0 48px; }
  .hero.compact { gap: 22px; padding: 28px 0 36px; }
  .liquid { margin: 0 auto; width: min(84%, 330px); }
  .section { padding: 44px 0; }
  .section + .section { padding-top: 14px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-note { margin-top: 10px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof > div { padding: 18px 14px 18px 0; }
  .proof > div + div { padding-left: 14px; }
  .proof > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .cards.four { grid-template-columns: minmax(0, 1fr); }
  .stress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 184px; padding: 22px; }
  .card h3 { margin-top: 26px; }
  .work-item { grid-template-columns: 34px minmax(0, 1fr); gap: 8px 12px; padding: 22px 0; }
  .work-item > :nth-child(n+3) { grid-column: 2; }
  .t-row { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 18px 0; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .feature-main, .feature-side, .profile, .panel, .contact-panel, .stress-box { padding: 22px; }
  .contact-panel { min-height: auto; }
  .contact-panel h2 { margin-top: 16px; }
  .stamp { max-width: 100%; }
}

@media (max-width: 680px) {
  .compare-row.head { display: none; }
  .compare-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-row .label {
    grid-column: 1 / -1;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
  }
  .compare-row > div { padding: 14px 16px; }
  .compare-row > div:nth-child(2) { border-left: 0; }
  .compare-row > div[data-col]::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font: 500 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

@media (max-width: 540px) {
  .wordmark span:last-child { display: none; }
  .nav { gap: 4px; }
  .nav a { padding: 7px 10px; font-size: 10.5px; }
  .hero .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero .btn-row .btn { width: 100%; justify-content: space-between; }
  .chip { padding: 7px 11px; font-size: 10px; }
  .chip.one { left: 4px; bottom: 8%; }
  .chip.two { right: 4px; top: 4%; }
  .compare-row { grid-template-columns: minmax(0, 1fr); }
  .compare-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tabs { width: 100%; }
  .tab-btn { flex: 1 1 auto; text-align: center; }
  .pill { white-space: normal; line-height: 1.4; max-width: 100%; }
}

@media (hover: none) {
  .liquid::before, .liquid::after { filter: blur(16px); }
  .liquid .blob img { filter: saturate(.96) contrast(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ambient-glow { display: none; }
}
