/* ============================================================
   Harrow Music Festival - shared styles
   Brand: navy #15233E · cream #F5F1E8
   ============================================================ */

:root {
  --navy: #15233E;
  --navy-80: #33405a;
  --cream: #F5F1E8;
  --cream-dim: #ece6d9;
  --gold: #c8a15a;          /* warm accent for highlights */
  --ink: #15233E;
  --muted: #5c6577;
  --white: #ffffff;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 35, 62, 0.10);
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, 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;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy); }

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; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--cream); }
.section--cream-dim { background: var(--cream-dim); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #cdd3df; }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #d8b676; border-color: #d8b676; }
.section--navy .btn--ghost { color: var(--cream); border-color: var(--cream); }
.section--navy .btn--ghost:hover { background: var(--cream); color: var(--navy); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(21,35,62,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-color: var(--gold); }
.nav__links a.btn { padding: 10px 22px; border-width: 2px; color: var(--cream); border-bottom: 2px solid var(--navy); }
.nav__links a.btn:hover { border-color: var(--navy); color: var(--cream); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(21,35,62,0.08);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s ease, visibility 0s linear .28s;
  }
  .nav__links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .28s ease;
  }
  .nav__links a { width: 100%; padding: 10px 0; }
  .nav__links .btn { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 72px 0 88px;
}
.hero__logo {
  width: min(360px, 74vw);
  margin: 0 auto 8px;
}
.hero h1 { color: var(--cream); margin-top: 8px; }
.hero__meta {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 6px 0 4px;
}
.hero__sub { color: #cdd3df; font-size: 1.1rem; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { color: var(--cream); border-color: var(--cream); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--navy); }
.hero__icon { width: min(300px, 58vw); margin: 0 auto 20px; display: block; }
.hero .hero__title {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--cream);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  margin: 0 0 12px;
}

/* ---------- Page banner (interior pages) ---------- */
.banner {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 66px 0 56px;
}
.banner h1 {
  color: var(--cream);
  margin-bottom: 8px;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.banner p { color: #cdd3df; max-width: 60ch; margin: 0 auto; }

/* ---------- Info strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.fact__label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.fact__value { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
@media (max-width: 680px){ .facts { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(21,35,62,0.08);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Artist cards ---------- */
.artist {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(21,35,62,0.08);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.artist:hover { transform: translateY(-4px); }
.artist__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy), var(--navy-80));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.artist__body { padding: 18px 20px; }
.artist__name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin: 0 0 2px; }
.artist__tag { color: var(--muted); font-size: 0.92rem; }
.artist--headliner .artist__img { background: linear-gradient(135deg, var(--gold), #a97f33); color: var(--navy); }

/* ---------- Schedule ---------- */
.day-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.day-tab {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid rgba(21,35,62,0.2);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: .18s;
}
.day-tab:hover { border-color: var(--navy); }
.day-tab.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.day-panel { display: none; }
.day-panel.active { display: block; }

.slot {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(21,35,62,0.12);
  align-items: baseline;
}
.slot:last-child { border-bottom: 0; }
.slot__time { font-family: var(--font-head); font-weight: 600; color: var(--gold); }
.slot__title { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin: 0 0 2px; }
.slot__place { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 620px){ .slot { grid-template-columns: 90px 1fr; gap: 14px; } }

/* ---------- Ticket tiers ---------- */
.tier {
  background: var(--white);
  border: 1px solid rgba(21,35,62,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tier--featured { border: 2px solid var(--gold); position: relative; }
.tier__badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}
.tier__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin: 0 0 4px; }
.tier__price { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; margin: 8px 0 2px; }
.tier__price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.tier__list { list-style: none; margin: 18px 0 26px; padding: 0; }
.tier__list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid rgba(21,35,62,0.07); }
.tier__list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--gold); font-weight: 700;
}
.tier .btn { margin-top: auto; justify-content: center; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid rgba(21,35,62,0.1);
  border-radius: 12px;
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid rgba(21,35,62,0.1); }
.faq details p { padding: 14px 0 6px; margin: 0; color: var(--muted); }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px){ .split { grid-template-columns: 1fr; gap: 32px; } }
.prose p { color: var(--muted); }
.prose .section--navy & p { color: #cdd3df; }

.figure {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-80));
  display: flex; align-items: center; justify-content: center;
  color: #cdd3df; font-family: var(--font-head);
  text-align: center; padding: 24px;
  box-shadow: var(--shadow);
}

/* ---------- Newsletter / contact ---------- */
.signup {
  display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px;
}
.signup input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid rgba(245,241,232,0.35);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
}
.signup input::placeholder { color: #aeb6c6; }
.signup input:focus { outline: none; border-color: var(--gold); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 12px; }
.contact-list a { color: var(--cream); }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 14px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(245,241,232,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  transition: .2s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer img { width: 220px; margin-bottom: 16px; }
.footer-col h4 {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.8rem; color: var(--gold); margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #cdd3df; text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(245,241,232,0.15);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #98a1b4; font-size: 0.88rem;
}

/* Placeholder highlight so real content is easy to find later */
.ph { background: rgba(200,161,90,0.16); border-radius: 4px; padding: 0 3px; }

/* ---------- Programme / event list ---------- */
.event {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 26px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(21,35,62,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.event__date {
  font-family: var(--font-head);
  line-height: 1.15;
}
.event__day { font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.event__time { color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.event__body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.event__body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.event__meta { text-align: right; white-space: nowrap; }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.tag--ticketed { background: var(--navy); color: var(--cream); }
.tag--free { background: transparent; color: var(--navy); border: 1.5px solid var(--gold); }
.tag--tbc { background: var(--cream-dim); color: var(--muted); }
@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .event__meta { text-align: left; }
}

/* Support / membership cards reuse .tier; small tweak for two-up */
.note-line { color: var(--muted); font-size: 0.95rem; }
.section--navy .note-line { color: #cdd3df; }

/* ---------- Photos in cards & figures ---------- */
.artist__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure { overflow: hidden; }
.figure.figure--photo { padding: 0; aspect-ratio: 3 / 4; }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Clickable events & cards ---------- */
a.event { text-decoration: none; color: inherit; cursor: pointer; transition: transform .16s ease, box-shadow .22s ease; }
a.event:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(21,35,62,0.18); }
.event__more { display: block; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--gold); }
a.artist { text-decoration: none; color: inherit; cursor: pointer; }

/* Event detail banner meta line */
.event-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.back-link { display: inline-block; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--gold); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
