:root {
  --navy: #031f34;
  --navy-deep: #001827;
  --blue: #00B3B9;
  --blue-light: #E7F8F8;
  --red: #ef1830;
  --yellow: #ffd400;
  --ink: #142638;
  --muted: #4c5c6b;
  --white: #ffffff;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Nunito Sans", sans-serif; font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; background: var(--white); color: var(--navy); padding: .75rem 1rem; box-shadow: 0 4px 20px #0003; }
.skip-link:focus { top: 1rem; }
.section-pad { padding-top: 80px; padding-bottom: 80px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .92rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
h1, h2, h3, .button, .primary-nav, .deadline p, .resource-strip strong, .resource-strip b { font-family: "Bebas Neue", sans-serif; font-weight: 400; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: .94; letter-spacing: -.015em; }
h2 span { color: var(--blue); }
p { font-size: 1rem; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(3,31,52,.08); }
.header-inner { width: min(var(--max), calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.brand { width: 188px; height: 72px; display: grid; place-items: center; }
.brand img { width: 176px; height: 68px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.1vw, 34px); margin-left: auto; font-size: 1.05rem; color: var(--navy); }
.primary-nav a { position: relative; padding: 30px 0 27px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 3px; background: var(--blue); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); width: 44px; height: 44px; place-items: center; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 0; padding: 12px 24px; font-size: 1.16rem; letter-spacing: .015em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button svg { width: 18px; height: 18px; stroke-width: 2.5; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-primary { color: var(--white); background: #01929E; box-shadow: 0 8px 22px rgba(1,146,158,.18); }
.button-primary:hover { background: #00B3B9; box-shadow: 0 12px 24px rgba(0,179,185,.25); }
.button-outline { color: var(--navy); background: var(--white); border-color: var(--blue); }
.button-outline:hover { color: var(--white); background: var(--blue); }
.header-cta { min-height: 46px; padding-inline: 20px; white-space: nowrap; }

.hero { min-height: 780px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); overflow: hidden; }
.hero-copy { padding-left: max(32px, calc((100vw - var(--max)) / 2)); padding-right: clamp(38px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin: 0 0 26px; color: var(--navy); font-size: clamp(4.6rem, 7.9vw, 8.25rem); line-height: .78; letter-spacing: -.025em; }
.hero-title-line { display: flex; align-items: baseline; gap: clamp(10px, 1vw, 18px); color: var(--blue); font-size: .86em; line-height: .78; white-space: nowrap; }
.hero-title-line > span { color: var(--blue); }
.hero h1 em { display: inline-block; color: var(--navy); font-family: "Bebas Neue", sans-serif; font-size: 1em; font-style: italic; line-height: .78; transform: skewX(-8deg); transform-origin: center bottom; }
.event-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 24px; font-family: "Bebas Neue", sans-serif; color: var(--navy); font-size: 1.5rem; text-transform: uppercase; }
.event-meta span { display: inline-flex; align-items: center; gap: 9px; }
.event-meta svg { width: 22px; color: var(--blue); }
.hero-intro { max-width: 660px; margin-bottom: 28px; color: #304052; font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-media { position: relative; min-width: 0; background: var(--white); }
.hero-media::before { content: ""; position: absolute; z-index: 2; top: -4px; bottom: -4px; left: clamp(-102px, -6vw, -78px); width: clamp(210px, 16vw, 280px); pointer-events: none; background: url("upload/hero-white-brush-v2.png") center / 100% 100% no-repeat; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }

.quick-facts { background: var(--blue-light); }
.facts-grid { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 30px; border-right: 1px solid rgba(0,179,185,.38); }
.fact:last-child { border-right: 0; }
.fact svg { width: 44px; height: 44px; color: var(--blue); stroke-width: 2.1; }
.fact h2 { margin: 0; font-size: 1.6rem; line-height: 1.02; }

.split-section { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; overflow: hidden; }
.split-copy { padding-left: max(32px, calc((100vw - var(--max)) / 2)); padding-right: clamp(44px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.split-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); line-height: 1.65; }
.split-copy .button { align-self: flex-start; margin-top: 18px; }
.split-media { position: relative; min-width: 0; min-height: 520px; background: var(--white); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.story .split-copy { padding-left: clamp(44px, 7vw, 100px); padding-right: max(32px, calc((100vw - var(--max)) / 2)); }
.story .split-media::before { content: ""; position: absolute; z-index: 2; inset: 0 -1px 0 auto; width: clamp(105px, 9vw, 158px); pointer-events: none; background: linear-gradient(270deg, var(--white) 0 12%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.62) 60%, rgba(255,255,255,.2) 82%, rgba(255,255,255,0) 100%); }
.story .split-media::after { content: ""; position: absolute; z-index: 3; top: 0; right: clamp(30px, 3vw, 52px); bottom: 0; width: clamp(52px, 4.5vw, 78px); pointer-events: none; background: rgba(255,255,255,.62); -webkit-mask: url("upload/brush-transition.png") 100% center / auto 108% no-repeat; mask: url("upload/brush-transition.png") 100% center / auto 108% no-repeat; filter: blur(.35px); opacity: .62; transform: scaleX(-1); }
.story .split-media img { object-position: 48% center; }

.competition { color: var(--white); background: var(--navy-deep); }
.competition-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: stretch; }
.competition-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 52% center; }
.competition-content { padding: 8px 0; }
.competition h2 { color: var(--white); font-size: clamp(2.5rem, 4vw, 4rem); border-bottom: 2px solid rgba(0,179,185,.55); padding-bottom: 16px; margin-bottom: 0; }
.level { min-height: 88px; display: grid; grid-template-columns: 44px 130px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid rgba(0,179,185,.42); }
.level:last-child { border-bottom: 0; }
.level svg { width: 34px; height: 34px; }
.level h3 { margin: 0; color: var(--white); font-size: 1.55rem; }
.level p { margin: 0; color: #dbeaf1; line-height: 1.25; }
.level-showcase svg { color: var(--red); }
.level-gold svg { color: var(--yellow); }
.level-silver svg { color: #d7e2e8; }
.level-bronze svg { color: #f36b23; }

.age-fees { width: min(var(--max), calc(100% - 48px)); min-height: 610px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.age-content { order: 2; }
.age-content > p { max-width: 650px; color: var(--muted); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
.formats article { text-align: center; padding: 0 18px; border-right: 1px solid rgba(0,179,185,.48); }
.formats article:last-child { border-right: 0; }
.format-icon { position: relative; width: 76px; height: 62px; margin: 0 auto; color: var(--blue); }
.format-icon svg { width: 72px; height: 56px; stroke-width: 1.7; }
.format-icon span { position: absolute; right: -3px; bottom: -2px; display: grid; min-width: 28px; height: 28px; padding-inline: 4px; place-items: center; border: 2px solid var(--blue); border-radius: 50%; color: var(--navy); background: var(--white); font-family: "Bebas Neue", sans-serif; font-size: 1rem; line-height: 1; }
.formats h3 { margin: 12px 0 2px; color: var(--navy); font-size: 2rem; line-height: .95; }
.formats small { font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.fee-card { order: 1; border: 2px solid var(--yellow); background: var(--white); }
.fee-card > h2 { margin: 0; padding: 13px 20px 9px; color: var(--navy); background: var(--yellow); text-align: center; font-size: 2.25rem; }
.fee-card > p { margin: 16px 20px; color: var(--muted); text-align: center; font-size: .9rem; }
.fee-card dl { margin: 0 20px 20px; color: var(--white); background: var(--navy); }
.fee-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.35); }
.fee-card dl div:last-child { border-bottom: 0; }
.fee-card dt, .fee-card dd { margin: 0; font-family: "Bebas Neue", sans-serif; font-size: 1.55rem; }
.fee-card dd { color: var(--yellow); }

.venues { background: var(--blue-light); overflow: hidden; }
.venues-feature { display: grid; min-height: 540px; grid-template-columns: 1fr 1fr; }
.venue-stage { position: relative; min-width: 0; min-height: 540px; overflow: hidden; background: var(--navy); }
.venue-main { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform .45s ease; }
.venue-stage.is-changing .venue-main { opacity: .3; transform: scale(1.025); }
.venue-stage-controls { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 8px; background: rgba(0,24,39,.84); backdrop-filter: blur(8px); opacity: .3; transition: opacity .2s ease; }
.venue-stage-controls:hover, .venue-stage-controls:focus-within { opacity: 1; }
.venue-stage-controls button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.38); color: var(--white); background: transparent; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.venue-stage-controls button:hover, .venue-stage-controls button:focus-visible { color: var(--navy); background: var(--white); }
.venue-stage-controls svg { width: 21px; height: 21px; }
.venue-count { min-width: 60px; padding-inline: 8px; color: var(--white); font-family: "Bebas Neue", sans-serif; font-size: 1.1rem; letter-spacing: .08em; text-align: center; }
.venue-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.venue-list > a { display: flex; gap: 12px; outline-offset: 6px; }
.venue-list svg { width: 32px; height: 32px; color: var(--blue); }
.venue-list h3 { margin: 0; color: var(--navy); font-size: 1.22rem; line-height: 1; }
.venue-list p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.venue-list > a:hover h3, .venue-list > a:focus-visible h3 { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.venue-thumbnails { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 4); gap: 4px; padding: 4px; overflow-x: auto; background: var(--white); scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.venue-thumbnails::-webkit-scrollbar { display: none; }
.venue-thumb { position: relative; height: 220px; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--navy); cursor: pointer; scroll-snap-align: start; }
.venue-thumb::after { display: none; }
.venue-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform .45s ease; }
.venue-thumb span { position: absolute; z-index: 2; right: 12px; bottom: 10px; min-width: 34px; padding: 4px 7px 2px; color: var(--white); background: rgba(0,24,39,.82); font-family: "Bebas Neue", sans-serif; font-size: 1rem; letter-spacing: .08em; }
.venue-thumb:hover img, .venue-thumb:focus-visible img { transform: scale(1.035); }
.venue-thumb.is-active img { opacity: 1; }

.registration { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .75fr auto; gap: 44px; align-items: center; }
.deadline { display: flex; align-items: center; gap: 22px; }
.deadline svg { width: 54px; height: 54px; color: var(--blue); }
.deadline p { margin: 0; font-size: 1.45rem; line-height: 1; }
.deadline h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.8rem); white-space: nowrap; }
.late-fee { margin: 0; padding-left: 34px; border-left: 1px solid rgba(3,31,52,.35); color: var(--muted); }

.resource-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--blue-light); padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); }
.resource-strip > a, .resource-strip > button { min-width: 0; display: flex; align-items: flex-start; gap: 16px; padding: 0 28px; color: var(--ink); background: transparent; border: 0; border-right: 1px solid rgba(0,179,185,.36); text-align: left; cursor: pointer; }
.resource-strip > :last-child { border-right: 0; }
.resource-strip > a > svg, .resource-strip > button > svg { width: 34px; height: 34px; color: var(--blue); }
.resource-strip span { display: flex; min-width: 0; flex-direction: column; }
.resource-strip strong { color: var(--navy); font-size: 1.25rem; font-weight: 400; }
.resource-strip small { min-height: 38px; color: var(--muted); line-height: 1.25; }
.resource-strip b { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--blue); font-size: 1rem; font-weight: 400; }
.resource-strip b svg { width: 13px; height: 13px; }

.site-footer { color: var(--white); background: var(--navy-deep); }
.footer-inner { width: min(var(--max), calc(100% - 48px)); min-height: 185px; margin: 0 auto; display: grid; grid-template-columns: 170px 1fr auto; gap: 44px; align-items: center; }
.footer-logo { width: 150px; height: 142px; object-fit: contain; }
.footer-inner p { margin: 0; color: #d8e8ef; }
.footer-inner p strong { color: var(--white); }
.socials { display: flex; align-items: center; gap: 16px; padding-left: 36px; border-left: 1px solid rgba(0,179,185,.45); }
.socials a { display: grid; width: 42px; height: 42px; place-items: center; color: var(--blue); }
.socials svg { width: 23px; height: 23px; }

.registration-dialog { width: min(560px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 42px; border: 0; border-top: 7px solid var(--red); border-radius: 0; color: var(--ink); box-shadow: 0 24px 80px rgba(0,24,39,.32); }
.registration-dialog::backdrop { background: rgba(0,24,39,.78); backdrop-filter: blur(5px); }
.registration-dialog > img { width: 150px; height: 92px; object-fit: contain; margin-bottom: 14px; }
.registration-dialog h2 { margin-bottom: 12px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; background: var(--blue-light); color: var(--navy); cursor: pointer; }
.contact-card { display: flex; flex-direction: column; gap: 5px; padding: 18px 0; border-top: 1px solid #dbe5e9; }
.contact-card strong { color: var(--navy); font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: .88rem; }
.contact-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.contact-card svg { width: 16px; height: 16px; }

@media (max-width: 1050px) {
  .header-inner { width: calc(100% - 32px); }
  .primary-nav { position: absolute; inset: 100% 0 auto; display: grid; justify-items: center; gap: 0; max-height: calc(100vh - 82px); margin-left: 0; padding: 18px 24px 24px; overflow-y: auto; background: var(--white); box-shadow: 0 18px 30px rgba(0,24,39,.15); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: transform .25s ease, opacity .2s ease, visibility .2s ease; }
  .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { width: min(220px, 100%); padding: 11px 16px 13px; border-bottom: 1px solid #e2ebee; text-align: center; }
  .primary-nav a::after { left: 50%; right: auto; bottom: -1px; width: 34px; transform: translateX(-50%) scaleX(0); transform-origin: center; transition: transform .2s ease; }
  .primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: auto; transform: translateX(-50%) scaleX(1); }
  .menu-toggle { display: grid; margin-left: auto; }
  .hero { min-height: 620px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .fact:nth-child(2) { border-right: 0; }
  .age-fees { grid-template-columns: 1fr; gap: 60px; }
  .age-content { order: 1; }
  .fee-card { order: 2; }
  .fee-card { width: min(620px, 100%); }
  .venue-thumbnails { grid-auto-columns: calc((100% - 8px) / 3); }
  .venue-thumb { height: 190px; }
  .registration { grid-template-columns: 1fr auto; }
  .late-fee { grid-row: 2; padding: 0; border: 0; }
  .resource-strip { grid-template-columns: repeat(3, 1fr); gap: 46px 0; }
}

@media (max-width: 760px) {
  .section-pad { padding-top: 80px; padding-bottom: 80px; }
  .header-inner { min-height: 74px; }
  .brand { width: 118px; height: 64px; }
  .brand img { width: 112px; height: 58px; }
  .header-cta { display: none; }
  .primary-nav { max-height: calc(100vh - 74px); }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { align-items: center; padding-left: 24px; padding-right: 24px; text-align: center; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6.6rem); text-align: center; }
  .hero-title-line { display: block; font-size: 1em; white-space: normal; }
  .hero h1 em { display: block; width: max-content; margin: 12px auto 0; font-size: .92em; }
  .event-meta { justify-content: center; font-size: 1.26rem; }
  .hero-intro { margin-inline: auto; }
  .button-row { width: 100%; justify-content: center; }
  .hero-media { min-height: 430px; }
  .hero-media::before { display: none; }
  .hero-media img { object-position: 56% center; clip-path: none; }
  .button-row .button { flex: 1 1 100%; }
  .facts-grid { width: calc(100% - 32px); grid-template-columns: repeat(2, 1fr); gap: 0; }
  .fact { min-height: 140px; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 10px; border-right: 1px solid rgba(0,179,185,.32); border-bottom: 1px solid rgba(0,179,185,.32); text-align: center; }
  .fact:nth-child(even) { border-right: 0; }
  .fact:nth-child(n+3) { border-bottom: 0; }
  .fact svg { width: 38px; height: 38px; }
  .fact h2 { font-size: 1.3rem; }
  .split-section { grid-template-columns: 1fr; }
  .split-copy { padding-left: 24px; padding-right: 24px; }
  .split-media { min-height: 430px; }
  .story .split-media { order: -1; }
  .story .split-media::before, .story .split-media::after { display: none; }
  .story .split-media img { clip-path: none; }
  .story .split-copy { align-items: center; text-align: center; }
  .story .split-copy > p { margin-inline: auto; }
  .story .split-copy .button { align-self: center; }
  .competition-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 50px; }
  .competition-photo img { min-height: 400px; }
  .competition-content > .eyebrow, .competition-content > h2 { text-align: center; }
  .level { grid-template-columns: 38px 94px 1fr; gap: 12px; }
  .level p { font-size: .9rem; }
  .age-fees { width: calc(100% - 40px); gap: 54px; }
  .age-content > h2, .age-content > p { margin-inline: auto; text-align: center; }
  .formats { gap: 0; }
  .formats article { padding-inline: 8px; }
  .formats h3 { font-size: 1.65rem; }
  .formats small { font-size: .62rem; }
  .venues-feature { grid-template-columns: 1fr; }
  .venue-stage { min-height: 420px; }
  .venue-list { grid-template-columns: 1fr; }
  .venues .split-copy { align-items: center; text-align: center; }
  .venues .split-copy > p { margin-inline: auto; }
  .venue-list > a { flex-direction: column; align-items: center; text-align: center; }
  .venue-thumbnails { grid-auto-columns: 82%; }
  .venue-thumb { height: 230px; }
  .venue-stage-controls { right: 16px; bottom: 16px; }
  .registration { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 30px; }
  .deadline h2 { white-space: normal; }
  .registration .button { width: 100%; }
  .resource-strip { grid-template-columns: repeat(2, 1fr); gap: 0; padding-left: 20px; padding-right: 20px; }
  .resource-strip > a, .resource-strip > button { flex-direction: column; align-items: center; padding: 28px 12px; border-right: 1px solid rgba(0,179,185,.36); border-bottom: 1px solid rgba(0,179,185,.36); text-align: center; }
  .resource-strip > :nth-child(even) { border-right: 0; }
  .resource-strip > :nth-child(n+3) { border-bottom: 0; }
  .resource-strip > :last-child { grid-column: 1 / -1; border-right: 0; }
  .resource-strip small { min-height: 52px; }
  .footer-inner { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding: 48px 0; text-align: center; justify-items: center; }
  .footer-logo { width: 135px; height: 130px; }
  .socials { padding: 0; border: 0; }
  .registration-dialog { padding: 34px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
