@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --font-display: "Rajdhani", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --ink: #111111;
  --paper: #ffffff;
  --white: #ffffff;
  --charcoal: #0b0b0d;
  --steel: #5e6268;
  --espresso: #111111;
  --ember: #e2231a;
  --gold: #ffd633;
  --sage: #2a2d31;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  /* Elegant dark fade — a deep, darkened wash of each block's --accent (near-black), not a bright glow. */
  --carbon-fiber: radial-gradient(135% 125% at 50% -16%, rgba(255,255,255,0.05) 0%, transparent 56%);
}

* {
  box-sizing: border-box;
}

/* ===== Motorsports display font: Racing Sans One (headings + labels) ===== */
h1, h2, h3, h4,
.eyebrow,
.brand-subtitle,
.site-nav a,
.button,
.buy-path h2,
.pp-banner-title,
.pp-bighead,
.pp-eyebrow,
.section-divider em {
  font-family: var(--font-display);
}
/* Racing Sans One ships one weight; ease the letter-spacing so it reads cleanly */
h1, h2, h3, h4, .pp-banner-title, .pp-bighead { letter-spacing: 0.01em; }
.eyebrow, .site-nav a, .button { letter-spacing: 0.03em; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 14px 34px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 48px;
  object-fit: contain;
  width: auto;
}

.brand-subtitle {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.12);
  display: none;
  flex-direction: column;
  left: 0;
  padding: 12px 34px 20px;
  position: absolute;
  right: 0;
  top: 76px;
}

.site-nav a {
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 750;
  padding: 10px 13px;
  text-decoration: none;
  width: 100%;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a:hover {
  background: rgba(216, 70, 39, 0.1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: block;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  background: var(--charcoal);
  color: var(--white);
  min-height: 92vh;
  overflow: hidden;
  padding: 150px 34px 44px;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.06)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.02) 55%);
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: 4.8rem;
  line-height: 0.94;
  margin: 0;
  max-width: 740px;
}

h2 {
  font-size: 3.1rem;
  line-height: 1;
  margin: 0 0 20px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

p {
  color: rgba(17, 17, 17, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.hero-copy {
  color: rgba(255,255,255,0.86);
  font-size: 1.2rem;
  line-height: 1.65;
  margin-top: 24px;
  max-width: 670px;
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

@property --neonA { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.button.primary {
  position: relative; isolation: isolate;
  background: #17131a;
  color: var(--white);
  border: 1px solid rgba(226,35,26,.55);
  border-radius: 11px;
  box-shadow: inset 0 -3px 0 #e2231a;
}
.button.primary:hover { background: #211c25; }
.button.primary::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--neonA), transparent 0 66%, #e2231a 78%, #ff8d82 87%, #e2231a 93%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(226,35,26,.7)); animation: ctaNeonRun 3.2s linear infinite; pointer-events: none; z-index: 2;
}
.button.primary.neon-gold { border-color: rgba(255,214,51,.55); box-shadow: inset 0 -3px 0 #ffd633; }
.button.primary.neon-gold::before {
  background: conic-gradient(from var(--neonA), transparent 0 66%, #e0a800 78%, #fff0a8 87%, #e0a800 93%, transparent 97%);
  filter: drop-shadow(0 0 6px rgba(255,200,40,.7));
}
@keyframes ctaNeonRun { to { --neonA: 360deg; } }
@media (prefers-reduced-motion: reduce) { .button.primary::before { animation: none; } }

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255,255,255,.62);
  color: var(--white);
}

.button.secondary.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.text-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  bottom: 34px;
  box-shadow: var(--shadow);
  color: var(--ink);
  max-width: 330px;
  padding: 24px;
  position: absolute;
  right: 34px;
  z-index: 3;
}

.hero-card span {
  color: var(--ember);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-card p {
  font-size: 0.94rem;
  margin-top: 10px;
}

.hero-scroll {
  border-bottom: 2px solid var(--gold);
  bottom: 36px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 950;
  left: 34px;
  padding-bottom: 7px;
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 3;
}

.hero-scroll::after {
  content: "↓";
  margin-left: 10px;
}

.quick-strip {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  grid-template-rows: repeat(2, minmax(220px, auto));
}

.quick-item {
  background:
    var(--carbon-fiber),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #141416;
  min-height: 230px;
  overflow: hidden;
  padding: 30px 34px;
  position: relative;
}

.quick-item::before {
  color: rgba(255,255,255,.26);
  content: "";
  font-size: 7rem;
  font-weight: 950;
  line-height: 0.8;
  position: absolute;
  right: 18px;
  top: 22px;
}

.quick-feature {
  grid-row: span 2;
  min-height: 460px;
  padding: 46px 42px;
}

.quick-feature::before {
  background:
    radial-gradient(circle at 38% 44%, rgba(226, 35, 26, 0.42), transparent 27%),
    radial-gradient(circle at 68% 26%, rgba(255, 204, 33, 0.2), transparent 20%);
  bottom: 0;
  left: 0;
  opacity: 0.9;
  right: 0;
  top: 0;
}

.quick-feature::after {
  height: 7px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quick-action::before {
  color: rgba(255,255,255,.26);
  content: "PICKUP";
  font-size: 3.1rem;
  letter-spacing: 0;
  right: 24px;
  top: 26px;
}

.quick-action.track::before {
  content: "EVENTS";
}

.quick-item::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
}

.quick-item.pickup::after {
  background: var(--ember);
}

.quick-item.track::after {
  background: var(--gold);
}

.quick-item small,
.quick-item strong,
.quick-item span,
.quick-item em {
  display: block;
  position: relative;
  z-index: 1;
}

.quick-item small {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.quick-item.pickup small {
  color: var(--ember);
}

.quick-item.track small {
  color: var(--gold);
}

.quick-item strong {
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 14px;
}

.quick-feature strong {
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  max-width: 820px;
}

.quick-item span {
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  max-width: 520px;
}

.quick-item em {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  margin-top: 26px;
  padding-top: 14px;
  text-transform: uppercase;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.quick-tags b,
.quick-action a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 950;
  min-height: 42px;
  padding: 12px 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-action a {
  align-self: flex-start;
  background: var(--ember);
  border-color: var(--ember);
  margin-top: 24px;
}

.quick-action.track a {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.buy-paths {
  background: var(--ink);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 560px));
  justify-content: center;
  padding: 26px 34px 66px;
}

.buy-path {
  align-items: center;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
  padding: 40px 30px 92px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.buy-path h2 {
  font-size: 2.6rem;
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.buy-path p {
  margin-left: auto;
  margin-right: auto;
}

.buy-path::before {
  content: "";
  inset: 0;
  opacity: 0.92;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.buy-path.pickup::before {
  background: url("xlr8-mobile-ordering-real.jpg") center / cover;
}

.buy-path.shipped::before {
  background: url("xlr8-beans-lineup.jpg") center / cover;
}

.buy-path::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.7) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.buy-path span,
.buy-path h2,
.buy-path p,
.buy-path strong {
  position: relative;
  z-index: 1;
}

.buy-path span {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.buy-path p {
  color: rgba(255,255,255,0.74);
  max-width: 520px;
}

.buy-path strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(9, 9, 11, 0.52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-top: 2px solid var(--ember);
  transition: background 0.25s ease, letter-spacing 0.25s ease;
}
.buy-path strong::after {
  content: "→";
  transition: transform 0.25s ease;
}
.buy-path:hover strong {
  background: var(--ember);
}
.buy-path:hover strong::after {
  transform: translateX(4px);
}

.buy-path:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

.specials-section {
  background: #151515;
  color: var(--white);
  padding: 92px 34px 86px;
}

.specials-intro {
  margin: 0 auto 58px;
  max-width: 880px;
  text-align: center;
}

.specials-intro h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.specials-intro p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
  margin: 0 auto;
  max-width: 720px;
}

.specials-intro .button {
  margin-top: 28px;
}

.specials-photo {
  margin: -18px auto 40px;
  max-width: 1120px;
  overflow: hidden;
  position: relative;
}

.specials-photo::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.specials-photo img {
  display: block;
  height: 430px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.specials-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.special-card {
  background: #202020;
  color: var(--white);
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.special-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  width: 100%;
}

.special-card::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.16) 68%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.special-card::after {
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.special-card,
.special-card img,
.special-card::before {
  border-radius: 48% 48% 0 0 / 22% 22% 0 0;
}

.special-card div {
  bottom: 0;
  left: 0;
  padding: 0 30px 36px;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 3;
}

.special-card span {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.special-card h3 {
  font-size: 2.05rem;
  line-height: 1;
  margin-bottom: 14px;
}

.special-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.98rem;
  line-height: 1.55;
}

.special-card-cutout {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #171717 0%, #262626 55%, #101010 100%);
}

.special-card-cutout img {
  filter: drop-shadow(0 28px 22px rgba(0, 0, 0, 0.44));
  height: calc(100% - 150px);
  inset: 18px 0 auto;
  margin: 0 auto;
  object-fit: contain;
  padding: 20px 34px 0;
  width: 100%;
}

.special-card-cutout::before {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 24%, rgba(0, 0, 0, 0.08) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 15px);
}

.special-card-cutout::after {
  border-color: rgba(255,255,255,.48);
}

.golden-hour-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(245, 199, 106, 0.28), transparent 34%),
    linear-gradient(145deg, #16120e 0%, #38240f 55%, #0d0d0d 100%);
}

.tropical-pitstop-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 227, 111, 0.3), transparent 34%),
    linear-gradient(145deg, #191006 0%, #6b1230 53%, #111111 100%);
}

.desert-apex-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 145, 64, 0.32), transparent 34%),
    linear-gradient(145deg, #170c08 0%, #7a230c 52%, #111111 100%);
}

.pit-pass-section {
  align-items: stretch;
  background: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  padding: 1px;
}

.pit-pass-copy,
.pit-pass-card {
  padding: 76px 34px;
}

.pit-pass-copy {
  background: var(--white);
}

.pit-pass-copy p:not(.eyebrow) {
  max-width: 720px;
}

.pit-pass-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 18px 18px,
    radial-gradient(circle at 50% 26%, rgba(226, 35, 26, 0.34), transparent 42%),
    linear-gradient(145deg, #1a1a1d 0%, #09090a 66%, #050505 100%),
    var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.pit-pass-card::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.42);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.pit-pass-card:hover .coffee-stream {
  animation-duration: 0.48s;
}

.pit-pass-card:hover .pump-window b {
  color: var(--gold);
}

.pass-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.pit-pass-card .pass-label,
.pass-status {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pass-status {
  color: rgba(255,255,255,0.82);
}

.fuel-reward {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

.coffee-fill-reward {
  justify-content: space-between;
  margin: 8px auto 0;
  max-width: 520px;
  width: 100%;
}

.classic-pump {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 16%, transparent 78%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, #f1352d 0%, #b90e12 56%, #690507 100%);
  border: 5px solid #050505;
  border-radius: 26px 26px 10px 10px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.16),
    0 28px 42px rgba(0, 0, 0, 0.48);
  height: 236px;
  padding: 46px 14px 18px;
  position: relative;
  width: 150px;
}

.classic-pump::before {
  background: linear-gradient(180deg, #eeeeee, #9b9b9b);
  border: 4px solid #050505;
  border-radius: 999px 999px 12px 12px;
  content: "";
  height: 52px;
  left: 40px;
  position: absolute;
  top: -42px;
  width: 62px;
}

.classic-pump::after {
  background: linear-gradient(180deg, #353535, #050505);
  border-radius: 0 7px 7px 0;
  content: "";
  height: 64px;
  position: absolute;
  right: -18px;
  top: 92px;
  width: 18px;
}

.pump-globe,
.pump-face,
.pump-window,
.pump-base {
  display: block;
  position: relative;
  z-index: 1;
}

.pump-globe {
  color: #050505;
  font-size: 0.74rem;
  font-weight: 950;
  left: 0;
  letter-spacing: 0.08em;
  position: absolute;
  right: 0;
  text-align: center;
  top: -23px;
  z-index: 2;
}

.pump-face {
  background: var(--white);
  border: 3px solid #050505;
  border-radius: 7px;
  padding: 8px;
  text-align: center;
}

.pump-face img {
  display: block;
  height: auto;
  width: 100%;
}

.pump-window {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 42%),
    #111111;
  border: 3px solid #050505;
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
  height: 78px;
  justify-content: center;
  margin-top: 12px;
  text-transform: uppercase;
}

.pump-window b {
  color: var(--white);
  font-size: 2.3rem;
  line-height: 0.9;
  transition: color 0.2s ease;
}

.pump-window small {
  color: var(--gold);
  font-family: inherit;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-top: 7px;
}

.pump-base {
  background: linear-gradient(180deg, #1d1d1d, #050505);
  bottom: -20px;
  height: 22px;
  left: -16px;
  position: absolute;
  right: -16px;
}

.pump-hose {
  border: 10px solid #050505;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 88px 0 0;
  height: 142px;
  left: 132px;
  position: absolute;
  top: 68px;
  width: 218px;
}

.pump-nozzle {
  background: linear-gradient(180deg, #f2c24d, #9f6d0c);
  border: 4px solid #050505;
  border-radius: 6px;
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.36);
  height: 31px;
  left: 330px;
  position: absolute;
  top: 176px;
  transform: rotate(18deg);
  width: 78px;
}

.pump-nozzle::after {
  background: #050505;
  content: "";
  height: 48px;
  position: absolute;
  right: -18px;
  top: 12px;
  transform: rotate(22deg);
  width: 13px;
}

.coffee-stream {
  animation: coffeePulse 0.9s ease-in-out infinite alternate;
  background: linear-gradient(180deg, #f0c869, #ce4c17 64%, #6b2409);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(241, 184, 75, 0.42);
  height: 86px;
  left: 397px;
  position: absolute;
  top: 212px;
  transform: rotate(10deg);
  width: 11px;
  z-index: 2;
}

.reward-mug {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(230, 230, 230, 0.92) 45%, rgba(150, 150, 150, 0.72)),
    var(--white);
  border: 5px solid #050505;
  border-radius: 12px 12px 30px 30px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.35),
    0 24px 36px rgba(0, 0, 0, 0.42);
  height: 132px;
  margin-top: 118px;
  overflow: hidden;
  position: relative;
  width: 170px;
}

.reward-mug::after {
  border: 5px solid #050505;
  border-left: 0;
  border-radius: 0 40px 40px 0;
  content: "";
  height: 64px;
  position: absolute;
  right: -42px;
  top: 28px;
  width: 44px;
}

.mug-fill {
  background: linear-gradient(180deg, #e6b456, #8c3d16);
  bottom: 0;
  height: 72%;
  left: 0;
  position: absolute;
  right: 0;
}

.mug-fill::before {
  background: rgba(255, 255, 255, 0.72);
  content: "";
  height: 12px;
  left: -10%;
  position: absolute;
  right: -10%;
  top: -5px;
  transform: rotate(-2deg);
}

.reward-mug strong {
  color: var(--white);
  display: block;
  font-size: 1.6rem;
  font-weight: 950;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  text-shadow: 0 2px 0 #050505, 0 0 14px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  top: 48px;
  z-index: 2;
}

.octane-meter {
  background: rgba(255, 255, 255, 0.12);
  height: 12px;
  margin: 26px 0 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.octane-meter span {
  background: linear-gradient(90deg, var(--gold), var(--ember));
  display: block;
  height: 100%;
}

.reward-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  position: relative;
  z-index: 1;
}

.reward-stats div {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 94px;
  padding: 15px;
}

.reward-stats strong {
  color: var(--white);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.reward-stats span {
  color: rgba(255,255,255,0.76);
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pass-cta {
  align-items: center;
  background: #17131a;
  color: #fff;
  border: 1px solid rgba(255,214,51,.55);
  border-radius: 11px;
  box-shadow: inset 0 -3px 0 #ffd633;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  display: flex;
  font-size: 0.9rem;
  font-weight: 950;
  justify-content: center;
  letter-spacing: 0.05em;
  margin-top: 18px;
  min-height: 48px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}
.pass-cta::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--neonA), transparent 0 66%, #e0a800 78%, #fff0a8 87%, #e0a800 93%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(255,200,40,.7)); animation: ctaNeonRun 3.2s linear infinite; pointer-events: none; z-index: 2;
}
@media (prefers-reduced-motion: reduce) { .pass-cta::before { animation: none; } }
.pass-cta:hover {
  background: #211c25;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(226, 35, 26, 0.5);
}

@keyframes coffeePulse {
  from {
    opacity: 0.62;
    transform: rotate(10deg) scaleY(0.82);
  }

  to {
    opacity: 1;
    transform: rotate(10deg) scaleY(1);
  }
}

.page-hero {
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 720px;
  padding-top: 76px;
}

.page-hero > div {
  align-self: center;
  padding: 72px 34px;
}

.page-hero h1 {
  font-size: 4rem;
  max-width: 680px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
  font-size: 1.16rem;
  margin: 24px 0 30px;
  max-width: 620px;
}

.page-hero img,
.page-hero-video {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.page-specials {
  padding-top: 150px;
}

.page-specials h1 {
  font-size: 4rem;
  line-height: 0.98;
  margin: 0 auto 22px;
  max-width: 900px;
}

.page-story {
  padding-top: 90px;
}

.page-story .story-inner {
  display: grid;
  gap: 22px;
}

.detail-section {
  background: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1px;
}

.detail-section article {
  background: var(--white);
  min-height: 280px;
  padding: 34px;
}

.detail-section span {
  color: var(--ember);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.detail-section h2 {
  font-size: 2rem;
}

.detail-section p {
  max-width: 520px;
}

.calendar-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 16px 16px,
    #080809;
  color: var(--white);
  padding: 82px 34px;
}

.calendar-intro {
  margin: 0 auto 34px;
  max-width: 980px;
  text-align: left;
}

.calendar-intro p:not(.eyebrow) {
  color: rgba(255,255,255,.85);
  margin: 0;
  max-width: 720px;
}

.calendar-shell {
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.32fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 1px;
}

.calendar-grid {
  background: #0d0d0f;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #151516;
  color: var(--white);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: 104px;
  overflow: hidden;
  padding: 10px;
  position: relative;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.calendar-day.has-event {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    var(--event-image) center / cover,
    #1b1b1d;
  min-height: 168px;
}

.calendar-day.has-event::after {
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember) 74%, var(--gold) 86%, var(--gold) 100%);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
}

.calendar-day time {
  color: rgba(255,255,255,.85);
  display: block;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-day strong {
  color: var(--white);
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  margin-top: 5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.52);
}

.calendar-day em {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  display: block;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding: 5px 6px;
  text-transform: uppercase;
}

.calendar-day span {
  color: rgba(255,255,255,.74);
  display: block;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.25;
  margin-top: auto;
  text-transform: uppercase;
}

.calendar-day.has-event span {
  color: var(--white);
  font-size: 0.78rem;
  margin-top: 8px;
  max-width: 150px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.calendar-list {
  background: #101012;
  color: var(--white);
  padding: 16px;
}

.calendar-list > span {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.calendar-event {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.44)),
    var(--event-image) center / cover,
    #171719;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
  min-height: 142px;
  padding: 16px;
  position: relative;
}

.calendar-event time {
  color: rgba(255,255,255,.82);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.calendar-event em {
  background: var(--ember);
  color: var(--white);
  display: inline-flex;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 950;
  margin-bottom: 10px;
  padding: 5px 7px;
  text-transform: uppercase;
}

.calendar-event strong {
  color: var(--white);
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.calendar-event p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 8px;
}

.shop-intro {
  align-items: end;
  background: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  padding: 86px 34px 42px;
}

.shop-intro h2 {
  margin-bottom: 0;
  max-width: 780px;
}

.roast-filter {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 34px 34px;
}

.roast-filter a {
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 11px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.roast-filter a:hover {
  background: var(--ink);
  color: var(--white);
}

.roast-shop {
  background: var(--paper);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 34px;
}

.roast-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 680px;
  padding: 28px;
}

.roast-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.roast-top span {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roast-top strong {
  color: var(--espresso);
  white-space: nowrap;
}

.roast-card h2 {
  margin-bottom: 14px;
}

.roast-card h2 a {
  text-decoration: none;
}

.roast-notes {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.roast-notes div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.roast-notes dt {
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.roast-notes dd {
  color: rgba(17, 17, 17, 0.72);
  margin: 0;
}

.bean-options {
  display: grid;
  gap: 13px;
  margin-top: auto;
}

.bean-options label {
  color: rgba(17, 17, 17, 0.72);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.bean-options select {
  appearance: none;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  min-height: 48px;
  padding: 0 14px;
  text-transform: none;
}

.bean-options button {
  background: var(--ember);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 50px;
  text-transform: uppercase;
}

.bean-options button:hover {
  background: var(--ink);
}

.product-link {
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 13px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.product-link:hover {
  background: var(--ink);
  color: var(--white);
}

.merch-strip {
  border-top: 1px solid var(--line);
}

.product-page {
  background: var(--white);
  padding-top: 76px;
}

.product-hero {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 28px) 24px clamp(10px, 2vw, 18px);
  text-align: center;
}
.product-hero .product-buy { padding: 0; align-items: center; text-align: center; background: transparent; }
.product-hero .product-rating, .product-hero .product-price { justify-content: center; }
.product-hero .shipping-note { max-width: 560px; margin-left: auto; margin-right: auto; }

.product-media {
  align-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 204, 33, 0.24), transparent 31%),
    linear-gradient(145deg, #f6f6f6, #d4d4d4);
  display: flex;
  min-height: 760px;
  padding: 34px;
}

.product-gallery {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 660px;
  width: 100%;
}

.product-stage {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.2)),
    rgba(17, 17, 17, 0.08);
  display: flex;
  justify-content: center;
  min-height: 610px;
  overflow: hidden;
  padding: 44px 26px;
  perspective: 1200px;
  position: relative;
}

.product-stage::before {
  background: rgba(17, 17, 17, 0.08);
  bottom: 76px;
  content: "";
  filter: blur(20px);
  height: 44px;
  left: 25%;
  position: absolute;
  right: 25%;
}

.coffee-bag {
  animation: bagTurntable 9s ease-in-out infinite;
  background:
    var(--carbon-fiber),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, #111111, #2a2a2a 64%, #141414);
  box-shadow: 0 34px 52px rgba(0, 0, 0, 0.28);
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: min(520px, 72vw);
  justify-content: space-between;
  max-height: 540px;
  max-width: 360px;
  min-height: 430px;
  padding: 42px 34px 34px;
  position: relative;
  width: min(72%, 360px);
  z-index: 1;
}

.product-stage:hover .coffee-bag {
  animation-play-state: paused;
}

@keyframes bagTurntable {
  0% {
    transform: rotateY(-12deg) rotateX(1deg);
  }

  50% {
    transform: rotateY(12deg) rotateX(1deg);
  }

  100% {
    transform: rotateY(-12deg) rotateX(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-bag {
    animation: none;
  }
}

.coffee-bag::before {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  inset: 16px;
  position: absolute;
}

.coffee-bag::after {
  background: var(--ember);
  content: "";
  height: 36%;
  inset: auto 0 0;
  position: absolute;
}

.bag-tag,
.coffee-bag strong,
.coffee-bag em,
.coffee-bag small {
  position: relative;
  z-index: 1;
}

.bag-tag {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.coffee-bag strong {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.86;
  margin-top: auto;
  text-transform: uppercase;
}

.coffee-bag em {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
  margin-top: 20px;
  text-transform: uppercase;
}

.coffee-bag small {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 950;
  margin-top: 42px;
  text-transform: uppercase;
}

.product-light .coffee-bag::after {
  background: linear-gradient(135deg, var(--gold), #fff2a3);
}

.product-medium .coffee-bag::after {
  background: linear-gradient(135deg, #760d08, var(--ember));
}

.product-espresso .coffee-bag::after {
  background: linear-gradient(135deg, #080808, var(--ember));
}

.product-dark .coffee-bag::after {
  background: linear-gradient(135deg, #050505, #3a3a3a);
}

.gallery-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-thumbs span {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.14);
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 52px;
  padding: 16px 12px;
  text-align: center;
  text-transform: uppercase;
}

.product-buy {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 42px;
}

.product-buy h1 {
  font-size: 4.4rem;
  line-height: 0.95;
}

.product-buy > p:not(.eyebrow):not(.product-notes) {
  margin-top: 20px;
}

.product-notes {
  color: var(--ember);
  font-size: 1rem;
  font-weight: 900;
  margin-top: 20px;
  text-transform: uppercase;
}

.product-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-rating span {
  background: rgba(216, 70, 39, 0.1);
  border: 1px solid rgba(216, 70, 39, 0.26);
  color: var(--espresso);
  font-size: 0.76rem;
  font-weight: 950;
  padding: 8px 10px;
  text-transform: uppercase;
}

.product-price {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--espresso);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 28px 0;
  padding: 18px 0;
}

.product-price span,
.product-price small {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-price small {
  display: block;
  margin-top: 6px;
}

.product-options {
  display: grid;
  gap: 20px;
}

.product-options fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.product-options legend {
  color: rgba(17, 17, 17, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.choice {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.18);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  margin: 0 7px 8px 0;
  min-height: 42px;
  padding: 0 14px;
}

.purchase-type {
  display: grid;
  gap: 8px;
}

.purchase-type .choice {
  margin: 0;
  min-height: 52px;
  width: 100%;
}

.choice.is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.qty-row {
  align-items: center;
  display: inline-flex;
  gap: 0;
}

.qty-row button,
.qty-row span {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.18);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  min-width: 44px;
}

.qty-row button {
  cursor: pointer;
}

.add-product {
  background: var(--ember);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  min-height: 54px;
  text-transform: uppercase;
}

.add-product:hover {
  background: var(--ink);
}

.shipping-note {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-grid {
  background: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 1px;
}

.profile-grid article {
  background: #202020;
  color: var(--white);
  min-height: 150px;
  padding: 22px;
}

.profile-grid span {
  color: var(--gold);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.profile-grid strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
}

.product-story {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: 88px 34px;
}

.product-story p:not(.eyebrow) {
  font-size: 1.16rem;
}

.section {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 96px 34px;
}

.section-copy {
  align-self: center;
  max-width: 680px;
}

.media-panel {
  align-self: stretch;
  background: #151515;
  min-height: 430px;
  overflow: hidden;
}

.media-panel img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-panel.tall {
  min-height: 620px;
}

.split-section {
  background: var(--white);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.menu-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.menu-grid article {
  border-top: 1px solid var(--line);
  padding: 18px 0 4px;
}

.menu-grid span {
  color: var(--ember);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.menu-grid p {
  font-size: 0.95rem;
}

.story-band {
  background:
    var(--carbon-fiber),
    var(--ink);
  color: var(--white);
  padding: 112px 34px;
}

.story-inner {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.story-inner p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
  font-size: 1.18rem;
}

.events-section {
  background: var(--white);
}

.event-board {
  display: grid;
  gap: 16px;
}

.event-board article {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78)),
    var(--event-card-image) center / cover,
    #111111;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.14);
  color: var(--white);
  min-height: 190px;
  padding: 22px;
  position: relative;
}

.event-board article:nth-child(1) {
  --event-card-image: url("xlr8-event-trailer-flags.jpg");
}

.event-board article:nth-child(2) {
  --event-card-image: url("xlr8-event-coffee-shop-sign.jpg");
}

.event-board article:nth-child(3) {
  --event-card-image: url("xlr8-event-red-car.jpg");
}

.event-board article:nth-child(4) {
  --event-card-image: url("xlr8-event-hot-cup.jpg");
}

.event-board article::after {
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember) 74%, var(--gold) 86%, var(--gold) 100%);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.event-board span {
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  padding: 5px 7px;
  text-transform: uppercase;
}

.event-board strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.74);
}

.event-board p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

.gallery-section {
  align-items: center;
  background:
    var(--carbon-fiber),
    var(--ink);
  color: var(--white);
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  padding: 34px;
}

.gallery-section img {
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.gallery-section div {
  max-width: 620px;
}

.gallery-section p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
}

.visit-section {
  background: var(--white);
}

.visit-card {
  align-self: center;
  background:
    var(--carbon-fiber),
    var(--ink);
  color: var(--white);
  padding: 34px;
}

.visit-card dl {
  display: grid;
  gap: 18px;
  margin: 24px 0 28px;
}

.visit-card div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
}

.visit-card dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.visit-card dd {
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* ---------- Interactive About / Story ---------- */
.about-page {
  background: var(--white);
}

.about-hero,
.about-close {
  color: var(--white);
  min-height: min(860px, 92vh);
  overflow: hidden;
  position: relative;
}

.about-hero > img,
.about-close > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.about-hero > img {
  object-position: center 44%;
}

.about-hero-shade,
.about-close-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.08) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 45%);
  inset: 0;
  position: absolute;
}

.about-hero-copy,
.about-close-copy {
  max-width: 780px;
  padding: 190px 34px 80px;
  position: relative;
  z-index: 1;
}

.about-hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.89;
  max-width: 760px;
}

.about-hero-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,0.82);
  font-size: 1.16rem;
  margin: 28px 0;
  max-width: 610px;
}

.story-jump {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-weight: 950;
  gap: 12px;
  margin-top: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.story-jump span {
  color: var(--gold);
  font-size: 1.5rem;
}

.origin-section {
  background: #0b0b0c;
  color: var(--white);
  padding: 110px 34px;
}

.origin-heading {
  margin-bottom: 42px;
  max-width: 720px;
}

.origin-heading p:not(.eyebrow) {
  color: rgba(255,255,255,.85);
}

.origin-experience {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1260px;
}

.origin-tabs {
  background: #151517;
  display: flex;
  flex-direction: column;
}

.origin-tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255,255,255,.84);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  min-height: 105px;
  padding: 18px 22px;
  text-align: left;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.origin-tab span {
  color: var(--gold);
  display: block;
  font-size: 0.68rem;
  margin-bottom: 9px;
}

.origin-tab:hover,
.origin-tab.is-active {
  background: var(--ember);
  color: var(--white);
}

.origin-tab.is-active span {
  color: var(--white);
}

.origin-stage {
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.origin-stage > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: opacity 0.22s ease, transform 0.55s ease;
  width: 100%;
}

.origin-stage.is-changing > img {
  opacity: 0.35;
  transform: scale(1.025);
}

.origin-stage-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 70%);
  inset: 0;
  position: absolute;
}

.origin-stage article {
  bottom: 0;
  max-width: 720px;
  padding: 40px;
  position: absolute;
  z-index: 1;
}

.origin-stage article > span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.origin-stage h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  margin: 10px 0 16px;
}

.origin-stage p {
  color: rgba(255,255,255,0.82);
  font-size: 1.06rem;
}

.tyler-section {
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.tyler-photo {
  min-height: 820px;
  overflow: hidden;
  position: relative;
}

.tyler-photo::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.tyler-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.profile-number {
  color: rgba(255,255,255,.58);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
  position: absolute;
  right: 28px;
  top: 30px;
  z-index: 1;
}

.profile-caption {
  bottom: 34px;
  color: var(--white);
  left: 34px;
  position: absolute;
  z-index: 1;
}

.profile-caption span,
.profile-caption strong {
  display: block;
}

.profile-caption span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-caption strong {
  font-size: 1.45rem;
  margin-top: 6px;
  text-transform: uppercase;
}

.tyler-copy {
  align-self: center;
  padding: 84px 48px;
}

.tyler-copy h2 {
  font-size: clamp(3.3rem, 6vw, 6rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.tyler-role {
  border-bottom: 1px solid var(--line);
  color: var(--ember);
  font-size: 0.9rem;
  font-weight: 950;
  margin: 18px 0 28px;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.tyler-copy > p:not(.eyebrow):not(.tyler-role) {
  color: rgba(17, 17, 17, 0.76);
  margin-bottom: 18px;
}

.profile-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 950;
  justify-content: space-between;
  margin-top: 30px;
  min-height: 54px;
  padding: 0 18px;
  text-transform: uppercase;
  width: 100%;
}

.profile-toggle span {
  color: var(--gold);
  font-size: 1.5rem;
}

.profile-facts {
  background: #101012;
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-facts[hidden] {
  display: none;
}

.profile-facts div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 105px;
  padding: 18px;
}

.profile-facts span,
.profile-facts strong {
  display: block;
}

.profile-facts span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.story-paths {
  background: #080809;
  min-height: 100vh;
  overflow: hidden;
  padding: 110px 34px 34px;
  perspective: 1800px;
  position: relative;
}

/* ---------- Rotating story wheel ---------- */
.story-wheel-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(240px, 0.72fr) minmax(420px, 1.15fr) minmax(280px, 0.8fr);
  padding-bottom: 70px;
}

.story-wheel-copy h1 {
  color: var(--white);
  font-size: clamp(3rem, 5.2vw, 6.5rem);
  line-height: 0.86;
  max-width: 650px;
  text-transform: uppercase;
}

.story-wheel-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-top: 24px;
  max-width: 520px;
}

.story-wheel-controls {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.story-wheel-controls button {
  align-items: center;
  background: #18181a;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.4rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.story-wheel-controls button:hover,
.story-wheel-controls button:focus-visible {
  background: var(--ember);
  border-color: var(--ember);
}

.story-wheel-controls span {
  color: rgba(255,255,255,.7);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-wheel-controls b { color: var(--gold); }

.story-wheel-stage {
  aspect-ratio: 1;
  margin-inline: auto;
  max-width: 720px;
  position: relative;
  width: 100%;
}

.story-wheel-marker {
  left: 50%;
  position: absolute;
  top: -17px;
  transform: translateX(-50%);
  z-index: 8;
}

.story-wheel-marker::before {
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--gold);
  content: "";
  display: block;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.8));
}

.story-wheel-marker span {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(255,204,0,0.38);
  display: block;
  height: 4px;
  margin: -2px auto 0;
  width: 70px;
}

.story-wheel {
  --wheel-counter: 0deg;
  --wheel-counter-drag: 0deg;
  --wheel-drag: 0deg;
  --wheel-rotation: 0deg;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #141416 0 21%, transparent 21.5%),
    radial-gradient(circle, transparent 0 59%, #9a9a9d 59.5% 61%, #303033 61.5% 69%, #080809 69.5%),
    repeating-conic-gradient(from 4deg, #09090a 0deg 5deg, #202023 5deg 9deg, #0b0b0c 9deg 14deg);
  border: clamp(25px, 4.4vw, 52px) solid #09090a;
  border-radius: 50%;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.78),
    0 0 0 3px #29292b,
    inset 0 0 0 6px #0a0a0b,
    inset 0 0 0 10px #777,
    inset 0 0 45px #000;
  cursor: grab;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  transform: rotate(calc(var(--wheel-rotation) + var(--wheel-drag)));
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
  -webkit-user-select: none; user-select: none;
}

.story-wheel.is-dragging {
  cursor: grabbing;
  transition: none;
}

.story-wheel-rim {
  background:
    radial-gradient(circle, transparent 0 66%, rgba(255,255,255,0.18) 66.4% 67%, transparent 67.4%),
    repeating-conic-gradient(from 2deg, transparent 0deg 7deg, rgba(255,255,255,0.11) 7.5deg 8deg, transparent 8.5deg 15deg);
  border: clamp(7px, 1.25vw, 15px) solid #29292c;
  border-radius: 50%;
  inset: 0;
  outline: 3px solid #8d8d90;
  outline-offset: -4px;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

.story-wheel-spokes {
  inset: 18%;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.story-wheel-spokes i {
  background: linear-gradient(180deg, #111 0%, #737376 24%, #29292c 58%, #080809 100%);
  box-shadow: 0 0 0 3px #080808, 0 5px 12px rgba(0,0,0,0.75);
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 72%);
  height: 15%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: 0 50%;
  width: 58%;
}

.story-wheel-spokes i:nth-child(1) { transform: rotate(45deg); }
.story-wheel-spokes i:nth-child(2) { transform: rotate(135deg); }
.story-wheel-spokes i:nth-child(3) { transform: rotate(225deg); }
.story-wheel-spokes i:nth-child(4) { transform: rotate(315deg); }

.story-wheel-chapter {
  align-items: center;
  background: linear-gradient(140deg, #929295, #202023 42%, #070708 78%, #747477);
  border: 0;
  clip-path: polygon(22% 0, 78% 0, 100% 34%, 82% 100%, 18% 100%, 0 34%);
  color: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 30%;
  justify-content: flex-end;
  left: 31%;
  overflow: hidden;
  padding: 18px 10px;
  position: absolute;
  text-align: center;
  top: 7%;
  transform: rotate(var(--chapter-angle));
  transform-origin: 50% 143.333%;
  transition: filter 250ms ease, transform 650ms cubic-bezier(.2,.8,.2,1);
  width: 38%;
  z-index: 2;
}

.story-wheel-chapter img {
  clip-path: polygon(22% 0, 78% 0, 100% 34%, 82% 100%, 18% 100%, 0 34%);
  height: calc(100% - 10px);
  left: 5px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  position: absolute;
  top: 5px;
  width: calc(100% - 10px);
}

.story-wheel-chapter::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 34%, rgba(0,0,0,0.82) 100%);
  clip-path: inherit;
  content: "";
  inset: 5px;
  pointer-events: none;
  position: absolute;
}

.story-wheel.is-dragging .story-wheel-chapter { transition: none; }

.story-wheel-chapter span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  position: relative;
  text-shadow: 0 2px 5px #000;
  z-index: 2;
}

.story-wheel-chapter strong {
  font-size: clamp(0.9rem, 1.7vw, 1.35rem);
  text-transform: uppercase;
  position: relative;
  text-shadow: 0 2px 7px #000;
  z-index: 2;
}

.story-wheel-chapter.is-active {
  background: linear-gradient(140deg, #ffe75a, var(--gold) 34%, #7a5700 77%, #fff09b);
  filter: brightness(1.18) drop-shadow(0 0 10px rgba(255,204,0,0.55));
}

.story-wheel-chapter:hover img,
.story-wheel-chapter:focus-visible img,
.story-wheel-chapter.is-active img {
  filter: brightness(1.12) saturate(1.08);
}

.story-wheel-hub {
  align-items: center;
  background: radial-gradient(circle at 38% 32%, #777, #242426 35%, #080808 72%);
  border: 7px solid #080808;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #666, 0 10px 25px rgba(0,0,0,0.8);
  display: flex;
  height: 24%;
  justify-content: center;
  left: 38%;
  padding: 4%;
  position: absolute;
  top: 38%;
  width: 24%;
  z-index: 6;
}

.story-wheel-hub::before {
  background:
    radial-gradient(circle at 50% 13%, #d0d0d2 0 4%, #111 4.5% 7%, transparent 7.5%),
    radial-gradient(circle at 85% 40%, #d0d0d2 0 4%, #111 4.5% 7%, transparent 7.5%),
    radial-gradient(circle at 72% 81%, #d0d0d2 0 4%, #111 4.5% 7%, transparent 7.5%),
    radial-gradient(circle at 28% 81%, #d0d0d2 0 4%, #111 4.5% 7%, transparent 7.5%),
    radial-gradient(circle at 15% 40%, #d0d0d2 0 4%, #111 4.5% 7%, transparent 7.5%);
  border-radius: 50%;
  content: "";
  inset: 4px;
  pointer-events: none;
  position: absolute;
}

.story-wheel-hub img {
  filter: drop-shadow(0 2px 2px #000);
  transform: rotate(calc(var(--wheel-counter) + var(--wheel-counter-drag)));
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
  position: relative;
  width: 82%;
  z-index: 2;
}

.story-wheel.is-dragging .story-wheel-hub img { transition: none; }

.story-wheel-drag-note {
  color: rgba(255,255,255,.62);
  font-size: 0.67rem;
  font-weight: 900;
  margin-top: 14px;
  text-align: center;
  text-transform: uppercase;
}

/* The photographed Toyota wheel is the real selector base. */
.story-wheel-photo-stage {
  aspect-ratio: 1;
  background: #07151d;
  box-shadow: 0 35px 80px rgba(0,0,0,0.65);
  max-width: 680px;
  overflow: hidden;
}

.story-wheel-base-photo {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.story-wheel-photo-stage::after {
  background: linear-gradient(90deg, rgba(0,0,0,0.12), transparent 35% 78%, rgba(0,0,0,0.24));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.story-wheel-photo-stage .story-wheel-marker {
  left: 50%;
  top: 4.5%;
  z-index: 8;
}

.story-wheel-photo-stage .story-wheel-marker::before {
  border-left-width: 10px;
  border-right-width: 10px;
  border-top-width: 20px;
}

.story-wheel-photo-stage .story-wheel-marker span {
  height: 3px;
  width: 52px;
}

.story-wheel-photo-rotor {
  --wheel-counter: 0deg;
  --wheel-counter-drag: 0deg;
  --wheel-drag: 0deg;
  --wheel-rotation: 0deg;
  aspect-ratio: 1;
  cursor: grab;
  border-radius: 50%;
  left: 6.25%;
  overflow: hidden;
  position: absolute;
  top: 6.25%;
  touch-action: pan-y;
  transform: rotate(calc(var(--wheel-rotation) + var(--wheel-drag)));
  transition: transform 720ms cubic-bezier(.18,.82,.18,1);
  -webkit-user-select: none; user-select: none;
  width: 87.5%;
  z-index: 2;
}

.story-wheel-photo-rotor.is-dragging {
  cursor: grabbing;
  transition: none;
}

.story-wheel-photo-rotor .story-wheel-chapter {
  background: transparent;
  clip-path: polygon(50% 50%, 26% 0, 74% 0);
  height: 100%;
  inset: 0;
  left: 0;
  padding: 0;
  top: 0;
  transform: rotate(var(--chapter-angle));
  transform-origin: 50% 50%;
  width: 100%;
}

.story-wheel-photo-rotor .story-wheel-chapter:hover,
.story-wheel-photo-rotor .story-wheel-chapter:focus-visible {
  outline: none;
}

.story-wheel-photo-rotor .story-wheel-chapter:hover::after,
.story-wheel-photo-rotor .story-wheel-chapter:focus-visible::after {
  background: rgba(255, 204, 0, 0.14);
  box-shadow: inset 0 0 0 2px rgba(255, 204, 0, 0.72);
}

.story-wheel-photo-rotor .story-wheel-chapter.is-active::after {
  background: rgba(255, 204, 0, 0.1);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.story-wheel-photo-rotor .story-wheel-chapter img {
  filter: brightness(0.82) saturate(0.9) contrast(1.06);
  height: 100%;
  left: 0;
  object-fit: cover;
  top: 0;
  transform: rotate(calc(var(--chapter-counter) + var(--wheel-counter) + var(--wheel-counter-drag))) scale(1.35);
  transition: filter 220ms ease, transform 720ms cubic-bezier(.18,.82,.18,1);
  width: 100%;
}

.story-wheel-photo-rotor .story-wheel-chapter::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.5), transparent 18% 82%, rgba(0,0,0,0.5)),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%, rgba(0,0,0,0.48));
  inset: 0;
}

.story-wheel-photo-rotor.is-dragging .story-wheel-chapter img { transition: none; }

.story-wheel-photo-rotor .story-wheel-chapter.is-active {
  background: transparent;
  filter: none;
}

.story-wheel-photo-rotor .story-wheel-chapter:hover img,
.story-wheel-photo-rotor .story-wheel-chapter:focus-visible img,
.story-wheel-photo-rotor .story-wheel-chapter.is-active img {
  filter: brightness(1.04) saturate(1.05) contrast(1.04);
}

.story-wheel-foreground-mask {
  height: 100%;
  inset: 0;
  object-fit: contain;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 7;
}

.story-wheel-photo-stage .story-wheel-drag-note {
  background: rgba(0,0,0,0.72);
  bottom: 18px;
  color: rgba(255,255,255,0.78);
  left: 50%;
  margin: 0;
  padding: 8px 12px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

.story-wheel-feature {
  color: var(--white);
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.story-wheel-feature::after {
  background: linear-gradient(0deg, rgba(0,0,0,0.96), rgba(0,0,0,0.03) 70%);
  content: "";
  inset: 0;
  position: absolute;
}

.story-wheel-feature > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: opacity 180ms ease, transform 450ms ease;
  width: 100%;
}

.story-wheel-feature.is-changing > img { opacity: 0.35; transform: scale(1.025); }

.story-wheel-feature > div {
  bottom: 0;
  padding: 30px;
  position: absolute;
  z-index: 2;
}

.story-wheel-feature h2 {
  font-size: clamp(2.2rem, 3.2vw, 4rem);
  line-height: 0.9;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.story-wheel-feature p:not(.eyebrow) {
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .story-wheel-section { grid-template-columns: minmax(240px, 0.65fr) minmax(430px, 1.1fr); }
  .story-wheel-feature { grid-column: 1 / -1; min-height: 460px; }
}

@media (max-width: 760px) {
  .story-wheel-section { display: block; padding: 108px 18px 48px; }
  .story-wheel-copy h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .story-wheel-stage { margin: 54px auto 40px; max-width: 560px; }
  .story-wheel-feature { min-height: 500px; }
  .story-wheel-chapter { border-width: 2px; padding: 8px 4px; }
  .story-wheel-chapter strong { font-size: 0.72rem; }
}

.story-book-shell {
  min-height: calc(100vh - 144px);
  position: relative;
}

.story-book-cover {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
  transform-style: preserve-3d;
  width: 100%;
  z-index: 4;
}

.story-cover-half {
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent),
    var(--carbon-fiber),
    #151517;
  border: 1px solid rgba(255,255,255,0.12);
  bottom: 0;
  box-shadow: 0 35px 90px rgba(0,0,0,0.7), inset 0 0 0 8px rgba(0,0,0,0.45);
  position: absolute;
  top: 0;
  transition: transform 950ms cubic-bezier(.2,.72,.18,1), opacity 450ms ease 600ms;
  width: 50%;
}

.story-cover-left {
  border-left: 10px solid var(--ember);
  left: 0;
  transform-origin: left center;
}

.story-cover-right {
  border-right: 10px solid var(--ember);
  right: 0;
  transform-origin: right center;
}

.story-book-cover::after {
  background: var(--ember);
  box-shadow: 0 0 30px rgba(226,35,26,0.45);
  content: "";
  height: 100%;
  left: calc(50% - 3px);
  position: absolute;
  top: 0;
  transition: opacity 300ms ease 350ms;
  width: 6px;
}

.story-cover-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 40px;
  position: absolute;
  text-align: center;
  transition: opacity 240ms ease, transform 500ms ease;
  z-index: 2;
}

.story-cover-content img {
  margin-bottom: 34px;
  max-width: 330px;
  width: 46vw;
}

.story-cover-content small,
.story-cover-content em {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.story-cover-content strong {
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  line-height: 0.82;
  margin: 24px 0 38px;
  text-transform: uppercase;
}

.story-cover-content em {
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
  padding: 15px 22px;
}

.story-book-shell.is-open .story-cover-left {
  opacity: 0;
  transform: rotateY(-108deg);
}

.story-book-shell.is-open .story-cover-right {
  opacity: 0;
  transform: rotateY(108deg);
}

.story-book-shell.is-open .story-book-cover::after,
.story-book-shell.is-open .story-cover-content {
  opacity: 0;
  pointer-events: none;
}

.story-book-shell.is-open .story-book-cover {
  pointer-events: none;
}

.story-book-shell.is-open .story-cover-content {
  transform: scale(0.94);
}

.story-book-world {
  opacity: 0;
  padding: 12px 0 34px;
  transform: scale(0.92);
  transition: opacity 500ms ease 520ms, transform 700ms ease 420ms;
}

.story-book-shell.is-open .story-book-world {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .story-cover-half,
  .story-cover-content,
  .story-book-world {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
}

.story-paths-heading {
  margin-bottom: 44px;
  max-width: 900px;
}

.story-paths-heading h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.story-path-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-path {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(45vh, 470px);
  overflow: hidden;
  padding: 32px;
  position: relative;
  text-decoration: none;
}

.origin-page {
  background: #0b0b0c;
  min-height: 100vh;
  padding-top: 76px;
}

.origin-page .origin-section {
  padding-top: 76px;
}

.origin-page .origin-heading h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.origin-page-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin: 34px auto 0;
  max-width: 1260px;
}

.story-path::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.08) 72%);
  content: "";
  inset: 0;
  position: absolute;
}

.story-path > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 500ms ease;
  width: 100%;
}

.story-path:hover > img,
.story-path:focus-visible > img {
  transform: scale(1.035);
}

.story-path > span,
.story-path h3,
.story-path p,
.story-path strong {
  position: relative;
  z-index: 1;
}

.story-path > span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.story-path h3 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.92;
  margin: 12px 0 14px;
  text-transform: uppercase;
}

.story-path p {
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
  max-width: 430px;
}

.story-path strong {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 22px;
  padding-top: 18px;
  text-transform: uppercase;
}

.tyler-page {
  background: #09090a;
}

.tyler-profile-hero {
  color: var(--white);
  min-height: min(900px, 94vh);
  overflow: hidden;
  position: relative;
}

.tyler-profile-hero > img,
.tyler-profile-hero > video,
.tyler-profile-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tyler-profile-hero > img,
.tyler-profile-hero > video {
  object-fit: cover;
  object-position: center 38%;
}

.tyler-profile-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.08)), linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 52%);
}

.tyler-profile-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 160px 34px 68px;
  position: relative;
  z-index: 1;
}

.tyler-profile-hero-copy h1 {
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.72;
  text-transform: uppercase;
}

.tyler-profile-hero-copy > p:not(.eyebrow) {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 950;
  margin-top: 28px;
  text-transform: uppercase;
}

.tyler-profile-intro {
  background: #0b0b0d;
  color: #f4ece2;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  padding: clamp(64px,8vw,96px) 34px;
}

.tyler-profile-intro h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.tyler-profile-intro > div:last-child {
  align-self: end;
}

.tyler-profile-intro > div:last-child p {
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
  margin-top: 18px;
}

.tyler-next {
  align-items: end;
  background: var(--carbon-fiber), #121214;
  color: var(--white);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 88px 34px;
}

.tyler-next h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.94;
  max-width: 760px;
  text-transform: uppercase;
}

.tyler-page .eyebrow { color: var(--gold); }
.tyler-timeline {
  background: #09090a;
  color: var(--white);
  overflow: hidden;
  padding: 100px 34px 76px;
}

.tyler-timeline-heading {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  margin-bottom: 42px;
}

.tyler-timeline-heading h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 0.94;
  max-width: 900px;
  text-transform: uppercase;
}

.tyler-timeline-heading > p {
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  max-width: 430px;
}

.tyler-timeline-stage {
  height: min(68vw, 720px);
  min-height: 500px;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none; user-select: none;
}

.tyler-timeline-stage > img,
.tyler-timeline-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tyler-timeline-stage > img {
  object-fit: cover;
  object-position: center;
  transition: opacity 180ms ease, transform 700ms ease;
}

.tyler-timeline-stage.is-changing > img {
  opacity: 0.24;
  transform: scale(1.025);
}

.tyler-timeline-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.04)), linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 50%);
}

.tyler-timeline-stage article {
  bottom: 48px;
  left: 42px;
  max-width: 680px;
  position: absolute;
  z-index: 1;
}

.tyler-timeline-stage article > span,
.tyler-timeline-stage article > p:first-of-type {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tyler-timeline-stage article > p:first-of-type {
  color: rgba(255,255,255,.85);
  margin-top: 5px;
}

.tyler-timeline-stage h3 {
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.88;
  margin: 14px 0 18px;
  text-transform: uppercase;
}

.tyler-timeline-stage article > p:last-child {
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 590px;
}

.tyler-timeline-rail {
  cursor: grab;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  margin-top: 34px;
  min-width: 720px;
  position: relative;
  touch-action: pan-y;
}

.tyler-timeline-rail:active {
  cursor: grabbing;
}

.tyler-timeline-rail::before,
.tyler-timeline-progress {
  height: 2px;
  left: 0;
  position: absolute;
  top: 8px;
}

.tyler-timeline-rail::before {
  background: rgba(255, 255, 255, 0.2);
  content: "";
  right: 20%;
}

.tyler-timeline-progress {
  background: var(--ember);
  transition: width 220ms ease;
  width: 0;
}

.tyler-timeline-rail button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.66);
  cursor: pointer;
  min-width: 0;
  padding: 0 16px 0 0;
  position: relative;
  text-align: left;
}

.tyler-timeline-rail button i {
  background: #09090a;
  border: 2px solid rgba(255, 255, 255, 0.42);
  display: block;
  height: 18px;
  margin-bottom: 18px;
  position: relative;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  width: 18px;
  z-index: 2;
}

.tyler-timeline-rail button:hover i,
.tyler-timeline-rail button:focus-visible i,
.tyler-timeline-rail button.is-active i {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.18);
}

.tyler-timeline-rail button.is-active {
  color: var(--white);
}

.tyler-timeline-rail button span {
  display: block;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.tyler-timeline-rail button b {
  color: var(--gold);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 5px;
}

.connection-band {
  background:
    var(--carbon-fiber),
    var(--ink);
  color: var(--white);
  padding: 120px 34px;
  text-align: center;
}

.connection-band h2 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.92;
  margin: 0 auto;
  max-width: 1100px;
}

.roast-story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 720px;
}

.roast-story-copy {
  align-self: center;
  padding: 82px 42px;
}

.roast-story-copy > p:not(.eyebrow) {
  color: rgba(17, 17, 17, 0.72);
  margin-top: 22px;
}

.roast-steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.roast-steps button {
  background: #eeeeee;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 82px;
  padding: 12px;
  text-transform: uppercase;
}

.roast-steps button span {
  color: var(--ember);
  display: block;
  font-size: 0.65rem;
  margin-bottom: 7px;
}

.roast-steps button.is-active {
  background: var(--ember);
  color: var(--white);
}

.roast-steps button.is-active span {
  color: var(--gold);
}

.roast-story-media {
  background: var(--ink);
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.roast-story-media img {
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
  width: 100%;
}

.roast-story-media.is-changing img {
  opacity: 0.45;
}

.roast-story-media p {
  background: rgba(0, 0, 0, 0.82);
  bottom: 24px;
  color: var(--white);
  left: 24px;
  margin: 0;
  max-width: 420px;
  padding: 16px 18px;
  position: absolute;
}

.about-close {
  min-height: 700px;
}

.about-close-copy {
  padding-top: 170px;
}

.about-close-copy h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
  max-width: 900px;
}

.text-link.light {
  color: var(--white);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  align-items: center;
  background:
    var(--carbon-fiber),
    #0d0d0d;
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 36px 34px;
}

.footer-brand {
  max-width: 310px;
}

.site-footer p {
  color: rgba(255,255,255,.82);
  font-size: 0.94rem;
  margin-top: 6px;
}

.footer-map {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  display: block;
  min-width: 260px;
  padding: 16px 18px;
  text-decoration: none;
}

.footer-map:hover {
  border-color: rgba(216, 70, 39, 0.78);
}

.footer-map span,
.footer-map strong,
.footer-map small {
  display: block;
}

.footer-map span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer-map strong {
  font-size: 1.02rem;
}

.footer-map small {
  color: rgba(255,255,255,.82);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Cute little trailer that says "Find us!" → links to the find-the-trailer page */
.footer-trailer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--white);
  min-width: 150px;
  padding: 6px 4px;
}
.footer-trailer .ft-svg {
  order: 1;
  width: 104px;
  height: auto;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-trailer:hover .ft-svg {
  transform: translateX(5px) rotate(-1.5deg);
}
.footer-trailer .ft-pop {
  order: 2;
  margin-top: 3px;
  background: var(--gold);
  color: #1a1305;
  font-weight: 950;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.footer-trailer .ft-sub {
  order: 3;
  color: rgba(255,255,255,.8);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.footer-trailer:hover .ft-sub {
  color: var(--gold);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 18px;
  }

  .site-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 860px;
    padding: 124px 18px 24px;
  }

  .hero-image {
    object-position: 52% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.16)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1));
  }

  h1 {
    font-size: 3.1rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-card {
    bottom: 18px;
    left: 18px;
    max-width: none;
    right: 18px;
  }

  .hero-scroll {
    bottom: 170px;
    left: 18px;
  }

  .about-hero,
  .about-close {
    min-height: 760px;
  }

  .about-hero-copy,
  .about-close-copy {
    padding: 170px 18px 60px;
  }

  .origin-section {
    padding: 76px 18px;
  }

  .origin-experience,
  .tyler-section,
  .roast-story {
    grid-template-columns: 1fr;
  }

  .origin-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .origin-tab {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 92px;
    padding: 14px;
  }

  .origin-stage {
    min-height: 520px;
  }

  .tyler-photo {
    min-height: 620px;
  }

  .tyler-copy,
  .roast-story-copy {
    padding: 70px 18px;
  }

  .connection-band {
    padding: 90px 18px;
  }

  .roast-story-media {
    min-height: 560px;
  }

  .quick-strip,
  .buy-paths,
  .pit-pass-section,
  .shop-intro,
  .roast-shop,
  .product-hero,
  .profile-grid,
  .product-story,
  .section,
  .split-section,
  .specials-grid,
  .page-hero,
  .detail-section,
  .calendar-shell,
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    grid-template-rows: auto;
  }

  .quick-feature {
    grid-row: auto;
    min-height: 380px;
    padding: 34px 18px;
  }

  .quick-strip div,
  .buy-path,
  .pit-pass-copy,
  .pit-pass-card,
  .shop-intro,
  .roast-shop,
  .product-buy,
  .product-story,
  .section,
  .specials-section,
  .story-band,
  .gallery-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    gap: 34px;
    padding-bottom: 70px;
    padding-top: 70px;
  }

  .calendar-section {
    padding: 70px 18px;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .calendar-day {
    min-height: 96px;
  }

  .calendar-day.has-event {
    min-height: 150px;
  }

  .specials-section {
    padding-top: 70px;
  }

  .specials-intro {
    margin-bottom: 36px;
    text-align: left;
  }

  .specials-intro p:not(.eyebrow) {
    margin-left: 0;
  }

  .special-card {
    min-height: 520px;
  }

  .specials-photo {
    margin-bottom: 28px;
  }

  .specials-photo img {
    height: 340px;
  }

  .pit-pass-copy,
  .pit-pass-card {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .reward-stats {
    grid-template-columns: 1fr;
  }

  .reward-stats div {
    min-height: auto;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero > div {
    padding: 70px 18px 44px;
  }

  .page-hero h1,
  .page-specials h1 {
    font-size: 3rem;
  }

  .page-hero img,
  .page-hero-video {
    height: 390px;
  }

  .detail-section article {
    min-height: auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .roast-filter {
    padding-left: 18px;
    padding-right: 18px;
  }

  .roast-card {
    min-height: auto;
    padding: 22px;
  }

  .product-page {
    padding-top: 76px;
  }

  .product-hero {
    min-height: auto;
  }

  .product-media {
    min-height: auto;
    order: 2;
    padding: 18px;
  }

  .product-stage {
    min-height: 520px;
  }

  .coffee-bag {
    height: 480px;
    width: min(82%, 340px);
  }

  .product-buy {
    order: 1;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .product-buy h1 {
    font-size: 3rem;
  }

  .profile-grid article {
    min-height: auto;
  }

  .media-panel,
  .media-panel.tall,
  .gallery-section img {
    min-height: auto;
    height: 390px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-subtitle {
    display: none;
  }

  .brand-logo {
    height: 42px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .page-hero h1,
  .page-specials h1 {
    font-size: 2.45rem;
  }

  .about-hero {
    min-height: 720px;
  }

  .about-hero > img {
    object-position: 58% center;
  }

  .about-hero-shade,
  .about-close-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.12));
  }

  .about-hero-copy,
  .about-close-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: inherit;
    padding: 120px 18px 44px;
  }

  .about-hero-copy h1 {
    font-size: 3.25rem;
  }

  .origin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .origin-tab {
    min-height: 84px;
  }

  .origin-stage {
    min-height: 500px;
  }

  .origin-stage article {
    padding: 24px 18px;
  }

  .origin-stage h3 {
    font-size: 2.35rem;
  }

  .tyler-photo {
    min-height: 500px;
  }

  .profile-number {
    font-size: 5.5rem;
    right: 16px;
    top: 18px;
  }

  .profile-caption {
    bottom: 22px;
    left: 18px;
  }

  .tyler-copy h2 {
    font-size: 3.6rem;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .tyler-timeline {
    overflow-x: hidden;
    padding: 76px 18px 58px;
  }

  .story-paths {
    min-height: 100vh;
    padding: 94px 18px 18px;
  }

  .story-book-shell {
    min-height: calc(100vh - 112px);
  }

  .story-cover-content {
    padding: 22px;
  }

  .story-cover-content strong {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .story-cover-content img {
    width: min(74vw, 300px);
  }

  .story-path-grid {
    grid-template-columns: 1fr;
  }

  .story-path {
    min-height: 410px;
    padding: 24px;
  }

  .origin-page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tyler-profile-hero {
    min-height: 760px;
  }

  .tyler-profile-hero > img {
    object-position: 52% center;
  }

  .tyler-profile-hero-copy {
    padding: 140px 18px 44px;
  }

  .tyler-profile-intro {
    gap: 28px;
    grid-template-columns: 1fr;
    padding: 76px 18px;
  }

  .tyler-next {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 72px 18px;
  }

  .tyler-timeline-heading {
    align-items: start;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .tyler-timeline-stage {
    height: 660px;
    min-height: 0;
  }

  .tyler-timeline-stage article {
    bottom: 28px;
    left: 20px;
    right: 20px;
  }

  .tyler-timeline-stage > img {
    object-position: 55% center;
  }

  .tyler-timeline-rail {
    min-width: 660px;
    transform: translateX(var(--timeline-shift, 0px));
    transition: transform 220ms ease;
  }

  .profile-facts div {
    min-height: auto;
  }

  .connection-band h2 {
    font-size: 2.65rem;
  }

  .roast-steps {
    grid-template-columns: 1fr;
  }

  .roast-steps button {
    min-height: 64px;
    text-align: left;
  }

  .roast-steps button span {
    display: inline-block;
    margin: 0 10px 0 0;
  }

  .roast-story-media {
    min-height: 470px;
  }

  .roast-story-media p {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .about-close {
    min-height: 680px;
  }

  .about-close-copy h2 {
    font-size: 2.8rem;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .special-card {
    min-height: 430px;
  }

  .special-card div {
    padding: 0 22px 28px;
  }

  .special-card h3 {
    font-size: 1.65rem;
  }

  .quick-item {
    min-height: 210px;
  }

  .quick-action::before {
    font-size: 5.4rem;
    right: 14px;
    top: 20px;
  }

  .quick-item small {
    margin-bottom: 28px;
  }

  .quick-item strong {
    font-size: 1.35rem;
  }

  .quick-feature strong {
    font-size: 2.4rem;
  }

  .quick-tags b,
  .quick-action a {
    width: 100%;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .calendar-day {
    min-height: 82px;
    padding: 9px;
  }

  .calendar-day.has-event {
    min-height: 176px;
  }

  .calendar-day.has-event span {
    font-size: 0.82rem;
  }

  .calendar-list {
    padding: 12px;
  }

  .reward-mug strong {
    font-size: 2.4rem;
  }

  .pass-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .fuel-reward {
    min-height: 220px;
  }

  .coffee-fill-reward {
    transform: scale(0.74);
    transform-origin: center;
    width: 520px;
  }

  .product-stage {
    min-height: 430px;
    padding: 30px 14px;
  }

  .coffee-bag {
    height: 390px;
    min-height: 390px;
    padding: 34px 26px 28px;
    width: min(88%, 300px);
  }

  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .product-buy h1 {
    font-size: 2.7rem;
  }

  .choice {
    margin-right: 4px;
  }

  .product-options fieldset:not(.purchase-type) .choice {
    width: calc(50% - 6px);
  }

  .qty-row,
  .add-product {
    width: 100%;
  }

  .qty-row button,
  .qty-row span {
    flex: 1;
  }

  .media-panel,
  .media-panel.tall,
  .gallery-section img {
    height: 300px;
  }
}

/* ============================================================
   MOTION + FLOW (added)
   ============================================================ */

/* Page fade-in on load (pure CSS so content always shows, even if JS fails) */
body { animation: pageFade 0.5s ease both; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* Scroll-reveal (only hidden once JS marks the page ready, so a JS
   failure can never leave content stuck invisible) */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children within a grid for a smoother cascade */
.menu-grid article:nth-child(2),
.event-board article:nth-child(2),
.detail-section article:nth-child(2),
.specials-grid .special-card:nth-child(2) { transition-delay: 0.08s; }
.menu-grid article:nth-child(3),
.event-board article:nth-child(3),
.detail-section article:nth-child(3),
.specials-grid .special-card:nth-child(3) { transition-delay: 0.16s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember) 74%, var(--gold) 86%, var(--gold) 100%);
  z-index: 60;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(226, 35, 26, 0.5);
}

/* Header gains depth once you scroll */
.site-header {
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  min-height: 64px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

/* Smoother hover micro-interactions */
.button,
.quick-item a,
.buy-path,
.special-card,
.event-board article,
.menu-grid article,
.calendar-event,
.roast-card {
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s ease, background 0.25s ease;
}
.button:hover { transform: translateY(-2px); }
.buy-path:hover,
.special-card:hover,
.event-board article:hover,
.menu-grid article:hover,
.calendar-event:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.button:active { transform: translateY(0); }

/* Hero image subtle slow zoom */
.hero-image {
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Home event cards with date + image accent */
.home-event {
  position: relative;
  overflow: hidden;
}
.home-event em {
  color: var(--ember);
  font-weight: 800;
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin: 4px 0 6px;
}
.home-event span {
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
}

/* Calendar list extras */
.calendar-event .event-loc {
  display: block;
  color: var(--steel);
  font-size: 0.82rem;
  margin: 2px 0 6px;
}
.calendar-empty {
  color: var(--steel);
  line-height: 1.6;
  padding: 12px 0;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-image { animation: none; }
  .scroll-progress { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   PIT PASS — OCTANE PUMP ILLUSTRATION (added)
   ============================================================ */
.octane-pump {
  min-height: 320px;
}
.octane-pump .pump-svg {
  display: block;
  width: 100%;
  max-width: 252px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.55));
}
.pit-pass-card:hover .octane-pump .pump-number { fill: #ffffff; }
.pit-pass-card:hover .octane-pump .ppGlow { opacity: 0.6; }

/* ============================================================
   PIT PASS SIGNUP PAGE (added)
   ============================================================ */
.pitpass-join { padding-top: 76px; }

.pitpass-hero {
  align-items: center;
  background:
    radial-gradient(circle at 78% 30%, rgba(226, 35, 26, 0.32), transparent 46%),
    linear-gradient(150deg, #1a1a1d 0%, #0a0a0c 70%);
  color: var(--white);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  padding: 70px 34px;
}
.pitpass-hero-copy h1 { color: var(--white); font-size: 3.6rem; }
.pitpass-hero-copy p:not(.eyebrow) {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  margin-top: 18px;
  max-width: 540px;
}
.pitpass-hero-art { display: flex; justify-content: center; }
.pitpass-hero-art .pump-svg {
  display: block;
  width: 100%;
  max-width: 256px;
  height: auto;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.6));
}

.rewards-band, .tiers-band {
  padding: 72px 34px;
}
.rewards-band .section-copy, .tiers-band .section-copy {
  margin: 0 auto 36px;
  max-width: 760px;
  text-align: center;
}
.tiers-band { background: var(--ink); color: var(--white); }
.tiers-band h2 { color: var(--white); }
.tiers-band .section-copy p { color: rgba(255,255,255,0.74); }

.reward-grid, .tier-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}
.reward-tier {
  border: 1px solid var(--line);
  border-top: 4px solid var(--ember);
  padding: 26px 22px;
}
.reward-tier span {
  color: var(--ember);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reward-tier strong { display: block; font-size: 1.32rem; margin: 8px 0 10px; }
.reward-tier p { font-size: 0.96rem; }

.tier-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 22px;
}
.tier-card.highlight {
  background: rgba(226, 35, 26, 0.16);
  border-color: rgba(255, 204, 33, 0.55);
}
.tier-rank {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tier-card strong { color: var(--white); display: block; font-size: 1.4rem; margin: 8px 0 4px; }
.tier-card em { color: var(--gold); display: block; font-size: 0.86rem; font-style: normal; font-weight: 800; margin-bottom: 12px; }
.tier-card p { color: rgba(255,255,255,0.74); font-size: 0.94rem; }

.join-wrap {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  padding: 0 34px 76px;
  max-width: 1120px;
  margin: 0 auto;
}
.join-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.pitpass-form { margin-top: 24px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pitpass-form label {
  color: var(--ink);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 16px;
  text-transform: uppercase;
}
.pitpass-form label small { color: var(--steel); font-weight: 600; text-transform: none; }
.pitpass-form input[type="text"],
.pitpass-form input[type="email"],
.pitpass-form input[type="tel"],
.pitpass-form input[type="date"] {
  background: #fafafa;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  margin-top: 7px;
  padding: 13px 14px;
  width: 100%;
}
.pitpass-form input:focus { border-color: var(--ember); outline: none; }
.pitpass-form input.invalid { border-color: var(--ember); background: rgba(226, 35, 26, 0.06); }
.pitpass-form label.check {
  align-items: flex-start;
  display: flex;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.pitpass-form label.check input { margin-top: 3px; }
.pitpass-form label.check span { color: var(--steel); }
.button.full { margin-top: 22px; width: 100%; }
.form-note { color: var(--steel); font-size: 0.8rem; margin-top: 14px; }

.form-success {
  background: var(--ink);
  color: var(--white);
  margin-top: 8px;
  padding: 40px 36px;
  text-align: center;
}
.form-success strong { display: block; font-size: 1.7rem; }
.form-success p { color: rgba(255,255,255,0.8); margin: 14px auto 22px; max-width: 380px; }

.join-perks {
  background: var(--ink);
  color: var(--white);
  padding: 40px 32px;
}
.join-perks h3 { color: var(--gold); font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.perk-list { list-style: none; margin: 18px 0 0; padding: 0; }
.perk-list li { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; }
.perk-list strong { display: block; font-size: 1.04rem; }
.perk-list span { color: rgba(255,255,255,0.72); font-size: 0.92rem; }

@media (max-width: 900px) {
  .pitpass-hero { grid-template-columns: 1fr; padding: 48px 22px; text-align: center; }
  .pitpass-hero-copy h1 { font-size: 2.6rem; }
  .pitpass-hero .order-actions { justify-content: center; }
  .pitpass-hero-art { order: -1; }
  .pitpass-hero-art .pump-svg { max-width: 200px; }
  .reward-grid, .tier-grid { grid-template-columns: 1fr 1fr; }
  .join-wrap { grid-template-columns: 1fr; padding: 0 22px 56px; }
  .rewards-band, .tiers-band { padding: 52px 22px; }
}
@media (max-width: 560px) {
  .reward-grid, .tier-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .join-card { padding: 30px 22px; }
}

/* Hero video background (added) */
.hero-video {
  object-fit: cover;
  object-position: center;
  animation: none;
  background: var(--charcoal);
  filter: brightness(1.18) saturate(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background-image: url("xlr8-hero-poster.jpg"); background-size: cover; background-position: center; }
}

/* ============================================================
   SECTION DIVIDER + SOLO PIT PASS CARD (added)
   ============================================================ */
.section-divider {
  align-items: center;
  background: var(--ink);
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 34px 34px 8px;
}
.section-divider .rule {
  background: linear-gradient(90deg, transparent, var(--ember));
  height: 2px;
  max-width: 160px;
  width: 100%;
}
.section-divider .rule:last-child {
  background: linear-gradient(90deg, var(--ember), transparent);
}
.section-divider em {
  color: var(--gold);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pit-pass-section.is-solo {
  display: flex;
  justify-content: center;
  padding: 60px 34px;
}
.pit-pass-section.is-solo .pit-pass-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 640px;
  width: 100%;
}

@media (max-width: 720px) {
  .section-divider .rule { max-width: 60px; }
  .pit-pass-section.is-solo { padding: 40px 18px; }
}

/* ============================================================
   EVENTS CALENDAR — MOBILE FIT (added)
   On phones, the 30-day grid is an awkward ladder, so show the
   useful upcoming-events list instead.
   ============================================================ */
@media (max-width: 720px) {
  .calendar-grid { display: grid; }
  .calendar-shell { background: transparent; padding: 0; gap: 0; }
  .calendar-list { padding: 4px; }
  .calendar-list > span {
    display: block;
    margin-bottom: 12px;
  }
  .calendar-event { padding: 18px; }
}

/* ============================================================
   SLIMMER PIT PASS CARD + INSTAGRAM STRIP (added)
   ============================================================ */
/* Compact card: smaller pump, tighter padding, one-line steps */
.pit-pass-section.is-solo .pit-pass-card { padding: 38px 30px; }
.octane-pump { min-height: 230px; }
.octane-pump .pump-svg { max-width: 200px; }
.octane-meter { margin: 18px 0 14px; }
.pass-steps {
  color: rgba(255,255,255,0.86);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}
.pass-steps i { color: var(--gold); font-style: normal; margin: 0 7px; }

/* Instagram strip — compact feed instead of one giant photo */
.insta-strip {
  background: var(--ink);
  color: var(--white);
  padding: 40px 34px 48px;
}
.insta-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto 18px;
  max-width: 1180px;
}
.insta-head .eyebrow { margin: 0; }
.insta-handle {
  color: var(--white);
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 4px;
}
.insta-handle:hover { color: var(--gold); border-color: var(--gold); }
.insta-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}
.insta-grid a {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  position: relative;
}
.insta-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), opacity 0.3s ease;
  width: 100%;
  opacity: 0.92;
}
.insta-grid a:hover img { transform: scale(1.08); opacity: 1; }

@media (max-width: 760px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-strip { padding: 32px 18px 36px; }
}
@media (max-width: 380px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ANGLED EDGE: video hero -> ordering tiles (added)
   ============================================================ */
.hero {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 46px));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 46px));
}
.section-divider {
  padding-top: 30px;
  position: relative;
}
.section-divider::before {
  background: var(--ember);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  transform: skitY(0);
  width: 0;
}
@media (max-width: 600px) {
  .hero {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px));
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px));
  }
}

/* Framed buy-path cards — mobile spacing */
@media (max-width: 600px) {
  .buy-paths { padding: 20px 16px 44px; }
  .buy-path { min-height: 320px; border-radius: 18px; }
}

/* ============================================================
   PIT PASS CARD — pump beside the reward steps (added)
   ============================================================ */
.pass-body {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin: 6px 0 22px;
}
.pass-body .octane-pump {
  flex: 0 0 auto;
  min-height: auto;
}
.pass-body .octane-pump .pump-svg { max-width: 176px; }
.pass-info {
  flex: 1 1 240px;
  max-width: 300px;
  min-width: 220px;
}
.reward-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.reward-steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0 12px 42px;
  position: relative;
}
.reward-steps li:first-child { border-top: 0; }
.reward-steps li::before {
  align-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  content: counter(step);
  counter-increment: step;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 11px;
  width: 28px;
}
.reward-steps strong {
  color: var(--white);
  display: block;
  font-size: 0.98rem;
}
.reward-steps span {
  color: rgba(255,255,255,.85);
  font-size: 0.84rem;
}
/* homepage Pit Pass: the 1·2·3 illuminate like a drag-tree (red -> yellow -> green) */
#pit-pass .reward-steps li:nth-child(1) { --lt: #ff3b30; }
#pit-pass .reward-steps li:nth-child(2) { --lt: #ffd633; }
#pit-pass .reward-steps li:nth-child(3) { --lt: #39d353; }
/* default = lights off (dim) */
#pit-pass .reward-steps li::before {
  color: color-mix(in srgb, var(--lt) 55%, #8a8a8a);
  border: 1.5px solid color-mix(in srgb, var(--lt) 45%, #4a4a4a);
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.05), rgba(11,11,13,.7));
  box-shadow: none;
}
/* when scrolled into view, each light cascades on and stays lit */
#pit-pass.lit .reward-steps li::before { animation: ppLightOn 0.9s ease forwards; }
#pit-pass.lit .reward-steps li:nth-child(1)::before { animation-delay: .15s; }
#pit-pass.lit .reward-steps li:nth-child(2)::before { animation-delay: .95s; }
#pit-pass.lit .reward-steps li:nth-child(3)::before { animation-delay: 1.75s; }
@keyframes ppLightOn {
  from {
    border-color: color-mix(in srgb, var(--lt) 45%, #4a4a4a);
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.05), rgba(11,11,13,.7));
    box-shadow: none;
    color: color-mix(in srgb, var(--lt) 55%, #8a8a8a);
  }
  to {
    border-color: var(--lt);
    background: radial-gradient(circle at 50% 36%, var(--lt), color-mix(in srgb, var(--lt) 55%, #000));
    box-shadow: 0 0 16px 2px color-mix(in srgb, var(--lt) 65%, transparent);
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  #pit-pass .reward-steps li::before {
    border-color: var(--lt);
    background: radial-gradient(circle at 50% 36%, var(--lt), color-mix(in srgb, var(--lt) 55%, #000));
    box-shadow: 0 0 12px 1px color-mix(in srgb, var(--lt) 55%, transparent);
    color: #fff;
  }
}
.pass-info .octane-meter { margin: 4px 0 0; }

@media (max-width: 560px) {
  .pass-body { gap: 14px; }
  .pass-info { max-width: 320px; }
}

/* Trim the (restored) Instagram photo so it isn't oversized */
.gallery-section { gap: 36px; padding: 40px 34px; }
.gallery-section img { height: 380px; }

/* ============================================================
   PAST EVENTS / RECAPS PAGE (added)
   ============================================================ */
.past-wrap { padding-top: 76px; }
.past-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 66px 34px 26px;
}
.past-hero .eyebrow { color: var(--ember); }
.past-hero h1 { font-size: 3.4rem; line-height: 1; margin: 0 0 14px; }
.past-hero p { max-width: 620px; }
.past-hero .recap-link {
  color: var(--ink);
  display: inline-block;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 4px;
}
.past-hero .recap-link:hover { color: var(--ember); }

.year-head {
  align-items: center;
  display: flex;
  gap: 18px;
  margin: 44px auto 18px;
  max-width: 1180px;
  padding: 0 34px;
}
.year-head strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.01em; }
.year-head .line { background: var(--line); flex: 1; height: 1px; }
.year-head em { color: var(--steel); font-size: 0.84rem; font-style: normal; font-weight: 800; }

.past-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 8px;
  max-width: 1180px;
  padding: 0 34px;
}
.past-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s ease;
}
.past-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.past-card .thumb {
  aspect-ratio: 16 / 10;
  background: #ebebeb;
  object-fit: cover;
  width: 100%;
}
.past-card .body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.past-card .when {
  color: var(--ember);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.past-card h3 { font-size: 1.12rem; line-height: 1.15; margin: 7px 0 6px; }
.past-card .where { color: var(--steel); font-size: 0.84rem; margin-bottom: 10px; }
.past-card .blurb { color: rgba(17,17,17,0.7); font-size: 0.9rem; line-height: 1.55; }
.past-card .more {
  color: var(--ember);
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .past-hero h1 { font-size: 2.6rem; }
}
@media (max-width: 600px) {
  .past-grid { grid-template-columns: 1fr; padding: 0 18px; }
  .year-head, .past-hero { padding-left: 18px; padding-right: 18px; }
}

/* ============================================================
   PIT PASS CARD — pump filling the XLR8 logo (combined) (added)
   ============================================================ */
.pump-combo { min-height: auto; margin: 2px 0 16px; }
.pump-combo .combo-svg {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}
.reward-steps.reward-row {
  counter-reset: step;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 4px;
  max-width: 520px;
}
.reward-steps.reward-row li {
  border-top: 0;
  padding: 0 0 0 34px;
  position: relative;
}
.reward-steps.reward-row li::before { top: 0; width: 26px; height: 26px; }
.reward-steps.reward-row strong { font-size: 0.88rem; }
.reward-steps.reward-row span { font-size: 0.74rem; }
@media (max-width: 520px) {
  .reward-steps.reward-row { grid-template-columns: 1fr; gap: 0; }
  .reward-steps.reward-row li { border-top: 1px solid rgba(255,255,255,0.12); padding: 12px 0 12px 38px; }
  .reward-steps.reward-row li:first-child { border-top: 0; }
}

/* XLR8 logo at the top of the Pit Pass card (added) */
.pass-logo {
  display: block;
  height: auto;
  margin: 0 auto 20px;
  position: relative;
  width: min(62%, 200px);
  z-index: 1;
}

/* ---------- Cinematic story timeline ---------- */
.origin-section {
  background: #070708;
  overflow: hidden;
  padding: 118px 0 0;
}

.origin-heading {
  margin: 0;
  max-width: 820px;
  padding: 0 34px 48px;
}

.origin-experience {
  display: block;
  max-width: none;
  position: relative;
}

.origin-stage {
  min-height: 760px;
}

.origin-stage-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 48%, transparent 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 52%);
}

.origin-stage article {
  bottom: 84px;
  left: 0;
  max-width: 780px;
  padding: 42px 34px;
}

.origin-meta {
  align-items: center;
  display: flex;
  gap: 18px;
}

.origin-meta > span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.origin-meta b {
  color: rgba(255,255,255,.72);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.origin-stage h3 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  max-width: 760px;
}

.origin-stage p {
  max-width: 600px;
}

.origin-tabs {
  background: transparent;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 0;
  padding: 0 34px 28px;
  position: absolute;
  right: 0;
  z-index: 3;
}

.origin-tabs::before {
  background: rgba(255, 255, 255, 0.34);
  content: "";
  height: 1px;
  left: 64px;
  position: absolute;
  right: 64px;
  top: 14px;
}

.origin-tab {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.74);
  min-height: 62px;
  padding: 0 8px;
  position: relative;
  text-align: center;
}

.origin-tab::before {
  background: #111113;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  content: "";
  display: block;
  height: 17px;
  margin: 5px auto 12px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 17px;
  z-index: 1;
}

.origin-tab span {
  color: inherit;
  display: inline;
  font-size: inherit;
  margin: 0 7px 0 0;
}

.origin-tab:hover,
.origin-tab.is-active {
  background: transparent;
  color: var(--white);
}

.origin-tab:hover::before,
.origin-tab.is-active::before {
  background: var(--ember);
  border-color: var(--gold);
  transform: scale(1.35);
}

.origin-tab.is-active span {
  color: var(--gold);
}

.story-next {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--gold);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 12px;
  margin-top: 26px;
  padding: 0 0 8px;
  text-transform: uppercase;
}

.story-next span {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.story-next:hover span {
  transform: translateX(5px);
}

.story-next-preview {
  align-items: stretch;
  background: rgba(10, 10, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 112px 1fr auto;
  margin-top: 28px;
  max-width: 470px;
  min-height: 92px;
  overflow: hidden;
  padding: 0 18px 0 0;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 100%;
}

.story-next-preview:hover,
.story-next-preview:focus-visible {
  background: var(--ember);
  border-color: var(--gold);
  transform: translateX(8px);
}

.story-next-preview img {
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
  width: 112px;
}

.story-next-preview:hover img,
.story-next-preview:focus-visible img {
  transform: scale(1.08);
}

.story-next-preview > span {
  align-self: center;
  display: grid;
  gap: 6px;
}

.story-next-preview small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.story-next-preview strong {
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.story-next-preview > b {
  align-self: center;
  color: var(--gold);
  font-size: 1.55rem;
}

.story-next-preview:hover small,
.story-next-preview:hover > b,
.story-next-preview:focus-visible small,
.story-next-preview:focus-visible > b {
  color: var(--white);
}

@media (max-width: 900px) {
  .origin-section {
    padding-top: 82px;
  }

  .origin-heading {
    padding: 0 18px 36px;
  }

  .origin-stage {
    min-height: 690px;
  }

  .origin-stage article {
    bottom: 105px;
    padding: 32px 18px;
  }

  .origin-tabs {
    padding: 0 12px 24px;
  }

  .origin-tabs::before {
    left: 38px;
    right: 38px;
  }

  .origin-tab {
    border: 0;
    min-height: 70px;
    padding: 0 4px;
  }
}

@media (max-width: 520px) {
  .story-next-preview {
    grid-template-columns: 82px 1fr auto;
    min-height: 80px;
  }

  .story-next-preview img {
    width: 82px;
  }
}

@media (max-width: 520px) {
  .origin-stage {
    min-height: 720px;
  }

  .origin-stage > img {
    object-position: 58% center;
  }

  .origin-stage-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.64) 45%, rgba(0, 0, 0, 0.05) 78%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent);
  }

  .origin-stage article {
    bottom: 126px;
  }

  .origin-stage h3 {
    font-size: 2.65rem;
  }

  .origin-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 8px 20px;
    scrollbar-width: none;
  }

  .origin-tabs::-webkit-scrollbar {
    display: none;
  }

  .origin-tabs::before {
    left: 42px;
    right: 42px;
  }

.origin-tab {
    flex: 0 0 112px;
    font-size: 0.68rem;
  }
}

/* ---------- Interactive drift car build sheet ---------- */
.build-sheet-link {
  background: var(--gold);
  color: var(--ink);
  display: block;
  margin-top: 18px;
  padding: 17px 18px;
  text-decoration: none;
}

.build-sheet-link span,
.build-sheet-link strong {
  display: block;
}

.build-sheet-link span {
  font-size: 0.66rem;
  font-weight: 950;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.build-sheet-link strong {
  font-size: 1.04rem;
  text-transform: uppercase;
}

.build-page {
  background: #080809;
}

.build-main {
  color: var(--white);
  padding-top: 76px;
}

.build-intro {
  align-items: end;
  background:
    var(--carbon-fiber),
    #101012;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 72px 34px 42px;
}

.build-intro h1 {
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.88;
  max-width: 980px;
}

.build-intro > div:first-child > p:not(.eyebrow) {
  color: rgba(255,255,255,0.7);
  margin-top: 22px;
  max-width: 660px;
}

.build-identity {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 6px;
  min-width: 260px;
  padding-left: 24px;
}

.build-identity span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 950;
  margin-top: 10px;
  text-transform: uppercase;
}

.build-identity strong {
  font-size: 0.92rem;
  text-transform: uppercase;
}

.build-explorer {
  background: #050506;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.build-toolbar {
  align-items: center;
  background: rgba(8, 8, 9, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 34px;
  position: relative;
  z-index: 5;
}

.build-view-controls {
  display: flex;
  gap: 2px;
}

.build-view-controls button {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  min-height: 40px;
  padding: 0 16px;
  text-transform: uppercase;
}

.build-view-controls button.is-active {
  background: var(--ember);
  color: var(--white);
}

.build-toolbar > p {
  color: rgba(255,255,255,.74);
  font-size: 0.72rem;
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.build-toolbar > p span {
  color: var(--gold);
  font-size: 1.1rem;
  margin-right: 8px;
}

.car-stage {
  cursor: grab;
  height: min(760px, calc(100vh - 140px));
  min-height: 590px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}

.car-stage.is-dragging {
  cursor: grabbing;
}

.car-stage::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.34)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 38%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.schematic-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.car-view {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(1.035);
  transition: opacity 0.38s ease, transform 0.65s ease;
  width: 100%;
}

.car-view.is-active {
  opacity: 1;
  transform: scale(1);
}

.hotspot-layer {
  display: none;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.hotspot-layer.is-active {
  display: block;
}

.car-hotspot {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  left: var(--x);
  padding: 0;
  pointer-events: auto;
  position: absolute;
  top: var(--y);
  transform: translate(-50%, -50%);
}

.car-hotspot span {
  align-items: center;
  background: var(--ember);
  border: 3px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(226, 35, 26, 0.25), 0 0 24px rgba(255, 204, 33, 0.44);
  display: flex;
  font-size: 0.65rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  transition: transform 0.2s ease;
  width: 34px;
}

.car-hotspot b {
  background: rgba(0, 0, 0, 0.84);
  display: block;
  font-size: 0.62rem;
  left: 42px;
  padding: 6px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 3px;
  white-space: nowrap;
}

.car-hotspot:hover span,
.car-hotspot.is-active span {
  transform: scale(1.25);
}

.car-arrow {
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 2.2rem;
  height: 56px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  z-index: 4;
}

.car-arrow-left {
  left: 18px;
}

.car-arrow-right {
  right: 18px;
}

.build-view-label {
  bottom: 22px;
  color: rgba(255,255,255,0.78);
  font-size: 0.7rem;
  font-weight: 950;
  left: 34px;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

.part-drawer {
  background:
    var(--carbon-fiber),
    #101012;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 0;
  color: var(--white);
  max-width: 430px;
  overflow-y: auto;
  padding: 72px 30px 30px;
  position: absolute;
  right: 0;
  top: 64px;
  transform: translateX(102%);
  transition: transform 0.32s ease;
  width: min(92vw, 430px);
  z-index: 7;
}

.part-drawer.is-open {
  transform: translateX(0);
}

.part-close {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  position: absolute;
  right: 22px;
  top: 18px;
}

.part-number {
  color: rgba(255,255,255,.32);
  font-size: 7rem;
  font-weight: 950;
  line-height: 0.8;
}

.part-drawer h2 {
  font-size: 2.5rem;
  line-height: 0.95;
  margin-bottom: 18px;
}

.part-drawer > p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
}

.part-drawer dl {
  display: grid;
  gap: 0;
  margin: 28px 0;
}

.part-drawer dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 15px 0;
}

.part-drawer dt {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 950;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.part-drawer dd {
  margin: 0;
}

.part-drawer small {
  color: rgba(255,255,255,.66);
  display: block;
  line-height: 1.5;
  margin-top: 20px;
}

.build-partner-feature {
  align-items: flex-end;
  color: var(--white);
  display: flex;
  min-height: min(82vh, 860px);
  overflow: hidden;
  padding: 72px 34px 46px;
  position: relative;
}

.build-partner-feature::after {
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.6) 42%, rgba(8, 8, 8, 0.08) 78%), linear-gradient(0deg, rgba(8, 8, 8, 0.92) 0%, transparent 48%);
  content: "";
  inset: 0;
  position: absolute;
}

.build-partner-feature > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.build-partner-copy {
  max-width: 720px;
  padding-bottom: 130px;
  position: relative;
  z-index: 1;
}

.build-partner-copy h2 {
  font-size: clamp(3.1rem, 7vw, 7.8rem);
  line-height: 0.86;
  margin-top: 12px;
  max-width: 850px;
}

.build-partner-copy > p:last-child {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 580px;
}

.driver-profile-plaque {
  align-items: center;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.055) 0 17%, transparent 17% 100%),
    rgba(12, 12, 12, 0.94);
  border-left: 0;
  bottom: 46px;
  color: var(--white);
  display: grid;
  gap: 20px;
  grid-template-columns: 190px 1fr auto;
  left: 34px;
  max-width: 760px;
  padding: 18px 20px 18px 0;
  position: absolute;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
  width: calc(100% - 68px);
  z-index: 2;
}

.driver-profile-plaque::before {
  background: linear-gradient(90deg, var(--gold) 0 34%, var(--ember) 34% 100%);
  bottom: 0;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  transition: width 220ms ease;
  width: 190px;
}

.driver-profile-plaque::after {
  background:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%) 0 0 / 14px 14px,
    linear-gradient(45deg, #fff 25%, #101012 25%, #101012 75%, #fff 75%) 7px 7px / 14px 14px;
  content: "";
  height: 12px;
  left: 190px;
  opacity: 0.7;
  position: absolute;
  top: 0;
  width: 76px;
}

.driver-profile-plaque:hover,
.driver-profile-plaque:focus-visible {
  background:
    linear-gradient(110deg, rgba(255,255,255,0.11) 0 17%, transparent 17% 100%),
    #9f1712;
  transform: translateY(-4px);
}

.driver-profile-plaque:hover::before,
.driver-profile-plaque:focus-visible::before {
  width: 100%;
}

.driver-profile-number {
  align-items: center;
  align-self: stretch;
  display: flex;
  justify-content: center;
  min-height: 88px;
  overflow: visible;
  position: relative;
  isolation: isolate;
  transform: skewX(-9deg);
}

.driver-number-flames {
  bottom: 10px;
  height: 58px;
  left: -42px;
  overflow: visible;
  position: absolute;
  transform: skewX(9deg);
  transition: transform 280ms ease, width 280ms ease;
  width: 112px;
  z-index: 0;
}

.driver-number-flames::before,
.driver-number-flames::after,
.driver-number-flames > i {
  clip-path: polygon(100% 34%, 74% 32%, 53% 4%, 58% 37%, 22% 18%, 42% 51%, 0 49%, 40% 70%, 18% 96%, 57% 72%, 72% 94%, 76% 66%, 100% 62%);
  content: "";
  inset: 0;
  position: absolute;
  transform-origin: right center;
}

.driver-number-flames::before {
  background: #09090a;
  filter: drop-shadow(-3px 2px 0 #09090a);
  transform: scale(1.15, 1.18);
}

.driver-number-flames::after {
  background: linear-gradient(90deg, #7c0805 0%, var(--ember) 58%, #ff5a35 100%);
}

.driver-number-flames > i:first-child {
  background: var(--gold);
  inset: 12px 0 13px 27px;
}

.driver-number-flames > i:nth-child(2) {
  background: var(--white);
  inset: 22px 0 21px 62px;
}

.driver-number-flames > i:nth-child(3) {
  background: var(--ember);
  filter: blur(7px);
  opacity: 0.48;
  transform: scale(1.18);
}

.driver-profile-number::before,
.driver-profile-number::after {
  content: attr(data-number);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 5.8rem;
  font-style: italic;
  font-weight: 950;
  left: 7px;
  line-height: 0.8;
  position: absolute;
  top: 10px;
}

.driver-profile-number::before {
  color: transparent;
  -webkit-text-stroke: 10px #050505;
  z-index: 0;
}

.driver-profile-number::after {
  color: transparent;
  -webkit-text-stroke: 5px var(--white);
  z-index: 1;
}

.driver-profile-number > span {
  background: linear-gradient(180deg, #ff4b42 0%, var(--ember) 54%, #8e0d09 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 5px 0 rgba(0,0,0,0.7));
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 5.8rem;
  font-style: italic;
  font-weight: 950;
  line-height: 0.8;
  position: relative;
  -webkit-text-stroke: 1px #5e0705;
  z-index: 2;
}

.driver-profile-number > i {
  color: var(--gold);
  font-size: 1rem;
  font-style: normal;
  font-weight: 950;
  left: 12px;
  position: absolute;
  top: 1px;
  transform: skewX(9deg);
  z-index: 3;
}

.driver-profile-plaque:hover .driver-profile-number,
.driver-profile-plaque:focus-visible .driver-profile-number {
  animation: driver-number-hit 420ms ease;
}

.driver-profile-plaque:hover .driver-number-flames,
.driver-profile-plaque:focus-visible .driver-number-flames {
  transform: skewX(9deg) scaleX(1.32);
}

@keyframes driver-number-hit {
  0%, 100% { transform: skewX(-9deg) translateX(0); }
  35% { transform: skewX(-9deg) translateX(7px) scale(1.04); }
  65% { transform: skewX(-9deg) translateX(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .driver-profile-plaque:hover .driver-profile-number,
  .driver-profile-plaque:focus-visible .driver-profile-number {
    animation: none;
  }

  .driver-profile-plaque:hover .driver-number-flames,
  .driver-profile-plaque:focus-visible .driver-number-flames {
    transform: skewX(9deg);
  }
}

.driver-profile-copy {
  display: grid;
  gap: 3px;
}

.driver-profile-copy small,
.driver-profile-action {
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
}

.driver-profile-copy small {
  color: rgba(255,255,255,.8);
}

.driver-profile-copy strong {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1;
}

.driver-profile-action {
  align-items: center;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.driver-profile-action b {
  color: var(--gold);
  font-size: 1.25rem;
}

.build-partner-roster {
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  padding: 96px 34px 88px;
  position: relative;
}

.build-partner-roster > header {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  margin-bottom: 54px;
}

.build-partner-roster h2 {
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  line-height: 0.9;
  margin-top: 10px;
}

.build-partner-roster > header > p {
  color: rgba(17, 17, 17, 0.65);
  line-height: 1.55;
}

.build-partner-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.build-partner-list > button {
  align-items: center;
  background: #1d1d1f;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr minmax(90px, 26%);
  min-height: 190px;
  overflow: hidden;
  padding: 28px 0 24px 26px;
  position: relative;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.build-partner-list > button::before {
  background: linear-gradient(105deg, transparent 0 46%, rgba(255, 255, 255, 0.055) 46% 49%, transparent 49% 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.build-partner-list > button:hover,
.build-partner-list > button:focus-visible,
.build-partner-list > button.is-active {
  background: #b71913;
  transform: translateY(-4px);
}

.partner-card-index {
  align-self: end;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  position: relative;
  z-index: 1;
}

.partner-card-copy {
  align-self: end;
  display: grid;
  gap: 8px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.partner-card-copy strong {
  font-size: clamp(1.35rem, 2.8vw, 2.5rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.partner-card-copy small {
  color: rgba(255,255,255,.78);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.partner-card-mark {
  align-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255,255,255,.32);
  display: flex;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-style: italic;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  position: relative;
  transform: skewX(-6deg);
  z-index: 1;
}

.build-partner-footer {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-top: 34px;
}

.build-partner-footer p {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.partner-profile-backdrop {
  background: rgba(0, 0, 0, 0.7);
  inset: 0;
  position: fixed;
  z-index: 79;
}

.partner-profile {
  background: #111113;
  bottom: 0;
  color: var(--white);
  max-width: 520px;
  overflow-y: auto;
  padding: 76px 42px 42px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 240ms ease;
  width: min(92vw, 520px);
  z-index: 80;
}

.partner-profile.is-open {
  transform: translateX(0);
}

.partner-profile-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
  height: 44px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 44px;
}

.partner-profile-number {
  color: rgba(255,255,255,.28);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 950;
  line-height: 0.8;
  position: absolute;
  right: 26px;
  top: 92px;
}

.partner-profile h3 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.88;
  margin: 18px 0 28px;
  max-width: 430px;
  position: relative;
  text-transform: uppercase;
}

.partner-profile > p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  position: relative;
}

.partner-profile dl {
  margin: 34px 0;
}

.partner-profile dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
}

.partner-profile dt {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 950;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.partner-profile dd {
  margin: 0;
}

.partner-profile-pending {
  color: rgba(255,255,255,.66);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .build-intro {
    grid-template-columns: 1fr;
    padding: 58px 18px 34px;
  }

  .build-identity {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    min-width: 0;
    padding: 16px 0 0;
  }

  .build-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 18px;
  }

  .build-toolbar > p {
    display: none;
  }

  .car-stage {
    height: 620px;
  }

  .car-view {
    object-position: center;
  }

  .car-hotspot b {
    display: none;
  }

  .car-arrow {
    height: 48px;
    width: 40px;
  }

  .part-drawer {
    max-width: none;
    padding: 64px 22px 24px;
    top: 73px;
    width: 100%;
  }

  .build-partner-feature {
    min-height: 720px;
    padding: 54px 18px 30px;
  }

  .build-partner-feature::after {
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.52) 58%, rgba(8, 8, 8, 0.08) 100%);
  }

  .build-partner-feature > img {
    object-position: 62% center;
  }

  .build-partner-copy {
    padding-bottom: 164px;
  }

  .build-partner-copy h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .driver-profile-plaque {
    bottom: 30px;
    gap: 12px;
    grid-template-columns: 132px 1fr;
    left: 18px;
    padding: 14px 14px 14px 0;
    width: calc(100% - 36px);
  }

  .driver-profile-plaque::before {
    width: 132px;
  }

  .driver-profile-plaque::after {
    left: 132px;
    width: 48px;
  }

  .driver-profile-number {
    min-height: 70px;
  }

  .driver-number-flames {
    bottom: 9px;
    height: 42px;
    left: -24px;
    width: 76px;
  }

  .driver-profile-number::before,
  .driver-profile-number::after,
  .driver-profile-number > span {
    font-size: 4rem;
  }

  .driver-profile-number::before,
  .driver-profile-number::after {
    left: 4px;
    top: 10px;
  }

  .driver-profile-action {
    grid-column: 2;
  }

  .build-partner-roster {
    padding: 72px 18px 64px;
  }

  .build-partner-roster > header {
    align-items: start;
    gap: 22px;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .build-partner-list {
    grid-template-columns: 1fr;
  }

  .build-partner-list > button {
    grid-template-columns: auto 1fr 76px;
    min-height: 158px;
    padding-left: 18px;
  }

  .build-partner-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-profile {
    padding: 72px 24px 30px;
    width: 100%;
  }
}

/* ============================================================
   MONTH CALENDAR (added) — nav + weekday row + uniform cells
   ============================================================ */
.calendar-main { background: #0d0d0f; display: flex; flex-direction: column; min-width: 0; }
.cal-nav {
  align-items: center;
  background: #121214;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}
.cal-nav strong { color: #fff; font-size: 1.05rem; font-weight: 900; }
.cal-arrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  height: 38px;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
  width: 38px;
}
.cal-arrow:hover { background: var(--ember); border-color: var(--ember); }
.cal-weekdays { background: #0d0d0f; display: grid; gap: 1px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-weekdays span {
  background: #161619;
  color: rgba(255,255,255,.7);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 8px 0;
  text-align: center;
  text-transform: uppercase;
}
.calendar-blank { background: #101012; min-height: 92px; }
.calendar-shell .calendar-day { min-height: 92px; }
.calendar-shell .calendar-day.has-event { min-height: 92px; }
.calendar-shell .calendar-day strong { font-size: 1.05rem; margin-top: 0; }
.calendar-shell .calendar-day em { font-size: 0.58rem; margin-top: auto; }
.calendar-shell .calendar-day span { font-size: 0.66rem; }

@media (max-width: 720px) {
  .calendar-main { order: -1; }
  .calendar-blank { min-height: 44px; }
  .calendar-shell .calendar-day,
  .calendar-shell .calendar-day.has-event { min-height: 44px; padding: 4px; }
  .calendar-shell .calendar-day strong { font-size: 0.74rem; }
  .calendar-shell .calendar-day em,
  .calendar-shell .calendar-day span { display: none; }
  .calendar-day.has-event::before {
    background: var(--gold);
    border-radius: 50%;
    bottom: 4px;
    content: "";
    height: 6px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 6px;
    z-index: 2;
  }
  .cal-weekdays span { font-size: 0.54rem; padding: 6px 0; }
}

/* ============================================================
   EVENTS PAGE ENERGY (added) — Next Up + countdown + lineup
   ============================================================ */
.calendar-shell.solo { grid-template-columns: 1fr; }

.next-up { position: relative; overflow: hidden; color: #fff; background: #0a0a0c; }
.next-up::before {
  content: ""; position: absolute; inset: 0;
  background: var(--event-image) center / cover; opacity: 0.5;
}
.next-up::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.55) 60%, rgba(8, 8, 10, 0.28)),
    radial-gradient(720px 360px at 18% 0%, rgba(226, 35, 26, 0.42), transparent 60%);
}
.next-up-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 54px 34px 58px; }
.next-up-label {
  background: var(--ember); border-radius: 3px; color: #fff; display: inline-block;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; padding: 6px 12px; text-transform: uppercase;
}
.next-up h2 { color: #fff; font-size: 3.2rem; line-height: 1; margin: 16px 0 10px; max-width: 760px; }
.next-up-meta { color: var(--gold); font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.next-up-note { color: rgba(255,255,255,0.78); margin: 0 0 22px; max-width: 560px; }
.countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.cd-unit {
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px;
  min-width: 76px; padding: 12px 16px; text-align: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cd-unit b { display: block; font-size: 2rem; font-weight: 950; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit span { color: rgba(255,255,255,.8); display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; margin-top: 6px; text-transform: uppercase; }
.cd-live { background: var(--ember); border-radius: 8px; font-weight: 900; padding: 12px 18px; }
.next-up-actions { margin-top: 24px; }

.lineup-section { background: var(--ink); color: #fff; padding: 64px 34px; }
.lineup-section .calendar-intro { margin: 0 auto 26px; max-width: 1180px; text-align: left; }
.lineup-section .calendar-intro h2 { color: #fff; }
.lineup-section .calendar-intro p { color: rgba(255,255,255,0.74); }
.lineup-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; max-width: 1180px; }
.lineup-card {
  border-radius: 14px; display: flex; flex-direction: column; isolation: isolate;
  justify-content: flex-end; min-height: 300px; overflow: hidden; position: relative;
}
.lineup-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--event-image, #1b1b1d) center / cover;
  transition: transform 0.4s cubic-bezier(.22, 1, .36, 1);
}
.lineup-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.88));
}
.lineup-card:hover::before { transform: scale(1.06); }
.lineup-card-top { left: 14px; position: absolute; top: 14px; }
.lineup-type {
  background: var(--ember); border-radius: 3px; color: #fff; font-size: 0.66rem; font-weight: 900;
  letter-spacing: 0.08em; padding: 5px 10px; text-transform: uppercase;
}
.lineup-card-body { padding: 20px; }
.lineup-date { color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.lineup-card h3 { color: #fff; font-size: 1.4rem; margin: 6px 0; }
.lineup-loc { color: rgba(255,255,255,0.72); display: block; font-size: 0.84rem; margin-bottom: 8px; }
.lineup-card p { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

@media (max-width: 900px) {
  .lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-up h2 { font-size: 2.4rem; }
}
@media (max-width: 600px) {
  .lineup-grid { grid-template-columns: 1fr; }
  .next-up-inner { padding: 40px 18px; }
  .lineup-section { padding: 48px 18px; }
  .cd-unit { min-width: 62px; padding: 10px 12px; }
  .cd-unit b { font-size: 1.6rem; }
}

/* Lineup cards as links + countdown number color (added) */
.lineup-card { text-decoration: none; color: #fff; }
.lineup-more { color: var(--gold); display: inline-block; font-size: 0.82rem; font-weight: 900; margin-top: 12px; }
.cd-unit b { color: #fff; }

/* ============================================================
   HOMEPAGE PIT PASS — video background (added)
   ============================================================ */
.pit-pass-section.is-solo { position: relative; overflow: hidden; }
.pitpass-section-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.92;
}
.pit-pass-section.is-solo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 50% 28%, rgba(226, 35, 26, 0.07), transparent 62%),
    radial-gradient(135% 100% at 50% 44%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.3) 0%, rgba(8, 8, 10, 0.32) 44%, rgba(8, 8, 10, 0.74) 100%);
}
.pit-pass-section.is-solo .pit-pass-card { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .pitpass-section-bg { display: none; }
  .pit-pass-section.is-solo { background: #0a0a0c url("xlr8-pitpass-bg-poster.jpg") center / cover; }
}

/* Homepage Pit Pass — drop the box, let content sit on the video (added) */
.pit-pass-section.is-solo .pit-pass-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0;
  max-width: 560px;
  padding: 30px 24px;
}
.pit-pass-section.is-solo .pit-pass-card::after { content: none !important; }
.pit-pass-section.is-solo .pit-pass-card { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78); }

/* ============================================================
   HOMEPAGE PIT PASS — two-column hero split (added)
   ============================================================ */
.pit-pass-card.pp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
  max-width: 960px !important;
  text-align: left;
  padding: 30px 26px;
}
.pp-visual { display: flex; align-items: center; justify-content: center; min-width: 0; }
.pp-visual .lf-combo { margin: 0; max-width: 100%; }
.pp-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-width: 0; }
.pp-eyebrow { color: var(--gold); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.45; }
.pp-heading { color: #fff; font-size: 2.6rem; line-height: 0.98; font-weight: 950; }
.pp-sub { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.55; max-width: 420px; margin: 0 auto; }
.pp-copy .reward-steps { width: 100%; max-width: 380px; margin: 6px auto 4px; }
.pp-copy .pass-cta { align-self: center; display: inline-flex; padding: 0 30px; }

@media (max-width: 760px) {
  .pit-pass-card.pp-split { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .pp-visual { order: -1; }
  .pp-copy { align-items: center; }
  .pp-copy .reward-steps { margin-left: auto; margin-right: auto; }
  .pp-copy .pass-cta { align-self: center; }
  .pp-heading { font-size: 2.1rem; }
}

/* Pit Pass copy — soft scrim + stronger contrast so the words don't get lost (added) */
.pit-pass-card.pp-split .pp-copy {
  background: linear-gradient(95deg, transparent 0%, rgba(6, 6, 9, 0.5) 16%, rgba(6, 6, 9, 0.62) 100%);
  border-radius: 16px;
  padding: 26px 28px;
  align-items: center;
  text-align: center;
}
.pit-pass-card.pp-split .pp-eyebrow,
.pit-pass-card.pp-split .pp-sub { text-align: center; width: 100%; margin-left: auto; margin-right: auto; }
.pp-heading { font-size: 2.9rem; }
.pp-sub { color: rgba(255,255,255,0.92); }
.pp-copy .reward-steps strong { color: #fff; }
.pp-copy .reward-steps span { color: rgba(255,255,255,0.8); }
.pit-pass-section.is-solo .pit-pass-card { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9); }
@media (max-width: 760px) {
  .pit-pass-card.pp-split .pp-copy { background: rgba(6, 6, 9, 0.52); }
}

/* Pit Pass — big section title crowning the video, card sits below (added) */
.pit-pass-section.is-solo { flex-direction: column; align-items: center; gap: 24px; }
.pp-banner { position: relative; z-index: 2; text-align: center; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.88); }
.pp-banner-eyebrow { display: block; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 8px; }
.pp-banner-title { display: block; font-size: 3.7rem; line-height: 0.95; font-weight: 950; color: #fff; }
@media (max-width: 760px) {
  .pp-banner-title { font-size: 2.4rem; }
  .pit-pass-section.is-solo { gap: 16px; }
}

/* ============================================================
   IMMERSIVE PRODUCT PAGES — shared treatment (all roasts)
   Scroll color-bleed, transparent buy column, dark/gold options,
   bag mockup, and brew guide. Per-page colors live in each file
   via data-bleed attributes; per-bean labels in the bag mockup.
   ============================================================ */
.pp-bleed { position: fixed; inset: 0; z-index: -1; background: #14100c; transition: background-color .9s ease; pointer-events: none; }
.scroll-prog { position: fixed; top: 86px; bottom: 92px; right: 7px; width: 3px; border-radius: 3px; background: rgba(255,255,255,.07); z-index: 55; pointer-events: none; overflow: hidden; }
.scroll-prog i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--gold), var(--ember)); border-radius: 3px; transition: height .12s ease; }
@media (max-width: 720px) { .scroll-prog { top: 70px; bottom: 120px; right: 4px; width: 2px; } }
.crumbs { order: -5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 12px clamp(16px, 4vw, 40px) 0; position: relative; z-index: 5; opacity: .82; }
.crumbs a { color: #c2bcae; text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: #5f5a52; }
.crumbs .cur { color: #e8e2d6; }
.also { order: 6; width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box; padding: clamp(34px, 6vw, 60px) clamp(16px, 4vw, 40px) clamp(78px, 9vw, 100px); }
.also-eyebrow { font-family: var(--font-display); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--gold); margin: 0 0 16px; text-align: center; }
.also-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.4) transparent; }
.also-row::-webkit-scrollbar { height: 6px; }
.also-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 3px; }
.also-card { flex: 0 0 auto; width: clamp(176px, 46vw, 224px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; padding: 14px 14px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.02); transition: transform .2s, border-color .2s, box-shadow .2s; }
.also-thumb { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; margin-bottom: 11px; border: 1px solid rgba(255,255,255,.06); background: radial-gradient(circle at 50% 42%, rgba(226,35,26,.14), transparent 62%), linear-gradient(160deg,#1c1610,#0d0a07); }
.also-thumb img.also-photo { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.also-thumb svg { width: 100%; height: 100%; display: block; }
.also-card:hover { border-color: rgba(255,204,33,.5); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.also-roast { color: var(--ember); font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; }
.also-name { color: #fff; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.3rem; }
.also-go { color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: .78rem; margin-top: 2px; }
@media (max-width: 600px) { .also-card { width: clamp(150px, 60vw, 200px); } }
.product-page { display: flex; flex-direction: column; background: transparent; }
.product-page .product-hero { order: 1; }
.product-page .geo { order: 2; }
.product-page .roast-accent { order: 3; }
.product-page .brew { order: 5; }
.product-page .brew-cta { order: 6; }
.product-page .product-story { order: 7; }
.product-page .story-lab { order: 8; }
.product-page .also { order: 9; }
.product-page .brew, .product-page .geo, .product-page .product-story, .product-page .also, .product-page .story-lab, .product-page .brew-cta { position: relative; border-top: 1px solid rgba(255,255,255,.09); }
.product-page .brew::before, .product-page .geo::before, .product-page .product-story::before, .product-page .also::before, .product-page .story-lab::before, .product-page .brew-cta::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 48px; height: 3px; background: var(--accent, var(--ember)); border-radius: 0 0 3px 3px; }
.brew-cta { width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box; padding: clamp(30px,5vw,52px) clamp(16px,4vw,40px); background: rgba(255,255,255,.022); }
.brew-cta .brew-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(18px,4vw,40px); flex-wrap: wrap; }
.brew-cta .bc-copy { flex: 1 1 320px; min-width: 0; }
.brew-cta .bc-eyebrow { font-family: var(--font-display); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--accent, var(--gold)); margin: 0 0 6px; }
.brew-cta .bc-title { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem,3.4vw,2.2rem); line-height: 1; color: #fff; margin: 0 0 8px; }
.brew-cta .bc-sub { color: #b9b1a2; line-height: 1.6; margin: 0; max-width: 520px; }
.brew-cta .bc-btn { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; padding: 14px 26px; border-radius: 11px; text-decoration: none; }
@media (max-width: 640px) {
  .brew-cta { padding: 24px 16px; }
  .brew-cta .brew-cta-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brew-cta .bc-copy { flex: 0 0 auto; width: 100%; }
  .brew-cta .bc-eyebrow { font-size: .64rem; margin: 0 0 4px; }
  .brew-cta .bc-title { font-size: 1.4rem; margin: 0 0 6px; }
  .brew-cta .bc-sub { font-size: .88rem; line-height: 1.5; }
  .brew-cta .bc-btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: .88rem; }
}
.product-page .brew, .product-page .also { background: var(--carbon-fiber), rgba(255,255,255,.022); }
.product-page .story-lab, .product-page .brew-cta { background: var(--carbon-fiber), rgba(255,255,255,.022); }
.product-page .product-buy h1 { color: #f4ece2; text-shadow: 0 0 13px var(--glow, rgba(226,35,26,.5)), 0 0 40px var(--glow, rgba(226,35,26,.38)); font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.9rem, 9vw, 5.4rem); line-height: .9; letter-spacing: -.01em; margin: 6px 0 6px; }
.product-page .product-story { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(24px,5vw,58px); }
.cupviz { position: relative; width: min(300px, 64vw); aspect-ratio: 1; margin: 0 auto; }
.cupviz svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 22px 42px rgba(0,0,0,.5)); }
.cup-steam { position: absolute; left: 50%; top: 14%; width: 54px; height: 60px; transform: translateX(-50%); opacity: .55; pointer-events: none; }
.cup-steam i { position: absolute; bottom: 0; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle, rgba(228,218,206,.5), transparent 70%); filter: blur(4px); animation: cupSteam 3.6s ease-in infinite; }
.cup-steam i:nth-child(2) { animation-delay: 1.2s; left: 38%; }
.cup-steam i:nth-child(3) { animation-delay: 2.4s; left: 62%; }
@keyframes cupSteam { 0% { transform: translate(-50%,0) scale(.6); opacity: 0; } 25% { opacity: .65; } 100% { transform: translate(-40%,-50px) scale(1.8); opacity: 0; } }
@media (max-width: 760px) { .product-page .product-story { grid-template-columns: 1fr; gap: 8px; } .cupviz { width: min(220px, 58vw); } }
.brew-art { position: relative; width: clamp(82px, 11vw, 102px); height: clamp(82px, 11vw, 102px); margin: 0 auto 20px; color: var(--accent, var(--gold)); }
.brew-art .ba-l { position: absolute; inset: 0; }
.brew-art svg { width: 100%; height: 100%; display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* dim base line so the art is always readable */
.brew-art .ba-base svg { stroke: color-mix(in srgb, var(--accent, #ffd633) 30%, transparent); stroke-width: 2.4; }
/* bright segment that runs along the lines like current through neon */
.brew-art .ba-spark svg { stroke: var(--accent, #ffd633); stroke-width: 2.6; stroke-dasharray: 16 150; filter: drop-shadow(0 0 2px var(--accent, #ffd633)) drop-shadow(0 0 6px color-mix(in srgb, var(--accent, #ffd633) 60%, transparent)); animation: brewRun 2.4s linear infinite; }
@keyframes brewRun { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -166; } }
@media (prefers-reduced-motion: reduce) {
  .brew-art .ba-spark svg { animation: none; stroke-dasharray: none; filter: drop-shadow(0 0 2px var(--accent, #ffd633)) drop-shadow(0 0 7px color-mix(in srgb, var(--accent, #ffd633) 45%, transparent)); }
}
.product-page .product-hero, .product-page .product-story, .product-page .profile-grid { background: transparent !important; }
.product-page .product-story { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(56px, 9vw, 104px); }

/* buy section reworked to match the wheel + color vibe */
.product-page .product-hero { min-height: 0; gap: clamp(14px, 2.4vw, 28px); padding: clamp(16px, 2.8vw, 34px) 22px; align-self: center; width: 100%; max-width: 1080px; }
.product-page .product-media { min-height: 0; background: radial-gradient(circle at 50% 36%, rgba(255,204,33,.16), transparent 62%); padding: 10px; }
.product-page .product-stage { min-height: 0; background: transparent; box-shadow: none; }
.product-page .product-buy { background: transparent; padding: clamp(6px, 1.4vw, 16px) clamp(18px, 3vw, 40px); }
/* From the farm to your cup — shared 4-stage story (roast pages) */
.story-lab { width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box; padding: clamp(40px,7vw,82px) clamp(16px,4vw,40px); }
.story-lab .sl-eyebrow { font-family: var(--font-display); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--gold); margin: 0 0 6px; text-align: center; }
.story-lab .sl-title { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.8rem,4.6vw,2.9rem); color: #fff; text-align: center; margin: 0 0 30px; line-height: 1; }
.story-lab .sl-stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.story-lab .sl-stage { position: relative; border: 0; border-left: 1px solid rgba(255,255,255,.13); background: none; cursor: pointer; padding: 20px clamp(12px,2vw,22px); text-align: left; font: inherit; }
.story-lab .sl-stage:first-child { border-left: 0; }
.story-lab .sl-stage::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--accent, var(--ember)); transform: scaleX(0); transition: transform .3s ease; }
.story-lab .sl-stage.is-active::after { transform: scaleX(1); }
.story-lab .sl-photo { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; transition: opacity .25s, filter .25s; opacity: .4; filter: grayscale(.5) brightness(.85); }
.story-lab .sl-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story-lab .sl-stage:hover .sl-photo { opacity: .72; }
.story-lab .sl-stage.is-active .sl-photo { opacity: 1; filter: none; }
.story-lab .sl-meta { display: flex; align-items: baseline; gap: 8px; margin-top: 11px; }
.story-lab .sl-num { font-family: var(--font-display); font-weight: 800; color: var(--accent, var(--ember)); font-size: .82rem; }
.story-lab .sl-label { font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .92rem; color: #cfc9bd; transition: color .2s; }
.story-lab .sl-stage.is-active .sl-label { color: var(--gold); }
.story-lab .sl-detail { max-width: 620px; margin: 28px auto 0; text-align: center; min-height: 5.4em; }
.story-lab .sl-detail h3 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.5rem; color: #fff; margin: 0 0 8px; }
.story-lab .sl-detail p { color: #b9b1a2; line-height: 1.62; margin: 0; }
.story-lab .sl-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); text-decoration: none; font-size: .92rem; }
@media (max-width: 720px) { .story-lab .sl-stages { grid-template-columns: repeat(2,1fr); } .story-lab .sl-stage:nth-child(2n+1) { border-left: 0; } .story-lab .sl-stage:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); } }
.product-page .product-buy .eyebrow { color: var(--gold); }
.product-page .product-buy h1 { color: #fff; }
.product-page .product-buy > p:not(.eyebrow):not(.product-notes) { color: #cfc9bd; }
.product-page .product-notes { color: #b9b1a2; }
.product-page .product-rating span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e8e2d6; }
.product-page .product-price { color: #fff; }
.product-page .product-price span, .product-page .product-price small { color: #c2bcae; }
.product-page .product-options { display: flex; flex-direction: column; gap: clamp(14px, 2.4vw, 20px); }
.product-page .product-options fieldset { margin: 0; }
.product-page .product-options legend { color: #c2bcae; }
.product-page .choice { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: #e8e2d6; transition: .15s; }
.product-page .choice:hover { border-color: var(--gold); color: #fff; }
.product-page .choice.is-selected { background: var(--gold); border-color: var(--gold); color: #1a1206; box-shadow: 0 6px 16px rgba(255,204,33,.25); }
.product-page .freq-field[hidden] { display: none; }
.product-page .qty-row button, .product-page .qty-row span { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.product-page .cart-row { display: flex; align-items: stretch; gap: 12px; margin-top: 4px; }
.product-page .cart-row .qty-row { margin: 0; flex: 0 0 auto; }
.product-page .cart-row .add-product { flex: 1; margin: 0; }
.product-page .add-product { background: var(--ember); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(226,35,26,.4); }
.product-page .add-product:hover { filter: brightness(1.07); }
.product-page .shipping-note { color: #b8b2a4; }

/* bag mockup placeholder */
.product-page .bag-mock { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.product-page .bag-svg { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 24px 42px rgba(0,0,0,.55)); }
.product-page .bag-tag { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .66rem; color: #b8b2a4; border: 1px dashed rgba(255,255,255,.22); padding: 6px 13px; border-radius: 999px; }

/* brew guide */
.brew { padding: clamp(56px, 9vw, 104px) 22px; }
.brew-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.brew-eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; margin: 0; }
.brew-title { color: #fff; font-style: italic; font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 10px; }
.brew-sub { color: #cfc9bd; max-width: 540px; margin: 0 auto 22px; line-height: 1.6; font-size: .96rem; }
.brew-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.brew-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: clamp(22px, 3vw, 32px); text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.brew-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.brew-stats .bs { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; }
.brew-stats .bs span { display: block; color: #c2bcae; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.brew-stats .bs b { color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.12rem; }
.brew-steps ol { margin: 0; padding-left: 20px; color: #e0dacd; line-height: 1.7; font-size: .94rem; }
.brew-steps li { margin-bottom: 6px; }
@media (max-width: 560px) { .brew-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Obvious purchase selector (Onyx-style one-time vs subscribe) ---- */
.product-page .buy-mode { border: 0; padding: 0; margin: 0; }
.product-page .bm-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.product-page .buymode { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; color: #e8e2d6; transition: border-color .15s, background .15s, box-shadow .15s; }
.product-page .buymode:hover { border-color: rgba(255,204,33,.5); }
.product-page .buymode.is-selected { border-color: var(--gold); background: rgba(255,204,33,.1); box-shadow: 0 0 0 1px var(--gold), 0 12px 28px rgba(255,204,33,.16); }
.product-page .bm-radio { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #6a6e77; position: relative; transition: border-color .15s; }
.product-page .buymode.is-selected .bm-radio { border-color: var(--gold); }
.product-page .buymode.is-selected .bm-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.product-page .bm-main { flex: 1; min-width: 0; }
.product-page .bm-main b { display: block; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.05rem; color: #fff; line-height: 1.1; }
.product-page .bm-main small { display: block; color: #c2bcae; font-size: .8rem; margin-top: 3px; }
.product-page .bm-price { flex: 0 0 auto; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: #fff; white-space: nowrap; }
.product-page .bm-price s { color: #b8b2a4; font-weight: 600; font-size: .82rem; margin-right: 5px; }
.product-page .bm-badge { position: absolute; top: -10px; right: 14px; background: var(--ember); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(226,35,26,.45); }

/* make Add to Cart unmistakable */
.product-page .cart-row { margin-top: 8px; }
.product-page .add-product { font-family: var(--font-display); font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; font-size: 1.15rem; padding: 18px 24px; border-radius: 13px; box-shadow: 0 12px 30px rgba(226,35,26,.45); }
.product-page .add-product:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---- Seamless sticky checkout bar (Onyx-style) ---- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px clamp(14px, 4vw, 40px); background: rgba(12,10,8,.55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 -12px 34px rgba(0,0,0,.45); }
.buybar .bb-group { display: flex; align-items: center; gap: 12px; }
.buybar .bb-mid { flex: 1; justify-content: center; min-width: 0; }
.buybar .bb-mid .bb-name { flex: 0 0 auto; }
.buybar .bb-note { color: #c2bcae; font-size: .76rem; font-weight: 800; white-space: nowrap; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .07em; }
@media (max-width: 640px) { .buybar .bb-note { font-size: .72rem; white-space: normal; text-align: center; } }
.buybar .bb-price { font-family: var(--font-display); font-weight: 900; color: var(--gold); font-size: 1.05rem; white-space: nowrap; }
.buybar .bb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.buybar .bb-name { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 900; font-style: italic; color: #fff; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar select.bb-sel { flex: 0 0 auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 10px; padding: 9px 12px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; cursor: pointer; }
.buybar .bb-sum { color: #c2bcae; font-size: .74rem; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .bb-mode { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 3px; flex: 0 0 auto; }
.buybar .bb-opt { border: 0; background: none; color: #cfc9bd; font-family: var(--font-display); font-weight: 800; font-size: .82rem; padding: 9px 15px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: .15s; }
.buybar .bb-opt.is-selected { background: var(--gold); color: #1a1206; }
.buybar .bb-opt span { font-size: .72rem; opacity: .85; margin-left: 2px; }
.buybar select.bb-freq { flex: 0 0 auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 10px; padding: 9px 12px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; cursor: pointer; }
.buybar select.bb-freq[hidden] { display: none; }
.buybar .bb-qty { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 3px; }
.buybar .bb-qty button { width: 32px; height: 32px; border: 0; background: none; color: #fff; font-size: 1.1rem; cursor: pointer; border-radius: 8px; }
.buybar .bb-qty button:hover { background: rgba(255,255,255,.1); }
.buybar .bb-qty span { min-width: 22px; text-align: center; color: #fff; font-weight: 800; }
.buybar .add-product { position: relative; isolation: isolate; flex: 0 0 auto; margin: 0; font-family: var(--font-display); font-weight: 800; font-style: normal; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; padding: 11px 22px; border-radius: 9px; background: #16131a; color: #fff; border: 1px solid rgba(226,35,26,.45); box-shadow: inset 0 -2px 0 #e2231a; cursor: pointer; white-space: nowrap; transition: background .18s ease, box-shadow .18s ease; }
.buybar .add-product:hover { background: #211c25; box-shadow: inset 0 -3px 0 #e2231a; }
.buybar .add-product::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--neonA), transparent 0 66%, #e2231a 78%, #ff8d82 87%, #e2231a 93%, transparent 97%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; filter: drop-shadow(0 0 5px rgba(226,35,26,.7)); animation: ctaNeonRun 3.2s linear infinite; pointer-events: none; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .buybar .add-product::before { animation: none; } }
.buybar .add-product .bb-bprice { color: var(--gold); margin-left: 5px; font-style: italic; }
.buybar .add-product:hover { filter: brightness(1.08); }
body:has([data-buybar]) { padding-bottom: 84px; }
@supports not (selector(:has(*))) { .product-page { padding-bottom: 84px; } }
@media (max-width: 720px) {
  .buybar { flex-wrap: wrap; gap: 8px; padding: 9px 10px; justify-content: center; }
  .buybar .bb-group { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .buybar .bb-left { order: 1; flex: 0 1 auto; }
  .buybar .bb-mid { order: 2; flex: 0 1 auto; }
  .buybar .bb-mid .bb-name { display: none; }
  .buybar .bb-right { order: 3; flex: 1 0 100%; justify-content: center; gap: 8px; }
  .buybar .bb-mode { padding: 2px; }
  .buybar .bb-opt { padding: 6px 9px; font-size: .68rem; }
  .buybar .bb-opt span { font-size: .62rem; margin-left: 1px; }
  .buybar select.bb-sel { padding: 6px 7px; font-size: .7rem; }
  .buybar .bb-qty button { width: 27px; height: 27px; font-size: 1rem; }
  .buybar .add-product { flex: 1; text-align: center; padding: 10px 14px; font-size: .72rem; letter-spacing: .08em; border-radius: 9px; }
}

/* ============================================================
   DARK PROFILE WHEEL (all coffee pages) — accent set per page via --accent
   ============================================================ */
.geo { background: transparent; color: #e8e2d6; padding: clamp(46px, 7vw, 84px) 22px; --accent: #3b8ed8; }
.geo-head { text-align: center; margin-bottom: 6px; }
.geo-eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800; color: var(--accent); margin: 0; }
.geo-notes { letter-spacing: 0.1em; font-size: clamp(.62rem, 2.5vw, .78rem); font-weight: 800; color: #c2bcae; text-transform: uppercase; margin: 8px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-notes b { color: #fff; }
.geo-wheel { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: clamp(8px, 2vw, 28px); max-width: 1060px; margin: 28px auto 0; }
.geo-col { display: flex; flex-direction: column; gap: clamp(20px, 3.4vw, 34px); }
.geo-left { align-items: flex-end; }
.geo-right { align-items: flex-start; }
.geo-feat { display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; padding: 2px; }
.geo-left .geo-feat { text-align: right; }
.geo-right .geo-feat { flex-direction: row-reverse; text-align: left; }
.geo-feat .t strong { display: block; font-weight: 900; font-size: 0.98rem; line-height: 1.1; color: #fff; transition: color 0.15s; }
.geo-feat .t span { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #b8b2a4; margin-top: 2px; }
.geo-feat .ic { width: 40px; height: 40px; flex: 0 0 auto; border: 1.5px solid rgba(255,255,255,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.15s; position: relative; }
.geo-left .geo-feat .ic::after, .geo-right .geo-feat .ic::after { content: ""; position: absolute; top: 50%; width: 30px; height: 1.5px; background: rgba(255,255,255,0.22); transition: 0.15s; }
.geo-left .geo-feat .ic::after { left: 100%; }
.geo-right .geo-feat .ic::after { right: 100%; }
.geo-feat:hover .ic::after, .geo-feat.act .ic::after { background: var(--accent); }
.geo-feat .ic svg { width: 22px; height: 22px; fill: none; stroke: #cfc9bd; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.geo-feat:hover .t strong, .geo-feat.act .t strong { color: var(--accent); }
.geo-feat:hover .ic, .geo-feat.act .ic { background: var(--accent); border-color: var(--accent); transform: scale(1.18); box-shadow: 0 0 18px -2px var(--accent); }
.geo-feat:hover .ic svg, .geo-feat.act .ic svg { stroke: #12110d; }
.geo-center { display: flex; align-items: center; justify-content: center; }
.geo-ring { width: min(44vw, 400px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(226,35,26,0.45); display: flex; align-items: center; justify-content: center; padding: 8%; position: relative; background: radial-gradient(circle at 50% 42%, #241a12, #0f0a06); box-shadow: 0 0 64px -16px rgba(226,35,26,0.55), inset 0 0 54px -18px var(--accent); }
.geo-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(226,35,26,0.5); opacity: 0.8; }
.geo-bag { position: relative; z-index: 1; height: 84%; display: flex; align-items: center; justify-content: center; }
.geo-bag svg, .geo-bag img.bag-photo { height: 100%; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55)); }
.geo-bag img.bag-photo { object-fit: contain; max-width: 100%; }
/* center-fill: the hovered feature's detail appears inside the ring (bag fades out) */
.geo-ring .geo-bag { transition: opacity .3s ease; }
.geo-ring.show-fill .geo-bag { opacity: 0; }
.geo-fill { position: absolute; inset: 12%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 4%; opacity: 0; transform: scale(.95); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.geo-ring.show-fill .geo-fill { opacity: 1; transform: scale(1); }
.geo-fill .gf-eyebrow { font-family: var(--font-display); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .6rem; color: var(--accent); }
.geo-fill .gf-title { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.05rem, 2.3vw, 1.55rem); line-height: 1.05; color: #fff; margin: 0; }
.geo-fill .gf-desc { font-size: clamp(.72rem, 1.5vw, .9rem); line-height: 1.42; color: #e8e2d6; margin: 2px 0 0; }
@media (max-width: 560px) { .geo-fill .gf-desc { font-size: .7rem; line-height: 1.36; } .geo-fill { inset: 9%; gap: 3px; } }
.geo-readout { max-width: 560px; margin: clamp(26px, 4vw, 42px) auto 0; text-align: center; min-height: 4.4em; }
.geo-inner { text-align: center; max-width: 84%; position: relative; z-index: 1; }
.geo-title { font-family: var(--font-display, Georgia, serif); font-style: italic; font-weight: 900; font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1; margin: 0; color: #fff; }
.geo-hint { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 10px 0 10px; }
.geo-desc { display: none; }
.geo-spectrum { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(34px, 5vw, 52px); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: #c2bcae; }
.geo-dots { display: flex; gap: 8px; }
.geo-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); display: block; }
.geo-dots i.on { background: var(--accent); border-color: var(--accent); }
@media (max-width: 780px) {
  .geo-wheel { grid-template-columns: 1fr; gap: 6px; }
  .geo-center { order: -1; margin-bottom: 20px; }
  .geo-left, .geo-right { align-items: stretch; }
  .geo-left .geo-feat, .geo-right .geo-feat { flex-direction: row; text-align: left; justify-content: flex-start; }
  .geo-ring { width: min(78vw, 340px); }
  .geo-desc { min-height: auto; }
  .geo-left .geo-feat .ic::after, .geo-right .geo-feat .ic::after { display: none; }
}
@media (max-width: 560px) {
  .geo-wheel { --R: min(40vw, 148px); display: block; position: relative; width: 100%; max-width: 360px; height: calc(2 * var(--R) + 64px); margin: 16px auto 0; }
  .geo-left, .geo-right { display: contents; }
  .geo-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  .geo-ring { width: calc(2 * var(--R) - 54px); padding: 13%; }
  .geo-feat { position: absolute; left: 50%; top: 50%; padding: 0; margin: 0; }
  .geo-feat .t { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
  .geo-feat .ic { width: 42px; height: 42px; background: #16161c; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
  .geo-feat .ic::after { display: none !important; }
  .geo-right .geo-feat:nth-child(1) { transform: translate(-50%,-50%) rotate(0deg)    translateY(calc(-1 * var(--R))) rotate(0deg); }
  .geo-right .geo-feat:nth-child(2) { transform: translate(-50%,-50%) rotate(45deg)   translateY(calc(-1 * var(--R))) rotate(-45deg); }
  .geo-right .geo-feat:nth-child(3) { transform: translate(-50%,-50%) rotate(90deg)   translateY(calc(-1 * var(--R))) rotate(-90deg); }
  .geo-right .geo-feat:nth-child(4) { transform: translate(-50%,-50%) rotate(135deg)  translateY(calc(-1 * var(--R))) rotate(-135deg); }
  .geo-left .geo-feat:nth-child(4)  { transform: translate(-50%,-50%) rotate(180deg)  translateY(calc(-1 * var(--R))) rotate(-180deg); }
  .geo-left .geo-feat:nth-child(3)  { transform: translate(-50%,-50%) rotate(225deg)  translateY(calc(-1 * var(--R))) rotate(-225deg); }
  .geo-left .geo-feat:nth-child(2)  { transform: translate(-50%,-50%) rotate(270deg)  translateY(calc(-1 * var(--R))) rotate(-270deg); }
  .geo-left .geo-feat:nth-child(1)  { transform: translate(-50%,-50%) rotate(315deg)  translateY(calc(-1 * var(--R))) rotate(-315deg); }
  .geo-title { font-size: 1.55rem; }
  .geo-hint { margin: 5px 0 7px; }
  .geo-desc { font-size: 0.76rem; line-height: 1.46; min-height: auto; }
}

/* ===== site-wide neon accent rule (under hero headlines) ===== */
.neon-rule-wrap { margin: 20px 0 6px; line-height: 0; }
.rule-lockup { display: inline-block; }
.rule-lockup .neon-rule-wrap { max-width: none !important; width: 100%; margin-left: 0; margin-right: 0; }
.neon-rule {
  display: block; position: relative; width: 100%; height: 3px;
  border-radius: 4px; vertical-align: middle; overflow: hidden;
  background: linear-gradient(90deg, #7a0d08 0%, var(--ember) 50%, #ff7a1a 100%);
}
.neon-rule::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 56px;
  background: radial-gradient(closest-side, #ffcaa0 0%, #ff7a1a 45%, rgba(226,35,26,.4) 72%, transparent 100%);
  transform: translateX(-50%);
  animation: neonRun 2.2s linear infinite;
}
@keyframes neonGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255,53,42,.7), 0 0 12px rgba(255,53,42,.55), 0 0 22px rgba(255,90,30,.35); opacity: .9; }
  50%      { box-shadow: 0 0 9px rgba(255,53,42,1), 0 0 20px rgba(255,53,42,.85), 0 0 38px rgba(255,90,30,.7); opacity: 1; }
}
@keyframes neonRun { 0% { left: -10%; } 100% { left: 110%; } }
@media (prefers-reduced-motion: reduce) {
  .neon-rule { animation: none; }
  .neon-rule::after { display: none; }
}

/* ===== Guided "lap" nav — sequences the racing/story pages ===== */
.lap-nav{border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(12,12,15,.0),rgba(12,12,15,.5));}
.lap-inner{max-width:1100px;margin:0 auto;padding:clamp(26px,4vw,44px) 24px;display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center}
.lap-steps{grid-column:2;display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0;justify-self:center}
.lap-steps li{display:flex;align-items:center;gap:10px}
.lap-steps li::after{content:"";width:14px;height:1px;background:rgba(255,255,255,.2)}
.lap-steps li:last-child::after{display:none}
.lap-steps a{font-family:var(--font-display);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;color:#8d8a83;text-decoration:none;white-space:nowrap;transition:color .2s}
.lap-steps a:hover{color:#e7e0d4}
.lap-steps li.cur a{color:var(--gold)}
.lap-steps li.cur a::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 9px var(--gold);margin-right:7px;vertical-align:middle}
.lap-prev,.lap-next{display:flex;flex-direction:column;gap:3px;text-decoration:none;max-width:300px}
.lap-prev{grid-column:1;justify-self:start;text-align:left}
.lap-next{grid-column:3;justify-self:end;text-align:right}
.lap-prev .dir,.lap-next .dir{font-family:var(--font-display);font-weight:800;text-transform:uppercase;letter-spacing:.1em;font-size:.66rem;color:#8d8a83}
.lap-next .dir{color:var(--gold)}
.lap-prev .ttl,.lap-next .ttl{font-family:var(--font-display);font-weight:900;font-style:italic;text-transform:uppercase;font-size:clamp(1.1rem,2.4vw,1.6rem);color:#f4ece2;line-height:1;transition:color .2s}
.lap-prev:hover .ttl{color:#fff}
.lap-next:hover .ttl{color:var(--gold)}
@media(max-width:780px){
  .lap-inner{grid-template-columns:1fr 1fr;gap:14px 18px}
  .lap-steps{grid-column:1 / -1;grid-row:1;order:-1;flex-wrap:wrap;justify-content:center}
  .lap-prev{grid-column:1;grid-row:2}.lap-next{grid-column:2;grid-row:2}
  .lap-prev .ttl,.lap-next .ttl{font-size:1.05rem}
}

/* ===== Scroll-reveal flow (Onyx-style: elements ease up as they enter) ===== */
[data-flow] .flow-rv{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
[data-flow] .flow-rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){[data-flow] .flow-rv{opacity:1!important;transform:none!important;transition:none!important}}

/* small footer fine-print: photo credit + legal links */
.footer-fine{margin:16px auto 0;padding:12px 18px 2px;text-align:center;font-size:11.5px;color:#7d756a;border-top:1px solid rgba(255,255,255,.07);max-width:1100px;line-height:1.9}
.footer-fine a{color:#9a958c;text-decoration:none}
.footer-fine a:hover{color:var(--gold,#ffd633)}

/* Roast accent line (below the flavor wheel) */
.roast-accent{max-width:780px;margin:clamp(10px,2.4vw,26px) auto 0;padding:0 24px;text-align:center}
.roast-accent .ra-line{font-family:var(--font-display);font-weight:800;font-style:italic;text-transform:uppercase;letter-spacing:.02em;font-size:clamp(1.05rem,2.7vw,1.55rem);line-height:1.32;color:#cfc9bd;margin:0}
.roast-accent .ra-red{color:var(--ember,#e2231a)}
.roast-accent .ra-gold{color:var(--gold,#ffd633)}

/* Reusable neon running-light buttons (red default, .gold variant) */
.neon-btn{position:relative;isolation:isolate;background:#17131a!important;color:#fff!important;border:1px solid rgba(226,35,26,.55)!important;box-shadow:inset 0 -3px 0 #e2231a!important}
.neon-btn:hover{background:#211c25!important}
.neon-btn::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--neonA),transparent 0 66%,#e2231a 78%,#ff8d82 87%,#e2231a 93%,transparent 97%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;filter:drop-shadow(0 0 6px rgba(226,35,26,.7));animation:ctaNeonRun 3.2s linear infinite;pointer-events:none;z-index:2}
.neon-btn.gold{border-color:rgba(255,214,51,.55)!important;box-shadow:inset 0 -3px 0 #ffd633!important}
.neon-btn.gold::before{background:conic-gradient(from var(--neonA),transparent 0 66%,#e0a800 78%,#fff0a8 87%,#e0a800 93%,transparent 97%);filter:drop-shadow(0 0 6px rgba(255,200,40,.7))}
@media (prefers-reduced-motion:reduce){.neon-btn::before{animation:none}}

/* Reusable "Get the drops" email-signup card */
.drops-card{position:relative;overflow:hidden;max-width:540px;margin:8px auto 30px;text-align:center;background:linear-gradient(180deg,#17171c,#101014);border:1px solid var(--line,#2a2a33);border-radius:16px;padding:28px 24px 24px}
.drops-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#e2231a,#ffd633)}
.drops-ic{width:46px;height:46px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 38% 32%,#23232a,#131317);border:1px solid var(--line,#2a2a33);box-shadow:0 0 12px rgba(255,200,40,.25)}
.drops-ic svg{width:24px;height:24px}
.drops-h{font-family:var(--font-display,'Rajdhani',sans-serif);font-style:italic;font-weight:900;text-transform:uppercase;font-size:clamp(1.4rem,4vw,1.9rem);color:#f4ece2;margin:0 0 6px;letter-spacing:.01em}
.drops-p{color:#c4c2bb;font-size:14px;line-height:1.55;max-width:380px;margin:0 auto 16px}
.drops-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.drops-form input{flex:1 1 230px;max-width:300px;padding:13px 14px;border-radius:10px;border:1px solid var(--line,#33333a);background:#0c0c10;color:#fff;font-size:15px}
.drops-form input::placeholder{color:#8b8f97}
.drops-form .neon-btn{font-family:var(--font-display,'Rajdhani',sans-serif);font-weight:900;font-style:italic;padding:13px 24px;border-radius:10px;cursor:pointer;font-size:15px}
.drops-msg{font-size:13px;min-height:1.1em;margin:12px 0 0;color:#c4c2bb}

/* Pit Pass: reward cash-in spark + sticky join bar */
.rtPanel.spark{animation:rtSpark .55s ease}
@keyframes rtSpark{0%{box-shadow:inset 0 0 0 rgba(255,210,74,0)}30%{box-shadow:inset 0 0 34px rgba(255,210,74,.45)}100%{box-shadow:inset 0 0 0 rgba(255,210,74,0)}}
.rtPanel.spark .rtIcon{animation:rtIcPop .55s cubic-bezier(.34,1.56,.64,1)}
@keyframes rtIcPop{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1)}}
.pp-stickybar{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;align-items:center;justify-content:center;gap:14px;padding:11px 16px;background:linear-gradient(0deg,#0a0a0c 62%,rgba(10,10,12,.7));border-top:1px solid rgba(255,214,51,.3);transform:translateY(115%);transition:transform .32s cubic-bezier(.22,1,.36,1)}
.pp-stickybar.show{transform:none}
.pp-stickybar .pp-sticky-txt{color:#c4c2bb;font-family:var(--font-display,sans-serif);font-weight:800;font-style:italic;text-transform:uppercase;letter-spacing:.04em;font-size:.86rem}
.pp-stickybar a{padding:11px 22px;border-radius:10px;font-family:var(--font-display,sans-serif);font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.03em;font-size:.86rem;text-decoration:none}
@media (max-width:560px){.pp-stickybar .pp-sticky-txt{display:none}}
@media (prefers-reduced-motion:reduce){.rtPanel.spark,.rtPanel.spark .rtIcon{animation:none}.pp-stickybar{transition:none}}
