/* Record film: most orders shipped in one day (Dylan, 27 Nov 2026). static/screens/record.js drives it. Everything is .rec-* */
.rec { position: fixed; inset: 0; z-index: 2147483000; background: #000; color: #f4efe4; overflow: hidden; cursor: default;
  font-family: 'Space Grotesk', Inter, system-ui, sans-serif; opacity: 1; transition: opacity 4s ease; user-select: none; -webkit-user-select: none; }
.rec.rec-in { animation: rec-in .6s ease backwards; }
.rec.rec-out { opacity: 0; }
@keyframes rec-in { from { opacity: 0 } to { opacity: 1 } }
.rec * { box-sizing: border-box; }
.rec-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.rec-stage { position: absolute; inset: 0; z-index: 3; }
.rec-stage.rec-shake { animation: rec-shake .9s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes rec-shake { 10%, 90% { transform: translate(-6px, 3px) } 20%, 80% { transform: translate(10px, -6px) rotate(.3deg) }
  30%, 50%, 70% { transform: translate(-16px, 8px) rotate(-.4deg) } 40%, 60% { transform: translate(16px, -8px) rotate(.4deg) } 100% { transform: none } }
.rec-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s; text-align: center; padding: 12vh 6vw; }
.rec-scene.on { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.rec-scene.cut { transition: none; }

/* film look */
.rec-bar { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 8; transition: height 1.4s cubic-bezier(.7,0,.2,1); }
.rec-bar.top { top: 0 } .rec-bar.bot { bottom: 0 }
.rec.rec-scope .rec-bar { height: 10.5vh; }
.rec-grain { position: absolute; inset: -50%; z-index: 7; pointer-events: none; opacity: .09; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: rec-grain .5s steps(4) infinite; }
@keyframes rec-grain { 0% { transform: translate(0, 0) } 25% { transform: translate(-3%, 2%) } 50% { transform: translate(2%, -3%) } 75% { transform: translate(-2%, -1%) } 100% { transform: translate(1%, 3%) } }
.rec-vig { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.85) 100%); }
.rec-flash { position: absolute; inset: 0; z-index: 9; background: #fff; opacity: 0; pointer-events: none; }
.rec-flash.go { animation: rec-flash .7s ease-out both; }
.rec-flash.blip { animation: rec-flash .16s ease-out both; }
.rec-flash.gold { background: radial-gradient(circle, #fff7d6 0%, #f5c843 45%, #8a5a00 100%); }
@keyframes rec-flash { 0% { opacity: .95 } 100% { opacity: 0 } }
.rec-skip { position: absolute; right: 2.2vw; bottom: 12.5vh; z-index: 10; font-size: 11px; letter-spacing: .25em; color: rgba(255,255,255,.28); text-transform: uppercase; }

/* 1 · cold open */
.rec-cap { font-family: 'Space Grotesk', monospace; font-size: clamp(14px, 1.6vw, 24px); letter-spacing: .42em; text-transform: uppercase; color: #e9e1cf; line-height: 2.3; min-height: 7em; }
.rec-cap .cur { display: inline-block; width: .6em; height: 1em; vertical-align: -0.1em; background: #f5c843; margin-left: .2em; animation: rec-blink .7s steps(2) infinite; }
.rec-cap .dim { color: #8f8777; }
@keyframes rec-blink { 50% { opacity: 0 } }

/* 2 · the record that stood */
.rec-old .pre { font-family: 'Cinzel', Georgia, serif; font-size: clamp(16px, 2vw, 30px); letter-spacing: .3em; color: #b9b1a1; opacity: 0; animation: rec-rise 1.6s ease .2s both; }
.rec-old .num { font-family: 'Bebas Neue', 'Space Grotesk', sans-serif; font-size: 42vh; line-height: .9; margin: 2vh 0 1vh; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffffff 0%, #c9ced6 30%, #6b717c 52%, #e3e7ee 70%, #8c929c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(180,200,230,.25)); animation: rec-push 5s cubic-bezier(.2,.6,.2,1) both; position: relative; }
.rec-old .sub { font-size: clamp(13px, 1.25vw, 19px); letter-spacing: .38em; text-transform: uppercase; color: #cfc6b4; opacity: 0; animation: rec-rise 1.4s ease 1.2s both; }
.rec-old .sub b { color: #fff; font-weight: 700; }
@keyframes rec-push { from { transform: scale(.86); opacity: 0; filter: blur(14px) } 30% { opacity: 1; filter: blur(0) drop-shadow(0 0 40px rgba(180,200,230,.25)) } to { transform: scale(1.1) } }
@keyframes rec-rise { from { opacity: 0; transform: translateY(18px); letter-spacing: .6em } to { opacity: 1; transform: none } }

/* 3 · montage */
.rec-mont { justify-content: center; }
.rec-mont .icon { width: min(38vh, 46vw); height: min(38vh, 46vw); position: relative; }
.rec-mont .icon svg { width: 100%; height: 100%; overflow: visible; }
.rec-mont .icon.slam { animation: rec-slam .5s cubic-bezier(.1,.9,.2,1) both; }
@keyframes rec-slam { 0% { transform: scale(1.9) rotate(-6deg); opacity: 0; filter: blur(18px) } 35% { opacity: 1; filter: blur(0) } 100% { transform: scale(1) rotate(0); opacity: 1 } }
.rec-mont .label { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 6vh, 70px); letter-spacing: .14em; margin-top: 2vh; color: #fff; }
.rec-mont .label.slam { animation: rec-lab .5s ease both; }
@keyframes rec-lab { from { opacity: 0; transform: translateX(-60px) skewX(-12deg) } to { opacity: 1; transform: none } }
.rec-ctr { position: absolute; top: 13vh; right: 4vw; text-align: right; }
.rec-ctr .k { font-size: 12px; letter-spacing: .4em; color: #a49c8b; text-transform: uppercase; }
.rec-ctr .v { font-family: 'Bebas Neue', sans-serif; font-size: 13vh; line-height: 1; color: #f5c843; text-shadow: 0 0 30px rgba(245,200,67,.45); }
.rec-tick { position: absolute; left: 4vw; bottom: 13vh; width: min(520px, 44vw); height: 34vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); text-align: left; }
.rec-tick div { font-family: 'Space Grotesk', monospace; font-size: clamp(12px, 1.25vw, 18px); letter-spacing: .14em; color: #e6decb; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.08);
  animation: rec-tk .35s ease both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-tick div b { color: #f5c843; font-weight: 700; margin-right: 1em; }
.rec-tick div span { color: #8f8777; margin-left: 1em; }
@keyframes rec-tk { from { opacity: 0; transform: translateY(20px) } to { opacity: 1; transform: none } }
.rec-speed { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.05) 46px 48px); }
.rec-mont.fast .rec-speed { opacity: 1; animation: rec-speed .25s linear infinite; }
@keyframes rec-speed { to { background-position: -48px 0 } }

/* 4 · slow motion */
.rec-slow .ghost { font-family: 'Bebas Neue', sans-serif; font-size: 16vh; line-height: 1; color: rgba(255,255,255,.14); letter-spacing: .05em; margin-bottom: 3vh; }
.rec-slow .parcel { width: min(70vw, 760px); position: relative; }
.rec-slow .parcel svg { width: 100%; height: auto; display: block; }
.rec-slow .laser { position: absolute; top: -8%; bottom: -8%; width: 3px; left: 5%; background: #ff2b2b; box-shadow: 0 0 12px 3px rgba(255,40,40,.85), 0 0 60px 12px rgba(255,0,0,.35);
  transition: left 3.6s cubic-bezier(.45,0,.55,1); }
.rec-slow .laser.go { left: 47%; }
.rec-slow .line { font-family: 'Cinzel', Georgia, serif; font-size: clamp(20px, 3vw, 44px); letter-spacing: .2em; margin-top: 5vh; opacity: 0; transition: opacity 1.6s ease, letter-spacing 3s ease; }
.rec-slow .line.on { opacity: 1; letter-spacing: .32em; }

/* 5 · impact */
.rec-hit .num { font-family: 'Bebas Neue', sans-serif; font-size: 58vh; line-height: .85; letter-spacing: .02em; position: relative; z-index: 2;
  background: linear-gradient(180deg, #fffbe6 0%, #ffe08a 22%, #e0a21f 45%, #fff1b0 58%, #b77a12 78%, #ffd65c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,190,40,.7)) drop-shadow(0 0 120px rgba(255,160,0,.45)); }
.rec-hit.on .num { animation: rec-boom 1.1s cubic-bezier(.05,.9,.25,1) both; }
@keyframes rec-boom { 0% { transform: scale(3.6); opacity: 0; filter: blur(30px) } 40% { opacity: 1; filter: blur(0) drop-shadow(0 0 30px rgba(255,190,40,.7)) } 100% { transform: scale(1) } }
.rec-ring { position: absolute; left: 50%; top: 50%; width: 20vh; height: 20vh; margin: -10vh 0 0 -10vh; border-radius: 50%; border: 6px solid rgba(255,214,92,.9);
  box-shadow: 0 0 40px rgba(255,200,60,.8), inset 0 0 40px rgba(255,200,60,.6); opacity: 0; z-index: 1; }
.rec-hit.on .rec-ring { animation: rec-ring 1.6s cubic-bezier(.1,.8,.3,1) both; }
.rec-hit.on .rec-ring.r2 { animation-delay: .14s } .rec-hit.on .rec-ring.r3 { animation-delay: .3s }
@keyframes rec-ring { 0% { transform: scale(.2); opacity: 1 } 100% { transform: scale(9); opacity: 0; border-width: 1px } }
.rec-rays { position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; z-index: 0; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255,210,90,.16) 0deg 4deg, transparent 4deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 55%); mask-image: radial-gradient(circle, #000 0, transparent 55%); }
.rec-hit.on .rec-rays, .rec-title.on .rec-rays { animation: rec-rays 24s linear both; }
@keyframes rec-rays { 0% { opacity: 0; transform: rotate(0) } 8% { opacity: 1 } 100% { opacity: 1; transform: rotate(60deg) } }

/* 6 · title card */
.rec-title .kick { font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .6em; color: #f5c843; text-transform: uppercase; opacity: 0; }
.rec-title .big { font-family: 'Cinzel', Georgia, serif; font-weight: 900; font-size: clamp(48px, 11vw, 190px); line-height: 1; letter-spacing: .08em; margin: 2vh 0 3vh; position: relative;
  background: linear-gradient(180deg, #fff9e0 0%, #f7d774 40%, #c38a1c 60%, #ffe9a0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; }
.rec-title .flare { position: absolute; left: -30%; top: 50%; width: 40%; height: 3px; margin-top: -1px; background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 30px 8px rgba(255,240,200,.8); opacity: 0; z-index: 3; }
.rec-title .stat { font-size: clamp(14px, 1.5vw, 22px); letter-spacing: .3em; text-transform: uppercase; color: #e8e0cc; margin: .9vh 0; opacity: 0; }
.rec-title .stat b { color: #fff; } .rec-title .stat em { font-style: normal; color: #f5c843; }
.rec-title.on .kick { animation: rec-rise 1.2s ease .1s both; }
.rec-title.on .big { animation: rec-title 1.6s cubic-bezier(.2,.8,.2,1) .35s both; }
.rec-title.on .flare { animation: rec-flare 1.5s ease-in-out 1.2s both; }
.rec-title.on .stat.s1 { animation: rec-rise 1.2s ease 1.6s both; }
.rec-title.on .stat.s2 { animation: rec-rise 1.2s ease 2.2s both; }
.rec-title.on .stat.s3 { animation: rec-rise 1.2s ease 2.8s both; }
@keyframes rec-title { from { opacity: 0; letter-spacing: .5em; filter: blur(12px) } to { opacity: 1; letter-spacing: .08em; filter: blur(0) } }
@keyframes rec-flare { 0% { left: -40%; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } 100% { left: 110%; opacity: 0 } }

/* 7 · the plaque */
.rec-hall { justify-content: center; padding: 11vh 4vw; }
.rec-spot { position: absolute; left: 50%; top: -20vh; width: 120vh; height: 150vh; margin-left: -60vh; pointer-events: none; opacity: 0; transition: opacity 2.5s ease;
  background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(255,236,190,.22), transparent 70%), conic-gradient(from 165deg at 50% 0%, transparent 0deg, rgba(255,240,205,.13) 12deg, rgba(255,240,205,.13) 18deg, transparent 30deg); }
.rec-hall.on .rec-spot { opacity: 1; }
.rec-board { position: relative; width: min(74vw, 84vh); flex: none; aspect-ratio: 1000 / 640; transform: translateY(70vh) rotateX(18deg); opacity: 0; transform-origin: 50% 100%;
  transition: transform 3s cubic-bezier(.16,1,.3,1), opacity 1.6s ease; padding: 2.4%; border-radius: 14px;
  background: radial-gradient(ellipse at 30% 20%, #5a3a22, transparent 60%), repeating-linear-gradient(92deg, #3b2414 0 6px, #43291a 6px 9px, #331f11 9px 15px), #3a2314;
  box-shadow: 0 50px 120px rgba(0,0,0,.9), 0 0 0 2px #1d1108, inset 0 2px 0 rgba(255,220,180,.15), inset 0 -6px 18px rgba(0,0,0,.6); }
.rec-hall.on .rec-board { transform: none; opacity: 1; }
.rec-plate { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden;
  background: linear-gradient(115deg, #6f4a0f 0%, #e9c463 14%, #fff0b3 24%, #c99a34 38%, #f6d77a 50%, #a8741e 64%, #f2d27a 78%, #fff3c4 86%, #8a5d14 100%);
  box-shadow: inset 0 0 0 3px #6b480d, inset 0 0 0 7px #f3d684, inset 0 0 0 9px #7a5412, inset 0 12px 30px rgba(255,255,255,.35), inset 0 -16px 40px rgba(60,30,0,.45); }
.rec-plate::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.rec-plate::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 22%; left: -40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); opacity: 0; }
.rec-plate.gleam::after { animation: rec-gleam 1.8s ease-in-out both; }
@keyframes rec-gleam { 0% { left: -40%; opacity: 0 } 15% { opacity: 1 } 100% { left: 130%; opacity: 0 } }
.rec-plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rec-screw { position: absolute; width: 2.6%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #fff8d9, #c49a3c 45%, #5b3d08 100%); box-shadow: 0 1px 2px rgba(0,0,0,.6); }
.rec-screw::after { content: ''; position: absolute; left: 18%; right: 18%; top: 46%; height: 9%; background: #4a3006; transform: rotate(35deg); border-radius: 2px; }
.rec-screw.a { left: 2.2%; top: 3.4% } .rec-screw.b { right: 2.2%; top: 3.4% } .rec-screw.c { left: 2.2%; bottom: 3.4% } .rec-screw.d { right: 2.2%; bottom: 3.4% }
.rec-eng { font-family: 'Cinzel', Georgia, serif; fill: #3b2604; }
.rec-eng.fill { fill: url(#rec-carve-grad); }
.rec-name text { font-family: 'Cinzel', Georgia, serif; font-weight: 700; fill: transparent; stroke: #4a2f05; stroke-width: 1.4; paint-order: stroke; }
.rec-name text.cut { fill: url(#rec-carve-grad); stroke-width: .4; transition: fill .4s ease; }
.rec-btn { margin-top: 3.2vh; position: relative; z-index: 4; font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: clamp(16px, 1.9vw, 28px); letter-spacing: .16em;
  text-transform: uppercase; color: #2a1a02; padding: 1.1em 2.4em; border: 0; border-radius: 999px; cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none;
  background: linear-gradient(180deg, #fff3c4, #f2c94c 45%, #c08a1e 100%); box-shadow: 0 0 0 2px #7a5412, 0 0 0 5px rgba(255,214,92,.35), 0 10px 40px rgba(255,190,40,.45);
  transition: opacity 1.2s ease, transform 1.2s ease; }
.rec-btn.on { opacity: 1; transform: none; pointer-events: auto; animation: rec-pulse 2.2s ease-in-out 1.2s infinite; }
.rec-btn.gone { opacity: 0 !important; transform: scale(.94) !important; pointer-events: none; animation: none; }
.rec-btn:hover { filter: brightness(1.08); }
@keyframes rec-pulse { 0%, 100% { box-shadow: 0 0 0 2px #7a5412, 0 0 0 5px rgba(255,214,92,.35), 0 10px 40px rgba(255,190,40,.45) }
  50% { box-shadow: 0 0 0 2px #7a5412, 0 0 0 14px rgba(255,214,92,.12), 0 10px 70px rgba(255,190,40,.8) } }
.rec-after { margin-top: 3vh; font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .4em; text-transform: uppercase; color: #cdbf9f; opacity: 0; transition: opacity 1.4s ease; min-height: 1.5em; }
.rec-after.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .rec-stage.rec-shake { animation: none; }
  .rec-grain { animation: none; }
}
