:root {
  --black: #111214;
  --ink: #17181b;
  --red: #e30613;
  --yellow: #ffcc00;
  --cream: #fffaf0;
  --paper: #ffffff;
  --muted: #6c7078;
  --line: #e8e8eb;
  --soft: #f5f5f7;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(0,0,0,.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: 84px 0; }
.section-sm { padding: 54px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker::before { content: ""; width: 30px; height: 3px; background: var(--yellow); border-radius: 99px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 18px; }
h1 { font-size: clamp(3rem, 8vw, 7.2rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -.04em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: #464951; max-width: 760px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; border: 1px solid var(--line);
  display: grid; place-items: center; background: white;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brand-copy span { font-size: 1.12rem; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .93rem; font-weight: 700; }
.nav a { position: relative; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav .nav-cta { padding: 10px 15px; background: var(--black); color: #fff; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: var(--red); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

.hero {
  min-height: 720px;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: white;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .64; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.2) 100%); }
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 36px), var(--container)); margin: auto; padding: 120px 0 90px; }
.hero h1 span { color: var(--yellow); }
.hero-copy { max-width: 820px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: .18s ease; }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,204,0,.2); }
.btn-light { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: #fff; }
.btn-outline { border-color: var(--line); background: white; }

.strip { background: var(--yellow); color: var(--black); }
.strip-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.strip strong { font-size: 1.16rem; }
.strip p { margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card.soft { background: var(--soft); border-color: transparent; }
.card.dark { background: var(--black); color: #fff; border-color: transparent; }
.card .eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; color: var(--red); margin-bottom: 10px; }

.schedule-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.day-card { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 20px; padding: 22px; background: var(--soft); border-top: 5px solid var(--black); }
.day-card:nth-child(2) { border-top-color: var(--yellow); }
.day-card:nth-child(3) { border-top-color: var(--red); }
.day-card:nth-child(4) { border-top-color: var(--yellow); }
.day-card:nth-child(5) { border-top-color: var(--red); }
.day-date { font-weight: 900; font-size: .9rem; color: var(--muted); }
.day-card h3 { margin: 10px 0 8px; }
.day-card ul { margin: 12px 0 0; padding-left: 18px; }
.day-card li { margin-bottom: 6px; }

.photo-panel { border-radius: 28px; min-height: 520px; overflow: hidden; box-shadow: var(--shadow); }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; }
.logo-panel { min-height: 520px; display: grid; place-items: center; background: #fafafa; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; }
.logo-panel img { width: min(86%, 520px); height: auto; border-radius: 50%; }

.sponsor-home, .sponsor-invitation { background: var(--cream); }
.sponsor-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; border: 1px solid var(--line); border-radius: 28px; background: white; overflow: hidden; box-shadow: var(--shadow); }
.sponsor-logo { display: grid; place-items: center; align-self: stretch; min-height: 320px; padding: clamp(24px, 4vw, 54px); background: linear-gradient(145deg, #fff, #fff5f8); }
.sponsor-logo img { width: 100%; height: auto; object-fit: contain; }
.sponsor-logo:focus-visible { outline: 3px solid var(--red); outline-offset: -6px; }
.sponsor-copy { padding: clamp(24px, 4vw, 48px); }
.sponsor-copy h2 { margin-top: 16px; overflow-wrap: anywhere; }
.sponsor-tagline { font-size: 1.2rem; font-weight: 700; color: #007d75; }
.sponsor-domain { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.page-hero { padding: 92px 0 60px; background: linear-gradient(135deg, #111214, #292b31); color: white; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.page-hero .lead { color: #d7d7da; }
.breadcrumb { font-size: .84rem; font-weight: 700; color: #c2c2c7; margin-bottom: 26px; }

.info-list { display: grid; gap: 12px; margin-top: 20px; }
.info-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row strong { font-size: .9rem; }

.notice { border-left: 5px solid var(--yellow); background: #fff9dc; padding: 18px 20px; border-radius: 0 14px 14px 0; }
.notice.red { border-left-color: var(--red); background: #fff2f3; }

.judge-card { display: flex; gap: 18px; align-items: flex-start; }
.judge-number { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-weight: 900; }
.judge-card.special .judge-number { background: var(--red); }

.placeholder { border: 2px dashed #d8d8dd; border-radius: var(--radius); padding: 54px 28px; text-align: center; color: var(--muted); background: #fafafa; }

.footer { background: var(--black); color: white; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; }
.footer a { color: #d6d6d8; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a9aab0; font-size: .85rem; display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; left: 18px; right: 18px; top: 72px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .menu-btn { display: inline-grid; place-items: center; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 62px 0; }
  .sponsor-feature { grid-template-columns: 1fr; }
  .sponsor-logo { min-height: 0; padding: 32px; }
  .hero { min-height: 660px; }
  .hero-inner { padding-top: 90px; }
  .hero-media img { object-position: 55% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.86) 55%, rgba(0,0,0,.96)); }
  .strip-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; }
  .grid-2, .grid-3, .grid-4, .schedule-grid { grid-template-columns: 1fr; }
  .photo-panel, .logo-panel { min-height: 400px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
