@font-face { font-family:'SB Sans Display'; src:url('./assets/fonts/SBSansDisplay-Regular.otf') format('opentype'); font-weight:400; font-display:swap; }
@font-face { font-family:'SB Sans Display'; src:url('./assets/fonts/SBSansDisplay-SemiBold.otf') format('opentype'); font-weight:600; font-display:swap; }
@font-face { font-family:'SB Sans Display'; src:url('./assets/fonts/SBSansDisplay-Bold.otf') format('opentype'); font-weight:700; font-display:swap; }
:root { color-scheme:dark; --ink:#080808; --paper:#f6f4f0; --muted:#a6a29e; --orange:#ff4d16; --line:#ffffff29; --stage-scale:1; font-family:'SB Sans Display',Arial,sans-serif; background:var(--ink); color:var(--paper); font-synthesis:none; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
html,body { margin:0; width:100%; height:100%; overflow:hidden; overscroll-behavior:none; }
body { height:100dvh; display:grid; place-items:center; touch-action:pan-x pinch-zoom; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { color:inherit; font:inherit; cursor:pointer; }
button:disabled { cursor:default; }
button:focus-visible,a:focus-visible { outline:2px solid var(--orange); outline-offset:5px; }
h1:focus { outline:none; }
h1,p { margin:0; }
img { user-select:none; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#stage { position:absolute; z-index:1; width:1440px; height:900px; left:50%; top:50%; margin-left:-720px; margin-top:-450px; transform:scale(var(--stage-scale)); transform-origin:center; overflow:hidden; }
#backdrops { position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.scene-backdrop { position:absolute; inset:0; isolation:isolate; overflow:hidden; }
.backdrop-art { position:absolute; width:1440px; height:900px; left:50%; top:50%; margin-left:-720px; margin-top:-450px; transform:scale(var(--stage-scale)); transform-origin:center; }
#presentation { position:relative; width:100%; height:100%; isolation:auto; }
.scene { position:absolute; inset:0; overflow:hidden; }
.scene-light { position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 39.2% 54.6% at 93.403% 59.8%, #d330103b 0%, #a01a0814 53%, transparent 78%); }
.scene-cover .scene-light { background:radial-gradient(ellipse 43.4% 54.6% at 59.8% 71%, #ff6519 0%, #f33409d9 24%, #9d16087a 44%, transparent 76%); }
.scene-final .scene-light { background:radial-gradient(ellipse 65.8% 56% at 75.2% 79.4%, #ff7718 0%, #fa3607ab 30%, #a3190c54 50%, transparent 76%); }
.hero-year { position:absolute; font-weight:700; font-size:552.96px; line-height:425.78px; letter-spacing:-41.472px; white-space:nowrap; }
.scene-cover .year-right { left:761px; top:358px; }
.scene-cover .year-left { left:34.2px; top:358.22px; }
.scene-cover h1 { position:absolute; left:65px; top:220px; width:540px; font-size:144px; font-weight:700; line-height:144px; color:var(--orange); }
.author { position:absolute; left:1248px; top:96px; padding:4px 8px; background:var(--ink); font-size:13px; line-height:15.6px; white-space:nowrap; }
.portrait { position:absolute; left:335px; top:-64px; width:715px; height:1269px; pointer-events:none; }
.portrait-image { display:block; width:100%; height:100%; overflow:visible; mask-image:linear-gradient(to right,transparent,#000 6%); }
.scene-final .year-right { left:792px; top:378px; }
.scene-final .year-left { left:29px; top:362px; }
.year-outline { color:transparent; -webkit-text-stroke:5px var(--paper); }
.scene-final h1 { position:absolute; left:64.8px; top:266.53px; font-size:39.316px; line-height:44.932px; font-weight:400; letter-spacing:-.3932px; white-space:nowrap; }
.final-mark { position:absolute; left:1275.2px; top:178px; }
.final-mark img { display:block; }
.final-character { position:absolute; left:-89px; top:-67px; width:1597.534px; height:1071.764px; pointer-events:none; }
.final-character img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.character-video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; }
.character-ready .character-video { opacity:1; }
.character-ready .final-character img { opacity:0; }
.character-toggle { position:absolute; right:65px; bottom:130px; }
.character-toggle svg { width:20px; height:20px; }
.project-panel {
  --glass-blur:29px;
  --media-radius:17px;
  position:absolute; left:65px; top:34px; width:1310px; height:720px;
  border:1px solid transparent; border-radius:24px; overflow:hidden;
  background:linear-gradient(141.667deg,#28272533 13.669%,#12121133 38.849%,#17161533 72.662%,#34302b33 85.612%);
  -webkit-backdrop-filter:blur(var(--glass-blur));
  backdrop-filter:blur(var(--glass-blur));
  box-shadow:inset 0 1px 0 #ffffff26, inset 1px 0 0 #ffffff0d, inset 0 -1px 0 #ffffff08, inset 0 0 24px #ffffff05;
}
.scene-pension .project-panel { --glass-blur:100px; }
/* Figma GLASS uses a 300° light source; this rim approximates its bevel
   without filtering the foreground text, videos, or gallery images. */
.project-panel::before {
  content:""; position:absolute; inset:-1px; padding:1px;
  border-radius:inherit; pointer-events:none;
  background:linear-gradient(120deg,#ffffff59 0%,#ffffff12 28%,#ffffff05 58%,#ffffff26 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.project-copy { position:absolute; inset:0; pointer-events:none; }
.project-copy h1 { position:absolute; left:43px; top:108px; width:580px; font-size:79.2px; line-height:65px; letter-spacing:-4.752px; font-weight:400; }
.project-copy h1 strong { display:block; font-weight:600; }
.project-copy h1 > span { display:block; }
.scene-ai .project-copy h1 > span { font-weight:600; }
.project-description { position:absolute; left:46px; top:255px; width:297px; font-size:20.16px; line-height:30.24px; color:var(--muted); }
.scene-card .project-description { top:275px; line-height:28px; }
.project-result { position:absolute; left:43px; top:499px; width:177px; }
.metric { display:flex; align-items:center; gap:8px; position:absolute; left:0; top:18px; font-size:90.72px; line-height:90.72px; letter-spacing:-5.8968px; }
.metric-before { color:var(--orange); }
.metric-after { color:#49e640; }
.metric-arrow { flex-shrink:0; display:block; }
.metric-before-label,.metric-after-label { font-size:11px; line-height:13.2px; color:var(--muted); white-space:nowrap; }
.metric-before-label { position:absolute; left:-2px; top:0; }
.metric-after-label { position:absolute; left:145px; top:109px; }
.project-points { position:absolute; left:43px; top:307px; padding:0; margin:0; list-style:none; width:420px; }
.project-points li { position:relative; display:flex; align-items:center; gap:18px; height:65px; border-top:1px solid var(--line); font-size:21.6px; line-height:25.92px; }
.project-points li:last-child { border-bottom:1px solid var(--line); height:66px; }
.point-index { font-size:10px; line-height:12px; color:var(--muted); }
.project-points li > img { position:absolute; left:404px; top:24px; }
.media-player { position:absolute; isolation:isolate; left:258px; top:23px; width:1024px; height:617px; overflow:hidden; border-radius:var(--media-radius); }
.media-player.has-video { inset:24px 24px auto auto; width:1120px; height:auto; aspect-ratio:16 / 9; overflow:visible; }
.media-player.has-video::after { content:""; position:absolute; inset:0; z-index:2; pointer-events:none; border-radius:inherit; background:linear-gradient(90deg,#080808e6 0%,#080808c7 16%,#08080880 23%,transparent 38%); }
.scene-card .media-player.has-video::after { content:none; }
.card-contrast { position:absolute; left:-159.57px; top:-239.76px; pointer-events:none; }
.scene-pension .media-player.has-video { border:1px solid #000; }
.media-player video,.media-poster { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; display:block; }
.media-player video { object-fit:contain; background:#080808; border-radius:inherit; }
.video-cover { position:absolute; inset:0; z-index:1; display:block; width:100%; height:100%; object-fit:contain; background:#080808; border-radius:inherit; pointer-events:none; }
.media-player.is-playing .video-cover { visibility:hidden; }
.media-player video:fullscreen { width:100%; height:100%; border-radius:0; object-fit:contain; }
.panel-corner { position:absolute; pointer-events:none; }
.panel-corner img { display:block; }
.panel-corner-start { left:24px; top:24px; transform:rotate(-90deg); }
.scene-card .panel-corner-start { z-index:3; }
.panel-corner-end { left:1252px; top:671px; transform:rotate(90deg); }
.scene-ai .panel-corner-end { left:1254px; top:665px; }
.ambient-orb { position:absolute; display:grid; place-items:center; width:497.317px; height:497.317px; pointer-events:none; }
.orb-rotator { position:relative; width:371px; height:371px; transform:rotate(-26.42deg); }
.orb-rotator img { position:absolute; left:-20.7px; top:-20.7px; }
.orb-pension { left:-188.53px; top:166.31px; width:454.38px; height:454.38px; }
.orb-pension .orb-rotator { transform:rotate(165deg); }
.orb-card { left:1025.84px; top:144.84px; }
.orb-ai { left:162px; top:-165px; }
.gallery { position:absolute; left:582px; top:43px; width:658px; height:658px; container-type:size; border-radius:var(--media-radius); }
.gallery-images { position:absolute; top:50%; left:50%; width:100cqmin; height:100cqmin; transform:translate(-50%,-50%); overflow:hidden; border-radius:inherit; }
.gallery-item { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; visibility:hidden; pointer-events:none; border-radius:inherit; }
.gallery-item.is-current { opacity:1; visibility:visible; }
.gallery-item.is-leaving { opacity:1; visibility:visible; }
.gallery-controls { position:absolute; z-index:3; bottom:6px; left:50%; transform:translateX(-50%); display:flex; align-items:center; padding:4px 14px; border-radius:40px; background:#080808cc; border:1px solid var(--line); }
.gallery-controls::before { content:""; position:absolute; left:0; right:0; bottom:100%; height:8px; }
.gallery-controls [data-gallery="pause"] { position:absolute; left:50%; bottom:calc(100% + 8px); transform:translate(-50%,6px); opacity:0; pointer-events:none; background:#080808e6; border:1px solid var(--line); transition:opacity .22s cubic-bezier(.22,1,.36,1),transform .22s cubic-bezier(.22,1,.36,1); }
.gallery-controls:hover [data-gallery="pause"],.gallery-controls [data-gallery="pause"]:focus-visible { opacity:1; pointer-events:auto; transform:translate(-50%,0); }
.gallery-progress { display:flex; align-items:center; gap:6px; height:24px; pointer-events:none; }
.gallery-marker { position:relative; flex:none; width:6px; height:6px; overflow:hidden; border-radius:999px; background:#ffffff40; transition:width .42s cubic-bezier(.45,0,.2,1); }
.gallery-marker.is-active { width:44px; }
.gallery-marker i { display:block; position:absolute; inset:0; border-radius:inherit; background:var(--orange); transform:scaleX(0); transform-origin:left; opacity:0; }
.gallery-marker.is-active i,.gallery-marker.is-previous i { opacity:1; }
.gallery-controls .round-button { width:32px; height:32px; }
.gallery-controls svg { width:20px; height:20px; }
@media (hover:none) { .gallery-controls [data-gallery="pause"] { opacity:1; pointer-events:auto; transform:translate(-50%,0); } }
.round-button { width:48px; height:48px; border:1px solid var(--line); border-radius:50%; background:#ffffff05; display:inline-flex; align-items:center; justify-content:center; }
.round-button:disabled { opacity:.25; }
.next-button { display:flex; align-items:center; gap:28px; height:52px; border:0; border-radius:30px; padding:5px 5px 5px 24px; background:var(--paper); color:var(--ink); font-size:12px; line-height:14.4px; white-space:nowrap; }
.button-disc { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--orange); }
.navigation { position:absolute; left:64.8px; top:788px; width:1310.4px; height:112px; border-top:1px solid var(--line); }
.chapter,.chapter-nav,.navigation-actions { z-index:6; }
.chapter { position:absolute; left:0; top:48px; display:flex; gap:23px; font-size:11px; line-height:13.2px; }
#counter { font-variant-numeric:tabular-nums; }
#chapter-name { color:var(--muted); }
.chapter-nav { position:absolute; left:556.7px; top:33px; display:flex; gap:8px; }
.chapter-dot { display:flex; width:33px; min-height:44px; flex-direction:column; justify-content:center; align-items:center; gap:8px; background:transparent; border:0; color:#88817b; padding:0; }
.chapter-dot span { font-size:8px; line-height:9.6px; font-variant-numeric:tabular-nums; }
.chapter-dot i { display:block; width:20px; height:2px; background:#ffffff29; transition:background .2s,width .2s; }
.chapter-dot[aria-current="step"] { color:var(--paper); }
.chapter-dot[aria-current="step"] i { background:var(--orange); width:29px; }
.navigation-actions { position:absolute; right:0; top:29px; display:flex; align-items:center; gap:10px; }
.video-placeholder { display:none; position:absolute; inset:0; background:#080808e8; border-radius:inherit; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
.media-failed .video-placeholder { display:flex; }
.has-video.has-poster.media-failed .video-placeholder { z-index:2; background:linear-gradient(transparent 55%,#080808d9); justify-content:flex-end; gap:6px; padding:20px; }
.placeholder-title { font-size:14px; }
.placeholder-note { font-size:12px; color:var(--muted); }
.media-controls { position:absolute; z-index:3; bottom:12px; right:12px; display:flex; gap:6px; background:#080808aa; padding:4px; border:1px solid var(--line); border-radius:32px; opacity:0; transition:opacity .22s cubic-bezier(.22,1,.36,1); }
.media-controls .round-button { width:38px; height:38px; border:0; }
.media-player:hover .media-controls,.media-player:focus-within .media-controls { opacity:1; }
.play-overlay { display:none; position:absolute; z-index:2; inset:0; background:#08080880; border:0; border-radius:inherit; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
.needs-play .play-overlay { display:flex; }
.no-script { position:fixed; inset:0; z-index:99; display:grid; place-items:center; background:var(--ink); }
@media (hover:hover) {
  .next-button:hover { background:#ddd8d1; }
  .round-button:hover:not(:disabled) { background:#ffffff14; }
  .chapter-dot:hover i { background:var(--paper); }
}
@media (max-width:760px) {
  .backdrop-art { width:100%; height:100dvh; inset:0; margin:0; transform:none; }
  #stage { width:100%; height:100dvh; inset:0; margin:0; transform:none; }
  .navigation { left:24px; top:auto; bottom:0; width:calc(100% - 48px); height:98px; }
  .chapter { top:27px; gap:0; font-size:10px; }
  #chapter-name { display:none; }
  .chapter-nav { left:0; top:auto; bottom:9px; gap:4px; }
  .chapter-dot { width:22px; min-height:24px; }
  .chapter-dot span { display:none; }
  .chapter-dot i { width:15px; }
  .chapter-dot[aria-current="step"] i { width:21px; }
  .navigation-actions { top:17px; gap:8px; }
  .round-button { width:42px; height:42px; }
  .next-button { height:44px; gap:15px; padding-left:18px; font-size:11px; }
  .button-disc { width:34px; height:34px; }
  .hero-year { font-size:40vw; line-height:.9; letter-spacing:-3vw; }
  .scene-cover .year-left { left:9px; top:auto; bottom:calc(98px + 15vh); z-index:3; }
  .scene-cover .year-right { left:auto; right:14px; top:auto; bottom:calc(98px + 15vh); z-index:3; }
  .scene-cover h1 { left:24px; top:15%; font-size:19vw; line-height:1; width:auto; z-index:2; }
  .author { left:auto; top:36px; right:24px; font-size:11px; }
  .portrait { left:2%; top:8%; width:97%; height:110%; }
  .scene-cover .scene-light { background:radial-gradient(ellipse 70vw 48vh at 65% 64%,#ff6519,#f3340970 32%,transparent 76%); }
  .scene-final .scene-light { background:radial-gradient(ellipse 100vw 48vh at 67% 72%,#ff7718,#fa360780 30%,transparent 76%); }
  .scene-final .year-left { left:9px; top:auto; bottom:calc(98px + 13vh); z-index:3; }
  .scene-final .year-right { left:auto; right:10px; top:auto; bottom:calc(98px + 13vh); z-index:4; }
  .year-outline { -webkit-text-stroke:2px var(--paper); }
  .scene-final h1 { z-index:4; left:24px; top:9%; font-size:6.1vw; line-height:1.15; width:calc(100% - 48px); white-space:normal; }
  .final-mark { left:auto; right:24px; top:11%; transform:scale(.48); transform-origin:top right; }
  .final-character { left:-55%; top:15%; width:210%; height:auto; aspect-ratio:1597.534 / 1071.764; }
  .character-toggle { right:24px; bottom:110px; z-index:5; }
  .project-panel { --media-radius:10px; left:24px; top:24px; width:calc(100% - 48px); height:calc(100% - 148px); display:grid; grid-template-rows:auto minmax(0,1fr); padding:48px 22px 36px; row-gap:22px; }
  .project-copy { position:relative; inset:auto; grid-row:1; min-width:0; }
  .project-copy h1 { position:static; width:auto; font-size:clamp(32px,8.8vw,52px); line-height:.96; letter-spacing:-.055em; }
  .project-description,.scene-card .project-description { position:static; width:auto; font-size:14px; line-height:1.45; margin-top:18px; }
  .project-result { position:relative; inset:auto; margin-top:22px; height:96px; width:150px; }
  .metric { font-size:60px; line-height:65px; letter-spacing:-3.8px; gap:4px; top:12px; }
  .metric-arrow { transform:scale(.7); margin:0 -4px; }
  .metric-before-label,.metric-after-label { font-size:9px; }
  .metric-before-label { left:0; }
  .metric-after-label { top:76px; left:100px; }
  .media-player { position:relative; left:auto; top:auto; width:100%; height:auto; min-height:0; grid-row:2; align-self:center; max-height:100%; aspect-ratio:1024 / 617; }
  .media-player.has-video { inset:auto; width:calc(100% + 20px); justify-self:center; max-height:100%; }
  .media-player.has-video::after,.card-contrast { display:none; }
  .media-player video,.media-poster { object-fit:contain; }
  .gallery { position:relative; left:auto; top:auto; width:100%; height:100%; min-height:0; grid-row:2; max-height:100%; }
  .gallery-item { object-fit:contain; }
  .project-points { position:static; width:auto; margin-top:25px; }
  .project-points li { height:45px; font-size:14px; line-height:18px; gap:12px; }
  .project-points li:last-child { height:46px; }
  .project-points li > img { left:auto; right:0; top:14px; }
  .point-index { font-size:9px; }
  .panel-corner-start { left:15px; top:15px; }
  .panel-corner-end,.scene-ai .panel-corner-end { left:auto; right:7px; top:auto; bottom:6px; transform:scale(.65) rotate(90deg); }
  .ambient-orb { transform:scale(.6); }
  .orb-pension { left:-280px; top:20%; }
  .orb-card { left:45%; top:32%; }
  .orb-ai { left:-120px; top:-240px; }
  .media-controls { opacity:1; bottom:5px; right:5px; }
}
@media (max-width:760px) and (max-height:720px) {
  .project-panel { padding-top:34px; padding-bottom:24px; row-gap:14px; }
  .project-description,.scene-card .project-description { font-size:12px; margin-top:12px; }
  .project-result { margin-top:12px; height:79px; }
  .metric { font-size:48px; line-height:55px; }
  .metric-after-label { top:66px; left:92px; }
  .project-points { margin-top:18px; }
  .project-points li { height:35px; font-size:12px; }
  .project-points li:last-child { height:36px; }
  .project-points li > img { top:9px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}

/* Final artwork crosses the divider, as in the Figma layer order. */
.scene-final .final-character { z-index:3; }
.scene-final .year-outline { z-index:4; }

.round-button,.next-button { transition:background-color .2s ease-out,border-color .2s ease-out; }
@media (prefers-reduced-motion:reduce) { .round-button,.next-button { transition:none; } }
