@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 500;font-display:swap;src:url('./fonts/cormorant-garamond-latin-v21.woff2') format('woff2')}
:root{color-scheme:light;--ink:#111110;--paper:#fff}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{background:#fff;color:var(--ink);font-family:'Cormorant Garamond',Baskerville,Georgia,serif}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:1px solid #111;outline-offset:7px}
.intro{position:fixed;inset:0;overflow:hidden;background:#fff;cursor:pointer;outline:none}
body[data-playback="playing"] .intro{cursor:default}
.scene,.scene canvas{position:absolute;inset:0;width:100%;height:100%}
.scene{opacity:0;transition:opacity .8s ease}
.ready .scene{opacity:1}
.scene canvas{display:block}
.masthead{position:absolute;top:0;left:0;width:100%;padding:32px 4.5%;display:flex;justify-content:space-between;align-items:flex-start;gap:28px;z-index:4;pointer-events:none}
.brand{font-size:16px;letter-spacing:2px;font-weight:500;color:#111;white-space:nowrap}
.masthead-credit,.masthead-invitation{display:flex;flex-direction:column;gap:5px;font-weight:400;line-height:1.2}
.masthead-credit{justify-self:center;font-size:12px;letter-spacing:.7px}
.masthead-invitation{font-family:'Songti SC','Noto Serif CJK SC','SimSun',serif;font-size:12px;letter-spacing:3px}
.masthead-muted,.credit-prefix{color:#8b8b85}
.credit-line{white-space:nowrap}
.masthead-credit .masthead-muted{font-size:8px;letter-spacing:1.4px}
.masthead-invitation .masthead-muted{font-size:11px}

/* The visible title is the depth-tested 3D halo. */
.hero-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.flare{position:fixed;inset:0;z-index:20;pointer-events:none;opacity:0;background:radial-gradient(circle at var(--light-x,50%) var(--light-y,50%),#fff 0%,#fffef9 35%,#fff 100%)}
.destination{position:fixed;inset:0;visibility:hidden;opacity:0;background:var(--paper);transition:opacity .9s;z-index:10}
.destination.active{visibility:visible;opacity:1}
.destination iframe{border:0;width:100%;height:100%;display:block;background:var(--paper)}
.replay{position:fixed;right:22px;bottom:22px;z-index:30;width:42px;height:42px;border:1px solid #a79f9160;color:#5c554c;background:#ffffffed;border-radius:50%;font:22px Georgia,serif;cursor:pointer}
.replay[hidden]{display:none}
.tilt-control{position:absolute;z-index:5;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);min-height:44px;max-width:calc(100% - 32px);padding:10px 18px;border:1px solid #c9c3b680;border-radius:24px;background:#fffffff0;color:#7b7467;font:12px/1.5 'Songti SC',serif;letter-spacing:1px;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tilt-control[hidden],body[data-playback="playing"] .tilt-control,body[data-playback="finished"] .tilt-control{display:none}
.tilt-control:disabled{cursor:default;opacity:.7}
.orb-guide{position:absolute;z-index:4;width:96px;height:96px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:50%;background:transparent;color:#7d6b4e;cursor:pointer;-webkit-tap-highlight-color:transparent}
.orb-guide[hidden],body[data-playback="playing"] .orb-guide,body[data-playback="finished"] .orb-guide{display:none}
.orb-guide-ring{position:absolute;inset:4px;border:1px solid #bfa77f66;border-radius:50%;pointer-events:none}
.orb-guide-ring::after{content:'';position:absolute;inset:0;border:1px solid #bfa77f88;border-radius:50%;animation:orb-invitation 3.2s ease-out infinite}
.orb-guide-cursor{position:absolute;left:calc(100% - 18px);top:calc(100% - 18px);width:18px;height:23px;fill:#fffdf6;stroke:#947b55;stroke-width:1;stroke-linejoin:round;pointer-events:none;animation:orb-cursor-blink 2.4s ease-in-out infinite}
@keyframes orb-invitation{0%{transform:scale(1);opacity:.5}85%,100%{transform:scale(1.3);opacity:0}}
@keyframes orb-cursor-blink{0%,100%{opacity:.2}40%,60%{opacity:1}}
@media(min-width:760px){
  .orb-guide{width:112px;height:112px}
  .orb-guide-ring{border-width:1.25px;border-color:#b39970a6;box-shadow:0 0 16px #c4a77a18}
  .orb-guide-ring::after{border-color:#af936dcc;animation-name:orb-invitation-desktop}
}
@keyframes orb-invitation-desktop{0%{transform:scale(1);opacity:.75}85%,100%{transform:scale(1.35);opacity:0}}
@media(prefers-reduced-motion:reduce){.orb-guide-ring::after,.orb-guide-cursor{animation:none}}
@media(max-width:760px){.masthead{padding:26px 7%;gap:22px}.brand{font-size:14px;letter-spacing:1.5px}.masthead-credit{font-size:11px}.masthead-invitation{font-size:11px;letter-spacing:2px}.masthead-invitation .masthead-muted{font-size:10px}}
@media(max-width:480px){.masthead{padding:24px 5%;gap:12px}.brand{font-size:12px;letter-spacing:1px}.masthead-credit{font-size:10px;letter-spacing:0}.masthead-credit .masthead-muted{font-size:7px;letter-spacing:.5px}.masthead-invitation{font-size:10px;letter-spacing:1px}.masthead-invitation .masthead-muted{font-size:9px}}
@media(prefers-reduced-motion:reduce){.scene,.destination{transition:none}}

.masthead-edition{display:flex;flex-direction:column;gap:5px;text-align:center;font-size:12px;line-height:1.2;letter-spacing:.7px;white-space:nowrap}
.masthead-edition .masthead-muted{font-size:10px;letter-spacing:1px}
.masthead-right{display:flex;justify-self:end;align-items:flex-start;gap:clamp(24px,5vw,90px)}
@media(max-width:760px){.masthead{padding-left:5%;padding-right:5%;gap:16px}.masthead-edition{font-size:11px}.masthead-right{gap:22px}}
@media(max-width:480px){.masthead{gap:8px}.brand{font-size:10px;letter-spacing:.7px}.masthead-edition{font-size:10px;letter-spacing:0}.masthead-edition .masthead-muted{font-size:9px}.masthead-credit{font-size:9px}.masthead-right{gap:12px}.masthead-invitation{font-size:9px;letter-spacing:.5px}}

/* Four independent blocks use the same free space between each pair. */
.masthead > *{flex:0 0 auto}

/* Larger type for the two English blocks, keeping the shared header spacing. */
.masthead-edition,.masthead-credit{font-size:16px}
.masthead-edition .masthead-muted{font-size:12px}
@media(max-width:760px){.masthead-edition,.masthead-credit{font-size:14px}}
@media(max-width:480px){.masthead-edition,.masthead-credit{font-size:clamp(10px,3vw,12px)}.masthead-edition .masthead-muted{font-size:10px}}
