/* ==========================================================================
   Camp Dovid — site styles
   Palette pulled from the 2026 logo: forest green + stick-tape cream on ice.
   ========================================================================== */


:root {
  --green-900: #0d2416;
  --green-800: #143620;
  --green-700: #1b4a2b;
  --green-600: #23603a;
  --green-500: #2f7a4b;
  --green-100: #e3eee6;
  --cream: #efe4c8;
  --cream-200: #f6efdd;
  --ice: #f5f7f6;
  --white: #ffffff;
  --ink: #101a14;
  --muted: #5b6b61;
  --line: #dde5df;
  --red: #c8102e;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 36, 22, .06), 0 8px 24px rgba(13, 36, 22, .08);
  --shadow-lg: 0 20px 60px rgba(13, 36, 22, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font-display: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  color: var(--green-900);
}
h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }
::selection { background: var(--green-600); color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--white { background: var(--white); }
.section--green { background: var(--green-800); color: var(--cream-200); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--cream { background: var(--cream-200); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--green .eyebrow { color: var(--cream); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section--green .lead { color: rgba(246, 239, 221, .8); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-700); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green-900); transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 36, 22, .25); }
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--cream { --bg: var(--cream); --fg: var(--green-900); }
.btn--ghost { --bg: transparent; --fg: var(--green-800); border-color: currentColor; }
.btn--ghost-light { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.6); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
 
}
.site-header.is-solid, .site-header.is-light {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { height: 46px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: filter .35s; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.is-solid .brand, .is-light .brand { color: var(--green-900); }
.is-solid .brand img, .is-light .brand img { filter: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 12px; color: rgba(255,255,255,.92);
  font-weight: 600; font-size: .92rem; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.is-solid .nav > a, .is-solid .nav-drop > button,
.is-light .nav > a, .is-light .nav-drop > button { color: var(--ink); }
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav-drop:hover > button::after, .nav-drop > button[aria-current="page"]::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.nav-drop .menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-drop::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.nav-drop:hover .menu, .nav-drop:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.menu a:hover { background: var(--green-100); color: var(--green-800); }
.menu small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--white);
  transition: background .25s, transform .25s var(--ease);
}
.is-solid .cart-btn, .is-light .cart-btn { background: var(--green-100); color: var(--green-800); }
.cart-btn:hover { transform: scale(1.06); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0;
  color: var(--white); position: relative;
}
.is-solid .menu-toggle, .is-light .menu-toggle { color: var(--ink); }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px; background: var(--white); overflow-y: auto;
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); visibility: hidden;
  }
  .nav-open .nav { clip-path: inset(0); visibility: visible; }
  .nav-open .site-header { background: var(--white); }
  .nav-open .brand, .nav-open .menu-toggle { color: var(--green-900); }
  .nav > a, .nav-drop > button {
    color: var(--ink) !important; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
    text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between;
  }
  .nav > a::after, .nav-drop > button::after { display: none; }
  .nav-drop .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 8px; display: none; }
  .nav-drop.open .menu { display: block; }
  .nav-drop:hover svg { transform: none; }
  .nav-drop.open svg { transform: rotate(180deg); }
  .nav .nav-cta { display: flex; margin-top: 24px; font-family: var(--font-body); font-size: 1rem; text-transform: none; color: var(--white) !important; border: 2px solid var(--green-700); justify-content: center; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1061px) { .nav .nav-cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--green-900);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 8s linear;
}
.hero-media img.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,36,22,.55) 0%, rgba(13,36,22,.15) 35%, rgba(13,36,22,.85) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(13,36,22,.7), transparent 60%);
}
.hero .container { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 96px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { color: var(--white); margin-bottom: .15em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; color: var(--cream); }
@keyframes rise { to { transform: none; } }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge b { background: var(--cream); color: var(--green-900); padding: 4px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .08em; }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .3s; } .d2 { animation-delay: .45s; } .d3 { animation-delay: .6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.active { background: var(--cream); width: 44px; }
@media (max-width: 700px) { .hero-dots { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(48px, 7vw, 88px);
  background: var(--green-900); color: var(--cream-200); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: var(--hero-img, none); background-size: cover; background-position: center;
  filter: grayscale(.3);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--green-900) 30%, rgba(13,36,22,.7) 70%, rgba(13,36,22,.5));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(3rem, 8vw, 6rem); }
.page-hero .eyebrow { color: var(--cream); }
.page-hero .lead { color: rgba(246,239,221,.82); }
.rink-lines { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .12; z-index: 1; pointer-events: none; }
@media (max-width: 800px) { .rink-lines { display: none; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--cream); color: var(--green-900); overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(13,36,22,.1); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker span::after { content: "●"; font-size: .6rem; color: var(--green-600); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 18px;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.card:hover .icon { transform: rotate(-8deg) scale(1.06); background: var(--green-700); color: var(--cream); }
.card .icon svg { width: 26px; height: 26px; }

/* Divisions */
.division {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 26px 26px;
  background: var(--green-700); color: var(--cream-200); min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .45s var(--ease), background .3s;
}
.division:nth-child(2) { background: var(--green-600); }
.division:nth-child(3) { background: var(--green-800); }
.division:nth-child(4) { background: var(--green-900); }
.division:hover { transform: translateY(-6px) rotate(-.6deg); }
.division .abbr {
  position: absolute; right: -10px; bottom: -32px; font-family: var(--font-display); font-weight: 900;
  font-size: 9rem; line-height: 1; color: rgba(255,255,255,.07); transition: transform .6s var(--ease);
}
.division:hover .abbr { transform: translateX(-12px) scale(1.05); }
.division .grade { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--cream); }
.division h3 { color: var(--white); font-size: 2.2rem; margin: 6px 0 0; }
.division p { color: rgba(246,239,221,.75); font-size: .92rem; margin: 10px 0 0; position: relative; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--green-800); padding: 30px 24px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--cream); font-weight: 900; }
.stat span { font-size: .9rem; color: rgba(246,239,221,.75); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Photo stack */
.photo-stack { position: relative; aspect-ratio: 1 / 1; }
.photo-stack figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--white); transition: transform .6s var(--ease); }
.photo-stack figure img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack figure:nth-child(1) { inset: 0 22% 22% 0; transform: rotate(-3deg); }
.photo-stack figure:nth-child(2) { inset: 34% 0 0 30%; transform: rotate(3deg); }
.photo-stack:hover figure:nth-child(1) { transform: rotate(-5deg) translate(-8px, -6px); }
.photo-stack:hover figure:nth-child(2) { transform: rotate(5deg) translate(8px, 6px); }

/* Info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 3px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323603a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Price card */
.price-card { background: var(--green-900); color: var(--cream-200); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.price-card .amount { font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 7rem); font-weight: 900; line-height: .9; color: var(--white); }
.price-card .amount sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; margin-right: 4px; color: var(--cream); }
.price-card h3 { color: var(--cream); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pay-chips span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .85rem; font-weight: 600; }
.fine { font-size: .85rem; color: var(--muted); }
.price-card .fine { color: rgba(246,239,221,.65); }

/* Callout */
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--cream-200); border: 1px solid #e6d9b6; }
.callout svg { flex: none; width: 24px; height: 24px; color: var(--green-700); }
.callout p { margin: 0; }

/* Letter */
.letter { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 64px); position: relative; border-top: 8px solid var(--green-700); }
.letter h3 { font-size: 1.1rem; letter-spacing: .1em; color: var(--green-600); }
.letter p { font-size: 1.05rem; }
.letter .sign { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 800; color: var(--green-800); }

/* Map */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--green-100); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.tabs button {
  position: relative; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem;
  color: var(--muted); cursor: pointer; transition: color .25s, background .25s;
}
.tabs button:hover { color: var(--green-800); }
.tabs button[aria-selected="true"] { background: var(--green-700); color: var(--white); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .5s var(--ease); }

/* Embeds */
.embed-shell { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.embed-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--ice); }
.embed-bar strong { font-size: .95rem; }
.embed-shell iframe { width: 100%; height: 900px; border: 0; display: block; }
@media (max-width: 640px) { .embed-shell iframe { height: 700px; } }

/* Gallery */
.year-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.year-nav::-webkit-scrollbar { display: none; }
.year-nav button {
  flex: none; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--muted); cursor: pointer;
  transition: all .25s var(--ease);
}
.year-nav button:hover { border-color: var(--green-600); color: var(--green-700); }
.year-nav button[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; background: var(--green-100); }
.masonry img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .4s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; inset: auto 0 0; padding: 30px 16px 14px; color: var(--white); font-weight: 600; font-size: .9rem;
  background: linear-gradient(transparent, rgba(13,36,22,.85)); transform: translateY(100%); transition: transform .4s var(--ease);
}
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { transform: none; }
.gallery-group + .gallery-group { margin-top: 56px; }
.gallery-group h3 { display: flex; align-items: baseline; gap: 12px; }
.gallery-group h3 small { font-family: var(--font-body); font-size: .85rem; text-transform: none; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.empty {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); background: var(--white);
}
.empty svg { width: 40px; height: 40px; color: var(--green-500); margin: 0 auto 12px; }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 12, .94); display: grid; place-items: center; padding: 60px 16px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; max-width: min(1100px, 100%); width: auto; border-radius: 10px; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox p { color: var(--cream-200); text-align: center; margin: 14px 0 0; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Awards */
.award-year { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 48px); padding: 48px 0; border-top: 1px solid var(--line); }
.award-year:first-child { border-top: 0; padding-top: 0; }
.award-year > h2 { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; font-size: clamp(3rem, 7vw, 5.5rem); color: var(--green-700); }
@media (max-width: 760px) { .award-year { grid-template-columns: 1fr; } .award-year > h2 { position: static; } }
.champ { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.champ + .champ { margin-top: 20px; }
.champ-photo { position: relative; min-height: 240px; background: var(--green-800); }
.champ-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .7s var(--ease); }
.champ:hover .champ-photo img { transform: scale(1.04); }
.champ-photo .no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(246,239,221,.6); font-size: .9rem; text-align: center; padding: 20px; }
.champ-body { padding: 26px; }
.champ-body .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green-600); }
.champ-body .tag svg { width: 16px; height: 16px; color: #c9a227; }
.champ-body h3 { margin: 6px 0 14px; }
.award-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.award-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.award-list li:last-child { border-bottom: 0; }
.award-list span { color: var(--muted); }
.award-list b { text-align: right; }
@media (max-width: 760px) { .champ { grid-template-columns: 1fr; } }

/* Store */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 1 / 1; background: var(--ice); overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
.product-img img.alt { position: absolute; inset: 0; opacity: 0; }
.product:hover .product-img img { transform: scale(1.05); }
.product:hover .product-img img.alt { opacity: 1; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 1.35rem; margin: 0; }
.product-price { font-weight: 700; color: var(--green-700); }
.product-price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.product select { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); font: inherit; font-size: .92rem; background: var(--ice); }
.product .btn { margin-top: auto; width: 100%; }
.product .sold-out { opacity: .55; pointer-events: none; }
.skeleton { background: linear-gradient(90deg, #eef2ef 25%, #f8faf9 50%, #eef2ef 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 380px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8, 20, 12, .45); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg); }
.cart-open .drawer-backdrop { opacity: 1; visibility: visible; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ice); cursor: pointer; display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--ice); }
.cart-line h4 { font-family: var(--font-body); text-transform: none; font-size: .95rem; font-weight: 600; margin: 0; color: var(--ink); line-height: 1.3; }
.cart-line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 1rem; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; font-weight: 600; }
.cart-line .remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--green-900); color: var(--white); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease), visibility .5s; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: var(--cream); flex: none; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ice);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green-500); background: var(--white); box-shadow: 0 0 0 4px rgba(47,122,75,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.hidden { display: none !important; }

/* Registration embed */
.cognito-wrap { background: var(--white); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 400px; }

/* Person (about) */
.person { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.person-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--green-800); box-shadow: var(--shadow-lg); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(246,239,221,.6); padding: 24px; font-size: .9rem; }
.person-photo .ph b { display: block; font-family: var(--font-display); font-size: 6rem; color: rgba(246,239,221,.2); line-height: 1; }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } .person-photo { position: relative; top: 0; max-width: 380px; } }
.placeholder-note { display: inline-block; background: #fff6d6; border: 1px dashed #d9b84a; color: #6b5510; font-size: .82rem; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--green-700); color: var(--cream-200); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(246,239,221,.85); }
.cta-band .puck { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(246,239,221,.75); padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--cream); font-size: 1.15rem; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: rgba(246,239,221,.75); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-brand img { height: 90px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(.92) sepia(.25); }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--cream); color: var(--green-900); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--white); font: inherit; font-size: .92rem; }
.newsletter input::placeholder { color: rgba(246,239,221,.5); }
.newsletter input:focus { outline: 0; border-color: var(--cream); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-img.in { clip-path: inset(0); }

/* Page-to-page transition: a solid green panel sweeps up over the page, the next page
   loads underneath it, then the panel keeps sweeping up and off the screen.
   The page itself never moves or blurs. */
body::before, .page-wipe {
  content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  box-shadow: 0 -3px 0 var(--cream) inset, 0 3px 0 var(--cream) inset;
}
body::before { transform: translateY(-101%); animation: wipeAway .55s cubic-bezier(.76, 0, .24, 1) both; }
@keyframes wipeAway { from { transform: translateY(0); } to { transform: translateY(-101%); } }
.page-wipe { transform: translateY(101%); animation: wipeCover .4s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes wipeCover { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { body::before { display: none; } }


.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* Awards by division */
.div-awards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 24px); }
@media (max-width: 960px) { .div-awards-grid { grid-template-columns: minmax(0, 1fr); } }
.div-awards { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.div-awards:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.div-awards .champ-photo { min-height: 220px; aspect-ratio: 16 / 9; }
.div-awards header { position: relative; overflow: hidden; background: var(--green-800); color: var(--cream-200); padding: 22px 24px; }
.div-awards header::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(255,255,255,.05); }
.div-awards .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.div-awards .tag svg { width: 22px; height: 22px; color: #d9b44a; }
.champ-team { margin: 6px 0 0; font-size: .9rem; color: rgba(246,239,221,.85); }
.champ-team b { color: var(--white); }
.mvp { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mvp small { font-size: .72rem; font-weight: 700; letter-spacing: .16em; background: var(--cream); color: var(--green-900); padding: 3px 10px; border-radius: 999px; }
.mvp strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--cream); line-height: 1.1; }
.div-awards .award-list { padding: 8px 24px 4px; }
.div-awards .award-list b { font-weight: 600; }
.all-star-title { display: flex; align-items: center; gap: 8px; margin: 10px 24px 10px; font-size: 1.05rem; letter-spacing: .06em; color: var(--green-700); }
.all-star-title svg { width: 16px; height: 16px; color: #d9b44a; }
.chips { list-style: none; margin: 0; padding: 0 24px 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-800); transition: background .2s, color .2s; }
.chips li:hover { background: var(--green-700); color: var(--white); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); display: grid; place-items: center; }
.news-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .7s var(--ease); }
.news-img img.news-ph { width: 40%; height: auto; object-fit: contain; opacity: .5; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); }
.news-meta span { color: var(--muted); }
.news-body h3 { font-size: 1.45rem; margin: 0; line-height: 1.1; }
.news-body p { margin: 0; font-size: .95rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--green-700); }
.news-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-card:hover .news-link svg { transform: translate(2px, -2px); }

/* Season strip (home, under the hero) */
.season-strip { background: var(--green-900); color: var(--cream-200); border-top: 1px solid rgba(255,255,255,.08); }
.season-strip .container { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.season-item { display: flex; flex-direction: column; line-height: 1.1; }
.season-item > div > span { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,239,221,.6); }
.season-item b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; text-transform: uppercase; color: var(--cream); }
.season-item + .season-item { padding-left: clamp(20px, 5vw, 64px); border-left: 1px solid rgba(255,255,255,.12); }
.season-strip .btn { margin-left: auto; }
@media (max-width: 640px) {
  .season-strip .container { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px 12px; }
  .season-item + .season-item { padding-left: 12px; }
  .season-item b { font-size: 1.35rem; }
  .season-strip .btn { grid-column: 1 / -1; margin-left: 0; }
}
/* Season strip lives at the bottom of the home hero */
.hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.hero > .container { padding-bottom: clamp(32px, 6vh, 64px); }
.hero .season-strip { position: relative; z-index: 2; background: rgba(13,36,22,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.12); }
.hero-dots { bottom: auto; top: calc(var(--header-h) + 24px); }

/* ---- Season strip v2: icons, countdown, light sweep ---- */
.hero .season-strip { overflow: hidden; background: linear-gradient(90deg, rgba(13,36,22,.88), rgba(20,54,32,.78) 50%, rgba(13,36,22,.88)); border-top: 0; }
.hero .season-strip::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cream) 45%, #fff 50%, var(--cream) 55%, transparent);
  background-size: 50% 100%; background-repeat: no-repeat; animation: sweep 5s linear infinite;
}
.hero .season-strip::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(239,228,200,.18); }
@keyframes sweep { from { background-position: -50% 0; } to { background-position: 150% 0; } }

.season-strip .container { gap: 0; padding-top: 18px; padding-bottom: 18px; flex-wrap: nowrap; }
.season-item { flex-direction: row; align-items: center; gap: 14px; padding: 0 clamp(16px, 2.2vw, 30px); }
.season-item:first-child { padding-left: 0; }
.season-item + .season-item { padding-left: clamp(16px, 2.2vw, 30px); border-left: 1px solid rgba(239,228,200,.14); }
.season-item > div { display: flex; flex-direction: column; line-height: 1.05; }
.season-item b { font-size: 1.75rem; letter-spacing: .01em; white-space: nowrap; }
.season-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(239,228,200,.35); color: var(--cream); background: rgba(239,228,200,.06);
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.season-ico svg { width: 20px; height: 20px; }
.season-item:hover .season-ico { transform: rotate(-12deg) scale(1.08); background: var(--cream); color: var(--green-900); border-color: var(--cream); }

.countdown { margin-left: auto; padding: 0 clamp(16px, 2.2vw, 30px); border-left: 1px solid rgba(239,228,200,.14); display: flex; flex-direction: column; gap: 6px; }
.countdown-label { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,239,221,.7); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }
.countdown-units { display: flex; gap: 6px; }
.countdown-units > div { position: relative; min-width: 50px; padding: 5px 6px 4px; border-radius: 10px; text-align: center; background: rgba(0,0,0,.28); border: 1px solid rgba(239,228,200,.12); overflow: hidden; }
.countdown-units > div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.35); }
.countdown-units b { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.countdown-units b.tick { animation: tickIn .45s var(--ease); }
@keyframes tickIn { from { transform: translateY(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
.countdown-units small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,239,221,.55); margin-top: 2px; }

.season-strip .btn { margin-left: clamp(16px, 2.2vw, 30px); flex: none; }
.btn--shine::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 1180px) {
  .season-strip .container { flex-wrap: wrap; row-gap: 16px; }
  .countdown { margin-left: 0; border-left: 0; padding-left: 0; order: 5; }
  .season-strip .btn { margin-left: auto; order: 6; align-self: center; }
}
@media (max-width: 640px) {
  .season-strip .container { display: flex; padding-top: 14px; padding-bottom: 16px; }
  .season-item { padding: 0 10px; gap: 8px; }
  .season-item + .season-item { padding-left: 10px; }
  .season-ico { width: 30px; height: 30px; }
  .season-ico svg { width: 15px; height: 15px; }
  .season-item b { font-size: 1.1rem; }
  .season-item > div > span { font-size: .6rem; }
  .season-item:nth-child(3) { display: none; }
  .countdown { width: 100%; }
  .countdown-units > div { flex: 1; }
  .season-strip .btn { width: 100%; margin-left: 0; grid-column: auto; }
}

/* Orange ball-hockey ball that drops and bounces next to "Puck drops in" */
.countdown-label { overflow: visible; }
.drop-ball {
  position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffd2a1 0 12%, transparent 13%),
    radial-gradient(circle at 60% 65%, rgba(140,50,0,.35) 0 10%, transparent 11%),
    radial-gradient(circle at 70% 35%, rgba(140,50,0,.3) 0 8%, transparent 9%),
    radial-gradient(circle at 35% 70%, rgba(140,50,0,.3) 0 8%, transparent 9%),
    radial-gradient(circle at 40% 35%, #ffa040, #ff7a00 55%, #c94f00);
  box-shadow: 0 0 10px rgba(255,122,0,.55);
  animation: ballDrop 2.4s cubic-bezier(.3,0,.7,1) infinite;
  transform-origin: 50% 100%;
}
.drop-ball::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 3px; margin-left: -6px; border-radius: 50%;
  background: rgba(0,0,0,.45); animation: ballShadow 2.4s cubic-bezier(.3,0,.7,1) infinite;
}
@keyframes ballDrop {
  0%   { transform: translateY(-18px) rotate(0deg); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  8%   { opacity: 1; }
  30%  { transform: translateY(0) scale(1.18, .8) rotate(160deg); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  36%  { transform: translateY(0) scale(1) rotate(180deg); }
  50%  { transform: translateY(-11px) rotate(240deg); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  64%  { transform: translateY(0) scale(1.1, .9) rotate(300deg); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  74%  { transform: translateY(-4px) rotate(330deg); }
  84%, 100% { transform: translateY(0) rotate(360deg); }
}
@keyframes ballShadow {
  0% { transform: scale(.2); opacity: 0; }
  30%, 64%, 84%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.55); opacity: .5; }
}
.drop-ball::after { display: none; }
/* Cleaner countdown tiles */
.countdown-units > div { background: rgba(255,255,255,.06); border-color: rgba(239,228,200,.16); border-radius: 12px; }
.countdown-units > div::after { display: none; }

/* ---- Hand dropping the ball next to the countdown ---- */
.countdown { flex-direction: row; align-items: stretch; gap: 14px; }
.cd-main { display: flex; flex-direction: column; gap: 6px; }
.faceoff { position: relative; width: 40px; flex: none; }
.faceoff .hand { position: absolute; top: -2px; left: 50%; width: 30px; height: 32px; margin-left: -15px; overflow: visible; z-index: 2; animation: handMove 3s ease-in-out infinite; }
.hand .cuff { fill: var(--green-500); stroke: var(--cream); stroke-width: 1.2; }
.hand .palm, .hand .finger { fill: #f2c9a0; stroke: #b9835a; stroke-width: 1; }
.hand .thumb { transform-box: fill-box; transform-origin: 50% 0; animation: thumbOpen 3s ease-in-out infinite; }
.hand .index { transform-box: fill-box; transform-origin: 50% 0; animation: indexOpen 3s ease-in-out infinite; }
.faceoff .drop-ball { position: absolute; left: 50%; top: 22px; margin-left: -8px; z-index: 1; animation: handDrop 3s infinite; }
.faceoff .floor { position: absolute; left: 6px; right: 6px; bottom: 0; height: 2px; border-radius: 2px; background: rgba(239,228,200,.25); }
.faceoff .floor::after { content: ""; position: absolute; left: 50%; top: -3px; width: 18px; height: 4px; margin-left: -9px; border-radius: 50%; background: rgba(0,0,0,.45); transform: scale(.2); opacity: 0; animation: floorShadow 3s infinite; }

/* timeline: 0–18% hold · 18% release · fall · bounce · settle · 86–100% reset */
@keyframes handMove {
  0%, 12% { transform: translateY(0); }
  18% { transform: translateY(3px); }
  30%, 80% { transform: translateY(-2px); }
  92%, 100% { transform: translateY(0); }
}
@keyframes thumbOpen { 0%, 16% { transform: rotate(0); } 22%, 82% { transform: rotate(28deg); } 92%, 100% { transform: rotate(0); } }
@keyframes indexOpen { 0%, 16% { transform: rotate(0); } 22%, 82% { transform: rotate(-28deg); } 92%, 100% { transform: rotate(0); } }
@keyframes handDrop {
  0%, 18% { transform: translateY(0) rotate(0); opacity: 1; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  38% { transform: translateY(var(--drop, 40px)) scale(1.2, .78) rotate(150deg); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  42% { transform: translateY(var(--drop, 40px)) scale(1) rotate(170deg); }
  52% { transform: translateY(calc(var(--drop, 40px) - 13px)) rotate(230deg); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  62% { transform: translateY(var(--drop, 40px)) scale(1.1, .9) rotate(290deg); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  68% { transform: translateY(calc(var(--drop, 40px) - 4px)) rotate(310deg); }
  74%, 84% { transform: translateY(var(--drop, 40px)) rotate(330deg); opacity: 1; }
  90% { transform: translateY(var(--drop, 40px)) rotate(330deg); opacity: 0; }
  91% { transform: translateY(0) rotate(0); opacity: 0; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes floorShadow {
  0%, 20% { transform: scale(.2); opacity: 0; }
  38%, 62%, 74%, 84% { transform: scale(1); opacity: 1; }
  52% { transform: scale(.6); opacity: .5; }
  90%, 100% { transform: scale(.2); opacity: 0; }
}

/* Hand v2: referee sleeve, four fingers that curl around the ball then open */
.faceoff { width: 44px; }
.faceoff .hand { width: 36px; height: 41px; margin-left: -18px; top: -6px; }
.hand .cuff { stroke: rgba(0,0,0,.35); stroke-width: .8; animation: none; }
.hand .palm, .hand .finger { fill: #f2c9a0; stroke: #a8734d; stroke-width: .9; }
.hand .finger { transform-box: fill-box; transform-origin: 50% 0; animation: fingersCurl 3s ease-in-out infinite; }
.hand .thumb { transform-origin: 50% 0; animation: thumbCurl 3s ease-in-out infinite; }
.hand .index { animation: none; }
.faceoff .drop-ball { top: 24px; }
@keyframes fingersCurl {
  0%, 16% { transform: scaleY(.55); }
  22%, 82% { transform: scaleY(1) rotate(0); }
  94%, 100% { transform: scaleY(.55); }
}
@keyframes thumbCurl {
  0%, 16% { transform: rotate(-35deg); }
  22%, 82% { transform: rotate(18deg); }
  94%, 100% { transform: rotate(-35deg); }
}

/* Smooth matte ball-hockey ball (matches the reference photo) */
.drop-ball {
  background:
    radial-gradient(ellipse 55% 40% at 40% 28%, rgba(255,160,110,.55), transparent 70%),
    radial-gradient(circle at 42% 35%, #f0743a 0%, #e9652b 45%, #d9561f 72%, #b9441a 100%);
  box-shadow: inset -1px -2px 3px rgba(120,30,0,.35), 0 1px 3px rgba(0,0,0,.35);
}
.hand .cuff { fill: url(#refStripes); }
.faceoff .drop-ball { top: 17px; }
.drop-ball { background:
    radial-gradient(ellipse 55% 40% at 40% 28%, rgba(255,170,120,.5), transparent 70%),
    radial-gradient(circle at 42% 35%, #f67d40 0%, #ee6c2e 45%, #e05b22 72%, #c24a1c 100%); }

/* Simple drop: no bouncing. Falls, lands, then reappears in the hand. */
.faceoff .drop-ball { animation: handDropSimple 3s infinite; }
.faceoff .floor::after { animation: floorShadowSimple 3s infinite; }
@keyframes handDropSimple {
  0%, 18% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  36% { transform: translateY(var(--drop, 40px)) scale(1.12, .88); animation-timing-function: ease-out; }
  42%, 80% { transform: translateY(var(--drop, 40px)) scale(1); opacity: 1; }
  88% { transform: translateY(var(--drop, 40px)); opacity: 0; }
  89% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes floorShadowSimple {
  0%, 20% { transform: scale(.2); opacity: 0; }
  36%, 80% { transform: scale(1); opacity: 1; }
  88%, 100% { transform: scale(.2); opacity: 0; }
}
.hero-dots { gap: 6px; }
.hero-dots button { width: 16px; }
.hero-dots button.active { width: 32px; }
/* Let the countdown sit at the far right of the screen; left items stay lined up with the hero text */
@media (min-width: 1181px) {
  .hero .season-strip .container {
    max-width: none;
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: clamp(24px, 3vw, 56px);
  }
}
@media (min-width: 1181px) { .hero .season-strip .container { padding-right: 20px; } }
.countdown-units > div { min-width: 64px; }
.cd-main { align-items: center; text-align: center; }
.cd-main .countdown-units { justify-content: center; }
.final-score { color: rgba(246,239,221,.7); font-size: .85em; }

/* ==========================================================================
   Home hero v3: smaller type, register banner, feature showcase card
   ========================================================================== */
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.hero .lead { font-size: clamp(.98rem, 1.15vw, 1.08rem); max-width: 50ch; margin-bottom: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 64px); align-items: end; }
@media (max-width: 1060px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero .btn-row { align-items: flex-start; }

/* Register button with a banner hanging under it */
.register-cta { display: inline-flex; flex-direction: column; align-items: stretch; text-decoration: none; }
.register-cta .btn { position: relative; z-index: 1; }
.register-cta:hover .btn { color: var(--white); transform: translateY(-2px); }
.register-cta:hover .btn::after { transform: translateY(0); }
.register-flag {
  margin: -14px 14px 0; padding: 18px 12px 7px; border-radius: 0 0 14px 14px;
  background: #e2621f; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(226,98,31,.35);
  transform-origin: top; animation: flagDrop .7s .9s var(--ease) both;
}
.register-flag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: flagPulse 1.6s infinite; }
@keyframes flagDrop { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes flagPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }


/* ==========================================================================
   Feature showcase (compact): story-style progress bars, blur/slide transitions
   ========================================================================== */
.showcase {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  position: relative; width: 100%; max-width: 330px; justify-self: end;
  padding: 12px 14px 14px; border-radius: 18px; color: var(--white);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
@media (max-width: 1060px) { .showcase { justify-self: start; } }

.scx-bars { display: flex; gap: 4px; }
.scx-bars i { position: relative; flex: 1; height: 14px; cursor: pointer; }
.scx-bars i::before, .scx-bars b { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; }
.scx-bars i::before { background: rgba(255,255,255,.18); }
.scx-bars b { background: var(--cream); transform: scaleX(0); transform-origin: left; }
.scx-bars i.done b { transform: scaleX(1); }
.scx-bars i.on b { animation: scxBar var(--dur, 5s) linear forwards; }
.showcase.paused .scx-bars i.on b { animation-play-state: paused; }
@keyframes scxBar { to { transform: scaleX(1); } }

.scx-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.scx-label { position: relative; height: 16px; flex: 1; overflow: hidden; }
.scx-label span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  animation: scxLabelIn .6s var(--ease-out) both;
}
.scx-label span.out { animation: scxLabelOut .45s var(--ease-out) both; }
@keyframes scxLabelIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: .85; } }
@keyframes scxLabelOut { from { transform: none; opacity: .85; } to { transform: translateY(-100%); opacity: 0; } }
.scx-link { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.7); transition: color .25s, gap .3s var(--ease-out); }
.scx-link:hover { color: var(--white); gap: 7px; }
.scx-link svg { width: 13px; height: 13px; }

.scx-stage { position: relative; height: 148px; }
.scx-slide { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.scx-slide.active { pointer-events: auto; visibility: visible; }
.scx-slide.leaving { visibility: visible; }
.scx-slide .a {
  opacity: 0; transform: translateY(12px) scale(.98); filter: blur(6px);
  transition: opacity .3s ease, transform .35s ease, filter .3s ease;
}
.scx-slide.active .a {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + 140ms);
}
.scx-slide.leaving .a { opacity: 0; transform: translateY(-10px) scale(.98); filter: blur(5px); transition-delay: 0s; }

/* Store */
.scx-product { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.94); color: var(--ink); }
.scx-product img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--ice); }
.scx-product > div { padding-right: 22px; min-width: 0; }
.scx-product h4 { font-family: var(--font-body); text-transform: none; font-size: .84rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scx-price { font-size: .82rem; font-weight: 700; color: var(--green-700); margin: 2px 0 8px; }
.scx-buy { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--green-700); color: #fff; font-size: .72rem; font-weight: 700; transition: background .4s, transform .2s; }
.scx-buy svg { width: 12px; height: 12px; }
.scx-product.added .scx-buy { background: #2f9a5a; }
.scx-cart { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); }
.scx-cart svg { width: 13px; height: 13px; }
.scx-cart b { position: absolute; top: -4px; right: -4px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--red); color: #fff; font-size: .55rem; display: grid; place-items: center; transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.scx-product.added .scx-cart b { transform: scale(1); }
.scx-cursor { position: absolute; width: 20px; height: 20px; left: 85%; top: 110%; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.scx-slide.active .scx-cursor { animation: scxCursor 2.8s var(--ease-out) .3s both; }
@keyframes scxCursor {
  0% { left: 85%; top: 110%; opacity: 0; }
  20% { opacity: 1; }
  52% { left: 47%; top: 52%; transform: scale(1); }
  58% { transform: scale(.8); }
  66% { transform: scale(1); }
  85% { left: 47%; top: 52%; opacity: 1; }
  100% { left: 55%; top: 70%; opacity: 0; }
}
.scx-slide.active .scx-buy { animation: scxPress 2.8s .3s both; }
@keyframes scxPress { 0%, 55% { transform: none; } 59% { transform: scale(.9); } 68%, 100% { transform: none; } }

/* MVPs */
.scx-rows { list-style: none; margin: 0; padding: 0; }
.scx-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.09); }
.scx-rows li:last-child { border-bottom: 0; }
.scx-rows span { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,239,221,.55); }
.scx-rows b { font-size: .88rem; font-weight: 600; color: var(--white); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Finals */
.scx-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scx-score { padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.scx-score small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); opacity: .7; margin-bottom: 2px; }
.scx-score p { margin: 0; display: flex; justify-content: space-between; gap: 6px; font-size: .76rem; font-weight: 600; line-height: 1.45; color: var(--white); }
.scx-score p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scx-score p b { font-variant-numeric: tabular-nums; }
.scx-score p.lose { color: rgba(255,255,255,.45); font-weight: 500; }

/* Gallery */
.scx-photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 148px; }
.scx-photos span { overflow: hidden; border-radius: 10px; }
.scx-photos span:first-child { grid-row: span 2; }
.scx-photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: scale(1.08); transform-origin: center 28%; transition: transform 6s linear; }
.scx-slide.active .scx-photos img { transform: scale(1); }

/* News */
.scx-news { display: grid; grid-template-columns: 1fr; gap: 10px; }
.scx-news img { width: 100%; height: 84px; object-fit: cover; object-position: center 35%; border-radius: 10px; }
.scx-news small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); opacity: .7; margin-bottom: 3px; }
.scx-news h4 { font-family: var(--font-body); text-transform: none; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--white); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (prefers-reduced-motion: reduce) { .scx-slide .a { filter: none !important; } }
/* Store slide is a plain link to the store (no pretend add-to-cart) */
a.scx-product { text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.scx-product:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); color: var(--ink); }
.scx-product > div { padding-right: 0; }
.scx-buy svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
a.scx-product:hover .scx-buy svg { transform: translateX(3px); }

/* Showcase v2.1: horizontal slide + blur, light sweep on every change, store cursor */
.scx-slide .a { transform: translateX(22px) scale(.98); }
.scx-slide.leaving .a { transform: translateX(-22px) scale(.98); }
.scx-slide.active .a { transform: none; }
.scx-sheen { position: absolute; inset: -6px; z-index: 3; pointer-events: none; overflow: hidden; border-radius: 12px; }
.scx-sheen::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(239,228,200,.22) 45%, rgba(255,255,255,.35) 50%, rgba(239,228,200,.22) 55%, transparent);
  transform: skewX(-18deg); opacity: 0;
}
.showcase.swap .scx-sheen::after { animation: scxSheen .9s cubic-bezier(.4,0,.2,1); }
@keyframes scxSheen { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
.showcase.swap .scx-bars i.on::before { animation: scxBarFlash .6s ease; }
@keyframes scxBarFlash { 0% { background: rgba(239,228,200,.6); } 100% { background: rgba(255,255,255,.18); } }

/* Store: cursor glides in and taps "Shop now" (just a highlight, nothing is added to the cart) */
.scx-slide.active .scx-cursor { animation: scxCursor2 2.6s var(--ease-out) .5s both; }
@keyframes scxCursor2 {
  0% { left: 88%; top: 112%; opacity: 0; }
  20% { opacity: 1; }
  55% { left: 46%; top: 58%; transform: scale(1); }
  62% { transform: scale(.8); }
  70% { transform: scale(1); }
  88% { left: 46%; top: 58%; opacity: 1; }
  100% { left: 52%; top: 72%; opacity: 0; }
}
.scx-slide.active .scx-buy { position: relative; animation: scxPress 2.6s .5s both; }
.scx-buy::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(239,228,200,.7); opacity: 0; }
.scx-slide.active .scx-buy::after { animation: scxRipple 2.6s .5s both; }
@keyframes scxRipple { 0%, 58% { box-shadow: 0 0 0 0 rgba(239,228,200,.7); opacity: 0; } 60% { opacity: 1; } 85%, 100% { box-shadow: 0 0 0 12px rgba(239,228,200,0); opacity: 0; } }

/* ---- One shared grid for the top of the home page ----
   Header, hero text, showcase card, season strip and slideshow dots all use the
   same left and right edges so everything lines up. */
@media (min-width: 1181px) {
  :root { --wide: 1560px; --wide-pad: clamp(24px, 3vw, 48px); }
  body[data-page="home"] .site-header .container,
  .hero > .container,
  .hero .season-strip .container {
    max-width: var(--wide);
    padding-left: var(--wide-pad);
    padding-right: var(--wide-pad);
  }
  .hero-dots { right: max(var(--wide-pad), calc((100vw - var(--wide)) / 2 + var(--wide-pad))); }
}
/* "New" tag on showcase labels for things added in the last 30 days */
.scx-new { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #e2621f; color: #fff; font-style: normal; font-size: .58rem; letter-spacing: .12em; vertical-align: 1px; animation: newPop .5s .4s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes newPop { from { transform: scale(0); } to { transform: none; } }

/* Scores slide: a scoreboard that flips to the next game every couple of seconds */
.scx-ticker { position: relative; height: 112px; perspective: 700px; }
.scx-game { position: absolute; inset: 0; opacity: 0; transform: rotateX(-70deg) translateY(14px); transform-origin: 50% 0; filter: blur(4px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.22,1,.36,1), filter .45s ease; }
.scx-game.on { opacity: 1; transform: none; filter: none; }
.scx-game.off { opacity: 0; transform: rotateX(60deg) translateY(-12px); transform-origin: 50% 100%; filter: blur(4px); }
.scx-board { height: 100%; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.scx-board-top { display: flex; justify-content: space-between; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); opacity: .75; margin-bottom: 2px; }
.scx-board-top span:last-child { color: #f08a4b; opacity: 1; }
.scx-board p { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.5); }
.scx-board p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scx-board p b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.scx-board p.win { color: var(--white); font-weight: 700; }
.scx-board p.win b { color: var(--cream); }
.scx-dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.scx-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); transition: width .4s cubic-bezier(.22,1,.36,1), background .3s; }
.scx-dots i.on { width: 16px; background: var(--cream); }

/* Gallery: tighter top spacing and a clean square grid that works for any number of photos */
.gallery-section { padding-top: clamp(32px, 4vw, 48px); }
.gallery-group + .gallery-group { margin-top: 48px; }
.gallery-group h3 { margin-bottom: 18px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.photo-grid figure { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--green-100); cursor: zoom-in; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.photo-grid figure:hover img { transform: scale(1.06); }
.photo-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(13,36,22,.55)); opacity: 0; transition: opacity .35s; }
.photo-grid figure:hover::after { opacity: 1; }
.photo-grid figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; color: #fff; font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.photo-grid figure:hover figcaption, .photo-grid figure:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-more { display: flex; margin: 24px auto 0; }
.gallery-more[hidden] { display: none; }
/* Camp Dovid logo in the middle of the page-swipe panel */
body::before, .page-wipe {
  background:
    url("/img/logo-cream.png") center / clamp(120px, 14vw, 170px) auto no-repeat,
    linear-gradient(180deg, var(--green-800), var(--green-900));
}

/* Registration open/closed (Camp Settings) */
.register-flag[hidden] { display: none; }
.reg-closed-msg { display: none; text-align: center; padding: 40px 10px; }
.reg-closed-msg p { color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }
html.reg-closed .reg-closed-msg { display: block; }
html.reg-closed .cognito-wrap .cognito, html.reg-closed .cognito-wrap .cog-cognito, html.reg-closed .cognito-wrap form { display: none !important; }

/* Footer link */
.footer-admin { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; opacity: .55; }
.footer-admin:hover { opacity: 1; text-decoration: underline; }
/* Whole slides in the home page card are clickable */
.scx-stage { cursor: pointer; }
.scx-stage .scx-slide.active { transition: transform .35s var(--ease, ease); }
.scx-stage:hover .scx-slide.active { transform: translateY(-2px); }

/* Camp Staff (About page) */
.staff-head { margin-bottom: clamp(32px, 5vw, 56px); }
.staff-feature { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .staff-feature { grid-template-columns: 1fr; } .staff-feature .staff-photo { max-width: 340px; } }
.staff-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--green-800); box-shadow: var(--shadow-lg); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 25%; transition: transform .8s var(--ease); }
.staff-feature:hover .staff-photo img, .staff-card:hover .staff-photo img { transform: scale(1.04); }
.staff-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; color: rgba(246,239,221,.3); background: linear-gradient(160deg, var(--green-700), var(--green-900)); }
.staff-text h3 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0 0 16px; }
.staff-bio p { color: var(--muted); font-size: 1.04rem; }
.staff-feature .staff-bio p:first-child { font-size: 1.15rem; color: var(--ink); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(18px, 2.5vw, 28px); margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.staff-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.staff-card .staff-photo { border-radius: 0; box-shadow: none; aspect-ratio: 1 / 1; }
.staff-card-body { padding: 18px 20px 20px; }
.staff-card h4 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; margin: 0; color: var(--green-900); line-height: 1.05; }
.staff-role { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin: 6px 0 10px; }
.staff-card .staff-bio p { font-size: .92rem; margin-bottom: .6em; }
.staff-bio.clamp { max-height: 6.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.staff-more { border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; font-weight: 700; color: var(--green-700); cursor: pointer; }
.staff-more:hover { text-decoration: underline; }
.nav > a, .nav-drop > button { white-space: nowrap; }

/* ==========================================================================
   Phone polish (iPhone-size screens)
   ========================================================================== */
/* Phone menu: Register button was invisible, logo was white-on-white */
@media (max-width: 1060px) {
  .nav .nav-cta { background: var(--green-700) !important; color: #fff !important; font-family: var(--font-body) !important; font-size: 1rem !important; text-transform: none !important; padding: 15px !important; border-radius: 999px; justify-content: center !important; }
  .nav-open .brand img { filter: none; }
  .nav-open .brand { color: var(--green-900); }
  .nav > a, .nav-drop > button { font-size: 1.65rem; padding: 13px 0; }
  .nav-drop .menu a { padding: 10px 4px; font-size: 1rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 36px 0; }
  h2 { font-size: 2.2rem; }
  .lead { font-size: 1.05rem; }
  .brand img { height: 40px; }
  .brand span { font-size: 1.3rem; }
  .cart-btn, .menu-toggle { width: 42px; height: 42px; }

  /* Home: readable text over any photo, tidy buttons */
  .hero::after {
    background: linear-gradient(180deg, rgba(13,36,22,.72) 0%, rgba(13,36,22,.55) 40%, rgba(13,36,22,.88) 100%);
  }
  .hero > .container { padding-top: calc(var(--header-h) + 28px); padding-bottom: 28px; }
  .hero h1 { font-size: 3.1rem; }
  .hero .lead { font-size: 1rem; line-height: 1.55; margin-bottom: 20px; color: rgba(255,255,255,.92); }
  .hero .btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .register-cta .btn, .hero .btn-row > .btn { width: 100%; justify-content: center; padding: 15px 20px; }
  .register-flag { margin: -12px 22px 0; }
  .hero-grid { gap: 22px; }
  .showcase { max-width: none; padding: 10px 12px 12px; }
  .scx-stage { height: 136px; }

  /* Season strip */
  .season-strip .container { gap: 12px 0; }
  .countdown { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 0 0; border-top: 1px solid rgba(239,228,200,.12); }
  .cd-main { flex-direction: row; align-items: center; gap: 12px; }
  .countdown-label { font-size: .7rem; }
  .faceoff { height: 64px; }

  /* Stats */
  .stat { padding: 20px 16px; }
  .stat b { font-size: 2.5rem; }
  .stat span { font-size: .8rem; line-height: 1.3; display: block; }

  /* Divisions: 2 × 2 */
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .division { min-height: 150px; padding: 18px 16px; border-radius: 14px; }
  .division h3 { font-size: 1.55rem; }
  .division .grade { font-size: .68rem; letter-spacing: .1em; }
  .division p { font-size: .8rem; margin-top: 6px; }
  .division .abbr { font-size: 5.5rem; bottom: -18px; }

  /* "Everything Camp Dovid" quick links: 2 × 2, compact */
  .card { padding: 18px 16px; border-radius: 14px; }
  .card .icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
  .card h3 { font-size: 1.3rem; }
  .card .fine { font-size: .8rem; line-height: 1.4; }

  /* Home news: swipe sideways instead of three tall cards */
  #homeNewsList.news-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  #homeNewsList.news-grid::-webkit-scrollbar { display: none; }
  #homeNewsList .news-card { flex: 0 0 82%; scroll-snap-align: start; }
  #homeNews .btn { padding: 10px 18px; font-size: .85rem; }

  /* Letter + CTA */
  .letter { padding: 24px 20px; }
  .letter p { font-size: 1rem; }
  .cta-band { padding: 30px 22px; border-radius: 20px; text-align: left; }
  .cta-band h2 { font-size: 2rem; }
  .cta-band .btn { width: 100%; }

  /* Inner page banners */
  .page-hero { padding: calc(var(--header-h) + 44px) 0 40px; }
  .page-hero h1 { font-size: 3rem; }

  /* Cards and lists */
  .news-body h3 { font-size: 1.3rem; }
  .award-year { padding: 32px 0; gap: 14px; }
  .award-year > h2 { font-size: 3rem; }
  .div-awards header { padding: 18px; }
  .div-awards .award-list { padding: 6px 18px 2px; }
  .all-star-title { margin: 8px 18px; }
  .chips { padding: 0 18px 18px; }
  .price-card .amount { font-size: 4.5rem; }
  .embed-shell iframe { height: 620px; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 10px 8px; font-size: .82rem; }
  .staff-text h3 { font-size: 2.2rem; }
  .footer-grid { gap: 28px; }
  .site-footer { padding: 52px 0 28px; }
}
@media (max-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .grid-3 .card p { font-size: .82rem; line-height: 1.45; } }
@media (max-width: 640px) { #homeNewsList.news-grid { scroll-padding: 0 var(--gutter); } }
@media (max-width: 640px) { .page-hero .btn-row { gap: 8px; flex-wrap: nowrap; } .page-hero .btn-row .btn--sm { padding: 8px 13px; font-size: .8rem; } }
@media (max-width: 640px) { .award-list li { font-size: .86rem; padding: 9px 0; } .mvp strong { font-size: 1.35rem; } }
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product { border-radius: 14px; }
  .product-body { padding: 12px 12px 14px; gap: 6px; }
  .product-body h3 { font-size: 1.05rem; line-height: 1.15; }
  .product-price { font-size: .9rem; }
  .product .desc { display: none; }
  .product .btn { padding: 10px 8px; font-size: .8rem; }
  .product select { padding: 8px; font-size: .8rem; }
}
@media (max-width: 640px) { .staff-feature .staff-photo { aspect-ratio: 1 / 1; max-width: none; } .staff-feature { gap: 22px; } }
@media (max-width: 640px) { .newsletter input, .field input, .field textarea { font-size: 16px; } }

/* ==========================================================================
   Gallery albums
   ========================================================================== */
.gallery-section { scroll-margin-top: calc(var(--header-h) - 20px); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.5vw, 26px); }
.album-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
/* cover: 1 big photo + up to 3 small ones */
.album-cover { display: grid; gap: 3px; aspect-ratio: 4 / 3; background: var(--green-100); grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); min-height: 0; }
.album-cover img:first-child { grid-row: 1 / -1; }
.album-cover.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.album-cover.n2 { grid-template-rows: 1fr; }
.album-cover.n3 { grid-template-rows: repeat(2, 1fr); }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.album-meta h3 { font-size: 1.6rem; margin: 0 0 2px; }
.album-meta span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.album-meta i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); transition: background .3s, color .3s, transform .3s var(--ease); }
.album-meta i svg { width: 18px; height: 18px; }
.album-card:hover .album-meta i { background: var(--green-700); color: #fff; transform: translateX(3px); }

.album-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 22px; }
.album-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.album-head > span { color: var(--muted); font-weight: 500; }
.album-back { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--green-700); margin-bottom: 4px; }
.album-back svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.album-back:hover svg { transform: translateX(-3px); }
.album-others { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.album-others h4 { font-size: 1.2rem; letter-spacing: .04em; margin-bottom: 14px; }
.album-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.album-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; transition: border-color .2s, box-shadow .2s; }
.album-chips a:hover { border-color: var(--green-500); box-shadow: var(--shadow); color: var(--ink); }
.album-chips img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.album-chips small { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) {
  .album-grid { grid-template-columns: 1fr; gap: 14px; }
  .album-cover { aspect-ratio: 16 / 10; }
  .album-meta { padding: 12px 14px 14px; }
  .album-meta h3 { font-size: 1.35rem; }
}

/* ==========================================================================
   Shorter page banners (every page except home) so content shows sooner
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin-bottom: .12em; }
.page-hero .lead { font-size: clamp(.98rem, 1.3vw, 1.1rem); margin-bottom: 0; }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero .btn-row { margin-top: 16px !important; }
.page-hero + .section, .page-hero + .section--white { padding-top: clamp(36px, 5vw, 64px); }
@media (max-width: 640px) {
  .page-hero { padding: calc(var(--header-h) + 22px) 0 24px; }
  .page-hero h1 { font-size: 2.4rem; }
  .page-hero .lead { font-size: .95rem; line-height: 1.5; }
  .page-hero + .section, .page-hero + .section--white { padding-top: 32px; }
}
.photo-grid figure { aspect-ratio: 4 / 3; } .photo-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Staff bio pop-up: floats over a blurred page */
.staff-card.has-bio { cursor: pointer; }
.staff-card .staff-more { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--green-700); }
.staff-card .staff-more::after { content: "→"; transition: transform .3s var(--ease); }
.staff-card.has-bio:hover .staff-more::after { transform: translateX(3px); }
.staff-card:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }
html.bio-open { overflow: hidden; }
.bio-modal {
  position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 24px;
  background: rgba(10, 26, 16, .38);
  backdrop-filter: blur(12px) saturate(120%); -webkit-backdrop-filter: blur(12px) saturate(120%);
  animation: bioFade .3s ease both;
}
.bio-modal.closing { animation: bioFadeOut .25s ease both; }
.bio-modal.closing .bio-card { animation: bioOut .25s ease both; }
@keyframes bioFade { from { opacity: 0; } }
@keyframes bioFadeOut { to { opacity: 0; } }
.bio-card {
  position: relative; width: min(820px, 100%); max-height: min(88vh, 720px); display: grid; grid-template-columns: 300px 1fr;
  background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.35);
  animation: bioIn .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes bioIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes bioOut { to { opacity: 0; transform: translateY(12px) scale(.98); } }
.bio-photo { position: relative; background: var(--green-800); min-height: 100%; }
.bio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 25%; }
.bio-photo .staff-ph { font-size: 5rem; }
.bio-text { padding: 36px 36px 32px; overflow-y: auto; }
.bio-text .eyebrow { margin-bottom: 8px; }
.bio-text h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 14px; }
.bio-text .staff-bio p { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.bio-text .staff-bio p:first-child { color: var(--ink); font-size: 1.06rem; }
.bio-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: transform .25s var(--ease), background .2s;
}
.bio-close:hover { transform: rotate(90deg); background: #fff; }
.bio-close svg { width: 18px; height: 18px; }
@media (max-width: 680px) {
  .bio-modal { padding: 0; place-items: end center; }
  .bio-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: 90vh; border-radius: 22px 22px 0 0; animation-name: bioUp; }
  .bio-modal.closing .bio-card { animation-name: bioDown; }
  @keyframes bioUp { from { transform: translateY(100%); } }
  @keyframes bioDown { to { transform: translateY(100%); } }
  .bio-photo { min-height: 0; height: 220px; }
  .bio-text { padding: 22px 20px 30px; }
  .bio-text h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .bio-modal, .bio-card { animation: none !important; } }

/* Bio card v2: square photo beside the name, bio underneath (photo never stretches) */
.bio-card { display: block; width: min(680px, 100%); max-height: min(86vh, 760px); }
.bio-scroll { max-height: inherit; overflow-y: auto; padding: 34px 36px 32px; }
.bio-head { display: grid; grid-template-columns: 148px 1fr; gap: 24px; align-items: center; margin-bottom: 22px; padding-right: 36px; }
.bio-head .bio-photo { position: relative; width: 148px; height: 148px; min-height: 0; border-radius: 18px; overflow: hidden; background: var(--green-800); box-shadow: 0 10px 26px rgba(13,36,22,.18); }
.bio-head .bio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bio-head .bio-photo .staff-ph { font-size: 3rem; }
.bio-head .eyebrow { margin-bottom: 6px; }
.bio-head h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; line-height: 1; }
.bio-body { border-top: 1px solid var(--line); padding-top: 20px; }
.bio-body p { font-size: 1rem; line-height: 1.7; color: #3f4d45; }
.bio-body p:first-child { color: var(--ink); font-size: 1.06rem; }
@media (max-width: 680px) {
  .bio-card { max-height: 88vh; }
  .bio-scroll { padding: 26px 20px 30px; }
  .bio-head { grid-template-columns: 96px 1fr; gap: 16px; margin-bottom: 18px; padding-right: 30px; }
  .bio-head .bio-photo { width: 96px; height: 96px; border-radius: 14px; }
  .bio-head h3 { font-size: 1.8rem; }
}

/* ==========================================================================
   Remembering Rabbi Dovid Beitler
   ========================================================================== */
.mem-hero { position: relative; display: flex; align-items: center; overflow: hidden; color: var(--cream-200);
  background: radial-gradient(ellipse 70% 120% at 50% 0%, #1d4a2c 0%, rgba(29,74,44,0) 70%), linear-gradient(180deg, var(--green-800), #0b1a11); }
.mem-hero::before { content: ""; position: absolute; inset: 0; background: url("/img/logo-cream.png") center 58% / clamp(220px, 26vw, 340px) auto no-repeat; opacity: .045; }
.mem-hero-inner { position: relative; z-index: 1; width: 100%; text-align: center; padding-top: calc(var(--header-h) + clamp(36px, 5vw, 56px)); padding-bottom: clamp(40px, 5vw, 60px); }
.mem-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); opacity: .85; margin-bottom: 14px; }
.mem-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-bottom: 12px; }
.mem-zl { font-family: "Cormorant Garamond", Georgia, serif; text-transform: none; font-weight: 500; font-style: italic; font-size: .5em; color: var(--cream); vertical-align: .35em; letter-spacing: 0; }
.mem-sub { font-size: clamp(.95rem, 1.4vw, 1.1rem); color: rgba(246,239,221,.8); letter-spacing: .06em; margin: 0; }

/* photos on the left (they stay in view while you read), tribute on the right */
.mem-main { padding-top: clamp(40px, 6vw, 72px); }
.mem-layout { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; max-width: 1180px; }
.mem-photos { position: sticky; top: calc(var(--header-h) + 24px); }
.mem-tribute { max-width: 640px; }
.mem-layout .mem-opening { text-align: left; margin-left: 0; }
.mem-opening { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.3; font-weight: 500; font-style: italic; color: var(--green-900); text-align: center; margin: 0 auto clamp(30px, 5vw, 48px); max-width: 30ch; }
.mem-text p { font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.85; color: #33413a; margin-bottom: 1.15em; }
.mem-quote { margin: clamp(28px, 5vw, 48px) 0; padding: 0; text-align: center; position: relative; }
.mem-quote::before, .mem-quote::after { content: ""; display: block; width: 60px; height: 1px; background: var(--green-500); opacity: .5; margin: 0 auto; }
.mem-quote p { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-style: italic; font-weight: 600; color: var(--green-700); line-height: 1.25; margin: 20px auto; max-width: 22ch; }
.mem-closing { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.8rem); text-align: center; color: var(--green-800); margin: clamp(30px, 5vw, 44px) 0 0; }
.mem-closing::before { content: ""; display: block; width: 40px; height: 1px; background: var(--green-500); opacity: .5; margin: 0 auto 18px; }

/* photo slideshow */
.mem-photos-wrap { background: var(--cream-200); }
.mem-show { position: relative; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0b1a11; box-shadow: var(--shadow-lg); }
.mem-stage, .mem-stage figure { position: absolute; inset: 0; margin: 0; }
.mem-stage { cursor: zoom-in; }
.mem-stage figure { opacity: 0; transition: opacity 1.2s ease; }
.mem-stage figure.on { opacity: 1; }
.mem-stage img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.mem-stage img.blur { position: absolute; inset: 0; object-fit: cover; filter: blur(22px) brightness(.55); transform: scale(1.15); }
.mem-stage figure.on img:not(.blur) { animation: memZoom 8s ease-out both; }
@keyframes memZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.mem-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.88); color: var(--green-900); box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.mem-nav svg { width: 20px; height: 20px; }
.mem-nav.prev { left: 16px; } .mem-nav.next { right: 16px; }
.mem-show:hover .mem-nav { opacity: 1; }
.mem-nav:hover { transform: translateY(-50%) scale(1.06); }
.mem-show.single .mem-nav, .mem-show.single .mem-progress { display: none; }
.mem-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 22px 18px; color: #fff; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.mem-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255,255,255,.15); }
.mem-progress i { display: block; height: 100%; background: var(--cream); transform-origin: left; animation: memBar 6s linear forwards; }
.mem-show.paused .mem-progress i { animation-play-state: paused; }
@keyframes memBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mem-count { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.mem-count:empty { display: none; }
.mem-thumbs { display: flex; gap: 6px; margin: 14px auto 0; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.mem-thumbs::-webkit-scrollbar { display: none; }
.mem-thumbs button { flex: none; width: 54px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .55; background: var(--green-100); transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.mem-thumbs button:hover { opacity: .9; }
.mem-thumbs button.on { opacity: 1; border-color: var(--green-700); transform: translateY(-2px); }
.mem-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mem-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: rgba(246,239,221,.6); font-size: .95rem; }
.mem-placeholder img { width: 120px; opacity: .5; }

/* award */
.mem-award-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.mem-award-head .lead { margin-left: auto; margin-right: auto; }
#memWinners { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.mem-year { border: 1px solid rgba(239,228,200,.16); border-radius: 18px; padding: 22px 24px; background: rgba(255,255,255,.04); }
.mem-year h3 { color: var(--cream); font-size: 2.2rem; margin-bottom: 10px; }
.mem-year ul { list-style: none; margin: 0; padding: 0; }
.mem-year li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(239,228,200,.1); font-size: .95rem; }
.mem-year li:last-child { border-bottom: 0; }
.mem-year li span { color: rgba(246,239,221,.6); }
.mem-year li b { color: #fff; font-weight: 600; text-align: right; }

@media (max-width: 900px) {
  .mem-layout { grid-template-columns: minmax(0, 1fr); }
  .mem-photos { position: static; width: 100%; max-width: 520px; margin: 0 auto; }
  .mem-tribute { margin: 0 auto; }
}
@media (max-width: 640px) {
  .mem-hero-inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 32px; }
  .mem-show { aspect-ratio: 1 / 1; border-radius: 16px; }
  .mem-nav { opacity: 1; width: 38px; height: 38px; }
  .mem-nav.prev { left: 10px; } .mem-nav.next { right: 10px; }
  .mem-thumbs button { width: 46px; height: 46px; }
  .mem-text p { line-height: 1.75; }
}

/* Memorial band (home page bottom) and link card (About page) */
.mem-band { background: #0b1a11; padding: clamp(36px, 6vw, 64px) 0; border-top: 1px solid rgba(239,228,200,.08); }
.mem-band-inner { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: clamp(18px, 3vw, 32px); color: var(--cream-200); }
.mem-band-inner:hover { color: var(--cream-200); }
.mem-band-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--green-800); border: 2px solid rgba(239,228,200,.25); box-shadow: 0 0 0 6px rgba(239,228,200,.05); }
.mem-band-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.mem-band-photo img.logo { width: 70%; height: auto; object-fit: contain; opacity: .7; filter: none; }
.mem-band-text { display: flex; flex-direction: column; gap: 4px; }
.mem-band-text .mem-eyebrow { margin: 0; font-size: .7rem; }
.mem-band-text strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1; }
.mem-band-sub { font-size: .95rem; color: rgba(246,239,221,.7); max-width: 52ch; }
.mem-band-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(239,228,200,.35); font-weight: 600; font-size: .9rem; color: var(--cream); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.mem-band-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mem-band-inner:hover .mem-band-cta { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.mem-band-inner:hover .mem-band-cta svg { transform: translateX(3px); }
@media (max-width: 760px) {
  .mem-band-inner { grid-template-columns: 84px 1fr; }
  .mem-band-photo { width: 84px; height: 84px; }
  .mem-band-cta { grid-column: 1 / -1; justify-content: center; }
}
.mem-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: #0b1a11; color: var(--cream-200); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mem-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--cream-200); }
.mem-link-text { display: flex; flex-direction: column; gap: 4px; }
.mem-link .eyebrow { color: var(--cream); margin: 0; }
.mem-link strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: #fff; line-height: 1.05; }
.mem-link-text > span:last-child { color: rgba(246,239,221,.7); font-size: .95rem; }
.mem-link i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(239,228,200,.35); color: var(--cream); transition: background .3s, color .3s; }
.mem-link i svg { width: 18px; height: 18px; }
.mem-link:hover i { background: var(--cream); color: var(--green-900); }

/* ==========================================================================
   Home on phones: just the essentials over the photo; the swipeable
   showcase and season info sit below it on solid green
   ========================================================================== */
.hero-short { display: none; }
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; --photo-h: 74svh; }
  .hero-media, .hero::after { bottom: auto; height: var(--photo-h); }
  .hero-media { overflow: hidden; }
  .hero::after { background: linear-gradient(180deg, rgba(13,36,22,.55) 0%, rgba(13,36,22,.12) 38%, rgba(13,36,22,.85) 82%, var(--green-900) 100%); }
  .hero > .container { padding-bottom: 22px; }
  .hero-grid { gap: 0; }
  .hero-copy { min-height: calc(var(--photo-h) - var(--header-h) - 28px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 26px; }
  .hero .lead { display: none; }
  .hero-short { display: block; margin: 2px 0 18px; font-size: 1rem; font-weight: 600; letter-spacing: .02em; color: var(--cream-200); }
  .hero .btn-row { flex-direction: row; align-items: flex-start; gap: 18px; flex-wrap: nowrap; }
  .register-cta .btn { width: auto; padding: 14px 22px; }
  .hero .btn-row > .btn--ghost-light { width: auto; padding: 14px 2px; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
  /* the tag sits on the button's corner like a sticker */
  .register-cta { position: relative; }
  .register-flag { position: absolute; z-index: 2; top: -11px; right: -10px; margin: 0; padding: 4px 9px; gap: 5px; border-radius: 999px;
    font-size: .58rem; letter-spacing: .07em; border: 2px solid var(--green-900); box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transform: rotate(4deg); transform-origin: center; animation: flagPop .6s 1s cubic-bezier(.34,1.56,.64,1) both; }
  .register-flag i { width: 5px; height: 5px; }
  @keyframes flagPop { from { transform: rotate(4deg) scale(0); opacity: 0; } to { transform: rotate(4deg) scale(1); opacity: 1; } }
  .showcase { margin-top: 2px; background: rgba(255,255,255,.05); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero .season-strip { background: transparent; border-top: 1px solid rgba(239,228,200,.1); }
}
