/*
 * Cloud Smoke Shop — styles.css
 * Design system: the page skeleton is the store's honeycomb LED ceiling.
 * Near-black field, cyan as light, red as accent rule. Bricolage + Manrope.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #00A8F0;      /* cyan — light */
  --color-primary-light: #7FD4FF;
  --color-secondary: #161B1F;    /* track / panels */
  --color-accent: #F01830;       /* red — rules & accents only */
  --color-bg: #0D0D0D;           /* near-black room */
  --color-surface: #171C20;      /* cells / cards / forms */
  --color-text: #FFFFFF;
  --color-text-secondary: #9AA3A9;
  --color-border: #2C343A;

  --font-primary: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-secondary: 'Manrope', system-ui, sans-serif;
  --font-size-base: 16px;
  --spacing-base: 8px;

  --motion-duration: 260ms;
  --motion-duration-slow: 420ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --shell: 1220px;
  --hex-clip: polygon(15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%, 0% 50%);
  --hex-clip-soft: polygon(7% 0%, 93% 0%, 100% 50%, 93% 100%, 7% 100%, 0% 50%);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-bottom: 42px; /* required */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--color-primary); text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Skip navigation link — WCAG 2.4.1 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 700; text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Typography scale
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 700; }

.display {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.02em;
}
h1, .h1 {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.0; letter-spacing: -0.015em;
}
h2, .h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.05; letter-spacing: -0.01em;
}
h3, .h3 {
  font-weight: 600; font-size: 1.4rem;
  line-height: 1.15; letter-spacing: -0.005em;
}
h4, .h4 { font-weight: 600; font-size: 1.1rem; line-height: 1.2; }

.lead { font-family: var(--font-secondary); font-weight: 500; font-size: 1.25rem; line-height: 1.5; }
.body-copy { font-size: 1.0625rem; line-height: 1.65; max-width: 66ch; }
.small { font-weight: 500; font-size: 0.9375rem; line-height: 1.45; }
.caption { font-weight: 500; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.02em; color: var(--color-text-secondary); }
.eyebrow {
  font-family: var(--font-secondary); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ============================================================
   Layout helpers
   ============================================================ */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }
.section { padding-block: clamp(56px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 76px); }
.stack > * + * { margin-top: 1.1rem; }
.center-narrow { max-width: 720px; margin-inline: auto; text-align: center; }

.section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.rule-cyan { height: 1px; background: var(--color-primary); opacity: 0.6; border: 0; }

/* Reusable hex cell (the ceiling motif) */
.hexcell { position: relative; clip-path: var(--hex-clip-soft); background: var(--color-border); padding: 2px; }
.hexcell > .hex-in {
  clip-path: var(--hex-clip-soft); background: var(--color-surface);
  height: 100%; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(18px, 3vw, 30px);
  text-align: center;
}
.hexcell.is-lit { background: var(--color-primary); filter: drop-shadow(0 0 20px rgba(0,168,240,0.40)); }
.hexcell.is-red { background: var(--color-accent); }
.hexcell.is-dim > .hex-in { color: var(--color-text-secondary); }

/* Placeholder — photo pending (obvious to a non-technical reviewer) */
.photo-pending {
  border: 2px dashed color-mix(in srgb, var(--color-primary) 55%, transparent);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 12px, rgba(255,255,255,0) 12px 24px), var(--color-secondary);
  border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 28px 20px; text-align: center; min-height: 190px; color: var(--color-text-secondary);
}
.photo-pending .ph { font-size: 2rem; color: var(--color-primary); }
.photo-pending .caption { max-width: 34ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-primary); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.5em; border: 1px solid transparent; border-radius: 3px;
  transition: background var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease);
}
.btn--primary { background: var(--color-primary); color: #061014; }
.btn--primary:hover { background: var(--color-primary-light); color: #061014; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.link-cyan { color: var(--color-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35em; }
.link-cyan .ph { transition: transform var(--motion-duration) var(--motion-ease); }
.link-cyan:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-primary); }
.link-cyan:hover .ph { transform: translateX(3px); }

/* ============================================================
   Top offer strip
   ============================================================ */
.offer-strip {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-primary);
  text-align: center;
  padding: 9px 16px;
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text);
}
.offer-strip a { color: inherit; }
.offer-strip a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-primary); }
.offer-strip .hl { color: var(--color-primary); }

/* ============================================================
   Nav
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 900; }
.nav {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px clamp(20px, 5vw, 56px);
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 54px; width: auto; max-width: 220px; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; }
.nav__link {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.9375rem;
  color: var(--color-text); position: relative; padding: 6px 2px;
  transition: color var(--motion-duration) var(--motion-ease);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link.is-active { color: var(--color-text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -2px; width: 18px; height: 3px; background: var(--color-accent); border-radius: 2px;
}
.nav__cta { margin-left: 6px; }
.nav__toggle {
  display: none; background: transparent; border: 1px solid var(--color-border);
  color: var(--color-text); width: 44px; height: 44px; border-radius: 3px; font-size: 1.5rem;
  align-items: center; justify-content: center;
}

/* ============================================================
   Hero — honeycomb live-status ceiling
   ============================================================ */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 8vw, 96px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(14px, 2vw, 26px);
  align-items: stretch;
}
.hero-photo {
  grid-column: 1; grid-row: 1 / span 2;
  position: relative; border: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  border-radius: 3px; overflow: hidden; min-height: 420px;
  box-shadow: 0 0 40px rgba(0,168,240,0.10);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-photo__tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em;
  color: var(--color-text); background: rgba(13,13,13,0.62); padding: 6px 12px; border-radius: 2px;
  backdrop-filter: none;
}
.hero-status { grid-column: 2; grid-row: 1; align-self: start; }
.hero-deal { grid-column: 2; grid-row: 2; align-self: stretch; }

.hero-status .hex-in { gap: 6px; }
.status-state { font-family: var(--font-primary); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.9; letter-spacing: -0.01em; }
.status-state.is-open { color: var(--color-primary); }
.status-state.is-closed { color: var(--color-text); }
.status-count { font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.5rem); line-height: 1.05; }
.status-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-secondary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-secondary); }
.status-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 8px var(--color-accent); }
.status-hours { font-size: 0.8125rem; color: var(--color-text-secondary); line-height: 1.5; }

.hero-deal .hex-in { gap: 8px; }
.hero-deal .deal-kicker { font-family: var(--font-secondary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.hero-deal .deal-head { font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.05; color: var(--color-text); }
.hero-deal .deal-head .amt { color: var(--color-primary); }

.hero-tagline { margin-top: clamp(28px, 4vw, 44px); }
.hero-tagline h1 { max-width: 18ch; }
.hero-tagline .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ============================================================
   Weekly Deals block (componentised, location-aware)
   ============================================================ */
.deals-wrap { display: flex; justify-content: center; }
.deals-block {
  width: 100%; max-width: 720px; background: var(--color-surface);
  border-radius: 4px; padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 44px);
  position: relative;
}
.deals-block__rule { height: 4px; background: var(--color-accent); width: 100%; border: 0; }
.deals-block__head {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -0.01em;
  text-align: center; margin-block: 26px; color: var(--color-text);
}
.deals-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-block: 8px 4px; }
.deal-line { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding-block: 8px; border-bottom: 1px solid var(--color-border); }
.deal-line:last-child { border-bottom: 0; }
.deal-line .num { font-family: var(--font-primary); font-weight: 800; font-size: 1.6rem; color: var(--color-accent); line-height: 1; min-width: 1.2ch; }
.deal-line .txt { font-family: var(--font-secondary); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--color-text); }
.deal-line .txt .amt { color: var(--color-primary); font-weight: 700; }
.deals-block__foot { text-align: center; margin-top: 22px; }
.deals-note { text-align: center; color: var(--color-text-secondary); margin-top: 18px; font-size: 0.95rem; }

/* ============================================================
   What We Carry — rotating category marquee
   ============================================================ */
.marquee { position: relative; overflow: hidden; background: var(--color-secondary); border-block: 1px solid var(--color-border); padding-block: 18px; }
.marquee__viewport { display: flex; width: max-content; animation: marquee-scroll 46s linear infinite; }
.marquee:hover .marquee__viewport, .marquee:focus-within .marquee__viewport { animation-play-state: paused; }
.marquee__track { display: flex; gap: 12px; padding-inline: 6px; }
.cat-cell {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 168px; padding: 14px 22px;
  background: var(--color-surface);
  clip-path: var(--hex-clip-soft);
  border: 0; position: relative;
  font-family: var(--font-primary); font-weight: 600; font-size: 1.05rem; color: var(--color-text);
  transition: color var(--motion-duration) var(--motion-ease), background var(--motion-duration) var(--motion-ease);
}
/* cyan seam between cells */
.cat-cell::after { content: ""; position: absolute; right: -7px; top: 22%; height: 56%; width: 1px; background: var(--color-primary); opacity: 0.5; }
.cat-cell:hover { color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface)); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Featured — The Glow Case (the one animated section)
   ============================================================ */
.glow-case { position: relative; background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; padding: clamp(28px, 4vw, 48px); }
.glow-case::before {
  content: ""; position: absolute; z-index: 0; width: 60%; aspect-ratio: 1;
  left: 8%; top: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,212,255,0.30) 0%, rgba(0,168,240,0.14) 38%, rgba(0,168,240,0) 70%);
  filter: none; will-change: transform, opacity;
  animation: glow-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.75; }
  50%  { transform: translate(45%, 18%) scale(1.18); opacity: 1; }
  100% { transform: translate(80%, -8%) scale(1.05); opacity: 0.7; }
}
.glow-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.glow-tile { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.glow-tile h3 { color: var(--color-primary); font-size: 1.15rem; }
.glow-tile .tile-media { min-height: 150px; }
.glow-tile p { font-size: 0.95rem; color: var(--color-text-secondary); }

/* ============================================================
   Brands strip
   ============================================================ */
.brands-strip { text-align: center; }
.brands-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: clamp(22px, 5vw, 60px); margin-top: 26px; }
.brands-list li { font-family: var(--font-primary); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--color-text); }
.brands-list li.is-house { color: var(--color-primary); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.brands-list li.is-house .flag { display: block; font-family: var(--font-secondary); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-secondary); margin-top: 4px; }

/* ============================================================
   Reviews — colossal numeral in one lit cell
   ============================================================ */
.reviews { text-align: center; }
.review-cell { width: min(460px, 90%); margin-inline: auto; aspect-ratio: 1 / 0.92; }
.review-cell .hex-in { gap: 10px; }
.review-figure { font-family: var(--font-primary); font-weight: 800; font-size: clamp(4.5rem, 12vw, 8rem); line-height: 0.9; color: var(--color-text); text-shadow: 0 0 34px rgba(0,168,240,0.28); }
.review-sub { font-weight: 500; font-size: 0.95rem; color: var(--color-text-secondary); max-width: 26ch; }

/* ============================================================
   Rewards / lead-capture panels + forms
   ============================================================ */
.panel {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 6px;
  position: relative; overflow: hidden;
}
.panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-accent); }
.reward-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); }
.reward-copy h2 { margin-bottom: 14px; }
.reward-copy p { color: var(--color-text-secondary); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-primary); font-weight: 600; font-size: 0.95rem; color: var(--color-text); }
.field input, .field textarea {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 4px;
  padding: 12px 14px; transition: border-color var(--motion-duration) var(--motion-ease), box-shadow var(--motion-duration) var(--motion-ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--color-text-secondary) 80%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0,168,240,0.28); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--color-text-secondary); }

/* ============================================================
   Locations
   ============================================================ */
.location-card {
  position: relative; border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden;
  background: var(--color-surface);
}
.location-card--feature { border-top: 3px solid var(--color-accent); }
.location-card--feature .lc-bg { position: absolute; inset: 0; z-index: 0; }
.location-card--feature .lc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.location-card--feature .lc-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.90) 100%); }
.location-card__body { position: relative; z-index: 2; padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.loc-facts { display: grid; gap: 12px; }
.loc-fact { display: flex; gap: 12px; align-items: flex-start; }
.loc-fact .ph { color: var(--color-primary); font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.loc-fact .hours-lines span { display: block; }
.loc-map { position: relative; z-index: 2; margin-top: 6px; border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; }
.loc-map iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }
.loc-listing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.location-card--waiting { border-style: dashed; border-color: var(--color-border); background: var(--color-secondary); opacity: 0.85; }
.location-card--waiting .location-card__body { gap: 8px; }
.location-card--waiting .waiting-tag { color: var(--color-primary); font-weight: 600; font-size: 0.85rem; }

/* ============================================================
   What We Carry page — numbered ceiling-cell sections
   ============================================================ */
.range-section { padding-block: clamp(30px, 4vw, 52px); border-top: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); }
.range-section:first-of-type { border-top: 0; }
.range-head { display: flex; gap: 16px; align-items: baseline; }
.range-head .idx { font-family: var(--font-primary); font-weight: 800; color: var(--color-accent); font-size: 1.1rem; }
.hex-bullet { display: inline-block; width: 10px; height: 11px; background: var(--color-primary); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-right: 8px; }
.range-brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.range-brands span { font-size: 0.9rem; color: var(--color-text-secondary); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; padding: 5px 13px; }

/* Honeycomb status cells (about / rewards / careers) */
.honeycomb-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.honeycomb-row .hexcell { width: 200px; aspect-ratio: 1 / 0.9; }
.honeycomb-row .hexcell.is-dim { background: var(--color-border); filter: none; opacity: 0.75; }
.hc-label { font-family: var(--font-primary); font-weight: 700; font-size: 1.05rem; }
.hc-lit .hc-label { color: #061014; }
.hc-sub { font-size: 0.8rem; margin-top: 4px; }
.hc-lit .hc-sub { color: rgba(6,16,20,0.75); }

/* Reels embeds */
.reels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.reel-embed { border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; background: var(--color-surface); }
.reel-embed iframe { width: 100%; min-height: 480px; border: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--color-primary); background: var(--color-bg); padding-block: clamp(44px, 6vw, 72px) 24px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-col h4 { color: var(--color-text); margin-bottom: 16px; font-family: var(--font-primary); }
.footer-brand img { height: 44px; width: auto; max-width: 200px; margin-bottom: 18px; }
.footer-facts { display: grid; gap: 12px; }
.footer-facts .loc-fact .ph { font-size: 1.1rem; }
.footer-hours span { display: block; font-size: 0.95rem; color: var(--color-text); }
.footer-nav { list-style: none; display: grid; gap: 10px; }
.footer-nav a { color: var(--color-text-secondary); font-weight: 500; }
.footer-nav a:hover { color: var(--color-primary); }
.social-row { display: flex; gap: 14px; margin-top: 4px; }
.social-row a { width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-text); font-size: 1.35rem; transition: color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease); }
.social-row a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: clamp(32px, 5vw, 52px); padding-top: 20px; border-top: 1px solid var(--color-border); }
.footer-bottom, .footer-bottom a { color: var(--color-text-secondary); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--color-primary); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { padding-block: clamp(40px, 6vw, 76px) clamp(20px, 3vw, 36px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero p.lead { color: var(--color-text-secondary); margin-top: 16px; max-width: 60ch; }

/* ============================================================
   Reveal gating (content visible without JS)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--motion-ease), transform 0.6s var(--motion-ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
/* hero power-on stagger */
html.js .hero .reveal { transition-duration: 0.7s; }
html.js .hero-status.reveal { transition-delay: 0.05s; }
html.js .hero-photo.reveal { transition-delay: 0.20s; }
html.js .hero-deal.reveal { transition-delay: 0.35s; }
html.js .hero-tagline.reveal { transition-delay: 0.50s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .glow-grid { grid-template-columns: repeat(2, 1fr); }
  .reward-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    background: var(--color-bg); border-left: 1px solid var(--color-border);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: 84px 28px 40px; transform: translateX(100%);
    transition: transform var(--motion-duration-slow) var(--motion-ease); z-index: 950;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu .nav__link { font-size: 1.15rem; padding: 12px 2px; width: 100%; }
  .nav__link.is-active::after { left: 0; transform: none; }
  .nav__cta { margin-left: 0; margin-top: 10px; }
  .nav__toggle { display: inline-flex; z-index: 960; }

  .hero-grid { display: flex; flex-direction: column; }
  .hero-status { order: 1; }
  .hero-photo { order: 2; min-height: 340px; }
  .hero-deal { order: 3; }

  .footer-grid { grid-template-columns: 1fr; }
  .reveal, html.js .reveal { transition-delay: 0s !important; }
}

@media (max-width: 480px) {
  .cat-cell { min-width: 138px; font-size: 0.95rem; }
  .deal-line .txt { font-size: 1.18rem; }
  .glow-grid { grid-template-columns: 1fr 1fr; }
  .brands-list { gap: 20px 30px; }
}

/* ============================================================
   Page-specific compositions
   ============================================================ */
/* Prevent grid/flex text children from overflowing their column */
.hero-grid > *, .about-story > *, .contact-split > *, .reward-split > *, .careers-cell > *, .deal-line > * { min-width: 0; }

/* About — story split */
.about-story { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-figure img { border: 1px solid var(--color-border); border-radius: 4px; }

/* Contact — two honeycomb-cell panels side by side */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.contact-panel { padding: clamp(24px, 4vw, 40px); }

/* Careers — single dim cell that "lights" on the Apply button */
.careers-cell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--color-secondary); }
.careers-cell::before { background: var(--color-border); }
.careers-copy p { color: var(--color-text-secondary); }

@media (max-width: 820px) {
  .about-story { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .contact-split { grid-template-columns: 1fr; }
  .careers-cell { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__viewport { animation: none; }
  .glow-case::before { animation: none; transform: translate(35%, 8%); }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggqxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggOxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggSxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggixSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggmxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggexSvfedN4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggqxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggOxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggSxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggixSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggmxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggexSvfedN4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggqxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggOxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggSxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggixSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggmxSvfedN62Zw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/xn7gYHE41ni1AdIRggexSvfedN4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
