/* =========================================================
   TAHERYS — Clarity Through Craft
   One stylesheet for the whole site.
   Change brand colors here and every page updates.
   ========================================================= */

:root {
  --espresso: #1B140F;
  --espresso-2: #2A2019;
  --cream: #F3EEE3;
  --cream-2: #EAE2D2;
  --paper: #FAF7F1;
  --red: #B23124;
  --red-hot: #E41414;
  --tan: #A9834F;
  --muted: #6E6257;
  --line: rgba(27, 20, 15, 0.14);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
  font-weight: 600;
}
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
h1.display { font-size: clamp(48px, 10vw, 132px); }
h2.display { font-size: clamp(38px, 6vw, 76px); }
h3.display { font-size: clamp(26px, 3.2vw, 36px); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40ch; }
.small-caps { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.red { color: var(--red); }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid currentColor;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  cursor: pointer;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-solid:hover { background: var(--red); border-color: var(--red); }
.btn-red { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-red:hover { background: var(--red-hot); border-color: var(--red-hot); }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.on-dark .btn-ghost:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.scrolled { background: rgba(243, 238, 227, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo-text { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--red); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--red); transition: right .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 20px; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: inherit; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease), opacity .35s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Header over dark hero */
.header-dark .site-header:not(.scrolled) { color: var(--cream); }

@media (max-width: 860px) {
  .menu-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--espresso); color: var(--cream);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .nav a { font-size: 15px; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 160px) 0; }
.dark { background: var(--espresso); color: var(--cream); }
.dark .lede, .dark .muted { color: rgba(243, 238, 227, .68); }
.paper { background: var(--paper); }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--espresso); color: var(--cream);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero .lede { margin-top: 28px; opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.hero-visual { position: relative; aspect-ratio: 3 / 4; opacity: 0; animation: fadeUp 1.2s .4s var(--ease) forwards; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Grain + halftone texture (the pop-culture print hint) */
.grain::after {
  content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, 3%); } 80% { transform: translate(3%, -1%); } 100% { transform: translate(0, 0); }
}
.halftone {
  background-image: radial-gradient(circle, rgba(178, 49, 36, .55) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
}

/* ---------- Product frame (image or placeholder) ---------- */
.frame {
  position: relative; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #3a2c22, #1B140F 70%);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .dots { position: absolute; inset: auto -20% -25% auto; width: 80%; height: 60%; border-radius: 50%; opacity: .5; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  color: rgba(243, 238, 227, .55); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.placeholder .bottle {
  width: 34%; aspect-ratio: 1 / 2.6; margin: 0 auto 22px;
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(90deg, #4a3526, #7a5638 45%, #4a3526);
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.placeholder .bottle::before { content: ""; position: absolute; left: 30%; right: 30%; top: -9%; height: 10%; background: #111; border-radius: 6px 6px 0 0; }
.placeholder .bottle::after { content: "TAHERYS"; position: absolute; left: 0; right: 0; top: 38%; padding: 14px 0; background: var(--cream); color: var(--red); font-family: var(--display); font-style: italic; font-size: 13px; letter-spacing: 0; text-transform: none; }

/* Sticker badge (spinning) */
.sticker {
  position: absolute; z-index: 3; width: 128px; height: 128px; border-radius: 50%;
  background: var(--red); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font-family: var(--body); font-size: 9.5px; letter-spacing: .1em; font-weight: 700; fill: var(--cream); text-transform: uppercase; }
.sticker .core { font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; border-block: 1.5px solid var(--espresso); }
.marquee.alt { background: var(--cream); color: var(--espresso); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font-family: var(--display); font-style: italic; font-size: clamp(26px, 4vw, 48px);
  padding: 18px 0; white-space: nowrap;
}
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; margin: 0 .9em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.reverse .marquee-track { animation-direction: reverse; }

/* ---------- Grids / cards ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(27, 20, 15, .12); }
.card .num { font-family: var(--display); font-style: italic; color: var(--red); font-size: 20px; margin-bottom: 26px; display: block; }
.card h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 12px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.dark .card { background: var(--espresso-2); border-color: rgba(243, 238, 227, .1); }
.dark .card p { color: rgba(243, 238, 227, .66); }

/* Equation */
.equation { text-align: center; }
.equation .eq {
  font-family: var(--display); font-style: italic; font-size: clamp(44px, 9vw, 128px); line-height: 1; letter-spacing: -0.02em;
}
.equation .eq .op { color: var(--red); font-style: normal; font-weight: 300; margin: 0 .12em; }

/* Duality list */
.duality { max-width: 720px; margin: 60px auto 0; }
.duality li {
  list-style: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 2vw, 18px); letter-spacing: .18em; text-transform: uppercase;
}
.dark .duality li { border-color: rgba(243, 238, 227, .12); }
.duality li .from { color: var(--tan); text-align: right; text-decoration: line-through; text-decoration-color: rgba(169, 131, 79, .5); }
.duality li .to { font-weight: 700; }
.duality li .arr { color: var(--red); font-size: 20px; letter-spacing: 0; }
.duality { padding: 0; }

/* Flow line */
.flow { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 30px; }
.flow span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--paper); }
.flow i { color: var(--red); font-style: normal; }
.dark .flow span { background: transparent; border-color: rgba(243, 238, 227, .2); }

/* Big quote */
.bigquote { font-family: var(--display); font-style: italic; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; max-width: 18ch; }

/* ---------- Nutrition panel ---------- */
.nutrition {
  background: #fff; color: #000; border: 2px solid #000; padding: 10px 12px 12px;
  font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.3; max-width: 420px; width: 100%;
}
.nutrition h4 { font-size: 38px; font-weight: 900; margin: 0; letter-spacing: -0.02em; line-height: 1; }
.nutrition .row { display: flex; justify-content: space-between; border-top: 1px solid #000; padding: 3px 0; }
.nutrition .row.indent { padding-left: 16px; }
.nutrition .row.indent2 { padding-left: 32px; }
.nutrition .thick { border-top: 10px solid #000; }
.nutrition .med { border-top: 5px solid #000; }
.nutrition .cal { display: flex; justify-content: space-between; align-items: flex-end; font-weight: 900; }
.nutrition .cal b:first-child { font-size: 26px; }
.nutrition .cal b:last-child { font-size: 40px; line-height: 1; }
.nutrition .fine { font-size: 11px; border-top: 5px solid #000; padding-top: 6px; margin-top: 2px; }

/* Spec list */
.specs { border-top: 1px solid var(--line); margin: 30px 0; }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.specs dd { margin: 0; text-align: right; font-weight: 500; }

/* Flavor chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--espresso); color: var(--cream); font-size: 13px; letter-spacing: .08em; }
.chip.red { background: var(--red); color: var(--cream); }
.chip.line { background: transparent; color: var(--espresso); border: 1px solid var(--espresso); }

/* Trading-card style product card (pop culture hint) */
.tcard {
  position: relative; border-radius: 24px; padding: 14px; background: var(--espresso);
  box-shadow: 0 40px 80px rgba(27, 20, 15, .25);
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.tcard .inner { border-radius: 14px; overflow: hidden; border: 1.5px solid var(--tan); position: relative; aspect-ratio: 3 / 4; }
.tcard .meta { display: flex; justify-content: space-between; color: var(--cream); padding: 14px 6px 4px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.tcard .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 45%); mix-blend-mode: soft-light; z-index: 2; }

/* ---------- Clarity page ---------- */
.letters { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 56px; }
.letter {
  aspect-ratio: 3 / 4; border-radius: 16px; border: 1px solid rgba(243, 238, 227, .16);
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.letter:hover { background: var(--red); transform: translateY(-6px); }
.letter b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.letter small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 238, 227, .6); }
.letter:hover small { color: var(--cream); }

.steps { counter-reset: s; display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--display); font-style: italic; color: var(--red); font-size: 26px; line-height: 1; }
.steps h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); }
.steps { padding: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; }
.page-hero.dark { padding-bottom: 110px; }
.page-hero .display { max-width: 14ch; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta .display { margin: 0 auto 36px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--cream); padding: 90px 0 36px; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(243, 238, 227, .12); }
.site-footer h4 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--tan); margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; opacity: .8; transition: opacity .3s; }
.site-footer a:hover { opacity: 1; color: #fff; }
.site-footer .tag { font-family: var(--display); font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0 0 14px; }
.site-footer .giant {
  font-family: var(--display); font-style: italic; font-size: clamp(80px, 21vw, 300px); line-height: .8;
  letter-spacing: -0.04em; color: var(--red); margin: 50px 0 20px; white-space: nowrap; text-align: center;
}
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; opacity: .6; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Cursor dot (desktop only) */
.cursor { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red); pointer-events: none; z-index: 100; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), opacity .3s; opacity: 0; mix-blend-mode: multiply; }
.cursor.big { width: 46px; height: 46px; opacity: .35 !important; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin: 20px auto 0; }
  .cards { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
  .letters { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .letters { grid-template-columns: repeat(3, 1fr); }
  .duality li { gap: 10px; letter-spacing: .08em; }
  .sticker { width: 100px; height: 100px; }
  .sticker .core { font-size: 24px; }
  .btn { padding: 15px 22px; }
  .steps li { grid-template-columns: 48px 1fr; }
}

/* Respect people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero .lede, .hero .actions, .hero-visual { opacity: 1; }
  .marquee-track { animation: none; }
}

/* ---------- Hero video + glow (added with real brand assets) ---------- */
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(178, 49, 36, .55), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(169, 131, 79, .18), transparent 70%);
  animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.red-glow { color: var(--red-hot); text-shadow: 0 0 40px rgba(228, 20, 20, .45); }
.hero-visual { aspect-ratio: auto; display: flex; justify-content: center; }
.phone {
  width: min(340px, 78vw); aspect-ratio: 480 / 854;
  border-radius: 34px; overflow: hidden; position: relative;
  border: 6px solid #0c0907;
  box-shadow: 0 0 0 1.5px rgba(243, 238, 227, .12), 0 50px 100px rgba(0, 0, 0, .6), 0 0 120px rgba(178, 49, 36, .35);
  transform: rotate(3deg);
  background: #0c0907;
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sticker .core-img { width: 56%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.sticker { background: var(--espresso); border: 2px solid var(--red); }
.sticker text { fill: var(--cream); }
.logo img { height: 40px; }
@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-visual { margin-top: 30px; }
  .sticker { left: 0 !important; }
}

.site-footer .giant img { width: min(900px, 92%); margin: 0 auto; filter: drop-shadow(0 20px 60px rgba(178,49,36,.35)); }
.instead { margin-top: 60px; border-top: 1px solid var(--line); }
.instead p { font-family: var(--display); font-size: clamp(28px, 4.4vw, 56px); line-height: 1.15; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.instead em { color: var(--espresso); font-style: italic; }
.instead p:hover em { color: var(--red); }
.page-hero:not(.dark) { background: var(--cream); }
.hero .lede, .page-hero.dark .lede { color: rgba(243, 238, 227, .72); }
.equation .eq { font-size: clamp(38px, 7.2vw, 104px); }
html { overflow-x: clip; }
.hero, .page-hero { position: relative; }
@media (max-width: 560px) {
  .letters { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .letter { padding: 10px; border-radius: 12px; }
  .letter small { font-size: 9px; letter-spacing: .12em; }
}
.hero h1 .line { padding: 0 .15em .1em 0; margin-bottom: -.1em; } .red-glow { text-shadow: 0 0 24px rgba(228, 20, 20, .35); }
