/* ALUCINOR — stylesheet
   Two rooms: the cinema (black) and the gallery (plate grey).
   Tweak the grade under :root without touching anything else. */

:root {
  --black: #000000;
  --smoke: #8a8a86;      /* secondary text on black */
  --bone:  #ece9e2;      /* primary text on black */
  --plate: #e6e6e3;      /* gallery wall — same grey as the mockup plates */
  --plate-deep: #d9d9d5;
  --ink:   #121212;      /* text on plate */
  --ink-soft: #5c5c58;
  --moon:  #9fb0cc;      /* the one accent: 2am screen light */

  /* film grade (hero + player) */
  --grade-contrast: 1.12;
  --grade-saturate: .72;
  --grade-brightness: .82;
  --grade-shadow: rgba(10, 16, 28, .55);
  --grade-highlight: rgba(255, 244, 226, .06);
  --grain-opacity: .16;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --measure: 34rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--moon); outline-offset: 3px; }
::selection { background: var(--moon); color: var(--black); }

.serif { font-family: var(--serif); font-weight: 400; }
.small { font-size: .8rem; color: var(--smoke); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Loader: spray-painted wordmark ---------- */
body.loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 200; background: var(--black); overflow: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader canvas { position: absolute; inset: 0; width: 100vw; height: 100vh; height: 100svh; display: block; }
.loader-skip { position: absolute; right: var(--gutter); bottom: 28px; font-size: .8rem; color: var(--smoke); opacity: 0; transition: opacity .6s; }
.loader.showskip .loader-skip { opacity: 1; }
.loader-skip:hover { color: var(--bone); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #fff;
  transition: transform .5s var(--ease);
}
.nav.hide { transform: translateY(-100%); }
.nav-logo { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: .85rem; }
.nav-links a { opacity: .75; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-bag { display: flex; gap: 6px; font-size: .85rem; }
.nav-bag b { font-weight: 500; }
.nav-menu-btn { display: none; font-size: .85rem; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
}

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--black);
  display: grid; align-content: center; gap: 8px; padding: var(--gutter);
  transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden;
}
.menu.open { transform: none; visibility: visible; }
.menu a { font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.05; }
.menu-close { position: absolute; top: 18px; right: var(--gutter); font-size: .85rem; }

/* ---------- Hero / screening ---------- */
.screen {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black);
}
.screen-media {
  position: absolute; inset: 0;
  filter: contrast(var(--grade-contrast)) saturate(var(--grade-saturate)) brightness(var(--grade-brightness));
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.8s var(--ease), transform 4s var(--ease);
}
.screen.ready .screen-media { opacity: 1; transform: scale(1); }
.screen-media video, .screen-media img { width: 100%; height: 100%; object-fit: cover; }
.screen-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 45%),
    linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%),
    var(--grade-shadow);
  mix-blend-mode: normal;
}
.screen-grade::after {
  content: ""; position: absolute; inset: 0; background: var(--grade-highlight); mix-blend-mode: screen;
}
.grain {
  position: absolute; inset: -50%; width: 200%; height: 200%; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity); mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); }
  60% { transform: translate(-1%,3%); } 80% { transform: translate(3%,1%); } 100% { transform: translate(0,0); }
}

.slate {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
  opacity: 0; transform: translateY(14px); transition: opacity 1.2s .9s var(--ease), transform 1.2s .9s var(--ease);
}
.screen.ready .slate { opacity: 1; transform: none; }
.slate-presents { font-size: .8rem; color: var(--smoke); margin-bottom: 10px; }
.slate-title { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .92; letter-spacing: -.01em; }
.slate-meta { font-size: .8rem; color: var(--smoke); margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.slate-meta span + span::before { content: "/"; margin-right: 18px; opacity: .5; }
.slate-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1px solid currentColor; border-radius: 999px;
  font-size: .85rem; line-height: 1; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn-solid { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn-solid:hover { background: transparent; color: var(--bone); }
.btn-quiet { border-color: transparent; padding-left: 0; padding-right: 0; border-radius: 0; }
.btn-quiet:hover { background: none; color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

@media (max-width: 720px) {
  .slate { grid-template-columns: 1fr; }
  .slate-actions { align-items: flex-start; flex-direction: row; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(96px, 16vh, 180px) var(--gutter); }
.statement h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 8.5vw, 8rem); line-height: .98; letter-spacing: -.015em;
  max-width: 14ch;
}
.statement h2 span { display: block; opacity: 0; transform: translateY(.25em); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.statement.in h2 span { opacity: 1; transform: none; }
.statement.in h2 span:nth-child(2) { transition-delay: .18s; }
.statement.in h2 span:nth-child(3) { transition-delay: .36s; }
.statement p { margin-top: 36px; max-width: var(--measure); color: var(--smoke); font-size: 1.02rem; }

/* ---------- Films / reel ---------- */
.reel { padding: 0 0 clamp(80px, 12vh, 160px); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter) 28px;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 400; }
.section-head p { color: var(--smoke); font-size: .9rem; max-width: 28rem; text-align: right; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } .section-head p { text-align: left; } }

.reel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 880px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px;
  scrollbar-width: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.film { scroll-snap-align: start; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050505; text-align: left; }
.film img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.7) brightness(.8); transition: transform 1.2s var(--ease), filter .8s; }
.film:hover img { transform: scale(1.03); filter: contrast(1.1) saturate(.8) brightness(.92); }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 55%); }
.film-caption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.film-caption h3 { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1; }
.film-caption p { color: var(--smoke); font-size: .8rem; margin-top: 8px; }
.film-play { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--bone); }
.film-play i { display: block; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.film.soon .film-play { color: var(--smoke); }

/* ---------- Exhibition / gallery ---------- */
.gallery { background: var(--plate); color: var(--ink); padding: clamp(80px, 12vh, 160px) 0 clamp(96px, 14vh, 200px); }
.gallery .section-head h2, .gallery .section-head p { color: var(--ink); }
.gallery .section-head p { color: var(--ink-soft); }

.wall { display: grid; gap: clamp(72px, 12vh, 160px); padding: 0 var(--gutter); margin-top: clamp(40px, 6vh, 80px); }
.piece {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end;
}
.piece-image { grid-column: 1 / span 7; position: relative; background: var(--plate-deep); }
.piece-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .6s; }
.piece:nth-child(even) .piece-image { grid-column: 5 / span 7; }
.piece:nth-child(even) .piece-label { grid-column: 1 / span 4; grid-row: 1; }
.piece:nth-child(3n) .piece-image { grid-column: 2 / span 6; }
.piece-label { grid-column: 9 / span 4; align-self: end; opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.piece.in .piece-label { opacity: 1; transform: none; }
/* the wall label — museum caption */
.label-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; }
.label-title small { font-style: normal; font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); margin-left: 8px; }
.label-medium { margin-top: 12px; color: var(--ink-soft); font-size: .9rem; max-width: 26rem; }
.label-row { margin-top: 20px; display: flex; align-items: center; gap: 20px; }
.label-price { font-size: 1rem; }
.label-status { font-size: .8rem; color: var(--ink-soft); }
.gallery .btn { border-color: var(--ink); color: var(--ink); }
.gallery .btn:hover { background: var(--ink); color: var(--plate); }
.piece-flip { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; background: rgba(230,230,227,.9); color: var(--ink); font-size: .75rem; border-radius: 999px; }

@media (max-width: 860px) {
  .piece, .piece:nth-child(even), .piece:nth-child(3n) { grid-template-columns: 1fr; }
  .piece-image, .piece:nth-child(even) .piece-image, .piece:nth-child(3n) .piece-image { grid-column: 1; }
  .piece-label, .piece:nth-child(even) .piece-label { grid-column: 1; grid-row: auto; }
}

/* ---------- Make art ---------- */
.make { padding: clamp(96px, 16vh, 180px) var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.make-text { grid-column: 1 / span 5; }
.make-text h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; font-weight: 400; max-width: 12ch; }
.make-text p { margin-top: 24px; color: var(--smoke); max-width: 30rem; }
.make-text .btn { margin-top: 32px; }
.make-strip { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.make-strip img { width: 100%; object-fit: cover; filter: contrast(1.05) saturate(.6); }
.make-strip img:nth-child(1) { aspect-ratio: 3 / 4; }
.make-strip img:nth-child(2) { aspect-ratio: 3 / 4; margin-top: 48px; }
.make-strip img:nth-child(3) { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
@media (max-width: 860px) { .make { grid-template-columns: 1fr; } .make-text, .make-strip { grid-column: 1; } }

/* ---------- Story ---------- */
.story { padding: 0 var(--gutter) clamp(96px, 16vh, 180px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.story-word { grid-column: 1 / span 5; font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); line-height: .9; letter-spacing: -.02em; }
.story-word small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--smoke); letter-spacing: 0; margin-top: 18px; }
.story-body { grid-column: 7 / span 5; color: var(--bone); font-size: 1.05rem; max-width: var(--measure); }
.story-body p + p { margin-top: 1.1em; }
.story-body p:first-child { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-word, .story-body { grid-column: 1; } }

/* ---------- Mailing ---------- */
.mail { padding: 0 var(--gutter) clamp(96px, 16vh, 180px); }
.mail-box { border-top: 1px solid rgba(236,233,226,.15); padding-top: 40px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.mail-box h2 { grid-column: 1 / span 5; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 400; line-height: 1.1; }
.mail-form { grid-column: 7 / span 6; display: flex; gap: 0; border-bottom: 1px solid var(--bone); }
.mail-form input { flex: 1; background: none; border: 0; color: var(--bone); font: inherit; font-size: 1rem; padding: 12px 0; min-width: 0; }
.mail-form input::placeholder { color: var(--smoke); }
.mail-form button { padding: 12px 0 12px 16px; font-size: .85rem; white-space: nowrap; }
.mail-form button:hover { color: var(--moon); }
.mail-note { grid-column: 7 / span 6; color: var(--smoke); font-size: .8rem; }
@media (max-width: 860px) { .mail-box { grid-template-columns: 1fr; } .mail-box h2, .mail-form, .mail-note { grid-column: 1; } }

/* ---------- Footer ---------- */
.footer { padding: 32px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: .8rem; color: var(--smoke); border-top: 1px solid rgba(236,233,226,.1); }
.footer a:hover { color: var(--bone); }
.footer-links { display: flex; gap: 20px; }

/* ---------- Piece viewer (modal) ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 80; background: var(--plate); color: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(100%); transition: transform .7s var(--ease); visibility: hidden;
  overflow: hidden;
}
.viewer.open { transform: none; visibility: visible; }
.viewer-close { position: absolute; top: 18px; right: var(--gutter); z-index: 2; font-size: .85rem; background: var(--plate); padding: 6px 10px; border-radius: 999px; }
.viewer-media { position: relative; background: var(--plate-deep); overflow: hidden; }
.viewer-media img { width: 100%; height: 100%; object-fit: cover; }
.viewer-views { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; }
.viewer-views button { padding: 8px 14px; border-radius: 999px; background: rgba(230,230,227,.9); font-size: .75rem; }
.viewer-views button[aria-pressed="true"] { background: var(--ink); color: var(--plate); }
.viewer-info { padding: clamp(56px, 8vh, 96px) var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; }
.viewer-info .label-title { font-size: clamp(2rem, 3.4vw, 3rem); }
.viewer-desc { margin-top: 22px; max-width: 30rem; color: var(--ink); font-size: 1rem; }
.viewer-spec { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: .85rem; color: var(--ink-soft); max-width: 30rem; }
.viewer-spec dt { color: var(--ink); }
.sizes { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 48px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: .85rem; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--plate); }
.sizes button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.viewer-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.viewer .btn { border-color: var(--ink); color: var(--ink); }
.viewer .btn:hover { background: var(--ink); color: var(--plate); }
.viewer .btn-solid { background: var(--ink); color: var(--plate); }
.viewer .btn-solid:hover { background: transparent; color: var(--ink); }
.viewer-actions .msg { font-size: .85rem; color: var(--ink-soft); }
.size-guide { margin-top: 28px; font-size: .85rem; color: var(--ink-soft); }
.size-guide summary { cursor: pointer; color: var(--ink); }
.size-guide table { margin-top: 12px; border-collapse: collapse; width: 100%; max-width: 30rem; }
.size-guide th, .size-guide td { text-align: left; padding: 6px 12px 6px 0; border-bottom: 1px solid rgba(18,18,18,.12); font-weight: 400; }
.size-guide th { color: var(--ink); }
.viewer-info .small { margin-top: auto; padding-top: 32px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .viewer { grid-template-columns: 1fr; grid-template-rows: 50svh 1fr; }
  .viewer-info { padding-top: 28px; }
}

/* ---------- Film player ---------- */
.player { position: fixed; inset: 0; z-index: 90; background: var(--black); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .6s; }
.player.open { opacity: 1; visibility: visible; }
.player-stage { position: relative; width: min(100vw, 177.7svh); aspect-ratio: 16 / 9; }
.player-stage video, .player-stage img { width: 100%; height: 100%; object-fit: cover; filter: contrast(var(--grade-contrast)) saturate(var(--grade-saturate)) brightness(var(--grade-brightness)); }
.player-stage .grain { position: absolute; }
.player-close { position: absolute; top: 18px; right: var(--gutter); z-index: 2; font-size: .85rem; color: var(--bone); }
.player-slate { position: absolute; left: 24px; bottom: 24px; color: var(--bone); }
.player-slate h3 { font-family: var(--serif); font-style: italic; font-size: 2rem; font-weight: 400; }
.player-slate p { color: var(--smoke); font-size: .8rem; margin-top: 6px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 100; background: var(--bone); color: var(--black); padding: 12px 18px; border-radius: 999px; font-size: .85rem; opacity: 0; transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cart page ---------- */
.cart-page { min-height: 100svh; padding: clamp(96px, 14vh, 160px) var(--gutter) 80px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cart-page h1 { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 400; line-height: 1; }
.cart-page h1 small { font-family: var(--sans); font-size: .9rem; color: var(--smoke); margin-left: 14px; }
.cart-lines { grid-column: 1 / span 7; display: grid; gap: 8px; align-content: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(236,233,226,.12); }
.line:last-child { border-bottom: 1px solid rgba(236,233,226,.12); }
.line img { width: 96px; aspect-ratio: 4/5; object-fit: cover; }
.line-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.line-meta { color: var(--smoke); font-size: .85rem; margin-top: 4px; }
.line-qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .85rem; }
.line-qty button { width: 28px; height: 28px; border: 1px solid rgba(236,233,226,.3); border-radius: 50%; }
.line-remove { font-size: .8rem; color: var(--smoke); margin-left: 12px; }
.line-remove:hover { color: var(--bone); text-decoration: underline; }
.line-price { text-align: right; }
.summary { grid-column: 9 / span 4; align-self: start; position: sticky; top: 96px; display: grid; gap: 14px; font-size: .9rem; }
.summary-row { display: flex; justify-content: space-between; color: var(--smoke); }
.summary-row.total { color: var(--bone); font-size: 1.1rem; padding-top: 14px; border-top: 1px solid rgba(236,233,226,.15); }
.summary .btn { justify-content: center; margin-top: 8px; }
.promo { display: flex; border-bottom: 1px solid rgba(236,233,226,.3); }
.promo input { flex: 1; background: none; border: 0; color: var(--bone); font: inherit; padding: 10px 0; min-width: 0; }
.promo input::placeholder { color: var(--smoke); }
.promo button { font-size: .85rem; padding-left: 12px; }
.empty { grid-column: 1 / span 7; color: var(--smoke); font-size: 1.05rem; max-width: 28rem; }
.empty .btn { margin-top: 24px; }
@media (max-width: 860px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-lines, .summary, .empty { grid-column: 1; position: static; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .grain { animation: none; }
}
