@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-tight-latin.woff2) format("woff2"); }
:root {
  --bg: #f4f4f2;
  --ink: #000;
  --muted: #5a5a5a;
  --soft: #e6e6e3;
  --card: #eaeae7;
  --table: #dededb;
  --gutter: 32px;
  --gap: 8px;
  --bar: 72px;
  --t-display: clamp(40px, 7vw, 112px);
  --t-heading: clamp(38px, 6vw, 92px);
  --t-sub: clamp(22px, 2vw, 28px);
  --t-body: 17px;
  --t-small: 14px;
  --fast: .25s;
  --slow: .5s;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.5 "Inter Tight", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-weight: 500; letter-spacing: -.035em; line-height: 1; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-heading); }
h3 { font-size: var(--t-sub); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 50; background: #000; color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 40px; background: #000; color: #fff; font-weight: 500; text-decoration: none; transition: background var(--fast), color var(--fast), transform var(--fast) var(--ease); }
.btn:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 2px #000; }
.btn:active { transform: scale(.98); }
.btn[disabled] { background: #8a8a8a; cursor: not-allowed; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-soft { background: var(--soft); color: #000; }
.btn-soft:hover { background: #000; color: #fff; box-shadow: none; }
.btn-wide { width: 100%; }

/* Bar */
.bar { position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 20; display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); background: var(--bg); transition: transform .3s var(--ease); }
.bar.away { transform: translateY(-100%); }
.mark { font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -.01em; text-decoration: none; background: #000; color: #fff; padding: 9px 11px; }
.bar-links { display: flex; gap: 24px; margin-right: auto; }
.bar-links a, .bar-cart { text-decoration: none; font-size: 16px; position: relative; }
.bar-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--fast) var(--ease); }
.bar-links a:hover::after { transform: scaleX(1); }
.bar-cart span { display: inline-block; min-width: 24px; padding: 0 6px; margin-left: 4px; background: #000; color: #fff; text-align: center; font-size: 14px; line-height: 24px; }

/* Hero: without motion the table is a plain composition */
.hero-stage { position: relative; height: 100svh; min-height: 620px; background: var(--table); overflow: hidden; }
.table { position: absolute; inset: 0; }
.print { position: absolute; width: calc(var(--w) * 1vw); left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%) rotate(var(--rot, -20deg)); }
.print-in { background: #fff; padding: 6%; box-shadow: 14px 26px 40px rgba(0, 0, 0, .34), 2px 3px 6px rgba(0, 0, 0, .2); }
.print-in img { width: 100%; }
.print-in { position: relative; }
.print-in img { position: relative; }
.mat-dark { position: absolute; inset: 0; background: #000; opacity: 0; }
.hero-dark { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 1; pointer-events: none; }
.anim .hero { height: 230svh; }
.anim .hero-stage { position: sticky; top: 0; }
.anim #table .print { will-change: transform; }
.print.key { --w: 21; --x: 50; --y: 36; --rot: -14deg; z-index: 2; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #fff; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.hero-side p { margin-bottom: 20px; max-width: 34ch; }
#gl, .hero-lines, .hero-mid, .hero-fade { display: none; }
.gl .hero { height: 380svh; }
.gl .hero-stage { background: #000; color: #fff; }
.gl .table, .gl .hero-dark { display: none; }
/* First screen: a cover. The first print is a plain image, on screen before the 3D scene, which then opens in exactly its place. */
.gl { background: #000; }
.gl .hero { background: #000; }
.gl .print.key { --stage: max(100svh, 620px); --kw: calc(var(--stage) * .64 * .8161); width: var(--kw); left: 72%; top: 45%; transform: translate(-50%, -50%); z-index: 0; animation: heroPrint 1s cubic-bezier(.16, 1, .3, 1) both; }
.gl .print.key .print-in { padding: 5.57%; box-shadow: none; background: #f4f4f2; }
.hero-extra { display: none; }
.gl .hero-extra { display: block; position: absolute; z-index: 2; background: #f4f4f2; padding: .55vw; pointer-events: none; will-change: transform; animation: heroLoose 1.1s ease .15s both, heroDriftA 6.5s ease-in-out infinite alternate; }
.gl .hero-extra img { width: 100%; }
.gl .hero-extra.one { width: 14.5vw; left: 37%; top: 15%; rotate: -7deg; }
.gl .hero-extra.two { width: 11vw; right: -2.4vw; top: 13%; rotate: 6deg; animation: heroLoose 1.1s ease .25s both, heroDriftB 8s ease-in-out infinite alternate; }
@keyframes heroPrint { from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)); } }
@keyframes heroLoose { from { opacity: 0; } }
@keyframes heroDriftA { from { transform: translate3d(-2px, -6px, 0) rotate(-.7deg); } to { transform: translate3d(3px, 8px, 0) rotate(.9deg); } }
@keyframes heroDriftB { from { transform: translate3d(2px, 7px, 0) rotate(.8deg); } to { transform: translate3d(-3px, -7px, 0) rotate(-.8deg); } }
@keyframes heroLine { from { opacity: 0; transform: translateY(22px); } }
.gl #gl { display: block; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.gl #gl.on { opacity: 1; }
.gl .hero-copy { inset: 0; z-index: 3; background: none; padding: 0 var(--gutter) 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; pointer-events: none; }
.gl .hero-copy h1 { font-size: 6.5vw; line-height: .96; letter-spacing: -.045em; animation: heroLine .9s cubic-bezier(.16, 1, .3, 1) both; }
.gl .hero-side { flex: none; width: 19vw; min-width: 250px; pointer-events: auto; animation: heroLine .9s cubic-bezier(.16, 1, .3, 1) .12s both; }
.gl .hero-side p { max-width: none; margin-bottom: 14px; font-size: 16px; line-height: 1.35; }
.hero-cta svg { display: none; }
.gl .hero-cta { display: flex; justify-content: space-between; width: 100%; padding: 0 18px; min-height: 54px; background: #fff; color: #000; }
.gl .hero-cta svg { display: block; transition: transform var(--fast) var(--ease); }
.gl .hero-cta:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.gl .hero-cta:hover svg { transform: translateY(3px); }
.gl .hero-lines { display: block; position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; background: repeating-linear-gradient(to right, rgba(255, 255, 255, .13) 0 1px, transparent 1px 12.5%); }
.gl .hero-mid { display: block; position: absolute; left: var(--gutter); bottom: 32px; z-index: 3; max-width: 15em; background: #fff; color: #000; padding: 12px 16px; font-size: var(--t-sub); line-height: 1.15; letter-spacing: -.015em; font-weight: 500; opacity: 0; visibility: hidden; }
.gl .hero-fade { display: block; position: absolute; inset: 0; z-index: 4; background: #000; opacity: 0; pointer-events: none; }
.gl .bar.dark { background: transparent; color: #fff; }
.gl .bar.dark .mark { background: none; color: #fff; padding: 0; font-size: 17px; line-height: 1; }
.gl .bar.dark .bar-cart span { background: #fff; color: #000; }
.bar.dark .bar-links { transition: opacity var(--fast); }
.bar.deep .bar-links { opacity: 0; pointer-events: none; }
.bar.deep .bar-cart { background: #000; padding: 4px 10px; }
.bar.deep .mark { background: #000 !important; padding: 8px 10px !important; }

/* Story: without motion, one frame and its text per row */
.story { background: #000; color: #fff; padding: 120px var(--gutter); }
.story-stage { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 56px; }
.story-stage h2 { grid-column: 1 / -1; }
.story-frames, .story-texts { display: grid; gap: 80px; align-content: start; }
.story-frame img { max-height: 86svh; width: auto; margin: 0 auto; }
.story-text p { margin-top: 12px; max-width: 42ch; }
.story-text { min-height: 40svh; }
.anim .story { padding: 0; }
.anim .story-stage { position: sticky; top: 0; height: 100svh; display: block; overflow: hidden; padding: 0 var(--gutter); }
.anim .story-stage h2 { position: absolute; left: var(--gutter); top: calc(var(--bar) + 24px); max-width: 46%; }
.anim .story-frames { position: absolute; top: 0; bottom: 0; left: 50%; right: var(--gutter); display: block; }
.anim .story-frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; visibility: hidden; }
.anim .story-frame img { max-height: 84svh; width: auto; max-width: 100%; }
.anim .story-texts { position: absolute; left: var(--gutter); bottom: 56px; width: 40%; display: block; height: 200px; z-index: 2; }
.anim .story-text { position: absolute; left: 0; bottom: 0; min-height: 0; visibility: hidden; }
.anim .story { height: 340svh; }

/* Tape: the running line between the dark story and the shop */
#home { overflow-x: clip; }
.tape { position: relative; z-index: 4; width: 106vw; margin: -28px 0 -28px -3vw; rotate: -1.4deg; overflow: hidden; background: #000; color: #fff; padding: 14px 0; font-weight: 500; font-size: clamp(17px, 1.7vw, 24px); letter-spacing: -.015em; line-height: 1.2; white-space: nowrap; }
.tape-track { display: flex; width: max-content; }
.tape-track > div { display: flex; align-items: center; }
.tape span { padding: 0 22px; }
.tape i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #fff; flex: none; }
.anim .tape-track { animation: tape 34s linear infinite; will-change: transform; }
@keyframes tape { to { transform: translate3d(-50%, 0, 0); } }

/* Prints */
.prints { padding: 140px var(--gutter) 160px; }
.prints h2 sup, h2 sup { font-size: .26em; letter-spacing: 0; vertical-align: super; margin-left: .25em; line-height: 0; }
.prints-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 0 18px; background: var(--soft); color: #000; transition: background var(--fast), color var(--fast); }
.filters button:hover { background: #000; color: #fff; }
.filters button[aria-pressed="true"] { background: #000; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); grid-auto-flow: dense; }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card.big { grid-column: span 2; grid-row: span 2; }
.card.big .card-media { flex: 1; aspect-ratio: auto; }
.card.big .mat { width: 62%; }
.card.big .mat.wide { width: 80%; }
.card.big h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.view-tag { position: fixed; left: 0; top: 0; z-index: 16; pointer-events: none; mix-blend-mode: difference; }
.view-tag b { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: #fff; color: #000; font-weight: 500; font-size: 17px; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .35s var(--ease); }
.view-tag.on b { opacity: 1; transform: none; }
.card-media { position: relative; aspect-ratio: 10 / 13; background: var(--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mat { background: #fff; padding: 5%; width: 74%; box-shadow: 0 3px 14px rgba(0, 0, 0, .2); transition: transform var(--slow) var(--ease); }
.anim .card { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s ease var(--d, 0ms), transform .95s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.anim .card.in { opacity: 1; transform: none; }
.anim .mat { opacity: 0; transform: scale(.975); transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.anim .mat.ready { opacity: 1; transform: none; }
.card a { -webkit-tap-highlight-color: transparent; }
.card a:active .mat { transform: scale(.98); transition-duration: .15s; }
.mat.wide { width: 84%; }
.mat img { width: 100%; }
@media (hover: hover) { .card a:hover .mat { transform: scale(1.04) rotate(-1deg); } }
.badge { position: absolute; top: 12px; right: 12px; background: #000; color: #fff; font-size: 14px; padding: 4px 12px; }
.card h3 { font-size: 17px; letter-spacing: -.005em; font-weight: 500; margin-top: 12px; }
.card p { color: var(--muted); font-size: 16px; }

/* Proceeds */
.proceeds { background: #000; color: #fff; padding: 72px var(--gutter) 96px; overflow: hidden; }
.ecg { display: block; width: calc(100% + 2 * var(--gutter)); height: clamp(70px, 8vw, 120px); margin: 12px calc(var(--gutter) * -1) 0; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.ecg path { vector-effect: non-scaling-stroke; }
.anim .ecg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .ecg.in path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(.45, 0, .2, 1); }
.huge { font-size: 31vw; line-height: .82; font-weight: 500; letter-spacing: -.06em; margin-left: -.03em; }
/* The figure is cut out of a photograph once that has loaded; until then it is plain white */
.huge.cut { background-image: var(--cut); background-size: cover; background-position: 50% 42%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.proceeds-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 40px; align-items: start; }
.proceeds-body h2 { grid-column: 1 / 7; font-size: clamp(32px, 4vw, 60px); }
.proceeds-body > p { grid-column: 7 / 10; }
.raised { grid-column: 10 / 13; display: grid; gap: 20px; }
.raised dt { font-size: 15px; color: #c8c8c8; }
.raised dd { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.02em; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Surgeon */
.surgeon { background: var(--soft); padding: 140px var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; }
.surgeon-photo img { width: 100%; }
.surgeon-body { max-width: 640px; }
.surgeon-body h2 { font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 28px; }
.surgeon-body p + p { margin-top: 16px; }

/* FAQ */
.faq { padding: 160px var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: 32px; }
.faq h2 { font-size: clamp(36px, 4.6vw, 68px); }
.faq details { background: var(--card); margin-bottom: 4px; transition: background var(--fast); }
.faq details:hover, .faq details[open] { background: var(--soft); }
.faq summary { padding: 20px 24px; font-weight: 500; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; transition: transform var(--fast) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; max-width: 62ch; }

/* Closing */
.closing { background: #000; color: #fff; display: grid; grid-template-columns: 6fr 6fr; align-items: end; gap: 32px; padding: 0 var(--gutter) 64px 0; }
.closing h2 { font-size: var(--t-heading); margin-bottom: 20px; }
.closing p { margin-bottom: 28px; }
.closing img { width: 100%; }

/* Footer */
.foot { background: var(--soft); padding: 56px var(--gutter) 32px; }
.foot-name { font-size: calc((100vw - 2 * var(--gutter)) / 5.9); line-height: .95; font-weight: 500; letter-spacing: -.05em; white-space: nowrap; }
.foot-cols { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 32px; margin-top: 48px; font-size: 15px; }
.foot-cols nav { display: grid; gap: 4px; }
.foot-cols a { text-underline-offset: 3px; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }

/* Product */
.product { padding: calc(var(--bar) + 40px) var(--gutter) 120px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.product-info { position: sticky; top: calc(var(--bar) + 24px); }
.back { display: inline-block; margin-bottom: 28px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.product-info h1 { font-size: clamp(38px, 4.4vw, 64px); }
.product-sub { margin-top: 12px; color: var(--muted); }
.price { font-size: var(--t-sub); font-weight: 500; margin-top: 24px; font-variant-numeric: tabular-nums; }
.impact { margin-top: 4px; }
.group { margin-top: 28px; }
.group > span { display: block; margin-bottom: 8px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips button { min-height: 44px; padding: 0 16px; background: var(--soft); transition: background var(--fast), color var(--fast); }
.chips button:hover { background: #000; color: #fff; }
.chips button[aria-pressed="true"] { background: #000; color: #fff; }
.formats { display: grid; gap: 4px; }
.formats button { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 14px; text-align: left; background: var(--soft); transition: background var(--fast), color var(--fast); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.formats b { font-weight: 500; font-size: 17px; line-height: 1.25; }
.formats strong { font-weight: 500; font-size: 17px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.formats small { grid-column: 1 / -1; font-size: 14px; line-height: 1.3; color: var(--muted); }
.formats button[aria-pressed="true"] { background: #000; color: #fff; }
.formats button[aria-pressed="true"] small { color: #d6d6d6; }
.framed[data-frame="digital"] { background: none; box-shadow: none; outline: 0; aspect-ratio: auto !important; }
.framed[data-frame="digital"] img { position: static; width: 100%; height: auto; max-height: 100%; transform: none; box-shadow: none; }
.actions { display: grid; gap: 4px; margin-top: 28px; }
.product-info details { background: var(--card); margin-top: 4px; }
.product-info details:first-of-type { margin-top: 28px; }
.product-info summary { padding: 14px 16px; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.product-info summary::-webkit-details-marker { display: none; }
.product-info summary::after { content: "+"; transition: transform var(--fast) var(--ease); }
.product-info details[open] summary::after { transform: rotate(45deg); }
.product-info details p { padding: 0 16px 16px; }
.product-stage { display: grid; gap: var(--gap); }
.stage-panes { display: grid; gap: var(--gap); }
.view-toggle { display: none; }
.view-toggle[hidden] { display: none !important; }
.product-print { background: var(--card); min-height: calc(100svh - var(--bar) - 72px); display: flex; align-items: center; justify-content: center; padding: 6%; }
.framed { position: relative; background: #fff; width: min(70%, 62svh); box-shadow: 0 8px 30px rgba(0, 0, 0, .24); transition: border-color var(--fast); border: 0 solid #000; }
.framed.wide { width: min(88%, 84svh); }
.framed[data-frame="black"] { border-width: 12px; border-color: #000; }
.framed[data-frame="white"] { border-width: 12px; border-color: #e9e9e9; }
/* The photograph is centred inside the mount's opening and never cropped */
.framed img { position: absolute; left: 50%; top: 50%; width: var(--win-w); height: var(--win-h); max-width: none; transform: translate(-50%, -50%); object-fit: contain; box-shadow: 0 0 0 3px #f3f3f0, 0 0 0 4px rgba(0, 0, 0, .2); }
.window-size { margin-top: 4px; color: var(--muted); font-size: 15px; }
.wall { background: var(--table); padding: 32px; }
.wall h2 { font-size: var(--t-sub); letter-spacing: -.015em; font-weight: 500; }
.wall p { margin-top: 4px; color: #333; }
.wall-scene { position: relative; margin: 24px -32px -32px; overflow: hidden; background: #6f6f6d; }
.room { position: absolute; bottom: 0; max-width: none; height: auto; }
/* Light in the room comes from the left, so the shadow falls right and down */
.wall-print { position: absolute; left: 50%; transform: translateX(-50%); background: #f6f6f3; box-sizing: border-box; border: 0 solid transparent; box-shadow: calc(.8 * var(--cm)) calc(1 * var(--cm)) calc(2 * var(--cm)) rgba(0, 0, 0, .42), calc(3 * var(--cm)) calc(4 * var(--cm)) calc(10 * var(--cm)) rgba(0, 0, 0, .3); transition: width .45s var(--ease), height .45s var(--ease), bottom .45s var(--ease), padding .45s var(--ease); }
.wall-print[data-frame="black"] { border-color: #101010; box-shadow: calc(1.4 * var(--cm)) calc(1.8 * var(--cm)) calc(3 * var(--cm)) rgba(0, 0, 0, .55), calc(5 * var(--cm)) calc(6 * var(--cm)) calc(14 * var(--cm)) rgba(0, 0, 0, .36), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wall-print[data-frame="white"] { border-color: #e6e6e2; box-shadow: calc(1.4 * var(--cm)) calc(1.8 * var(--cm)) calc(3 * var(--cm)) rgba(0, 0, 0, .5), calc(5 * var(--cm)) calc(6 * var(--cm)) calc(14 * var(--cm)) rgba(0, 0, 0, .32), inset 0 0 calc(.6 * var(--cm)) rgba(0, 0, 0, .35); }
.wall-print img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 0 0 calc(.25 * var(--cm)) #f3f3f0, 0 0 0 calc(.32 * var(--cm)) rgba(0, 0, 0, .28); }
/* Glass and the room's fall-off, laid over the preview only */
.wall-print::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, .13) 0, rgba(255, 255, 255, .03) 26%, transparent 42%, transparent 70%, rgba(0, 0, 0, .1) 100%); }
.wall-print[data-frame="none"]::after { background: linear-gradient(100deg, transparent 60%, rgba(0, 0, 0, .08) 100%); }

/* Cart */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; z-index: 30; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--bg); z-index: 40; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; display: flex; flex-direction: column; padding: 24px; }
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-head h2 { font-size: var(--t-sub); letter-spacing: -.015em; }
.drawer-head button { text-decoration: underline; text-underline-offset: 3px; }
.drawer-items { flex: 1; overflow: auto; margin-top: 24px; display: grid; gap: 4px; align-content: start; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; background: var(--card); padding: 10px; align-items: center; }
.line img { width: 72px; height: 72px; object-fit: contain; background: #fff; }
.line small { display: block; color: var(--muted); font-size: 14px; }
.line button { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.line-end { text-align: right; }
.drawer-foot { padding-top: 20px; }
.total-row { display: flex; justify-content: space-between; font-size: var(--t-sub); font-weight: 500; margin-bottom: 16px; font-variant-numeric: tabular-nums; }

/* Checkout */
.checkout { padding: calc(var(--bar) + 40px) var(--gutter) 120px; display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.checkout h1 { font-size: clamp(38px, 4.4vw, 64px); margin-bottom: 12px; }
.checkout h2 { font-size: var(--t-sub); letter-spacing: -.015em; margin: 28px 0 12px; }
.checkout > * { min-width: 0; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fields label { display: grid; gap: 4px; font-size: 15px; min-width: 0; }
.fields .full { grid-column: 1 / -1; }
.fields input { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; min-height: 52px; padding: 0 14px; background: var(--soft); border: 0; border-radius: 0; color: #000; }
.pay-panel { background: var(--card); padding: 20px; margin-top: 4px; }
.summary { position: sticky; top: calc(var(--bar) + 24px); background: var(--card); padding: 24px; }
.summary .line { background: none; padding: 8px 0; }
.summary-note { margin: 12px 0 20px; }
.empty { padding: calc(var(--bar) + 80px) var(--gutter) 160px; }
.empty h1 { margin-bottom: 24px; }

.fields textarea { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; padding: 14px; background: var(--soft); border: 0; border-radius: 0; color: #000; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #000; flex: none; }
.form-error { background: #000; color: #fff; padding: 12px 16px; margin-top: 16px; }
.more { display: flex; margin: 56px auto 0; }
.load-error { grid-column: 1 / -1; padding: 40px 0; }
.order, .legal { padding: calc(var(--bar) + 40px) var(--gutter) 120px; max-width: 860px; }
.order h1, .legal h1 { font-size: clamp(38px, 5vw, 72px); }
.order-lead { font-size: var(--t-sub); line-height: 1.25; letter-spacing: -.015em; margin-top: 16px; max-width: 30em; }
.order h2 { font-size: var(--t-sub); letter-spacing: -.015em; margin: 48px 0 12px; }
.order-items { display: grid; gap: 4px; }
.order-foot { margin-top: 24px; color: var(--muted); }
.pay-rows { display: grid; gap: 4px; margin-top: 32px; }
.pay-row { background: var(--card); padding: 12px 16px; }
.pay-row dt { font-size: 14px; color: var(--muted); }
.pay-row dd { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; font-size: 19px; overflow-wrap: anywhere; }
.pay-row button { flex: none; min-height: 40px; padding: 0 14px; background: #000; color: #fff; font-size: 15px; font-weight: 500; }
.legal h2 { font-size: var(--t-sub); letter-spacing: -.015em; margin: 36px 0 8px; }
.legal p { max-width: 66ch; }

.flying { position: fixed; z-index: 15; margin: 0; pointer-events: none; will-change: transform; transform-origin: 0 0; }
.flying img { width: 100%; }

@media (max-width: 1000px) {
  .print-in { box-shadow: 6px 12px 20px rgba(0, 0, 0, .3); }
  /* Soft shadows are repainted with every moving layer, so phones separate paper by tone */
  .mat { box-shadow: none; outline: 1px solid rgba(0, 0, 0, .06); }
  .framed { box-shadow: none; outline: 1px solid rgba(0, 0, 0, .08); }
  .wall-print { transition: none; }
  .anim .mat { transform: none; transition: opacity .5s ease; }
  .gl .hero-lines { display: none; }
  .rise { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s ease var(--d, 0ms), transform .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
  .rise.in { opacity: 1; transform: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar-links { display: none; }
  .bar-cart { margin-left: auto; }
  .product, .checkout, .surgeon, .faq, .closing { grid-template-columns: 1fr; }
  .closing { padding: 0 0 56px; }
  .closing > div { padding: 0 var(--gutter); }
  .product-info, .summary { position: static; }
  .product-stage { order: -1; }
  .product-print { min-height: 0; padding: 12% 6%; }
  .framed, .framed.wide { width: 76%; }
  .hero-copy { grid-template-columns: 1fr; gap: 16px; }
  /* Phone cover: headline on top, main print pushed right, loose prints off the left edge, text and action at the foot */
  .gl .hero-copy { display: block; padding: calc(var(--bar) + 6px) var(--gutter) 0; }
  .gl .hero-copy h1 { font-size: 11.3vw; line-height: .96; }
  .gl .hero-side { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20px; width: auto; min-width: 0; }
  .gl .hero-side p { font-size: 15px; margin-bottom: 12px; }
  .gl .print.key { --stage: 100svh; --head: calc(var(--bar) + 6px + 23vw + 14px); --foot: 168px; --avail: calc(var(--stage) - var(--head) - var(--foot)); --kw: min(calc(var(--avail) * .8161), 66vw); left: calc(100% - var(--gutter) - var(--kw) / 2); top: calc(var(--head) + var(--avail) / 2); }
  .gl .hero-extra { padding: 1.3vw; }
  .gl .hero-extra.one { width: 31vw; left: -7vw; right: auto; top: calc(var(--bar) + 23vw + 44px); rotate: -6deg; }
  .gl .hero-extra.two { width: 27vw; left: -4vw; right: auto; top: auto; bottom: 176px; rotate: 5deg; }
  .gl .hero-stage { min-height: 0; }
  .proceeds-body { display: block; }
  .proceeds-body > p, .raised { margin-top: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --bar: 60px; --t-display: 10.6vw; --t-heading: 12vw; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
  .card.big { grid-row: auto; }
  .card.big .card-media { flex: none; aspect-ratio: 10 / 9; }
  .card.big .mat { width: 52%; }
  .card.big .mat.wide { width: 74%; }
  .tape { padding: 11px 0; margin: -20px 0 -20px -3vw; }
  .tape span { padding: 0 16px; }
  .tape i { width: 11px; height: 11px; }
  .raised { grid-template-columns: 1fr 1fr; }
  .card h3 { font-size: 16px; }
  .btn { width: 100%; padding: 0 16px; }
  .print.key { --w: 44; --y: 30; }
  .print { width: calc(var(--w) * 1.9vw); }
  .print.key { width: 46vw; }
  .story-stage { grid-template-columns: 1fr; }
  .anim .story-stage h2 { max-width: none; font-size: 11vw; }
  .anim .story-frames { left: var(--gutter); top: calc(var(--bar) + 76px); bottom: 210px; }
  .anim .story-frame img { max-height: 100%; }
  .anim .story-frame { height: 100%; }
  .anim .story-texts { width: auto; right: var(--gutter); bottom: 28px; height: 170px; }
  .anim .story { height: 300svh; }
  .prints { padding: 84px var(--gutter) 96px; }
  .huge { font-size: 34vw; }
  .surgeon, .faq { padding: 96px var(--gutter); }
  .foot-cols { grid-template-columns: 1fr; }
  .wall { padding: 20px; }
  .wall-scene { margin: 20px -20px -20px; }
}
/* Phone product page: everything needed is on the first screen, and the picture stays while you choose */
@media (max-width: 640px) {
  .product { display: flex; flex-direction: column; align-items: stretch; position: relative; padding: var(--bar) 0 96px; gap: 0; }
  .product-stage { order: -1; flex: none; position: sticky; top: var(--bar); z-index: 2; height: clamp(160px, calc(100svh - var(--bar) - 352px), 50svh); display: block; background: #000; }
  .stage-panes { display: flex; gap: 0; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .stage-panes::-webkit-scrollbar { display: none; }
  .stage-panes > * { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .wall { order: -1; padding: 0; background: #6f6f6d; }
  .wall h2, .wall p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wall-scene { height: 100%; margin: 0; }
  .wall-print { transition: width .3s var(--ease), height .3s var(--ease), bottom .3s var(--ease), padding .3s var(--ease); }
  .product-print { min-height: 0; padding: 12px; background: var(--card); overflow: hidden; container-type: size; }
  /* The whole sheet fits the pane, whichever side runs out first */
  .framed, .framed.wide { width: min(100cqw, calc(100cqh * var(--ratio))); height: auto; }
  .view-toggle { display: block; position: absolute; right: 10px; bottom: 10px; z-index: 3; min-height: 40px; padding: 0 14px; background: #000; color: #fff; font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
  .view-toggle:active { background: #3a3a3a; }

  .product-info { position: static; padding: 12px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; }
  .product-info > * { grid-column: 1 / -1; }
  .back { position: absolute; left: 10px; top: calc(var(--bar) + 10px); z-index: 3; margin: 0; padding: 8px 12px; background: #000; color: #fff; font-size: 15px; line-height: 24px; }
  .product-info h1 { grid-column: 1; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
  .price { grid-column: 2; margin: 0; font-size: 22px; }
  .product-sub { display: none; }
  .impact { margin-top: 2px; font-size: 15px; line-height: 1.3; }
  .window-size { margin-top: 0; font-size: 14px; }
  .formats button { padding: 7px 12px; }
  .formats b, .formats strong { font-size: 16px; }
  .formats small { font-size: 13px; }
  .group:has(.formats) { margin-top: 8px; }
  .group { margin-top: 10px; }
  .group > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .chips { flex-wrap: nowrap; }
  .chips button { flex: 1 1 auto; min-height: 42px; padding: 0 6px; font-size: 15px; white-space: nowrap; }
  .actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; margin: 0; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--bg); grid-template-columns: 3fr 2fr; gap: 6px; }
  .actions .btn { min-height: 52px; width: 100%; padding: 0 8px; font-size: 16px; }
  .actions .btn:only-child { grid-column: 1 / -1; }
  .product-info details:first-of-type { margin-top: 20px; }
  body:has(.product) .foot { padding-bottom: 96px; }
  .view-toggle { touch-action: manipulation; }
  .chips button, .actions .btn { touch-action: manipulation; }
}
/* Short phone screens: the loose prints shrink so they do not pile up */
@media (max-width: 640px) and (max-height: 660px) {
  .gl .hero-extra.one { width: 23vw; left: -6vw; }
  .gl .hero-extra.two { width: 20vw; left: -4vw; bottom: 180px; }
  .gl .hero-side p { font-size: 14px; margin-bottom: 10px; }
  .gl .hero-cta { min-height: 48px; }
}
::selection { background: #000; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .drawer:not(.on) { display: none; }
}
