/* AI Los Angeles IFF — vintage-travel-poster palette, sampled from the
   organizer's crest logo (Logo/logo.png): cream, gold, sunset orange, sky.
   Fonts: Fraunces (display, italic for the "windblown" treatment) + Public Sans (body).
   No opacity:0 scroll-reveal anywhere (breaks headless renders). */

:root {
  --paper: #fdfbf5;
  --paper-2: #f7efdd;
  --ink: #3d2f1a;
  --ink-dim: #86765a;
  --gold: #b8935a;
  --coral: #ee7f3f;
  --coral-soft: #f4996399;
  --sky: #9cc3d6;
  --line: rgba(61, 47, 26, 0.14);
  --display: "Fraunces", serif;
  --body: "Public Sans", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
p { margin: 0 0 1em; color: var(--ink-dim); }
a { color: var(--coral); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--paper);
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  display: block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  color: var(--coral); font-weight: 700; margin-bottom: 12px;
}

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(253, 251, 245, 0.92);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.nav.scrolled { box-shadow: 0 8px 24px rgba(61,47,26,0.1); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; border-radius: 6px; }
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  white-space: nowrap;
}
.wordmark span { color: var(--coral); font-style: italic; }
.wordmark.small { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 6px; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 0.92rem; font-weight: 600;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 2px;
  font-family: var(--body); font-weight: 700; text-decoration: none;
  border: 1px solid transparent; font-size: 0.95rem;
}
.btn-coral { background: var(--coral); color: var(--paper); }
.btn-coral:hover { background: #d96e30; }
.btn-ghost { border-color: var(--gold); color: var(--ink); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

/* ---- hero ---- */
.hero { padding: 90px 0 80px; position: relative; overflow: hidden; text-align: center; }
.gusts { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-in { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-badge { width: 168px; height: 168px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(61,47,26,0.18); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.windblown {
  display: inline-block; font-style: italic; color: var(--coral);
  transform: skewX(-8deg) translateX(4px);
}
.hero-lead { font-size: 1.15rem; max-width: 580px; margin: 22px auto 0; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; justify-content: center; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem;
  color: var(--ink-dim);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }

/* ---- sections ---- */
.section { padding: 80px 0; }
.section-head, .advisory-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2, .concept-head h2, .advisory-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }

/* ---- the wind (concept) ---- */
.wind { background: var(--paper-2); }
.concept-in { display: grid; grid-template-columns: 1fr; gap: 32px; }
.concept-head { max-width: 640px; }
.concept-body { max-width: 720px; }
.concept-body p { font-size: 1.03rem; }
.venue-para { border-left: 3px solid var(--coral); padding-left: 18px; color: var(--ink); }

/* ---- the forecast (awards as a wind scale) ---- */
.scale { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.scale-row {
  display: grid; grid-template-columns: 28px 1fr; gap: 20px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.scale-row:last-child { border-bottom: 1px solid var(--line); }
.scale-row b { color: var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.scale-row p { margin: 4px 0 0; font-size: 0.96rem; }
.scale-mark { border-radius: 50%; margin-top: 6px; display: block; }
.m1 { width: 20px; height: 20px; background: var(--coral); }
.m2 { width: 18px; height: 18px; background: var(--coral); opacity: 0.85; }
.m3 { width: 16px; height: 16px; background: var(--coral); opacity: 0.7; }
.m4 { width: 14px; height: 14px; background: var(--gold); opacity: 0.9; }
.m5 { width: 13px; height: 13px; background: var(--gold); opacity: 0.75; }
.m6 { width: 11px; height: 11px; background: var(--gold); opacity: 0.6; }
.m7 { width: 10px; height: 10px; background: var(--sky); opacity: 0.9; }
.m8 { width: 8px; height: 8px; background: var(--sky); opacity: 0.7; }

/* ---- advisory (rules as a bulletin) ---- */
.advisory { background: var(--paper-2); }
.advisory-head h2 { color: var(--coral); }
.advisory-sub { font-style: italic; }
.bulletin { list-style: none; counter-reset: rule; margin: 0; padding: 0; max-width: 760px; }
.bulletin li {
  counter-increment: rule; position: relative; padding: 14px 0 14px 44px;
  border-top: 1px dashed var(--line); font-size: 0.98rem; color: var(--ink-dim);
}
.bulletin li:last-child { border-bottom: 1px dashed var(--line); }
.bulletin li::before {
  content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 14px;
  font-family: var(--display); font-weight: 700; color: var(--coral); font-size: 0.95rem;
}
.bulletin b { color: var(--ink); }

/* ---- where it lands (venue TBA) ---- */
.lands-in { max-width: 640px; }
.readings { margin-top: 26px; display: grid; gap: 2px; }
.reading { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.reading:last-child { border-bottom: 1px solid var(--line); }
.reading dt { font-weight: 700; color: var(--ink); margin: 0; }
.reading dd { margin: 0; color: var(--ink-dim); }
.reading-final dt, .reading-final dd { color: var(--coral); }
.lands-close { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 0.92rem; }
.lands-close a { font-weight: 600; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.footer-in nav { display: flex; flex-direction: column; gap: 10px; }
.footer-in nav a { color: var(--ink-dim); text-decoration: none; font-size: 0.92rem; }
.footer-in nav a:hover { color: var(--coral); }
.footer-contact { text-align: right; }
.footer-contact p { margin-top: 10px; font-size: 0.82rem; color: var(--ink-dim); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .footer-in { grid-template-columns: 1fr; text-align: left; }
  .footer-contact { text-align: left; }
  .scale-row { grid-template-columns: 20px 1fr; }
}
@media (max-width: 480px) {
  .hero { padding-top: 70px; }
  .hero-badge { width: 128px; height: 128px; }
}
