/* ==========================================================
   FICS FC — "Bright" design (redesign branch)

   Layout: an Apple-style product page for a football academy.
   Centered headline, then one wide, bright photo of the kids;
   white and pale-grey bands alternate; big type, lots of air.
   Brand green (the 2027 kit's forest green) is for actions
   (buttons, links) and the F·I·C·S initials.
   ========================================================== */

:root {
  --hero-photo: url("../assets/images/instagram/training-bigfield.jpg");   /* 첫 화면 사진 (슬라이드쇼 시작 전) */

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;

  /* Brand colour (green-theme branch: 2027 kit forest green instead of club blue) */
  --brand: #157a43;         /* buttons, links, labels, F·I·C·S initials */
  --brand-hover: #0f5f33;
  --brand-deep: #0b3d24;    /* kit forest green: highlight card, letter gradients */
  --brand-rgb: 21, 122, 67; /* same as --brand, for translucent tints */
  --green-1: #15803d;       /* "Green." in the headline */
  --green-2: #34c26b;

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 30px;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 54px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.06; margin: 0 0 .45em; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }

:lang(ko) body, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p { word-break: keep-all; }
:is(:lang(ko), :lang(zh), :lang(ja)) :is(h1, h2, h3) { letter-spacing: -.02em; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  aspect-ratio: 555 / 706;
  border-radius: 50%;
  background: url("../assets/images/logo-badge.jpg") no-repeat;
  background-size: 164.1% 128.5%;
  background-position: 51.7% 43.8%;
  flex-shrink: 0;
}
.badge--sm { height: 30px; }
.badge--md { height: 48px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: scale(.98); }
.btn--small { padding: .45em 1em; font-size: .8rem; }
.btn--full { width: 100%; padding-block: .95em; }

.more-link { color: var(--brand); font-weight: 500; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link { color: var(--brand); text-underline-offset: 3px; }

:is(a, button, select, input, textarea):focus-visible { outline: 3px solid rgba(var(--brand-rgb), .45); outline-offset: 2px; }

/* ---------- Header (thin, translucent) ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .55em; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .01em; margin: 0; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .82rem; color: var(--ink-2); transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: .4rem; }
.lang-select { display: flex; align-items: center; gap: .3rem; padding: .3rem .6rem; border-radius: 999px; color: var(--ink-2); cursor: pointer; transition: background .2s; }
.lang-select:hover, .lang-select:focus-within { background: var(--bg-alt); }
.lang-select select { appearance: none; border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.lang-select select:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; margin: 5px 0; background: var(--ink); transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; overflow: hidden; }
.eyebrow { margin: 0 0 .9rem; font-weight: 600; font-size: clamp(.95rem, 1.6vw, 1.15rem); color: var(--brand); }
.hero h1 { font-size: clamp(3.4rem, 11vw, 8.4rem); letter-spacing: -.055em; line-height: .98; margin: 0; }
.green {
  background: linear-gradient(100deg, var(--green-1) 10%, var(--green-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .04em;   /* keeps the full stop from clipping */
}
.lead { margin: 18px auto 0; max-width: 26em; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }

.hero-media {
  position: relative;
  width: min(1180px, 100% - 32px);   /* matches the content width; keeps 1280-1440px photos sharp */
  margin: clamp(40px, 6vw, 72px) auto 0;
  aspect-ratio: 16 / 8;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-photo { position: absolute; inset: 0; background: var(--hero-photo) center 60% / cover no-repeat; }
/* Slideshow layers (added by js/main.js); they take the size and position set on .hero-photo */
.hero-slide { position: absolute; inset: 0; background-repeat: no-repeat; background-size: inherit; background-position: inherit; transition: opacity 1.2s ease; }
.hero-slide.is-entering { opacity: 0; transition: none; }

/* The photo opens up as you scroll into it (browsers that support scroll-driven animation) */
@supports (animation-timeline: view()) {
  .hero-media { animation: hero-open linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes hero-open {
    from { transform: scale(.92); border-radius: 44px; }
    to   { transform: scale(1);   border-radius: var(--radius-lg); }
  }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section-tag { margin: 0 0 .7rem; font-weight: 600; font-size: 1.05rem; color: var(--brand); }
.section-title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.045em; }
.section-intro { max-width: 34em; margin: 0 0 3rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); }

/* ---------- Highlights carousel ---------- */
.highlights .section-title { margin-bottom: 1.1em; }
.carousel-track {
  --edge: max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px var(--edge) 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: none; }
.hl-card {
  position: relative;
  flex: 0 0 clamp(270px, 32vw, 400px);
  height: clamp(360px, 42vw, 500px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--bg);
}
.hl-card--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hl-card--photo:hover img { transform: scale(1.04); }
.hl-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 80px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .62));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hl-text strong { font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hl-text span { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hl-card--stat { display: flex; flex-direction: column; justify-content: space-between; padding: 32px 30px; }
.hl-card--stat strong { font-family: var(--display); font-size: clamp(4.5rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; color: var(--ink); }
.hl-card--stat span { font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -.015em; max-width: 12em; }
.hl-card--navy { background: var(--brand-deep); }
.hl-card--navy strong, .hl-card--navy span { color: #fff; }

.carousel-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.carousel-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e3e3e8;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  padding-bottom: 3px;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.carousel-btn:hover { background: #d4d4da; }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* ---------- About ---------- */
#about { text-align: center; }
#about .section-intro { margin-inline: auto; }
.statement { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.045em; max-width: 14em; margin: 0 auto .5em; color: var(--ink); }
.initial { color: var(--brand); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.pillar { padding: 32px 28px 34px; border-radius: var(--radius); background: var(--bg-alt); transition: transform .3s ease; min-width: 0; }
.pillar:hover { transform: translateY(-4px); }
.pillar-letter {
  display: block;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  background: linear-gradient(160deg, var(--brand-deep), var(--brand) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar h3 { font-size: 1.35rem; margin-bottom: .3em; letter-spacing: -.02em; }
.pillar p { margin: 0; color: var(--muted); font-size: 1rem; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0; padding: 0; }
.timeline li { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; }
.timeline li + li { border-left: 1px solid var(--line); }
.timeline strong { font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.timeline li:last-child strong { color: var(--brand); }
.timeline span { color: var(--muted); font-size: 1.05rem; }

/* ---------- Programs: compare columns ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 44px 8px;
}
.class-col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 24px; min-width: 0; container-type: inline-size; }
.class-col + .class-col { border-left: 1px solid #e8e8ed; }
/* Age labels stay on one line: the size follows the column width (cqi). The longest label,
   "U11 – U13", is about 3.7em wide, so 25cqi always fits; every column is the same width,
   so all four labels come out the same size. */
.class-col h3 { font-size: clamp(2rem, 5vw, 4.2rem); font-size: min(4.2rem, 25cqi); white-space: nowrap; letter-spacing: -.05em; margin-bottom: .1em; }
.class-age { margin: 0 0 18px; font-weight: 600; color: var(--brand); }
.class-col p:not(.class-age) { margin: 0 0 22px; color: var(--ink-2); flex-grow: 1; }
.class-col p:last-child { margin-bottom: 0; }

/* Weekly schedule: one card per venue, filterable by age group */
.schedule { margin-top: clamp(64px, 8vw, 96px); }
.schedule-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.sub-title { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.04em; }
.group-filter { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.filter-label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-width: 52px;
  padding: .5em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.timetable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.venue { padding: 28px 28px 18px; border-radius: var(--radius); background: var(--bg); transition: opacity .3s; min-width: 0; }
.venue h4 { margin: 0 0 14px; font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.day-name { margin: 18px 0 2px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.venue h4 + .day-name { margin-top: 0; }
.venue ul { list-style: none; margin: 0; padding: 0; }
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -12px;
  padding: 13px 12px;
  border-top: 1px solid #ececf0;
  border-radius: 12px;
  transition: opacity .3s, background .3s;
}
.slot time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.groups { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.groups b { padding: .25em .7em; border-radius: 999px; background: var(--bg-alt); font-size: .9rem; font-weight: 700; color: var(--ink); }
.groups em { padding: .25em .7em; border-radius: 999px; background: rgba(var(--brand-rgb), .1); font-style: normal; font-size: .82rem; font-weight: 600; color: var(--brand); }
.slot.is-dim, .venue.is-dim { opacity: .3; }
.slot.is-match { background: rgba(var(--brand-rgb), .07); border-top-color: transparent; }
.slot.is-match .groups b { background: var(--brand); color: #fff; }
:is(:lang(ko), :lang(zh), :lang(ja)) .day-name { letter-spacing: 0; }

.schedule-note { margin: 24px 4px 0; font-size: .92rem; color: var(--muted); text-align: center; }

.women-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.women-text { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.card-tag { margin: 0 0 .5rem; font-weight: 600; font-size: .95rem; color: var(--brand); }
.women-card h3 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.045em; }
.women-text p:not(.card-tag) { margin: 0 0 26px; color: var(--muted); font-size: 1.1rem; }
.adult-list { list-style: none; margin: 4px 0 14px; padding: 0; width: 100%; max-width: 26em; }
.adult-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #e8e8ed; }
.adult-list li:last-child { border-bottom: 1px solid #e8e8ed; }
.adult-list b { color: var(--ink); }
.adult-list span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.women-text .adult-place { margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.women-photo { min-height: 320px; background: url("../assets/images/instagram/women-training.jpg") center 62% / cover no-repeat; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: .86fr 1fr; gap: 16px; margin-top: 1rem; }
.photo-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile:not(.photo-tile--tall) { aspect-ratio: 16 / 9; }
.photo-tile--tall { grid-row: span 2; }
.chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: .45em .95em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
}
.ig-tile {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s;
}
.ig-tile:hover { background: #ececf0; }
.ig-tile span { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.ig-tile strong { margin-left: auto; color: var(--brand); font-weight: 600; }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1rem; }
.location { display: flex; flex-direction: column; padding: 10px; border-radius: var(--radius); background: var(--bg); min-width: 0; }
.location-map { width: 100%; height: 210px; border: 0; display: block; border-radius: var(--radius-sm); background: var(--bg-alt); }
.location-body { padding: 20px 18px 16px; }
.location h3 { font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: .3em; }
.location-addr { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 22px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.contact-label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.contact-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); }

.contact-form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--bg-alt); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label, .dob legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ink); padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .dob select {
  font: inherit;
  font-size: 1rem;
  padding: .75em .9em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea::placeholder { color: #a1a1a6; }
.field input:focus, .field select:focus, .field textarea:focus, .dob select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.field .is-invalid, .dob .is-invalid { border-color: #e5484d; background: #fff5f5; }
.dob { border: 0; padding: 0; margin: 0 0 18px; }
.dob-row { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 10px; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.form-note.is-error { color: #e5484d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--muted); padding: 44px 0 30px; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-name { color: var(--ink); font-size: 1.05rem; }
.footer-motto { margin: 2px 0 0; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; padding: 16px 8px; }
  .class-col { padding: 28px 20px; }
  .class-col:nth-child(3) { border-left: 0; }
  .class-col:nth-child(n+3) { border-top: 1px solid #e8e8ed; }
  .locations { grid-template-columns: 1fr 1fr; }
  .timetable { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .women-card { grid-template-columns: 1fr; }
  .women-photo { order: -1; min-height: 240px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 26px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    transform: translateY(-130%);
    transition: transform .3s;
    z-index: -1;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid #e8e8ed; font-size: 1.05rem; color: var(--ink); }
  .site-nav .btn { margin-top: 18px; font-size: .95rem; padding: .8em 1.4em; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero-media { aspect-ratio: 4 / 5; max-height: none; border-radius: var(--radius); }
  .carousel-track { --edge: 16px; gap: 12px; }
  .hl-card { flex-basis: 78vw; height: 112vw; max-height: 480px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }
  .timeline li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .gallery { grid-template-columns: 1fr; }
  .photo-tile--tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .ig-tile strong { margin-left: 0; }
  .locations { grid-template-columns: 1fr; }
  .timetable { grid-template-columns: 1fr; }
  .venue { padding: 24px 22px 14px; }
}

@media (max-width: 480px) {
  .pillars { gap: 10px; }
  .pillar { padding: 24px 20px; }
  .pillar-letter { font-size: 3.2rem; margin-bottom: 16px; }
  .pillar h3 { font-size: 1.15rem; }
  .pillar p { font-size: .9rem; }
  .compare { grid-template-columns: 1fr; padding: 8px 4px; }
  .class-col { padding: 26px 18px; }
  .class-col + .class-col { border-left: 0; border-top: 1px solid #e8e8ed; }
}
