/* ==========================================================================
   Avalon Badminton Club — 2027 refresh
   Fonts: Barlow Condensed (display) + DM Sans (text)
   ========================================================================== */

:root {
  --ink: #0f0f0f;
  --ink-2: #121212;
  --ink-3: #1b1b1b;
  --paper: #f9f9f6;
  --paper-2: #efefe8;
  --white: #fff;
  --text: #555;
  --text-dark: #b9b9b2;
  --line: rgba(15, 15, 15, .1);
  --line-dark: rgba(255, 255, 255, .12);
  --accent: #ccce2e;          /* shuttle lime from the original site */
  --accent-2: #e3e55a;
  --accent-ink: #151500;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --announce-h: 40px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a, .prose a, .faq a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.section-dark p a { color: var(--white); }
strong { color: var(--ink); font-weight: 700; }
.section-dark strong, .hero strong, .site-footer strong { color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .h2, .h3, .h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.h4 { font-size: 1.6rem; font-weight: 600; }
.section-dark :is(h2, h3, h4, .h2, .h3, .h4),
.hero :is(h1, h2), .page-hero :is(h1, h2), .cta-band :is(h2), .site-footer :is(h2, h3, .h3) { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .8rem/1 var(--body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .site-footer .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--ink); line-height: 1.55; }
.muted { color: #8a8a84; }
p { margin: 0 0 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  font: 700 .85rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1.5px solid var(--b);
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--accent-ink); --b: var(--accent); box-shadow: 0 10px 30px -10px rgba(204, 206, 46, .6); }
.btn-accent:hover { background: var(--accent-2); --b: var(--accent-2); }
.btn-dark { background: var(--ink); color: var(--white); --b: var(--ink); }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { color: var(--white); --b: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { --b: var(--white); background: rgba(255, 255, 255, .1); }
.btn-line { color: var(--ink); --b: var(--line); background: var(--white); }
.btn-line:hover { --b: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: inherit;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Announcement + Header ---------- */
.announce {
  position: relative; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  min-height: var(--announce-h); padding: 8px var(--gutter);
  background: var(--accent); color: var(--accent-ink);
  font-size: .86rem; font-weight: 500; text-align: center;
}
.announce strong { color: var(--accent-ink); }
.announce a { font-weight: 700; text-decoration: underline; }
.announce .dot { background: var(--accent-ink); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  color: var(--white);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(12, 12, 12, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: 500 .95rem/1 var(--body); color: inherit; text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav > ul > li > a:hover, .sub-toggle:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { color: var(--accent-ink); background: var(--accent); padding: 0 20px; }
.nav .nav-cta:hover { background: var(--accent-2); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; width: 100%; border-radius: 8px; padding: 11px 12px; font-size: .92rem; }
.sub a:hover { background: rgba(255, 255, 255, .08); color: var(--accent); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 24px;
    padding: 100px var(--gutter) 40px;
    background: rgba(10, 10, 10, .97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav > ul > li > a, .sub-toggle { font: 600 2.1rem/1 var(--display); text-transform: uppercase; padding: 12px 0; border-radius: 0; width: 100%; justify-content: flex-start; }
  .nav > ul > li > a:hover, .sub-toggle:hover { background: none; color: var(--accent); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 8px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
  .sub a { padding: 10px 0; color: var(--text-dark); }
  .nav .nav-cta { min-height: 56px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) 0 0;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(0, 0, 0, .85), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .8) 100%);
}
.hero-inner { padding-bottom: clamp(40px, 6vw, 72px); }
.hero-title {
  font-size: clamp(4.2rem, 14vw, 11.5rem);
  line-height: .86; letter-spacing: -.01em; font-weight: 800;
  margin: 0 0 28px;
}
.hero-title span { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 34ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px; margin: 0 0 28px;
  border-radius: 999px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px);
  font-size: .88rem; font-weight: 500; color: var(--white);
}
.live-chip .dot { color: var(--accent); }
.live-chip.is-live { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.live-chip.is-live .dot { background: var(--accent-ink); color: var(--accent-ink); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-stats > div { padding: 24px 0; display: flex; align-items: baseline; gap: 12px; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-stats strong { font: 700 2.4rem/1 var(--display); color: var(--accent); }
.hero-stats span { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { padding: 18px 0; flex-direction: column; gap: 6px; }
  .hero-stats > div + div { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero-title span { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
  background: var(--ink) var(--bg, none) center / cover no-repeat;
  color: var(--white);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .85)); }
.page-hero.slim { padding-bottom: 60px; }
.page-title { font-size: clamp(2.8rem, 12vw, 8rem); overflow-wrap: anywhere; font-weight: 800; line-height: .9; margin-bottom: 20px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-soft { background: var(--paper-2); }
.section-dark { background: var(--ink-2); color: var(--text-dark); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Bento features ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(250px, auto));
}
.tile {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); }
.tile p { margin: 0; }
.tile .link-arrow { margin-top: 18px; }
.tile-lg { grid-row: span 2; padding: 0; min-height: 420px; background: var(--ink); border: 0; }
.tile-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-lg:hover img { transform: scale(1.05); }
.tile-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .85)); }
.tile-body.on-img { position: relative; z-index: 1; padding: 32px; color: rgba(255, 255, 255, .85); }
.tile-body.on-img .h3 { color: var(--white); }
.tile-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); grid-column: span 2; }
.tile-accent .h4 { color: var(--accent-ink); }
.tile-accent .icon { background: var(--accent-ink); color: var(--accent); }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; background: var(--ink); color: var(--accent); }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.icon.sm svg { width: 22px; height: 22px; }
.tile:not(.tile-lg) .h4 { margin-top: 28px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .tile-lg { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-accent { grid-column: auto; }
  .tile { min-height: 220px; }
}

/* ---------- About ---------- */
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.float-card {
  position: absolute; right: -18px; bottom: 32px;
  padding: 20px 24px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .35);
  transform: rotate(-3deg);
}
.float-card .eyebrow { color: var(--accent-ink); margin-bottom: 8px; }
.float-card .eyebrow::before { background: var(--accent-ink); }
.float-card strong { display: block; font: 700 1.9rem/1 var(--display); text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 600px) { .float-card { right: 12px; } }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23151500' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Schedule ---------- */
.schedule-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.hours-card, .map-card { border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink-3); }
.hours-card { padding: clamp(24px, 4vw, 40px); }
.hours-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hours-top .h4 { margin: 0; }
.status { padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: var(--white); }
.status.is-live { background: var(--accent); color: var(--accent-ink); }
.season { color: var(--accent); font-weight: 500; margin: 14px 0 22px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-variant-numeric: tabular-nums; }
.hours li.off { color: #6d6d68; }
.hours li.on { color: var(--white); font-weight: 500; }
.hours li.today { position: relative; }
.hours li.today span:first-child::after { content: "Today"; margin-left: 10px; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(204, 206, 46, .16); color: var(--accent); }
.map-card { overflow: hidden; position: relative; min-height: 420px; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05) brightness(.9); }
.map-label { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 360px; padding: 16px 18px; border-radius: 14px; background: rgba(15, 15, 15, .9); backdrop-filter: blur(8px); color: var(--text-dark); display: grid; gap: 2px; font-size: .92rem; }
@media (max-width: 900px) { .schedule-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font: 600 1.35rem/1.15 var(--display); text-transform: uppercase; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); font: 500 1.3rem/1 var(--body); transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { padding: 0 24px 22px; margin: 0; }
.faq-img { margin-top: 32px; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .faq-img { display: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--ink) var(--bg) center / cover no-repeat fixed;
  color: rgba(255, 255, 255, .8); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .66); }
.cta-inner { max-width: 820px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .h2 { margin-bottom: 32px; }
@media (hover: none) { .cta-band { background-attachment: scroll; } }

.cta-split { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-split .h2 { margin-bottom: 10px; }
.cta-split p { margin: 0; }
.cta-split .btn-row { margin: 0; }

/* ---------- Membership ---------- */
.perk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perk-grid li { padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.perk-grid strong { font: 600 1.35rem/1.1 var(--display); text-transform: uppercase; }
.perk-grid span { font-size: .95rem; }
@media (max-width: 520px) { .perk-grid { grid-template-columns: 1fr; } }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.price-card .price { font: 800 3.4rem/1 var(--display); color: var(--ink); margin: 6px 0 10px; text-transform: uppercase; }
.price-card.featured { background: var(--ink); border-color: var(--ink); color: var(--text-dark); }
.price-card.featured :is(.h4, .price) { color: var(--white); }
.price-card.featured .price { color: var(--accent); }
.badge { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.steps li::before { content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; transform-origin: left; }
.step-n { font: 800 3.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 24px; }
.steps p { flex: 1; }
.step-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 22px; margin-top: 34px; }
.contact-list > div { display: flex; gap: 16px; align-items: flex-start; }
.contact-list p { margin: 0; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .3); }
.field { display: grid; gap: 8px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 0; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(204, 206, 46, .35); }
textarea { resize: vertical; min-height: 140px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.form-note.ok { background: rgba(204, 206, 46, .22); color: var(--accent-ink); }
.form-note.err { background: #fde8e6; color: #8d1d12; }
.map-full iframe { width: 100%; height: 440px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose .h4 { margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-dark); padding: clamp(60px, 8vw, 100px) 0 28px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-news {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
  background: var(--ink-3); border: 1px solid var(--line-dark);
  margin-bottom: clamp(50px, 7vw, 80px);
}
.footer-news .h3 { margin-bottom: 8px; }
.footer-news p { margin: 0; }
.news-form { display: flex; gap: 10px; }
.news-form input { background: var(--ink); border-color: var(--line-dark); color: var(--white); border-radius: 999px; padding-inline: 22px; }
.news-form input:focus { background: var(--ink); border-color: var(--accent); }
.footer-news .form-note { grid-column: 1 / -1; margin: 0; }
.footer-news .form-note.ok { color: var(--accent); background: rgba(204, 206, 46, .12); }
@media (max-width: 860px) { .footer-news { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .news-form { flex-direction: column; } }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-about p { max-width: 38ch; }
.footer-h { font: 600 1.15rem/1 var(--display); letter-spacing: .08em; margin-bottom: 18px; color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: #85857f; }
.footer-bottom a { color: #b3b3ac; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media { display: none; }
  .hero { background-color: var(--ink); }
}

@media (max-width: 600px) {
  .announce { font-size: .78rem; gap: 4px 10px; padding-block: 6px; }
  .announce .dot { display: none; }
}

.footer-legal { display: flex; gap: 20px; }

/* Header action buttons */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav .nav-admin { padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); color: var(--white); }
.nav .nav-admin:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 1180px) {
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav .nav-admin { min-height: 56px; font-size: .9rem; justify-content: center; }
}

/* Register page */
.mini-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.mini-steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 1.2rem/1 var(--display); }
.mini-steps strong { display: block; font: 600 1.25rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.form-card .h3 { margin-bottom: 20px; }
.form-fine { font-size: .85rem; margin: 14px 0 0; }

/* Membership: two membership cards */
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.member-card { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.member-card .checks { margin-bottom: 8px; }
.member-card .btn-row { margin-top: auto; padding-top: 24px; }
.member-card.dark { background: var(--ink); border-color: var(--ink); color: var(--text-dark); }
.member-card.dark .h3, .member-card.dark strong { color: var(--white); }
.member-card.dark .step-n { -webkit-text-stroke-color: var(--accent); }
@media (max-width: 860px) { .member-grid { grid-template-columns: 1fr; } }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps.steps-3 { grid-template-columns: 1fr; } }
.perk-grid.perk-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .perk-grid.perk-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perk-grid.perk-grid-3 { grid-template-columns: 1fr; } }

/* Register button while on the Register page: keep the label visible (white) */
.nav .nav-cta[aria-current="page"],
.nav .nav-cta[aria-current="page"]:hover { color: var(--white); }

/* Mobile header fixes */
.brand { position: relative; z-index: 2; }            /* logo stays above the open mobile menu */
.brand img { max-width: 58vw; height: auto; max-height: 44px; }
@media (max-width: 600px) {
  .announce-extra { display: none; }                   /* one-line top bar on phones */
  .announce { flex-wrap: nowrap; white-space: nowrap; }
}
.hero-stats strong { white-space: nowrap; }
@media (max-width: 420px) { .hero-stats strong { font-size: 2rem; } }

/* Hero photo (bg-home.jpg): always behind the video; on phones the video is hidden so the photo shows */
.hero { background: var(--ink) var(--hero-bg, none) center / cover no-repeat; }
@media (max-width: 760px) {
  .hero-media { display: none; }
}

/* Video banners inside inner-page headers (e.g. Membership timelapse) */
.page-hero { overflow: hidden; }
.page-hero .hero-media { z-index: -2; }
.page-hero::before { z-index: -1; }

/* Optional-field tag + hint on the Register form */
.field .opt { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8a8a84; margin-left: 4px; }
.form-hint { font-size: .88rem; margin: -4px 0 18px; }
