/* Lifestyle Club — global stylesheet (light, vibrant) */

:root {
  /* Base palette (re-using legacy names so inline var() references still work) */
  --bg: #FAFAFA;             /* page background (soft white) */
  --surface: #FFFFFF;        /* cards / elevated surfaces */
  --charcoal: #F1F6FA;       /* alt section background (soft tinted) */
  --charcoal-2: #E9F3F9;     /* deeper section tint */
  --line: #E2E7EC;           /* subtle dividers */
  --line-strong: #C9D2D9;

  --ink: #1D242B;            /* primary text, headings */
  --ink-soft: #2A323A;
  --mute: #5b6470;           /* body copy */
  --mute-2: #8a939d;         /* eyebrows, captions */

  --blue: #0077C0;           /* electric blue accent */
  --blue-dark: #005a91;
  --blue-soft: #C7EEFF;      /* soft blue washes / pops of life */

  --white: #FFFFFF;
  --black: #0a0a0a;          /* preserved for lightbox */

  --fg: var(--ink);

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;

  --f-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);

  --shadow-sm: 0 1px 2px rgba(29,36,43,.04), 0 4px 12px rgba(29,36,43,.04);
  --shadow-md: 0 4px 14px rgba(29,36,43,.06), 0 14px 40px rgba(29,36,43,.08);
  --shadow-lg: 0 20px 60px rgba(0,119,192,.12), 0 8px 24px rgba(29,36,43,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 320px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--blue); color: var(--white); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 .4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
p { margin: 0 0 1em; color: var(--mute); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--mute); max-width: 64ch; }

.accent { color: var(--blue); }
.italic { font-style: italic; font-weight: 300; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.section-head .copy { max-width: 56ch; }
.section-head .link { color: var(--ink); border-bottom: 2px solid var(--blue); padding-bottom: 2px; font-weight: 600; transition: color .25s var(--ease); }
.section-head .link:hover { color: var(--blue); }
.section-head .visual { flex: 0 0 clamp(260px, 35%, 420px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.section-head .visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  padding: .75rem var(--pad);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; color: var(--ink); flex-shrink: 0; max-width: 50%; }
.brand img {
  height: 140px; width: auto; max-width: 100%; object-fit: contain;
  transition: height .35s var(--ease);
}
.site-header.scrolled .brand img { height: 50.4px; }
.brand-text { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--ink); }
.brand-text span { color: var(--blue); }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--mute); transition: color .25s var(--ease);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue); border-radius: 1px;
}

.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--ink);
  width: 38px; height: 38px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: .3s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Tablet & below: switch to hamburger menu and shrink the logo */
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
  }
  .brand {
    position: relative;
    z-index: 60;
  }
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: var(--bg);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1.4rem;
    padding: 1.5rem;
    transform: translateY(-100%); transition: transform .45s var(--ease);
    z-index: 55;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    visibility: hidden;
  }
  .nav.open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav a { font-size: 1.2rem; color: var(--ink); }
  .brand img { height: 100px; }
  .site-header.scrolled .brand img { height: 44px; }
  .site-header { padding: .85rem var(--pad); }
  .site-header.scrolled { padding: .6rem var(--pad); }

  /* Body scroll lock while menu is open (JS toggles this class) */
  body.nav-open { overflow: hidden; }
}

/* On short landscape mobile, compress items so all 7 fit without internal scroll */
@media (max-width: 1024px) and (max-height: 480px) {
  .nav { gap: .8rem; padding: 1rem; }
  .nav a { font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.6rem;
  border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 8px 24px -8px rgba(0,119,192,.55); }
.btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 14px 30px -10px rgba(0,119,192,.65); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #EDF0F4;            /* light panel */
  /* big organic shape that bleeds off the top-left corner.
     small top offset keeps the mountains on-screen under the logo;
     bigger left offset lets it run hard off the left edge. */
  --circle: clamp(560px, 96vh, 1180px);
  --off-top: calc(var(--circle) * -0.10);
  --off-left: calc(var(--circle) * -0.27);
}

/* Members photo as a large organic shape protruding off the top-left corner */
.hero-visual {
  position: absolute; top: var(--off-top); left: var(--off-left);
  width: var(--circle); height: var(--circle);
  /* irregular, slightly asymmetric circumference */
  border-radius: 46% 54% 57% 43% / 53% 44% 56% 47%;
  overflow: hidden; z-index: 1;
  box-shadow: 0 40px 90px -30px rgba(17,35,63,.5);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 50%; display: block; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(13,22,40,.14), rgba(13,22,40,0) 45%, rgba(13,22,40,.30));
}

/* Right content column */
.hero-content {
  position: relative; z-index: 2;
  margin-left: auto; width: 48%;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 0;
  padding: clamp(5rem, 9vh, 7rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vh, 4.5rem) clamp(2rem, 4vw, 4rem);
}
.hero-content .eyebrow {
  color: var(--ink); font-weight: 700; font-size: .8rem;
  letter-spacing: .28em; text-transform: uppercase;
}
.hero h1 {
  margin: 1.2rem 0 0; color: #11233f;
  font-family: "Anton", var(--f-display);
  font-weight: 400; letter-spacing: .01em; line-height: .9;
  text-transform: uppercase;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
}
.hero h1 .accent { display: block; color: #11233f; font-weight: 400; font-style: normal; }
.hero-rule { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--ink); margin: 1.8rem 0; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn.primary {
  background: var(--ink); border-color: var(--ink); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(17,35,63,.5);
}
.hero-actions .btn.primary:hover { background: #000; border-color: #000; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.hero-actions .btn.line { border-color: var(--ink); color: var(--ink); }
.hero-actions .btn.line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* scroll cue + watermark */
.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 52%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  text-decoration: none; color: var(--mute-2);
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
}
.scroll-cue svg { width: 20px; height: 20px; color: var(--ink); animation: cueBounce 1.8s var(--ease) infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero-watermark {
  position: absolute; right: 1.5rem; bottom: -.5rem; z-index: 1; pointer-events: none; user-select: none;
  font-family: "Anton", var(--f-display);
  font-size: 22vh; font-weight: 400; line-height: .8; letter-spacing: -.02em;
  color: rgba(17,35,63,.05);
}

/* Stacked layout on tablet / mobile: centred organic shape on top, copy below */
@media (max-width: 900px) {
  .hero { flex-direction: column; --circle: clamp(240px, 42vh, 400px); }
  .hero-visual {
    position: relative; top: auto; left: auto;
    margin: clamp(5.5rem, 16vw, 7rem) auto 0;
  }
  .hero-watermark { display: none; }
  .hero-content {
    width: 100%; min-height: 0;
    align-items: center; text-align: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 6vw, 2.5rem) var(--pad) clamp(3rem, 9vw, 4rem);
  }
  .hero-rule { margin-inline: auto; }
}

/* ---------- Feature blocks ---------- */
.featured-story {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.featured-story .visual {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal);
  position: relative;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.featured-story .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.featured-story:hover .visual img { transform: scale(1.04); }
@media (max-width: 820px) { .featured-story { grid-template-columns: 1fr; } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stats .stat {
  padding: 2rem 1.4rem;
  border-right: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.stats .stat:last-child { border-right: 0; }
.stats .stat:hover { background: var(--blue-soft); }
.stats .value { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stats .label { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute-2); margin-top: .4rem; font-weight: 600; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(2) { border-right: 0; }
  .stats .stat:nth-child(1), .stats .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-soft); }
.card .visual {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal-2);
}
.card .visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .visual img { transform: scale(1.06); }
.card .body { padding: 1.4rem 1.4rem 1rem; }
.card .meta { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; font-weight: 700; }
.card h3 { font-size: 1.25rem; margin-bottom: .3rem; color: var(--ink); }
.card p { font-size: .92rem; color: var(--mute); margin: 0; }
.card .footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 1.4rem 1.4rem; font-size: .78rem; color: var(--mute-2);
}
.card .footer .link { color: var(--ink); border-bottom: 2px solid var(--blue); padding-bottom: 2px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.tile {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--charcoal);
  cursor: zoom-in;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile:nth-child(7n+1) { aspect-ratio: 1 / 1.25; }
.tile:nth-child(5n+3) { aspect-ratio: 1 / 1.05; }
.tile img, .tile video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .6s var(--ease);
}
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface); color: var(--ink);
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  padding: .4rem .7rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.tile .play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.tile .play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,119,192,.4);
}
.tile .play span::before {
  content: ""; border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 3px;
}

.filters {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.filters button {
  background: var(--surface); color: var(--mute); border: 1px solid var(--line);
  padding: .55rem 1.1rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button.active { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 6px 16px -6px rgba(0,119,192,.55); }

/* ---------- Lightbox (kept dark for media viewing) ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,10,.96);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: var(--pad);
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video {
  max-width: 100%; max-height: 86vh; object-fit: contain;
}
.lightbox .close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--white);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.4rem;
}
.lightbox .close:hover { background: rgba(255,255,255,.1); }
.lightbox .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--white);
  width: 52px; height: 52px; border-radius: 50%;
}
.lightbox .nav-btn:hover { background: rgba(255,255,255,.1); }
.lightbox .nav-btn.prev { left: 1.2rem; }
.lightbox .nav-btn.next { right: 1.2rem; }
.lightbox .caption {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: .85rem; text-align: center;
}

/* ---------- Sponsors ---------- */
.sponsors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 880px) { .sponsors-grid { grid-template-columns: repeat(2, 1fr); } }
.sponsor-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  min-height: 220px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.sponsor-cell:hover { background: var(--blue-soft); border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sponsor-cell .logo {
  height: 60px; display: flex; align-items: center;
  filter: grayscale(1) opacity(.55);
  transition: filter .5s var(--ease);
}
.sponsor-cell:hover .logo { filter: none; }
.sponsor-cell .logo img { max-height: 100%; max-width: 160px; }
.sponsor-cell .logo .placeholder {
  font-weight: 800; letter-spacing: .04em; font-size: 1.3rem; color: var(--ink);
}
.sponsor-cell .tier {
  font-size: .65rem; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); font-weight: 700;
}
.sponsor-cell h3 { font-size: 1.1rem; margin: 0; }
.sponsor-cell p { font-size: .88rem; margin: 0; color: var(--mute); }

/* ---------- Community Highlights ---------- */
.highlights-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px;
}
@media (max-width: 880px) { .highlights-row { grid-template-columns: 1fr 1fr; } }
.highlights-row .tile { cursor: default; }
.highlights-row .tile h3 {
  position: absolute; left: 1.2rem; bottom: 1rem; right: 1.2rem;
  font-size: 1.2rem; z-index: 2; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.highlights-row .tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(29,36,43,.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.newsletter .inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative;
}
@media (max-width: 820px) { .newsletter .inner { grid-template-columns: 1fr; } }
.newsletter h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--ink); }
.newsletter p { color: var(--mute); }
.newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1; min-width: 220px;
  background: var(--surface); border: 1.5px solid var(--surface);
  color: var(--ink); padding: 1rem 1.2rem; font-size: .95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.newsletter input[type="email"]:focus { outline: none; border-color: var(--blue); }
.newsletter .status { margin-top: .8rem; font-size: .85rem; color: var(--blue-dark); min-height: 1.2em; font-weight: 600; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-2); font-weight: 700; }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
  padding: .95rem 1rem; font: inherit; font-size: .95rem;
  border-radius: 8px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(199,238,255,.6);
}

/* ---------- About / story ---------- */
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }
.story-block {
  background: var(--surface);
  border: 1px solid var(--line); padding: 2rem;
  border-radius: 12px;
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.story-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }
.story-block h3 { font-size: 1.2rem; }
.story-block p { font-size: .92rem; margin: 0; }

.about-banner {
  position: relative;
  /* fixed height so going full-width makes it wider, not taller */
  height: clamp(360px, 50vh, 520px);
  overflow: hidden; background: var(--charcoal); margin-bottom: 4rem;
  /* full-bleed: span the whole viewport width, edge to edge */
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
}
.about-banner img { width: 100%; height: 100%; object-fit: cover; }
/* full-height black block, hugging the text width */
.about-banner h1 {
  position: absolute; top: 0; bottom: 0; left: 50%;
  margin: 0; width: fit-content;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  padding: 0 .5em;                         /* protrudes a little past the sides of the text */
  transform: translateX(-50%);
  z-index: 2;
}
.about-banner h1 .ttl {
  display: block; text-align: center; color: #0a0a0a;
  font-family: "Anton", var(--f-display);
  font-weight: 400; text-transform: uppercase;
  line-height: .85; letter-spacing: .02em;
  font-size: clamp(2.6rem, 7vw, 6rem);
  -webkit-text-stroke: 1.5px #0a0a0a;      /* a bit thicker */
  transform: scaleY(1.3); transform-origin: center;
}
/* let the full stop hang to the side so the "C" aligns with the letters above */
.about-banner h1 .dot { margin-right: -.42em; }

/* ---------- Social cards ---------- */
.social-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
}
@media (max-width: 720px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2.4rem; min-height: 280px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.social-card::before {
  content: ""; position: absolute; right: -30%; top: -30%; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(199,238,255,.6) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
.social-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-card:hover::before { opacity: 1; }
.social-card .platform { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.social-card .handle { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-top: .8rem; color: var(--ink); }
.social-card .footer-row {
  display: flex; justify-content: space-between; align-items: center; margin-top: 2rem;
  position: relative;
}
.social-card .placeholders {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2rem;
}
.social-card .placeholders div {
  aspect-ratio: 1 / 1; background: var(--charcoal); border-radius: 6px;
}

/* ---------- Contact cards ---------- */
.contact-cards .social-card .handle { font-size: clamp(.8rem, 1.5vw, 1.3rem); }
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2.4rem;
}
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-2); border-radius: 12px;
  margin-bottom: 1.4rem; color: var(--blue);
}
.contact-icon svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black); padding: 4rem 0 2rem;
  color: #cfd5dc;
}
.site-footer .top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 820px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.site-footer a { color: #cfd5dc; transition: color .25s var(--ease); font-size: .92rem; }
.site-footer a:hover { color: var(--blue-soft); }
.site-footer p { color: rgba(255,255,255,.65); }
.site-footer .brand-col img { height: 56px; margin-bottom: 1rem; }
.site-footer .brand-col p { max-width: 38ch; font-size: .92rem; }
.site-footer .bottom {
  padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.site-footer .bottom .slogan { color: var(--blue-soft); font-style: italic; font-weight: 300; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); width: 100%; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: var(--pad);
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-soft) 100%);
}
.notfound .big {
  font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.04em;
}

/* ---------- Admin ---------- */
.admin-shell {
  display: grid; grid-template-columns: 240px 1fr; min-height: 100svh;
  background: var(--bg);
}
.admin-side {
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 2rem 1.4rem;
}
.admin-side h2 { font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2rem; color: var(--ink); }
.admin-side nav { display: flex; flex-direction: column; gap: .3rem; }
.admin-side nav button {
  text-align: left; background: transparent; border: 0; color: var(--mute);
  padding: .7rem .9rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.admin-side nav button:hover { color: var(--ink); background: var(--charcoal); }
.admin-side nav button.active { color: var(--white); background: var(--blue); }
.admin-main { padding: 2.5rem clamp(1.4rem, 3vw, 2.5rem); }
.admin-main h1 { font-size: 1.8rem; margin-bottom: .4rem; color: var(--ink); }
.admin-main .hint { color: var(--mute); font-size: .9rem; margin-bottom: 2rem; }
.admin-card {
  background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; margin-bottom: 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.admin-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 720px) { .admin-shell { grid-template-columns: 1fr; } .admin-row { grid-template-columns: 1fr; } }
.admin-actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.admin-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.admin-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: center;
  padding: .8rem; background: var(--charcoal); border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.admin-item .meta-text { font-size: .85rem; color: var(--mute); }
.admin-item .meta-text strong { color: var(--ink); display: block; font-size: .95rem; }
.admin-item button {
  background: var(--surface); border: 1px solid var(--line); color: var(--mute);
  padding: .4rem .8rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  border-radius: 6px;
}
.admin-item button:hover { border-color: var(--blue); color: var(--blue); }

.login-shell {
  min-height: 100svh; display: grid; place-items: center; padding: var(--pad);
  background: linear-gradient(135deg, var(--bg) 0%, var(--blue-soft) 100%);
}
.login-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2.4rem; width: min(420px, 100%);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.login-card h1 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.login-card .brand img { height: 36px; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 720px) {
  .brand img { height: 70px; }
  .site-header.scrolled .brand img { height: 40px; }
  .site-header { padding: .8rem var(--pad); }
  .site-header.scrolled { padding: .55rem var(--pad); }

  section { padding: clamp(3rem, 12vw, 5rem) 0; }
  .section-head { margin-bottom: 2rem; gap: 1rem; }

  .hero .hero-logo { width: min(104vh, 150vw); }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero .sub { font-size: 1rem; margin: 1rem 0 1.6rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn { padding: .8rem 1.2rem; font-size: .72rem; letter-spacing: .18em; }

  /* Page hero sections (about / gallery / events / etc.) start below the fixed header.
     Exclude .hero (home) so its 100svh layout isn't pushed below the fold.
     !important to win over the inline padding-top: 8rem set on those sections. */
  main > section:first-child:not(.hero) { padding-top: 6rem !important; }

  .about-banner { aspect-ratio: 3 / 4; height: auto; margin-bottom: 2.5rem; }
  .about-banner h1 { left: 50%; top: 0; bottom: 0; transform: translateX(-50%); }
  .about-banner h1 .ttl { font-size: clamp(2rem, 9vw, 3rem); transform: scaleY(1.22); }

  .stats { margin-top: 2.5rem; }
  .stats .stat { padding: 1.4rem 1rem; }
  .stats .value { font-size: 1.6rem; }
  .stats .label { font-size: .62rem; letter-spacing: .22em; }

  .featured-story { gap: 2rem; }
  .featured-story .visual { aspect-ratio: 4 / 5; max-height: 70vh; }

  .cards { gap: 1rem; }
  .card .body { padding: 1.1rem 1.1rem .8rem; }
  .card .footer { padding: 0 1.1rem 1.1rem; }

  .gallery-grid { gap: 8px; }

  .filters { gap: .4rem; margin-bottom: 1.4rem; }
  .filters button { padding: .45rem .8rem; font-size: .65rem; letter-spacing: .18em; }

  .newsletter { padding: clamp(2.5rem, 8vw, 4rem) 0; }
  .newsletter .inner { gap: 1.6rem; }
  .newsletter form { flex-direction: column; }
  .newsletter form .btn { width: 100%; justify-content: center; }

  .form-grid { gap: 1rem; }
  .field input, .field textarea, .field select { padding: .8rem .9rem; }

  .sponsor-cell { padding: 1.6rem; min-height: 180px; }
  .social-card { padding: 1.8rem; min-height: 220px; }
  .social-card .handle { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  .site-footer { padding: 3rem 0 1.5rem; }
  .site-footer .top { gap: 1.6rem; padding-bottom: 2rem; }
  .site-footer .bottom { font-size: .75rem; }

  .lightbox .nav-btn { width: 42px; height: 42px; }
  .lightbox .nav-btn.prev { left: .6rem; }
  .lightbox .nav-btn.next { right: .6rem; }
}

@media (max-width: 480px) {
  :root { --pad: 1rem; }
  .brand img { height: 60px; }
  .site-header.scrolled .brand img { height: 36px; }
  .hero h1 { font-size: 2.1rem; line-height: 1.1; }
  .hero .sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Stats: 2x2 grid on the tightest screens — fix the border seams */
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stats .stat:nth-child(2n) { border-right: 0; }
  .stats .stat:nth-child(n+3) { border-bottom: 0; }

  .highlights-row { grid-template-columns: 1fr; }
  .sponsors-grid { grid-template-columns: 1fr; }

  .about-banner { aspect-ratio: 4 / 5; height: auto; }
  .stats .value { font-size: 1.4rem; }

  /* Tighter section heads */
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .link { margin-top: -.6rem; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
