/* Additions to the Claude Design export (style M). Loaded after the page's own <style>. */
@font-face{font-family:"Bricolage Grotesque";src:url(/fonts/bricolage.woff2) format("woff2");font-weight:600 800;font-style:normal;font-display:swap}
@font-face{font-family:"Doto";src:url(/fonts/doto.woff2) format("woff2");font-weight:700 900;font-style:normal;font-display:swap}
/* Noto Sans SC: one variable file declared as the three weights the export loaded (500/700/900), so 600 renders as 700 and 800 as 900 as before */
@font-face{font-family:"Noto Sans SC";src:url(/fonts/noto-sans-sc.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans SC";src:url(/fonts/noto-sans-sc.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans SC";src:url(/fonts/noto-sans-sc.woff2) format("woff2");font-weight:900;font-style:normal;font-display:swap}

/* English page: a letter-per-span line still breaks only between words */
.wn{white-space:nowrap}

/* Browsers without scroll-driven animations get the hero text from m-scene.js */
.nost .stw{display:grid}

.npg{--bg:#fff;--bgh:#1a1302;--fgh:#fff;--fsh:1em}

/* English page: Latin runs are longer than the Chinese they replace */
html[lang="en"] .slogan{font-size:clamp(34px,5vw,68px)!important;line-height:1.02!important;letter-spacing:-.01em!important}
html[lang="en"] .herobody{font-size:clamp(19px,2.3vw,30px)!important;max-width:26em!important;line-height:1.18!important}
html[lang="en"] .bandt{font-size:clamp(38px,6.4vw,92px)!important;letter-spacing:-.02em}
html[lang="en"] h2{hyphens:manual}

/* ------------------------------------------------------------------------------------------
   Phones and small tablets (<=860px). Layout and motion follow superlocaldesign.com's phone
   version (output/new-site-research/ref-mobile/REPORT.md); the code is our own.
   m-scene.js sets --vvh (stable viewport height), --cs (coin scale) and --gp (coin panel).
   ------------------------------------------------------------------------------------------ */
.plr,.gspace{display:none}
@media (max-width:53.75em){
  .srm{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* fewer one-word last lines */
  p,h2,.act b{text-wrap:pretty}

  /* nav: one centred row, CTA shortened */
  nav[aria-label]{flex-wrap:nowrap!important;font-size:clamp(13px,3.9vw,16px)!important}

  /* hero: one text column, tagline under the claim, stacked kicker */
  .stw{grid-template-columns:1fr!important;bottom:24px!important}
  .stw p:not(.slogan):not(.herobody):not(.claim){font-size:16px!important}
  .stw .slogan{font-size:8.2vw!important;line-height:1.08!important}
  .stw .dm{-webkit-mask-size:6px 4.5px;mask-size:6px 4.5px;--r:2.25px}
  .stw .herobody{font-size:24px!important;max-width:none!important;line-height:1.15!important}
  html[lang="en"] .stw .herobody{font-size:20px!important}
  .stw>.claim{max-width:none!important;font-size:15px!important}
  .kick{justify-content:flex-start!important;gap:0 .55em!important;font-size:min(44px,7.4vw)!important;bottom:10px!important}

  /* title and introduction */
  .intro1{padding:72px 20px 32px!important;gap:20px!important}
  .intro1 p.rv{font-size:16px!important}
  html[lang="en"] .intro1 h2{font-size:min(46px,8.1vw)!important;letter-spacing:-.03em!important}
  .intro2{padding:4px 20px 72px!important;font-size:17px!important;gap:16px!important}

  /* guests: coin pinned under the nav on a panel; one list passes beneath it */
  #guests{padding:40px 20px 0!important;overflow-x:clip}
  [data-coinwrap]{top:74px!important;z-index:3!important}
  [data-coinwrap]::before{content:"";position:absolute;left:50%;width:100vw;transform:translateX(-50%);top:-74px;height:calc(74px + 400px * var(--cs,1) + var(--gp,124px));background:#bcbcbc;z-index:-1}
  [data-coinwrap]::after{content:"";position:absolute;left:50%;width:100vw;transform:translateX(-50%);top:calc(400px * var(--cs,1) + var(--gp,124px));height:26px;background:linear-gradient(#bcbcbc,rgba(188,188,188,0));z-index:-1}
  .cinw{transform:scale(var(--cs,1));transform-origin:50% 0;margin:0 calc(200px * var(--cs,1) - 200px)}
  .pls{top:calc(400px * var(--cs,1) + 18px)!important}
  .pl{font-size:14px!important;padding:7px 14px!important}
  .pl:not(.plr){background:#ff661a!important;color:#1a1302}
  .plr{display:block;top:40px!important;white-space:normal!important;width:max-content;max-width:min(84vw,360px);text-align:center;font-weight:600!important;line-height:1.3}
  .glab{text-align:left!important;font-size:13px!important;margin:calc(400px * var(--cs,1) + var(--gp,124px) + 26px + 14.3vh) 0 14px!important}
  .glab~.glab{margin:40px 0 14px!important}
  .glist{gap:0!important;font-size:clamp(20px,6.15vw,32px)!important}
  .gr{height:clamp(34px,10.26vw,54px);align-items:center;gap:0!important}
  .gr>span:first-child{justify-content:flex-start!important}
  .gr>span:last-child{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .gr .nm{max-width:none!important;text-align:left!important;animation:none!important;translate:none!important;position:relative;padding-left:1.42em;cursor:pointer}
  .gr .nm::before{content:"";position:absolute;left:.08em;top:50%;width:1.08em;height:1.08em;margin-top:-.54em;border-radius:50%;background:#ff661a;transform:scale(0);transition:transform .28s cubic-bezier(.3,1.6,.5,1)}
  .gr .nm.near::before{transform:scale(1)}
  /* the list scrolls on under the pinned coin; the marquee and the schedule then slide over it */
  .gspace{display:block;height:calc(40vh + 100svh)}
  .mq{position:relative;z-index:5;margin-top:-100svh;background-color:#bcbcbc}
  #schedule{z-index:5;background-color:#bcbcbc}

  /* four-sentence marquee */
  .mq{font-size:19px!important;gap:10px!important;padding:8px 0 64px!important}
  .mq div>span{gap:10px!important;padding-right:10px!important}
  .mq div>span>span{padding:14px 22px!important}

  /* schedule: stacked bands at viewport height, header on one fitted line, cards in one column */
  .sbar{font-size:20px!important;padding:64px 20px 16px!important}
  .sbar>span:nth-child(2){font-size:13px!important;order:3;flex-basis:100%}
  [data-band]{min-height:var(--vvh,100svh)!important;padding:64px 20px 32px!important;gap:22px!important}
  .bh{flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:baseline!important;gap:.3em!important;white-space:nowrap}
  html[lang] .bh>span{font-size:var(--bf,47px)!important}
  [data-band] .dm{-webkit-mask-size:9px 6.75px;mask-size:9px 6.75px}
  .act{flex:1 1 100%!important;max-width:none!important}
  .act b{font-size:20px!important}
  .act>div{min-height:170px!important}
  .sfoot{padding:28px 20px!important}
  .sfoot .pill{font-size:18px!important;padding:14px 22px!important}

  /* the Kukai Spirit: one column, numeral sized to the card */
  #spirit{padding:72px 20px!important}
  #spirit h2{font-size:40px!important}
  #spirit>div{gap:12px!important}
  #spirit .en{flex:1 1 100%!important;border-radius:32px!important;padding:20px!important;transition-delay:0ms!important}
  #spirit .num{font-size:min(62vw,300px)!important}
  #spirit .en b{font-size:28px!important}

  /* first forum: one column, photos full width */
  #first{padding:0 20px 88px!important;gap:24px!important}
  #first>div:first-child{flex:1 1 100%!important}
  #first h2{font-size:38px!important}
  #first .fimgs{flex:1 1 100%!important;min-width:0}
  #first .fimgs img{flex:1 1 100%!important;min-width:0!important;width:100%;height:220px!important}

  /* footer: one column, full screen */
  footer#register{min-height:100svh;box-sizing:border-box;padding:64px 20px 24px!important;display:flex;flex-direction:column;justify-content:space-between}
  footer#register>div:not(.fdate){gap:36px!important}
  footer#register>div>div{flex:1 1 100%!important}
  footer#register>div>div:first-child>p:first-child{font-size:20px!important}
  footer#register>div>div:not(:first-child){font-size:20px!important}
  footer#register .pill{font-size:18px!important;padding:14px 24px!important}
  .fdate{margin-top:48px!important;font-size:20px!important}
}
@media (max-width:53.75em){@keyframes swell{from{--r:2px}to{--r:9px}}}
/* narrow English nav: every section stays; the home pill goes and Spirit is shortened */
@media (max-width:37.5em){
  html[lang="en"] .npl{display:none!important}
  html[lang="en"] .srs{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* landscape phones: two columns where one column would put text under images */
@media (max-width:53.75em) and (min-aspect-ratio:6/5){
  /* hero: text on the left; the discs land to its right (m-scene.js reads the column) */
  .stw{right:auto!important;width:56%}
  .stw .slogan{font-size:min(7vw,64px)!important}
  /* guests: coin and pills pinned in the left column, the names pass on the right */
  [data-coinwrap]{justify-content:flex-start!important}
  [data-coinwrap]::before,[data-coinwrap]::after{display:none}
  .cinw{margin:0 0 0 calc(22% - 200px)!important}
  .pls{left:22%!important}
  .plr{max-width:40vw}
  .glab{margin:calc(200px * var(--cs,1) + 74px + 20vh) 0 14px 46%!important}
  .glab~.glab{margin:40px 0 14px 46%!important}
  .glist{margin-left:46%}
  /* schedule: shorter cards */
  .act>div{min-height:110px!important}
}
/* touch: no hover growth or lift */
@media (hover:none){.np:hover,.np:focus-visible{font-size:1em}.card:hover,.pill:hover{transform:none}.nm:hover:not(.near){color:inherit}}
