@font-face { font-family: Radikal; src: url(assets/fonts/Radikal-Regular.otf) format('opentype'); font-weight: 300 400; font-display: swap; }
@font-face { font-family: Radikal; src: url(assets/fonts/Radikal-Medium.otf) format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Radikal; src: url(assets/fonts/Radikal-Bold.otf) format('opentype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Radikal; src: url(assets/fonts/Radikal-Black.otf) format('opentype'); font-weight: 800 900; font-display: swap; }
:root {
  --bg: #000; --fg: #f5f5f7; --mute: #86868b; --card: #111114; --line: #26262b;
  --accent: #2997ff;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg); overflow-x: clip;
  font: 17px/1.5 Radikal, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid #ffffff14; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; font-size: 13px; }
.nav .logo { margin-right: auto; }
.nav .logo img { width: auto; height: 30px; }
.nav a:not(.logo) { color: #d2d2d7; transition: color .2s; }
.nav a:not(.logo):hover, .nav a[aria-current] { color: #fff; }
.nav .btn { padding: 6px 14px; font-size: 13px; color: #fff !important; }
.nav a.has-icon { display: flex; align-items: center; gap: 6px; }
.nicon { position: relative; width: 34px; height: 34px; }
.nicon canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
/* hover: the icon grows and drops below the bar so the opened file can be seen */
.nav a.has-icon:hover .nicon canvas, .nav a.has-icon:focus-visible .nicon canvas { transform: translate(-6px, 68px) scale(3.4); filter: drop-shadow(0 6px 8px #000a); }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 26px; border-radius: 980px; background: var(--accent); color: #fff; font-weight: 500; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.12); transform: scale(1.03); }
.btn.ghost { background: none; color: var(--accent); padding-inline: 8px; }
.btn.ghost:hover { text-decoration: underline; transform: none; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* type */
.eyebrow { color: var(--accent); font-weight: 600; font-size: 17px; }
.h1 { font-size: clamp(44px, 8vw, 96px); line-height: 1.08; padding-bottom: .12em; letter-spacing: -.035em; font-weight: 700; }
.h2 { font-size: clamp(34px, 5.5vw, 64px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.lead { font-size: clamp(19px, 2.2vw, 24px); color: var(--mute); max-width: 680px; margin: 18px auto 0; }
.grad { padding-bottom: .12em; background: linear-gradient(180deg, #fff 30%, #8a8a90); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars { color: #f5c04a; letter-spacing: 2px; }
.rating { margin-top: 18px; color: var(--mute); font-size: 15px; }
.center { text-align: center; }
section { padding: 120px 0; }

/* hero */

/* scroll-pinned 3D */
.scrolly { height: var(--len, 900vh); position: relative; padding: 0; margin-top: -52px; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sticky canvas { width: 100%; height: 100%; display: block; }
.sticky::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--accent) 18%, #000), #000 70%); }
.cap { position: absolute; left: max(16px, 6vw); top: 50%; max-width: 400px; padding: 24px 26px; border-radius: 22px; background: rgba(0,0,0,.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transform: translateY(-40%); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.cap.r { left: auto; right: max(16px, 6vw); }
.cap.on { opacity: 1; transform: translateY(-50%); }
.cap .k { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.cap h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin-top: 8px; }
.cap p { color: #a1a1a6; margin-top: 14px; font-size: 19px; }
.dim { font-family: Radikal, sans-serif; position: absolute; padding: 5px 12px; border-radius: 99px; background: rgba(0,0,0,.65); border: 1px solid #ffffff40; font-size: 15px; font-weight: 600; letter-spacing: -.01em; opacity: 0; pointer-events: none; white-space: nowrap; }
.dim.side { transform: translate(16px, -50%); }
.dim.under { transform: translate(-50%, 14px); }
.dim.over { transform: translate(-50%, calc(-100% - 14px)); }
.swatches { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 12px; padding: 10px 14px; border-radius: 99px; background: #ffffff12; backdrop-filter: blur(12px); }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s; }
.swatch-name { align-self: center; margin: 0 4px; font-size: 13px; color: #d2d2d7; white-space: nowrap; overflow: hidden; transition: width .35s cubic-bezier(.4,0,.2,1); }   /* hugs the colour name, resizing smoothly */
.swatch:hover { transform: scale(1.12); }
.swatch.on { outline-color: #fff; }
/* step menu above the product tour */
.steps { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 4px; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 99px; background: rgba(14,14,17,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.steps button { position: relative; z-index: 1; flex: none; border: 0; background: none; color: #b8b8be; font: 500 13px/1 Radikal, system-ui, sans-serif; padding: 9px 13px; border-radius: 99px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.steps button:hover { color: #fff; background: #ffffff14; }
.steps button[aria-current="step"], .steps button[aria-current="step"]:hover { background: none; color: #fff; }
.steps .pill { position: absolute; width: 0; border-radius: 99px; background: var(--accent); pointer-events: none; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff10; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px) {
  .cap, .cap.r { left: 16px; right: 16px; top: auto; bottom: 92px; max-width: none; transform: translateY(16px); padding: 18px; border-radius: 18px; background: rgba(0,0,0,.62); backdrop-filter: blur(14px); }
  .cap.on { transform: none; }
  .cap p { font-size: 16px; }
  .swatches { bottom: 22px; }
}

/* the tour opens with the product headline floating at the top; it clears as the next caption arrives */
.cap.intro { left: 50%; right: auto; top: 112px; width: calc(100% - 32px); max-width: 720px; text-align: center; padding: 16px 24px 18px; transform: translate(-50%, -16px); }
.cap.intro.on { transform: translate(-50%, 0); pointer-events: auto; }
.cap.intro:not(.on) { visibility: hidden; transition: opacity .5s, transform .6s, visibility 0s .5s; }
.cap.intro h1 { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.12; letter-spacing: -.03em; margin-top: 2px; padding-bottom: .1em; }
.cap.intro .sub { font-size: 17px; margin-top: 4px; }
.cap.intro .btns { margin-top: 14px; }
.cap.intro .btn { padding: 10px 22px; font-size: 15px; }
.cap.intro .rating { margin-top: 10px; font-size: 14px; color: var(--mute); }
@media (max-width: 760px) {
  .cap.intro { top: 108px; bottom: auto; left: 50%; right: auto; padding: 12px 14px 14px; }
  .cap.intro h1 { font-size: 27px; }
  .cap.intro .sub { font-size: 14px; }
}

/* wide screens: a big headline on the left, the colour line-up large on the right */
@media (min-width: 761px) and (min-aspect-ratio: 6/5) {
  .cap.intro { left: max(24px, 6vw); top: 50%; width: auto; max-width: min(46vw, 760px); text-align: left; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translate(0, -46%); }
  .cap.intro.on { transform: translate(0, -50%); }
  .cap.intro .eyebrow { color: var(--accent); font-size: 20px; }
  .cap.intro h1 { font-size: clamp(46px, 6.6vw, 118px); line-height: 1.02; letter-spacing: -.04em; margin-top: 12px; }
  .cap.intro .sub { font-size: clamp(18px, 1.6vw, 24px); max-width: 30em; margin-top: 14px; }
  .cap.intro .btns { justify-content: flex-start; margin-top: 30px; }
  .cap.intro .btn { padding: 16px 34px; font-size: 18px; }
  .cap.intro .rating { margin-top: 20px; font-size: 16px; }
}

/* while the 3D loads, the headline fills the screen; app.js then moves each word into place, shrinking as it goes.
   These rules only describe the loading layout: no CSS transitions here, so the two layouts can be measured. */
.scrolly canvas, .scrolly .swatches, .hero-range canvas { transition: opacity .9s ease; }
.scrolly:not(.ready) canvas, .scrolly:not(.ready) .swatches, .hero-range:not(.ready) canvas { opacity: 0; }
.cap.intro .w, .hero-head .w { display: inline-block; white-space: nowrap; padding-bottom: .1em; margin-bottom: -.1em; background: linear-gradient(180deg, #fff 35%, #a4a4aa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cap.intro .eyebrow, .cap.intro .w, .hero-head .eyebrow, .hero-head .w { transform-origin: 0 0; }
.cap.intro .eyebrow, .hero-head .eyebrow { width: max-content; max-width: 100%; margin-inline: auto; }
.scrolly:not(.ready) .cap.intro, .scrolly.swap .cap.intro, .hero-range.swap .hero-head { transition: none; }
.hero-range:not(.ready) .hero-head { transform: translateY(calc(50dvh - 74px - 50%)) scale(1.4); }
.scrolly:not(.ready) .cap.intro.on { top: 50%; transform: translate(-50%, -50%) scale(1.04); }
.scrolly:not(.ready) .cap.intro h1 { font-size: clamp(40px, 12vw, 76px); }
@media (min-width: 761px) and (min-aspect-ratio: 6/5) {
  .cap.intro .eyebrow { margin-inline: 0; }
  .scrolly:not(.ready) .cap.intro { left: max(24px, 6vw); }
  .scrolly:not(.ready) .cap.intro.on { transform: translate(calc(50vw - max(24px, 6vw) - 50%), -50%) scale(1.28); }
  .scrolly:not(.ready) .cap.intro h1 { font-size: clamp(46px, 6.6vw, 118px); }
}

/* phones: while loading, one big word per line and nothing else competing */
@media (max-width: 760px) {
  .scrolly:not(.ready) .cap.intro .w, .hero-range:not(.ready) .hero-head .w { display: block; width: max-content; margin-inline: auto; }
  .hero-range:not(.ready) .hero-head { transform: translateY(calc(50dvh - 68px - 50%)); }
  .hero-range:not(.ready) .hero-head .h1 { font-size: min(16vw, 11dvh); line-height: 1.12; }
  .scrolly:not(.ready) .cap.intro.on { top: 53%; transform: translate(-50%, -50%); }
  .scrolly:not(.ready) .cap.intro h1 { font-size: min(18vw, 9.6dvh); line-height: 1.08; }
  .scrolly:not(.ready) .cap.intro .sub, .scrolly:not(.ready) .cap.intro .btns, .scrolly:not(.ready) .cap.intro .rating { display: none; }
}

/* home: the three columns fade up one after another once the models are ready */
.panels .panel { transition: flex-grow .5s cubic-bezier(.4,0,.2,1), opacity .9s ease var(--in, .35s), transform .9s cubic-bezier(.2,.8,.2,1) var(--in, .35s); }
.panels .panel:nth-child(2) { --in: .55s; }
.panels .panel:nth-child(3) { --in: .75s; }
.hero-range:not(.ready) .panel { opacity: 0; transform: translateY(48px); animation: load-show 0s 20s forwards; }
.hero-range:not(.ready) .hero-head { animation: load-settle 1s 20s forwards; }   /* if the 3D never loads, show the page anyway */
@keyframes load-show { to { opacity: 1; transform: none; } }
@keyframes load-settle { to { transform: none; } }

/* loading icons: an outline of that page's own product; the home page shows all three */
body { --loader: url(assets/loading-box-file.svg); }
body[data-model="ringbinder"] { --loader: url(assets/loading-ring-binder.svg); }
body[data-model="leverarch"] { --loader: url(assets/loading-lever-arch.svg); }
/* on each page's opening screen, under the large headline; it fades as the models arrive.
   The breathing is a transform, so it can carry on while the models are being built. */
.scrolly .sticky::after, .hero-range::after { content: ""; position: absolute; left: 50%; bottom: 7%; width: 66px; height: 77px; margin-left: -33px; z-index: 4; pointer-events: none; background: var(--loader) center / contain no-repeat; filter: brightness(1.7); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrolly:not(.ready) .sticky::after, .hero-range:not(.ready)::after { opacity: 1; visibility: visible; transition: none; }
.hero-range::after { width: 250px; margin-left: -125px; background: url(assets/loading-box-file.svg) left / contain no-repeat, url(assets/loading-ring-binder.svg) center / contain no-repeat, url(assets/loading-lever-arch.svg) right / contain no-repeat; }
.hero-range:not(.ready)::after { animation: load-hide 0s 20s forwards; }
@media (prefers-reduced-motion: no-preference) {
  .scrolly:not(.ready) .sticky::after { animation: breathe 1.1s ease-in-out infinite alternate; }
  .hero-range:not(.ready)::after { animation: breathe 1.1s ease-in-out infinite alternate, load-hide 0s 20s forwards; }
}
/* wide product pages: the large headline can fill the height, so the icon waits in the corner */
@media (min-width: 761px) and (min-aspect-ratio: 6/5) { .scrolly .sticky::after { left: auto; right: 32px; margin: 0; bottom: 28px; } }
@media (max-height: 520px) { .scrolly .sticky::after, .hero-range::after { left: auto; right: 16px; margin: 0; bottom: 14px; width: 40px; height: 47px; } .hero-range::after { width: 150px; bottom: auto; top: calc(100dvh - 51px); } }   /* short screens: out of the headline's way */
@keyframes breathe { to { transform: scale(1.06); } }
@keyframes load-hide { to { visibility: hidden; } }

/* big scrubbed statement */
.statement { font-size: clamp(30px, 5vw, 60px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; max-width: 960px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.card h3 { font-size: 24px; letter-spacing: -.02em; margin: 10px 0 8px; }
.card p { color: #a1a1a6; }
.card .ico { font-size: 30px; }

.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.product:hover { transform: translateY(-8px); border-color: #3a3a40; }
.product .img { background: #fff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.product .img img { width: 86%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.product:hover .img img { transform: scale(1.06) rotate(-1deg); }
.product .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product .body p { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chips span { font-size: 13px; padding: 4px 10px; border-radius: 99px; background: #ffffff10; color: #d2d2d7; }
.product .links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.product .links .btn { padding: 10px 20px; font-size: 15px; }


/* home hero: three full-bleed columns filling exactly one screen, each with its own 3D model */
.hero-range { --head: 196px; position: relative; height: 100dvh; min-height: 560px; margin-top: -52px; padding: 0; display: flex; flex-direction: column; }
/* headline floats over the columns; each column keeps a gap at the top so its model never runs into the text */
.hero-head { position: absolute; top: 74px; left: 0; right: 0; z-index: 3; text-align: center; pointer-events: none; }
.hero-head .h1 { font-size: clamp(32px, 5vw, 66px); }
.panels { display: flex; flex: 1; min-height: 0; width: 100%; }
.panel { padding-top: var(--head); position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 30%, #111), #08080a 72%); transition: flex-grow .5s cubic-bezier(.4,0,.2,1); }
.panel + .panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent calc(var(--head) - 40px), var(--line) calc(var(--head) + 60px)); }   /* divider fades in below the headline */
.panel-link { position: absolute; inset: 0; z-index: 1; }
.panel-img { flex: 1; position: relative; min-height: 0; }
.panel-img canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel-body { padding: 0 clamp(18px, 2.4vw, 40px) 32px; }
.panel .eyebrow { color: var(--accent); }
.panel h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.panel .more { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(14px); transition: grid-template-rows .6s cubic-bezier(.2,.8,.2,1), opacity .5s .1s, transform .6s .1s; }
.panel .more > * { min-height: 0; overflow: hidden; }
.panel .more > :first-child { color: #a1a1a6; margin-top: 10px; max-width: 60ch; }
.panel .links { position: relative; z-index: 2; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.panel .links .btn { padding: 10px 20px; font-size: 15px; }
/* desktop: each canvas stays the width of an expanded column (1.9 of 3.4 shares) and the column just reveals it,
   and the text area has a fixed height, so nothing 3D is resized while the columns animate */
@media (min-width: 761px) {
  .hero-range { min-height: 640px; }
  .panel-img canvas { left: 50%; right: auto; width: 55.9vw; transform: translateX(-50%); }
  .panel-body { flex: none; height: 250px; }
  .panel .more { width: min(calc(55.9vw - 80px), 640px); }
}
@media (hover: hover) and (min-width: 761px) {
  .panels:hover .panel { flex-grow: .75; }
  .panels .panel:hover { flex-grow: 1.9; }
  .panel:hover .more { grid-template-rows: 1fr; opacity: 1; transform: none; }
}
@media (hover: none) and (min-width: 761px) { .panel .more { grid-template-rows: 1fr; opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero-range { --head: 168px; }
  .hero-head { top: 68px; padding-inline: 16px; }
  .panel { padding-top: 0; }
  .panel:first-child { padding-top: var(--head); flex-basis: var(--head); }
  .panels { flex-direction: column; }
  .panel { flex-direction: row; align-items: center; min-height: 170px; }
  .panel + .panel::before { display: none; }
  .panel + .panel { border-top: 1px solid var(--line); }
  .panel-img { flex: 0 0 42%; align-self: stretch; }
  .panel-body { flex: 1; padding: 12px 16px 12px 0; }
  .panel .more { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .panel .more > :not(.links) { display: none; }
  .panel .links { margin-top: 10px; }
  .panel .links .btn { padding: 8px 16px; font-size: 14px; }
}

/* gallery */
/* "A closer look" bento: 12 cells per page, so it is always a full rectangle (4x3, or 2x6 on narrow screens) */
.strip { --cols: 4; --gap: 16px; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: calc((min(1080px, 100vw) - 32px - (var(--cols) - 1) * var(--gap)) / var(--cols)); grid-auto-flow: dense; gap: var(--gap); max-width: 1080px; margin: 48px auto 0; padding: 0 16px; }
.strip img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: #fff; border-radius: 22px; cursor: zoom-in; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.strip img.big { grid-area: span 2 / span 2; }
.strip img.wide { grid-column: span 2; }
.strip img:hover { transform: scale(1.03); }
@media (max-width: 760px) { .strip { --cols: 2; --gap: 10px; } .strip img { border-radius: 16px; } }
/* the product outline while a picture is on its way: gallery photos, and the spec tiles until their stills are drawn */
.strip img:not(.done) { background: #fff var(--loader) center / 56px no-repeat; color: transparent; }
.cell[data-shot]:not(:has(> img.on))::before, .cell[data-packs]:not(:has(.pack))::before, .cell[data-colours]:not(:has(.stack))::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--loader) center 36% / 56px no-repeat; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 92vw; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 18px; }
.lightbox[open] img { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* specs + compare */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 48px; }
.specs div { background: #000; padding: 26px; }
.specs dt { color: var(--mute); font-size: 14px; }
.specs dd { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.table-wrap { overflow-x: auto; margin-top: 48px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 18px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 20px; letter-spacing: -.01em; }
td:first-child { color: var(--mute); }
th a { color: var(--accent); }


/* tech specs bento: tiles with a still of the model showing what each spec refers to */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 320px; grid-auto-flow: dense; gap: 16px; margin-top: 48px; }   /* tiles total 12 cells: a full 4x3 / 2x6 rectangle */
.cell { position: relative; margin: 0; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(90% 90% at 50% 30%, color-mix(in srgb, var(--accent) 16%, #141417), #0a0a0c 75%); }
.cell.wide { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.cell:hover > img { transform: scale(1.05); }
.cell figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 22px 20px; }
.cell.text figcaption { inset: 0; background: none; display: flex; flex-direction: column; justify-content: flex-end; }
.cell span { display: block; color: #a9a9b0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.cell em { display: block; font-style: normal; color: #b0b0b5; font-size: 14px; line-height: 1.35; margin-top: 6px; max-width: 34ch; }
.cell strong { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; margin-top: 4px; }
.cell.text strong { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.cell.text.wide strong { font-size: 20px; color: #d2d2d7; font-weight: 500; }
.cell.colours strong { font-size: 15px; font-weight: 500; color: #d2d2d7; }
.dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; position: relative; z-index: 2; }
.dots .dot { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 -6px 10px rgba(0,0,0,.35), 0 0 0 1px #ffffff22; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s; }
.dots .dot:hover { transform: scale(1.12); }
.dots .dot.on { outline-color: #fff; }
.cell .pack { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.cell .pack img { transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .5s ease; will-change: transform; }
.cell[data-shot] > img { opacity: 0; transition: opacity .15s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.cell[data-shot] > img.on { opacity: 1; }
.cell .stack { position: absolute; inset: 0; }
/* pictures stop where the text starts, fading out just above it, so labels never sit on top of a model */
.cell > img { height: calc(100% - var(--cap, 0px)); }
.cell > .stack, .cell > .pack { bottom: var(--cap, 0px); }
.cell > img, .cell > .stack, .cell > .pack { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.cell .stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .15s ease; }
.cell .stack img.on { opacity: 1; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 290px; } }
@media (max-width: 520px) { .cell em { display: none; } .bento { grid-auto-rows: 250px; } .cell.tall { grid-row: span 1; } .cell strong { font-size: 18px; } }

/* cta + footer */
.cta { text-align: center; }
.cta .h2 { max-width: 800px; margin: 0 auto; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--mute); font-size: 13px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

/* native scroll-driven reveals (no JS); falls back to static content */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @keyframes rise { from { opacity: 0; transform: translateY(70px) scale(.96); } }
  /* inline span: its background runs continuously through every wrapped line, so the fill sweeps line by line */
  .statement { view-timeline: --scrub; }
  .scrub { background: linear-gradient(90deg, #f5f5f7 50%, #3a3a3e 50%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
           -webkit-box-decoration-break: slice; box-decoration-break: slice;
           animation: fill linear both; animation-timeline: --scrub; animation-range: cover 15% cover 60%; }
  @keyframes fill { from { background-position: 100% 0; } }
  .zoom { animation: zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  @keyframes zoom { from { transform: scale(.82); opacity: .3; } }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .scrub, .zoom { animation: none !important; }
  .scrub { color: var(--fg); background: none; }
  .cap { transition: none; }
}

/* tablets (and other squarish or touch screens): captions move to the bottom so they never cover the 3D */
@media (min-width: 761px) and (max-aspect-ratio: 3/2), (min-width: 761px) and (hover: none) and (max-width: 1400px) {
  .cap:not(.intro), .cap.r:not(.intro) { left: 50%; right: auto; top: auto; bottom: 94px; width: min(680px, calc(100% - 32px)); max-width: none; padding: 16px 24px 18px; text-align: center; background: rgba(0,0,0,.62); transform: translate(-50%, 16px); }
  .cap.on:not(.intro), .cap.r.on:not(.intro) { transform: translate(-50%, 0); }
  .cap:not(.intro) h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 4px; }
  .cap:not(.intro) p:not(.k) { font-size: 17px; margin-top: 8px; }
}
