@font-face{font-family:DIN;src:url("fonts/DIN-Medium.otf") format("opentype");font-weight:500;font-display:swap}*{box-sizing:border-box}body{margin:0;padding:10px;background:#ececea;font-family:DIN,Arial,sans-serif}.hero{position:relative;height:calc(100svh - 20px);min-height:520px;border-radius:24px;overflow:hidden;background:white;isolation:isolate}.underneath{position:absolute;inset:0;overflow:hidden;background:#fff}.flying-card{position:absolute;left:0;top:0;object-fit:cover;box-shadow:0 8px 28px #0002;will-change:transform;border-radius:2px}.cover{position:absolute;inset:0;background:#fff;z-index:2;pointer-events:none}h1{position:absolute;left:2.7%;top:2.6%;margin:0;font-size:clamp(64px,10.4vw,170px);font-weight:500;line-height:1.12;letter-spacing:.015em;color:#D64101}.portfolio-label{position:absolute;left:2.7%;bottom:3.3%;font-size:clamp(24px,3.1vw,48px);color:#D64101;letter-spacing:.015em}.work{padding:90px 3%}.work h2{font-size:48px;color:#D64101}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.work-grid figure{margin:0}.work-grid img{display:block;width:100%;border-radius:12px}.work-grid figcaption{padding:14px 0;color:#555}@media(max-width:650px){body{padding:6px}.hero{height:calc(100svh - 12px);border-radius:18px}h1{top:5%;left:5%;font-size:12.4vw}.portfolio-label{left:5%;bottom:4%}.work-grid{grid-template-columns:1fr 1fr}.work{padding:50px 3%}}
/* Opaque white cover; blur belongs to distant cards, not the cover. */
.underneath{background:#999}
.flying-card{box-shadow:none;border-radius:0}
h1{top:4.6%;left:2.7%;width:57%;line-height:1}
h1 img{display:block;height:auto}
.title-svg{width:100%}
.design-svg{width:63.25%;margin-top:6.6%}
.portfolio-label{width:16.45%;height:auto;bottom:4%;font-size:initial}
@media(max-width:650px){h1{width:87%;left:5%;top:5%}.portfolio-label{width:30%;left:5%}}

/* Match the supplied front/back composition. */
h1{left:3.3%;top:5.2%;width:56.3%}
.design-svg{margin-top:6.6%}
.portfolio-label{left:3.3%;bottom:4.7%;width:16.45%}
@media(max-width:650px){h1{left:4%;width:72%;top:5.2%}.portfolio-label{left:4%;width:24%}}

.underneath{background:#e0e0e0}

/* Contain card depth ordering beneath the opaque, erasable cover. */
.underneath{z-index:0;isolation:isolate}

.underneath{background:#eaeaea}

/* Scroll-pinned gathering → rotating bundle → diagonal portfolio wall. */
.scroll-story{height:360svh}
.hero{position:sticky;top:10px}
.scroll-stage{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden;background:#efefef;opacity:0;perspective:1400px}
.scroll-card{position:absolute;left:0;top:0;object-fit:cover;will-change:transform;backface-visibility:hidden}
.scroll-sidebar{position:absolute;inset:0 auto 0 0;width:24%;background:#fff;z-index:5;opacity:0}
.scroll-sidebar img{position:absolute;top:5.2%;left:14%;width:72%;height:auto}
@media(max-width:650px){.hero{top:6px}.scroll-sidebar{width:24%}.scroll-sidebar img{left:10%;width:80%}}

.scroll-stage{perspective:1100px;perspective-origin:53% 49%}
.scroll-card{transform-style:preserve-3d;backface-visibility:visible;border-radius:2px}
.scroll-sidebar{z-index:1000}

.soft-sheet{overflow:visible;transform-style:preserve-3d;background:none;will-change:transform}
.paper-strip{position:absolute;left:0;top:0;background-repeat:no-repeat;transform-origin:center center;backface-visibility:visible;will-change:transform}


/* The animated coloured paper scene always stays behind the erasable front surface. */
.scroll-stage{z-index:2;background:#eaeaea}

/* Keep native wheel scrolling without a visible page scrollbar. */
html,body{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
