/* Apple Crumble Gravel Crit: one responsive layout.
   Base rules = mobile (below 1280px); @media (min-width:1280px) = desktop. */
*{box-sizing:border-box}
:root{color-scheme:light}
html{scroll-padding-top:80px}
body{margin:0;font-family:"DM Sans",system-ui,sans-serif;background:#ffffff;color:#000000}
a{color:#6a2a94}a:hover{color:#4a1a6e}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Focus: visible on every background */
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #6a2a94;outline-offset:2px}
.on-dark a:focus-visible,.on-dark button:focus-visible{outline-color:#fff0e0}
.nav-link:focus-visible{outline:3px solid #000000;outline-offset:-8px}
.sponsor-card:focus-visible{outline-offset:4px}

/* Shared type */
.anton{font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;gap:8px;color:#000000;border:2px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;text-decoration:none}
.btn:hover{color:#000000}
.card{border:4px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000}
.cream{background:#fff0e0}.white{background:#ffffff}.plum{background:#4a1a6e;color:#fff0e0}
.muted{color:#4a3a57}

/* ---------- Page frame ---------- */
.page{max-width:640px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:#ffffff}
@media (min-width:641px) and (max-width:1279px){body{background:#fff0e0}.page{border-left:4px solid #000000;border-right:4px solid #000000}}

/* Header + nav (mobile) */
.site-head .bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#ffffff;border-bottom:4px solid #000000}
.site-head .logo{display:flex;align-items:center;gap:10px;min-height:44px;color:#000000;text-decoration:none}
.site-head .logo:hover{color:#000000}
.site-head .logo picture{display:block;flex-shrink:0}
.site-head .logo img{display:block;width:72px;height:72px;flex-shrink:0}
/* Hide-on-scroll header (top-bar layouts; on desktop the header is the fixed-height sidebar) */
@media (max-width:1279px){
  .site-head{position:sticky;top:0;z-index:20;transition:transform 0.25s ease}
  .site-head.is-hidden{transform:translateY(-100%)}
}
@media (prefers-reduced-motion:reduce){.site-head{transition:none}}
.menu-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;background:#a253c9;color:#000000;border:2px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000;font-family:'DM Sans',system-ui,sans-serif;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;cursor:pointer}
.site-nav{display:none;flex-direction:column;background:#ffffff}
.site-nav.open{display:flex}
.nav-link{display:flex;justify-content:space-between;align-items:center;min-height:64px;padding:0 16px;border-bottom:4px solid #000000;background:#ffffff;color:#000000;text-decoration:none;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:32px;line-height:32px;letter-spacing:0.02em;text-transform:uppercase}
.nav-link:hover{color:#000000}
.nav-link[aria-current]{background:#a253c9}
.nav-link svg{width:24px;height:24px}

/* Follow us (mobile = footer) */
.site-foot{margin-top:0;padding:24px 16px;border-top:4px solid #000000;background:#fff0e0;display:flex;flex-direction:column;gap:12px}
.insta{display:flex;align-items:center;gap:12px;color:#000000;text-decoration:none}
.insta:hover{color:#000000}
.insta .ico{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;background:#a253c9;border:2px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000}
.insta .ico svg{width:24px;height:24px}
.insta .txt{display:flex;flex-direction:column}
.insta .lbl{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase}
.insta .handle{font-size:16px;line-height:24px;font-weight:700;color:#6a2a94}

/* Get in touch (mobile = plum card under the content) */
.git{position:relative;overflow:hidden;margin:0 16px 24px;background:#4a1a6e;color:#fff0e0;border:4px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000;padding:20px;display:flex;flex-direction:column;gap:14px}
.git h2{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:32px;line-height:36px;letter-spacing:0.02em;text-transform:uppercase}
.git p{margin:0;font-size:16px;line-height:24px}
.git .btn{display:flex;justify-content:center;min-height:52px;padding:0 20px;background:#fff0e0}

/* ---------- Desktop frame ---------- */
@media (min-width:1280px){
  .page{max-width:none;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:auto auto auto 1fr}
  .page::after{content:"";grid-column:1;grid-row:4;border-right:4px solid #000000}
  .site-head{grid-column:1;grid-row:1;border-right:4px solid #000000;display:flex;flex-direction:column}
  .page>main{grid-column:2;grid-row:1 / 5}
  .site-foot{grid-column:1;grid-row:2;border-right:4px solid #000000}
  .git{grid-column:1;grid-row:3;border-right:4px solid #000000}
  .site-head .bar{display:block;padding:0;border-bottom:none}
  .site-head .logo{display:block;padding:24px;border-bottom:4px solid #000000;background:#ffffff}
  .site-head .logo img{width:268px;height:268px}
  .menu-btn{display:none}
  .site-nav,.site-nav.open{display:flex}
  .nav-link{min-height:0;padding:20px 24px;font-size:40px;line-height:40px}
  .nav-link:not([aria-current]):hover{background:#e8a4e8}
  .nav-link svg{width:28px;height:28px}
  .site-foot{padding:24px;border-top:none;border-bottom:4px solid #000000;background:#ffffff;display:block}
  .insta .ico{width:48px;height:48px}
  .insta .ico svg{width:26px;height:26px}
  .git{margin:0;background:#ffffff;color:#000000;border-top:none;border-left:none;border-bottom:4px solid #000000;border-radius:0;box-shadow:none;padding:24px;gap:12px;overflow:visible}
  .git h2{font-size:24px;line-height:28px}
  .git p{font-size:14px;line-height:20px;color:#4a3a57}
  .git .btn{display:inline-flex;align-self:flex-start;min-height:48px;padding:0 24px}
  .git.on-dark a:focus-visible{outline-color:#6a2a94}
}

/* ---------- Page heads (FAQ / Gallery / Sponsors) ---------- */
.page>main{box-sizing:border-box;padding:16px;display:flex;flex-direction:column;gap:16px}
.phead{display:flex;flex-direction:column;gap:8px;padding-top:8px}
.phead h1{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:64px;line-height:60px;letter-spacing:0.01em;text-transform:uppercase}
.phead p{margin:0;font-size:16px;line-height:24px;color:#4a3a57}
@media (min-width:1280px){
  .page>main{padding:48px;gap:24px}
  .phead{gap:16px;padding-top:0}
  .phead h1{font-size:96px;line-height:88px}
  .phead p{font-size:18px;line-height:28px;max-width:640px}
}
@media (min-width:1280px) and (max-width:1439px){.phead h1{font-size:80px;line-height:76px;padding-right:96px}}

/* ---------- Home ---------- */
.home>main{gap:16px}
@media (min-width:1280px){.home>main{padding:24px 48px 48px;gap:16px}}
.hero{position:relative;overflow:hidden;border:4px solid #000000;border-radius:24px;box-shadow:4px 4px 0 0 #000000;padding:24px;display:flex;flex-direction:column;gap:20px}
.dots{position:absolute;top:14px;right:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.dots span{display:block;width:6px;height:6px;border-radius:999px;background:#e8a4e8}
.dots span:nth-child(2n){background:#fd6f0d}
.hero .dots span:nth-child(4){background:#e8a4e8}.hero .dots span:nth-child(5){background:#fd6f0d}.hero .dots span:nth-child(6){background:#e8a4e8}.hero .dots span:nth-child(n+7){display:none}
.hero h1{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:44px;line-height:48px;letter-spacing:0.01em;text-transform:uppercase;padding-right:32px}
.hero .intro{margin:0;font-size:18px;line-height:28px}
.nextup{padding:20px;display:flex;flex-direction:column;gap:16px}
.nextup .nu-info{display:flex;flex-direction:column;gap:6px}
.nextup .nu-lbl{margin:0;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:#a83c00}
.nextup .when{display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:24px;font-weight:700}
.nextup .when a{color:#6a2a94;text-decoration:underline;text-underline-offset:3px}
.nextup .when a:hover{color:#4a1a6e}
.nextup .nu-date{font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:32px;line-height:36px;letter-spacing:0.02em;text-transform:uppercase}
.nextup .cta{display:flex;flex-direction:column;gap:12px}
.nextup .cta .btn{display:flex;justify-content:center;min-height:52px;padding:0 20px;background:#fd6f0d}
.nextup .cta .btn[hidden]{display:none}
.nextup .note{margin:0;font-size:14px;line-height:20px;font-weight:700;color:#4a3a57;text-align:center}
.nextup .price{margin:0;font-size:14px;line-height:20px;color:#4a3a57;text-align:center}
.nextup .price strong{font-weight:700;color:#000000}
@media (max-width:359px){.hero h1{font-size:36px;line-height:40px;padding-right:0}}
@media (min-width:600px) and (max-width:1279px){.hero h1 .m-br{display:none}.hero h1{font-size:42px;line-height:46px;white-space:nowrap}}
@media (min-width:1280px){
  .hero{padding:48px;gap:24px;align-items:flex-start}
  .hero .dots{top:36px;right:36px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .hero .dots span{width:10px;height:10px}
  .hero .dots span:nth-child(n){display:block}
  .hero .dots span:nth-child(4),.hero .dots span:nth-child(5),.hero .dots span:nth-child(7),.hero .dots span:nth-child(10),.hero .dots span:nth-child(12){background:#fd6f0d}
  .hero .dots span:nth-child(6),.hero .dots span:nth-child(8),.hero .dots span:nth-child(9),.hero .dots span:nth-child(11){background:#e8a4e8}
  .hero h1{font-size:72px;line-height:72px;padding-right:80px;white-space:nowrap}
  .hero h1 .m-br{display:none}
  .hero .intro{max-width:620px}
  .nextup{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:24px}
  .nextup .nu-date{font-size:40px;line-height:44px}
  .nextup .when{font-size:18px;line-height:28px}
  .nextup .cta{align-items:center;gap:10px;flex-shrink:0}
  .nextup .cta .btn{display:inline-flex;padding:0 28px}
}
@media (min-width:1280px) and (max-width:1439px){.hero h1{font-size:58px;line-height:60px}}

.home-grid{display:flex;flex-direction:column;gap:16px}
.grades,.dates,.bring{padding:20px;display:flex;flex-direction:column}
.grades{gap:8px}.dates{gap:14px}.bring{gap:16px}
.home-grid h2{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:32px;line-height:36px;letter-spacing:0.02em;text-transform:uppercase}
.times{display:flex;flex-direction:column}
.trow{display:flex;align-items:baseline;gap:16px;padding:12px 0;border-bottom:2px solid #000000}
.trow:last-child{border-bottom:none}
.trow .t{width:84px;flex-shrink:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:26px;line-height:28px;color:#a83c00}
.trow .info{display:flex;flex-direction:column}
.trow .g{font-size:16px;line-height:24px;font-weight:700}
.trow .len{font-size:14px;line-height:20px;color:#4a3a57}
.trow .d-br{display:none}
.rdlist{display:flex;flex-direction:column}
.race{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px;border-bottom:2px solid #000000}
.race:last-child{border-bottom:none}
.race[hidden]{display:none}
.race.is-next{margin-bottom:8px;background:#fd6f0d;border:2px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000}
.race .tag{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase}
.rd-date{font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:24px;line-height:32px;text-transform:uppercase;white-space:nowrap}
.race-btns{display:flex;flex-wrap:wrap;gap:8px}
.race .btn{min-height:44px;padding:0 13px;background:#ffffff}
.race .b-enter{background:#fd6f0d}
.race.is-next .b-enter{background:#ffffff}
.soon{margin-top:auto;padding:12px 14px;background:#fff0e0;border-radius:12px;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:22px;line-height:28px;text-transform:uppercase}
.course{min-width:0}
.cm-wrap{position:relative}
.course .b-dir{min-height:44px;padding:0 14px;gap:6px;background:#ffffff}
.cm-lap{margin:0}
/* mobile: the portrait drawing carries the card, title and lap length; only the button sits over it */
@media (max-width:1279px){
  .cm-head{position:absolute;inset:0;pointer-events:none}
  .cm-head h2,.cm-lap{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .course .b-dir{position:absolute;left:7.1%;top:15.8%;pointer-events:auto}
}
.course .cm{display:block;width:100%;height:auto}
.course .cm-l{display:none}
.items{display:flex;flex-direction:column;gap:16px}
.item{display:flex;gap:12px;align-items:flex-start}
.item svg{flex-shrink:0}
.item .h{font-weight:700}
.item .d{font-size:14px;line-height:20px;color:#4a3a57}
@media (min-width:1280px){
  .home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .grades{grid-column:1 / 3;grid-row:1;padding:24px;gap:12px}
  .bring{grid-column:3;grid-row:1;padding:24px;gap:16px}
  .course{grid-column:1 / 3;grid-row:2}
  .dates{grid-column:3;grid-row:2;padding:24px;gap:16px}
  .home-grid h2{font-size:40px;line-height:40px}
  .bring h2{white-space:nowrap}
  .trow{align-items:center;gap:24px;padding:14px 0}
  .trow .t{width:96px;font-size:32px;line-height:32px}
  .trow .info{display:contents}
  .trow .g{flex-grow:1;font-size:18px;line-height:28px}
  .trow .len{text-align:right}
  .trow .d-br{display:inline}
  .trow .m-sep{display:none}
  .rd-date{font-size:28px;line-height:32px}
  .soon{font-size:24px}
  .course .cm-l{display:block}
  .course{display:flex;flex-direction:column;padding:24px;background:#fbefe1;border:4px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000}
  .cm-wrap{flex:1;display:flex;flex-direction:column;gap:8px}
  .cm-head{display:flex;align-items:center;gap:16px}
  .cm-lap{font-size:16px;line-height:24px;font-weight:700;color:#3b2a1e;padding-top:8px}
  .course .b-dir{margin-left:auto}
  .cm-map{flex:1;display:flex;align-items:center;justify-content:center}
  .course .cm-l{max-width:720px}
  .course .cm-p{display:none}
}
@media (min-width:1280px) and (max-width:1439px){.home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr)}.rd-date{font-size:22px}.nextup .nu-date{font-size:34px;line-height:38px}.bring h2{font-size:32px;line-height:36px}}

/* ---------- FAQ ---------- */
.faq-grid{display:flex;flex-direction:column;gap:16px}
.qa{padding:20px;display:flex;flex-direction:column;gap:10px}
.qa .eyebrow{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:#a83c00}
.qa.plum .eyebrow{color:#e8a4e8}
.qa h2{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:28px;line-height:32px;letter-spacing:0.02em;text-transform:uppercase}
.qa .a{font-size:16px;line-height:24px}
.qa.acc{display:block;padding:0}
.qa.acc summary{display:flex;align-items:center;gap:16px;padding:20px;list-style:none;cursor:pointer;border-radius:inherit}
.qa.acc summary::-webkit-details-marker{display:none}
.qa.acc summary::marker{content:''}
.qa.acc .q{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}
.qa.acc .eyebrow{display:block}
.qa.acc .tog{flex:none;position:relative;width:36px;height:36px;border:2.5px solid #111;border-radius:50%;background:#fff;box-shadow:3px 3px 0 #111}
.qa.acc .tog::before,.qa.acc .tog::after{content:'';position:absolute;left:50%;top:50%;width:14px;height:2.5px;margin:-1.25px 0 0 -7px;background:#111;border-radius:2px;transition:transform .2s}
.qa.acc .tog::after{transform:rotate(90deg)}
.qa.acc[open] .tog::after{transform:rotate(0deg)}
.qa.acc[open] summary{padding-bottom:0}
.qa.acc > .a,.qa.acc > .chips,.qa.acc > .acts{margin:10px 20px 0}
.qa.acc[open]{padding-bottom:20px}
.qa.acc summary:focus-visible{outline:3px solid #6a2a94;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.qa.acc .tog::before,.qa.acc .tog::after{transition:none}}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.chip{display:inline-flex;align-items:center;padding:4px 10px;border:2px solid #000000;border-radius:4px;font-size:13px;line-height:18px;font-weight:700}
.chip.p{background:#a253c9}.chip.o{background:#fd6f0d}.chip.w{background:#ffffff}
.acts{display:flex;flex-wrap:wrap;gap:12px;padding-top:4px}
.acts .btn{min-height:44px;padding:0 16px}
.b-grape{background:#a253c9}.b-cream{background:#fff0e0}.b-orange{background:#fd6f0d}.b-white{background:#ffffff}
@media (min-width:1280px){
  .faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
  .qa{padding:24px;gap:12px}
  .qa.wide{grid-column:1 / -1}
  .qa h2{font-size:32px;line-height:36px}
  .qa .a{font-size:18px;line-height:28px}
  .qa.acc{padding:24px}
  .qa.acc summary{padding:0;cursor:default}
  .qa.acc .q{gap:12px}
  .qa.acc .tog{display:none}
  .qa.acc > .a,.qa.acc > .chips,.qa.acc > .acts{margin:12px 0 0}
  .qa.acc[open]{padding-bottom:24px}
  .chips,.acts{margin-top:auto}
  .chip{padding:4px 12px;font-size:14px;line-height:20px}
  .acts .btn{padding:0 18px}
}

/* ---------- Gallery ---------- */
.g-head{display:flex;flex-direction:column;gap:16px}
.g-head .phead p a{color:#6a2a94;font-weight:700}
.g-btns{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:4px 16px 8px}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;color:#000000;border:2px solid #000000;border-radius:999px;box-shadow:4px 4px 0 0 #000000;font-family:'DM Sans',system-ui,sans-serif;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;white-space:nowrap;text-decoration:none;flex-shrink:0}
.pill:hover{color:#000000}
.photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:150px;gap:12px}
.photos figure{margin:0;background:#fff0e0;border:4px solid #000000;box-shadow:4px 4px 0 0 #000000;border-radius:12px;position:relative;overflow:hidden;padding:0}
.photos figure img{display:block;width:100%;height:100%;object-fit:cover}
.photos .r24{border-radius:24px}
.photos .f1,.photos .f7{grid-column:span 2;grid-row:span 2}
.photos .f5{grid-row:span 2}
.shot{position:relative;overflow:hidden;grid-column:span 2;border:4px solid #000000;box-shadow:4px 4px 0 0 #000000;border-radius:24px;padding:20px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.shot .dots{top:16px;right:16px;gap:14px}
.shot .dots span{width:10px;height:10px}
.shot .dots span:nth-child(4){background:#e8a4e8}.shot .dots span:nth-child(5){background:#fd6f0d}.shot .dots span:nth-child(6){background:#e8a4e8}
.shot h2{margin:0;font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;font-size:28px;line-height:32px;letter-spacing:0.02em;text-transform:uppercase}
.shot p{margin:0;font-size:14px;line-height:20px;max-width:250px}
@media (min-width:1280px){
  .g-head{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:24px}
  .g-head .phead{gap:12px}
  .g-head .phead p{max-width:560px}
  .g-btns{gap:12px;overflow-x:visible;margin:0;padding:0}
  .photos{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:200px;gap:16px}
  .photos .f1{grid-column:1 / 3;grid-row:1 / 3}
  .photos .f2{grid-column:3 / 4;grid-row:1 / 2}
  .photos .f3{grid-column:4 / 5;grid-row:1 / 2}
  .shot{grid-column:3 / 5;grid-row:2 / 3;padding:24px;gap:12px}
  .photos .f4{grid-column:1 / 2;grid-row:3 / 4}
  .photos .f5{grid-column:2 / 3;grid-row:3 / 5}
  .photos .f6{grid-column:1 / 2;grid-row:4 / 5}
  .photos .f7{grid-column:3 / 5;grid-row:3 / 5}
  .photos .f8{grid-column:1 / 3;grid-row:5 / 6}
  .photos .f9{grid-column:3 / 5;grid-row:5 / 6}
  .shot .dots{top:24px;right:24px}
  .shot .dots span:nth-child(4){background:#fd6f0d}.shot .dots span:nth-child(5){background:#e8a4e8}.shot .dots span:nth-child(6){background:#fd6f0d}
  .shot h2{font-size:40px;line-height:40px}
  .shot p{font-size:16px;line-height:24px;max-width:420px}
}

/* ---------- Sponsors ---------- */
.sponsors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sponsor-card{position:relative;display:block;aspect-ratio:1 / 1;overflow:hidden;background:#ffffff;border:4px solid #000000;border-radius:12px;box-shadow:4px 4px 0 0 #000000;text-decoration:none;transition:background .15s}
.sponsor-card:hover{background:#fff0e0}
.sponsor-card img{position:absolute;top:20%;bottom:20%;left:12%;right:12%;width:76%;height:60%;object-fit:contain}
@media (min-width:1280px){.sponsors{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}

/* Hero background video */
.hero.video-off .hero-bg{display:none}
/* hide Safari's own play overlay; our button handles play/pause */
.hero-bg::-webkit-media-controls,.hero-bg::-webkit-media-controls-start-playback-button,.hero-bg::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;z-index:0;pointer-events:none}
.hero-tint{position:absolute;inset:0;z-index:0;background:rgba(74,26,110,0.65);pointer-events:none}
.hero>h1,.hero>.intro{position:relative;z-index:1}
.hero .dots{z-index:1}
.hero-pause{position:absolute;right:8px;bottom:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}
.hero-pause::before{content:"";position:absolute;inset:4px;border:2px solid #fff0e0;border-radius:999px;background:rgba(17,17,17,0.45)}
.hero-pause:hover::before{background:rgba(17,17,17,0.7)}
.hero-pause svg{position:relative}
.hero-pause .i-play{display:none}.hero-pause.is-paused .i-play{display:inline}.hero-pause.is-paused .i-pause{display:none}
@media (max-width:1279px){.hero-pause{top:6px;bottom:auto;right:6px}.hero-pause::before{inset:6px}.hero .dots{right:54px}}
@media (min-width:1280px){.hero-tint{background:linear-gradient(90deg,rgba(74,26,110,0.8) 0%,rgba(74,26,110,0.65) 55%,rgba(74,26,110,0.45) 100%)}.hero-pause{right:12px;bottom:12px}}
.hero{background:#4a1a6e url(/assets/hero-poster.webp?v=80c44f3d) 50% 50%/cover no-repeat}
@media (min-width:1280px){.hero{background:#4a1a6e url(/assets/hero-poster.webp?v=80c44f3d) 50% 50%/cover no-repeat}.hero-bg{object-position:50% 50%}}
@media (prefers-reduced-motion:reduce){.hero-bg{display:none}}

/* FAQ already ends with "Still got a question?", so skip the duplicate Get in touch card on mobile */
@media (max-width:1279px){.page.faq .git{display:none}}

/* Sticker-style press: button-style links shift down-right into their hard shadow */
.btn,.menu-btn,.pill,.insta .ico{box-shadow:4px 4px 0 0 #000;transition:transform 0.08s ease,box-shadow 0.08s ease}
.btn:hover,.menu-btn:hover,.pill:hover,.insta:hover .ico{transform:translate(-1px,-1px);box-shadow:5px 5px 0 0 #000}
.btn:active,.menu-btn:active,.pill:active,.insta:active .ico{transform:translate(4px,4px);box-shadow:0 0 0 0 #000}
@media (hover:none){
  .btn:hover,.menu-btn:hover,.pill:hover,.insta:hover .ico{transform:none;box-shadow:4px 4px 0 0 #000}
  .btn:active,.menu-btn:active,.pill:active,.insta:active .ico{transform:translate(4px,4px);box-shadow:0 0 0 0 #000}
}
@media (prefers-reduced-motion:reduce){.btn,.menu-btn,.pill,.insta .ico{transition:none}}
.btn:focus-visible,.menu-btn:focus-visible,.pill:focus-visible{outline:2px solid #6a2a94;outline-offset:2px}

/* Small print footer: acknowledgement of country + credits */
.site-legal{padding:20px 16px 24px;border-top:4px solid #000000;background:#ffffff;display:flex;flex-direction:column;gap:10px}
.site-legal p{margin:0;font-size:13px;line-height:20px;color:#4a3a57}
.site-legal .small{font-weight:700;color:#000000}
.site-legal a{color:#6a2a94}
@media (min-width:641px) and (max-width:1279px){.site-legal{max-width:640px;margin:0 auto;border-left:4px solid #000000;border-right:4px solid #000000}}
@media (min-width:1280px){
  .site-legal{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:48px;padding:24px 48px}
  .site-legal .aoc{max-width:720px}
  .site-legal .small{white-space:nowrap}
}

/* Desktop sidebar that stays in view (needs the script's measurements, so only with JS) */
@media (min-width:1280px){
  .rail-js .site-head,.rail-js .site-foot,.rail-js .page>.git{grid-row:1 / 5;align-self:start;position:sticky;z-index:1}
  .rail-js .site-head{top:var(--rail-top,0px);margin-bottom:calc(var(--rail-foot,0px) + var(--rail-git,0px))}
  .rail-js .site-foot{margin-top:var(--rail-head,0px);margin-bottom:var(--rail-git,0px);top:calc(var(--rail-top,0px) + var(--rail-head,0px))}
  .rail-js .page>.git{margin-top:calc(var(--rail-head,0px) + var(--rail-foot,0px));top:calc(var(--rail-top,0px) + var(--rail-head,0px) + var(--rail-foot,0px))}
}
