/* dud studio — ported from Paper file "dud studios", page "website" */

:root {
  --ink: #ffffff;
  --ink-80: rgba(255, 255, 255, .8);
  --ink-75: rgba(255, 255, 255, .75);
  --ink-70: rgba(255, 255, 255, .7);
  --ink-60: rgba(255, 255, 255, .6);
  --ink-55: rgba(255, 255, 255, .55);
  --ink-45: rgba(255, 255, 255, .45);
  --ink-40: rgba(255, 255, 255, .4);
  --ink-28: rgba(255, 255, 255, .28);
  --ink-20: rgba(255, 255, 255, .2);
  --hair: rgba(255, 255, 255, .15);
  --tint: rgba(255, 255, 255, .04);
  --tint-strong: rgba(255, 255, 255, .06);
  --bg: #000000;

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --serif: "Newsreader", ui-serif, Georgia, serif;

  --col: 1000px;
  --gutter: calc((100vw - var(--col)) / 2);
  --section: 200px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
  accent-color: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* browser surfaces */
::selection { background: #ffffff; color: #000000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .32); }
html { scrollbar-color: rgba(255, 255, 255, .18) #000; scrollbar-width: thin; }
:focus-visible { outline: 1px solid #fff; outline-offset: 3px; border-radius: 2px; }
::placeholder { color: rgba(255, 255, 255, .35); }
input, textarea, button { font: inherit; color: inherit; caret-color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* underline draws in from the left */
.u {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .2s var(--ease), color .2s ease;
}
.u:hover, .u:focus-visible { background-size: 100% 1px; }

/* images fade in once decoded (class added by JS only) */
.img-pre { opacity: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- type ---------- */
.label { font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 16px; margin: 0; }
.label-wide { letter-spacing: .06em; }
.muted { color: var(--ink-55); }
.quiet { color: var(--ink-40); }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; }

/* ---------- shell ---------- */
.page { padding-top: 64px; }
.col { width: min(var(--col), 100% - 48px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav { position: relative; display: flex; flex-direction: column; align-items: center; }
.nav__puff {
  position: absolute; z-index: 2; width: 34px; pointer-events: none; opacity: 0;
}
.nav__puff svg { width: 100%; height: auto; fill: #fff; }
.nav__lockup svg #head { transform-box: fill-box; transform-origin: center; }
.nav__lockup { display: block; width: 230px; }
.nav__lockup svg, .nav__lockup img { width: 100%; height: auto; fill: #fff; }
.nav__links { display: flex; gap: 28px; padding-top: 24px; }
.nav__links a { color: var(--ink-60); transition: color .2s ease; }
.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a[aria-current] { color: var(--ink); }

/* ---------- hero (home) ---------- */
.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  min-height: calc(100svh - var(--nav-h, 181px));
  padding-bottom: 40px;
}
.hero .slot { align-self: center; }
.hero__foot {
  display: flex; flex-direction: column; align-items: center; gap: 56px;
  padding-bottom: 4px;
}

.slot { position: relative; display: flex; flex-direction: column; align-items: center; }
.slot__reels {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.slot__reels::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--hair);
  z-index: 2;
}
.reel {
  position: relative;
  width: 130px;
  height: 190px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--tint-strong);
  overflow: hidden;
  transition: border-color .35s var(--ease);
}
.reel.is-win { border-color: rgba(255, 255, 255, .6); }
/* the window is a shallow cylinder: falloff lives on the cells (JS), the
   glass lives here. Nothing here changes between frames. */
.reel::before, .reel::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; border-radius: inherit;
}
.reel::before {
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, .45) 0%,
    rgba(0, 0, 0, .10) 26%,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, .10) 74%,
    rgba(0, 0, 0, .45) 100%);
}
.reel::after {
  z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.reel__strip { will-change: transform; }
.reel__cell {
  height: 108px; display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 50%;
}
.reel__cell img, .reel__cell svg {
  width: 82px; height: 82px; object-fit: contain; fill: #fff;
  transform-origin: 50% 50%;
}

.slot__hint {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  margin: 0; z-index: 3; pointer-events: none;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: var(--ink-60);
  font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 16px;
  white-space: nowrap; opacity: 0;
}

.headline {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: 0; font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -.03em;
}
.headline__row { display: flex; align-items: center; justify-content: center; }
.headline .serif { color: var(--ink-75); font-size: 48px; line-height: 56px; }
.headline__head { width: 40px; height: 42px; flex-shrink: 0; }
.headline__head svg, .headline__head img { width: 100%; height: 100%; fill: #fff; }

.cue { width: 28px; height: 28px; opacity: .4; transition: opacity .4s var(--ease); }
.cue__move, .cue__flip { display: block; }
.cue__move { animation: cue-track 6.8s ease-in-out infinite; }
.cue__flip { animation: cue-turn 6.8s linear infinite; }
.cue img, .cue svg {
  width: 100%; height: 100%; fill: #fff;
  transform-origin: 50% 100%;
  animation: cue-squash .62s ease-in-out infinite alternate;
}
.cue.is-past { opacity: 0; }
.cue.is-past .cue__move, .cue.is-past .cue__flip, .cue.is-past img {
  animation-play-state: paused;
}
/* 2.5s crawl · 600ms rest · 300ms turn, each way — never past 24px from centre */
@keyframes cue-track {
  0%    { transform: translateX(-24px); }
  36.8% { transform: translateX(24px); }
  50%   { transform: translateX(24px); }
  86.8% { transform: translateX(-24px); }
  100%  { transform: translateX(-24px); }
}
@keyframes cue-turn {
  0%, 45.6%  { transform: scaleX(1); }
  50%, 95.6% { transform: scaleX(-1); }
  100%       { transform: scaleX(1); }
}
@keyframes cue-squash {
  from { transform: scale(1, 1); }
  to   { transform: scale(1.06, .97); }
}

/* ---------- section heads ---------- */
.section { padding-top: var(--section); }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--hair);
}
.more {
  font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 16px;
  color: var(--ink-55); transition: color .2s ease;
}
.more:hover, .more:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- horizontal strips ---------- */
.strip {
  display: flex; gap: 20px; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
  padding-right: 24px; padding-bottom: 4px;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-draggable { cursor: grab; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip.is-dragging a { pointer-events: none; }
.strip > * { scroll-snap-align: start; flex-shrink: 0; }
/* full-bleed right from a full-width parent */
.work .strip { padding-left: var(--gutter); scroll-padding-left: var(--gutter); }
/* full-bleed right from inside the 1000px column */
.stack .strip { margin-right: calc(50% - 50vw); }

.work { padding-top: var(--section); }
.work .section__head { width: min(var(--col), 100% - 48px); margin-inline: auto; margin-bottom: 40px; }

.card {
  width: 480px; border: 1px solid var(--hair); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; transition: border-color .25s ease;
}
a.card:hover { border-color: rgba(255, 255, 255, .35); }
.card__media img { transition: opacity .3s var(--ease); }
a.card:hover .card__media img { opacity: .9; }
.card__media {
  width: 100%; aspect-ratio: 432 / 270; border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, .03);
  display: flex; align-items: center; justify-content: center;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.card__media img.card__ghost { width: 96px; height: 102px; opacity: .18; object-fit: contain; object-position: 50% 50%; }
.card__title { margin: 28px 0 0; font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 36px; }
.card__desc {
  margin: 8px 0 20px; font-family: var(--serif); font-weight: 300;
  font-size: 20px; line-height: 26px; color: var(--ink-55);
}
.card__meta { display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid var(--hair); }
.card__meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 200px; }
.card__meta li { font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 16px; color: var(--ink-55); }
.card--ghost .card__title,
.card--ghost .card__desc,
.card--ghost li { color: var(--ink-28); }

/* ---------- work grid (work.html) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.grid .card { width: auto; padding: 20px; }
.grid .card__title { margin-top: 22px; font-size: 26px; line-height: 30px; }
.grid .card__desc { font-size: 17px; line-height: 24px; margin-bottom: 18px; }
.grid .card__meta { gap: 16px; }
.grid .card__meta ul { width: auto; flex: 1; }
.grid .card__media img.card__ghost { width: 72px; height: 76px; }

.workpage { display: flex; flex-direction: column; gap: 40px; padding-top: 110px; }
.workpage .section__head { margin-bottom: 0; }

/* ---------- pill ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; color: #000; border: 0; border-radius: 100px;
  font-family: var(--sans); font-weight: 600; cursor: pointer;
  transition: opacity .2s ease;
}
.pill { transition: opacity .2s ease, transform .12s ease-out; }
.pill:hover { opacity: .85; }
.pill:active { transform: scale(.98); }
.pill--xl { height: 96px; padding-inline: 56px; font-size: 40px; letter-spacing: -.03em; }
.pill--lg { padding: 24px 56px; font-size: 32px; letter-spacing: -.02em; }
.pill--md { padding: 16px 40px; font-size: 18px; letter-spacing: -.01em; }
.pill--sm { height: 56px; padding-inline: 44px; font-size: 16px; letter-spacing: -.02em; }
.pill svg { fill: currentColor; }

.contact-cta { padding-top: var(--section); display: flex; justify-content: center; }

/* ---------- footer ---------- */
.footer { padding-top: var(--section); padding-bottom: 160px; }
.footer hr { border: 0; border-top: 1px solid var(--hair); margin: 0; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; }
.footer__place { color: var(--ink-55); }
.footer__x { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-55); transition: color .2s ease; }
.footer__x:hover { color: var(--ink); }
.footer__x svg { width: 12px; height: 12px; fill: #fff; }

/* ---------- video store page ---------- */
.stack { display: flex; flex-direction: column; gap: 110px; padding-top: 110px; }

.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.back { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink-55); transition: color .2s ease; }
.back:hover, .back:focus-visible { color: var(--ink); }
.back__arrow { display: inline-block; transition: transform .2s var(--ease); }
.back:hover .back__arrow { transform: translateX(-3px); }
.intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; }
.intro__lettering { width: 400px; height: 192px; object-fit: contain; object-position: left bottom; }
.intro__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.intro__blurb {
  margin: 0; max-width: 820px; font-family: var(--serif); font-weight: 300;
  font-size: 25px; line-height: 38px; letter-spacing: -.01em; color: var(--ink-80);
}

.demo {
  position: relative; width: 100%; aspect-ratio: 1000 / 562;
  border: 1px solid var(--hair); border-radius: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 0; background: #000; cursor: pointer;
}
.demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); transition: background .3s ease; }
.demo:hover .demo__scrim { background: rgba(0, 0, 0, .26); }
.demo .pill { position: relative; z-index: 1; }
.demo__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #000; color: var(--ink-40); font-size: 12px; letter-spacing: .02em; z-index: 2;
}

.stats { display: flex; flex-direction: column; gap: 16px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 0; margin: 0; }
.stats__grid > div { display: flex; flex-direction: column; gap: 8px; }
.stats__grid dt { font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 38px; }
.stats__grid dd { margin: 0; font-size: 12px; letter-spacing: .04em; line-height: 16px; color: var(--ink-45); }
.stats__rule { border: 0; border-top: 1px solid var(--hair); margin: 0; grid-column: 1 / -1; }
.stats__note { color: var(--ink-40); font-size: 12px; letter-spacing: .02em; }

.symbols { display: flex; flex-direction: column; gap: 40px; }
.symbols__grid {
  display: grid; grid-template-columns: repeat(5, 160px);
  column-gap: 50px; row-gap: 40px; justify-content: space-between;
  list-style: none; margin: 0; padding: 0;
}
.symbol { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.symbol__box {
  position: relative; width: 160px; height: 160px;
  border: 1px solid var(--hair); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.symbol__box img { width: 112px; height: 112px; object-fit: contain; transition: transform .25s var(--ease); }
.symbol__box:hover img { transform: translateY(-2px); }
.symbol__tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255, 255, 255, .2); border-radius: 100px; padding: 4px 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 14px;
}
.symbol__name { font-size: 12px; letter-spacing: .02em; color: var(--ink-60); text-align: center; }

.features { display: flex; flex-direction: column; }
.feature { display: flex; align-items: center; gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--hair); }
.feature img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 26px; }
.feature p { margin: 0; font-size: 14px; letter-spacing: .01em; line-height: 20px; color: var(--ink-55); }

.screens { display: flex; flex-direction: column; gap: 40px; }
.screens .strip img { width: 480px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--hair); }

.cast { display: flex; flex-direction: column; gap: 40px; }
.cast__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cast__member { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 320px; }
.cast__member img { height: 220px; width: auto; object-fit: contain; }
.cast__member span { font-size: 12px; letter-spacing: .02em; color: var(--ink-60); }

.prevnext {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .02em; color: var(--ink-20);
}

/* ---------- 404 ---------- */
.centre { display: flex; flex-direction: column; align-items: center; gap: 44px; padding-top: 140px; }
.centre__title {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  font-size: 50px; line-height: 58px; font-weight: 600; letter-spacing: -.03em;
}
.centre__title .serif { color: var(--ink-75); font-size: 50px; line-height: 58px; }
.centre .slot__reels { cursor: default; }

/* ---------- about ---------- */
.about { display: flex; flex-direction: column; gap: 110px; padding-top: 110px; }
.about__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; }
.about__title { margin: 0; display: flex; flex-direction: column; font-size: 50px; line-height: 60px; font-weight: 600; letter-spacing: -.03em; }
.about__title .serif { color: var(--ink-70); font-size: 50px; line-height: 60px; }
.about__lead {
  margin: 0; max-width: 760px; font-family: var(--serif); font-weight: 300;
  font-size: 20px; line-height: 34px; color: var(--ink-80);
}
.about__cols {
  display: grid; grid-template-columns: 306px 306px 266px; justify-content: space-between;
  gap: 40px; padding-top: 28px; border-top: 1px solid var(--hair); margin: 0;
}
.about__cols dt { margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .06em; line-height: 16px; color: var(--ink-40); }
.about__cols dd { margin: 0; font-size: 14px; letter-spacing: .01em; line-height: 26px; }

.principles { display: flex; flex-direction: column; }
.principles__head { padding-bottom: 20px; border-bottom: 1px solid var(--hair); color: var(--ink-40); }
.principles ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li {
  display: flex; align-items: baseline; gap: 28px; padding-block: 22px;
  border-bottom: 1px solid var(--hair);
  font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 26px;
  counter-increment: p;
}
.principles li::before {
  content: "0" counter(p);
  flex-shrink: 0; width: 32px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .04em; line-height: 24px; color: var(--ink-40);
}
.about__mark { display: flex; justify-content: center; }
.about__mark svg, .about__mark img { width: 200px; height: 200px; fill: #fff; }

/* ---------- contact ---------- */
.contact { display: flex; flex-direction: column; gap: 64px; padding-top: 110px; }
.contact__title { margin: 0; display: flex; align-items: center; font-size: 50px; line-height: 58px; font-weight: 600; letter-spacing: -.03em; }
.contact__title .serif { color: var(--ink-75); font-size: 50px; line-height: 58px; }
.contact__head { width: 42px; height: 44px; flex-shrink: 0; }
.contact__head svg, .contact__head img { width: 100%; height: 100%; fill: #fff; }

.form { display: flex; flex-direction: column; gap: 64px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 16px; color: var(--ink-60); transition: color .2s ease; }
.field:focus-within label { color: var(--ink); }
.field input {
  height: 48px; background: none; border: 0; border-bottom: 1px solid var(--hair);
  border-radius: 0; padding: 0; font-size: 14px; line-height: 20px; letter-spacing: -.01em;
  transition: border-color .2s ease;
}
.field textarea {
  min-height: 120px; background: none; border: 1px solid var(--hair); border-radius: 16px;
  padding: 18px 20px; font-size: 14px; line-height: 22px; letter-spacing: -.01em; resize: vertical;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #ffffff; }
.form__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.form__contacts { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .02em; color: var(--ink-55); }
.form__contacts a { transition: color .2s ease; }
.form__contacts a:hover { color: var(--ink); }
.form__contacts svg { width: 11px; height: 11px; fill: var(--ink-55); }
.form__note { padding-top: 24px; border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .02em; color: var(--ink-40); }
.form__status { font-size: 12px; letter-spacing: .02em; line-height: 16px; color: var(--ink-60); }

/* ---------- reveal ----------
   .is-pre is applied by JS only, so content stays visible without it. */
.is-pre { opacity: 0; }

/* ---------- lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- loader ---------- */
html.is-loading { overflow: hidden; }
html.is-loading body > *:not(.loader) { opacity: 0; }
.loader { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; }
.loader__stage { display: grid; place-items: center; }
.loader__face, .loader__lockup { grid-area: 1 / 1; }
.loader__face { width: 200px; opacity: 0; }
.loader__face svg { width: 100%; height: auto; fill: #fff; }
.loader__face #uh { opacity: 0; }
.loader__lockup { width: 340px; opacity: 0; transform-origin: 0 0; will-change: transform, opacity; }
.loader__lockup svg { width: 100%; height: auto; fill: #fff; }
.loader__lockup #head { opacity: 0; }
/* top-level lockup groups only: nested groups keep their user-space transforms */
.loader__lockup > svg > g { transform-box: fill-box; transform-origin: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 24px; }
  .about__cols { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --section: 120px; --gutter: 20px; }

  .col { width: calc(100% - 40px); }
  .page { padding-top: 40px; }

  .nav__lockup { width: 150px; }
  .hero { min-height: calc(100svh - var(--nav-h, 130px)); padding-bottom: 28px; }
  .hero__foot { gap: 40px; }
  .slot__reels { gap: 12px; }
  .reel { width: 96px; height: 140px; border-radius: 12px; }
  .reel__cell { height: 80px; }
  .reel__cell svg, .reel__cell img { width: 60px; height: 60px; }

  .headline, .headline .serif { font-size: 30px; line-height: 38px; }
  .headline__head { width: 26px; height: 28px; }

  .grid { grid-template-columns: 1fr; }
  .workpage { padding-top: 72px; }
  .card { width: 300px; padding: 18px; border-radius: 18px; }
  .card__title { font-size: 24px; line-height: 28px; margin-top: 20px; }
  .card__desc { font-size: 17px; line-height: 24px; }
  .card__meta { gap: 16px; }
  .card__meta ul { width: auto; flex: 1; }

  .pill--xl { height: 60px; padding-inline: 26px; font-size: 20px; }
  .pill--lg { padding: 18px 28px; font-size: 20px; }

  .footer { padding-bottom: 80px; }
  .footer__row { flex-direction: column; align-items: flex-start; gap: 12px; }

  .stack, .about { gap: 72px; padding-top: 72px; }
  .intro__row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .intro__lettering { width: 100%; height: auto; }
  .intro__cta { align-items: flex-start; }
  .intro__blurb { font-size: 20px; line-height: 30px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid dt { font-size: 26px; line-height: 32px; }

  .symbols__grid { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
  .symbol__box { width: 100%; height: auto; aspect-ratio: 1; }
  .symbol__box img { width: 70%; height: 70%; }

  .feature { gap: 18px; padding-block: 20px; }
  .feature img { width: 48px; height: 48px; }

  .screens .strip img { width: 300px; }
  .cast__row { gap: 12px; }
  .cast__member { width: auto; flex: 1; }
  .cast__member img { height: 140px; }

  .centre { padding-top: 72px; gap: 32px; }
  .centre__title, .centre__title .serif { font-size: 30px; line-height: 38px; }

  .about__title, .about__title .serif { font-size: 30px; line-height: 40px; }
  .about__lead { font-size: 18px; line-height: 30px; }
  .about__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about__mark svg, .about__mark img { width: 120px; height: 120px; }
  .principles li { font-size: 17px; line-height: 24px; gap: 16px; }

  .contact { padding-top: 72px; gap: 48px; }
  .contact__title, .contact__title .serif { font-size: 30px; line-height: 40px; }
  .contact__head { width: 26px; height: 28px; }
  .form { gap: 40px; }
  .form__row { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .is-pre, .img-pre { opacity: 1; }
  .cue img, .cue svg, .cue__move, .cue__flip { animation: none; }
  html.is-loading body > * { opacity: 1; }
}
