/* ───────────── fotoccine ─────────────
   90s handheld console × 90s instant film. */
:root {
  --paper: #f4efe4;
  --ink: #1d1b2e;
  --muted: #5a5568;
  --frame: #f8f6ef;

  /* console plastic */
  --plastic: #bdb3e0;
  --plastic-hi: #dcd5f3;
  --plastic-lo: #978cc0;
  --plastic-deep: #4a4170;

  /* 4-shade green screen */
  --scr0: #0f380f;
  --scr1: #306230;
  --scr2: #8bac0f;
  --scr3: #9bbc0f;

  /* 90s instant-film stripe */
  --red: #e5383b;
  --orange: #f39237;
  --yellow: #f6cf3b;
  --green: #5fb04c;
  --blue: #3a7bd5;
  --berry: #a3195b;

  --dialog: #1f2a5c;
  --cork: #c69563;
  --wood: #7d5130;
  --stamp: #ff8a1f;

  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --font-hand: "Permanent Marker", "Comic Sans MS", cursive;
  --font-stamp: "VT323", ui-monospace, monospace;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --stripes: linear-gradient(180deg,
    var(--red) 0 20%, var(--orange) 20% 40%, var(--yellow) 40% 60%,
    var(--green) 60% 80%, var(--blue) 80% 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(rgba(29,27,46,.09) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
svg.sprite { image-rendering: pixelated; shape-rendering: crispEdges; display: block; }

/* ── pixel buttons (notched 8-bit corners) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  margin: 4px;
  font-family: var(--font-pixel); font-size: .72rem; line-height: 1.4;
  text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--red);
  border: 0; padding: 1.1em 1.5em;
  box-shadow:
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    inset -4px -4px 0 0 rgba(0,0,0,.28), inset 4px 4px 0 0 rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .08s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(2px);
  box-shadow:
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    inset 4px 4px 0 0 rgba(0,0,0,.28); }
.btn-blue { background: var(--blue); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-white { background: var(--frame); color: var(--ink); }
.btn-small { font-size: .6rem; padding: .9em 1.1em; }
.btn-block { width: calc(100% - 8px); }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px);
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
}
.nav::after { /* film stripe under the nav */
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 10px;
  background: var(--stripes);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel); font-size: .95rem; text-decoration: none; color: var(--ink);
}
.nav nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.nav nav a:not(.btn) { font-family: var(--font-pixel); font-size: .62rem; text-transform: uppercase; text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--red); }
.nav nav a:not(.btn):hover::before { content: "▶ "; }

/* ── hero ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px) clamp(56px, 7vw, 90px);
  max-width: 1240px; margin: 0 auto;
}
.hud {
  display: inline-flex; gap: 14px; align-items: center;
  font-family: var(--font-pixel); font-size: .6rem; text-transform: uppercase;
  margin: 0 0 22px;
}
.hud .hearts { color: var(--red); letter-spacing: 3px; font-size: .8rem; }
h1 {
  font-family: var(--font-pixel); font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.95rem); line-height: 1.5;
  margin: 0 0 28px;
}
h1 .pop { color: var(--red); text-shadow: 3px 3px 0 var(--ink); }

/* RPG dialog box */
.dialog {
  position: relative;
  background: var(--dialog); color: #fff;
  border: 4px solid #fff; border-radius: 10px;
  box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 4px rgba(29,27,46,.2);
  margin: 4px;
}
.dialog-name {
  position: absolute; top: -18px; left: 18px;
  font-family: var(--font-pixel); font-size: .6rem; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 6px 10px;
  border: 3px solid #fff; border-radius: 6px; box-shadow: 0 0 0 3px var(--ink);
}
.hero .dialog { padding: 26px 22px 22px; margin-bottom: 30px; max-width: 34em; }
.dialog-text { margin: 0; font-size: 1.05rem; line-height: 1.65; min-height: 5.1em; }
.dialog-more { position: absolute; right: 14px; bottom: 6px; font-size: .8rem; animation: bob .7s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── the console ── */
.hero-device { position: relative; height: 700px; }
.console { position: absolute; left: 50%; bottom: 0; width: 300px; height: 450px; margin-left: -150px; }
.console-body {
  position: absolute; inset: 0; z-index: 2;
  background: var(--plastic);
  border: 4px solid var(--ink);
  border-radius: 14px 14px 64px 14px;
  box-shadow: inset -8px -8px 0 var(--plastic-lo), inset 8px 8px 0 var(--plastic-hi), 12px 14px 0 rgba(29,27,46,.18);
}
.console-slot { position: absolute; z-index: 3; top: -4px; left: 42px; right: 42px; height: 12px; background: var(--ink); border-radius: 0 0 6px 6px; }
.bezel {
  position: absolute; top: 34px; left: 22px; right: 22px; height: 214px;
  background: var(--plastic-deep);
  border-radius: 10px 10px 40px 10px;
  padding: 20px 30px 0 34px;
}
.led { position: absolute; left: 12px; top: 74px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.led-label { position: absolute; left: 6px; top: 90px; font-family: var(--font-pixel); font-size: 5px; color: var(--plastic); }
.screen {
  position: relative; height: 158px;
  background: var(--scr3);
  border: 3px solid #2d2a3a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--scr0); overflow: hidden;
  box-shadow: inset 0 0 18px rgba(15,56,15,.35);
}
.screen::after { /* LCD pixel grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(15,56,15,.08) 1px, transparent 1px) 0 0 / 3px 3px,
    linear-gradient(90deg, rgba(15,56,15,.08) 1px, transparent 1px) 0 0 / 3px 3px;
}
.screen-title { font-family: var(--font-pixel); font-size: 13px; letter-spacing: 1px; }
.screen-blink { font-family: var(--font-pixel); font-size: 7px; color: var(--scr1); animation: blink 1s steps(2) infinite; }
.screen.flash { animation: lcdflash .5s steps(3); }
@keyframes lcdflash { 0%,60% { background: #e9f5b6; } }
@keyframes blink { 50% { opacity: 0; } }
.bezel-label { margin: 10px 0 0; font-family: var(--font-pixel); font-size: 6.5px; color: var(--plastic); letter-spacing: .5px; text-align: center; }

.console-brand {
  position: absolute; top: 258px; left: 26px;
  font-family: var(--font-body); font-weight: 700; font-style: italic; font-size: 1.15rem;
  color: #2f2a6b; letter-spacing: -.01em;
}
.console-brand small { font-size: .6rem; font-style: normal; font-family: var(--font-pixel); margin-left: 4px; color: var(--berry); }

.dpad { position: absolute; top: 290px; left: 28px; width: 80px; height: 80px; }
.dpad::before, .dpad::after { content: ""; position: absolute; background: #2d2a3a; border-radius: 4px; box-shadow: inset -3px -3px 0 rgba(0,0,0,.4), inset 2px 2px 0 rgba(255,255,255,.12); }
.dpad::before { left: 27px; top: 0; width: 26px; height: 80px; }
.dpad::after  { top: 27px; left: 0; width: 80px; height: 26px; }

.face-buttons { position: absolute; top: 294px; right: 20px; width: 116px; height: 90px; transform: rotate(-24deg); }
.face-btn {
  position: absolute; width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--ink); cursor: pointer; padding: 0;
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.3), inset 3px 3px 0 rgba(255,255,255,.25);
  transition: transform .06s;
}
.face-btn:active, .face-btn.pressed { transform: translateY(3px); box-shadow: inset 3px 3px 0 rgba(0,0,0,.3); }
.face-btn span { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); font-family: var(--font-pixel); font-size: 7px; color: #2f2a6b; }
.face-btn.b { left: 4px; top: 22px; }
.face-btn.a { right: 4px; top: 4px; }
.face-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.face-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.face-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; } /* bigger tap target */
.face-btn b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-pixel); font-weight: 400; font-size: 13px; color: rgba(255,255,255,.92);
  text-shadow: 1px 1px 0 rgba(0,0,0,.35);
  transform: rotate(24deg); pointer-events: none;
}
.face-btn span { pointer-events: none; }

.pills { position: absolute; bottom: 22px; left: 62px; display: flex; gap: 10px; }
.pill { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; transform: rotate(-24deg); }
.pill i { width: 40px; height: 11px; border-radius: 6px; background: var(--plastic-deep); border: 2px solid var(--ink); }
.pill span { font-family: var(--font-pixel); font-size: 6px; color: #2f2a6b; }
.pill:hover i { background: var(--ink); }
.speaker { position: absolute; right: 30px; bottom: 26px; display: flex; gap: 6px; transform: rotate(-24deg); }
.speaker i { width: 5px; height: 44px; border-radius: 3px; background: var(--plastic-lo); box-shadow: inset 1px 1px 0 rgba(0,0,0,.25); }

/* the print coming out of the top */
.console .eject {
  position: absolute; z-index: 1; left: 50%; bottom: 432px;
  width: 196px; margin-left: -98px;
  transform: translateY(100%);
}
/* motor feed: short warm-up, then a steady, slightly juddery push out of the slot, little pop at the end */
.console .eject.feeding { animation: feed 2.6s .7s both; }
.console .eject.feeding .photo { filter: brightness(.22) saturate(0) sepia(.6) blur(2px); }
.console .eject.out { transform: translateY(0); }
.console .eject.taken { animation: taken .45s ease-in forwards; }
@keyframes feed {
  0%   { transform: translateY(100%); animation-timing-function: steps(34, end); }
  92%  { transform: translateY(-3%);  animation-timing-function: ease-out; }
  100% { transform: translateY(0); }
}
@keyframes taken { to { transform: translate(40px, -80px) rotate(10deg); opacity: 0; } }

/* console while printing: hum, blinking light, progress bar on screen */
.console.whirr .console-body { animation: whirr .09s linear infinite; }
@keyframes whirr { 50% { transform: translate(.6px, -.4px); } }
.console.whirr .led { animation: blink .25s steps(2) infinite; }
.screen-bar { display: none; width: 110px; height: 10px; border: 2px solid var(--scr0); padding: 1px; }
.screen-bar i { display: block; height: 100%; width: 0; background: var(--scr1); }
.screen.printing .screen-bar { display: block; }
.screen.printing .screen-bar i { animation: bar 3.3s steps(11) forwards; }
@keyframes bar { to { width: 100%; } }
.screen.printing .screen-blink { animation: blink .5s steps(2) infinite; }

/* "tap A" hint bubble */
.press-hint {
  position: absolute; z-index: 4; right: -26px; top: 236px;
  font-family: var(--font-pixel); font-size: 8px; line-height: 1.5; text-transform: uppercase;
  background: var(--frame); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 6px; padding: 7px 9px;
  box-shadow: 3px 3px 0 rgba(29,27,46,.25);
  animation: hint-bob 1s ease-in-out infinite;
  pointer-events: none; white-space: nowrap;
}
.press-hint::after {
  content: ""; position: absolute; bottom: -11px; left: 26px;
  border: 8px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}
.press-hint.gone { display: none; }
@keyframes hint-bob { 50% { transform: translateY(-5px); } }

.hero-device .loose { position: absolute; z-index: 0; left: 0; top: 330px; width: 170px; transform: rotate(-11deg); }
.hero-device .loose-2 { position: absolute; z-index: 0; right: -6px; top: 360px; width: 150px; transform: rotate(9deg); }

/* camera flash */
.flash-overlay { position: fixed; inset: 0; z-index: 200; background: #fff; pointer-events: none; opacity: 0; }
.flash-overlay.go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }

/* ── 90s instant prints ── */
.polaroid {
  margin: 0; position: relative;
  background: var(--frame);
  padding: 12px 12px 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 14px 26px -12px rgba(29,27,46,.45);
}
.polaroid .photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #2a2420; }
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.1) sepia(.12); }
.photo::after { /* on-camera flash + vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,250,230,.28), transparent 45%),
    radial-gradient(ellipse at center, transparent 50%, rgba(30,12,0,.5));
}
.polaroid figcaption {
  font-family: var(--font-hand); font-size: 1.05rem; text-align: center; line-height: 1.2;
  padding: 12px 4px 16px; color: #24324f;
}
.datestamp {
  position: absolute; right: 9px; bottom: 5px; z-index: 2;
  font-family: var(--font-stamp); font-size: 1.25rem; color: var(--stamp);
  text-shadow: 0 0 6px rgba(255,138,31,.85); letter-spacing: .05em;
}
.tape {
  position: absolute; top: -12px; left: 50%; z-index: 3;
  width: 74px; height: 24px; margin-left: -37px; transform: rotate(-4deg);
  background: rgba(246,235,190,.75); box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.develop .photo > :not(.datestamp), .develop .photo { animation: develop 4.5s ease-out both; }
@keyframes develop {
  0%   { filter: brightness(.22) saturate(0) sepia(.6) blur(3px); }
  45%  { filter: brightness(.75) saturate(.35) sepia(.4) blur(1.2px); }
  100% { filter: none; }
}

/* placeholder "photos" — warm flash-lit 90s tones; swap for real images later */
.photo.ph-sunset { background:
  radial-gradient(circle at 50% 60%, #ffe39a 0 13%, transparent 14%),
  linear-gradient(180deg, #f7b267 0%, #f4845f 45%, #f25c54 61%, #2a6f97 62%, #1b3a5c 100%); }
.photo.ph-party { background:
  radial-gradient(circle at 25% 30%, var(--yellow) 0 6%, transparent 7%),
  radial-gradient(circle at 70% 22%, var(--red) 0 5%, transparent 6%),
  radial-gradient(circle at 60% 70%, var(--blue) 0 7%, transparent 8%),
  radial-gradient(circle at 30% 75%, var(--green) 0 6%, transparent 7%),
  linear-gradient(160deg, #3b2c5a, #6a3d6b); }
.photo.ph-mall { background:
  radial-gradient(circle at 32% 70%, #e86a92 0 18%, transparent 19%),
  radial-gradient(circle at 68% 68%, #f6cf3b 0 18%, transparent 19%),
  linear-gradient(170deg, #9ad1d4, #5aa9a6 70%, #2f6f6b); }
.photo.ph-beach { background:
  linear-gradient(180deg, #7ec8e3 0 48%, #f5deb3 48% 52%, #3a9bc1 52% 70%, #f1d39b 70%); }
.photo.ph-arcade { background:
  repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.08) 26px 28px),
  radial-gradient(circle at 50% 45%, #ff5d8f 0 12%, transparent 13%),
  linear-gradient(180deg, #1b1340, #43207a 60%, #e5383b); }

/* ── stripe divider ── */
.stripes { height: 40px; background: var(--stripes); border-block: 4px solid var(--ink); }

/* ── sections ── */
.section { padding: clamp(72px, 9vw, 112px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.section-head { margin-bottom: 48px; }
.kicker { font-family: var(--font-pixel); font-size: .62rem; text-transform: uppercase; color: var(--red); margin: 0 0 16px; }
.section-title {
  font-family: var(--font-pixel); font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem); line-height: 1.45; margin: 0 0 14px;
  text-shadow: 3px 3px 0 var(--yellow);
}
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 36em; }

/* how it works: 35mm film strip */
.film-sub {
  font-family: var(--font-stamp); font-size: 1.55rem; line-height: 1.3; letter-spacing: .02em;
  color: var(--ink); max-width: 30em;
}
.film-scroller {
  overflow-x: auto; overflow-y: hidden;
  padding: 70px 6px 14px;
  margin: 0 -6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--plastic-lo) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 0 92%, transparent);
          mask-image: linear-gradient(90deg, #000 0 92%, transparent);
}
.film-scroller.can-drag { cursor: grab; }
.film-scroller.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.filmstrip {
  position: relative;
  display: inline-flex; align-items: center; gap: 22px;
  padding: 40px 0 40px 0;
}
.film-base { /* dark film with a tapered leader */
  position: absolute; inset: 0; z-index: 0;
  background: #1c1714;
  clip-path: polygon(0 34%, 74px 0, 100% 0, 100% 100%, 0 100%);
}
.film-base::before, .film-base::after { /* sprocket holes */
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='7' y='0' width='12' height='14' rx='3' fill='%23f4efe4'/%3E%3C/svg%3E") repeat-x 0 0 / 26px 14px;
}
.film-base::before { top: 12px; }
.film-base::after  { bottom: 12px; }
.filmstrip.advance-ready { transform: translateX(26%); }
.filmstrip.advanced { transform: none; transition: transform 1.5s steps(10); }

.film-leader { flex: 0 0 74px; align-self: stretch; }
.frame {
  position: relative; z-index: 1; margin: 0; flex: 0 0 auto;
  scroll-snap-align: center;
  cursor: pointer; outline: none;
  -webkit-tap-highlight-color: transparent;
}
.frame-title {
  position: absolute; left: -10px; right: -10px; bottom: calc(100% + 56px);
  font-family: var(--font-pixel); font-size: .68rem; line-height: 1.5; text-transform: uppercase;
  text-align: center; color: var(--ink);
}
.frame-title span { color: var(--red); margin-right: 4px; }
.frame-img {
  position: relative; width: 280px; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 3px;
  filter: invert(1) contrast(.82) brightness(1.08);
  transition: filter .9s ease, box-shadow .9s ease;
}
.frame[role=button]::after { /* orange negative base, over the inverted image */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px;
  background: #e0782e; mix-blend-mode: multiply; opacity: .62;
  transition: opacity .9s ease;
}
.frame.developed .frame-img { filter: none; box-shadow: 0 0 34px rgba(255,214,140,.55); }
.frame.developed::after { opacity: 0; }
@media (hover: hover) {
  .frame:hover .frame-img { filter: none; box-shadow: 0 0 34px rgba(255,214,140,.55); }
  .frame:hover::after { opacity: 0; }
}
.frame:focus-visible .frame-img { outline: 3px solid var(--yellow); outline-offset: 4px; }
.edge-mark {
  position: absolute; left: 6px; bottom: -32px;
  font-family: var(--font-stamp); font-size: 1.05rem; letter-spacing: .08em; color: #f39237;
}
.frame-blank { width: 150px; aspect-ratio: 3 / 4; background: #2a2320; border-radius: 3px; cursor: default; height: 187px; }

/* level-select scenes inside the frames */
.level { position: absolute; inset: 0; }
.level svg { display: block; width: 100%; height: 100%; }
.level .bob { animation: lvl-bob 1.2s steps(2) infinite; }
.level .hop { animation: lvl-hop 1.4s steps(4) infinite; }
.level .twinkle { animation: blink .8s steps(2) infinite; }
.level .flash { animation: lvl-flash 1.6s steps(1) infinite; }
@keyframes lvl-bob { 50% { transform: translateY(-1px); } }
@keyframes lvl-hop { 50% { transform: translateY(-2px); } }
@keyframes lvl-flash { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.lvl-tag {
  position: absolute; top: 7px; left: 7px;
  font-family: var(--font-pixel); font-size: 9px; line-height: 1;
  color: #fff; background: var(--ink); padding: 5px 6px 4px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink);
}
.lvl-stars {
  position: absolute; top: 4px; right: 8px;
  font-size: 15px; letter-spacing: 1px; color: var(--yellow);
  text-shadow: 2px 2px 0 var(--ink);
}
.lvl-name {
  position: absolute; left: 8px; bottom: 6px;
  font-family: var(--font-pixel); font-size: 7px; text-transform: uppercase;
  color: #fff; text-shadow: 1px 1px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink);
}
.film-hint {
  margin: 16px 0 0; font-family: var(--font-pixel); font-size: .58rem; text-transform: uppercase; color: var(--muted);
}

/* events: corkboard */
.section-cork { max-width: none; background: #e8dfcd; border-block: 4px solid var(--ink); }
.section-cork > * { max-width: 1144px; margin-left: auto; margin-right: auto; }
.corkboard {
  position: relative;
  border: 16px solid var(--wood);
  outline: 4px solid var(--ink);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(rgba(90,50,20,.35) 1px, transparent 1.5px) 0 0 / 7px 7px,
    radial-gradient(rgba(255,230,190,.3) 1px, transparent 1.5px) 3px 4px / 9px 9px,
    var(--cork);
  box-shadow: inset 0 0 30px rgba(60,30,10,.45);
}
.events { display: grid; grid-template-columns: repeat(auto-fill, 240px); justify-content: center; gap: 40px 36px; }
.event-pol { transform: rotate(var(--tilt, 0deg)); transition: transform .25s; }
.event-pol:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.pin {
  position: absolute; z-index: 3; top: -9px; left: 50%; margin-left: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a8a, var(--red) 55%, #8f1d20);
  box-shadow: 2px 3px 3px rgba(0,0,0,.35);
}
.event-pol:nth-child(3n+2) .pin { background: radial-gradient(circle at 35% 35%, #9cc4ff, var(--blue) 55%, #1d3f7a); }
.event-pol:nth-child(3n+3) .pin { background: radial-gradient(circle at 35% 35%, #fff2a8, var(--yellow) 55%, #9a7a10); }
.ev-photo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-shadow: 3px 3px 0 rgba(0,0,0,.35);
}
.ev-photo > * { position: relative; z-index: 1; }
.event-pol:nth-child(5n+1) .ev-photo { background: radial-gradient(circle at 50% 35%, #ff8a6b, #e5383b 60%, #8f1d20); }
.event-pol:nth-child(5n+2) .ev-photo { background: radial-gradient(circle at 50% 35%, #7fb2ff, #3a7bd5 60%, #1d3f7a); }
.event-pol:nth-child(5n+3) .ev-photo { background: radial-gradient(circle at 50% 35%, #9ad77f, #5fb04c 60%, #2e6a22); }
.event-pol:nth-child(5n+4) .ev-photo { background: radial-gradient(circle at 50% 35%, #ffc27a, #f39237 60%, #a2531a); }
.event-pol:nth-child(5n+5) .ev-photo { background: radial-gradient(circle at 50% 35%, #c18bd6, #7b3f9e 60%, #3d1f52); }
.ev-month { font-family: var(--font-pixel); font-size: .9rem; }
.ev-day { font-family: var(--font-pixel); font-size: 3rem; line-height: 1; }
.ev-caption { padding: 12px 6px 16px; text-align: center; font-family: var(--font-hand); color: #24324f; }
.ev-caption h3 { margin: 0; font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.ev-caption p { margin: 4px 0 0; font-size: .95rem; color: #4b5873; }
.ev-caption .ev-note { color: var(--red); }
.events-empty { text-align: center; padding: 30px 10px; }
.events-empty .polaroid { width: 240px; margin: 0 auto 28px; transform: rotate(-3deg); }

/* booking */
.book-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.menu { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.menu li { position: relative; padding-left: 26px; }
.menu li::before { content: "▶"; position: absolute; left: 0; top: 1px; font-size: .8rem; color: var(--red); animation: blink 1s steps(2) infinite; }
.menu li:not(:first-child)::before { animation: none; color: var(--plastic-lo); }

.book-form { padding: 34px clamp(18px, 3vw, 30px) 26px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-family: var(--font-pixel); font-size: .58rem; text-transform: uppercase; line-height: 1.5; color: #fff; }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: var(--frame); border: 3px solid var(--ink); border-radius: 4px;
  padding: 10px 12px; width: 100%;
  box-shadow: inset 3px 3px 0 rgba(29,27,46,.12);
}
input:focus, select:focus, textarea:focus { outline: 4px solid var(--yellow); outline-offset: 0; }
input.invalid, select.invalid { background: #ffd9d6; border-color: var(--red); }
textarea { resize: vertical; }
.book-form .btn { margin-top: 8px; }
.form-status { margin: 16px 0 0; min-height: 1.5em; font-family: var(--font-pixel); font-size: .58rem; line-height: 1.6; text-transform: uppercase; text-align: center; }

/* footer */
.footer { background: var(--ink); color: #fff; text-align: center; }
.footer .stripes { border-top: 0; }
.footer-inner { padding: 56px 16px 44px; }
.continue { font-family: var(--font-pixel); font-size: .9rem; margin: 0 0 8px; }
.continue-opts { font-family: var(--font-pixel); font-size: .7rem; margin: 0 0 34px; color: var(--plastic); }
.continue-opts b { color: var(--yellow); font-weight: 400; }
.footer .logo { color: #fff; font-size: 1.3rem; }
.footer-handle { font-family: var(--font-hand); font-size: 1.2rem; color: var(--yellow); margin: 14px 0 22px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.footer-small { font-family: var(--font-pixel); font-size: .55rem; line-height: 1.8; text-transform: uppercase; color: #8f8aa6; margin: 0; }

/* ── responsive ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-device { max-width: 520px; width: 100%; margin: 0 auto; }
  .book-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav nav a:not(.btn) { display: none; }
  .logo { font-size: .8rem; }
  .hero-device { height: 690px; }
  .loose, .loose-2 { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .events { grid-template-columns: minmax(0, 260px); }
  .frame-img { width: 230px; }
  .frame-blank { width: 110px; height: 153px; }
  .frame-title { font-size: .6rem; }
  .film-scroller { padding-top: 76px; }
  .corkboard { border-width: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .console .eject.feeding, .console .eject.out { transform: none; }
  .filmstrip.advance-ready { transform: none; }
  html { scroll-behavior: auto; }
}
