/* ============================================================
   BOUNCE PADEL CLUB — v2
   Forest + cream system, sport-led
   ============================================================ */

:root {
  /* Brand v1 — dark teal + neon green */
  --bg: #0A2A2A;
  --bg-2: #0E3232;
  --bg-3: #0c2e2e;
  --surface: #103838;
  --surface-2: #144040;

  --line: rgba(197, 232, 71, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.26);
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.72);
  --ink-mute: rgba(255, 255, 255, 0.5);

  --accent: #C5E847;
  --accent-2: #B5DD2E;
  --accent-deep: #2a4a0a;
  --ink-on-accent: #0A2A2A;

  --warm: #ECE3CC;               /* soft cream for occasional editorial italic accents */

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --maxw: 1320px;
  --pad-x: clamp(24px, 4vw, 64px);

  --display: "Anton", "Oswald", "Bebas Neue", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- Light theme override (Variation B uses neon-on-cream chrome inside an editorial layout — kept available but the brand stays teal+neon) ---------- */
.theme-cream {
  --bg: #F1ECDD;
  --bg-2: #E7E0CB;
  --bg-3: #DDD4B8;
  --surface: #EAE3CE;
  --surface-2: #DFD7BD;
  --line: rgba(10, 42, 42, 0.14);
  --line-soft: rgba(10, 42, 42, 0.06);
  --line-strong: rgba(10, 42, 42, 0.34);
  --ink: #0A2A2A;
  --ink-dim: rgba(10, 42, 42, 0.74);
  --ink-mute: rgba(10, 42, 42, 0.5);
  --accent: #0A2A2A;             /* dark on light — accent inverts */
  --accent-2: #103838;
  --ink-on-accent: #C5E847;       /* still hits with neon */
}

/* Inverted band — drop a dark teal section inside a light theme (or vice versa) */
.invert {
  --bg: #0A2A2A;
  --surface: #103838;
  --surface-2: #144040;
  --line: rgba(197, 232, 71, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.26);
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.72);
  --ink-mute: rgba(255, 255, 255, 0.5);
  --accent: #C5E847;
  --ink-on-accent: #0A2A2A;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--accent); color: var(--ink-on-accent); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--pad-x); }

.section {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0;
  overflow: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-name-img {
  height: 26px;
  width: auto;
  display: block;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 2.4px;
  color: var(--ink-mute);
  margin-top: 5px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 12.5px;
  color: var(--ink-dim);
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color .15s ease;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 0;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--body);
}
.btn-primary {
  background: var(--accent);
  color: var(--ink-on-accent);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.btn-dark {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line-soft);
}
.btn-dark:hover { background: var(--bg-3); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: 1.6px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 13px; }
.btn-icon { width: 18px; height: 18px; display: grid; place-items: center; flex-shrink: 0; }

/* Underline link — used everywhere */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: gap .15s ease, color .15s ease;
}
.tlink:hover { gap: 14px; }

/* ============================================================
   TYPE
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.display-xxl { font-size: clamp(72px, 11vw, 192px); line-height: 0.9; }
.display-xl  { font-size: clamp(56px, 8.5vw, 140px); line-height: 0.9; }
.display-lg  { font-size: clamp(44px, 6vw, 96px); line-height: 0.95; }
.display-md  { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; }
.display-sm  { font-size: clamp(26px, 3vw, 40px); line-height: 1; }

.lede {
  font-size: clamp(15.5px, 1.25vw, 18px);
  color: var(--ink-dim);
  max-width: 50ch;
  margin: 0;
  line-height: 1.55;
}

.section-head { margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .display { margin-bottom: 18px; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Marquee strip — sport-poster style */
.marquee {
  display: flex;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 32px; }
.marquee-track span::after {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CARDS / SURFACES
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 28px;
  border-radius: 0;
}

.icon-disc {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.icon-disc.lg { width: 52px; height: 52px; }
.icon-disc svg { width: 18px; height: 18px; stroke-width: 1.8; }
.icon-disc.lg svg { width: 22px; height: 22px; }
.icon-disc.filled { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 48px;
}
.feature-row .feat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid var(--line-soft);
}
.feature-row .feat:last-child { border-right: none; }
.feature-row .feat-text { display: flex; flex-direction: column; line-height: 1.2; }
.feature-row .feat-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.feature-row .feat-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* ============================================================
   FORMS
   ============================================================ */
.input, .select, .textarea {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  padding: 0 16px 0 44px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
}
.textarea { padding: 14px 16px 14px 44px; height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-mute); }

.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-mute);
  pointer-events: none;
}
.input-wrap.textarea-wrap > svg { top: 18px; transform: none; }

/* ============================================================
   PLACEHOLDER
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--accent) 10%, transparent) 0 8px, transparent 8px 18px),
    var(--surface);
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px;
}
.ph::after { content: attr(data-label); opacity: 0.85; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 88px) 0 36px;
}
.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-dim);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social:hover { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }

/* ============================================================
   PAGE HEAD
   ============================================================ */
.page-head {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 6vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.page-head .crumb::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.page-head .display { margin-top: 26px; max-width: 14ch; }
.page-head .lede { margin-top: 26px; max-width: 60ch; }

/* ============================================================
   NAV dropdown / mobile
   ============================================================ */
.nav-link.dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; background: transparent; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 60;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.dropdown[data-open="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-dim);
}
.dropdown a:hover { background: var(--surface); color: var(--ink); }
.dropdown a.active { color: var(--accent); }

.nav-mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 78px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 20px var(--pad-x) 28px;
  z-index: 49;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 0;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.active { color: var(--accent); }
@media (max-width: 1080px) {
  .nav-mobile-toggle { display: inline-flex; }
}

/* ============================================================
   SPONSOR WALL
   ============================================================ */
.sponsor-wall {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
}
.sponsor-wall .wall-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.sponsor-wall h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}
.sponsor-tier {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.sponsor-tier-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.sponsor-tier-label::after {
  content: "";
  flex: 1; height: 1px; background: var(--line);
}
.sponsor-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.sponsor-logo {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  display: grid; place-items: center;
  padding: 24px;
  transition: background .2s ease, color .2s ease;
  opacity: 0.55;
  flex: 1 1 auto;
  margin-right: -1px;
  margin-bottom: -1px;
}
.sponsor-logo:hover { opacity: 1; background: var(--surface); }
.sponsor-logo.tier-title { min-width: 320px; height: 140px; flex-basis: 360px; }
.sponsor-logo.tier-gold { min-width: 200px; height: 110px; flex-basis: 200px; }
.sponsor-logo.tier-partner { min-width: 150px; height: 88px; flex-basis: 150px; }
.sponsor-logo .logo-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  line-height: 1;
}

/* ============================================================
   BRANCH CARD
   ============================================================ */
.branch-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease;
}
.branch-card:hover { transform: translateY(-6px); }
.branch-card-img {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.branch-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.branch-card:hover .branch-card-img img { transform: scale(1.05); }
.branch-card-body { padding: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.branch-card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 0.95;
}
.branch-meta { display: flex; flex-direction: column; gap: 6px; color: var(--ink-dim); font-size: 13.5px; }
.branch-meta-row { display: flex; gap: 10px; align-items: flex-start; }
.branch-meta-row svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   COACH CARD
   ============================================================ */
.coach-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.coach-card:hover { transform: translateY(-4px); }
.coach-photo {
  aspect-ratio: 1 / 1.25;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.coach-card:hover .coach-photo img { transform: scale(1.04); }
.coach-body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.coach-name { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; letter-spacing: 0.4px; }
.coach-nat { font-family: var(--mono); color: var(--ink-mute); font-size: 11px; letter-spacing: 1.6px; font-weight: 500; }
.coach-bio { color: var(--ink-dim); font-size: 13.5px; line-height: 1.55; margin-top: 6px; }
.coach-certs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.coach-cert {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-transform: uppercase;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 28px 0;
  gap: 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 36px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--ink-dim); }
.faq-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item[data-open="true"] .faq-icon {
  background: var(--accent);
  color: var(--ink-on-accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item[data-open="true"] .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 0 28px; color: var(--ink-dim); max-width: 70ch; line-height: 1.7; }

/* ============================================================
   DEVICE FRAME (still used on App page)
   ============================================================ */
.device {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19;
  background: #000;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px var(--line-soft);
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
}
.device .notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #000; border-radius: 999px; z-index: 4;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  background: var(--surface-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.size-lg { grid-column: span 6; grid-row: span 3; }
.gallery-item.size-md { grid-column: span 4; grid-row: span 2; }
.gallery-item.size-sm { grid-column: span 3; grid-row: span 2; }
.gallery-item.size-wide { grid-column: span 6; grid-row: span 2; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,42,42,0.92));
  display: flex; align-items: flex-end;
  padding: 16px; opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-item.size-lg { grid-column: span 6; }
  .gallery-item.size-md, .gallery-item.size-sm, .gallery-item.size-wide { grid-column: span 3; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  display: grid; place-items: center;
  font-size: 20px;
}

/* ============================================================
   EVENT CARD
   ============================================================ */
.event-card {
  background: transparent;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0;
  align-items: stretch;
  padding: 28px 0;
  transition: background .2s ease;
}
.event-card:last-child { border-bottom: 1px solid var(--line); }
.event-card:hover { background: color-mix(in oklab, var(--surface) 50%, transparent); padding-left: 12px; padding-right: 12px; }
.event-date {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0;
}
.event-date .month { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; font-weight: 500; color: var(--ink-mute); text-transform: uppercase; }
.event-date .day { font-family: var(--display); font-weight: 400; font-size: 60px; color: var(--accent); line-height: 1; margin-top: 6px; letter-spacing: 0.5px; }
.event-body { padding: 4px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.event-name { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; letter-spacing: 0.4px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.event-cta { display: flex; align-items: center; }
@media (max-width: 700px) {
  .event-card { grid-template-columns: 90px 1fr; gap: 12px; }
  .event-cta { grid-column: 1 / -1; }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease;
}
.product:hover { border-color: var(--line-strong); }
.product:hover .product-img img { transform: scale(1.03); }
.product-img {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-stock {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 0;
  text-transform: uppercase;
}
.product-stock.low { color: #ff9c4a; }
.product-stock.out { color: #ff5a5a; }
.product-body { padding: 16px 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.product-name { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: 0.4px; line-height: 1; }
.product-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; color: var(--ink-mute); text-transform: uppercase; margin-top: 2px; }
.product-price { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--accent); margin-top: 10px; letter-spacing: 0.4px; }
.product-swatches { display: flex; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); }

/* ============================================================
   STAT
   ============================================================ */
.stat-card {
  background: transparent;
  border: none;
  padding: 0;
}
.stat-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 128px);
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: 0.5px;
}
.stat-label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.stat-sub { margin-top: 6px; color: var(--ink-dim); font-size: 14px; }

/* ============================================================
   COMING SOON TAG
   ============================================================ */
.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 500;
  text-transform: uppercase;
}
.coming-soon-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-grid.two { grid-template-columns: 1fr; } }

/* ============================================================
   VIDEO PLACEHOLDER
   ============================================================ */
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(10,42,42,0.4), rgba(10,42,42,0.05));
}
.play-btn-inner {
  width: 88px; height: 88px;
  background: var(--accent);
  color: var(--ink-on-accent);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.video-thumb:hover .play-btn-inner { transform: scale(1.08); }

/* ============================================================
   APP STORE
   ============================================================ */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 12px 20px;
  border-radius: 0;
  text-decoration: none;
  transition: transform .15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .store-meta { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .store-meta small { font-size: 10px; opacity: 0.7; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.store-btn .store-meta strong { font-size: 15px; font-weight: 700; }

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.badge.accent { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.badge.solid { background: var(--bg-2); color: var(--ink); border-color: var(--line-soft); }

/* ============================================================
   UTILITY
   ============================================================ */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.full { width: 100%; }
.text-mute { color: var(--ink-mute); }
.text-dim  { color: var(--ink-dim); }
.text-accent { color: var(--accent); }
.text-display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.3px; }
.text-mono { font-family: var(--mono); }

/* ============================================================
   IMAGE OVERLAY HERO HELPER
   ============================================================ */
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,42,42,0.65) 0%, rgba(10,42,42,0.35) 35%, rgba(10,42,42,0.95) 100%);
}
.hero-scrim-side {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,42,42,0.92) 0%, rgba(10,42,42,0.55) 45%, rgba(10,42,42,0.15) 80%);
}

/* Subtle paper texture on light theme */
.theme-cream body, .theme-cream {
  background-image: radial-gradient(rgba(10,42,42,0.03) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* v2 refinements */
.brand-sub { white-space: nowrap; }
.eyebrow { white-space: nowrap; }
.page-head .display { max-width: 16ch; }
a { color: inherit; }
a:hover { color: var(--accent); }
.btn:hover, .nav-link:hover, .brand:hover { color: inherit; }
.btn-primary:hover { color: var(--ink-on-accent); }
.btn-ghost:hover { color: var(--ink-on-accent); }
