/* AI Sydney Indie Festival - harbour + circuit theme */
:root {
  --cream: #faf6ef;
  --cream-2: #f2ebdf;
  --card: #ffffff;
  --navy: #26374f;
  --navy-deep: #1b283a;
  --red: #c0392b;
  --orange: #e8833a;
  --gold: #e4a340;
  --muted: #6e7b8c;
  --line: rgba(38, 55, 79, 0.14);
  --line-strong: rgba(38, 55, 79, 0.28);
  --max: 1120px;
  --radius: 6px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: 0.25s; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy-deep); }

.eyebrow {
  display: inline-block;
  font-weight: 600; text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.74rem; color: var(--red); margin-bottom: 12px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.6px;
  padding: 15px 30px; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--orange); }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(38, 55, 79, 0.05); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 239, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy-deep); }
.nav-brand img { width: 42px; height: 42px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta { color: var(--red); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* ---- hero ---- */
.hero { text-align: center; padding: 60px 0 76px; border-bottom: 1px solid var(--line); }
.hero-logo { width: min(400px, 78vw); margin: 0 auto 22px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); margin-bottom: 14px; }
.hero-tagline { max-width: 640px; margin: 0 auto 26px; color: var(--muted); font-size: 1.12rem; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 30px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.4px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.hero-meta .dot { color: var(--orange); }
.hero-meta .tba { color: var(--muted); font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---- section shell ---- */
section { padding: 86px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
.section-head p { margin-top: 16px; color: var(--muted); }

/* ---- about ---- */
.about p { max-width: 780px; margin-bottom: 18px; font-size: 1.06rem; }
.about strong { color: var(--red); font-weight: 600; }

/* ---- awards ---- */
.awards-sig { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 40px; }
.sig-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 28px 26px; }
.sig-card .tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); }
.sig-card h3 { font-size: 1.55rem; margin: 10px 0 4px; }
.sig-card .sub { color: var(--red); font-weight: 600; font-size: 0.93rem; margin-bottom: 12px; }
.sig-card p { color: var(--muted); font-size: 0.97rem; }

.awards-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.award-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.award-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--navy-deep); }
.award-card p { color: var(--muted); font-size: 0.94rem; margin-top: 5px; }

/* ---- rules ---- */
.rules-list { max-width: 880px; }
.rule-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.rule-row:last-child { border-bottom: 1px solid var(--line); }
.rule-key { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--red); }
.rule-val { color: var(--navy); }

/* ---- fees ---- */
.fees-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 28px; }
.fee-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.fee-card.is-mid { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.fee-tier { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.fee-name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--navy-deep); margin: 8px 0 6px; }
.fee-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--red); line-height: 1.1; }
.fee-meta { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.fees-note { color: var(--muted); font-size: 0.93rem; text-align: center; }
.fees-note strong { color: var(--navy); font-weight: 600; }

/* ---- submit ---- */
.submit-box { text-align: center; max-width: 720px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 50px 30px; }
.submit-box h2 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
.submit-box p { color: var(--muted); margin: 16px auto 26px; max-width: 520px; }
.tba-pill { display: inline-block; margin-top: 18px; font-size: 0.74rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); padding: 8px 16px; border-radius: 40px; }

/* ---- venue ---- */
.venue-box { display: grid; gap: 8px; max-width: 620px; }
.venue-box .v-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-deep); }
.venue-box .v-addr { color: var(--muted); }

/* ---- footer ---- */
.footer { padding: 56px 0 40px; background: var(--navy-deep); color: #d7dee8; border-bottom: 0; }
.footer h3 { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; background: var(--cream); border-radius: 50%; padding: 3px; }
.footer-brand .fb-name { font-family: var(--font-display); font-size: 1.25rem; color: #fff; }
.footer-brand .fb-tag { color: var(--gold); font-size: 0.84rem; font-weight: 500; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #aab6c6; font-weight: 500; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-meta { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #93a1b3; font-size: 0.84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- responsive ---- */
@media (min-width: 700px) {
  .awards-sig { grid-template-columns: repeat(3, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .fees-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .nav-links.open { max-height: 320px; }
  .nav-links a { width: 100%; padding: 15px 22px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .rule-row { grid-template-columns: 1fr; gap: 4px; }
  section { padding: 62px 0; }
}
