/* LeCoffret — pitch page styles. Plain CSS, no build step. */

/* ---------- fonts (self-hosted, only the cuts the page uses) ---------- */
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/marcellus-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/marcellus-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url("fonts/inter-300-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url("fonts/inter-300-latin.woff2") format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/inter-400-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/inter-400-latin.woff2") format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/inter-500-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url("fonts/inter-500-latin.woff2") format('woff2')}

/* ---------- design tokens (the subset this page uses) ---------- */
:root{
  --marcellus:'Marcellus',Georgia,serif;
  --sans:'Inter',system-ui,sans-serif;
  --font-display:var(--marcellus);
  --font-body:var(--sans);

  --noir-profond:#000;
  --bleu-nuit:#0d2940;
  --ink:#f4f0e6;            /* headlines, big numbers */
  --mist:#c4cbda;           /* body */
  --nacre:#ededed;          /* pearl */
  --nude:#ebe1e1;
  --nude-rose:#dcbeb5;      /* the one warm note per screen */
  --champ:#e7cebe;          /* the warm accent */
  --cnbrand:#e8463a;        /* 樂歌斐 — the product name for China, in Chinese red everywhere */
  --title-pastel:var(--champ);
  --text-accent-warm:var(--nude-rose);
  --star:#f2eae8;

  --line-strong:rgba(200,206,222,.16);
  --line-gold:color-mix(in srgb,var(--champ) 26%,transparent);
  --line-gold-strong:color-mix(in srgb,var(--champ) 50%,transparent);
  --glass-3:rgba(255,255,255,.06);
  --selection:color-mix(in srgb,var(--champ) 28%,transparent);
  --da-dark:radial-gradient(90% 80% at 2% 0%,#4f6388 0%,rgba(79,99,136,0) 58%),radial-gradient(70% 70% at 100% 100%,#0d2b43 0%,rgba(13,43,67,0) 60%),linear-gradient(180deg,#1d2635 0%,#0e1a26 60%,#05090f 100%);

  --text-name:clamp(44px,11vw,110px);
  --text-display:clamp(38px,8vw,96px);
  --text-hero:clamp(26px,5.6vw,52px);
  --text-title:clamp(26px,3.6vw,40px);
  --text-voice:clamp(18px,2.6vw,30px);
  --text-sub:clamp(14px,2vw,18px);
  --text-para:clamp(15px,2vw,18px);
  --text-body-sm:13px;
  --text-body-xs:12px;
  --track-monolith:.14em;
  --track-caps:.08em;
  --track-eyebrow-wide:.4em;
  --track-orb:.12em;
  --ease:cubic-bezier(.16,1,.3,1);
}
/* Chinese: the visitor's own device fonts, serif for the display voice, sans for the small labels */
html[lang^="zh"]{
  --marcellus:'Songti SC','Songti TC','Noto Serif SC','Noto Serif TC','Source Han Serif SC','PingFang SC','PingFang TC','Microsoft YaHei','Microsoft JhengHei',serif;
  --sans:'PingFang SC','PingFang TC','Hiragino Sans GB','Noto Sans SC','Noto Sans TC','Microsoft YaHei','Microsoft JhengHei',sans-serif;
  --track-monolith:.22em;
}
html[lang^="zh"] .voice i,html[lang^="zh"] .it,html[lang^="zh"] .lede,html[lang^="zh"] .prole,html[lang^="zh"] .receiver-line{font-style:normal}
html[lang^="zh"] .monolith{font-weight:500}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%;overflow:hidden}
body{margin:0;background:var(--noir-profond);color:#fff;font-family:var(--font-body);font-weight:300;font-size:var(--text-para);line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:var(--title-pastel);text-decoration:none}
a:hover{color:#fff}
button{font:inherit;color:inherit}
::selection{background:var(--selection);color:#fff}
:focus-visible{outline:2px solid var(--champ);outline-offset:4px;border-radius:4px}
[hidden]{display:none!important}

/* ---------- typography components (Voice / Monolith / Eyebrow) ---------- */
.voice{margin:0;font-family:var(--marcellus);font-weight:400;font-size:var(--text-voice);line-height:1.35;color:var(--ink);text-align:center;text-wrap:balance}
.voice i,.it{font-style:italic;color:var(--title-pastel)}
.voice .nacre{color:var(--nacre)}
.monolith{margin:0;font-family:var(--marcellus);font-weight:400;text-transform:uppercase;font-size:var(--text-display);line-height:1;letter-spacing:var(--track-monolith);color:var(--ink);text-align:center;white-space:nowrap}
.monolith.name{font-size:var(--text-name);text-transform:none}
.monolith .warm{color:var(--text-accent-warm)}
.eyebrow{font-family:var(--sans);font-weight:300;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.eyebrow.wide{font-size:12px;letter-spacing:.42em;color:var(--nacre)}
.t-hero{font-size:var(--text-hero)}
.t-title{font-size:var(--text-title)}
.t-voice{font-size:var(--text-voice)}
.t-sub{font-size:var(--text-sub)}

/* ---------- the sky ---------- */
@property --mc{syntax:'<color>';inherits:true;initial-value:rgba(103,96,121,.55)}
@property --mx{syntax:'<percentage>';inherits:true;initial-value:50%}
@property --my{syntax:'<percentage>';inherits:true;initial-value:55%}
#sky,#stars,#mood,#veil{position:fixed;inset:0;pointer-events:none;z-index:0}
#sky{background:var(--da-dark)}
#stars{width:100vw;height:100svh;opacity:0;transition:opacity 1.8s ease}
#stars.on{opacity:1}
#mood{background:radial-gradient(46% 42% at var(--mx) var(--my),var(--mc),transparent 72%);transition:--mc 1900ms cubic-bezier(.4,0,.2,1),--mx 1900ms cubic-bezier(.4,0,.2,1),--my 1900ms cubic-bezier(.4,0,.2,1);animation:mood-drift 34s ease-in-out infinite alternate}
#veil{background:radial-gradient(64% 54% at 50% 52%,transparent 28%,rgba(0,0,0,.78))}
@keyframes mood-drift{0%{transform:translate(-3%,-2%) scale(1.06)}100%{transform:translate(3%,2%) scale(1.18)}}

/* ---------- header ---------- */
.topbar{position:fixed;left:0;right:0;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:clamp(18px,3vw,30px) clamp(18px,4vw,40px)}
.wordmark{display:block;height:13px;width:auto;opacity:.85}
.tools{display:flex;align-items:center;gap:10px}
.lang{display:inline-flex;gap:2px;padding:3px;border-radius:999px;border:1px solid var(--line-strong);background:var(--glass-3);backdrop-filter:blur(10px)}
.lang button{font:500 11px var(--sans);letter-spacing:.08em;padding:6px 12px;white-space:nowrap;border-radius:999px;border:none;cursor:pointer;min-height:32px;background:transparent;color:rgba(255,255,255,.6);transition:background .3s ease,color .3s ease}
.lang button[aria-pressed="true"]{background:rgba(255,255,255,.14);color:#fff}
.pausebtn{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:999px;border:1px solid var(--line-strong);background:var(--glass-3);backdrop-filter:blur(10px);cursor:pointer;color:rgba(255,255,255,.7);font-size:11px;letter-spacing:-.05em;transition:color .3s ease,background .3s ease}
.pausebtn:hover{color:#fff;background:rgba(255,255,255,.12)}
.pausebtn .ic-play{display:none;font-size:12px;padding-left:2px}
.pausebtn[aria-pressed="true"] .ic-pause{display:none}
.pausebtn[aria-pressed="true"] .ic-play{display:inline}

/* ---------- chapters: a film, one scene at a time ---------- */
main{position:relative;height:100svh}
.ch{position:absolute;inset:0;z-index:1;visibility:hidden;opacity:0;transition:opacity .7s ease,visibility 0s linear .7s}
.ch.active{visibility:visible;opacity:1;transition:opacity .7s ease}
.ch.leaving{visibility:visible;opacity:0}
.stage{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(60px,8vw,120px) clamp(20px,6vw,60px)}
.col{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:min(92vw,980px);text-wrap:balance;gap:clamp(22px,3vw,36px)}
.col.narrow{max-width:min(92vw,900px)}
.w{display:inline-block;--t:0;opacity:var(--t)}
.hero-center{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:clamp(26px,4vw,48px)}
.hero-name{margin-top:clamp(10px,2vw,30px);animation:pm-track 2.2s var(--ease) both}
.receiver{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:clamp(10px,2vw,26px)}
@keyframes pm-track{from{letter-spacing:.20em}to{letter-spacing:.14em}}

/* the drawn mark */
.para{display:block;height:auto;overflow:visible;transition:opacity .8s ease;opacity:var(--mo,0)}
.para .draw path{stroke-dasharray:1 1;stroke-dashoffset:calc(1 - var(--draw,0));transition:stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1)}
.para .trim{stroke-dasharray:.3 .7;stroke-dashoffset:1;filter:drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 0 16px rgba(231,206,190,.9)) drop-shadow(0 0 34px rgba(231,206,190,.55));animation:pm-trim 4.4s cubic-bezier(.45,0,.55,1) infinite,pm-trim-pulse 2.2s ease-in-out infinite}
.para .trim2{stroke-dasharray:.14 .86;stroke-dashoffset:1;filter:drop-shadow(0 0 10px rgba(220,190,181,.8)) drop-shadow(0 0 26px rgba(220,190,181,.45));animation:pm-trim2 6.8s cubic-bezier(.45,0,.55,1) infinite}
@keyframes pm-trim{0%{stroke-dashoffset:1}100%{stroke-dashoffset:-.3}}
@keyframes pm-trim2{0%{stroke-dashoffset:1}100%{stroke-dashoffset:-.14}}
@keyframes pm-trim-pulse{0%,100%{opacity:.55}50%{opacity:1}}
.mark-chateau{width:clamp(124px,12.5vw,176px)}

/* the stones: ray-traced in gem.js */
.gem{display:block;width:clamp(140px,16vw,220px);aspect-ratio:1;opacity:0;transition:opacity .35s linear}
.gem.small{width:clamp(110px,12vw,170px)}
.gem.nogl{display:none}
/* the rail stones: a small copy per chapter; the current one is live and bright, the rest are fixed and dull */
.rb .gem.rail{width:42px;height:42px;opacity:1;transition:width .5s var(--ease),height .5s var(--ease),opacity .5s ease,filter .5s ease}
.rb:hover .gem.rail,.rb:focus-visible .gem.rail{width:48px;height:48px;opacity:1}
.rb[aria-current="true"] .gem.rail{width:66px;height:66px;opacity:1}
/* the current stone sits on a faint pool of light, behind it, so its own edge stays crisp */
.rb{position:relative}
.rb::before{content:"";position:absolute;right:-8px;top:50%;width:80px;height:80px;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--champ) 22%,transparent) 0%,color-mix(in srgb,var(--champ) 8%,transparent) 42%,transparent 70%);opacity:0;transition:opacity .6s ease;pointer-events:none}
.rb[aria-current="true"]::before{opacity:1}
.rb .gem.rail{position:relative;z-index:1}

/* stats */
.stats{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,120px);width:100%;max-width:800px}
.stat{display:flex;flex-direction:column;align-items:center;gap:14px}
.stat b{font-family:var(--font-display);font-weight:400;font-size:var(--text-name);line-height:.9;color:var(--ink);font-variant-numeric:tabular-nums}
.stat span{font-family:var(--font-body);font-size:var(--text-body-xs);letter-spacing:var(--track-eyebrow-wide);text-transform:uppercase;color:var(--title-pastel)}
.wordmark-big{display:block;width:min(64vw,520px);height:auto;opacity:0;transition:opacity .3s linear}
.lede{margin:0;font-family:var(--font-display);font-style:italic;font-weight:400;font-size:var(--text-sub);line-height:1.5;color:var(--nacre);max-width:38ch;text-wrap:pretty}

/* signature line */
.sig{display:flex;align-items:center;gap:12px;justify-content:center;margin-top:clamp(40px,7vw,100px)}
.sig span{font-family:var(--font-body);font-weight:300;font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:var(--nacre)}

/* contact */
.people{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:clamp(40px,6vw,96px)}
.person{display:flex;flex-direction:column;align-items:center;gap:clamp(14px,1.8vw,20px);max-width:340px}
.avatar{width:clamp(96px,11vw,150px);height:clamp(96px,11vw,150px);border-radius:50%;overflow:hidden;background:#000;box-shadow:0 0 0 1px var(--line-gold);display:grid;place-items:center}
.avatar img{display:block;width:100%;height:100%;object-fit:cover}
.avatar .initials{font-family:var(--font-display);font-size:clamp(30px,3.6vw,48px);letter-spacing:.06em;color:var(--title-pastel)}
.who{display:flex;flex-direction:column;align-items:center;gap:8px}
.pname{font-family:var(--font-display);font-weight:400;font-size:var(--text-title);letter-spacing:var(--track-caps);text-transform:uppercase;line-height:1.1;color:var(--ink)}
.prole{font-family:var(--font-display);font-style:italic;font-size:var(--text-sub);line-height:1.3;color:var(--title-pastel);text-wrap:pretty}
.plines{display:flex;flex-direction:column;align-items:center;gap:6px;font-family:var(--font-body);font-weight:300;font-size:var(--text-para);line-height:1.7;color:var(--mist)}
.plines a{color:var(--mist)}
.plines a:hover{color:#fff}
.plinks{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;font-family:var(--font-body);font-weight:300;font-size:var(--text-body-sm);letter-spacing:var(--track-orb);text-transform:uppercase}
.plinks a{color:var(--title-pastel);padding:8px 4px}
.receiver-line{font-family:var(--font-display);font-style:italic;font-size:var(--text-sub);color:var(--nacre)}

/* ---------- access screen ---------- */
#gate{position:fixed;inset:0;z-index:8;display:grid;place-items:center;background:radial-gradient(60% 50% at 50% 50%,rgba(13,41,64,.35),rgba(0,0,0,.72));backdrop-filter:blur(6px)}
#gateForm{display:flex;flex-direction:column;align-items:center;gap:22px;padding:44px 48px;border-radius:24px;border:1px solid var(--line-gold);background:rgba(5,10,20,.55)}
#gateCode{width:200px;text-align:center;font-family:var(--marcellus);font-size:32px;letter-spacing:.5em;text-indent:.5em;color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--line-gold-strong);padding:8px 0;outline:none}
#gateCode:focus{border-bottom-color:var(--champ)}
.gatebtn{font:500 11px var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--ink);background:var(--glass-3);border:1px solid var(--line-strong);border-radius:999px;padding:12px 28px;cursor:pointer;transition:background .3s ease,color .3s ease}
.gatebtn:hover{background:var(--champ);color:var(--bleu-nuit)}
.gate-note{margin:-6px 0 4px;max-width:36ch;text-align:center;font-family:var(--font-display);font-style:italic;font-size:var(--text-sub);line-height:1.5;color:var(--nacre);opacity:.85;text-wrap:pretty}
html[lang^="zh"] .gate-note{font-style:normal}
.gate-agree{display:flex;align-items:center;gap:12px;max-width:34ch;cursor:pointer;font-family:var(--font-body);font-weight:300;font-size:13px;line-height:1.4;color:var(--mist);text-align:left}
.gate-agree input{position:absolute;opacity:0;width:1px;height:1px}
.gate-agree .box{flex:0 0 auto;width:18px;height:18px;border-radius:5px;border:1px solid var(--line-gold-strong);background:var(--glass-3);display:grid;place-items:center;transition:background .25s ease,border-color .25s ease}
.gate-agree .box::after{content:"";width:10px;height:6px;border-left:2px solid var(--bleu-nuit);border-bottom:2px solid var(--bleu-nuit);transform:rotate(-45deg) translate(1px,-1px);opacity:0;transition:opacity .2s ease}
.gate-agree input:checked + .box{background:var(--champ);border-color:var(--champ)}
.gate-agree input:checked + .box::after{opacity:1}
.gate-agree input:focus-visible + .box{outline:2px solid var(--champ);outline-offset:3px}
.gatebtn:disabled{opacity:.4;cursor:not-allowed}
.gatebtn:disabled:hover{background:var(--glass-3);color:var(--ink)}
.gate-error{margin:0;font-family:var(--font-display);font-style:italic;font-size:var(--text-sub);color:var(--nude-rose)}
body.locked #rail,body.locked main{visibility:hidden}

/* ---------- chapter rail: always there, the navigation ---------- */
#rail{position:fixed;right:clamp(10px,1.6vw,22px);top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:0;align-items:flex-end}
.rb{display:flex;align-items:center;gap:10px;justify-content:flex-end;background:none;border:none;padding:2px 0;cursor:pointer;min-height:24px}
.rl{font-family:var(--font-body);font-weight:300;font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.55);opacity:0;transition:opacity .4s ease;white-space:nowrap}
.rb:hover .rl,.rb:focus-visible .rl,.rb[aria-current="true"] .rl{opacity:1}
.rb[aria-current="true"] .rl{color:var(--title-pastel)}

/* ---------- cursor: a shining star (we shoot for the stars) ---------- */
#cursor{position:fixed;left:0;top:0;width:58px;height:58px;margin:0;pointer-events:none;z-index:9;opacity:0;transition:opacity .5s ease;mix-blend-mode:screen}
#cursor.on{opacity:1}
#cursor b{position:absolute;inset:0;display:block;border-radius:50%;background:radial-gradient(circle,rgba(255,250,240,.45),rgba(231,206,190,.18) 38%,transparent 68%)}
#cursor svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:#fff;filter:drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 0 12px rgba(231,206,190,.85));transform-origin:50% 50%}
#cursor svg path{transform-origin:0 0;transform-box:view-box}
#cursor i{position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:#fff;box-shadow:0 0 10px 4px rgba(255,255,255,.8)}
@media (hover:hover) and (pointer:fine){body.custom-cursor,body.custom-cursor a,body.custom-cursor button{cursor:none}}

/* ---------- responsive ---------- */
@media (max-width:760px){
  .rl{display:none}
  .stats{grid-template-columns:1fr;gap:40px}
  .monolith{white-space:normal}
  .people{gap:28px}
  .avatar{width:84px;height:84px}
  .lang button{padding:6px 8px;letter-spacing:.04em}
  .topbar{padding:14px 16px}
  .rb .gem.rail{width:30px;height:30px}
  .rb:hover .gem.rail,.rb:focus-visible .gem.rail{width:34px;height:34px}
  .rb[aria-current="true"] .gem.rail{width:48px;height:48px}
  .rb::before{width:54px;height:54px;right:-6px}
  #rail{right:6px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .w{--t:1}
  .para{opacity:1}
  .wordmark-big{opacity:1}
  .gem{opacity:1}
  .para .trim,.para .trim2{animation:none;opacity:0}
  .para .draw path{stroke-dashoffset:0}
  #cursor{display:none}
  body,a,button{cursor:auto}
}

/* ---------- share ---------- */
.sharebtn{font-size:16px;letter-spacing:0}
.share{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:clamp(18px,3vw,30px);max-width:min(92vw,720px)}
.share-lead{color:var(--nacre)}
.share-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.cta{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:11px 24px;border-radius:999px;border:1px solid var(--line-gold-strong);background:var(--glass-3);backdrop-filter:blur(10px);font-family:var(--font-body);font-weight:400;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink);cursor:pointer;transition:background .35s ease,color .35s ease,border-color .35s ease}
.cta:hover,.cta:focus-visible{background:var(--champ);color:var(--bleu-nuit);border-color:transparent}
.cta.ghost{border-color:var(--line-strong);font-size:10px;padding:9px 16px;min-height:38px}
.share-note{margin:0;font-family:var(--font-display);font-style:italic;font-size:13px;color:var(--mist);opacity:.75;max-width:44ch;text-align:center}
html[lang^="zh"] .share-note{font-style:normal}
#viewerNo{color:var(--title-pastel)}

/* ---------- message ---------- */
#msg{position:fixed;inset:0;z-index:8;display:grid;place-items:center;background:rgba(0,0,0,.6);backdrop-filter:blur(6px)}
.msg-form{position:relative;display:flex;flex-direction:column;gap:14px;width:min(92vw,520px);padding:38px 36px 32px;border-radius:24px;border:1px solid var(--line-gold);background:rgba(5,10,20,.7)}
.msg-form .hp{display:none}
.msg-close{position:absolute;right:14px;top:10px;background:none;border:0;color:var(--mist);font-size:26px;cursor:pointer;padding:6px 10px}
.msg-form textarea,.msg-form input{width:100%;font:300 15px var(--sans);color:var(--ink);background:rgba(255,255,255,.05);border:1px solid var(--line-strong);border-radius:12px;padding:12px 14px;outline:none;resize:vertical}
.msg-form textarea:focus,.msg-form input:focus{border-color:var(--champ)}
.msg-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.msg-done{margin:0;font-family:var(--font-display);font-style:italic;color:var(--nacre)}
html[lang^="zh"] .msg-done{font-style:normal}
.plinks a.msgbtn{color:var(--ink);border:1px solid var(--line-gold);border-radius:999px;padding:6px 12px}
@media (max-width:760px){.msg-row{grid-template-columns:1fr}.msg-form{padding:30px 22px 26px}}

/* the contact slide holds two cards plus the share block: keep it compact so it fits a laptop screen */
#contact .stage{padding-top:clamp(56px,7vh,90px);padding-bottom:clamp(24px,4vh,48px)}
#contact .col{gap:clamp(12px,1.8vh,22px)}
#contact .avatar{width:clamp(76px,10vh,116px);height:clamp(76px,10vh,116px)}
#contact .person{gap:clamp(8px,1.4vh,14px)}
#contact .pname{font-size:clamp(20px,2.6vh,30px)}
#contact .prole{font-size:clamp(12px,1.7vh,15px)}
#contact .plines{font-size:clamp(13px,1.8vh,16px);line-height:1.5;gap:3px}
#contact .plinks{font-size:12px;gap:8px 12px}
#contact .plinks a{padding:5px 3px}
#contact .share{margin-top:clamp(6px,1.2vh,14px);gap:8px}
@media (max-width:760px){
  #contact .col{gap:14px!important}
  #contact .eyebrow{order:-2}
  #contact .share{order:-1;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;margin:0 0 4px}
  #contact .share-lead{font-size:13px}
  #contact .cta{min-height:32px;padding:6px 14px;font-size:9.5px}
  #contact .stage{padding-top:64px;padding-bottom:16px}
  #contact .people{gap:18px}
  #contact .avatar{width:clamp(56px,8vh,84px);height:clamp(56px,8vh,84px)}
  #contact .person{gap:6px}
  #contact .plines{gap:1px;line-height:1.4}
}
#contact .share-lead{font-size:clamp(13px,1.8vh,17px)}
#contact .share-note{font-size:12px}
#contact .cta{min-height:38px;padding:9px 18px;font-size:10px}

/* the invitation box */
.share-code{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border:1px solid var(--line-gold);border-radius:14px}
.share-code b{font-family:var(--marcellus);font-weight:400;font-size:28px;letter-spacing:.32em;text-indent:.32em;color:var(--ink)}
#shareBox{position:fixed;inset:0;z-index:8;display:grid;place-items:center;background:rgba(0,0,0,.6);backdrop-filter:blur(6px)}
/* the recording line: tiny, ticked by default */
.gate-consent{display:flex;align-items:center;gap:8px;margin-top:2px;font-family:var(--font-body);font-weight:300;font-size:10.5px;color:rgba(255,255,255,.42);cursor:pointer}
.gate-consent input{width:12px;height:12px;accent-color:var(--champ);margin:0}

/* the Chinese name of LeCoffret, under the wordmark on the opening slide */
.cn-name{margin-top:-6px;font-size:clamp(30px,4.2vw,56px);letter-spacing:.28em;text-indent:.28em;line-height:1.2}
.cn-name .nacre,.cn-brand{color:var(--cnbrand)}
.cn-name .nacre{text-shadow:0 0 24px rgba(232,70,58,.35)}
