:root{
    --ink:#1f2a33;
    --paper:#ffffff;
    --paper-2:#eaf5fb;
    --line:#d9e7ef;
    --sky-deep:#0b5f8a;
    --sky:#2f9bd6;
    --sky-light:#7dc8ea;
    --sky-pale:#e4f4fb;
    --text-dim:#5b6b74;
    --radius:2px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'Noto Sans JP', sans-serif;
    line-height:1.7;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{
    font-family:'Oswald','Noto Sans JP',sans-serif;
    text-transform:uppercase;
    letter-spacing:.03em;
  }
  .mono{font-family:'Roboto Mono',monospace;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  section{scroll-margin-top:76px;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 24px;}

  /* ---------- signature accent bar (smooth blue gradient, no hazard stripes) ---------- */
  .accent-bar{
    height:10px;
    background:linear-gradient(90deg, var(--sky-deep), var(--sky) 45%, var(--sky-light) 75%, var(--sky-pale));
  }
  .accent-bar.thin{height:5px;}

  /* ---------- header ---------- */
  .site-header{
    position:fixed; top:0; left:0; right:0; z-index:200;
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px;
    background:rgba(255,255,255,.0);
    border-bottom:1px solid transparent;
    transition:background .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease;
  }
  .site-header.scrolled{
    background:rgba(255,255,255,.96);
    box-shadow:0 2px 18px rgba(11,95,138,.10);
    border-bottom:1px solid var(--line);
    padding:10px 24px;
  }
  .brand{display:flex; align-items:center; gap:10px;}
  .brand-badge{
    width:42px; height:42px; border-radius:50%;
    background:var(--sky-deep);
    border:2px solid var(--sky-light);
    display:flex; align-items:center; justify-content:center;
    font-family:'Oswald',sans-serif; font-weight:700; color:#fff;
    font-size:12px; letter-spacing:0;
  }
  .brand-name{color:var(--ink); font-family:'Oswald',sans-serif; font-size:15px; letter-spacing:.06em;}
  .brand-name small{display:block; font-family:'Noto Sans JP',sans-serif; font-size:10px; color:var(--sky-deep); letter-spacing:.12em; font-weight:700;}

  .header-actions{display:flex; align-items:center; gap:12px;}
  .cta-pill{
    display:flex; align-items:center; gap:8px;
    background:var(--sky-deep); color:#fff;
    padding:10px 18px; border-radius:999px;
    font-family:'Oswald',sans-serif; font-size:13px; letter-spacing:.06em;
    border:2px solid var(--sky-deep);
    transition:background .25s ease, color .25s ease;
  }
  .cta-pill:hover{background:#fff; color:var(--sky-deep);}
  .cta-pill svg{width:16px; height:16px; flex:none;}
  @media (max-width:480px){ .cta-pill span{display:none;} .cta-pill{padding:10px 12px;} }

  .burger{
    width:46px; height:46px; border:2px solid var(--ink); background:#fff;
    border-radius:50%; cursor:pointer; position:relative; z-index:210;
  }
  .burger span{
    position:absolute; left:12px; right:12px; height:2px; background:var(--ink);
    transition:transform .3s ease, opacity .3s ease;
  }
  .burger span:nth-child(1){top:16px;}
  .burger span:nth-child(2){top:23px;}
  .burger span:nth-child(3){top:30px;}
  .burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .burger.open span:nth-child(2){opacity:0;}
  .burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .nav-panel{
    position:fixed; inset:0 0 0 auto; width:min(360px,86vw); height:100%;
    background:#fff; z-index:199;
    transform:translateX(105%);
    transition:transform .45s cubic-bezier(.6,0,.2,1);
    display:flex; flex-direction:column; justify-content:center;
    padding:40px;
    border-left:6px solid var(--sky);
    box-shadow:-10px 0 40px rgba(11,95,138,.15);
  }
  .nav-panel.open{transform:translateX(0);}
  .nav-panel .nav-brand{font-family:'Roboto Mono',monospace; font-size:12px; letter-spacing:.2em; color:var(--sky-deep); margin-bottom:30px;}
  .nav-panel nav{display:flex; flex-direction:column; gap:8px;}
  .nav-panel a{
    color:var(--ink); font-family:'Oswald',sans-serif; font-size:26px;
    padding:14px 0; border-bottom:1px solid var(--line);
    display:flex; align-items:baseline; gap:14px;
  }
  .nav-panel a span.num{color:var(--sky); font-family:'Roboto Mono',monospace; font-size:14px; width:20px;}
  .nav-panel a svg{width:20px; height:20px; flex:none; stroke:var(--sky-deep);}
  .nav-panel a:hover{color:var(--sky-deep);}
  .nav-panel a:hover svg{stroke:var(--sky);}
  .nav-overlay{
    position:fixed; inset:0; background:rgba(31,42,51,.35); z-index:198;
    opacity:0; pointer-events:none; transition:opacity .35s ease;
  }
  .nav-overlay.open{opacity:1; pointer-events:auto;}

  /* ---------- hero ---------- */
  .hero{
    position:relative; min-height:100vh;
    background:var(--paper);
    color:var(--ink);
    display:flex; flex-direction:column; justify-content:center;
    padding:130px 24px 100px;
    overflow:hidden;
  }
  .hero::before{
    content:"";
    position:absolute; top:-20%; right:-15%; width:60%; height:80%;
    background:radial-gradient(circle at 60% 40%, rgba(47,155,214,.16), transparent 65%);
    pointer-events:none;
  }
  .hero::after{
    content:"";
    position:absolute; left:-10%; bottom:-15%; width:50%; height:60%;
    background:radial-gradient(circle at 40% 60%, rgba(11,95,138,.10), transparent 70%);
    pointer-events:none;
  }
  .hero-inner{position:relative; max-width:1120px; margin:0 auto; width:100%;}
  .hero-bigtype{
    position:absolute; top:14%; left:50%; transform:translateX(-50%);
    width:max-content; white-space:nowrap;
    font-family:'Oswald',sans-serif; font-weight:700; font-size:clamp(3.5rem,14vw,11rem);
    color:transparent; -webkit-text-stroke:1px var(--line); letter-spacing:.02em;
    pointer-events:none; z-index:0; user-select:none;
  }
  .hero-wave{
    position:absolute; right:0; top:8%; width:42%; max-width:460px; opacity:.9;
    pointer-events:none;
  }
  .hero-eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    color:var(--sky-deep); font-family:'Roboto Mono',monospace; font-size:13px;
    letter-spacing:.2em; margin-bottom:22px; font-weight:700;
  }
  .hero-eyebrow::before{content:""; width:34px; height:2px; background:var(--sky); display:inline-block;}
  .hero h1{
    font-size:clamp(2.6rem, 7vw, 5.2rem);
    font-weight:700; line-height:1.05; color:var(--ink);
    position:relative;
  }
  .hero h1 em{
    font-style:normal; color:var(--sky-deep);
  }
  .hero-sub{
    margin-top:26px; max-width:560px; color:var(--text-dim); font-size:1.05rem;
    position:relative;
  }
  .hero-meta{
    margin-top:44px; display:flex; flex-wrap:wrap; gap:0;
    border:2px solid var(--ink);
    background:#fff; position:relative;
  }
  .hero-meta div{
    padding:16px 26px; border-right:1px solid var(--line);
    flex:1; min-width:170px;
  }
  .hero-meta div:last-child{border-right:none;}
  .hero-meta span{display:block; font-family:'Roboto Mono',monospace; font-size:11px; color:var(--sky-deep); letter-spacing:.15em; margin-bottom:6px; font-weight:700;}
  .hero-meta strong{font-family:'Oswald',sans-serif; font-size:1.15rem; font-weight:500;}
  .scroll-cue{
    position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
    color:var(--text-dim); font-family:'Roboto Mono',monospace; font-size:11px;
    letter-spacing:.2em; display:flex; flex-direction:column; align-items:center; gap:8px;
  }
  .scroll-cue .line{width:1px; height:34px; background:linear-gradient(var(--sky), transparent); animation:scrolldown 1.8s infinite;}
  @keyframes scrolldown{0%{opacity:0; transform:scaleY(.3); transform-origin:top;} 50%{opacity:1; transform:scaleY(1);} 100%{opacity:0; transform:scaleY(.3); transform-origin:bottom;}}

  /* ---------- mini fire truck driving animation (emergency response) ---------- */
  /* 10s cycle: 0-2s normal drive, 2-7s emergency drive, 7-9s arrived & stopped, 9-10s exit */
  .fire-truck-lane{
    position:absolute; left:0; right:0; bottom:78px; height:130px;
    overflow:hidden; pointer-events:none; z-index:1;
  }
  .fire-truck-rig{
    position:absolute; bottom:0; left:-160px; width:120px;
    animation:truckDrive 10s linear infinite;
  }
  .fire-truck{
    position:relative; display:block; width:100%; height:auto;
    filter:drop-shadow(0 6px 6px rgba(11,42,58,.18));
  }
  @keyframes truckDrive{
    0%{ left:-160px; }
    20%{ left:0px; }
    70%{ left:calc(100% - 150px); }
    90%{ left:calc(100% - 150px); }
    100%{ left:120%; }
  }
  .fire-truck .wheel{ animation:wheelSpin .4s linear infinite; }
  @keyframes wheelSpin{ to{ transform:rotate(360deg); } }

  /* rotating red beacon lights on the roof (lit for the whole run) */
  .beacon-light circle{
    fill:#ff3b30;
    animation:beaconFlash .5s steps(1) infinite;
  }
  .beacon-light circle:nth-child(even){ animation-delay:.25s; }
  @keyframes beaconFlash{
    0%,49%{ fill:#ff3b30; filter:drop-shadow(0 0 5px rgba(255,59,48,.95)) drop-shadow(0 0 10px rgba(255,59,48,.5)); }
    50%,100%{ fill:#7a1109; filter:none; }
  }

  /* speed lines only kick in once the truck switches to emergency driving */
  .speed-lines{
    position:absolute; right:100%; top:56%; transform:translateY(-50%);
    display:flex; flex-direction:column; gap:6px; margin-right:4px;
    opacity:0; animation:speedLinesShow 10s ease infinite;
  }
  .speed-lines span{
    display:block; height:2px; border-radius:1px;
    background:linear-gradient(90deg, transparent, rgba(224,57,42,.75));
    animation:speedLineMove .3s linear infinite;
  }
  .speed-lines span:nth-child(1){ width:46px; }
  .speed-lines span:nth-child(2){ width:32px; animation-delay:.1s; }
  .speed-lines span:nth-child(3){ width:40px; animation-delay:.2s; }
  @keyframes speedLinesShow{
    0%,19%{opacity:0;} 23%,67%{opacity:1;} 73%,100%{opacity:0;}
  }
  @keyframes speedLineMove{
    0%{transform:translateX(0);} 100%{transform:translateX(-12px);}
  }

  /* speech-bubble style status callouts above the truck */
  .truck-callout{
    position:absolute; bottom:100%; left:50%; transform:translateX(-50%);
    margin-bottom:10px; white-space:nowrap;
    background:var(--ink); color:#ffd23f;
    font-family:'Roboto Mono',monospace; font-size:11px; font-weight:700; letter-spacing:.08em;
    padding:5px 12px; border-radius:3px; opacity:0;
  }
  .truck-callout::after{
    content:""; position:absolute; top:100%; left:50%; transform:translateX(-50%);
    border:5px solid transparent; border-top-color:var(--ink);
  }
  .truck-callout.dispatch{ color:var(--sky-light); animation:calloutDispatch 10s ease infinite; }
  .truck-callout.dash{ animation:calloutDash 10s ease infinite; }
  .truck-callout.arrived{ background:var(--sky-deep); color:#fff; animation:calloutArrived 10s ease infinite; }
  .truck-callout.arrived::after{ border-top-color:var(--sky-deep); }
  @keyframes calloutDispatch{
    0%,2%{opacity:0;} 5%,16%{opacity:1;} 20%,100%{opacity:0;}
  }
  @keyframes calloutDash{
    0%,21%{opacity:0;} 25%,65%{opacity:1;} 69%,100%{opacity:0;}
  }
  @keyframes calloutArrived{
    0%,69%{opacity:0;} 73%,87%{opacity:1;} 91%,100%{opacity:0;}
  }

  /* stationary venue gate the truck pulls up to */
  .venue-gate{
    position:absolute; right:14px; bottom:78px; width:110px; z-index:0;
    pointer-events:none;
  }
  .venue-gate svg{ width:100%; height:auto; display:block; filter:drop-shadow(0 8px 10px rgba(11,42,58,.14)); }

  @media (max-width:600px){
    .fire-truck-lane{ bottom:64px; height:100px; }
    .fire-truck-rig{ width:92px; }
    .truck-callout{ font-size:10px; padding:4px 9px; }
    .venue-gate{ right:8px; bottom:64px; width:82px; }
  }
  @media (prefers-reduced-motion:reduce){
    .fire-truck-rig{ animation:none; left:38%; }
    .fire-truck .wheel{ animation:none; }
    .beacon-light circle{ animation:none; }
    .speed-lines{ display:none; }
    .truck-callout{ display:none; }
  }


  /* ---------- decorative layer divider (rijfes-style section break) ---------- */
  .layer-divider{position:relative; height:64px; overflow:hidden; background:var(--paper);}
  .layer-divider svg{position:absolute; bottom:-1px; width:100%; height:100%;}
  .layer-divider.flip svg{transform:rotate(180deg);}

  /* ---------- news / message block ---------- */
  .news{background:var(--paper-2); padding:56px 0;}
  .news-grid{display:grid; grid-template-columns:1.1fr 1.4fr; gap:40px;}
  .news-card{background:#fff; border:1px solid var(--line); padding:26px;}
  .news-card .tag{font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.15em; color:var(--sky-deep); margin-bottom:10px; font-weight:700;}
  .news-card .date{font-family:'Roboto Mono',monospace; font-size:12px; color:var(--text-dim); margin-bottom:6px;}
  .news-card h3{font-size:1.05rem; font-weight:600; text-transform:none; letter-spacing:0; line-height:1.5;}
  .news-list{list-style:none; display:flex; flex-direction:column;}
  .news-list li{
    display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line);
    font-size:.92rem; align-items:baseline;
  }
  .news-list li:first-child{padding-top:0;}
  .news-list time{font-family:'Roboto Mono',monospace; font-size:12px; color:var(--sky-deep); flex:none; font-weight:700;}
  @media (max-width:820px){ .news-grid{grid-template-columns:1fr;} }

  /* ---------- section headers ---------- */
  .section-head{padding:70px 0 34px; text-align:left;}
  .section-head .tag{
    font-family:'Roboto Mono',monospace; font-size:12px; letter-spacing:.2em;
    color:var(--sky-deep); display:flex; align-items:center; gap:10px; margin-bottom:12px; font-weight:700;
  }
  .section-head .tag::before{content:""; width:26px; height:2px; background:var(--sky); display:inline-block;}
  .section-head h2{font-size:clamp(1.8rem,4vw,2.6rem); font-weight:600; color:var(--ink);}

  /* ---------- overview / info cards ---------- */
  .overview{background:var(--paper); padding-bottom:20px;}
  .info-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line);}
  .info-card{background:#fff; padding:30px 26px; position:relative;}
  .info-card .icon{width:44px; height:44px; margin-bottom:16px;}
  .info-card h3{font-size:.78rem; letter-spacing:.15em; color:var(--sky-deep); margin-bottom:10px;}
  .info-card p{font-size:1rem; font-weight:500;}
  .info-card .small{font-size:.85rem; color:var(--text-dim); font-weight:400; margin-top:6px;}

  /* ---------- countdown / dispatch board ---------- */
  .countdown-wrap{background:var(--paper-2); padding:70px 0 84px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .dispatch-board{
    background:#fff;
    border:2px solid var(--ink);
    border-radius:var(--radius);
    padding:36px 28px;
    position:relative;
  }
  .dispatch-board::before{
    content:"NO.119 DISPATCH BOARD — 北斗消防署"; position:absolute; top:-12px; left:26px;
    background:var(--paper-2); padding:0 10px; font-family:'Roboto Mono',monospace;
    font-size:11px; letter-spacing:.15em; color:var(--sky-deep); font-weight:700;
  }
  .countdown-label{color:var(--text-dim); font-family:'Roboto Mono',monospace; font-size:12px; letter-spacing:.2em; text-align:center; margin-bottom:24px;}
  .countdown{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; max-width:640px; margin:0 auto;}
  .countdown .unit{text-align:center; padding:18px 6px; background:var(--paper-2); border:1px solid var(--line);}
  .countdown .num{
    font-family:'Roboto Mono',monospace; font-weight:700; font-size:clamp(2rem,6vw,3.4rem);
    color:var(--sky-deep); font-variant-numeric:tabular-nums;
  }
  .countdown .lbl{margin-top:6px; font-size:11px; letter-spacing:.2em; color:var(--text-dim); font-family:'Roboto Mono',monospace;}
  .countdown-done{display:none; text-align:center; color:var(--sky-deep); font-family:'Oswald',sans-serif; font-size:1.4rem; letter-spacing:.08em;}

  /* ---------- booths ---------- */
  .booths{background:var(--paper);}
  .booth-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; padding-bottom:76px;}
  .booth-card{
    background:#fff; border:1px solid var(--line);
    position:relative; overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .booth-card:hover{transform:translateY(-6px); box-shadow:0 18px 34px rgba(11,95,138,.14);}
  .booth-top{height:6px; background:linear-gradient(90deg, var(--sky-deep), var(--sky) 60%, var(--sky-light));}
  .booth-body{padding:26px 24px;}
  .booth-num{font-family:'Roboto Mono',monospace; font-size:12px; color:var(--sky-deep); letter-spacing:.15em; margin-bottom:10px; font-weight:700;}
  .booth-body h3{font-family:'Oswald',sans-serif; font-size:1.2rem; font-weight:600; margin-bottom:10px;}
  .booth-body p{font-size:.92rem; color:var(--text-dim);}
  .booth-icon{width:42px; height:42px; margin-bottom:14px;}

  .booth-photo{
    display:block; width:100%; aspect-ratio:4/3; position:relative;
    border:none; padding:0; margin:0; cursor:zoom-in; overflow:hidden;
    background:#eee;
  }
  .booth-photo img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;}
  .booth-photo:hover img{transform:scale(1.06);}
  .booth-photo:focus-visible{outline:2px solid var(--sky-deep); outline-offset:-2px;}
  .booth-photo-hint{
    position:absolute; right:10px; bottom:10px;
    display:flex; align-items:center; gap:6px;
    background:rgba(31,42,51,.82); color:#fff;
    font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.06em;
    padding:6px 11px; border-radius:999px;
    opacity:0; transform:translateY(4px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
  }
  .booth-photo-hint svg{width:13px; height:13px; stroke:#fff; flex:none;}
  .booth-photo:hover .booth-photo-hint,
  .booth-photo:focus-visible .booth-photo-hint,
  .gallery-photo:hover .booth-photo-hint,
  .gallery-photo:focus-visible .booth-photo-hint{opacity:1; transform:translateY(0);}
  @media (hover:none){
    .booth-photo-hint{opacity:1; transform:translateY(0);}
  }

  /* ---------- poster display ---------- */
  .poster-display{width:100%; background:#fff; border:2px solid var(--ink); padding:14px;}
  .poster-display .poster-trigger{
    display:block; width:100%; padding:0; margin:0; border:none; background:none;
    cursor:zoom-in; position:relative; text-align:left;
  }
  .poster-display .poster-trigger img{width:100%; height:auto; display:block;}
  .poster-display .poster-trigger:focus-visible{outline:2px solid var(--sky-deep); outline-offset:4px;}
  .poster-zoom-hint{
    position:absolute; right:10px; bottom:10px;
    display:flex; align-items:center; gap:6px;
    background:rgba(31,42,51,.82); color:#fff;
    font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.06em;
    padding:7px 12px; border-radius:999px;
    opacity:0; transform:translateY(4px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
  }
  .poster-zoom-hint svg{width:14px; height:14px; stroke:#fff; flex:none;}
  .poster-trigger:hover .poster-zoom-hint,
  .poster-trigger:focus-visible .poster-zoom-hint{opacity:1; transform:translateY(0);}
  @media (hover:none){
    .poster-zoom-hint{opacity:1; transform:translateY(0);}
  }
  .poster-download{
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-top:14px; padding:14px 20px;
    background:var(--sky-deep); color:#fff;
    font-family:'Oswald',sans-serif; font-size:14px; letter-spacing:.06em;
    border:2px solid var(--sky-deep); border-radius:999px;
    transition:background .25s ease, color .25s ease;
  }
  .poster-download svg{width:17px; height:17px; stroke:#fff; flex:none; transition:stroke .25s ease;}
  .poster-download:hover{background:#fff; color:var(--sky-deep);}
  .poster-download:hover svg{stroke:var(--sky-deep);}

  /* ---------- venue map ---------- */
  .venue{background:var(--paper); padding-bottom:90px; border-top:1px solid var(--line);}
  .venue-layout{display:grid; grid-template-columns:1fr 1fr; gap:34px; max-width:900px; margin:0 auto;}
  .venue-map{background:#fff; border:2px solid var(--ink); padding:14px;}
  @media (max-width:820px){ .venue-layout{grid-template-columns:1fr;} }
  .venue-map img{width:100%; height:auto; display:block;}

  .venue-map-trigger{
    display:block; width:100%; padding:0; margin:0; border:none; background:none;
    cursor:zoom-in; position:relative; text-align:left;
  }
  .venue-map-trigger:focus-visible{outline:2px solid var(--sky-deep); outline-offset:4px;}
  .venue-map-zoom-hint{
    position:absolute; right:10px; bottom:10px;
    display:flex; align-items:center; gap:6px;
    background:rgba(31,42,51,.82); color:#fff;
    font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.06em;
    padding:7px 12px; border-radius:999px;
    opacity:0; transform:translateY(4px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
  }
  .venue-map-zoom-hint svg{width:14px; height:14px; stroke:#fff; flex:none;}
  .venue-map-trigger:hover .venue-map-zoom-hint,
  .venue-map-trigger:focus-visible .venue-map-zoom-hint{opacity:1; transform:translateY(0);}
  @media (hover:none){
    .venue-map-zoom-hint{opacity:1; transform:translateY(0);}
  }

  .venue-map-download{
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-top:14px; padding:14px 20px;
    background:var(--sky-deep); color:#fff;
    font-family:'Oswald',sans-serif; font-size:14px; letter-spacing:.06em;
    border:2px solid var(--sky-deep); border-radius:999px;
    transition:background .25s ease, color .25s ease;
  }
  .venue-map-download svg{width:17px; height:17px; stroke:#fff; flex:none; transition:stroke .25s ease;}
  .venue-map-download:hover{background:#fff; color:var(--sky-deep);}
  .venue-map-download:hover svg{stroke:var(--sky-deep);}

  /* ---------- venue map lightbox ---------- */
  .map-lightbox{
    position:fixed; inset:0; z-index:400;
    display:flex; align-items:center; justify-content:center;
    padding:40px 20px;
    opacity:0; pointer-events:none;
    transition:opacity .3s ease;
  }
  .map-lightbox.open{opacity:1; pointer-events:auto;}
  .map-lightbox-backdrop{
    position:absolute; inset:0; background:rgba(15,25,32,.86);
  }
  .map-lightbox-inner{
    position:relative; z-index:1; max-width:min(1100px,92vw); max-height:88vh;
    display:flex; flex-direction:column; align-items:center; gap:16px;
    transform:scale(.96); transition:transform .3s ease;
  }
  .map-lightbox.open .map-lightbox-inner{transform:scale(1);}
  .map-lightbox-inner img{
    max-width:100%; max-height:72vh; width:auto; height:auto;
    background:#fff; border:2px solid #fff;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    object-fit:contain;
  }
  .map-lightbox-close{
    position:absolute; top:-18px; right:-18px;
    width:44px; height:44px; border-radius:50%;
    background:#fff; border:2px solid var(--ink); cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }
  .map-lightbox-close svg{width:20px; height:20px; stroke:var(--ink);}
  .map-lightbox-download{
    display:flex; align-items:center; gap:10px;
    background:var(--sky-deep); color:#fff;
    font-family:'Oswald',sans-serif; font-size:14px; letter-spacing:.06em;
    padding:12px 22px; border-radius:999px; border:2px solid var(--sky-deep);
    transition:background .25s ease, color .25s ease;
  }
  .map-lightbox-download svg{width:16px; height:16px; stroke:#fff; flex:none; transition:stroke .25s ease;}
  .map-lightbox-download:hover{background:#fff; color:var(--sky-deep);}
  .map-lightbox-download:hover svg{stroke:var(--sky-deep);}
  @media (max-width:480px){
    .map-lightbox-close{top:-14px; right:-6px; width:38px; height:38px;}
  }


  /* ---------- access ---------- */
  .access{background:var(--paper); padding-bottom:90px; border-top:1px solid var(--line);}
  .access-map{max-width:640px; margin:40px auto 0; background:#fff; border:2px solid var(--ink); padding:14px;}
  .access-map-trigger{
    display:block; width:100%; padding:0; margin:0; border:none; background:none;
    cursor:zoom-in; position:relative; text-align:left;
  }
  .access-map-trigger img{width:100%; height:auto; display:block;}
  .access-map-trigger:focus-visible{outline:2px solid var(--sky-deep); outline-offset:4px;}
  .access-map-zoom-hint{
    position:absolute; right:10px; bottom:10px;
    display:flex; align-items:center; gap:6px;
    background:rgba(31,42,51,.82); color:#fff;
    font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.06em;
    padding:7px 12px; border-radius:999px;
    opacity:0; transform:translateY(4px);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:none;
  }
  .access-map-zoom-hint svg{width:14px; height:14px; stroke:#fff; flex:none;}
  .access-map-trigger:hover .access-map-zoom-hint,
  .access-map-trigger:focus-visible .access-map-zoom-hint{opacity:1; transform:translateY(0);}
  @media (hover:none){
    .access-map-zoom-hint{opacity:1; transform:translateY(0);}
  }
  .access-map-download{
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-top:14px; padding:14px 20px;
    background:var(--sky-deep); color:#fff;
    font-family:'Oswald',sans-serif; font-size:14px; letter-spacing:.06em;
    border:2px solid var(--sky-deep); border-radius:999px;
    transition:background .25s ease, color .25s ease;
  }
  .access-map-download svg{width:17px; height:17px; stroke:#fff; flex:none; transition:stroke .25s ease;}
  .access-map-download:hover{background:#fff; color:var(--sky-deep);}
  .access-map-download:hover svg{stroke:var(--sky-deep);}

  /* ---------- last year gallery (auto-sliding, square photos) ---------- */
  .gallery{background:var(--paper-2); padding-bottom:90px; overflow:hidden; border-top:1px solid var(--line);}
  .marquee{
    width:100%; overflow:hidden; position:relative;
    -webkit-mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  }
  .marquee-track{
    display:flex; gap:16px; width:max-content;
    animation:scrollX 30s linear infinite;
  }
  .marquee:hover .marquee-track{animation-play-state:paused;}
  @keyframes scrollX{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  .gallery-photo{
    display:block; width:220px; aspect-ratio:1/1; flex:none; position:relative;
    border:1px solid var(--line); padding:0; margin:0; overflow:hidden;
    cursor:zoom-in; background:#eee;
  }
  .gallery-photo img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;}
  .gallery-photo:hover img{transform:scale(1.06);}
  .gallery-photo:focus-visible{outline:2px solid var(--sky-deep); outline-offset:-2px;}

  @media (max-width:820px){
    .gallery-photo{width:180px;}
  }
  @media (max-width:520px){
    .gallery-photo{width:150px;}
  }

  @media (prefers-reduced-motion:reduce){
    .marquee-track{animation:none; flex-wrap:wrap; width:100%;}
    .scroll-cue .line{animation:none;}
  }

  /* ---------- footer ---------- */
  footer{background:#fff; color:var(--text-dim); padding:60px 0 30px; text-align:center; border-top:1px solid var(--line);}
  footer .brand-name{color:var(--ink);}
  footer p{font-size:.85rem; margin-top:14px;}
  .back-top{
    display:inline-block; margin-top:26px; padding:10px 22px;
    border:2px solid var(--ink); color:var(--ink); font-family:'Roboto Mono',monospace;
    font-size:12px; letter-spacing:.15em; font-weight:700;
  }
  .back-top:hover{background:var(--sky-deep); border-color:var(--sky-deep); color:#fff;}

  @media (max-width:820px){
    .info-grid{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:600px){
    .hero-meta div{min-width:140px;}
    .countdown{grid-template-columns:repeat(2,1fr);}
    .info-grid{grid-template-columns:repeat(2,1fr);}
  }
