/* OCYC — our standard Model 1 template (same fonts and components as style1-modern).
   Colours: "Autumn Harvest" palette chosen by the client 2026-11-08, used the way its page says
   (https://ihatecolors.pages.dev/palette/autumn-harvest/):
   #FFF8E1 background · #E65100 buttons and links · #BF360C sidebars, cards and footers · #4E342E body text.
   Text on #BF360C areas is #FFF8E1 (5.27:1 per the page's contrast table). Only these four colours are used. */
:root {
  --bg: #FFF8E1;          /* Background */
  --bg-muted: #FFF8E1;
  --primary: #E65100;     /* Primary Accent: buttons and links */
  --on-primary: #FFF8E1;
  --secondary: #BF360C;   /* Secondary: cards, footers, dividers */
  --on-secondary: #FFF8E1;
  --ink: #4E342E;         /* Body Text (fixed, also used inside cards for inputs and photo placeholders) */
  --text: #4E342E;
  --text-muted: #4E342E;
  --line: #BF360C;
  --accent: #E65100;
  --max-width: 1180px;
  --radius: 4px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html[data-lang="zh"] body {
  font-family: 'Noto Serif SC', 'Inter', -apple-system, sans-serif;
}

html[data-lang="zh"] h1,
html[data-lang="zh"] h2,
html[data-lang="zh"] h3 { word-break: keep-all; }

img { max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

[id] { scroll-margin-top: 96px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 50;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--bg); }

.is-placeholder { color: var(--text-muted); }

/* ---------- Header (Model 1) ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 248, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; line-height: 1.1; }
.logo-img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.logo-text { display: flex; flex-direction: column; }
.logo-mark { font-weight: 700; font-size: 18px; letter-spacing: 0.05em; }
.logo-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; margin-top: 2px; }

.nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a { font-size: 17px; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--text); }

/* ---------- Buttons (Model 1) ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-sm { padding: 8px 16px; }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--secondary); color: var(--on-secondary); }

.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

.btn-join { padding: 10px 18px; }

.hero-actions,
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row { margin-top: 8px; }

.pill {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
}

/* ---------- Sections (Model 1) ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-muted { background: var(--bg-muted); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 600px;
}

.section-head { margin-bottom: 56px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid-2 .section-head { margin-bottom: 0; }

.sub-title { font-size: 18px; font-weight: 600; margin: 0 0 18px; }
.sub-title-spaced { margin-top: 64px; }

.more-link { font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.prose p { font-size: 17px; line-height: 1.7; margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose .btn { margin-top: 8px; }

.empty-note { font-size: 16px; color: var(--text-muted); margin: 0; padding: 48px 24px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); text-align: center; }

.card-cta { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }

/* ---------- Photo placeholder (no photo uploaded yet) ---------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: var(--ink);
  background: repeating-linear-gradient(135deg, rgba(43, 32, 25, 0.035) 0 12px, transparent 12px 24px), var(--bg-muted);
  border-radius: var(--radius);
}
.ph svg { width: 40px; height: 40px; opacity: 0.7; }
.ph-label { font-size: 13px; }

/* ---------- Home: front hero (Model 1 layout, one key photo on the right) ---------- */
.front-hero { border-bottom: 1px solid var(--line); }

.front-hero-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 73px);
  min-height: calc(100svh - 73px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.front-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.front-title {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.front-lede { font-size: 18px; color: var(--text-muted); max-width: 520px; margin: 0 0 40px; }

.front-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
img.front-photo { display: block; object-fit: cover; background: var(--bg-muted); }

/* ---------- Home: event cards (Model 1 card style) ---------- */
.ev-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev-cards li { display: flex; }
.ev-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  width: 100%;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.ev-card:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); }
.ev-card:hover .ev-title { color: var(--accent); }
.ev-body { display: flex; flex-direction: column; gap: 6px; }
.ev-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ev-tag-past { color: var(--text-muted); }
.ev-title { font-size: 20px; font-weight: 600; line-height: 1.3; transition: color var(--transition); }
.ev-meta { font-size: 14px; color: var(--text-muted); }
.ev-body .card-cta { margin-top: auto; padding-top: 12px; }

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 68px;
  padding: 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.1;
}
.db-mon { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.db-day { font-size: 28px; font-weight: 600; margin: 2px 0; font-variant-numeric: tabular-nums; }
.db-year { font-size: 12px; color: var(--text-muted); }

/* ---------- Videos (Model 1) ---------- */
.video-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.55); }
.video-placeholder svg { width: 56px; height: 56px; }
.video-soon { font-size: 13px; }
.video-title { font-size: 15px; font-weight: 500; color: var(--text-muted); margin: 14px 0 0; }

/* ---------- Home: join section ---------- */
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.join-text { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 16px 0 0; }

/* ---------- Partners / sponsors ---------- */
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
a.partner:hover { border-color: var(--text); }
.partner img { max-width: 100%; max-height: 64px; object-fit: contain; }
.partner-name { font-size: 14px; color: var(--text-muted); text-align: center; }

/* ---------- Sub-page hero (Model 1 news-hero) ---------- */
.page-hero { padding: 96px 0 56px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 800px; }
.page-lede { font-size: 17px; color: var(--text-muted); max-width: 640px; margin: 0; }
.page-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; }
.page-jump a { font-size: 16px; font-weight: 600; color: var(--accent); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: start; }
/* Photo beside the intro (above the history): shown whole, never cropped (user rule 2026-11-09) */
.story-photo { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; }
.story-photo img { display: block; width: 100%; height: auto; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.tl-text { font-size: 16px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.mv-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.mv-text { font-size: 18px; line-height: 1.6; margin: 0; }

/* Members (Model 1 team grid) */
.member-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.member-photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 16px; }
img.member-photo { display: block; object-fit: cover; background: var(--bg-muted); }
.member-name { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.member-role { font-size: 14px; color: var(--accent); margin: 0; }
.member-bio { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 10px 0 0; }

/* Cohorts: group photo + roster (Model 1 past-members style) */
.cohorts { display: grid; gap: 56px; }
.cohort { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.cohort-photo { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
a.cohort-photo { display: block; }
.cohort-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A real group photo is shown whole, never cropped (user rule 2026-11-09); only the empty placeholder keeps 3:2 */
a.cohort-photo { aspect-ratio: auto; }
a.cohort-photo img { height: auto; }
.cohort-label { font-size: 20px; font-weight: 600; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.roster { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.roster li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 16px; }
.roster-name { font-weight: 600; }
.roster-part { font-size: 14px; color: var(--accent); }

.achievements { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.achievements li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ach-year { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.ach-text { font-size: 17px; }

/* ---------- Events ---------- */
.events { display: grid; gap: 24px; }
.event {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.event-poster { display: flex; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
a.event-poster { background: var(--bg-muted); }
.event-poster img { width: 100%; height: 100%; object-fit: contain; display: block; }
.event-body { display: flex; flex-direction: column; gap: 18px; }
.event-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.25; margin: 0; }
.event-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.event-facts li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; font-size: 16px; }
.fact-k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.event-text { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0; max-width: 620px; }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }

/* Past events (Model 1 article rows) */
.past-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.past-row { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.past-img { display: flex; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.past-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past-body { display: flex; flex-direction: column; gap: 10px; }
.past-date { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; margin: 0; }
.past-title { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 0; }
.past-text { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin: 0; }
.past-links { font-size: 13px; font-weight: 600; margin: 0; }
.past-links a { color: var(--accent); }

/* Gallery (Model 1) */
.gallery { columns: 3; column-gap: 20px; }
.shot { display: block; break-inside: avoid; margin-bottom: 28px; }
a.shot { cursor: zoom-in; }
.gallery .shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--bg-muted); transition: opacity var(--transition); }
a.shot:hover img { opacity: 0.88; }
.shot-ph { aspect-ratio: 4 / 3; }
.gallery .shot:nth-child(3n + 2) .shot-ph { aspect-ratio: 3 / 4; }
.shot-cap { display: block; font-size: 13px; color: var(--text-muted); margin-top: 10px; }
a.shot:hover .shot-cap { color: var(--accent); }

/* ---------- Lightbox (Model 1) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 48px 80px; background: rgba(15, 13, 12, 0.94); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-figure img { display: block; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: var(--radius); }
.lb-cap { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, 0.85); text-align: center; }
.lb-btn { position: absolute; background: transparent; border: 0; color: rgba(255, 255, 255, 0.75); font-size: 44px; line-height: 1; cursor: pointer; padding: 8px 14px; transition: color var(--transition); }
.lb-btn:hover { color: #fff; }
.lb-btn[hidden] { display: none; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 60px; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 60px; }

/* ---------- Media ---------- */
.works { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.works li { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.work-no { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.work-main { display: flex; flex-direction: column; gap: 2px; }
.work-title { font-size: 18px; font-weight: 600; }
.work-by { font-size: 14px; color: var(--text-muted); }
.work-note { font-size: 13px; font-weight: 600; color: var(--accent); text-align: right; }

.recs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rec { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.rec-icon { display: flex; align-items: flex-start; justify-content: center; color: var(--accent); }
.rec-icon svg { width: 32px; height: 32px; }
.rec-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rec-title { font-size: 20px; font-weight: 600; margin: 0; }
.rec-note { font-size: 15px; color: var(--text-muted); margin: 0; }
.rec audio { width: 100%; margin-top: 4px; }

.press-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.press-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.press-list li { display: grid; grid-template-columns: 100px 170px 1fr; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.press-date { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.press-outlet { font-size: 14px; font-weight: 600; }
.press-title { font-size: 16px; font-weight: 500; }
a.press-title:hover { color: var(--accent); }
.presskit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.presskit-title { font-size: 20px; font-weight: 600; margin: 0; }
.presskit-text { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ---------- Join ---------- */
.check-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.check-list li { padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); font-size: 17px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.steps { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.steps li::before { content: counter(step) '.'; font-weight: 600; color: var(--accent); }

/* Rehearsal info (Model 1 contact cards) */
.info-cards { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.info-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-k { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin: 0; padding-top: 3px; }
.info-v { font-size: 17px; margin: 0; }

.apply-wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; }
.apply-wrap .section-head { margin-bottom: 24px; }
.apply-intro { font-size: 17px; line-height: 1.7; margin: 0 0 12px; }
.apply-req { font-size: 14px; color: var(--text-muted); margin: 0; }
.apply-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 14px; font-weight: 600; }
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: border-color var(--transition);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status.is-sending { color: var(--text-muted); }
.form-status.is-ok { color: var(--text); }
.form-status.is-fail { color: var(--accent); }

.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); }

/* Contact (Model 1 contact links) */
.contact-email { font-size: 16px; line-height: 2; }
.contact-email a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer (Model 1, light) ---------- */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-grid p { margin: 0 0 8px; }
.footer-mark { font-size: 18px; font-weight: 700; letter-spacing: 0.05em; color: var(--text); }
.footer-name, .footer-tagline, .footer-donate-text { font-size: 14px; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.footer-donate .btn { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.footer-admin { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-admin:hover { color: var(--accent); }

/* ---------- Autumn Harvest: Secondary (#BF360C) carries cards and footers ----------
   Inside these areas the colour variables switch to the text colour for #BF360C, so every
   component inside (labels, dates, links, borders, outline buttons) follows automatically.
   Orange buttons keep --primary; inputs and photo placeholders keep --ink on --bg. */
.ev-card, .partner, .event, .mv-card, .rec, .presskit, .apply-form, .donate-addr, .site-footer {
  --text: var(--on-secondary);
  --text-muted: var(--on-secondary);
  --accent: var(--on-secondary);
  --line: var(--on-secondary);
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}
/* a button sitting on #BF360C can't hover to #BF360C, so there it hovers to the background colour */
:is(.event, .presskit, .apply-form, .donate-addr, .site-footer) :is(.btn-primary, .donate-copy):hover { background: var(--bg); color: var(--secondary); }
a.ev-card:hover { border-color: var(--on-secondary); }
a.partner:hover { border-color: var(--on-secondary); }
.site-footer { border-top: 0; }

/* ---------- Back to top (Model 1 primary button) ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--secondary); color: var(--on-secondary); }
.to-top svg { width: 20px; height: 20px; }
/* keep the last footer line clear of the button */
.site-footer { padding-bottom: 88px; }

/* ---------- Donate dialog ---------- */
.donate {
  width: min(460px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px 32px;
  color: var(--text);
  background: var(--bg);
}
.donate::backdrop { background: rgba(15, 13, 12, 0.6); }
.donate > form[method="dialog"] { position: absolute; top: 10px; right: 12px; margin: 0; } /* the close button only, not the volunteer email form */
.donate-x { background: transparent; border: 0; font-size: 30px; line-height: 1; color: var(--text-muted); cursor: pointer; padding: 4px 8px; }
.donate-x:hover { color: var(--text); }
.donate-title { font-size: 24px; font-weight: 600; margin: 0 0 10px; }
.donate-text { font-size: 16px; color: var(--text-muted); margin: 0 0 24px; }
.donate-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
/* background comes from the Autumn Harvest card rule (#BF360C, text #FFF8E1); setting it here hid the address text */
.donate-addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 16px 18px; border-radius: var(--radius); }
.donate-email { font-size: 18px; font-weight: 600; word-break: break-all; }
.donate-copy { font: inherit; font-size: 14px; font-weight: 500; color: var(--on-primary); background: var(--primary); border: 0; border-radius: var(--radius); padding: 8px 14px; cursor: pointer; transition: background var(--transition); }
.donate-copy:hover { background: var(--secondary); color: var(--on-secondary); }
.donate-note { font-size: 14px; color: var(--text-muted); margin: 0; }
.contact-send { margin: 0 0 18px; }
.vol-form .form-foot { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ev-cards { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 10px; gap: 10px 16px; }
  .logo { gap: 8px; }
  .logo-img { width: 36px; height: 36px; }
  .logo-sub { font-size: 10px; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 15px; }
  .btn-join { padding: 9px 14px; }
  [id] { scroll-margin-top: 120px; }

  .front-hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 48px; padding-bottom: 56px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-2, .story, .apply-wrap, .press-wrap, .cohort { grid-template-columns: 1fr; gap: 32px; }
  .grid-2 .section-head { margin-bottom: 0; }

  .ev-cards, .video-grid, .mv-grid, .recs { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }

  .page-hero { padding: 64px 0 40px; }

  .event { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .event-media { max-width: 320px; }
  .past-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .gallery { columns: 2; column-gap: 12px; }
  .shot { margin-bottom: 18px; }

  .press-list li { grid-template-columns: 1fr; gap: 2px; }
  .works li { grid-template-columns: 40px 1fr; gap: 12px; }
  .work-note { grid-column: 2; text-align: left; }
  .achievements li, .info-card { grid-template-columns: 1fr; gap: 4px; }

  .lightbox { padding: 56px 12px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; font-size: 48px; }
}

@media (max-width: 560px) {
  .logo-sub { display: none; }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner { padding: 14px; }
  .apply-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .mv-card, .presskit { padding: 24px; }
  .roster { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ev-card { padding: 22px; }
  .rec { padding: 22px; }
}
