body[data-v31-home] { overflow-x: clip; }
body[data-v31-home] .v31-identity { width: 100%; margin: 8px 0 0; color: #f6d082; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: .03em; text-align: center; white-space: nowrap; }
body[data-v31-home] .v31-header { justify-content: space-between; }
body[data-v31-home] .v31-header .brand { flex: none; gap: 10px; color: #fff; text-decoration: none; }
body[data-v31-home] .v31-brand-logo { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: contain; }
body[data-v31-home] .v31-header .v31-primary-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
body[data-v31-home] .v31-header .v31-primary-nav a { color: #fff; text-decoration: none; white-space: nowrap; }
body[data-v31-home] .v31-header .v31-primary-nav a:hover { color: #f6d082; }
body[data-v31-home] .v31-menu-toggle { display: none; }
body[data-v31-home] [data-v31-section] { scroll-margin-top: 86px; }
html { scroll-behavior: smooth; }
body[data-v31-home] .v31-inner { width: min(100%, 1120px); margin-inline: auto; }
body[data-v31-home] .v31-events,
body[data-v31-home] .v31-consultation,
body[data-v31-home] .v31-social { padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px); }
body[data-v31-home] .v31-events { background: #0c1118; border-top: 2px solid #f6d082; }
body[data-v31-home] .v31-consultation { background: #121923; border-top: 1px solid rgba(246,208,130,.35); }
body[data-v31-home] .v31-shine { padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px); background: #0e1822; border-top: 1px solid rgba(246,208,130,.35); }
body[data-v31-home] .v31-shine-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
body[data-v31-home] .v31-shine-tabs button { min-width: 0; min-height: 92px; display: grid; place-content: center; gap: 7px; padding: 12px 5px; border: 1px solid rgba(246,208,130,.38); border-radius: 14px; background: #152433; color: #fff; cursor: pointer; }
body[data-v31-home] .v31-shine-tabs button strong { color: #f6d082; font-size: clamp(26px, 4vw, 40px); line-height: 1; }
body[data-v31-home] .v31-shine-tabs button span { font-size: clamp(9px, 1.2vw, 13px); letter-spacing: .04em; }
body[data-v31-home] .v31-shine-tabs button[aria-selected="true"] { border-color: #f6d082; background: #5b451e; box-shadow: 0 0 0 2px rgba(246,208,130,.22); }
body[data-v31-home] .v31-shine-tabs button:focus-visible,
body[data-v31-home] .v31-shine-program summary:focus-visible { outline: 3px solid #f6d082; outline-offset: 3px; }
body[data-v31-home] .v31-shine-panel { margin-top: 22px; padding: clamp(20px, 3vw, 36px); border: 1px solid rgba(246,208,130,.3); border-radius: 16px; background: #152433; }
body[data-v31-home] .v31-shine-panel h3 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 34px); }
body[data-v31-home] .v31-shine-direction { margin: 0 0 24px; color: #e3d2aa; line-height: 1.6; }
body[data-v31-home] .v31-shine-program { border-top: 1px solid rgba(255,255,255,.18); }
body[data-v31-home] .v31-shine-program summary { padding: 18px 6px; color: #fff; font-size: clamp(16px, 2vw, 21px); font-weight: 700; cursor: pointer; }
body[data-v31-home] .v31-shine-program[open] summary { color: #f6d082; }
body[data-v31-home] .v31-shine-program ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0 0 22px; padding-left: 30px; color: #e2e9ef; line-height: 1.55; }
body[data-v31-home] .v31-shine-program li { min-width: 0; overflow-wrap: anywhere; }
body[data-v31-home] .v31-social { background: #0c1118; }
body[data-v31-home] .v31-inner > h2 { margin: 10px 0 16px; font-size: clamp(30px, 5vw, 54px); line-height: 1.15; }
body[data-v31-home] .v31-inner > p:not(.eyebrow) { max-width: 52ch; line-height: 1.7; }
body[data-v31-home] .v31-event-list { display: grid; gap: 18px; margin-top: 30px; }
body[data-v31-home] .v31-event-list .campaign-banner { min-width: 0; }
body[data-v31-home] .v31-link-card,
body[data-v31-home] .v31-primary-link,
body[data-v31-home] .v31-social-links .v31-channel { display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; max-width: 100%; gap: 16px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: #fff; text-decoration: none; }
body[data-v31-home] .v31-link-card { width: min(100%, 520px); }
body[data-v31-home] .v31-event-card { display: grid; justify-content: stretch; }
body[data-v31-home] .v31-event-card img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 8px; }
body[data-v31-home] .v31-event-card h3 { margin: 0; font-size: clamp(20px, 3vw, 28px); }
body[data-v31-home] .v31-event-card p { margin: 0; line-height: 1.5; }
body[data-v31-home] .v31-event-card a { color: #f6d082; font-weight: 700; }
body[data-v31-home] .v31-primary-link { margin-top: 20px; background: #204a62; }
body[data-v31-home] .v31-primary-link[aria-disabled=true] { opacity: .6; cursor: not-allowed; }
body[data-v31-home] .v31-social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
body[data-v31-home] .v31-social-links .v31-channel { display: flex; justify-content: center; flex-direction: column; text-align: center; gap: 8px; overflow-wrap: anywhere; }
body[data-v31-home] .v31-channel-icon { font-size: 25px; font-weight: 800; line-height: 1; }
body[data-v31-home] .v31-channel-icon img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: contain; }
body[data-v31-home] .v31-channel[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
body[data-v31-home] .v31-link-card:hover,
body[data-v31-home] .v31-primary-link:hover,
body[data-v31-home] .v31-social-links a:hover { border-color: #fff; }
body[data-v31-home] :is(.v31-link-card,.v31-primary-link,.v31-social-links a):focus-visible { outline: 3px solid #f6d082; outline-offset: 3px; }
@media (max-width: 960px) {
  body[data-v31-home] .v31-menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: #152433; cursor: pointer; }
  body[data-v31-home] .v31-menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
  body[data-v31-home] .v31-header .v31-primary-nav { display: none; position: absolute; top: 100%; right: 12px; width: min(320px, calc(100vw - 24px)); padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: #0c1118; box-shadow: 0 18px 42px rgba(0,0,0,.45); }
  body[data-v31-home] .v31-header .v31-primary-nav.is-open { display: grid; gap: 0; }
  body[data-v31-home] .v31-header .v31-primary-nav a { display: block; min-height: 48px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  body[data-v31-home] .v31-header .v31-primary-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 767px) {
  body[data-v31-home] .v31-identity { white-space: normal; }
  body[data-v31-home] .v31-shine-tabs { gap: 5px; }
  body[data-v31-home] .v31-shine-tabs button { min-height: 68px; padding: 8px 2px; }
  body[data-v31-home] .v31-shine-program ul { grid-template-columns: 1fr; }
  body[data-v31-home] .v31-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-v31-home] .v31-header { gap: 12px; padding-inline: max(18px, env(safe-area-inset-left)); }
  body[data-v31-home] .v31-header .v31-primary-nav { font-size: 16px; }
  body[data-v31-home] .v31-header .brand { font-size: 14px; }
  body[data-v31-home] .v31-events,
  body[data-v31-home] .v31-consultation,
  body[data-v31-home] .v31-shine,
  body[data-v31-home] .v31-social { padding-inline: max(20px, env(safe-area-inset-left)); }
  body[data-v31-home] .v31-social { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  body[data-v31-home] .v31-link-card,
  body[data-v31-home] .v31-primary-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-v31-home] .hero-video { display: none !important; }
  body[data-v31-home] :is(.v31-link-card,.v31-primary-link,.v31-social-links a) { scroll-behavior: auto; transition: none; }
}

/* Compact admissions events and video-first hero */
body[data-v31-home] #hero .hero-content { position:absolute!important; top:auto!important; bottom:clamp(55px,7vw,85px)!important; left:50%!important; transform:translateX(-50%)!important; width:min(90%,720px)!important; text-align:center; pointer-events:none; }
body[data-v31-home] #hero .hero-content > :not(.v31-identity) { display:none!important; }
body[data-v31-home] #hero .v31-identity { margin:0; font-size:clamp(15px,1.7vw,22px); text-shadow:0 2px 12px #000b; animation:v31-brief 3.2s ease both; }
@keyframes v31-brief { 0%{opacity:0;transform:translateY(8px)} 18%,65%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(-4px)} }
body[data-v31-home] #hero .v31-hero-sound { position:absolute; z-index:15; right:clamp(14px,3vw,40px); bottom:clamp(14px,3vw,30px); border:1px solid #ffffff66; border-radius:999px; background:#101923c9; color:white; padding:10px 16px; font:inherit; font-size:13px; cursor:pointer; backdrop-filter:blur(10px); }
body[data-v31-home] #hero .v31-hero-sound:focus-visible,body[data-v31-home] .v31-event-row:focus-visible { outline:3px solid #f6d082; outline-offset:3px; }
body[data-v31-home] .v31-event-list { gap:10px; }
body[data-v31-home] .v31-event-row { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:82px; width:100%; padding:16px clamp(16px,3vw,26px); border:1px solid #ffffff2b; border-radius:12px; background:#151d28; color:white; text-decoration:none; transition:background .2s,border-color .2s; }
body[data-v31-home] .v31-event-row:hover { background:#1e2b3a; border-color:#e5bb73; }
body[data-v31-home] .v31-event-row-main { display:grid; gap:5px; min-width:0; }
body[data-v31-home] .v31-event-row-main strong { font-size:clamp(16px,2vw,20px); line-height:1.3; }
body[data-v31-home] .v31-event-date { font-size:13px; color:#b6c1ce; }
body[data-v31-home] .v31-event-row-end { display:grid; justify-items:end; gap:5px; flex:none; }
body[data-v31-home] .v31-event-status { color:#c7d1db; font-size:12px; }
body[data-v31-home] .v31-event-cta { color:#f6d082; font-size:13px; font-weight:700; }
@media(max-width:767px){body[data-v31-home] #hero .hero-content{bottom:56px!important}body[data-v31-home] .v31-event-row{min-height:74px;gap:10px;padding:14px}body[data-v31-home] .v31-event-row-main strong{font-size:15px}body[data-v31-home] .v31-event-cta{font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-v31-home] #hero .v31-identity{animation:none;opacity:1}body[data-v31-home] .v31-event-row{transition:none}}

/* Mobile hero hotfix v2: the old <=1024px stylesheet put a separate black
   .hero-content panel below the media, then the v1 overlay override pulled
   that panel over the video. Keep media and caption in ONE aspect-ratio box. */
@media (max-width: 1024px) {
  body[data-v31-home] #hero.hero {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: var(--hero-media-ratio, 16 / 9) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #080b10;
  }
  body[data-v31-home] #hero.hero::before { display: none !important; content: none !important; }
  body[data-v31-home] #hero .hero-video,
  body[data-v31-home] #hero .hero-fallback {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  body[data-v31-home] #hero .hero-fallback {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
  body[data-v31-home] #hero .hero-content {
    position: absolute !important;
    z-index: 3 !important;
    top: auto !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    width: calc(100% - 130px) !important;
    max-width: 560px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    pointer-events: none !important;
  }
  body[data-v31-home] #hero .hero-content > :not(.v31-identity) { display: none !important; }
  body[data-v31-home] #hero .v31-identity {
    display: block;
    padding: 0;
    margin: 0;
    font-size: clamp(12px, 2.5vw, 17px) !important;
    line-height: 1.35;
    background: transparent !important;
  }
  body[data-v31-home] #hero .v31-hero-sound {
    right: 10px !important;
    bottom: 10px !important;
    padding: 8px 12px;
    font-size: 12px;
  }
  body[data-v31-home] .v31-events,
  body[data-v31-home] .v31-consultation { padding-block: 36px !important; }
  body[data-v31-home] .v31-event-list { margin-top: 18px !important; }
}
