/* ============================================================
   Expo Compositores, umbrella site design system.
   Shares tokens, type and chrome with expocompositoresfoundation.org
   and hogardelcompositor.org. Single stylesheet, no build step.
   ============================================================ */

:root {
  /* dark (primary) */
  --bg: #08070a;
  --panel: #0c0b0f;
  --panel-2: #100e13;
  --line: rgba(236, 208, 140, 0.12);
  --line-strong: rgba(236, 208, 140, 0.26);
  --gold: #ecd08c;
  --gold-light: #f7dc95;
  --gold-dark: #d7b879;
  --text: #f2efe9;
  --muted: #a7a29b;
  --faint: #85807a;

  /* light (alternating sections) */
  --paper: #f4f1e9;
  --paper-2: #eae5d8;
  --ink: #17140f;
  --ink-2: #453f34;
  --ink-muted: #6d6558;
  --gold-deep: #7f5f10;
  --gold-mid: #a8842a;
  --line-light: rgba(23, 20, 15, 0.12);

  --wrap: 1140px;
  --pad: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
  /* long unbreakable tokens (the contacto@ address, bare domains) otherwise
     push past a 360px viewport */
  overflow-wrap: break-word;
}
/* height:auto is load bearing. Every img carries width/height attributes for
   CLS, and without this the attribute height wins whenever CSS sets only the
   width, which stretched the hero logo to 290x487 from a 1072x654 source. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.serif { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; }
.gold-text {
  background: linear-gradient(135deg, #d7b879 0%, #f7dc95 40%, #ecd08c 60%, #d7b879 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #14100a; padding: 10px 18px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
.kicker {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500; line-height: 1.12; letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
}
.display.xl { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2.display { margin-bottom: 20px; }
.lede { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--muted); max-width: 68ch; }
.body-copy p { color: var(--muted); margin-bottom: 16px; max-width: 72ch; }
.body-copy p:last-child { margin-bottom: 0; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: filter .18s ease, background .18s ease, color .18s ease; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, #d7b879 0%, #f7dc95 50%, #d7b879 100%); color: #1a1408; }
.btn-gold:hover { filter: brightness(1.07); color: #1a1408; }
.btn-ghost { border-color: var(--line-strong); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(236, 208, 140, .08); color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- sections ---------- */
section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
section.tight { padding: clamp(46px, 5vw, 70px) 0; }
section.panel { background: var(--panel); }
section.panel-2 { background: var(--panel-2); }
section.light { background: var(--paper); color: var(--ink); }
section.light-2 { background: var(--paper-2); color: var(--ink); }
section.light .kicker, section.light-2 .kicker { color: var(--gold-deep); }
section.light .display, section.light-2 .display { color: var(--ink); }
section.light .gold-text, section.light-2 .gold-text {
  background: linear-gradient(135deg, #8a6712 0%, #a8842a 50%, #8a6712 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
section.light .lede, section.light-2 .lede,
section.light .body-copy p, section.light-2 .body-copy p { color: var(--ink-2); }
section.light a, section.light-2 a { color: var(--gold-deep); }
section.light a:hover, section.light-2 a:hover { color: var(--gold-mid); }
section.light .rule, section.light-2 .rule { background: linear-gradient(90deg, transparent, var(--line-light), transparent); }
section.light .btn-ghost, section.light-2 .btn-ghost { border-color: rgba(23,20,15,.22); color: var(--gold-deep); }
section.light .btn-ghost:hover, section.light-2 .btn-ghost:hover { background: rgba(23,20,15,.05); }
section.light .card, section.light-2 .card { background: #fff; border-color: var(--line-light); }
section.light .card h3, section.light-2 .card h3 { color: var(--ink); }
section.light .card p, section.light-2 .card p,
section.light .muted, section.light-2 .muted { color: var(--ink-muted); }
section.light .meta, section.light-2 .meta { color: var(--ink-muted); }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- grid ---------- */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.solo { grid-template-columns: minmax(0, 460px); justify-content: center; }

/* ---------- productions ---------- */
.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 860px; margin: 0 auto; }
.prods.one { grid-template-columns: minmax(0, 420px); justify-content: center; }
@media (max-width: 620px) { .prods { grid-template-columns: minmax(0, 1fr); } }
/* The ratio lives on the wrapper, never on the img: aspect-ratio is ignored on a
   flex/grid item whose main size resolves from intrinsic height, which is what
   rendered .dcard images 640px tall instead of 255px. */
.prod .pcover { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.prod .pcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod .pt { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; margin-top: 18px; color: var(--gold); font-weight: 600; }
.prod .pa { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.prod .pd { color: var(--muted); font-size: .94rem; margin-top: 10px; }
section.light .prod .pcover, section.light-2 .prod .pcover { border-color: var(--line-light); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.split.rev > *:first-child { order: 2; }
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.rev > *:first-child { order: 0; }
}
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card h3 { font-size: 1.06rem; margin-bottom: 10px; color: var(--text); font-weight: 600; }
.card p { color: var(--muted); font-size: .94rem; }
.card:hover { border-color: var(--line-strong); }
.meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 5vw, 68px) 0 clamp(44px, 5vw, 76px); text-align: center; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(236, 208, 140, .10), transparent 62%);
}
.hero > * { position: relative; z-index: 1; }
.hero-logo { width: min(290px, 62vw); margin: 0 auto 26px; }
.hero .lede { margin: 22px auto 0; }
.hero .btn-row { justify-content: center; }

/* ---------- vertical cards (the 4 houses) ---------- */
.verts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 780px) { .verts { grid-template-columns: minmax(0, 1fr); } }
.vert {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); min-height: 300px;
  transition: border-color .22s ease, transform .22s ease;
}
.vert:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.vert img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; transition: opacity .3s ease, transform .5s ease; }
.vert:hover img { opacity: .5; transform: scale(1.035); }
.vert .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,10,.35) 0%, rgba(8,7,10,.86) 62%, rgba(8,7,10,.96) 100%); }
.vert .vbody { position: relative; z-index: 2; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.vert .vname { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.15; color: var(--text); margin-bottom: 8px; }
.vert .vdesc { color: var(--muted); font-size: .93rem; max-width: 46ch; }
.vert .vgo { margin-top: 16px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: center; }
@media (max-width: 620px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat .n { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1; }
.stat .l { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }
section.light .stat .l, section.light-2 .stat .l { color: var(--ink-muted); }

/* ---------- people ---------- */
.people { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.person { flex: 0 1 calc((100% - 60px) / 4); min-width: 190px; }
@media (max-width: 900px) { .person { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 620px) { .person { flex-basis: calc((100% - 20px) / 2); min-width: 0; } }
.person .shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 1 / 1; background: var(--panel-2);
}
.person .shot img { width: 100%; height: 100%; object-fit: cover; }
.person .pn { margin-top: 12px; font-weight: 600; font-size: .96rem; }
.person .pr { font-size: .82rem; color: var(--faint); letter-spacing: .04em; }
section.light .person .pr, section.light-2 .person .pr { color: var(--ink-muted); }
section.light .person .shot, section.light-2 .person .shot { border-color: var(--line-light); }

/* collaborator directory with disclosure */
.dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .dir { grid-template-columns: minmax(0, 1fr); } }
.dcard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.dcard .dshot { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel-2); flex: 0 0 auto; }
.dcard .dshot img { width: 100%; height: 100%; object-fit: cover; }
.dcard .dbody { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.dcard .dn { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; line-height: 1.2; }
.dcard .dr { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.dcard details { margin-top: 12px; }
.dcard details > summary {
  list-style: none; cursor: pointer; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); font-weight: 600; padding: 6px 0;
}
.dcard details > summary::-webkit-details-marker { display: none; }
.dcard details > summary::after { content: " +"; }
.dcard details[open] > summary::after { content: " \2013"; }
.dcard details p { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* ---------- podcast ---------- */
.eps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .eps { grid-template-columns: minmax(0, 1fr); } }
.ep { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; }
.ep:hover { border-color: var(--line-strong); }
.ep .thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ep .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep .play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 999px;
  background: rgba(8,7,10,.72); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.ep .play svg { width: 22px; height: 22px; fill: var(--gold); margin-left: 3px; }
.ep:hover .play { background: rgba(236,208,140,.92); }
.ep:hover .play svg { fill: #14100a; }
.ep .ebody { padding: 18px 20px 22px; }
.ep .et { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; line-height: 1.25; color: var(--text); }
.ep .eg { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ---------- events ---------- */
.ev { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 22px; align-items: start;
      background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
@media (max-width: 620px) { .ev { grid-template-columns: minmax(0, 1fr); } }
.ev .when { border-right: 1px solid var(--line); padding-right: 20px; }
@media (max-width: 620px) { .ev .when { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; } }
.ev .when .mo { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ev .when .dy { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.4rem; line-height: 1; }
.ev .when .yr { font-size: 12px; color: var(--faint); }
.ev h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; line-height: 1.2; margin-bottom: 8px; }
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold); margin-left: 10px; vertical-align: middle;
}
.badge.full { background: rgba(236,208,140,.14); }
.badge.open { background: linear-gradient(135deg, #d7b879, #f7dc95); color: #1a1408; border-color: transparent; }

/* ---------- services ---------- */
.svc { display: flex; flex-direction: column; }
.svc .price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; margin: 6px 0 4px; }
.svc .cur { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.svc ul { list-style: none; margin: 16px 0 22px; }
.svc li { font-size: .9rem; color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 7px; }
.svc li::before { content: "\2022"; position: absolute; left: 0; color: var(--gold); }
.svc .btn { margin-top: auto; align-self: flex-start; }
section.light .svc li, section.light-2 .svc li { color: var(--ink-muted); }
section.light .svc .cur, section.light-2 .svc .cur { color: var(--ink-muted); }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news { grid-template-columns: minmax(0, 1fr); } }
.na { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.na:hover { border-color: var(--line-strong); }
.na .nd { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.na h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; line-height: 1.25; margin: 10px 0 10px; color: var(--text); }
.na p { font-size: .9rem; color: var(--muted); }
.na .go { margin-top: 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
section.light .na, section.light-2 .na { background: #fff; border-color: var(--line-light); }
section.light .na h3, section.light-2 .na h3 { color: var(--ink); }
section.light .na p, section.light-2 .na p { color: var(--ink-muted); }
section.light .na .nd, section.light-2 .na .nd { color: var(--ink-muted); }

/* ---------- gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 10px; border: 1px solid var(--line); }
section.light .shots img, section.light-2 .shots img { border-color: var(--line-light); }
.figure img { border-radius: 14px; border: 1px solid var(--line); width: 100%; }
section.light .figure img, section.light-2 .figure img { border-color: var(--line-light); }

/* ---------- galleries ---------- */
.gyears { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .gyears { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gyears { grid-template-columns: minmax(0, 1fr); } }
.gyear {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); aspect-ratio: 4 / 3; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.gyear:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.gyear img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .3s ease, transform .5s ease; }
.gyear:hover img { opacity: .72; transform: scale(1.04); }
.gyear .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,10,.15) 0%, rgba(8,7,10,.82) 100%); }
.gyear .gybody { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; display: block; }
.gyear .gyn { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.1rem; line-height: 1; color: var(--gold); }
.gyear .gyc { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.ystrip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ychip {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .1em; color: var(--muted); text-decoration: none;
}
.ychip:hover { border-color: var(--line-strong); color: var(--text); }
.ychip.on { background: var(--gold); border-color: var(--gold); color: #100d06; font-weight: 600; }

/* Masonry via CSS columns so portraits stay portrait. Every tile ships explicit
   width/height so the column reflows once, on load, and not on every image. */
.gg { columns: 4 240px; column-gap: 14px; }
@media (max-width: 620px) { .gg { columns: 2 140px; column-gap: 10px; } }
.gt { display: block; break-inside: avoid; margin: 0 0 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.gt img { display: block; width: 100%; height: auto; transition: opacity .25s ease, transform .5s ease; }
.gt:hover { border-color: var(--gold); }
.gt:hover img { opacity: .82; transform: scale(1.03); }
.gt:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- lightbox ---------- */
.lbx { position: fixed; inset: 0; z-index: 200; background: rgba(6,5,8,.96); display: none; }
.lbx.on { display: block; }
.lbx-stage { position: absolute; inset: 62px 16px 66px; display: flex; align-items: center; justify-content: center; }
.lbx-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; }
.lbx-bar { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.lbx-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.lbx button {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; cursor: pointer; font: inherit; line-height: 1;
}
.lbx-close { width: 40px; height: 40px; font-size: 20px; }
.lbx button:hover { border-color: var(--gold); color: var(--gold); }
.lbx-prev, .lbx-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 22px; }
.lbx-prev { left: 14px; }
.lbx-next { right: 14px; }
.lbx-cap { position: absolute; inset: auto 0 0 0; padding: 18px 20px; text-align: center; font-size: .88rem; color: var(--muted); }
@media (max-width: 620px) {
  .lbx-stage { inset: 56px 8px 58px; }
  .lbx-prev, .lbx-next { width: 40px; height: 40px; }
}

/* ---------- forms ---------- */
/* minmax(0, 1fr) rather than the implicit auto column: a <select> is sized by
   its longest option, which otherwise pushes the whole page past the viewport
   at 390px. */
.form { display: grid; gap: 14px; max-width: 620px; grid-template-columns: minmax(0, 1fr); }
.form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form .field, .form > * { min-width: 0; }
@media (max-width: 560px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: .95rem;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--line-strong); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .9rem; min-height: 22px; }
.form-msg.ok { color: var(--gold); }
.form-msg.err { color: #ff9d9d; }
section.light .field label, section.light-2 .field label { color: var(--ink-muted); }
section.light .form input, section.light .form select, section.light .form textarea,
section.light-2 .form input, section.light-2 .form select, section.light-2 .form textarea {
  background: #fff; border-color: var(--line-light); color: var(--ink);
}
section.light .form-msg.ok, section.light-2 .form-msg.ok { color: var(--gold-deep); }
section.light .form-msg.err, section.light-2 .form-msg.err { color: #a3231d; }

.sub-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.sub-form input[type="email"] {
  flex: 1 1 240px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 20px; color: var(--text); font-family: inherit; font-size: .95rem;
}
section.light .sub-form input[type="email"], section.light-2 .sub-form input[type="email"] {
  background: #fff; border-color: var(--line-light); color: var(--ink);
}

/* ============================================================
   SITE CHROME, header + nav + drawer + footer.
   Shape matches expocompositoresfoundation.org so the three
   Expo properties read as one family.
   ============================================================ */
:root { --nav-h: 58px; }

.site-head {
  position: sticky; top: 0; z-index: 80;
  background: rgba(8, 7, 10, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .topbar { background: linear-gradient(90deg, #1a1408 0%, #2a2110 50%, #1a1408 100%); border-bottom: 1px solid rgba(236,208,140,.14); }
.site-head .topbar .inner {
  max-width: var(--wrap); margin: 0 auto; padding: 7px var(--pad);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.site-head .topbar .tag { font-size: 12.5px; letter-spacing: .04em; color: var(--gold); }
.site-head .topbar .give {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #1a1408; background: linear-gradient(135deg, #d7b879 0%, #f7dc95 50%, #d7b879 100%);
  border-radius: 999px; padding: 5px 16px; white-space: nowrap;
}
.site-head .topbar .give:hover { filter: brightness(1.07); color: #1a1408; }

.site-head .mast {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-head .mast .brand { display: inline-flex; align-items: center; }
.site-head .mast .brand img { height: 56px; width: auto; }
.site-head .mast .util { display: flex; align-items: center; gap: 14px; }
.site-head .call { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.site-head .call .lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.site-head .call .num { font-size: 15px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.site-head .call:hover .num { color: var(--gold-light); }
.lang-btn {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; cursor: pointer; border: 1px solid rgba(236,208,140,.3);
  color: var(--gold); background: transparent; font-family: inherit;
}
.lang-btn:hover { background: rgba(236,208,140,.08); }

.navtoggle {
  display: none; width: 42px; height: 38px; border: 1px solid rgba(236,208,140,.3);
  border-radius: 10px; background: transparent; cursor: pointer; padding: 0; position: relative;
}
.navtoggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--gold); transition: transform .22s ease, opacity .16s ease; }
.navtoggle span:nth-child(1) { top: 13px; }
.navtoggle span:nth-child(2) { top: 18.5px; }
.navtoggle span:nth-child(3) { top: 24px; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mainnav { border-top: 1px solid rgba(236,208,140,.1); }
.mainnav > ul { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); list-style: none; display: flex; align-items: stretch; gap: 4px; }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a, .mainnav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: var(--nav-h); padding: 0 14px;
  font-family: inherit; font-size: 12.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .18s, border-color .18s;
}
.mainnav > ul > li > a:hover, .mainnav > ul > li > button:hover, .mainnav > ul > li.open > button { color: var(--gold); border-bottom-color: var(--gold-dark); }
.mainnav > ul > li > a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.mainnav .caret { width: 7px; height: 7px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .2s; }
.mainnav > ul > li.open .caret { transform: rotate(-135deg) translate(-3px,-3px); }
.mainnav .sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #0d0b10;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px; list-style: none;
  box-shadow: 0 20px 44px rgba(0,0,0,.55); opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mainnav > ul > li.open .sub, .mainnav > ul > li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.mainnav .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.mainnav .sub a:hover { background: rgba(236,208,140,.08); color: var(--gold); }

.drawer { display: none; border-top: 1px solid var(--line); background: #0a090c; max-height: calc(100vh - 140px); overflow-y: auto; }
.drawer.open { display: block; }
.drawer ul { list-style: none; margin: 0; padding: 10px 18px 22px; }
.drawer > ul > li { border-bottom: 1px solid rgba(236,208,140,.08); }
.drawer > ul > li:last-child { border-bottom: none; }
.drawer a, .drawer .grp { display: block; padding: 13px 6px; font-size: 14.5px; color: var(--text); }
.drawer .grp { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); padding-bottom: 4px; }
.drawer .sub { padding: 0 0 8px; }
.drawer .sub a { padding: 10px 6px 10px 18px; color: var(--muted); font-size: 14px; }
.drawer .drawer-cta { display: flex; gap: 10px; padding: 16px 24px 24px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .mainnav { display: none; }
  .navtoggle { display: block; }
  .site-head .call { display: none; }
}
@media (max-width: 420px) { .site-head .topbar .tag { display: none; } }

/* ---------- footer ---------- */
.site-foot { background: #060508; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 34px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-grid h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a, .foot-grid p { color: var(--muted); font-size: .9rem; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand img { width: 190px; margin-bottom: 16px; }
.social { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.social a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.legal { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(236,208,140,.08); }
.legal p { font-size: 12px; color: var(--faint); line-height: 1.75; max-width: 92ch; margin-bottom: 10px; }
.legal a { color: var(--faint); text-decoration: underline; }
.legal a:hover { color: var(--gold); }


/* Re-scope the palette tokens inside light sections. Any component that
   colours itself from var(--gold) / var(--muted) / var(--faint) then adapts
   on its own instead of needing a bespoke override, which is how a gold
   "Ver" link ended up at a 1.50 contrast ratio on white. The gold gradients
   on buttons and badges are literal hex, so they are unaffected. */
section.light, section.light-2 {
  --gold: var(--gold-deep);
  --gold-light: var(--gold-mid);
  --gold-dark: var(--gold-deep);
  --text: var(--ink);
  --muted: var(--ink-2);
  --faint: var(--ink-muted);
  --line: var(--line-light);
  --line-strong: rgba(23, 20, 15, 0.28);
}

/* ============================================================
   LIGHT SECTION SAFETY NET
   Components that carry their own dark ground must be re-toned when they
   land inside a light section, otherwise the generic ink coloured
   overrides paint dark text onto a dark card. The event cards on the home
   page were rendering at a 1.07 contrast ratio, i.e. invisible.
   ============================================================ */
section.light .ev, section.light-2 .ev,
section.light .ep, section.light-2 .ep,
section.light .dcard, section.light-2 .dcard {
  background: #fff;
  border-color: var(--line-light);
}
section.light .ev .when, section.light-2 .ev .when { border-color: var(--line-light); }
section.light .ev h3, section.light-2 .ev h3,
section.light .ev .dy, section.light-2 .ev .dy,
section.light .ep .et, section.light-2 .ep .et,
section.light .dcard .dn, section.light-2 .dcard .dn { color: var(--ink); }
section.light .ev .mo, section.light-2 .ev .mo,
section.light .dcard .dr, section.light-2 .dcard .dr,
section.light .dcard summary, section.light-2 .dcard summary,
section.light .svc li::before, section.light-2 .svc li::before { color: var(--gold-deep); }
section.light .ev .yr, section.light-2 .ev .yr,
section.light .ep .eg, section.light-2 .ep .eg,
section.light .dcard details p, section.light-2 .dcard details p { color: var(--ink-muted); }
section.light .badge, section.light-2 .badge {
  color: var(--gold-deep);
  border-color: rgba(23, 20, 15, 0.28);
}
section.light .badge.full, section.light-2 .badge.full { background: rgba(127, 95, 16, 0.1); }
section.light .badge.open, section.light-2 .badge.open { color: #1a1408; border-color: transparent; }

/* outbound nav items carry a small arrow */
.mainnav .sub a[rel="noopener"], .drawer .sub a[rel="noopener"] { color: var(--gold-dark); }
.mainnav .sub a[rel="noopener"]:hover { color: var(--gold); }
