/* ======================================================================
   Antigua & Barbuda Youth Orchestra UK (ABYO UK)
   Shared stylesheet
   Palette inspired by the Antigua & Barbuda national flag:
   black, gold/sun, red, sea-blue, white
   ====================================================================== */

:root {
  --navy: #0b1e3b;        /* deep sea navy - primary dark */
  --navy-soft: #14315c;
  --gold: #f4b41a;        /* the sun */
  --gold-deep: #d99400;
  --red: #ce1126;         /* flag red */
  --blue: #0072c6;        /* sea blue */
  --black: #0a0a0d;       /* flag black (triangle) */
  --sun: #ffd23f;         /* rising-sun highlight */
  --cream: #fbf7f0;       /* warm background */
  --sand: #f2e9db;
  --ink: #1c2430;         /* body text */
  --muted: #5c6672;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 30, 59, 0.12);
  --radius: 14px;
  --maxw: 1140px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 700; color: var(--gold-deep);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 40px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(244,180,26,.35); }
.btn--gold:hover { background: var(--gold-deep); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,240,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11,30,59,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 700; font-size: 1.15rem; flex: none;
  border: 2px solid var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.brand__sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--navy); font-weight: 600; font-size: .96rem; }
.nav__links a:hover { color: var(--gold-deep); text-decoration: none; }
.nav__links a.active { color: var(--gold-deep); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(70% 95% at 82% 58%, rgba(244,180,26,.30), transparent 55%),
    linear-gradient(160deg, #0a0a0d 0%, #0b1e3b 42%, #0f3f74 90%, #0072c6 145%);
}
.hero > .container { position: relative; z-index: 3; }
/* rising-sun rays (Antigua & Barbuda flag) */
.hero::before {
  content: ""; position: absolute; z-index: 1; top: 52%; right: 4%;
  width: 640px; height: 640px; transform: translateY(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255,210,63,.16) 0deg 4.5deg, transparent 4.5deg 11deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 6%, transparent 60%);
          mask: radial-gradient(circle at 50% 50%, #000 6%, transparent 60%);
  pointer-events: none;
}
/* the sun */
.hero::after {
  content: ""; position: absolute; z-index: 2; top: 52%; right: 11%;
  width: 250px; height: 250px; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0%, var(--gold) 50%, rgba(244,180,26,0) 72%);
  box-shadow: 0 0 90px 24px rgba(244,180,26,.30);
  pointer-events: none;
}
.hero__inner { padding: 96px 0 104px; max-width: 780px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__flag { position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, #000 0 20%, var(--blue) 20% 40%, #fff 40% 60%, var(--gold) 60% 80%, var(--red) 80% 100%); }

/* Page banner (interior pages) */
.banner { color:#fff; position: relative; overflow: hidden; background:
    radial-gradient(55% 130% at 93% 50%, rgba(244,180,26,.22), transparent 55%),
    linear-gradient(160deg, #0a0a0d 0%, #0b1e3b 55%, #0f3f74 135%); }
.banner__flag { position:absolute; top:0; left:0; right:0; height:6px;
  background: linear-gradient(90deg, #000 0 20%, var(--blue) 20% 40%, #fff 40% 60%, var(--gold) 60% 80%, var(--red) 80% 100%); }
.banner .container { padding-top: 66px; padding-bottom: 66px; }
.banner h1 { color:#fff; margin-bottom: 10px; }
.banner p { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 680px; margin: 0; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(160deg, var(--black), #10233f); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: 2.8rem; color: var(--gold); line-height: 1; }
.stat__label { color: rgba(255,255,255,.82); font-size: .98rem; margin-top: 8px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(11,30,59,.05);
}
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sand); color: var(--gold-deep); font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__media { order: 2; }
.media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  aspect-ratio: 4/3; display: grid; place-items: center; color: rgba(255,255,255,.9);
  text-align: center; padding: 20px; position: relative;
}
.media-frame span { font-size: .9rem; opacity: .85; }
.media-frame .note { position:absolute; bottom:10px; left:0; right:0; font-size:.72rem; opacity:.65; }

/* Quote */
.quote { background: var(--sand); }
.quote blockquote {
  margin: 0 auto; max-width: 820px; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.4rem,3vw,2rem);
  color: var(--navy); line-height: 1.4;
}
.quote cite { display: block; margin-top: 20px; font-family: var(--font-body);
  font-style: normal; font-weight: 600; color: var(--gold-deep); font-size: 1rem; }

/* Band / CTA */
.band { background:
    radial-gradient(75% 150% at 50% -25%, rgba(244,180,26,.24), transparent 55%),
    linear-gradient(135deg, #0a0a0d, #0b1e3b 68%, #14315c);
  color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 26px; font-size: 1.15rem; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.ticks li::before {
  content: "♪"; position: absolute; left: 0; top: -1px;
  color: var(--gold-deep); font-size: 1.2rem; font-weight: 700;
}

/* Steps / ways to give */
.give { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.give .card { display: flex; flex-direction: column; }
.give .card .btn { margin-top: auto; align-self: flex-start; }
.price-tags { display:flex; flex-wrap:wrap; gap:14px; margin: 8px 0 4px; }
.price-tag { background:#fff; border:1px solid rgba(11,30,59,.1); border-radius:12px; padding:16px 18px; box-shadow: var(--shadow); flex:1 1 150px; }
.price-tag b { display:block; font-family:var(--font-head); font-size:1.5rem; color:var(--navy); }
.price-tag span { font-size:.9rem; color:var(--muted); }

/* Contact */
.form { background:#fff; border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.form label { display:block; font-weight:600; margin-bottom:6px; color:var(--navy); font-size:.95rem; }
.form .field { margin-bottom:18px; }
.form input, .form textarea, .form select {
  width:100%; padding:12px 14px; border:1px solid rgba(11,30,59,.18);
  border-radius:10px; font-family:inherit; font-size:1rem; background:var(--cream);
}
.form input:focus, .form textarea:focus { outline:2px solid var(--gold); border-color:transparent; }
.contact-grid { display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; align-items:start; }
.info-list { list-style:none; padding:0; margin:0; }
.info-list li { margin-bottom:18px; }
.info-list b { display:block; color:var(--navy); font-family:var(--font-head); }

/* FAQ */
.faq details { background:#fff; border-radius:12px; padding:18px 22px; margin-bottom:14px; box-shadow: var(--shadow); }
.faq summary { font-weight:700; color:var(--navy); cursor:pointer; font-size:1.05rem; }
.faq details[open] summary { margin-bottom:10px; color:var(--gold-deep); }

/* Notice / placeholder */
.notice {
  background: #fff8e6; border:1px dashed var(--gold-deep); border-radius:12px;
  padding:16px 18px; color:#7a5a00; font-size:.92rem; margin-top:26px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:36px; }
.site-footer h4 { color:#fff; font-family:var(--font-body); font-size:.85rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:16px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); text-decoration:none; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin-bottom:10px; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-bottom {
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px;
  margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12);
  font-size:.85rem; color: rgba(255,255,255,.6);
}

/* ======================================================================
   Responsive — tablets and phones
   ====================================================================== */
@media (max-width: 960px) {
  .nav__links { gap: 18px; }
  .grid-3, .give { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .hero::before { width: 460px; height: 460px; right: -12%; }
  .hero::after { width: 180px; height: 180px; right: 2%; }
}

@media (max-width: 820px) {
  /* Mobile menu */
  .nav { position: relative; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(11,30,59,.1);
    box-shadow: 0 14px 24px rgba(11,30,59,.12); padding: 8px 24px 20px;
  }
  .nav__links.open { display: flex; }
  .nav__links li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(11,30,59,.07); }
  .nav__cta { margin: 14px 0 0; }
  .nav__links .nav__cta a { text-align: center; border-bottom: 0; padding: 14px 30px; }

  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .hero__inner { padding: 64px 0 72px; }
  .banner .container { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__links { padding: 8px 16px 18px; }
  .brand__sub { display: none; }
  .brand__mark { width: 40px; height: 40px; font-size: 1rem; }
  .grid-3, .give { grid-template-columns: 1fr; }
  .stat__num { font-size: 2.2rem; }
  .lead, .hero p { font-size: 1.08rem; }
  .card { padding: 24px; }
  .form { padding: 22px; }
  .hero::before { opacity: .55; }
  .hero::after { width: 120px; height: 120px; top: 22%; right: -6%; opacity: .7; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .quote blockquote { font-size: 1.3rem; }
  #donate .btn { display: block; margin: 0 0 12px !important; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Trustees ---------- */
.trustees { display:flex; flex-wrap:wrap; justify-content:center; gap:26px; margin-top:44px; }
.trustees .trustee { flex: 0 1 calc((100% - 52px) / 3); }
.trustee { background:#fff; border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow); text-align:center; border:1px solid rgba(11,30,59,.05); }
.trustee__photo { width:132px; height:132px; border-radius:50%; object-fit:cover; object-position:center 20%; margin:0 auto 18px; display:block; border:3px solid var(--gold); background:var(--sand); }
.trustee__photo--initials { display:grid; place-items:center; background:var(--navy); color:var(--gold); font-family:var(--font-head); font-size:2.4rem; font-weight:700; letter-spacing:.02em; }
.trustee h3 { margin-bottom:2px; }
.trustee__role { color:var(--gold-deep); font-weight:700; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:14px; }
.trustee p:last-child { text-align:left; font-size:.97rem; color:var(--ink); margin-bottom:0; }
@media (max-width: 960px) { .trustees .trustee { flex-basis: calc((100% - 26px) / 2); } }
@media (max-width: 560px) { .trustees .trustee { flex-basis: 100%; } }

/* ---------- Legal / long-form text ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.form__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.site-footer .legal-links a { color: rgba(255,255,255,.6); }

/* ---------- Embedded videos ---------- */
.media-frame--video, .media-frame--reel { padding:0; background:#000; display:block; }
.media-frame--video { aspect-ratio: 16/9; }
.media-frame--reel { aspect-ratio: 9/16; max-width: 290px; margin: 0 auto; }
.media-frame iframe { width:100%; height:100%; border:0; display:block; }
@media (max-width: 820px) { .media-frame--reel { max-width: 270px; } }

/* Hidden media placeholders: collapse split to a single, readable column */
.split__media[hidden] { display: none !important; }
.split:has(> .split__media[hidden]) { grid-template-columns: 1fr; }
.split:has(> .split__media[hidden]) .split__body { max-width: 820px; margin: 0 auto; }
