:root {
  --bg: #f8f1e6;
  --bg-2: #f0e3cf;
  --ink: #1d1814;
  --muted: #6c6157;
  --line: rgba(29, 24, 20, .14);
  --accent: #e4531b;
  --sun: #ffb43b;
}
body { background: var(--bg); color: var(--ink); }
.btn { color: #fff; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); border-color: rgba(29, 24, 20, .3); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
#site-header.scrolled { background: rgba(248, 241, 230, .88); }

.hero.hero-light { min-height: 0; display: block; padding: 150px 0 0; background: radial-gradient(55% 60% at 88% 0%, rgba(255, 180, 59, .5), transparent 70%), radial-gradient(40% 40% at 0% 30%, rgba(228, 83, 27, .12), transparent 70%); }
.hero-light h1 { color: var(--ink); }
.hero-light h1 .sun { color: var(--accent); }
.hero-photo { margin: 52px 0 0; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.marquee:has(#marquee) { background: var(--accent); color: #fff; border: 0; margin-top: clamp(56px, 7vw, 96px); }
.marquee:has(#marquee) .track i { color: var(--sun); }
.track.slow { color: var(--ink); }
.track.slow i { color: var(--accent); }

.manifesto figure, .edition-media { border-radius: 18px; }
.strip img, .g-item { border-radius: 12px; }
.idx { background: var(--bg); color: var(--ink); }
.edition:hover .edition-media img { filter: saturate(1.1); }
.edition-media img { filter: none; }

.partners { border-radius: 18px; overflow: hidden; border-color: var(--line); background: #fffaf2; }
.partner:hover { background: var(--accent); color: #fff; }
.partner:hover .p-meta, .partner:hover .arrow { color: #fff; }

.page-hero { background: radial-gradient(50% 70% at 92% 0%, rgba(255, 180, 59, .45), transparent 70%); }
.contact-grid a.big { color: var(--ink); }

#site-footer { background: var(--bg-2); border-top: 0; }
.foot-cta .display { color: var(--ink); }

#lightbox button { color: #f3eee6; border-color: rgba(243, 238, 230, .3); }

@media (max-width: 820px) {
  .hero-photo { aspect-ratio: 4 / 5; border-radius: 16px; }
  .nav { background: var(--bg); }
}
/* round 2 */
.hero-light h1 { font-size: clamp(48px, 11.5vw, 200px); white-space: nowrap; }
.next-wrap { padding: clamp(48px, 7vw, 96px) 0 0; }
.next-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 56px; align-items: end; padding: clamp(28px, 4vw, 56px); border-radius: 22px; background: radial-gradient(60% 90% at 100% 0%, rgba(255, 180, 59, .55), transparent 70%), #fffaf2; border: 1px solid var(--line); }
.next-card h2 { font: 900 clamp(56px, 9vw, 140px)/.85 var(--display); text-transform: uppercase; margin: 0; }
.next-date { font: 800 clamp(22px, 2.4vw, 34px)/1 var(--display); text-transform: uppercase; color: var(--accent); margin: 12px 0 0; }
.next-side p { margin: 0 0 22px; color: var(--muted); font-size: 18px; }
.ph { background: radial-gradient(70% 60% at 80% 10%, rgba(255, 180, 59, .7), transparent 70%), linear-gradient(160deg, #f6d9b8, #e4531b); }
.ph span { color: #fff; text-align: center; padding: 0 16px; font-size: clamp(40px, 5vw, 76px); }
.g-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin: 0 0 24px; }
.g-head + .masonry + .g-head { margin-top: clamp(64px, 8vw, 110px); }
.g-head h2 { font: 800 clamp(36px, 5vw, 72px)/.9 var(--display); text-transform: uppercase; margin: 0; }
.g-head p { margin: 0; }
.g-head a { color: var(--accent); }

.cf-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 72px; align-items: start; }
.cf-title { font: 800 clamp(40px, 5vw, 72px)/.9 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.cf { background: #fffaf2; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.cf-field { display: flex; flex-direction: column; }
.cf-field.wide { grid-column: 1 / -1; }
.cf-field label { font: 600 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.cf-field .req { color: var(--accent); }
.cf input, .cf select, .cf textarea { font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid rgba(29, 24, 20, .22); border-radius: 12px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.cf textarea { resize: vertical; min-height: 140px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 83, 27, .18); }
.cf [aria-invalid="true"] { border-color: #c2361a; }
.cf-err { min-height: 20px; margin: 6px 0 4px; font-size: 13px; color: #c2361a; }
.cf-form-err:empty { display: none; }
.cf .btn { margin-top: 8px; border: 0; cursor: pointer; }
.cf .btn:disabled { opacity: .6; cursor: wait; }
.cf-check { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 10px; }
.cf-check input { width: auto; }
.cf-thanks { background: #fffaf2; border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 48px); font-size: 20px; outline: none; }
.cf-thanks p { margin: 0 0 8px; }
.cf-error { color: var(--muted); }
.cf-skeleton { display: grid; gap: 14px; padding: 32px; border-radius: 22px; background: #fffaf2; border: 1px solid var(--line); }
.cf-skeleton span { height: 48px; border-radius: 12px; background: var(--bg-2); animation: pulse 1.4s ease-in-out infinite; }
.cf-skeleton .tall { height: 140px; }
@keyframes pulse { 50% { opacity: .5; } }
.cf-section { padding-bottom: clamp(48px, 6vw, 80px); }

@media (max-width: 900px) {
  .next-card, .cf-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cf-grid { grid-template-columns: 1fr; }
}
/* round 3 */
.ed-year { margin: 0 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ed-year h2 { font: 800 clamp(40px, 6vw, 88px)/.9 var(--display); text-transform: uppercase; margin: 0; }
.editions.all + .ed-year { margin-top: clamp(72px, 9vw, 120px); }
.edition { min-width: 0; }
.ph span { font-size: clamp(30px, 3.8vw, 60px); overflow-wrap: anywhere; }
.editions.all { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
@media (max-width: 1000px) { .editions.all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .editions.all { grid-template-columns: 1fr; } }
.hero-photo img { object-position: 50% 75%; }
@media (max-width: 820px) { .hero-photo img { object-position: 45% 100%; } }
