/* =========================================================================
   SSV Print Pack — site styles
   Direction: Kraft & Dieline, set in Archivo + Martian Mono.

   Motion is opt-in, layered by classes on <html>:
     .js        JavaScript is running
     .motion    …and the visitor has not asked for reduced motion
     .is-ready  fonts are in; the hero intro may play
     .io        scroll reveals are armed (set by site.js)
     .pin       the pinned "fold" scene is armed (set by site.js)
   Without them, every element renders in its finished state.
   ========================================================================= */

/* ---------- fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(../fonts/martian-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(../fonts/martian-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --paper: #F3EEE4;
  --paper-2: #EAE2D3;
  --sheet: #FBF8F2;
  --kraft: #C9AA7E;
  --kraft-deep: #8C6B43;
  --ink: #1D1B18;
  --mute: #5E574D;
  --line: rgba(29, 27, 24, .16);
  --red: #C8102E;

  --tex-kraft: url(../img/kraft.jpg);
  --tex-paper: url(../img/paper.jpg);

  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --spring: cubic-bezier(.34, 1.3, .64, 1);

  --pad: clamp(20px, 5vw, 72px);
  --sec: clamp(88px, 9.5vw, 136px);
  --head-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-padding-top: var(--head-h); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) var(--tex-paper);
  background-size: 512px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px dashed var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .4s var(--ease); }
.skip:focus { transform: none; }

.wrap { width: min(1296px, 100% - 2 * var(--pad)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11.5px; font-weight: 400; font-stretch: 87.5%; letter-spacing: .02em; text-transform: uppercase; }
.muted { color: var(--mute); }
.eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--mute); }
.eyebrow::before { content: ''; flex: none; width: 18px; border-top: 1.5px dashed var(--red); }
.eyebrow-ink { color: var(--ink); }
.h2 { margin: 0; font-weight: 720; font-stretch: 86%; font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.kraft-text { color: var(--kraft-deep); }
.lead { margin: 0; max-width: 560px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--mute); text-wrap: pretty; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes wipe { to { clip-path: inset(-4px -4px -4px -4px); } }
@keyframes caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes ants-x { to { background-position: 10px 0; } }
@keyframes ants { to { background-position: 14px 0, -14px 100%, 0 -14px, 100% 14px; } }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 16px); transform-origin: left; transform: scaleX(var(--sp, 0)); opacity: 0; transition: opacity .6s; }
.io .progress { opacity: 1; }

/* ---------- header ---------- */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 24px; padding: 18px var(--pad); border-bottom: 1px solid transparent; transition: padding .7s var(--ease), background-color .7s var(--ease), border-color .7s var(--ease), transform .8s var(--ease); }
.motion .head { opacity: 0; }
.motion.is-ready .head { animation: fade 1s var(--ease) .25s forwards; }
.head[data-scrolled] { padding-block: 10px; background-color: rgba(243, 238, 228, .84); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); border-bottom-color: var(--line); }
.head[data-hide] { transform: translateY(-105%); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; }
.brand-logo { display: block; width: auto; height: 54px; transition: height .7s var(--ease); }
.head[data-scrolled] .brand-logo { height: 44px; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav a { position: relative; padding: 12px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; border-top: 1.5px dashed var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; margin-right: -8px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .6s var(--ease); }
.menu-btn i:nth-of-type(1) { top: 19px; }
.menu-btn i:nth-of-type(2) { top: 27px; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; display: grid; align-content: space-between; padding: 112px var(--pad) 32px; background: var(--paper) var(--tex-paper); background-size: 512px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu-nav { display: grid; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1.5px dashed var(--line); font-weight: 720; font-stretch: 84%; font-size: clamp(36px, 10vw, 56px); line-height: 1.05; letter-spacing: -.04em; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-nav a span { color: var(--red); font-size: 11px; letter-spacing: .02em; }
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu-nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu-nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu-nav a:nth-child(5) { transition-delay: .2s; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--mute); }
.menu-foot a { color: var(--ink); }

/* ---------- buttons & links ---------- */
.btn { --tx: 0px; --ty: 0px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 620; letter-spacing: -.01em; cursor: pointer; transform: translate(var(--tx), var(--ty)); transition: transform .6s var(--ease), color .45s var(--ease); }
.btn-ink { color: var(--paper); background: var(--ink); }
.btn-ink::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kraft) var(--tex-kraft); background-size: 260px; clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-io); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn svg { flex: none; transition: transform .6s var(--ease); }
.cut { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 620; }
.cut::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: linear-gradient(90deg, var(--red) 50%, transparent 50%) 0 0 / 10px 1.5px repeat-x; }
@media (hover: hover) {
  .btn-ink:hover { color: var(--ink); }
  .btn-ink:hover::before { clip-path: inset(0 0 0 0); }
  .btn:hover svg { transform: translateX(5px); }
  .cut:hover::after { animation: ants-x .6s linear infinite; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(116px, 11vw, 160px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; }
.type { display: inline-block; white-space: nowrap; }
.type::after { content: ''; display: inline-block; width: 2px; height: 1.15em; margin-left: 6px; vertical-align: -.25em; background: var(--red); opacity: 0; }
.motion .type { clip-path: inset(0 100% 0 0); }
.motion.is-ready .type { animation: type 1.2s steps(38, end) .2s forwards; }
.motion.is-ready .type::after { animation: caret .9s step-end 1.45s 4; }
.h1 { margin: 0; font-weight: 760; font-stretch: 82%; font-size: clamp(54px, 7.3vw, 106px); line-height: .9; letter-spacing: -.05em; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: inline-block; }
.motion .line > span { transform: translateY(105%); }
.motion.is-ready .line > span { animation: rise 1.3s var(--ease) .55s forwards; }
.motion.is-ready .line:nth-child(2) > span { animation-delay: .67s; }
.motion.is-ready .line:nth-child(3) > span { animation-delay: .79s; }
.pack { position: relative; color: var(--kraft-deep); }
.pack svg { position: absolute; left: 0; bottom: -.04em; width: calc(100% - .12em); height: .12em; overflow: visible; }
.pack path { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; }
.motion .pack svg { clip-path: inset(-4px 100% -4px -4px); }
.motion.is-ready .pack svg { animation: wipe 1.1s var(--ease-io) 1.55s forwards; }
.motion .intro { opacity: 0; }
.motion.is-ready .intro { animation: up 1.1s var(--ease) var(--delay, 0s) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.net-wrap { --rx: 0deg; --ry: 0deg; position: relative; margin: 0; perspective: 1200px; }
.net-mat { position: absolute; inset: -6% -10%; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); opacity: .7; }
.net { width: 100%; height: auto; overflow: visible; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg); transition: transform 1.2s var(--ease); }
.net .fill { fill: var(--kraft); }
.net .cutl { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.net .crease { fill: none; stroke: var(--ink); stroke-width: .9; stroke-dasharray: 4 3; }
.net .hit { fill: transparent; transition: fill .4s; }
.net text { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; fill: rgba(29, 27, 24, .66); }
.net .dim { fill: none; stroke: var(--mute); stroke-width: .7; }
.net .dimt { fill: var(--mute); }
.motion .net .fill, .motion .net .crease, .motion .net .labels { opacity: 0; }
.motion .net .cutl { stroke-dashoffset: 1; }
.motion.is-ready .net .cutl { animation: draw 1.6s var(--ease-io) .1s forwards; }
.motion.is-ready .net .crease { animation: fade .5s var(--ease) var(--delay, 1s) forwards; }
.motion.is-ready .net .fill { animation: fade 1s var(--ease) 1.35s forwards; }
.motion.is-ready .net .labels { animation: fade .8s var(--ease) 1.55s forwards; }
@media (hover: hover) { .net .hit:hover { fill: rgba(200, 16, 46, .1); } }
.net-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 18px; color: var(--mute); }

.strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: clamp(56px, 6vw, 88px) 0 0; padding: 18px 0; list-style: none; border-top: 1.5px dashed var(--line); color: var(--mute); }

/* ---------- photo band ---------- */
.band { position: relative; height: clamp(320px, 43vw, 620px); overflow: hidden; margin-top: 8px; }
.band-par { position: absolute; inset: -10% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.band picture, .band img { width: 100%; height: 100%; }
.band img { object-fit: cover; object-position: 50% 62%; }
.band-tag { position: absolute; left: var(--pad); bottom: 24px; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 2 * var(--pad)); margin: 0; padding: 12px 16px; border-radius: 4px; background: var(--sheet); box-shadow: 0 10px 30px -12px rgba(29, 27, 24, .35); }
.band-tag i { flex: none; width: 10px; height: 10px; border: 1.5px solid var(--red); border-radius: 50%; }

/* ---------- scroll reveals ---------- */
.io [data-r] { transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.io [data-r]:not(.in) { opacity: 0; transform: translateY(40px) rotate(.4deg); }
.io [data-r="sheet"]:not(.in) { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }

/* ---------- marquee ---------- */
.marq { overflow: hidden; padding: 26px 0; background: var(--kraft) var(--tex-kraft); background-size: 360px; border-block: 1.5px dashed rgba(29, 27, 24, .35); }
.marq-row { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; will-change: transform; }
.marq-row + .marq-row { margin-top: 10px; }
.marq-a { transform: translate3d(calc(-22% + var(--p, .5) * 18%), 0, 0); font-weight: 720; font-stretch: 82%; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.04em; }
.marq-b { transform: translate3d(calc(-6% - var(--p, .5) * 18%), 0, 0); color: rgba(29, 27, 24, .75); }
.marq-row i { flex: none; width: 14px; height: 14px; border: 1.5px dashed var(--red); border-radius: 50%; }

/* ---------- process: scroll-to-fold ---------- */
.fold {
  --p0: var(--p, 1);
  --print: clamp(0, calc((var(--p0) - .27) / .18), 1);
  --foil: clamp(0, calc((var(--p0) - .5) / .18), 1);
  --f1: clamp(0, calc((var(--p0) - .72) / .18), 1);
  --f2: clamp(0, calc((var(--p0) - .78) / .14), 1);
  --f3: clamp(0, calc((var(--p0) - .84) / .16), 1);
  --spin: clamp(0, calc((var(--p0) - .74) / .26), 1);
  --cam: 1;
  position: relative;
}
.fold-stick { padding: var(--sec) 0; }
.pin .fold { height: 340vh; height: 340svh; }
.pin .fold-stick { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; display: grid; align-content: center; padding: 76px 0 24px; overflow: hidden; }
.fold-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.fold-copy { display: grid; gap: 18px; }
.steps-wrap { position: relative; margin-top: 18px; padding-left: 28px; }
.rail { position: absolute; left: 0; top: 10px; bottom: 10px; border-left: 1.5px dashed var(--line); }
.rail i { position: absolute; left: -1.5px; top: 0; width: 1.5px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 1)); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.step { display: grid; gap: 4px; padding: 12px 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.step b { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 680; line-height: 1.15; letter-spacing: -.025em; }
.step b span { color: var(--red); font-size: 11.5px; }
.step p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.55; color: var(--mute); }
.fold[data-step] .step { opacity: .32; }
.fold[data-step="0"] .step:nth-child(1),
.fold[data-step="1"] .step:nth-child(2),
.fold[data-step="2"] .step:nth-child(3),
.fold[data-step="3"] .step:nth-child(4) { opacity: 1; transform: translateX(6px); }

.stage { position: relative; height: 580px; perspective: 1500px; perspective-origin: 50% 40%; }
.pin .stage { height: clamp(420px, 62vh, 600px); }
.floor { position: absolute; left: 50%; top: calc(50% + 150px * var(--cam)); width: calc(420px * var(--cam)); height: 70px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 46, 16, .32), transparent); opacity: calc(.25 + var(--f1) * .75); filter: blur(4px); }
.cam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(calc(var(--cam) * (.72 + var(--f1) * .38))) rotateX(calc(14deg - var(--spin) * 36deg)) rotateY(calc(-6deg + var(--p0) * 6deg - var(--spin) * 36deg)); }
.face { position: absolute; transform-style: preserve-3d; background: var(--kraft) var(--tex-kraft); background-size: 260px; box-shadow: inset 0 0 0 1px rgba(110, 76, 36, .28); }
.face::before { content: ''; position: absolute; inset: 0; border: 1.5px dashed rgba(29, 27, 24, .55); opacity: calc(1 - var(--f1)); pointer-events: none; }
.front { left: 0; top: 0; width: 200px; height: 270px; transform: translate(-50%, -50%) translate(calc((1 - var(--f1)) * -114px), calc((1 - var(--f1)) * 12px)) translateZ(calc(var(--f1) * 65px)); }
.left { right: 100%; top: 0; width: 130px; height: 270px; transform-origin: 100% 50%; transform: rotateY(calc(var(--f1) * -90deg)); }
.right { left: 100%; top: 0; width: 130px; height: 270px; transform-origin: 0 50%; transform: rotateY(calc(var(--f1) * 90deg)); }
.back { left: 100%; top: 0; width: 200px; height: 270px; transform-origin: 0 50%; transform: rotateY(calc(var(--f1) * 90deg)); }
.glue { left: 100%; top: 14px; width: 28px; height: 242px; transform-origin: 0 50%; transform: rotateY(calc(var(--f1) * 90deg)); clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%); }
.top { left: 0; bottom: 100%; width: 200px; height: 130px; transform-origin: 50% 100%; transform: rotateX(calc(var(--f3) * 90deg)); }
.tuck { left: 6px; bottom: 100%; width: 188px; height: 24px; border-radius: 12px 12px 0 0; transform-origin: 50% 100%; transform: rotateX(calc(var(--f3) * 90deg)); }
.bottom { left: 0; top: 100%; width: 200px; height: 130px; transform-origin: 50% 0; transform: rotateX(calc(var(--f2) * -90deg)); }
.left::after, .right::after, .top::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.left::after { background: var(--ink); opacity: calc(var(--f1) * .28); }
.right::after { background: var(--ink); opacity: calc(var(--spin) * .12); }
.top::after { background: #FFF6E6; opacity: calc(var(--f3) * .16); }
.print { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; opacity: var(--print); }
/* The real logo, printed onto kraft (multiply lets the board show through the ink).
   Finish step: a gloss highlight sweeps across the inked areas only. */
.print-art { position: relative; display: block; width: 158px; }
.print-art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.print-gloss { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 249, 230, .9) 50%, transparent 62%) no-repeat; background-size: 300% 100%; background-position: calc(85% - var(--foil) * 70%) 0; -webkit-mask: url(../img/logo-clear.svg) center / 100% 100% no-repeat; mask: url(../img/logo-clear.svg) center / 100% 100% no-repeat; opacity: calc(var(--foil) * (1 - var(--foil)) * 4); }
.print-mark { width: 96px; height: auto; mix-blend-mode: multiply; }
.print-band { position: absolute; left: 0; right: 0; bottom: 30px; height: 6px; background: var(--red); opacity: var(--print); }
.print-side { position: absolute; inset: 18px 14px; display: grid; align-content: space-between; font-family: var(--mono); font-stretch: 87.5%; font-size: 8.5px; line-height: 1.5; letter-spacing: .06em; color: rgba(29, 27, 24, .75); opacity: var(--print); }
.print-side-back { inset: 26px 20px; }
.bars { display: flex; gap: 2px; height: 36px; }
.bars i { width: 2px; background: var(--ink); }
.bars i:nth-child(3n) { width: 4px; }
.bars i:nth-child(4n) { width: 1px; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-tight { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head > div { display: grid; gap: 18px; }

/* ---------- range ---------- */
.range { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 28px; }
.card { position: relative; display: grid; align-content: start; gap: 18px; height: 100%; padding: 14px 14px 24px; border-radius: 6px; background: var(--paper-2); box-shadow: 0 1px 0 rgba(29, 27, 24, .06); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.card::after { content: ''; position: absolute; inset: -8px; border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background-image: linear-gradient(90deg, var(--red) 50%, transparent 50%), linear-gradient(90deg, var(--red) 50%, transparent 50%), linear-gradient(0deg, var(--red) 50%, transparent 50%), linear-gradient(0deg, var(--red) 50%, transparent 50%);
  background-size: 14px 1.5px, 14px 1.5px, 1.5px 14px, 1.5px 14px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: ants 1.1s linear infinite paused; }
.card-img { position: relative; aspect-ratio: 12 / 5; overflow: hidden; border-radius: 3px; background: var(--paper); }
.card-img picture, .card-img img { width: 100%; height: 100%; }
.card-img img { object-fit: cover; transition: transform 1.4s var(--ease); }
.card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 10px 20px; padding: 0 10px; }
.card-body h3 { grid-column: 1 / -1; margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; font-stretch: 90%; line-height: 1.02; letter-spacing: -.035em; }
.card-body p { grid-column: 1 / -1; margin: 0; font-size: 16px; line-height: 1.55; color: var(--mute); }
.tag { color: var(--red); }
.formats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 4px 0 0; list-style: none; }
.formats li { padding: 5px 10px; border: 1.5px dashed rgba(29, 27, 24, .28); border-radius: 999px; font-size: 10.5px; }
.card-link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(70, 46, 16, .45); }
  .card:hover::after { opacity: 1; animation-play-state: running; }
  .card:hover .card-img img { transform: scale(1.045); }
}

/* ---------- spec sheet ---------- */
.sheet { padding: clamp(16px, 3vw, 40px); border-radius: 6px; background: var(--sheet); box-shadow: 0 1px 0 rgba(29, 27, 24, .05), 0 40px 80px -60px rgba(70, 46, 16, .45); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font-size: 15px; font-weight: 620; cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.filter span { font-size: 10px; color: var(--mute); transition: color .5s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter[aria-pressed="true"] span { color: var(--kraft); }
.table-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; }
.spec thead th { padding: 10px 10px 12px; border-bottom: 1.5px solid var(--ink); font-weight: 400; text-align: left; color: var(--mute); }
.spec thead th:last-child { text-align: right; }
.spec tbody tr { border-bottom: 1px solid var(--line); transition: background-color .4s; }
.spec td, .spec tbody th { padding: 14px 10px; text-align: left; vertical-align: middle; }
.spec tbody th { font-size: 18px; font-weight: 620; letter-spacing: -.015em; }
.spec .no { width: 64px; color: var(--red); }
.spec tbody .col-stock { font-size: 15px; color: var(--mute); }
.spec .rg { white-space: nowrap; font-size: 12px; text-transform: none; }
.spec .col-tag { text-align: right; }
.tg { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(201, 170, 126, .3); font-size: 10px; white-space: nowrap; }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.motion .spec.is-dealing tbody tr { animation: row-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@media (hover: hover) { .spec tbody tr:hover { background: rgba(201, 170, 126, .16); } }

/* ---------- sample book ---------- */
#materials { overflow-x: clip; }
.book-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.book-copy { display: grid; gap: 22px; justify-items: start; }
.fan { position: relative; height: 440px; }
.sw { position: absolute; left: 50%; bottom: 10px; width: 210px; height: 300px; margin-left: -105px; display: grid; grid-template-columns: 40px minmax(0, 1fr); overflow: hidden; border-radius: 6px; background: var(--sheet); box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 18px 30px -18px rgba(60, 40, 15, .45); transform-origin: 50% 170%; transform: rotate(calc((var(--i) - 4) * 6.5deg)); transition: transform 1s var(--spring), box-shadow .6s; }
.sw-face { grid-column: 2; grid-row: 1; margin: 8px 8px 8px 0; border-radius: 3px; }
.sw-meta { grid-column: 1; grid-row: 1; display: flex; align-items: baseline; gap: 10px; padding: 14px 0; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.sw-meta b { font-size: 15px; font-weight: 680; line-height: 40px; letter-spacing: -.01em; }
.sw-meta span { font-size: 10.5px; color: var(--mute); }
.fan.is-open .sw { transform: rotate(calc((var(--i) - 4) * 10.5deg)); }
@media (hover: hover) {
  .fan:hover .sw { transform: rotate(calc((var(--i) - 4) * 10.5deg)); }
  .fan:hover .sw:hover { transform: rotate(calc((var(--i) - 4) * 10.5deg)) translateY(-30px); box-shadow: 0 30px 40px -20px rgba(60, 40, 15, .55); }
}
.m-kraft { background: var(--kraft) var(--tex-kraft); background-size: 200px; }
.m-white { background: #F4EFE6 var(--tex-paper); background-size: 200px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.m-art { background: linear-gradient(125deg, #FFFFFF 0%, #F2F3F5 38%, #FFFFFF 48%, #E9EBEE 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.m-duplex { background: linear-gradient(180deg, #FAFAF8 0 72%, #9B9893 72% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.m-fbb { background: linear-gradient(160deg, #FFFFFF, #F1F4F8); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.m-grey { background: #8E8B85 var(--tex-paper); background-size: 200px; background-blend-mode: multiply; }
.m-met { background: linear-gradient(115deg, #8D9299 0%, #E8EBEF 26%, #A7ACB3 44%, #F4F6F8 58%, #9AA0A7 78%, #D9DCE0 100%); }
.m-pp { background-color: #2C3150; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px), radial-gradient(rgba(0, 0, 0, .25) 1px, transparent 1.4px); background-size: 6px 6px, 9px 9px; background-position: 0 0, 3px 4px; }
.m-mdf { background: repeating-linear-gradient(92deg, #5B3A22 0 3px, #6E4629 3px 9px, #63402A 9px 11px, #7A5032 11px 19px); }

/* ---------- contact ---------- */
.contact { background: var(--kraft) var(--tex-kraft); background-size: 420px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 96px); align-items: start; }
.contact-copy { display: grid; justify-items: start; }
.contact-h { margin: 22px 0 0; font-weight: 760; font-stretch: 82%; font-size: clamp(42px, 5.4vw, 80px); line-height: .94; letter-spacing: -.05em; text-wrap: balance; }
.details { display: grid; gap: 22px; margin: 44px 0 20px; }
.details dt { margin-bottom: 4px; color: rgba(29, 27, 24, .72); }
.details dd { margin: 0; font-size: 19px; font-weight: 520; }
.tel { display: inline-block; padding: 6px 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 760; font-stretch: 90%; letter-spacing: -.035em; }
.docket { position: relative; display: grid; gap: 22px; padding: 44px clamp(22px, 3.5vw, 44px) 32px; border-radius: 4px; background: var(--sheet); box-shadow: 0 50px 80px -50px rgba(40, 26, 8, .6); transform: rotate(.5deg); }
.docket::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; border-top: 1.5px dashed rgba(29, 27, 24, .25); }
.docket-head { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; color: var(--mute); }
.field legend { margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid rgba(29, 27, 24, .2); border-radius: 4px; background: #fff; font-size: 16px; outline: none; transition: border-color .4s, box-shadow .4s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 170, 126, .4); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid rgba(29, 27, 24, .22); border-radius: 999px; font-size: 14.5px; font-weight: 620; cursor: pointer; transition: background-color .4s, color .4s, border-color .4s; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio:has(input:focus-visible) { outline: 2px dashed var(--red); outline-offset: 3px; }
.docket-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 24, .35); transition: transform .6s var(--ease), color .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) { .btn-line:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); } }
.btn[disabled] { cursor: progress; opacity: .6; }
.opt { text-transform: none; letter-spacing: 0; font-size: 11px; opacity: .85; }
.form-note { margin: 0; font-size: 14px; color: var(--mute); }
.form-note.is-error { color: var(--red); }
.form-note.is-ok { color: var(--ink); font-weight: 520; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Success: a "received" rubber stamp lands on the docket. */
.stamp { position: absolute; right: clamp(16px, 4vw, 40px); top: 50px; z-index: 2; display: grid; justify-items: center; gap: 2px; padding: 10px 16px 8px; border: 3px solid var(--red); border-radius: 6px; color: var(--red); font-family: var(--mono); font-stretch: 87.5%; font-size: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; mix-blend-mode: multiply; pointer-events: none; opacity: 0; transform: rotate(-9deg) scale(1.6); }
.stamp small { font-size: 10px; font-weight: 400; letter-spacing: .1em; }
.docket.is-sent .stamp { animation: stamp .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-9deg) scale(1.6); } 60% { opacity: .95; transform: rotate(-9deg) scale(.96); } 100% { opacity: .9; transform: rotate(-9deg) scale(1); } }

/* ---------- footer ---------- */
.foot { padding: clamp(72px, 8vw, 110px) var(--pad) 32px; overflow: hidden; background: var(--ink); color: var(--paper); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 80px); }
.foot-logo { flex: none; width: clamp(150px, 15vw, 210px); height: auto; }
.foot-line { flex: 1 1 420px; margin: 0; font-weight: 760; font-stretch: 82%; font-size: clamp(38px, 6vw, 92px); line-height: .92; letter-spacing: -.05em; text-wrap: balance; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 238, 228, .55); transition: color .9s var(--ease), -webkit-text-stroke-color .9s var(--ease); }
@media (hover: hover) { .foot-line:hover { color: var(--kraft); -webkit-text-stroke-color: var(--kraft); } }
.foot-cut { height: 0; margin-top: 28px; border-top: 1.5px dashed var(--red); }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 24px; color: rgba(243, 238, 228, .72); }
.foot-meta a, .menu-foot a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot-meta a { color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .brand-logo { height: 46px; }
  .head[data-scrolled] .brand-logo { height: 40px; }
  .hero-grid, .fold-grid, .book-grid, .contact-grid, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .h1 { font-size: clamp(40px, min(14.4vw, 18vh), 96px); }
  .net-wrap { max-width: 520px; width: 100%; justify-self: center; }
  .fold { --cam: .64; }
  .stage { height: 440px; }
  .pin .fold-stick { align-content: stretch; min-height: 0; padding: 76px 0 16px; }
  .pin .fold-grid { height: 100%; grid-template-rows: auto minmax(0, 1fr); gap: 4px; }
  .pin .fold-copy { gap: 10px; }
  .pin .fold-copy .h2 { font-size: clamp(30px, 8vw, 44px); }
  .pin .steps-wrap { margin-top: 6px; }
  .pin .steps { position: relative; min-height: 104px; }
  .pin .fold .step { position: absolute; inset: 0 0 auto 0; padding: 6px 0; opacity: 0; transform: translateY(10px); }
  .pin .fold[data-step] .step { opacity: 0; }
  .pin .fold[data-step="0"] .step:nth-child(1),
  .pin .fold[data-step="1"] .step:nth-child(2),
  .pin .fold[data-step="2"] .step:nth-child(3),
  .pin .fold[data-step="3"] .step:nth-child(4) { opacity: 1; transform: none; }
  .pin .stage { height: 100%; min-height: 200px; }
  .fan { height: 380px; }
  .sw { width: 170px; height: 244px; margin-left: -85px; grid-template-columns: 34px minmax(0, 1fr); transform: rotate(calc((var(--i) - 4) * 5.5deg)); }
  .fan.is-open .sw { transform: rotate(calc((var(--i) - 4) * 7.5deg)); }
  .sw-meta b { line-height: 34px; font-size: 13.5px; }
  .docket { transform: none; }
  .docket-foot .btn { flex: 1 1 220px; }
}
@media (max-width: 560px) {
  .fold { --cam: .56; }
  .eyebrow { font-size: 10.5px; gap: 10px; }
  .spec .col-stock, .spec .col-tag { display: none; }
  .spec thead th:nth-child(4) { text-align: left; }
  .spec tbody th { font-size: 16px; }
  .spec .no { width: 40px; }
  .fan { height: 330px; }
  .sw { width: 140px; height: 204px; margin-left: -70px; grid-template-columns: 30px minmax(0, 1fr); transform: rotate(calc((var(--i) - 4) * 3.6deg)); }
  .sw-meta b { line-height: 30px; font-size: 12.5px; }
  .sw-meta span { display: none; }
  .fan.is-open .sw { transform: rotate(calc((var(--i) - 4) * 5deg)); }
  .strip { flex-direction: column; }
}
@media (max-width: 380px) {
  .fold { --cam: .5; }
  .eyebrow { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
