/* Lizzi’s — home page: intro, hero and the project scenes.

   Three scene layouts share one markup:
   · wide    — the 1436×867 desktop artboard, scaled to the window
   · stack   — the 375×812 phone artboard (phones, and portrait tablets scaled up)
   · free    — short landscape screens: the wide artboard, enlarged, with free scrolling
   CSS announces the active one through --scene-mode so the script never guesses. */

:root { --scene-mode: wide; --screen: 100vh; }
@supports (height: 100svh) { :root { --screen: 100svh; } }

.home { overscroll-behavior-y: none; overflow-anchor: none; }
html.snap { scroll-snap-type: y mandatory; scroll-behavior: auto; scroll-padding: 0; overflow-x: clip; }
html.snap.is-gliding { scroll-snap-type: none; }
.snap-panel { scroll-snap-align: start; scroll-snap-stop: always; }
.footer-wrap.snap-panel { scroll-snap-align: end; }
.hero-snap { scroll-margin-top: var(--header-height); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--bg); opacity: 1; transition: opacity .7s ease; }
.intro pre { margin: 0; min-width: 60ch; min-height: 48em; color: var(--fg); font: clamp(7px, 1vw, 10px)/1 var(--mono); letter-spacing: 0; white-space: pre; -webkit-user-select: none; user-select: none; }
.intro-active { overflow: hidden; }
.intro-active .intro { display: grid; }
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro-active body > .header-wrap, .intro-active body > main, .intro-active body > .footer-wrap { transition: opacity .7s ease, transform .7s ease; }
.intro-active:not(.intro-revealing) body > .header-wrap,
.intro-active:not(.intro-revealing) body > main,
.intro-active:not(.intro-revealing) body > .footer-wrap { opacity: 0; transform: translateY(8px); }

/* ---------- Hero ---------- */
.hero-snap { position: relative; height: calc(var(--screen) - var(--header-height)); overflow: hidden; }
.hero-frame { display: contents; }
.hero {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: calc(var(--screen) - 200px);
  padding: clamp(40px, 10.9375svh, 112px) 24px clamp(32px, 8.3008svh, 85px);
  gap: clamp(40px, 9.2773svh, 95px);
}
.hero-portrait { flex-shrink: 0; width: clamp(96px, 14.4531svh, 148px); height: clamp(96px, 14.4531svh, 148px); border-radius: 32px; object-fit: fill; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; flex-shrink: 0; gap: 16px; width: min(100%, 664px); text-align: center; }
.hero h1 { font: 400 clamp(64px, 9.375svh, 96px)/1 var(--display); letter-spacing: 0; color: var(--fg); }
.hero-description { max-width: 664px; font: 400 18px/21.6px var(--mono); color: var(--fg); }
.hero-description span { color: var(--dim); }
.projects-heading { height: 112px; padding: 66px 24px 24px; text-align: center; }
.projects-heading h2 { font: 400 18px/21.6px var(--mono); }

.js .hero-portrait, .js .hero-copy, .js .projects-heading { opacity: 0; transform: translateY(16px); }
.js .hero-ready .hero-portrait, .js .hero-ready .hero-copy, .js .hero-ready .projects-heading { animation: hero-appear .65s var(--ease-out) both; }
.js .hero-ready .hero-portrait { animation-delay: .08s; }
.js .hero-ready .hero-copy { animation-delay: .2s; }
.js .hero-ready .projects-heading { animation-delay: .32s; }
@keyframes hero-appear { to { opacity: 1; transform: none; } }

/* ---------- Scene: wide artboard (1436 × 867) ---------- */
.case-scene { position: relative; display: grid; place-items: center; height: var(--screen); min-height: 480px; overflow: hidden; isolation: isolate; }
.case-stage {
  --px: calc(100cqw / 1436);
  position: relative; isolation: isolate; container-type: inline-size;
  width: min(1436px, calc(100vw - 4px), calc((var(--screen) - 24px) * 1436 / 867));
  aspect-ratio: 1436 / 867;
}
.js-scenes .case-stage { opacity: 0; transition: opacity .32s ease; }
.js-scenes .is-current > .case-stage { opacity: 1; }
.js-scenes .is-backdrop > .case-stage { opacity: 1; pointer-events: none; }

.case-center { position: absolute; top: 0; left: 19.42897%; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 61.14206%; padding: 1.67131%; gap: calc(17 * var(--px)); }
.metric-panel { width: 100%; aspect-ratio: 830 / 750; border-radius: calc(32 * var(--px)); background: #151515; }
.metric-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; background: #151515; }
.grain { position: absolute; inset: 0; background: url('/assets/quality/noise-1024.webp') top left / 47.29317% auto repeat; mix-blend-mode: overlay; opacity: .25; pointer-events: none; }
.grain-top { display: none; }
.metric-gradient { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.metric-glow { position: absolute; top: -33.8092%; left: -59.1575%; width: 222.5313%; height: auto; max-width: none; }

.metrics { position: absolute; inset: 0; z-index: 2; margin: 0; }
.metric { position: absolute; top: var(--top); left: var(--left); width: var(--width); }
.metric dt { font: 600 calc(42 * var(--px))/1 var(--mono); letter-spacing: 0; white-space: nowrap; }
.metric dd { margin: calc(16 * var(--px)) 0 0; font: 400 calc(20 * var(--px))/calc(21.6 * var(--px)) var(--sans); color: var(--fg-80); }
.metric dd span { display: block; white-space: nowrap; }
.metric dd .symbol-arrow { display: inline; }

.scene-details { display: flex; flex-direction: column; width: 80%; gap: calc(8 * var(--px)); }
.scene-meta { gap: calc(16 * var(--px)); font-size: calc(18 * var(--px)); line-height: calc(21.6 * var(--px)); }
.scene-summary { font: 400 calc(18 * var(--px))/calc(21.6 * var(--px)) var(--sans); }

.case-phone {
  position: absolute; top: var(--y); left: var(--x); z-index: 4; width: var(--w); aspect-ratio: var(--ratio); pointer-events: none;
  transition: opacity .6s ease-out, translate .7s var(--ease-out);
}
.js-scenes .case-phone { opacity: 0; translate: 0 12px; }
.phone-picture { display: contents; }
.phone-float { position: absolute; inset: 0; display: grid; place-items: center; }
.case-phone img { width: var(--img-w); height: auto; max-width: none; aspect-ratio: var(--img-ratio); object-fit: contain; transform: rotate(var(--angle)); }
.js-scenes .is-revealed .case-phone { opacity: 1; translate: 0 0; }
.is-revealed .phone-float { animation: levitate 7s ease-in-out infinite; }
.is-revealed .phone-right .phone-float { animation-duration: 8s; animation-direction: reverse; }
.js-scenes .is-resetting .case-phone { opacity: 0; translate: 0 12px; transition: none; }
.is-resetting .phone-float, .is-resetting .nda-decoration { animation: none !important; }

/* ZAMAN mountains */
.mountains { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.mountain { position: absolute; display: grid; place-items: center; }
.mountain img { height: auto; max-width: none; object-fit: contain; }
.mountain-one { top: -6.1151%; left: -63.1%; width: 201.0843%; aspect-ratio: 1669 / 1957.83; }
.mountain-one img { width: 75.84985%; transform: rotate(164.5deg) scaleY(-1); }
.mountain-two { top: -.7023%; left: -21.65%; width: 167.3063%; aspect-ratio: 1388.642 / 1796.492; }
.mountain-two img { width: 94.20275%; transform: rotate(2.71deg); }

/* Citronus orbs */
.orbs-stack { display: none; }
.orb { position: absolute; z-index: 1; display: grid; place-items: center; mix-blend-mode: screen; pointer-events: none; }
.orb-one { top: -5.73333%; left: 75.06024%; width: 49.6034%; aspect-ratio: 411.708 / 357.549; }
.orb-two { top: 56.26667%; left: -16.0241%; width: 51.21972%; aspect-ratio: 425.124 / 435.105; }
.orb-shape { position: absolute; top: 20.921%; left: 8.871%; width: 81.7484%; aspect-ratio: 336.56 / 236.502; clip-path: ellipse(50% 50% at 50% 50%); transform: rotate(161.99deg); }
.orb-two .orb-shape { top: 23.837%; left: 7.212%; width: 79.1663%; transform: rotate(-130.2deg); }
.orb-shape img { position: absolute; inset: 0; width: 100%; height: auto; max-width: none; }
.orb-shine { position: absolute; inset: 0; background: radial-gradient(ellipse at 55% 52%, #fff8, transparent 70%); mix-blend-mode: soft-light; }

/* NDA scenes */
.nda-artwork { position: relative; width: 100%; }
.nda-decor-stack { display: none; }
.nda-media { position: relative; overflow: hidden; width: 100%; aspect-ratio: 830 / 750; border-radius: calc(32 * var(--px)); background: #161616; }
.nda-media video { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; pointer-events: none; -webkit-user-select: none; user-select: none; }
.nda-poster { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; pointer-events: none; opacity: 1; transition: opacity .12s ease; }
.nda-media.has-frame .nda-poster { opacity: 0; }
.scene-asteria .nda-media { background: #111; isolation: isolate; transform: translateZ(0); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.scene-asteria .nda-media video, .scene-asteria .nda-poster { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; border-radius: 0; }
.scene-aiso .nda-media { background: #6b57e0; }
.nda-badges { position: absolute; bottom: 3.2%; left: 2.891566%; display: flex; gap: calc(12 * var(--px)); pointer-events: none; }
.nda-badges span { display: grid; place-items: center; padding: calc(10.5 * var(--px)) calc(13.5 * var(--px)); border-radius: 30px; background: rgba(17, 17, 17, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #111; font: 400 calc(15 * var(--px))/calc(19.5 * var(--px)) var(--mono); }
.scene-aiso .nda-badges span { background: rgba(17, 17, 17, .2); color: #fff; }

.nda-decoration { position: absolute; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.is-revealed .nda-decoration { animation: levitate 10s ease-in-out infinite; }
.is-revealed .nda-coin-left, .is-revealed .nda-crystal-left { animation-duration: 12s; animation-direction: reverse; }
.nda-decoration picture { display: block; width: 100%; }
.nda-decoration img { display: block; width: 100%; height: auto; max-width: none; }
.nda-coin-right { top: 2.76817%; left: 71.37883%; width: 26.88022%; }
.nda-coin-left { top: 42.359%; left: 2.17618%; width: 27.88942%; aspect-ratio: 1; }
.nda-coin-left img { width: 81.64957%; transform: rotate(165deg) scaleY(-1); }
.nda-crystal-right { top: 5.65167%; left: 71.58774%; width: 25.90529%; }
.nda-crystal-left { top: 29.046%; left: -1.82243%; width: 37.385%; aspect-ratio: 1; }
.nda-crystal-left picture { width: 73.2062%; }
.nda-crystal-left img { transform: rotate(-30deg); }

/* ---------- Footer over the last scene ---------- */
.home > .footer-wrap { position: relative; z-index: 2; isolation: isolate; }
.home > .footer-wrap::before { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: calc(var(--screen) + 100%); background: rgba(17, 17, 17, .6); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.home.footer-active > .footer-wrap::before { opacity: 1; }

/* Phone/tablet motion follows visibility, not an exact snap coordinate. The
   existing phone entrance, levitation and native block snapping stay intact. */
.scene-motion .case-scene.is-in-view > .case-stage { opacity: 1; }
.scene-motion .footer-backdrop::after {
  content: ""; position: absolute; inset: 0; z-index: 20;
  background: rgba(17, 17, 17, .6); opacity: 0;
  pointer-events: none; transition: opacity .4s ease;
}
.scene-motion .home.footer-active .footer-backdrop::after { opacity: 1; }
/* All layouts use footer-active and the same400ms fade. footer-in-view
   only keeps the last scene visible; it must not delay the shade on return.
   Shade wrapper padding without overlapping the scene shade. */
.scene-motion .home > .footer-wrap::before { inset: 0; height: auto; }
.scene-motion .home > .footer-wrap::before { opacity: 0; }
.scene-motion .home.footer-active > .footer-wrap::before { opacity: 1; }

/* ---------- Small landscape tablets and narrow desktop windows ----------
   Below 1104px the artboard may grow past the window edges (up to 1100px) when
   the height allows, so the copy never drops under ~15px. The outer part of
   each device is cropped by the screen instead. */
@media (min-width: 701px) and (max-width: 1103px) {
  .case-stage { width: min(1436px, max(calc(100vw - 4px), min(130vw, 1100px)), calc((var(--screen) - 24px) * 1436 / 867)); }
}

/* ---------- Scene: stacked artboard (375 × 812) ----------
   Phones, plus portrait tablets where the same artboard is scaled up and centred. */
@media (max-width: 700px) and (orientation: portrait), (max-width: 700px) and (min-height: 521px), (min-width: 701px) and (max-width: 1199px) and (max-aspect-ratio: 9/10) {
  :root {
    --scene-mode: stack;
    --k: min(calc(100vw / 375), calc(var(--screen) / 812)); /* one artboard pixel */
    --k-nda: calc((100vw - 32px) / 343);
    --ui: 1px;                                              /* paddings, radii and type */
    --m-body: calc(16 * var(--ui));
    --m-number: calc(28 * var(--ui));
    --m-gap: calc(12 * var(--ui));
  }
  .case-scene { display: flow-root; height: var(--screen); min-height: 0; overflow-x: clip; overflow-y: visible; }
  .case-stage { display: block; width: 100%; height: var(--screen); margin-inline: auto; aspect-ratio: auto; }
  .case-center { inset: 0; width: 100%; padding: calc(16 * var(--ui)); gap: calc(16 * var(--ui)); }

  .metric-panel { flex: 0 0 calc(667 * var(--k)); height: calc(667 * var(--k)); aspect-ratio: auto; border-radius: calc(32 * var(--ui)); }
  .metric-panel, .metric-bg { background: #111; }
  .grain { background-size: calc(392.533 * var(--ui)) calc(392.533 * var(--ui)); }
  .grain-top { display: block; z-index: 4; }
  .scene-zaman .metric-bg .grain { display: none; }
  .scene-zaman .metric-glow, .scene-citronus .metric-glow { top: calc(-2.68555 * var(--k)); left: calc((100% - 343 * var(--k)) / 2 - 300 * var(--k)); width: calc(943 * var(--k)); height: auto; }

  .metrics { inset: calc(44 * var(--k)) calc(24 * var(--k)) auto; height: calc(316 * var(--k)); }
  .scene-ubrir .metrics, .scene-zaman .metrics { z-index: 5; }
  .metric { top: calc(var(--stack-y) * var(--k)); left: 0; width: 100%; }
  .metric dt { font-size: var(--m-number); line-height: 1; }
  .metric dd { max-width: 100%; margin-top: var(--m-gap); font-size: var(--m-body); line-height: 1.35; }

  .scene-details { flex-shrink: 0; width: 100%; min-height: calc(var(--m-body) * 3.6 + 8 * var(--ui)); gap: calc(8 * var(--ui)); }
  .scene-meta { gap: calc(16 * var(--ui)); }
  .scene-meta, .scene-summary { font-size: var(--m-body); line-height: 1.2; }

  .case-phone { top: calc(var(--sy) * var(--k)); left: calc(50% + (var(--sx) - 187.5) * var(--k)); width: calc(var(--sw) * var(--k)); aspect-ratio: var(--s-ratio); }
  .case-phone.phone-left { z-index: 5; }
  .case-phone img { width: var(--s-img-w); aspect-ratio: 4 / 3; transform: rotate(var(--s-angle)); }
  .phone-float, .nda-decoration { --drift: 5px; }

  .mountain-one { top: auto; bottom: calc(-478.17 * var(--k)); left: calc((100% - 343 * var(--k)) / 2 - 262.999 * var(--k)); width: calc(832.157 * var(--k)); }
  .mountain-two { top: auto; bottom: calc(-417.97 * var(--k)); left: calc((100% - 343 * var(--k)) / 2 - 169.146 * var(--k)); width: calc(692.372 * var(--k)); }

  .orb { display: none; }
  .orbs-stack { position: absolute; inset: 0; display: block; }
  .orbs-stack div { position: absolute; display: grid; place-items: center; clip-path: ellipse(50% 50% at 50% 50%); pointer-events: none; }
  .orbs-stack div:first-child { top: calc(528.982 * var(--k)); left: calc((100% - 343 * var(--k)) / 2 - 92.56 * var(--k)); width: calc(227.111 * var(--k)); aspect-ratio: 227.111 / 159.592; transform: rotate(-130.2deg); }
  .orbs-stack div:last-child { top: calc(580.486 * var(--k)); left: calc((100% - 343 * var(--k)) / 2 + 204.773 * var(--k)); width: calc(210.35 * var(--k)); aspect-ratio: 210.35 / 147.814; transform: rotate(150deg); }
  .orbs-stack img { position: absolute; width: 100%; height: auto; max-width: none; }

  .nda-scene { overflow: hidden; }
  .nda-stage { --k: var(--k-nda); }
  .nda-center { padding: calc(16 * var(--ui)) calc(16 * var(--ui)) calc(42 * var(--ui)); }
  .nda-artwork { flex: 0 1 calc(667 * var(--k)); height: calc(667 * var(--k)); min-height: 0; isolation: isolate; }
  .nda-decor-wide { display: none; }
  .nda-decor-stack { display: contents; }
  .nda-media { position: absolute; top: calc(50% - 160.5 * var(--k)); left: 0; z-index: 2; height: auto; aspect-ratio: 343 / 341; border-radius: calc(32 * var(--ui)); }
  .scene-aiso .nda-media { top: calc(50% - 159.5 * var(--k)); }
  .nda-details { position: relative; z-index: 3; }
  .scene-aiso .nda-details .scene-summary { max-width: calc(315 * var(--ui)); }
  .nda-badges { bottom: calc(11.6 * var(--ui)); left: calc(12 * var(--ui)); z-index: 1; gap: calc(6.4 * var(--ui)); }
  .nda-badges span { padding: calc(10.5 * var(--ui)) calc(13.5 * var(--ui)); font-size: calc(12 * var(--ui)); line-height: 1.2; }
  .nda-decoration { aspect-ratio: 1; }
  .nda-coin-right, .nda-crystal-right { top: calc(10 * var(--k)); left: calc(104 * var(--k)); width: calc(265 * var(--k)); }
  .nda-crystal-right { top: calc(-7 * var(--k)); }
  .nda-coin-left { top: auto; bottom: calc(-63.027 * var(--k)); left: calc(-48 * var(--k)); width: calc(303.027 * var(--k)); }
  .nda-crystal-left { top: auto; bottom: calc(-84.671 * var(--k)); left: calc(-69.65 * var(--k)); width: calc(346.321 * var(--k)); }
  .nda-crystal-left picture { width: 71.44237%; }
  .nda-crystal-left img { transform: rotate(143.21deg) scaleY(-1); }
}

/* Portrait tablets: the phone artboard, enlarged as one piece and centred. */
@media (min-width: 701px) and (max-width: 1199px) and (max-aspect-ratio: 9/10) {
  :root { --ui: var(--k); --k-nda: var(--k); }
  .case-stage { width: min(100%, calc(375 * var(--k))); }
}

/* ---------- Phone chrome ---------- */
@media (max-width: 700px) {
  :root { --screen: 100vh; }
  @supports (height: 100lvh) { :root { --screen: 100lvh; } }
  .home { overscroll-behavior-y: auto; }

  .hero-snap { overflow: visible; }
  .hero-frame { position: absolute; inset: 0; display: flex; flex-direction: column; width: 100%; height: 100%; }
  .hero { flex: 1; height: auto; min-height: 0; padding: 90px 24px 85px; gap: 64px; }
  .hero-portrait { width: 100px; height: 100px; border-radius: 24px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { max-width: 327px; }
  .hero-description { font-size: 16px; line-height: 1.35; }
  .projects-heading { flex-shrink: 0; height: 54px; padding: 16px 24px; }
  .projects-heading h2 { font-size: 16px; line-height: 21.6px; }

  /* Set by the script from the real screen size (width < 360 or height < 740 / 680 / 600). */
  .is-compact { --m-body: 14px; --m-number: 26px; --m-gap: 10px; }
  .is-tiny { --m-number: 24px; --m-gap: 8px; }
  .is-compact .hero { padding: 40px 24px; gap: 40px; }
  .is-compact .hero-portrait { width: 88px; height: 88px; }
  .is-compact .hero h1 { font-size: 44px; }
  .is-compact .hero-description { font-size: 14px; }
  .is-short .metrics { top: max(40px, calc(44 * var(--k))); }
  .is-short .metric { top: calc(var(--stack-y) * var(--k) * .9); }
}

/* ---------- Short landscape screens (phones turned sideways) ----------
   One screen cannot hold a scene, so snapping is off and each scene is as tall
   as its enlarged artboard. */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --scene-mode: free; }
  html.snap { scroll-snap-type: none; }
  .hero-snap { height: auto; min-height: calc(var(--screen) - var(--header-height)); overflow: visible; }
  .hero-frame { position: static; display: contents; }
  .hero { height: auto; min-height: 0; padding: 20px 24px 12px; gap: 20px; }
  .hero-portrait, .is-compact .hero-portrait { width: 72px; height: 72px; border-radius: 20px; }
  .hero h1, .is-compact .hero h1 { font-size: 48px; }
  .hero-copy { max-width: 664px; }
  .projects-heading { height: auto; padding: 12px 24px 20px; }
  .case-scene { height: auto; min-height: 0; padding-block: 20px; }
  .case-stage { width: clamp(100vw, 132vw, 1100px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-portrait, .js .hero-copy, .js .projects-heading { opacity: 1; transform: none; }
  .js-scenes .case-phone { opacity: 1; translate: none; }
}

/* FiZZ uses the separate desktop, tablet and phone compositions from Figma. */
.scene-fizz .metric-panel, .scene-fizz .metric-bg { background: #111; }
.scene-fizz .metric dt { color: #fff; }
.scene-fizz .metric dd { color: #fffc; }
.fizz-can { position: absolute; display: block; pointer-events: none; z-index: 1; }
.fizz-can img { display: block; width: 100%; height: auto; max-width: none; }
.fizz-can-pink { left: 59.047%; top: 50.751%; width: 33.339%; }
.fizz-can-original { left: .8663%; top: 4.5333%; width: 27.4975%; }
@media (max-width:700px) {
  .scene-fizz .metric dd span { white-space: normal; }
  .scene-fizz .metric:nth-child(2) dd { max-width: 242px; }
  .scene-fizz .metric:nth-child(2) dd span:first-child { display: inline; }
  .scene-fizz .metric:nth-child(2) dd span:last-child { display: inline; }
  .scene-fizz .fizz-can-original { left: calc((100% - 343 * var(--k)) / 2 + 187 * var(--k)); top: calc(213 * var(--k)); width: calc(139 * var(--k)); }
  .scene-fizz .fizz-can-pink { left: calc((100% - 343 * var(--k)) / 2 + 241.51 * var(--k)); top: calc(125 * var(--k)); width: calc(102 * var(--k)); }
}
@media (min-width:701px) and (max-width:1199px) and (max-aspect-ratio:9/10) {
  .scene-fizz { --fk: min(calc(100vw / 810), calc(var(--screen) / 1080)); }
  .scene-fizz .case-center { left: calc(50% - 365 * var(--fk)); top: calc(20 * var(--fk)); width: calc(730 * var(--fk)); padding: 0; gap: calc(24 * var(--fk)); }
  .scene-fizz .metric-panel { height: calc(900 * var(--fk)); flex-basis: calc(900 * var(--fk)); border-radius: calc(42 * var(--fk)); }
  .scene-fizz .metrics { left: calc(170 * var(--fk)); right: auto; top: calc(56 * var(--fk)); width: calc(390 * var(--fk)); }
  .scene-fizz .metric { top: calc(var(--ft) * var(--fk)); }
  .scene-fizz .metric:nth-child(1) { --ft: 0; }
  .scene-fizz .metric:nth-child(2) { --ft: 124.493; }
  .scene-fizz .metric:nth-child(3) { --ft: 277.715; }
  .scene-fizz .metric dt { font-size: max(28px, calc(37.241 * var(--fk))); }
  .scene-fizz .metric dd { font-size: max(16px, calc(21.281 * var(--fk))); line-height: 1.35; margin-top: calc(15.961 * var(--fk)); }
  .scene-fizz .fizz-can-original { left: calc(-77 * var(--fk)); top: calc(99 * var(--fk)); width: calc(228.229 * var(--fk)); }
  .scene-fizz .fizz-can-pink { left: calc(524.3 * var(--fk)); top: calc(234.77 * var(--fk)); width: calc(294.409 * var(--fk)); }
  .scene-fizz .phone-left { left: calc(50% + (-239 - 405) * var(--fk)); top: calc(411 * var(--fk)); width: calc(818.355 * var(--fk)); aspect-ratio: 818.355 / 613; }
  .scene-fizz .phone-right { left: calc(50% + (126.37 - 405) * var(--fk)); top: calc(318.19 * var(--fk)); width: calc(865.156 * var(--fk)); aspect-ratio: 865.156 / 732.273; }
  .scene-fizz .phone-left img { width: 100%; transform: none; }
  .scene-fizz .phone-right img { width: 86.239%; transform: rotate(-15deg); }
  .scene-fizz .scene-details { width: 94.17%; }
  .scene-fizz .scene-meta, .scene-fizz .scene-summary { font-size: max(16px, calc(21.281 * var(--fk))); line-height: 1.2; }
}
.fizz-metric-mobile { display: none; }
@media (max-width:700px) {
  .scene-fizz .fizz-metric-mobile { display: block; }
  .scene-fizz .fizz-metric-wide { display: none; }
  .scene-fizz .metric:nth-child(2) dd span { display: block !important; white-space: nowrap; }
  .scene-fizz .fizz-can-original { --can-r: -54.18deg; --can-w: 55.505%; --can-h: 88.823%; width: calc(138.443 * var(--k)); aspect-ratio: 138.443 / 129.772; }
  .scene-fizz .fizz-can-pink { width: calc(195.423 * var(--k)); }
  .scene-fizz .scene-summary { max-width: 275px; }
}
