/* ============ Be One Conference 2026 ============ */

/* Brand display font. Capitals = script letters (BE), lowercase = condensed caps (ONE). */
@font-face {
  font-family: "ED Nimpkish";
  src: url(fonts/ed-nimpkish.woff2) format("woff2");
  font-display: swap;
}

:root {
  /* 2026 theme "The Kingdom": gold on kingdom red */
  --bg: #0e0101;
  --fg: #fff;
  --muted: rgba(255,255,255,.62);
  --accent: #e2b673;          /* gold */
  --accent-ink: #3a0000;      /* text on gold */
  --gold-gradient: linear-gradient(180deg, #f6dfa8 0%, #e2b673 45%, #b5843f 100%);
  --red: #b5120a;             /* kingdom red */
  --red-deep: #440100;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --brand: "ED Nimpkish", "Inter Tight", sans-serif;
  /* Stand-in for Brigends Expanded / Aktiv Grotesk Ex until the font files are added */
  --wide: "Archivo", "Inter Tight", sans-serif;
  --serif: "PT Serif", Georgia, serif;
  --blackletter: "UnifrakturMaguntia", "Old English Text MT", serif;
  --gutter: clamp(16px, 4vw, 48px);
}

/* Brand headings: lowercase input renders as the condensed capitals */
.brand, .dates h2, .pillars h2, .pillar h3, .final h2, .page-hero h1 {
  font-family: var(--brand); font-weight: 400; letter-spacing: 0; text-transform: lowercase;
}
.script { text-transform: none; }  /* keep capitals so they render as the script letters */
.wide, .kicker, .nav, .btn, .section-label, .site-footer .links {
  font-family: var(--wide); font-stretch: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
/* Blurred background lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(14,1,1,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header.scrolled::before { opacity: 1; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nav a { opacity: .85; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--accent); }
.nav .cta { color: var(--accent); opacity: 1; }
.menu-btn { display: none; background: none; border: 0; color: var(--fg); font: 600 13px var(--font); letter-spacing: .08em; cursor: pointer; }

@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--bg); flex-direction: column;
    align-items: center; justify-content: center; gap: 28px; font-size: 24px; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .menu-btn { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px var(--gutter) 60px; overflow: hidden;
  isolation: isolate; background: var(--red);
}
/* Black & white photo blended into kingdom red, darker towards the edges */
.hero-bg {
  position: absolute; inset: -5%; z-index: -3; background: url(images/hero.jpg) center/cover;
  filter: grayscale(1) contrast(1.2) brightness(1.1);
  opacity: .6; mix-blend-mode: multiply;
  animation: slowzoom 24s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse at 50% 45%, transparent 25%, rgba(25,0,0,.75) 100%);
}
/* Large faint script "B", as on the banner */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: -6vw; top: 50%; translate: 0 -50%;
  width: 62vw; height: 110%; background: url(logos/b-mark.svg) left center/contain no-repeat;
  opacity: .3; mix-blend-mode: multiply;
}
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero > *:not(.hero-bg) { position: relative; }
.hero .frame {
  position: absolute; inset: 86px var(--gutter) 46px; pointer-events: none;
  border-top: 1px solid rgba(226,182,115,.55); border-bottom: 1px solid rgba(226,182,115,.55);
}

.gold { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0; color: var(--accent); font-size: clamp(22px, 2.8vw, 38px); letter-spacing: .05em !important; }
.kingdom {
  margin: .08em 0 .12em; font-family: var(--blackletter); font-weight: 400;
  font-size: clamp(76px, min(15vw, 30vh), 250px); line-height: 1;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.55));
}
.when { margin: 0; color: var(--accent); font-size: clamp(24px, 3.2vw, 44px); letter-spacing: .04em !important; }
.when .sep { opacity: .6; margin: 0 .35em; }
.when .nw { white-space: nowrap; }
@media (max-width: 600px) { .when .nw { display: block; } .when .sep { display: none; } }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  background: var(--accent); color: var(--accent-ink);
  padding: 15px 30px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(226,182,115,.4); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.4); }
.scroll-hint {
  position: absolute !important; bottom: 22px; font-size: 11px; letter-spacing: .3em;
  color: var(--muted); animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Dates ---------- */
.dates {
  position: relative; padding: clamp(80px, 14vw, 180px) var(--gutter);
  isolation: isolate; background: var(--bg);
}
.dates::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url(images/hands.jpg) center/cover; filter: grayscale(1) brightness(.75);
}
.dates::after {
  content: ""; position: absolute; inset: 0; z-index: -1; mix-blend-mode: multiply;
  background: linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)), var(--red);
}
.dates h2 {
  margin: 0; line-height: .9; color: var(--fg);
  font-size: clamp(56px, 10vw, 160px);
}
.dates h2 span { display: block; }
.dates .loc {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 40px;
  font-size: clamp(18px, 2.4vw, 30px); font-weight: 700; text-transform: uppercase;
}
.dates .loc span:last-child { color: var(--muted); }

/* ---------- Photo strips ---------- */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 20px);
  padding: clamp(60px, 8vw, 120px) var(--gutter); max-width: 1500px; margin: 0 auto;
}
.strip figure { margin: 0; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.strip figure:hover img { transform: scale(1.05); }
.strip figure:nth-child(2) { transform: translateY(var(--shift, 0)); }
@media (max-width: 600px) {
  .strip { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; }
  .strip figure { scroll-snap-align: center; }
}

/* ---------- Verse ---------- */
.verse {
  background: radial-gradient(ellipse at 30% 20%, #d2200f, var(--red) 45%, #7a0602 100%); color: #fff;
  padding: clamp(70px, 10vw, 140px) var(--gutter);
}
.verse blockquote {
  margin: 0 auto; max-width: 1200px;
  font-size: clamp(28px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.025em; font-weight: 500;
}
.verse blockquote strong { font-weight: 900; color: var(--accent); }
.verse cite { display: block; text-align: right; margin-top: 24px; font: italic 700 clamp(16px,1.8vw,22px) var(--serif); }

/* ---------- Pillars ---------- */
.pillars { padding: clamp(80px, 10vw, 150px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px;
}
.pillars h2 { margin: 0 0 50px; font-size: clamp(56px, 8.5vw, 130px); line-height: .9; }
.pillar-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(226,182,115,.3); border: 1px solid rgba(226,182,115,.3); }
.pillar { background: var(--bg); padding: 34px 26px 40px; }
.pillar b { display: block; font-size: 14px; color: var(--accent); margin-bottom: 40px; }
.pillar h3 { margin: 0 0 12px; font-size: 40px; line-height: 1; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
@media (max-width: 900px) { .pillar-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillar-list { grid-template-columns: 1fr; } }

/* ---------- Marquee gallery ---------- */
.marquee { overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: clamp(180px, 26vw, 340px); width: auto; border-radius: 4px; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Final CTA ---------- */
.final {
  position: relative; text-align: center; padding: clamp(100px, 16vw, 220px) var(--gutter);
  background: linear-gradient(rgba(68,1,0,.72), rgba(14,1,1,.92)), url(images/crowd.jpg) center/cover;
}
.final h2 { margin: 0; font-size: clamp(72px, 14vw, 230px); line-height: .88; }
.final p { color: var(--muted); font-size: 18px; margin: 24px 0 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 50px var(--gutter) 40px; text-align: center; }
.site-footer .links { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.site-footer .links a:hover { color: var(--accent); }
.site-footer .social { display: flex; justify-content: center; gap: 18px; margin: 22px 0; }
.site-footer .social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.site-footer .social a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer .social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer small { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ page ---------- */
.page-hero { padding: 160px var(--gutter) 40px; max-width: 1100px; margin: 0 auto; }
.page-hero h1 { margin: 0; font-size: clamp(90px, 18vw, 260px); line-height: .85; }
.page-hero h1 span { color: var(--accent); }
.faq { max-width: 1100px; margin: 0 auto; padding: 20px var(--gutter) 120px; }
.faq details { border-top: 1px solid rgba(255,255,255,.18); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px;
  font-size: clamp(19px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3em; line-height: .8; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 28px; max-width: 760px; color: var(--muted); line-height: 1.65; font-size: 17px; }
.faq details a { color: var(--accent); text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (hover: none) { .dates { background-attachment: scroll; } }
.site-footer .footer-logo { width: 220px; height: auto; margin: 0 auto 28px; }
.final h2 .final-logo { width: min(80vw, 640px); height: auto; margin: .12em auto 0; }
.nav .lang { opacity: .6; }
.nav .lang a { opacity: 1; }
.nav .lang a[aria-current] { color: var(--accent); }

/* ---------- Store ---------- */
.store {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  max-width: 1400px; margin: 0 auto; padding: clamp(70px, 10vw, 140px) var(--gutter);
}
.store-img { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; border: 1px solid rgba(226,182,115,.35); }
.store-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.store-img:hover img { transform: scale(1.04); }
.store-copy h2 {
  margin: 0 0 22px; font-family: var(--brand); font-weight: 400; text-transform: lowercase;
  font-size: clamp(60px, 8vw, 130px); line-height: .9;
}
.store-copy > p:not(.section-label) { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 440px; margin: 0; }
@media (max-width: 800px) { .store { grid-template-columns: 1fr; } }

/* ---------- Programme ---------- */
.programme { max-width: 1400px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; scroll-margin-top: 60px; }
.programme h2 {
  margin: 0 0 50px; font-family: var(--brand); font-weight: 400; text-transform: lowercase;
  font-size: clamp(56px, 8.5vw, 130px); line-height: .9;
}
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); align-items: start; }
.day { border: 1px solid rgba(226,182,115,.35); border-radius: 6px; background: linear-gradient(180deg, rgba(181,18,10,.22), transparent 60%); }
.day header { padding: 24px 26px 18px; border-bottom: 1px solid rgba(226,182,115,.35); }
.day-n { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.day h3 { margin: 6px 0 0; font-family: var(--brand); font-weight: 400; text-transform: lowercase; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; white-space: nowrap; }
.day ol { list-style: none; margin: 0; padding: 8px 0; }
.day li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 26px; color: var(--muted); font-size: 15px; }
.day li time { font-variant-numeric: tabular-nums; }
.day li time span { opacity: .6; }
.day li.session { color: var(--fg); font-weight: 700; background: rgba(226,182,115,.08); }
.day li.session time { color: var(--accent); }
@media (max-width: 900px) { .days { grid-template-columns: 1fr; } }
.faq details address { font-style: normal; color: var(--fg); line-height: 1.6; font-size: 17px; margin: -12px 0 16px; padding-left: 14px; border-left: 2px solid var(--accent); }

/* ---------- Music ---------- */
.music { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.music-head h2 {
  margin: 0 0 18px; font-family: var(--brand); font-weight: 400; text-transform: lowercase;
  font-size: clamp(56px, 8.5vw, 130px); line-height: .9;
}
.music-head > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 520px; margin: 0 0 44px; }
.music-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.music-card { display: flex; flex-direction: column; align-items: flex-start; }
.music-card .btn { margin-top: 18px; }
.music-card .btn svg { width: 18px; height: 18px; fill: currentColor; }
.embed {
  width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(226,182,115,.35);
  background: linear-gradient(160deg, rgba(181,18,10,.35), rgba(14,1,1,.9));
}
.embed-spotify { flex: 1; min-height: 420px; }
.embed-youtube { aspect-ratio: 16/9; }
.tracklist { list-style: none; counter-reset: t; margin: 12px 0 0; padding: 0; width: 100%; border-top: 1px solid rgba(226,182,115,.25); }
.tracklist li { counter-increment: t; border-bottom: 1px solid rgba(226,182,115,.15); }
.tracklist button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 14px; width: 100%; padding: 11px 6px;
  color: var(--muted); font: 600 15px var(--font); transition: color .2s, background .2s;
}
.tracklist button::before { content: counter(t, decimal-leading-zero); color: var(--accent); opacity: .7; font-variant-numeric: tabular-nums; }
.tracklist button:hover, .tracklist button:focus-visible { color: var(--fg); background: rgba(226,182,115,.06); }
.tracklist button[aria-current] { color: var(--fg); }
.tracklist button[aria-current]::after { content: "▶"; margin-left: auto; color: var(--accent); font-size: 11px; align-self: center; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.embed-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.embed-ph svg { width: 46px; height: 46px; fill: var(--accent); opacity: .8; }
@media (max-width: 900px) { .music-grid { grid-template-columns: 1fr; } .embed-spotify { min-height: 380px; } }
