/* ============================================================================
   DIARY — nickjayala.com in thediary.com's visual language (Oct 25 2026)
   ----------------------------------------------------------------------------
   Nick asked for the layout, styling, graphics and colors of thediary.com.
   What that site actually does:
     - pure black ground, white type, no colored accent at all
     - one bold geometric sans (Montserrat 700/800) for headlines, Inter for body
     - a full-bleed cinematic photo hero with a dark fade and an all-caps line
     - white pill buttons with black text, uppercase, tracked
     - WHITE rounded cards with black text sitting on the black ground
     - a huge scrolling all-caps name band
     - gold stars as the only color
   This file replaces polish.css (the papaya glow). Copy, order, links and
   tracking are untouched. Swap the <link> back to polish.css to revert.
   ========================================================================= */

:root {
  --bg: #000000;
  --bg-elev: #000000;
  --bg-card: #0F0F10;
  --black: #000000;
  --slate: #0B0B0C;

  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --ink-mute: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);

  --accent: #FFFFFF;
  --accent-soft: rgba(255, 255, 255, 0.6);
  --ornament: rgba(255, 255, 255, 0.6);
  --star: #F5B83D;

  --display: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
}

/* ── Ground ─────────────────────────────────────────────────────────────── */
html, body { background: #000 !important; color: #fff; }
.theme-forest, .theme-bone, .theme-black { background: #000 !important; }
body { font-family: var(--sans); }

/* ── Type ───────────────────────────────────────────────────────────────── */
.display, h1.display, h2.display, h3.display {
  font-family: var(--display) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2.display { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; }
/* thediary.com never italicizes. Emphasis is weight, not slant. */
.display em, .display .italic, .italic, h1 em, h2 em, h3 em {
  font-style: normal !important;
  font-family: var(--display) !important;
  color: inherit;
}
.theme-forest .italic, .theme-forest em,
.theme-bone .italic, .theme-bone em,
.theme-black .italic, .theme-black em { color: #fff !important; }

.eyebrow {
  font-family: var(--sans) !important;
  font-weight: 600;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.eyebrow .dot { display: none !important; }
.section-index { opacity: 0.4; }

/* ── Buttons: white pills ───────────────────────────────────────────────── */
.btn {
  border-radius: 999px !important;
  font-family: var(--display) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  padding: 16px 28px;
  min-height: 48px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: #fff !important;
  color: #000 !important;
  border: 1.5px solid #fff !important;
  box-shadow: none !important;
}
.btn-primary:hover { background: #E6E6E6 !important; border-color: #E6E6E6 !important; transform: translateY(-1px); }
.btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
}
.btn-ghost::before { display: none !important; }
.btn-ghost:hover { background: #fff !important; color: #000 !important; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── Cards: white on black, like their product and review cards ──────────
   Re-scoping the ink tokens on the card is what makes this safe: every child
   that reads var(--ink) now reads black instead of white. */
.card, .paths-grid > .card {
  --ink: #0A0A0A;
  --ink-soft: rgba(10, 10, 10, 0.72);
  --ink-mute: rgba(10, 10, 10, 0.52);
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --accent: #0A0A0A;
  background: #fff !important;
  color: #0A0A0A !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.card::before { display: none !important; }
.card:hover { background: #fff !important; transform: translateY(-4px); }
.card .eyebrow { color: rgba(10, 10, 10, 0.55); }
.card .btn-primary { background: #000 !important; color: #fff !important; border-color: #000 !important; }
.card .btn-primary:hover { background: #222 !important; }
.card .btn-ghost { color: #000 !important; border-color: #000 !important; }
.card .btn-ghost:hover { background: #000 !important; color: #fff !important; }
.card .italic, .card em { color: #0A0A0A !important; }

/* Images: rounded, no glow. */
main img, main video, main figure { border-radius: var(--radius); }

/* Sections butt together cleanly on pure black; no glowing seams. */
main > section + section::before { display: none !important; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav-links a {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: #fff !important;
  opacity: 0.86;
}
.nav-links a:hover { opacity: 1; }
nav .btn { padding: 11px 18px !important; min-height: 40px; font-size: 12px !important; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero-diary {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 96px;
  overflow: hidden;
  background: #000;
}
.hero-diary-bg {
  position: absolute; inset: 0;
  background: url("uploads/Nick%20Ayala%20in%20New%20York.jpg") 72% 30% / cover no-repeat;
}
/* Dark fade, heaviest where the words sit (left and bottom), so the line
   stays readable over any part of the photo. */
.hero-diary-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.12) 72%, rgba(0,0,0,0.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 46%);
}
.hero-diary-inner { position: relative; z-index: 2; width: 100%; }
.hero-diary-kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.hero-diary-h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 13ch;
  margin: 0;
}
.hero-diary-h1 span { display: block; color: rgba(255,255,255,0.62); }
.hero-diary-sub {
  margin-top: 28px;
  max-width: 34ch;
  font-family: var(--sans);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}
.hero-diary-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-diary-note {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 760px) {
  .hero-diary { min-height: 88svh; padding: 140px 0 64px; }
  .hero-diary-bg { background-position: 78% 30%; }
  .hero-diary-fade {
    background:
      linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0.25) 100%);
  }
  .hero-diary-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Name band: the giant scrolling caps strip ──────────────────────────── */
.name-band {
  background: #000;
  padding: 48px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.name-band-track { display: flex; width: max-content; animation: nameband 42s linear infinite; }
.name-band-set { display: flex; flex-shrink: 0; }
.name-band-word {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(48px, 7.6vw, 116px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}
.name-band-sep { display: inline-block; margin: 0 0.45em; color: rgba(255,255,255,0.35); }
@keyframes nameband { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) {
  .name-band-track { animation: none; }
  .btn, .card { transition: none !important; }
}

/* Stars are the one color thediary.com allows. */
.stars, .star, [aria-label*="star" i] { color: var(--star) !important; }

/* ── Nav rules that used to live inside the old Hero's <style> block ─────
   Kept here so they survive the hero rewrite. */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-sig { filter: none !important; }
}
@media (max-width: 720px) {
  .nav-sig { height: 116px !important; margin: -31px 0 -45px !important; }
  .nav-book-full { display: none; }
  .nav-book-short { display: inline; }
}
@media (min-width: 721px) {
  .nav-book-full { display: inline; }
  .nav-book-short { display: none; }
}
/* At tablet widths the face sits behind the headline; push the photo right. */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-diary-bg { background-position: 88% 30%; }
  .hero-diary-fade {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.35) 100%),
      linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 46%);
  }
}

/* ── No cream sections. thediary.com is black top to bottom; light is
   reserved for the cards. .theme-shout flips to the same black ink set. */
.theme-shout {
  --bg: #000; --bg-elev: #000; --bg-card: #0F0F10;
  --ink: #FFFFFF; --ink-soft: rgba(255,255,255,0.74); --ink-mute: rgba(255,255,255,0.5);
  --line: rgba(255,255,255,0.12); --line-strong: rgba(255,255,255,0.24);
  --accent: #FFFFFF;
  background: #000 !important;
  color: #fff !important;
}
.theme-shout .glass { background: rgba(255,255,255,0.04); }
.theme-shout .italic, .theme-shout em { color: #fff !important; }

/* The first path card is the one door we want taken. Inverse of the others:
   black with a white rule, like a featured tile. Its text is hard-set light,
   so it must stay on a dark ground. */
.paths-grid > .card:first-child {
  --ink: #FFFFFF; --ink-soft: rgba(255,255,255,0.74); --ink-mute: rgba(255,255,255,0.5);
  --line: rgba(255,255,255,0.16); --accent: #FFFFFF;
  background: #000 !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
}
.paths-grid > .card:first-child .btn-primary { background: #fff !important; color: #000 !important; border-color: #fff !important; }

/* Review cards: white with black text and gold stars, as on thediary.com. */
.testi-grid > article {
  --ink: #0A0A0A; --ink-soft: rgba(10,10,10,0.74); --ink-mute: rgba(10,10,10,0.52);
  --line: rgba(0,0,0,0.1); --line-strong: rgba(0,0,0,0.2); --accent: #0A0A0A;
  background: #fff !important;
  color: #0A0A0A !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
}
.testi-grid > article strong, .testi-grid > article b { color: #000 !important; }

/* Press strip: plain black, white marks, no glow or shimmer. */
.press-band { background: #000 !important; box-shadow: none !important;
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.press-band > div[aria-hidden] { display: none !important; }

/* Every button-shaped link on the page is a pill, even the ones built inline. */
.paths-grid > .card a[style*="justify-content: center"],
.paths-grid > .card a[style*="justifyContent"] { border-radius: 999px !important; }
.testi-grid > article .eyebrow { color: rgba(10,10,10,0.55) !important; }
/* Initials avatars on white review cards: light circle, dark letters. */
.testi-grid > article { --bg-elev: #EFEFEF; }

/* The closing "Find your #1 bottleneck" band. Its text is hard-set dark for a
   light ground, so it stays light: a white block, like thediary.com's white
   feature panels. */
.theme-shout.teardown-band {
  --ink: #0E1012; --ink-soft: rgba(14,16,18,0.72); --ink-mute: rgba(14,16,18,0.5);
  --line: rgba(0,0,0,0.12); --accent: #0E1012;
  background: #fff !important;
  color: #0E1012 !important;
}
.teardown-band .teardown-btn { border-radius: 999px !important; background: #000 !important; color: #fff !important; }
.press-band .eyebrow, .press-band .eyebrow * { color: rgba(255,255,255,0.62) !important; }
