/* ============================================================
   PHOTOMALY — Revira Interactive
   A PSX-era photo studio, rendered in HTML and CSS.
   ============================================================ */

:root {
  --ink: #0c0b07;
  --night: #14130d;
  --night-2: #191710;
  --olive: #1d1b12;
  --cream: #f0e4c7;
  --cream-2: #d8cbab;
  --muted: #a09a82;
  --muted-2: #7d7864;
  --gold: #d9b978;
  --gold-bright: #f0cf8a;
  --red: #c0392b;
  --red-bright: #e14b36;
  --green: #8bd47a;
  --line: rgba(240, 228, 199, 0.14);
  --line-strong: rgba(240, 228, 199, 0.28);
  --font-display: "Jersey 15", "Silkscreen", monospace;
  --font-label: "Silkscreen", "IBM Plex Mono", monospace;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --shell: min(1240px, calc(100% - 80px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

h1, h2, h3, p, dl, dd, figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Atmosphere ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--night);
  background-image:
    radial-gradient(900px 620px at 78% 4%, rgba(217, 185, 120, 0.14), transparent 66%),
    radial-gradient(680px 520px at 4% 46%, rgba(140, 34, 22, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(20, 19, 13, 0.12), rgba(20, 19, 13, 0.82) 58%, var(--night)),
    url("../assets/wallpaper.svg");
  background-size: auto, auto, auto, 64px 144px;
}

.backdrop::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.58) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 199;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0,
    rgba(0, 0, 0, 0.5) 1px,
    transparent 1px,
    transparent 3px
  );
}

.flash {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.flash.is-flashing {
  animation: flash 0.5s ease-out;
}

@keyframes flash {
  0% { opacity: 0; }
  8% { opacity: 0.85; }
  100% { opacity: 0; }
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.15; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */

.header,
.menu,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  background: rgba(15, 14, 9, 0.88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 23px;
  height: 23px;
  color: var(--gold);
}

.brand__name {
  font-family: var(--font-label);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__name span {
  display: block;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--cream-2);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--cream);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-link .icon {
  width: 13px;
  height: 13px;
}

.icon-link:hover {
  color: var(--cream);
  border-color: var(--line);
  background: rgba(240, 228, 199, 0.05);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn .icon {
  width: 15px;
  height: 15px;
}

.btn--primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.btn--primary:hover {
  background: var(--gold-bright);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.btn--ghost {
  color: var(--cream-2);
}

.btn--ghost:hover {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(240, 228, 199, 0.06);
}

.btn--ghost .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.btn--sm {
  padding: 11px 13px;
  font-size: 8px;
}

.btn--lg {
  padding: 17px 22px;
  font-size: 10px;
}

.btn--xl {
  padding: 20px 26px;
  font-size: 11px;
  width: fit-content;
}

.btn__ext {
  margin-left: 2px;
  color: rgba(12, 11, 7, 0.45);
  font-size: 8px;
}

/* ---------- Mobile menu ---------- */

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-btn__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.menu-btn__bars i {
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  background:
    radial-gradient(700px 500px at 80% 0%, rgba(217, 185, 120, 0.1), transparent 70%),
    rgba(12, 11, 7, 0.985);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
}

.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 108px;
  padding-bottom: 48px;
}

.menu__kicker {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 58px);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.menu__nav a span {
  font-family: var(--font-label);
  font-size: 8px;
  color: var(--gold);
}

.menu__nav a:hover {
  color: var(--gold);
}

.menu__foot {
  margin-top: auto;
  padding-top: 40px;
}

.menu__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--cream-2);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.social-chip:hover {
  border-color: var(--gold);
  color: var(--cream);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 86px 0 104px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 520px at 74% 34%, rgba(217, 185, 120, 0.16), transparent 66%),
    radial-gradient(420px 320px at 6% 92%, rgba(150, 40, 25, 0.15), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 68px;
  align-items: center;
}

.hero__copy {
  max-width: 680px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(225, 75, 54, 0.15);
  animation: blink 2.4s steps(1) infinite;
}

.eyebrow__sep {
  color: var(--muted-2);
}

.hero__title {
  margin-top: 22px;
}

.hero__title img {
  display: block;
  width: min(640px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

.hero__lede {
  max-width: 56ch;
  margin-top: 26px;
  color: var(--cream-2);
  font-size: 16.5px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__facts {
  display: flex;
  gap: 42px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.hero__facts li {
  display: flex;
  flex-direction: column;
}

.hero__facts strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.hero__facts span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__media {
  min-width: 0;
}

.print {
  position: relative;
  padding: 10px 10px 0;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.print--hero {
  transform: rotate(-1deg);
  transition: transform 0.5s ease;
}

.print--hero:hover {
  transform: rotate(0deg);
}

.print__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0906;
}

.print__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.print__img {
  transition: opacity 0.25s ease;
}

.print__img.is-swapping {
  opacity: 0;
}

.print__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px 11px;
  color: #4d4636;
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.print__meta {
  color: #7a705a;
  white-space: nowrap;
}

.rec {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: rgba(10, 9, 6, 0.72);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.rec__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  animation: blink 1.6s steps(1) infinite;
}

.print__stamp {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 7px;
  border: 1px solid rgba(225, 75, 54, 0.85);
  background: rgba(20, 5, 3, 0.4);
  color: #ff6a52;
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  text-shadow: 0 0 8px rgba(255, 80, 60, 0.5);
}

.print__stamp[hidden] {
  display: none;
}

.frames {
  margin-top: 18px;
}

.frames__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.frames__label span {
  color: var(--muted-2);
}

.frames__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.frame {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(240, 228, 199, 0.16);
  background: #0a0906;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.7);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.4s ease;
}

.frame span {
  position: absolute;
  left: 4px;
  bottom: 3px;
  padding: 1px 3px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cream);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.frame:hover img,
.frame.is-active img {
  opacity: 1;
  filter: none;
}

.frame:hover img {
  transform: scale(1.04);
}

.frame.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.frame:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid #0a0906;
  background: var(--cream);
  color: var(--ink);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 11px 13px 9px 26px;
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__sep {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--red);
  opacity: 0.9;
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 112px 0;
  border-top: 1px solid rgba(240, 228, 199, 0.1);
}

.section--work {
  background: rgba(0, 0, 0, 0.18);
}

.section__head {
  max-width: 820px;
  margin-bottom: 54px;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: none;
  background: var(--gold);
  opacity: 0.7;
}

.kicker span {
  color: var(--muted-2);
}

.display {
  margin-top: 16px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.section__lede {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--cream-2);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- Studio ---------- */

.studio {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 64px;
  align-items: center;
}

.print--wide {
  transform: rotate(0.4deg);
}

.studio__copy p {
  max-width: 48ch;
  margin-bottom: 18px;
  color: var(--cream-2);
  font-size: 14.5px;
  line-height: 1.8;
}

.pullquote {
  margin-bottom: 24px !important;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.specs {
  margin-top: 30px;
  border-top: 1px dashed var(--line);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.specs dt {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.specs dd {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---------- Work ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  border: 1px dashed var(--line);
  background: rgba(240, 228, 199, 0.025);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.step:hover {
  border-color: rgba(217, 185, 120, 0.55);
  background: rgba(240, 228, 199, 0.045);
}

.step__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px dashed var(--line);
  background: #0a0906;
}

.step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.step:hover .step__media img {
  transform: scale(1.035);
  filter: saturate(1) brightness(1);
}

.step__body {
  padding: 22px 22px 26px;
}

.step__num {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.step h3 {
  margin-bottom: 12px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.step p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- Album ---------- */

.album__count {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.album__count span {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
}

.album {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.shot__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0906;
  transition: border-color 0.25s ease;
}

.shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.shot__view {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 5px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.shot:hover .shot__frame {
  border-color: var(--gold);
}

.shot:hover .shot__frame img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.shot:hover .shot__view {
  opacity: 1;
  transform: none;
}

.shot__caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.shot__caption span:last-child {
  color: var(--muted-2);
  text-align: right;
}

.shot:hover .shot__caption {
  color: var(--cream);
}

.shot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Modes ---------- */

.section--modes {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent);
}

.modes {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.modes__head {
  position: sticky;
  top: 110px;
}

.modes__note {
  max-width: 34ch;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.update {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(192, 57, 43, 0.45);
  background: rgba(192, 57, 43, 0.08);
  color: var(--cream-2);
  font-size: 10px;
  line-height: 1.5;
}

.update__tag {
  flex: none;
  padding: 4px 6px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modes__list {
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.mode {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 26px 4px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.25s ease;
}

.mode:hover {
  background: rgba(240, 228, 199, 0.025);
}

.mode__num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  opacity: 0.65;
}

.mode__copy h3 {
  margin-bottom: 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.mode__copy p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.mode__tag {
  margin-top: 4px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mode__tag--red {
  border-color: rgba(192, 57, 43, 0.55);
  background: rgba(192, 57, 43, 0.1);
  color: #ff8a75;
}

/* ---------- Download ---------- */

.download {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px dashed var(--line);
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px 440px at 16% 42%, rgba(217, 185, 120, 0.12), transparent 70%);
}

.download__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.download__copy .btn--xl {
  margin-top: 34px;
}

.download__meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steam {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  color: var(--cream-2);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.steam:hover {
  color: var(--cream);
}

.steam .icon {
  color: var(--gold);
}

.steam__arrow {
  margin-left: auto;
  color: var(--muted) !important;
}

.order {
  position: relative;
  padding: 24px 24px 18px;
  background: var(--cream);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.28), 0 30px 60px rgba(0, 0, 0, 0.35);
  color: #2a2519;
  font-size: 11px;
  transform: rotate(0.6deg);
}

.order::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(42, 37, 25, 0.25);
  pointer-events: none;
}

.order__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2a2519;
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order__status {
  padding: 3px 5px;
  border: 1px solid #8a2a1c;
  color: #8a2a1c;
  transform: rotate(-2deg);
}

.order__rows {
  margin-top: 14px;
}

.order__rows div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(42, 37, 25, 0.28);
}

.order__rows dt {
  color: #7b7057;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order__rows dd {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  text-align: right;
}

.order__specs {
  margin-top: 18px;
}

.order__label {
  margin-bottom: 8px;
  color: #7b7057;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order__specs ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order__specs li {
  position: relative;
  padding-left: 12px;
  font-size: 10px;
}

.order__specs li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 4px;
  height: 4px;
  background: #8a2a1c;
  transform: rotate(45deg);
}

.order__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 2px solid #2a2519;
}

.barcode {
  width: 110px;
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    #2a2519 0 1px,
    transparent 1px 3px,
    #2a2519 3px 5px,
    transparent 5px 6px,
    #2a2519 6px 8px,
    transparent 8px 11px
  );
}

.order__thanks {
  color: #5b523e;
  font-family: var(--font-label);
  font-size: 6px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 1.1fr;
  gap: 60px;
}

.footer__brand img {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin-bottom: 18px;
  opacity: 0.92;
}

.footer__brand p {
  max-width: 32ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer__steam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer__steam .icon {
  width: 12px;
  height: 12px;
}

.footer__steam:hover {
  color: var(--gold-bright);
}

.footer__label {
  margin-bottom: 16px;
  color: var(--muted-2);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__nav a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: var(--cream-2);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__nav a:hover {
  border-color: var(--gold);
  color: var(--cream);
}

.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  color: var(--cream-2);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  border-color: var(--gold);
  background: rgba(240, 228, 199, 0.04);
  color: var(--cream);
}

.socials__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  color: var(--gold);
}

.socials__icon .icon {
  width: 13px;
  height: 13px;
}

.socials__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.socials__text strong {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.socials__text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream-2);
  text-decoration: none;
  white-space: nowrap;
}

.footer__top-link .icon {
  width: 12px;
  height: 12px;
}

.footer__top-link:hover {
  color: var(--gold);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: rgba(7, 6, 4, 0.95);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lightbox__stage {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.lightbox__stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72vh;
  border: 1px solid rgba(240, 228, 199, 0.25);
  background: #0a0906;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox__caption strong {
  color: var(--cream);
  font-weight: 500;
}

.lightbox__caption [data-lightbox-meta] {
  margin-left: 8px;
  color: var(--muted-2);
}

.lightbox__count {
  color: var(--gold);
  white-space: nowrap;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.lightbox__nav {
  justify-self: center;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 48px);
  padding: 12px 16px;
  background: var(--cream);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.steps .reveal:nth-child(2),
.album .reveal:nth-child(2),
.modes__list .reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.steps .reveal:nth-child(3),
.album .reveal:nth-child(3),
.modes__list .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.album .reveal:nth-child(4) {
  transition-delay: 0.21s;
}

.album .reveal:nth-child(5) {
  transition-delay: 0.07s;
}

.album .reveal:nth-child(6) {
  transition-delay: 0.14s;
}

.album .reveal:nth-child(7) {
  transition-delay: 0.21s;
}

.album .reveal:nth-child(8) {
  transition-delay: 0.28s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  :root {
    --shell: min(1240px, calc(100% - 64px));
  }

  .hero__grid {
    gap: 44px;
  }

  .studio {
    gap: 44px;
  }

  .modes {
    gap: 48px;
  }

  .download__grid {
    gap: 48px;
  }

  .footer__top {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 64px 0 84px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__title img {
    width: min(560px, 100%);
  }

  .hero__media {
    max-width: 680px;
  }

  .section {
    padding: 92px 0;
  }

  .steps {
    gap: 16px;
  }

  .step__body {
    padding: 20px 18px 24px;
  }

  .album {
    gap: 14px;
  }

  .modes {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .modes__head {
    position: static;
    max-width: 720px;
  }

  .download__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .download__copy {
    max-width: 680px;
  }

  .order {
    max-width: 560px;
  }

  .footer__top {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .footer__social {
    grid-column: 1 / -1;
  }

  .socials {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .nav,
  .header__socials {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .album__count {
    text-align: left;
  }

  .album__count span {
    display: inline;
    margin-left: 6px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .album {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .print--wide {
    max-width: 680px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .socials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 40px);
  }

  html {
    scroll-padding-top: 84px;
  }

  .header__inner {
    height: 68px;
  }

  .header__cta {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero__title {
    margin-top: 18px;
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .hero__facts {
    gap: 26px;
  }

  .hero__facts strong {
    font-size: 26px;
  }

  .section {
    padding: 76px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .display {
    font-size: clamp(42px, 11vw, 64px);
  }

  .frames__list {
    gap: 6px;
  }

  .frame span {
    display: none;
  }

  .order {
    padding: 20px 18px 16px;
    transform: none;
  }

  .footer {
    padding: 54px 0 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lightbox {
    display: block;
    padding: 64px 12px 96px;
  }

  .lightbox__figure {
    max-width: 100%;
  }

  .lightbox__stage img {
    max-height: 64vh;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 24px;
    width: 42px;
    height: 42px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 52px);
  }

  .lightbox__nav--next {
    left: calc(50% + 10px);
  }

  .lightbox__caption {
    padding: 0 8px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .brand__name {
    font-size: 8px;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn--ghost {
    justify-content: space-between;
  }

  .hero__facts {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .hero__note {
    font-size: 8px;
    line-height: 1.8;
  }

  .album {
    grid-template-columns: 1fr;
  }

  .album__count {
    display: none;
  }

  .socials {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .mode {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .mode__tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }

  .mode__copy h3 {
    font-size: 30px;
  }

  .btn--xl {
    width: 100%;
  }

  .download__meta {
    line-height: 1.8;
  }

  .order__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .order__thanks {
    text-align: left;
  }

  .menu__inner {
    padding-top: 92px;
  }

  .lightbox__caption {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .hero__facts strong {
    font-size: 24px;
  }

  .print {
    padding: 7px 7px 0;
  }

  .print__caption {
    font-size: 7px;
  }

  .frames__label {
    font-size: 7px;
  }

  .toast {
    left: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
    font-size: 7px;
  }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    translate: 0 0;
  }

  .print--hero,
  .order {
    transform: none;
  }
}
