/* ===================================================================
   LUAPLSC | Lakehead University Applied Life Sciences Club
   Palette drawn from club branding: navy → purple gradient,
   molecular-blue, varsity gold, sky, cream.
   =================================================================== */

:root {
  --navy-900: #10133a;
  --navy: #161a4d;
  --navy-700: #232a6b;
  --purple: #5f3f97;
  --purple-light: #8a63c9;
  --blue: #2563eb;
  --blue-bright: #1d4ed8;
  --blue-ink: #1b3a8a;
  --sky: #dcecfb;
  --sky-2: #eef5fd;
  --gold: #c39a45;
  --gold-deep: #a97f2e;
  --pink: #e29bc6;
  --cream: #f6f0e2;

  --ink: #14173a;
  --body: #33385c;
  --muted: #6a6f8f;
  --paper: #ffffff;
  --surface: #f4f7fc;
  --border: #dfe4f1;

  --brand-gradient: linear-gradient(120deg, #161a4d 0%, #3c2a72 48%, #6d4aa0 100%);
  --brand-gradient-soft: linear-gradient(120deg, #1b1f57 0%, #4a336f 60%, #7a56b3 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20, 23, 58, 0.08);
  --shadow-md: 0 14px 40px rgba(20, 23, 58, 0.14);
  --shadow-lg: 0 30px 70px rgba(16, 19, 58, 0.28);

  --wrap: 1150px;
  --step: clamp(1rem, 0.6rem + 1.6vw, 1.9rem);

  --font: "Exo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue-ink); }

h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem); }

.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: #bfe0ff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--blue-bright); }
.btn--primary:hover { --btn-bg: #1743c4; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #241a05; }
.btn--gold:hover { --btn-bg: #b98c34; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.12); }
.btn--ghost.btn--dark { --btn-fg: var(--navy); border-color: var(--navy); }
.btn--ghost.btn--dark:hover { --btn-bg: rgba(22, 26, 77, 0.08); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; box-shadow: none; }

.linklike { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.linklike:hover { color: var(--ink); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border), 0 6px 24px rgba(20, 23, 58, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; }

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-size: 1.24rem; font-weight: 800; letter-spacing: 0.04em;
  color: #fff; transition: color 0.3s;
}
.brand-text small {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: #c9d3ff; transition: color 0.3s;
}
.scrolled .brand-text strong { color: var(--navy); }
.scrolled .brand-text small { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  color: #eef1ff; transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }
.scrolled .main-nav a { color: var(--body); }
.scrolled .main-nav a:hover { color: var(--blue-bright); }
.main-nav .nav-cta {
  padding: 0.5rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}
.scrolled .main-nav .nav-cta { border-color: var(--border); }

.cart-btn {
  position: relative; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
}
.scrolled .cart-btn { color: var(--navy); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count[hidden] { display: none; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--gold); color: #241a05; font-family: var(--mono); font-weight: 600;
  font-size: 0.68rem; min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
}

.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.hamburger span { display: block; height: 2.5px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform 0.25s, opacity 0.25s; }
.scrolled .hamburger span { background: var(--navy); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 88svh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  color: #fff; padding: 7rem 0 7.5rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media > img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: var(--brand-gradient); opacity: 0.82; mix-blend-mode: multiply;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(10, 12, 40, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(12, 14, 45, 0.55) 0%, rgba(12, 14, 45, 0.2) 35%, rgba(12, 14, 45, 0.78) 100%);
}
.hex-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-headline {
  border: 3px solid rgba(255, 255, 255, 0.85);
  padding: clamp(1.1rem, 0.6rem + 2.4vw, 2.4rem) clamp(1rem, 0.5rem + 3vw, 3rem);
  margin: 0.4rem auto 1.6rem;
  max-width: 820px;
  backdrop-filter: blur(2px);
}
.hero-headline h1 {
  color: #fff; font-weight: 800; letter-spacing: 0.02em;
  font-size: clamp(2rem, 1.1rem + 5vw, 4rem);
  text-transform: uppercase; line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  color: #eaf0ff; max-width: 620px; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero-tiles {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%);
  bottom: clamp(1.4rem, 3vh, 3rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 2vw, 2.5rem);
  width: min(680px, 92%);
}
.hero-tiles a {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  text-decoration: none; color: #fff; padding: 0.6rem 0.3rem; border-radius: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-tiles a:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.hero-tiles svg { width: 34px; height: 34px; }
.hero-tiles span {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500;
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head h2 { margin-bottom: 0.7rem; }
.section-intro, .lead { font-size: 1.1rem; color: var(--body); }
.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.22rem); }

/* About */
.about { background: linear-gradient(180deg, #fff 0%, var(--sky-2) 100%); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-copy h2 { margin-bottom: 1.1rem; max-width: 18ch; }
.pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.pillars li span {
  display: inline-block; font-family: var(--mono); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.about-figure {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  position: relative; border: 1px solid var(--border);
}
.about-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 26, 77, 0.28));
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* Merch */
.deadline-banner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 0.9rem 1.25rem; margin-bottom: 2.4rem; font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}
.deadline-banner svg { width: 26px; height: 26px; flex: none; color: var(--gold); }

/* ---- Merch wheel ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.wheel-noscript { display: block; color: var(--muted); font-size: 0.95rem; }

/* Fallback (no JS): plain responsive cards */
.merch-wheel { position: relative; margin-top: 2rem; overflow: hidden; }
.wheel-gauge, .wheel-pointer, .wheel-arrow, .wheel-dots { display: none; }
.wheel-track {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem;
}
.wheel-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.wheel-card__frame { display: flex; flex-direction: column; height: 100%; }
.wheel-card__media { position: relative; background: var(--sky); aspect-ratio: 4 / 5; }
.wheel-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wheel-card__shine { display: none; }
.wheel-card__badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold); color: #241a05; padding: 0.3rem 0.6rem; border-radius: 999px; font-weight: 600;
}
.wheel-card__info { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.5rem; }
.wheel-card__name { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.wheel-card__price { font-family: var(--mono); font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.wheel-card__price span { display: block; font-weight: 400; font-size: 0.68rem; color: var(--muted); }

.wheel-card__form { display: flex; flex-direction: column; gap: 0.42rem; margin-top: 0.15rem; }
.wcf-row { display: block; width: 100%; }
.wcf-row[hidden] { display: none; }
.wcf-row > label,
.wcf-qty {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; gap: 0.55rem;
  width: 100%; margin: 0;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--body); font-weight: 600;
}
.wcf-row select {
  font-family: var(--font); font-size: 0.85rem; text-transform: none; letter-spacing: 0;
  font-weight: 500; color: var(--ink);
  padding: 0.42rem 0.55rem; border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; width: 100%; min-height: 36px;
}
.wcf-row select:focus { border-color: var(--blue); outline: none; }
.wcf-qty-ctl {
  justify-self: start;
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden;
}
.wcf-qty-ctl button {
  width: 32px; height: 32px; border: 0; background: var(--surface);
  font-size: 1rem; line-height: 1; color: var(--body); cursor: pointer;
}
.wcf-qty-ctl button:hover { background: #e7edf8; }
.wcf-qty-ctl [data-qty] {
  min-width: 2.2ch; text-align: center; font-family: var(--mono);
  font-size: 0.85rem; color: var(--ink);
}
.wcf-size-note {
  margin: -0.1rem 0 0; padding: 0.4rem 0.55rem;
  font-size: 0.72rem; line-height: 1.4; border-radius: 7px;
  background: #fdf3e0; color: #7a5311; border: 1px solid #f0dfb3;
}
.wcf-size-note[hidden] { display: none; }
.wheel-card__cta {
  width: 100%; padding: 0.62rem 1rem; font-size: 0.9rem; margin-top: 0.25rem;
  gap: 0.35rem;
}
.wheel-card__cta [data-total] { font-family: var(--mono); }

/* Wheel mode (JS active) */
.js .merch-wheel {
  --wheel-card-w: 300px; --wheel-card-h: 510px; --wheel-stage-h: 620px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "prev stage next" "dots dots dots";
  align-items: center; justify-items: center;
  column-gap: 0.5rem;
}
.js .wheel-stage {
  grid-area: stage; position: relative; width: 100%;
  height: var(--wheel-stage-h);
  perspective: 1700px; perspective-origin: 50% 46%;
  overflow: hidden; touch-action: pan-y; cursor: grab;
  outline-offset: 4px;
}
.js .wheel-stage.is-dragging { cursor: grabbing; }
.js .wheel-stage::before, .js .wheel-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 6; pointer-events: none;
}
.js .wheel-stage::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.js .wheel-stage::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

.js .wheel-track {
  display: block; position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.js .wheel-card {
  position: absolute; top: 50%; left: 50%;
  width: var(--wheel-card-w); height: var(--wheel-card-h);
  margin-top: calc(var(--wheel-card-h) / -2);
  margin-left: calc(var(--wheel-card-w) / -2);
  border: 0; border-radius: 0; overflow: visible; background: none;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}
.js .wheel-stage.is-dragging .wheel-card { transition: none; }
.js .wheel-card__frame {
  height: 100%; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #eaf1fb);
  border: 1px solid var(--border);
  box-shadow: 0 22px 45px rgba(16, 19, 58, 0.22);
  transition: box-shadow 0.5s ease;
}
.js .wheel-card.is-active .wheel-card__frame {
  box-shadow: 0 0 0 2px var(--gold), 0 32px 60px rgba(16, 19, 58, 0.34);
}
.js .wheel-card__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 130px; }
.js .wheel-card__shine {
  display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.4) 50%, transparent 58%);
  transition: opacity 0.4s ease;
}
.js .wheel-card.is-active .wheel-card__shine { opacity: 1; animation: cardShine 5s ease-in-out infinite; }
@keyframes cardShine { 0%, 100% { transform: translateX(-35%); } 50% { transform: translateX(35%); } }

.js .wheel-card__info { background: #fff; padding: 0.95rem 1.1rem 1.1rem; }
.js .wheel-card:not(.is-active) { cursor: pointer; }
.js .wheel-card:not(.is-active) .wheel-card__form,
.js .wheel-card:not(.is-active) .wheel-card__price span { display: none; }
.js .wheel-card:not(.is-active) .wheel-card__info { padding: 0.8rem 1.1rem; gap: 0.25rem; }

.js .wheel-arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow-md); z-index: 7;
  transition: transform 0.2s ease, background 0.2s ease;
}
.js .wheel-arrow--prev { grid-area: prev; }
.js .wheel-arrow--next { grid-area: next; }
.js .wheel-arrow:hover { background: var(--blue-bright); transform: scale(1.09); }
.js .wheel-arrow svg { width: 22px; height: 22px; }

.js .wheel-dots { grid-area: dots; display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.js .wheel-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: var(--border); cursor: pointer; transition: width 0.25s ease, background 0.25s ease;
}
.js .wheel-dots button[aria-selected="true"] { width: 28px; background: var(--gold); }

.js .wheel-gauge {
  display: block; position: absolute; left: 50%; top: 46%;
  width: 560px; height: 560px; max-width: 150vw;
  transform: translate(-50%, -50%); transform-origin: 50% 50%;
  color: var(--purple-light); opacity: 0.3; z-index: 0; pointer-events: none;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .wheel-gauge svg { width: 100%; height: 100%; }
.js .wheel-pointer {
  display: block; position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  width: 0; height: 0; z-index: 7;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 13px solid var(--gold);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.merch-details { margin-top: 2.4rem; }
.merch-details__eyebrow {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 600; color: var(--blue); margin-bottom: 0.6rem;
}
.merch-accordion {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.merch-accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 1rem 1.3rem; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  list-style: none; transition: background 0.15s ease;
}
.merch-accordion summary::-webkit-details-marker { display: none; }
.merch-accordion summary::marker { content: ""; }
.merch-accordion summary:hover { background: #e9eef8; }
.merch-accordion summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.merch-accordion__chevron { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform 0.25s ease; }
.merch-accordion[open] .merch-accordion__chevron { transform: rotate(180deg); }
.merch-accordion[open] summary { border-bottom: 1px solid var(--border); }
.merch-accordion__body { padding: 1rem 1.3rem 1.2rem; }
.merch-accordion__body p { font-size: 0.92rem; color: var(--muted); margin: 0; max-width: 75ch; }
.merch-accordion__body p + p { margin-top: 0.7rem; }

@media (prefers-reduced-motion: reduce) {
  .merch-accordion__chevron { transition: none; }
}

/* Executive */
.executive { background: var(--brand-gradient); color: #fff; position: relative; overflow: hidden; }
.exec-card {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  position: relative; z-index: 1;
}
.exec-copy h2 { color: #fff; margin-bottom: 1rem; }
.exec-copy p { color: #e6ebff; margin-bottom: 1.6rem; max-width: 52ch; }
.btn--gold { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.exec-fineprint { font-family: var(--mono); font-size: 0.75rem; color: #c3ccf2 !important; margin-top: 0.9rem; letter-spacing: 0.05em; }
.exec-roles {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
}
.exec-roles h3 {
  color: #fff; font-family: var(--mono); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem;
}
.exec-roles ul { list-style: none; display: grid; gap: 0.65rem; }
.exec-roles li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.95rem; color: #eef1ff;
}
.exec-roles li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}

/* Events */
.events { position: relative; overflow: hidden; background: var(--navy-900); }
.events-media { position: absolute; inset: 0; z-index: 0; }
.events-media video,
.events-media > img { width: 100%; height: 100%; object-fit: cover; }
.events-media__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(10, 12, 38, 0.15), rgba(10, 12, 38, 0.72) 75%),
    linear-gradient(180deg, rgba(10, 12, 38, 0.55), rgba(10, 12, 38, 0.35) 40%, rgba(10, 12, 38, 0.7));
}
.events > .wrap { position: relative; z-index: 1; }
.events .section-head h2 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }

.coming-soon {
  text-align: center;
  background: rgba(20, 24, 63, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 1.5rem;
  box-shadow: 0 30px 70px rgba(6, 8, 30, 0.45);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  max-width: 620px; margin: 0 auto;
}
.coming-soon svg { width: 46px; height: 46px; color: #a9c7ff; margin: 0 auto 1.1rem; }
.coming-soon h3 {
  font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem); color: #fff;
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.6rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.coming-soon p { color: #d7deff; max-width: 42ch; margin: 0 auto; }
.coming-soon a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.coming-soon a:hover { text-decoration-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .events-media video { display: none; }
  .events-media { background: url("assets/events-atoms.jpg") center / cover no-repeat; }
}

/* CTA strip */
.cta-strip { background: var(--navy); color: #fff; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: #c3cae8; padding: 3.5rem 0 1.8rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { width: 230px; max-width: 60vw; border-radius: 10px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2.5rem; align-content: start; }
.footer-links a { color: #c3cae8; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.78rem; color: #7f89b5; }

/* ===================================================================
   Cart drawer
   =================================================================== */
.drawer-scrim, .modal-scrim { position: fixed; inset: 0; background: rgba(12, 14, 45, 0.55); z-index: 200; backdrop-filter: blur(2px); }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #fff; z-index: 210; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--border); }
.cart-drawer-head h2 { font-size: 1.3rem; }
.icon-close {
  background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer;
  color: var(--muted); width: 40px; height: 40px; border-radius: 10px;
}
.icon-close:hover { background: var(--surface); color: var(--ink); }

.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: 0.95rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-line__img { width: 64px; height: 78px; object-fit: cover; border-radius: 8px; background: var(--sky); }
.cart-line__name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.cart-line__opts { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.5; }
.cart-line__upcharge { color: #8a5a12; }
.cart-line__price { font-family: var(--mono); font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.cart-line__ctl { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.cart-line__ctl button {
  width: 24px; height: 24px; border: 1px solid var(--border); background: #fff;
  border-radius: 6px; cursor: pointer; font-size: 0.9rem; line-height: 1; color: var(--body);
}
.cart-line__ctl button:hover { background: var(--surface); }
.cart-line__ctl span { font-family: var(--mono); font-size: 0.82rem; min-width: 1.4ch; text-align: center; }
.cart-line__remove { font-size: 0.72rem; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; margin-top: 0.4rem; padding: 0; }
.cart-line__remove:hover { color: #c0392b; }

.cart-foot { padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.9rem; }
.cart-total span:last-child { font-family: var(--mono); }
.cart-foot-note { font-size: 0.74rem; color: var(--muted); margin-top: 0.7rem; text-align: center; }

/* ===================================================================
   Modals
   =================================================================== */
.modal {
  position: fixed; z-index: 210; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.96);
  width: min(760px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal--wide { width: min(620px, calc(100% - 2rem)); }
.modal .icon-close { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; background: rgba(255,255,255,0.8); }

.pm-grid { display: grid; grid-template-columns: 42% 1fr; }
.pm-figure { background: var(--sky); }
.pm-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pm-form { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.pm-form h2 { font-size: 1.5rem; }
.pm-blurb { font-size: 0.9rem; color: var(--muted); margin-top: -0.3rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--body); font-weight: 600; }
.field .req { color: #c0392b; }
.field select, .field input, .field textarea {
  font-family: var(--font); font-size: 0.98rem; color: var(--ink);
  padding: 0.7rem 0.8rem; border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; width: 100%;
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field-hint, .field select + .field-hint { font-size: 0.76rem; color: var(--muted); }

.qty-control { display: flex; align-items: center; gap: 0; width: max-content; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty-control button { width: 40px; height: 42px; background: var(--surface); border: 0; font-size: 1.1rem; cursor: pointer; color: var(--body); }
.qty-control button:hover { background: #e7edf8; }
.qty-control input { width: 56px; text-align: center; border: 0; border-inline: 1.5px solid var(--border); border-radius: 0; padding: 0.7rem 0; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pm-price { font-family: var(--mono); font-weight: 600; font-size: 1.4rem; color: var(--navy); margin-top: 0.3rem; }

/* Checkout */
#checkoutModal { padding: 2rem 1.9rem 2.2rem; }
.co-intro { font-size: 0.92rem; color: var(--muted); margin: 0.6rem 0 1.4rem; }
#checkoutForm { display: flex; flex-direction: column; gap: 0.9rem; }
.co-review {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.1rem; font-size: 0.88rem;
}
.co-review h4 { font-size: 0.78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; color: var(--body); }
.co-review-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.28rem 0; color: var(--body); }
.co-review-line span:last-child { font-family: var(--mono); white-space: nowrap; }
.co-review-total { display: flex; justify-content: space-between; border-top: 1.5px solid var(--border); margin-top: 0.5rem; padding-top: 0.6rem; font-weight: 700; color: var(--ink); }
.co-review-total span:last-child { font-family: var(--mono); }
.form-error { background: #fdecea; color: #a5281b; border: 1px solid #f5c6c0; border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.86rem; }

.receipt-check { width: 60px; height: 60px; border-radius: 999px; background: #e7f6ec; color: #1f9d55; display: grid; place-items: center; margin-bottom: 1rem; }
.receipt-check svg { width: 32px; height: 32px; }
.receipt {
  border: 1px dashed var(--border); border-radius: 12px; padding: 1.1rem 1.2rem;
  font-family: var(--mono); font-size: 0.82rem; color: var(--body);
  margin: 1.2rem 0; white-space: pre-wrap; line-height: 1.7;
  background: repeating-linear-gradient(180deg, #fff, #fff 26px, #fafbff 26px, #fafbff 27px);
}
.etransfer-box { background: var(--sky-2); border: 1px solid var(--sky); border-radius: 12px; padding: 1.1rem 1.3rem; }
.etransfer-box h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.6rem; }
.etransfer-box ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; color: var(--body); }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0.8rem; }
.receipt-actions .btn { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
.receipt-fineprint { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }
.receipt-done { text-align: center; margin-top: 0.9rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 0.85rem 1.4rem; border-radius: 999px;
  font-size: 0.9rem; z-index: 300; box-shadow: var(--shadow-md); opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .exec-card { grid-template-columns: 1fr; }
  .exec-roles ul { grid-template-columns: 1fr 1fr; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-figure img { min-height: 220px; max-height: 300px; }
  .js .merch-wheel { --wheel-card-w: 268px; --wheel-card-h: 486px; --wheel-stage-h: 560px; }
  .js .wheel-gauge { width: 460px; height: 460px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .hamburger { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh;
    width: min(300px, 82%);
    background: var(--navy); flex-direction: column; align-items: stretch;
    justify-content: flex-start; padding: 5.5rem 1.8rem 2rem; gap: 0.4rem;
    overflow-y: auto; transform: translateX(100%);
    transition: transform 0.3s ease; z-index: 90;
  }
  .main-nav a { padding: 0.6rem 0; }
  .main-nav.open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(10, 12, 38, 0.55); }
  .main-nav a { color: #eef1ff !important; font-size: 1.1rem; }
  .main-nav .nav-cta { border-color: rgba(255, 255, 255, 0.4); }
  .site-header.scrolled .main-nav a { color: #eef1ff; }

  .hero { padding: 6rem 0 8.5rem; }
  .hero-tiles { gap: 0.3rem; width: 96%; }
  .hero-tiles svg { width: 26px; height: 26px; }
  .hero-tiles span { font-size: 0.6rem; letter-spacing: 0.08em; }
  .hero-headline { border-width: 2px; }

  .cta-strip .wrap { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; gap: 1.6rem; }
  .footer-links { grid-template-columns: 1fr; }
  .receipt-actions .btn { width: 100%; }
  .exec-roles ul { grid-template-columns: 1fr; }

  .js .merch-wheel {
    --wheel-card-w: 250px; --wheel-card-h: 476px; --wheel-stage-h: 536px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "stage stage" "prev next" "dots dots";
    row-gap: 0.6rem;
  }
  .js .wheel-arrow--prev { justify-self: end; }
  .js .wheel-arrow--next { justify-self: start; }
  .js .wheel-gauge { width: 400px; height: 400px; }

  /* The cart drawer and checkout modal go full-width below this breakpoint,
     so a bottom-centered toast would sit on top of their Checkout / Place
     Order buttons. Anchor it under the header instead. */
  .toast {
    left: 1rem; right: 1rem; bottom: auto; top: 70px;
    transform: translateY(-12px);
    border-radius: var(--radius); text-align: center;
  }
  .toast.show { transform: translateY(0); }
}

@media (max-width: 400px) {
  .brand-text small { display: none; }
  .wheel-track { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .js .wheel-card__shine, .js .wheel-gauge, .js .wheel-pointer { display: none !important; }
}

/* Scroll reveal: only hides when JS is active, so content is never lost */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

body.no-scroll { overflow: hidden; }
