/* ---------- fonts (self-hosted, SIL Open Font License – no requests to Google) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }

/* ============ Xaguar — Medicine House Music ============ */
:root {
  --ink: #0d0a07;
  --ink-2: #16110b;
  --ink-3: #1f180f;
  --gold: #c9a24b;
  --gold-soft: #e0c483;
  --gold-dim: rgba(201, 162, 75, .28);
  --sand: #eee4d1;
  --sand-dim: #b9ad98;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 5vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font: 300 17px/1.75 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-size: 1.08em; color: var(--gold-soft); }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
h2 {
  font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05; color: var(--sand); margin-bottom: .5em; letter-spacing: .01em;
}
h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
h4 { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: .5em; }
.eyebrow {
  font-size: .74rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4rem;
}
.lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; color: var(--gold-soft); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.1rem; min-height: 48px;
  font: 400 .76rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold); transition: .35s ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--ghost { color: var(--sand); border-color: rgba(238, 228, 209, .45); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.link { color: var(--gold); text-decoration: none; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; }
.link:hover { color: var(--gold-soft); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem var(--gutter); transition: .4s ease;
}
.nav.is-solid { background: rgba(13, 10, 7, .88); backdrop-filter: blur(10px); padding-block: .85rem; border-bottom: 1px solid rgba(201,162,75,.12); }
.nav__brand { display: block; line-height: 0; text-decoration: none; }
.nav__brand img { width: 104px; height: auto; }
.nav__links { display: flex; gap: 2.4rem; }
.nav__links a { text-decoration: none; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; opacity: .85; transition: .25s; }
.nav__links a:hover { color: var(--gold); opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--sand); transition: .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: end center;
  text-align: center; overflow: hidden; padding: 7rem var(--gutter) clamp(5rem, 9vh, 7rem);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 30%; transform: scale(1.08); animation: slowzoom 22s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(13,10,7,.05) 0%, rgba(13,10,7,.35) 55%, rgba(13,10,7,.8) 100%),
    linear-gradient(180deg, rgba(13,10,7,.55) 0%, transparent 22%, transparent 38%, rgba(13,10,7,.85) 68%, var(--ink) 100%);
}
.hero__content { position: relative; max-width: 820px; }
.hero__wordmark { margin: 0 0 1.4rem; opacity: 0; animation: rise 1.6s .2s ease forwards; }
.hero__wordmark img { width: clamp(260px, 36vw, 520px); margin: 0 auto; filter: drop-shadow(0 0 24px rgba(0,0,0,.6)); }
.hero__tag { font-size: .78rem; letter-spacing: .6em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; opacity: 0; animation: rise 1.4s .7s ease forwards; }
.hero__claim {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem); line-height: 1.35; color: var(--sand);
  opacity: 0; animation: rise 1.4s 1s ease forwards;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }
.hero > .hero__content .hero__cta { opacity: 0; animation: rise 1.4s 1.3s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- sun rays motif ---------- */
.rays {
  position: absolute; left: 50%; top: 0; width: min(1100px, 160vw); aspect-ratio: 2 / 1; transform: translateX(-50%);
  background: repeating-conic-gradient(from 90deg at 50% 0%, var(--gold-dim) 0deg .25deg, transparent .25deg 7.5deg);
  -webkit-mask: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
          mask: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .55; pointer-events: none;
}

/* ---------- intro ---------- */
.intro {
  --hb: clamp(5rem, 9vh, 7rem);          /* hero bottom padding (space under the buttons) */
  --pt: 2.5rem;                           /* intro top padding */
  --mark: clamp(150px, 16vw, 210px);      /* logo size */
  position: relative; text-align: center; padding: var(--pt) var(--gutter) clamp(6rem, 12vw, 10rem);
  overflow-x: clip;
}
.intro__mark { display: block; position: relative; width: var(--mark); margin: 0 auto 2.6rem; z-index: 2; }
.intro__mark img { position: relative; z-index: 1; width: 100%; }
.intro__mark .rays { top: 30%; }
/* golden thread: starts under the hero buttons, ends as a glowing point in the jaguar's third eye */
.thread {
  position: absolute; left: 50%; width: 1px; translate: -50% 0; z-index: 2;
  top: calc(-1 * var(--hb) - var(--pt)); height: calc(var(--hb) + var(--pt) + var(--mark) * .30);
  background: linear-gradient(to bottom, rgba(201,162,75,.15), var(--gold) 70%); overflow: hidden;
}
.thread::before {   /* light travelling down the thread */
  content: ""; position: absolute; left: 0; width: 1px; height: 40%; top: -40%;
  background: linear-gradient(to bottom, transparent, #fff3d0, transparent); animation: travel 3.2s ease-in infinite;
}
.intro__mark::after {
  content: ""; position: absolute; left: 50%; top: 30%; width: 7px; height: 7px; border-radius: 50%; translate: -50% -50%; z-index: 3;
  background: #fff3d0; box-shadow: 0 0 10px 3px rgba(224,196,131,.8), 0 0 26px 8px rgba(201,162,75,.35); animation: glow 3.2s ease-in-out infinite;
}
@keyframes travel { 0% { top: -40%; } 85%, 100% { top: 100%; } }
@keyframes glow { 0%, 70% { opacity: .55; } 88% { opacity: 1; } 100% { opacity: .55; } }
.intro .eyebrow { position: relative; }
.intro > .rays { display: none; }
.intro__lead {
  position: relative; max-width: 900px; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.35;
}
.genres { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; position: relative; }
.genres li { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.genres li + li::before { content: "◆"; font-size: .45rem; color: var(--gold); margin-right: 2.2rem; vertical-align: middle; }

/* ---------- split ---------- */
.split {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.split--rev .split__img { order: 2; }
.split__img { margin: 0; position: relative; }
.split__img img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; }
.split__img::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold-dim); z-index: -1;
}
.split--rev .split__img::before { inset: -14px -14px 14px 14px; }
.split__text p { color: var(--sand); opacity: .9; }
.split__text .eyebrow { color: var(--gold); opacity: 1; }
.split__text .lead { color: var(--gold-soft); opacity: 1; }
.signs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.2rem 2.6rem; margin: 2.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--gold-dim); }
.signs dt { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.signs dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
@media (max-width: 560px) { .signs { grid-template-columns: 1fr 1fr; } }
.music, .about { padding: clamp(4rem, 9vw, 8rem) 0; }

.player { margin: 2rem 0 1.4rem; border: 1px solid var(--gold-dim); background: var(--ink-2); }
.player iframe { display: block; width: 100%; height: 166px; border: 0; }
.player__facade { display: flex; align-items: stretch; width: 100%; height: 166px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--sand); }
.player__facade img { width: 166px; height: 166px; object-fit: cover; flex: none; }
.player__info { display: flex; align-items: center; gap: 1.1rem; padding: 0 1.4rem; }
.player__play { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); transition: .3s; }
.player__play::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 15px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.player__facade:hover .player__play { background: rgba(201,162,75,.18); transform: scale(1.06); }
.player__title { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.player__note { display: block; margin-top: .25rem; font-size: .72rem; letter-spacing: .12em; color: var(--sand-dim); }
@media (max-width: 420px) { .player__facade img { width: 110px; } .player__info { padding: 0 1rem; gap: .8rem; } }
.links { display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; }

.video { max-width: var(--max); margin: clamp(4rem, 8vw, 7rem) auto 0; padding: 0 var(--gutter); }
.video__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--gold-dim);
  background: var(--ink-3); cursor: pointer; overflow: hidden;
}
.video__frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); transition: transform 1.2s ease, filter .5s; }
.video__frame:hover img { transform: scale(1.03); filter: brightness(.9); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--gold); background: rgba(13,10,7,.45); backdrop-filter: blur(4px); transition: .3s;
}
.video__play::after { content: ""; position: absolute; left: 36px; top: 29px; border-left: 22px solid var(--gold); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video__frame:hover .video__play { background: rgba(201,162,75,.2); transform: translate(-50%, -50%) scale(1.06); }
.video__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: 1.8rem; }
.video__caption .eyebrow { margin-bottom: .6rem; }
.video__caption h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.video__caption p { margin: 0; opacity: .8; }
.video__more { display: inline-block; margin-top: .9rem; }

/* ---------- ceremony ---------- */
.ceremony {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 12%, var(--ink-2) 88%, var(--ink) 100%);
  padding: clamp(6rem, 11vw, 10rem) var(--gutter);
}
.ceremony__head { max-width: 780px; margin: 0 auto 5rem; text-align: center; }
.ceremony__head h2 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.ceremony__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--gold-soft); margin: -.9em 0 1.4rem; letter-spacing: .02em; }
.ceremony__intro { font-size: 1.1rem; opacity: .9; }

.journey {
  list-style: none; padding: 0; margin: 0 auto; max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative;
}
/* thin gold thread connecting the four stations */
.journey::before {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 1.55rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); opacity: .55;
}
.journey::after {   /* travelling light I → II → III → IV */
  content: ""; position: absolute; top: calc(1.55rem - 1px); left: 12.5%; width: 9%; height: 3px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, #fff3d0, transparent); filter: blur(.5px); opacity: 0;
  animation: journey-light 6s linear infinite;
}
@keyframes journey-light {
  0% { left: 12.5%; opacity: 0; } 3% { opacity: 1; }
  75% { left: 87.5%; opacity: 1; } 81%, 100% { left: 87.5%; opacity: 0; }
}
.journey li { text-align: center; position: relative; padding: 0 1.2rem; }
.journey li .journey__n { animation: station 6s ease-out infinite; }
.journey li:nth-child(2) .journey__n { animation-delay: 1.5s; }
.journey li:nth-child(3) .journey__n { animation-delay: 3s; }
.journey li:nth-child(4) .journey__n { animation-delay: 4.5s; }
@keyframes station {
  0% { box-shadow: 0 0 0 0 rgba(224,196,131,0); }
  4% { box-shadow: 0 0 16px 3px rgba(224,196,131,.55); color: #fff3d0; }
  22%, 100% { box-shadow: 0 0 0 0 rgba(224,196,131,0); }
}
.journey__n {
  position: relative; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin: 0 auto 1.4rem;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--ink-2);
  font-family: var(--serif); font-size: 1.15rem; color: var(--gold); line-height: 1;
}
.journey__n::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--gold-dim); border-radius: 50%; }
.journey h3 { margin-bottom: .6rem; }
.journey p { margin: 0 auto; max-width: 17rem; font-size: .98rem; opacity: .8; }

.statement {
  max-width: 900px; margin: 5.5rem auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4; color: var(--gold-soft);
}

.statement--close { margin-top: 4.5rem; }
.wide-img { max-width: var(--max); margin: 4rem auto 5rem; overflow: hidden; }
.wide-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) contrast(1.05); }

.guidelines { max-width: var(--max); margin: 0 auto; }
.guidelines > h3 { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 3rem; }
.guidelines__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem 3.5rem; }
.guidelines__grid > div { padding-top: 1.4rem; position: relative; }
.guidelines__grid > div::before {
  content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.guidelines__grid p { margin: 0; font-size: .98rem; opacity: .85; }
.guidelines .center { margin-top: 3.5rem; }

/* ---------- quote ---------- */
.quote { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; padding: 6rem var(--gutter); }
.quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: brightness(.62) saturate(1.05); }
.quote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink)); z-index: 1; }
.quote blockquote[hidden] { display: none; }
.quote blockquote {
  position: relative; z-index: 2; margin: 0; text-align: center; max-width: 900px;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.25;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}

/* ---------- gallery ---------- */
.gallery { padding: clamp(5rem, 9vw, 8rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 26vw, 330px); grid-auto-flow: dense; gap: 10px; }
.g { padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter .6s; filter: saturate(.9); }
.g:hover img { transform: scale(1.05); filter: saturate(1.05); }
/* portrait: keep the richer 'hover' colour permanently */
.g--vivid img { filter: saturate(1.05); }
.g--vivid:hover img { filter: saturate(1.12); }
.g:nth-child(1) { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* ---------- contact ---------- */
.contact { --cp: clamp(6rem, 11vw, 9rem); --cmark: 165px; position: relative; text-align: center; padding: var(--cp) var(--gutter) 5rem; overflow: hidden; }
.contact__mark { position: relative; width: var(--cmark); margin: -2.2rem auto 2rem; }
.contact__logo { width: 100%; position: relative; z-index: 1; }
.contact h2, .contact p, .contact .hero__cta, .social { position: relative; }
.contact > p { max-width: 560px; margin: 0 auto; opacity: .9; }
.social { list-style: none; padding: 0; margin: 4rem 0 0; display: flex; justify-content: center; gap: 1rem; }
.social a {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--gold-dim); color: var(--gold); transition: .3s;
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.social li:has(a[href="#"]) { display: none; }

.footer {
  border-top: 1px solid rgba(201,162,75,.14); padding: 2rem var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-dim);
}
.footer p { margin: 0; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--gold); }
.footer > p:first-child { color: var(--gold); }
.footer__legal a { color: var(--sand); opacity: .85; transition: .25s; } .footer__legal a:hover { color: var(--gold); opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,6,4,.95); display: grid; place-items: center; padding: 4vmin; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 1rem; right: 1.2rem; width: 48px; height: 48px; background: none; border: 0; color: var(--sand); font-size: 2.2rem; cursor: pointer; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .hero__wordmark, .hero__tag, .hero__claim, .hero__cta { animation: none !important; opacity: 1 !important; transform: none !important; }
  .thread::before, .intro__mark::after, .journey::after, .journey li .journey__n { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .journey::before, .journey::after { display: none; }
  .journey li .journey__n { animation: none; }
  .guidelines__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; background: rgba(13,10,7,.97); flex-direction: column;
    align-items: center; justify-content: center; gap: 2.2rem; opacity: 0; pointer-events: none; transition: .35s;
  }
  .nav__links a { font-size: .95rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__right { position: relative; z-index: 2; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__img { order: 0; }
  .split__img { max-width: 520px; margin-left: 14px; }
  .split--rev .split__img { margin-left: 0; margin-right: 14px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 58vw; }
  .g:nth-child(1) { grid-row: span 1; }
}
@media (max-width: 700px) {
  .hero__bg img { height: 68%; object-position: 50% 35%; }
  .hero__veil { background: linear-gradient(180deg, rgba(13,10,7,.55) 0%, transparent 15%, transparent 42%, rgba(13,10,7,.9) 64%, var(--ink) 70%); }
  .hero__wordmark img { width: min(78vw, 340px); }
  .hero__tag { letter-spacing: .4em; margin-bottom: 1rem; }
  .hero__cta { margin-top: 1.8rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .journey { grid-template-columns: 1fr; row-gap: 2.6rem; }
  .statement br { display: none; }
  .guidelines__grid { grid-template-columns: 1fr; }
  .wide-img img { aspect-ratio: 4 / 3; }
  .genres li + li::before { margin-right: 1rem; }
  .genres { gap: .6rem 1rem; }
  .btn { width: 100%; }
  .video__play { width: 64px; height: 64px; }
  .video__play::after { left: 26px; top: 20px; border-left-width: 17px; border-top-width: 12px; border-bottom-width: 12px; }
  .footer { justify-content: center; text-align: center; }
}

/* ---------- contact form ---------- */
.cform { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--gold-dim); background: var(--ink-2); color: var(--sand); }
.cform::backdrop { background: rgba(8,6,4,.85); backdrop-filter: blur(4px); }
.cform__inner { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.5rem, 5vw, 2.8rem); position: relative; }
.cform__inner h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin: -.6rem 0 .2rem; }
.cform__inner .eyebrow { margin: 0; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.cform label { display: flex; flex-direction: column; gap: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cform label small { letter-spacing: .05em; text-transform: none; color: var(--sand-dim); }
.cform input, .cform select, .cform textarea {
  font: 300 1rem var(--sans); color: var(--sand); background: var(--ink); border: 1px solid rgba(201,162,75,.3);
  padding: .8rem .9rem; border-radius: 0; letter-spacing: normal; text-transform: none; width: 100%;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--gold); }
.cform .btn { align-self: flex-start; cursor: pointer; }
.cform__close { position: absolute; top: .6rem; right: .8rem; width: 44px; height: 44px; background: none; border: 0; color: var(--sand); font-size: 2rem; cursor: pointer; }
.cform__note { margin: 0; font-size: .9rem; color: var(--gold-soft); }
button.btn { font-family: var(--sans); }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }

/* ---------- dates page ---------- */
.dates { position: relative; overflow: hidden; min-height: 80vh; text-align: center; padding: 9rem var(--gutter) 6rem; max-width: 900px; margin: 0 auto; }
.dates h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin: 0 0 1rem; }
.dates__logo { width: clamp(150px, 16vw, 200px); margin: -1.5rem auto 2rem; position: relative; }
.dates .eyebrow, .dates h1, .dates__intro, .events, .events__empty, .dates .hero__cta { position: relative; }
.dates__intro { opacity: .85; margin: 0 0 3.5rem; }
.events { list-style: none; padding: 0; margin: 0 0 3rem; text-align: left; }
.event { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.6rem 0; border-top: 1px solid var(--gold-dim); }
.event:last-child { border-bottom: 1px solid var(--gold-dim); }
.event__date { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); line-height: 1.2; }
.event__date span { display: block; font-family: var(--serif); font-size: 2.4rem; letter-spacing: 0; }
.event h2 { font-size: 1.6rem; margin: 0 0 .2rem; }
.event p { margin: 0; opacity: .8; }
.event p a { color: var(--gold); text-decoration: none; }
.event .event__note { margin-top: .35rem; font-size: .8rem; font-style: italic; color: var(--sand-dim); }
.events__empty { font-family: var(--serif); font-style: italic; font-size: 1.4rem; opacity: .9; margin: 0 0 2.5rem; }
.events__empty a { color: var(--gold); }
.events__empty[hidden] { display: none; }
@media (max-width: 560px) { .event { grid-template-columns: 4.5rem 1fr; } .event .btn { grid-column: 1 / -1; } }


/* ---------- Shipibo kené accents ---------- */
/* a faint shimmer of the pattern in the menu bar, only once the bar is solid */
.nav { isolation: isolate; }
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../pattern/shipibo-tile-goldlight.png") center 22% / 247px 704px repeat;
  opacity: 0; transition: opacity .4s ease;
}
.nav.is-solid::after { opacity: .07; }
.nav.is-open::after { opacity: 0 !important; }
/* slim kené band closing the page above the footer */
.pattern-band { height: 58px; background: url("../pattern/shipibo-strip-gold.png") center / auto 100% repeat-x; opacity: .55; }   /* same scale as the Rao Caballo footer */

/* ritual line variants: subtle = slower, gold only, stations brighten their ring instead of glowing */
.journey::after {
  background: linear-gradient(90deg, transparent, rgba(236,214,160,.8), transparent); height: 1.5px; top: calc(1.55rem - .25px); filter: none; width: 13%;
  animation-duration: 8s; animation-timing-function: linear;
}
.journey li .journey__n { animation: station-soft 8s linear infinite; animation-delay: -.28s; }
.journey li:nth-child(2) .journey__n { animation-delay: 1.72s; }
.journey li:nth-child(3) .journey__n { animation-delay: 3.72s; }
.journey li:nth-child(4) .journey__n { animation-delay: 5.72s; }
@keyframes station-soft {
  0%, 100% { border-color: var(--gold); color: var(--gold); }
  6% { border-color: var(--gold-soft); color: var(--gold-soft); background: rgba(201,162,75,.1); box-shadow: 0 0 10px 1px rgba(224,196,131,.3); }
  24% { border-color: var(--gold); color: var(--gold); background: var(--ink-2); }
}


/* registration on the dates page */
.register { position: relative; text-align: left; margin: 4.5rem auto 0; padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--gold-dim); background: var(--ink-2); max-width: 680px; }
.register > .eyebrow, .register > h2 { text-align: center; }
.register > h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 1.2rem; }
.register__form { padding: 0; }
.register .cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.register label { display: flex; flex-direction: column; gap: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.register label small { letter-spacing: .05em; text-transform: none; color: var(--sand-dim); }
.register input, .register select, .register textarea {
  font: 300 1rem var(--sans); color: var(--sand); background: var(--ink); border: 1px solid rgba(201,162,75,.3);
  padding: .8rem .9rem; border-radius: 0; letter-spacing: normal; text-transform: none; width: 100%;
}
.register input:focus, .register select:focus, .register textarea:focus { outline: none; border-color: var(--gold); }
.register .btn { align-self: flex-start; cursor: pointer; }
.register__book { position: relative; margin: 2.5rem 0 0; opacity: .85; }
.register__book a { color: var(--gold); text-decoration: none; }
@media (max-width: 560px) { .register .cform__row { grid-template-columns: 1fr; } }


/* teaser for upcoming productions in the music section */
.teaser { margin: 1.6rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-soft); opacity: 1 !important; }
.teaser a { font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-decoration: none; margin-left: .4rem; white-space: nowrap; }

/* jaguar line – "soft": gold line like subtle, eye lights up like bright, exactly when the light arrives.
   Both use the same duration and linear timing; the light's centre reaches the eye at ~69 %. */
.thread { background: linear-gradient(to bottom, rgba(201,162,75,.08), rgba(201,162,75,.75) 75%); }
.thread::before {
  background: linear-gradient(to bottom, transparent, rgba(224,196,131,.95), transparent);
  animation: travel-sync 3.2s linear infinite;
}
.intro__mark::after { animation: glow-sync 3.2s linear infinite; }
@keyframes travel-sync { 0% { top: -40%; } 80%, 100% { top: 100%; } }
@keyframes glow-sync {
  0%, 62% { opacity: .5; scale: 1; }
  70% { opacity: 1; scale: 1.35; }
  88%, 100% { opacity: .5; scale: 1; }
}


/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 9rem var(--gutter) 5rem; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.05; margin: 0 0 1.5rem; }
.legal h2 { font-family: var(--serif); font-size: 1.6rem; margin: 2.4rem 0 .6rem; color: var(--gold-soft); }
.legal p, .legal li { opacity: .9; }
.legal a { color: var(--gold); }
.legal__date { margin-top: 3rem; font-size: .85rem; color: var(--sand-dim); }

/* ---------- logo as "sun" on the rays, like in the intro (booking section + dates page) ---------- */
.dates__mark { position: relative; width: clamp(150px, 16vw, 200px); margin: -1.5rem auto 2rem; }
.dates__mark .dates__logo { width: 100%; margin: 0; position: relative; z-index: 1; }
.rays--mark { top: 30%; }
.contact { padding-top: 3rem; }
.contact__mark { width: clamp(135px, 14vw, 180px); margin: 0 auto 1.6rem; }
.dates { padding-top: 6.5rem; }
.dates__mark { width: clamp(135px, 14vw, 180px); margin: 0 auto 1.6rem; }
.cform__intro { margin: -.4rem 0 .4rem; font-size: .95rem; opacity: .85; }
.cform__intro a { color: var(--gold); }
.mails { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.4rem; margin: 1.6rem 0 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-dim); }
.mails a { margin-left: .5rem; color: var(--gold); text-decoration: none; letter-spacing: .05em; text-transform: none; font-size: .95rem; }
.mails a:hover { color: var(--gold-soft); }
.cform__direct { margin: 0; font-size: .85rem; color: var(--sand-dim); }
.cform__direct a { color: var(--gold); text-decoration: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: wait; }

/* ---------- rays growing out of the jaguar's third eye ---------- */
@property --wave { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.intro__mark .rays { transform: none; translate: -50% 0; transform-origin: 50% 0; }
/* grow: rays expand from the eye once the intro comes into view */
.intro__mark .rays { scale: .04; opacity: 0; }
.intro__mark.rays-on .rays { animation: rays-grow 3.4s cubic-bezier(.22,.7,.2,1) forwards; }
@keyframes rays-grow { from { scale: .04; opacity: 0; } 30% { opacity: .55; } to { scale: 1; opacity: .55; } }
/* wave: a ring of light runs outward along the rays each time the eye lights up (70 % of the 3.2 s cycle) */
.intro__mark .rays::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: repeating-conic-gradient(from 90deg at 50% 0%, rgba(236,212,160,.7) 0deg .3deg, transparent .3deg 7.5deg);
  -webkit-mask: radial-gradient(ellipse at 50% 0%, transparent calc(var(--wave) - 9%), #000 var(--wave), transparent calc(var(--wave) + 9%));
          mask: radial-gradient(ellipse at 50% 0%, transparent calc(var(--wave) - 9%), #000 var(--wave), transparent calc(var(--wave) + 9%));
}
.intro__mark.rays-on .rays::after { animation: rays-wave 3.2s linear infinite; animation-delay: var(--wave-delay, 0s); }
@keyframes rays-wave {
  0%, 68% { --wave: 0%; opacity: 0; }
  70% { --wave: 2%; opacity: .85; }
  100% { --wave: 75%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .intro__mark .rays { scale: 1 !important; opacity: .55 !important; animation: none !important; }
  .intro__mark .rays::after { display: none; }
}
