/* ==========================================================================
   GiddyUp Nutrition — design system
   ========================================================================== */

:root {
  /* Brand */
  --teal: #12d3e8;
  --teal-bright: #35e6f7;
  --teal-deep: #00a7ba;
  --orange: #ff6b2c;
  --orange-bright: #ff8a4f;

  /* Surfaces */
  --ink: #041a20;
  --ink-soft: #082a33;
  --ink-line: rgba(255, 255, 255, 0.11);
  --cream: #fdfaf3;
  --sand: #eff6f6;
  --paper: #ffffff;

  /* Text */
  --on-dark: #eaf6f8;
  --on-dark-dim: #90b0b8;
  --on-light: #08262e;
  --on-light-dim: #587680;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shell: min(1240px, 100% - 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--on-light);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* height:auto keeps the intrinsic ratio when width/height attrs are set for CLS. */
img,
picture,
svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell { width: var(--shell); margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1, .h1 { font-size: clamp(2.75rem, 8vw, 6rem); }
h2, .h2 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--on-light-dim);
  max-width: 46ch;
}
.on-dark .lead,
.section--ink .lead { color: var(--on-dark-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 1.8em;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--center::before { display: none; }

.accent { color: var(--orange); }
.accent-teal { color: var(--teal-deep); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-bright); }

.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { background: var(--teal-bright); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-soft); }

.btn--outline {
  border-color: rgba(8, 38, 46, 0.22);
  color: var(--on-light);
}
.btn--outline:hover { border-color: var(--on-light); }

.on-dark .btn--outline,
.section--ink .btn--outline,
.cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--on-dark);
}
.on-dark .btn--outline:hover,
.section--ink .btn--outline:hover,
.cta .btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.9rem 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
}
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 243, 0.80);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(8, 38, 46, 0.08);
  transition: box-shadow 0.4s var(--ease);
  z-index: -1;
}
.masthead.is-stuck::after { box-shadow: 0 16px 38px rgba(4, 26, 32, 0.09); }
.masthead.is-stuck { padding: 0.55rem 0; }

.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img {
  height: clamp(38px, 5vw, 50px);
  width: auto;
  transition: height 0.4s var(--ease);
}
.masthead.is-stuck .brand img { height: 36px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.primary-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-light);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--teal-deep); }

.nav-call {
  background: var(--orange);
  color: #fff !important;
  padding: 0.7rem 1.3rem !important;
  font-weight: 700;
}
.nav-call::after { display: none !important; }
.nav-call:hover { background: var(--orange-bright); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(8, 38, 46, 0.16);
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(6.5rem, 14vh, 9rem) 0 clamp(3rem, 8vh, 5rem);
  background: var(--cream);
  color: var(--on-light);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(48% 44% at 70% 36%, rgba(18, 211, 232, 0.34), transparent 66%),
    radial-gradient(40% 38% at 14% 80%, rgba(255, 107, 44, 0.20), transparent 70%),
    radial-gradient(70% 46% at 50% 0%, rgba(0, 167, 186, 0.16), transparent 72%);
  z-index: -2;
  animation: auraShift 18s var(--ease-in-out) infinite alternate;
}
@keyframes auraShift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero .grain { opacity: 0.22; mix-blend-mode: multiply; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero__mark {
  width: clamp(150px, 17vw, 215px);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 14px 30px rgba(0, 167, 186, 0.22));
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.09s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.18s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 46vh, 560px);
  padding-bottom: 3.5rem;
}
/* The product shots are photographed on white and blended with multiply, so
   the contact shadow has to be drawn rather than derived from an alpha edge. */
.hero__stage::before {
  content: "";
  position: absolute;
  bottom: 3.1rem;
  width: min(52%, 250px);
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(4, 26, 32, 0.34), transparent 76%);
}
.hero__halo {
  position: absolute;
  width: min(78%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 211, 232, 0.34), transparent 68%);
  filter: blur(6px);
}
.hero__ring {
  position: absolute;
  width: min(86%, 470px);
  aspect-ratio: 1;
  border: 1px dashed rgba(8, 38, 46, 0.18);
  border-radius: 50%;
  animation: spin 34s linear infinite;
}
.hero__ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.18);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__cup {
  position: relative;
  width: clamp(180px, 26vw, 330px);
  mix-blend-mode: multiply;
  animation: cupIn 1.1s var(--ease) 0.15s both;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
@keyframes cupIn {
  from { opacity: 0; transform: translateY(46px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
.hero__cup.is-swapping { opacity: 0; transform: translateY(18px) scale(0.97); }

.hero__flavour {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 38, 46, 0.10);
  box-shadow: 0 10px 26px rgba(4, 26, 32, 0.10);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-light);
  white-space: nowrap;
}
.hero__flavour b { color: var(--teal-deep); font-weight: 700; }

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 380px;
  margin-top: 1.75rem;
}
.countdown li {
  padding: 0.7rem 0.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 38, 46, 0.09);
  text-align: center;
}
.countdown b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-dim);
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  flex: 0 0 auto;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.section--ink h2,
.section--ink h3 { color: var(--cream); }

.section-head { max-width: 58ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { margin-block: 0.7rem 0.9rem; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }

/* Split feature */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 211, 232, 0.22), transparent 70%);
}
.split__media img {
  position: relative;
  width: min(300px, 74%);
  mix-blend-mode: multiply;
}
.split__media::after {
  content: "";
  position: absolute;
  bottom: clamp(1.2rem, 3.4vw, 2.6rem);
  width: min(46%, 190px);
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(4, 26, 32, 0.26), transparent 76%);
}

.ticks { display: grid; gap: 0.85rem; margin-top: 1.6rem; }
/* Padding + absolute marker rather than a two-column grid: a grid turns every
   child into an item, so any inline markup inside an item would strand the
   text that follows it in the narrow icon column. */
.ticks li {
  position: relative;
  padding-left: 2.25rem;
  font-size: 0.98rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.14);
  border: 1.5px solid var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b2c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E");
  background-size: 62%;
  background-repeat: no-repeat;
  background-position: center;
}

/* --------------------------------------------------------------------------
   Drink rail (horizontal scroll)
   -------------------------------------------------------------------------- */

/* Paper rather than sand: the track is transformed, which isolates it into its
   own stacking context and stops the cups' multiply blend from reaching the
   section behind. Matching the photo backdrop exactly makes the point moot. */
.rail { position: relative; background: var(--paper); color: var(--on-light); }
.rail__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding-block: clamp(4.5rem, 10vh, 7rem) clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.rail__head { text-align: center; }
.rail__head h2 { margin-top: 0.6rem; }

.rail__viewport {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rail__track {
  display: flex;
  /* Top-aligned: the image box is a fixed height, so aligning the tops keeps
     every cup on one baseline even when a flavour list wraps to two lines. */
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-inline: 8vw;
  width: max-content;
  will-change: transform;
}

.cup-card {
  position: relative;
  width: clamp(160px, 20vw, 240px);
  text-align: center;
  flex: 0 0 auto;
  --cup-h: clamp(230px, 38vh, 360px);
}
.cup-card img {
  width: 100%;
  /* Fixed box + contain so every cup shares one baseline despite differing crops. */
  height: var(--cup-h);
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  transition: transform 0.55s var(--ease);
}
.cup-card::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: calc(var(--cup-h) - 14px);
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(4, 26, 32, 0.26), transparent 76%);
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.cup-card:hover img { transform: translateY(-14px) scale(1.04); }
.cup-card:hover::before { transform: scale(0.9); opacity: 0.7; }
.cup-card h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.cup-card p { font-size: 0.85rem; color: var(--on-light-dim); margin-top: 0.2rem; }

.rail__progress {
  width: min(520px, 70%);
  height: 3px;
  margin-inline: auto;
  border-radius: 99px;
  background: rgba(8, 38, 46, 0.12);
  overflow: hidden;
}
.rail__progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1rem;
}
.tile {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(8, 38, 46, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tile:hover { transform: translateY(-5px); border-color: rgba(18, 211, 232, 0.55); }
.tile h3 { margin-bottom: 0.5rem; }
.tile p { font-size: 0.95rem; color: var(--on-light-dim); }
.tile__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}
.tile--wide { grid-column: span 2; }
.tile--ink {
  background: var(--ink);
  border-color: transparent;
  color: var(--on-dark);
}
.tile--ink h3 { color: var(--cream); }
.tile--ink p { color: var(--on-dark-dim); }
.tile--teal {
  background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  border-color: transparent;
  color: #032830;
}
.tile--teal h3, .tile--teal p { color: #032830; }
.tile--orange {
  background: var(--orange);
  border-color: transparent;
  color: #fff;
}
.tile--orange h3 { color: #fff; }
.tile--orange p { color: rgba(255, 255, 255, 0.86); }

/* --------------------------------------------------------------------------
   Price cards
   -------------------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}
.price {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(8, 38, 46, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price:hover { transform: translateY(-6px); }
.price--hero {
  background: var(--ink);
  color: var(--on-dark);
  border-color: transparent;
  position: relative;
}
.price--hero h3 { color: var(--cream); }
.price--hero p { color: var(--on-dark-dim); }
.price__tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--teal);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--orange);
  margin: 0.7rem 0 0.6rem;
}
.price p { font-size: 0.95rem; color: var(--on-light-dim); }
.price ul { margin-top: 1rem; display: grid; gap: 0.45rem; font-size: 0.93rem; }
.price ul li { display: flex; justify-content: space-between; gap: 1rem; }
.price ul b { color: var(--orange); font-weight: 700; }

/* --------------------------------------------------------------------------
   Reward cards
   -------------------------------------------------------------------------- */

.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.reward {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(8, 38, 46, 0.08);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.reward:hover { transform: translateY(-6px); border-color: rgba(18, 211, 232, 0.5); }
.reward__index {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.reward h3 { margin: 0.8rem 0 0.55rem; }
.reward p { font-size: 0.95rem; color: var(--on-light-dim); }
.reward__foot {
  margin-top: auto;
  padding-top: 1.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
}
.reward--feature {
  background: var(--ink);
  color: var(--on-dark);
  border-color: transparent;
}
.reward--feature h3 { color: var(--cream); }
.reward--feature p { color: var(--on-dark-dim); }
.reward--feature .reward__index,
.reward--feature .reward__foot { color: var(--teal); }
.reward--feature .punch i { border-color: rgba(255, 255, 255, 0.3); }

/* Two even rows of five rather than a ragged wrap. */
.punch {
  display: grid;
  grid-template-columns: repeat(5, 26px);
  gap: 0.45rem;
  margin-top: 1.3rem;
}
.punch i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px dashed rgba(8, 38, 46, 0.24);
}
.punch i.is-filled {
  border: 0;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E");
  background-size: 58%;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Timeline, stat strip, pull quote
   -------------------------------------------------------------------------- */

.timeline { margin-top: 1.7rem; }
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 2rem;
  border-left: 2px solid rgba(8, 38, 46, 0.12);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.timeline h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-top: 0.3rem;
}
.timeline p { font-size: 0.94rem; color: var(--on-light-dim); margin-top: 0.2rem; }

.programs {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(8, 38, 46, 0.13);
}
.programs li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(8, 38, 46, 0.13);
}
.programs b {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.programs h3 { font-size: 1.06rem; }
.programs p {
  grid-column: 2;
  margin-top: 0.3rem;
  font-size: 0.94rem;
  color: var(--on-light-dim);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1px;
  background: rgba(8, 38, 46, 0.09);
  border: 1px solid rgba(8, 38, 46, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip div { background: var(--paper); padding: clamp(1.3rem, 2.6vw, 1.9rem); }
.stat-strip b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.stat-strip span { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--on-light-dim); }

.quote {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.section--ink .quote cite { color: var(--teal); }

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* --------------------------------------------------------------------------
   Menu grid
   -------------------------------------------------------------------------- */

.filterbar {
  position: sticky;
  top: 72px;
  z-index: 60;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  margin-bottom: 2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(var(--cream) 70%, transparent);
}
.filterbar::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid rgba(8, 38, 46, 0.14);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--on-light-dim);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--on-light); color: var(--on-light); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.drink {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(8, 38, 46, 0.07);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.drink::before {
  content: "";
  position: absolute;
  inset: auto 12% 22%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 211, 232, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.drink:hover { transform: translateY(-8px); border-color: rgba(18, 211, 232, 0.5); }
.drink:hover::before { opacity: 1; }
.drink img {
  position: relative;
  width: 78%;
  max-width: 190px;
  height: clamp(180px, 24vw, 250px);
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  transition: transform 0.5s var(--ease);
}
.drink:hover img { transform: translateY(-8px) scale(1.05); }
.drink h3 { margin-top: 1rem; font-size: 1.08rem; }
.drink p {
  font-size: 0.83rem;
  color: var(--on-light-dim);
  margin-top: 0.25rem;
  min-height: 2.4em;
}
.drink .price-pill {
  margin-top: 0.7rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.7rem; max-width: 60rem; margin-inline: auto; }
.faq details {
  border: 1px solid rgba(8, 38, 46, 0.1);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq details[open] { border-color: rgba(18, 211, 232, 0.6); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(18, 211, 232, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a7ba' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--on-light-dim); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
  align-items: start;
}
.panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(8, 38, 46, 0.08);
}
.info-row {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(8, 38, 46, 0.08);
}
.info-row:last-of-type { border-bottom: 0; }
.info-row dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.info-row dd { margin: 0; font-weight: 600; }
.info-row dd small { display: block; font-weight: 400; color: var(--on-light-dim); }

.map {
  border: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border-radius: var(--radius);
  filter: saturate(0.9);
}

/* --------------------------------------------------------------------------
   Page hero (interior)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: clamp(7.5rem, 17vh, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--cream);
  color: var(--on-light);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 75% at 86% 12%, rgba(18, 211, 232, 0.30), transparent 70%),
    radial-gradient(42% 65% at 2% 105%, rgba(255, 107, 44, 0.18), transparent 70%);
  z-index: -1;
}
.page-hero .grain { opacity: 0.2; mix-blend-mode: multiply; }
/* A step down from the homepage h1 so interior pages don't shout as loudly. */
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin-block: 0.8rem 1rem;
}
.page-hero .btn-row { margin-top: 1.6rem; }
.crumbs {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-dim);
}
.crumbs a { color: var(--teal-deep); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(140deg, var(--teal-deep), var(--ink) 65%);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta h2 { color: var(--cream); }
.cta .lead { margin: 0.9rem auto 1.8rem; color: rgba(234, 246, 248, 0.78); }
.cta__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-bright);
  margin-bottom: 1.4rem;
}
.cta__phone:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--on-dark-dim);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer img { width: 150px; margin-bottom: 1rem; }
.footer h4 {
  color: var(--cream);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer li + li { margin-top: 0.55rem; }
.footer a:hover { color: var(--teal); }
.footer__base {
  border-top: 1px solid var(--ink-line);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 150;
  display: none;
  gap: 0.5rem;
}
.callbar .btn { flex: 1; padding: 0.95em 1rem; }

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 940px) {
  /* Bottom padding clears the fixed call bar with enough room that the hero's
     own CTAs don't read as one four-button block with it. */
  .hero { padding-block: clamp(5rem, 11vh, 7rem) clamp(8rem, 16vh, 10rem); }
  .hero__grid { grid-template-columns: 1fr; text-align: left; gap: 1.25rem; }
  /* The masthead already carries the mark; a second one pushes the headline,
     countdown and CTAs below the fold on a phone. */
  .hero__mark { display: none; }
  .hero__stage { order: -1; min-height: clamp(190px, 27vh, 290px); padding-bottom: 2.75rem; }
  .hero__cup { width: clamp(148px, 35vw, 215px); }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.4rem); margin-bottom: 0.9rem; }
  .hero .lead { font-size: 0.97rem; }
  .hero .btn-row { margin-top: 1.4rem; }
  .countdown { margin-top: 1.35rem; }
  .tile--wide { grid-column: span 1; }

  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(253, 250, 243, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 205;
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav a { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; }
  .primary-nav a::after { display: none; }
  .nav-call { margin-top: 1rem; font-size: 1rem !important; }

  .rail__pin { height: auto; position: static; padding-bottom: 2rem; }
  .rail__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rail__viewport::-webkit-scrollbar { display: none; }
  .rail__track { transform: none !important; padding-inline: 5vw; }
  .cup-card { scroll-snap-align: center; width: 62vw; max-width: 260px; }
  .rail__progress { display: none; }

  .filterbar { top: 62px; }
  .callbar { display: flex; }
  .footer { padding-bottom: 5.5rem; }
}

@media (max-width: 560px) {
  :root { --shell: min(1240px, 100% - 1.75rem); }
  .drink-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .drink { padding: 1rem 0.6rem 1.2rem; }
  .drink p { font-size: 0.76rem; }
  .countdown { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
