:root {
  --bg: #04070d;
  --bg-2: #09111c;
  --paper: #edf2ff;
  --muted: #99a7c4;
  --line: rgba(255, 214, 164, 0.14);
  --panel: rgba(8, 12, 22, 0.8);
  --panel-strong: rgba(8, 13, 24, 0.94);
  --accent: #ffcf7a;
  --accent-2: #c6251c;
  --accent-glow: rgba(198, 37, 28, 0.34);
  --teal-panel: #0d222a;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  --radius: 28px;
  --radius-lg: 36px;
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 74% 12%, rgba(198, 37, 28, 0.18), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(255, 196, 88, 0.1), transparent 20%),
    linear-gradient(180deg, #04060c 0%, #07101b 46%, #03060c 100%);
  font-family: "Space Grotesk", Arial, sans-serif;
}

body.gallery-page {
  background:
    radial-gradient(circle at 82% 14%, rgba(198, 37, 28, 0.12), transparent 20%),
    linear-gradient(180deg, #04070d 0%, #0a1320 100%);
}

body.about-page {
  background:
    radial-gradient(circle at 75% 12%, rgba(198, 37, 28, 0.18), transparent 18%),
    radial-gradient(circle at 15% 80%, rgba(255, 196, 88, 0.12), transparent 18%),
    linear-gradient(180deg, #03060c 0%, #08111c 52%, #04070c 100%);
}

img,
video {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at center, black 28%, transparent 90%);
}

.page-glow {
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 37, 28, 0.12), transparent 18%),
    radial-gradient(circle at 70% 96%, rgba(255, 196, 88, 0.12), transparent 22%);
}

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 100vh;
  z-index: 70;
  background: rgba(255, 255, 255, 0.05);
}

#scroll-progress {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #ffd36b, var(--accent-2));
  box-shadow: 0 0 20px rgba(198, 37, 28, 0.72);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), 1440px);
  margin: 0 auto;
  padding: 1.1rem 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 209, 120, 0.08);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__nav--left {
  justify-content: flex-start;
}

.topbar__nav--right {
  justify-content: flex-end;
}

.topbar__nav a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.79rem;
  text-transform: uppercase;
  color: rgba(237, 242, 255, 0.86);
}

.topbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  line-height: 1;
}

.topbar__brand {
  justify-self: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 228, 215, 0.9);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 203, 112, 0.18);
  background: linear-gradient(180deg, rgba(196, 51, 37, 0.92), rgba(130, 24, 19, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 34px var(--accent-glow);
  color: #f6fbff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.cta--small {
  padding: 0.85rem 1.2rem;
}

.text-link {
  color: var(--paper);
  opacity: 0.84;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

main {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding-bottom: 7rem;
}

.section {
  position: relative;
  padding: 5.4rem 0;
}

.hero--immersive {
  padding-top: 4.8rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.04), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 50%);
  pointer-events: none;
}

.hero__copy,
.section-intro {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.pill,
.mono-note,
.footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.7rem;
  border: 1px solid rgba(255, 210, 134, 0.18);
  border-radius: 999px;
  background: rgba(97, 26, 20, 0.34);
  color: #ffdca8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.mono-note,
.footer__eyebrow {
  padding: 0;
  border: 0;
  background: transparent;
}

.hero__title,
.section-intro h2 {
  margin: 1.1rem auto 0;
  max-width: 12ch;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero__title--wide {
  max-width: 12.7ch;
}

.scribble-wrap {
  position: relative;
  display: inline-block;
}

.scribble-wrap::after {
  content: "";
  position: absolute;
  left: -0.18em;
  right: -0.18em;
  top: 54%;
  height: 0.58em;
  border: 3px solid rgba(255, 183, 78, 0.95);
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero__subtitle,
.section-intro p {
  width: min(100%, 760px);
  margin: 1.3rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero__subtitle--wide {
  width: min(100%, 820px);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.video-stage,
.hero-stills__card,
.wide-story__panel,
.story-split__item,
.step-card,
.clip-card,
.post-panel,
.grading-compare,
.grading-info,
.gear-card,
.gear-stats,
.gallery-callout__preview,
.lightbox,
.gallery-grid__item,
.gallery-grid__feature {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.9), rgba(5, 9, 18, 0.88)),
    radial-gradient(circle at top, rgba(255, 196, 88, 0.08), transparent 32%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.video-stage {
  width: min(100%, 1260px);
  margin: 3rem auto 0;
  padding: 1.1rem;
  border-radius: 42px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(255, 207, 122, 0.08);
}

.video-stage__frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(1, 4, 12, 0.92);
}

.video-stage__meta {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.video-stage__meta h2,
.video-shell__kicker {
  margin: 0;
}

.video-shell__kicker {
  color: #c7b8ae;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.video-stage__meta h2 {
  margin-top: 0.22rem;
  font-size: 1.22rem;
}

.video-shell__icons {
  display: flex;
  gap: 0.45rem;
}

.video-shell__icons span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.video-stage__video {
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  filter: brightness(0.48) contrast(1.08) saturate(0.9);
}

.video-stage__overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  max-width: 360px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(4, 9, 18, 0.52);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 205, 120, 0.12);
}

.video-stage__badge {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: #fff3ef;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.video-stage__overlay p {
  margin: 0;
  color: #d7cfc5;
  line-height: 1.6;
}

.hero-stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-stills--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stills__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0.9rem;
  border-radius: 28px;
}

.hero-stills__card img {
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

.hero-stills__card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.22rem;
}

.hero-stills__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.8rem;
  color: rgba(236, 228, 215, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.showcase-grid {
  padding-top: 5.6rem;
}

.luminous-system {
  padding-top: 6rem;
}

.luminous-system__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.luminous-display,
.luminous-copy,
.about-display {
  overflow: hidden;
  border-radius: 34px;
}

.luminous-display {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 208, 122, 0.18), transparent 16%),
    linear-gradient(180deg, rgba(10, 14, 26, 0.98), rgba(4, 8, 16, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.luminous-copy {
  padding: 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 80% 16%, rgba(255, 187, 72, 0.12), transparent 24%);
  box-shadow: var(--shadow);
}

.luminous-display__beam {
  position: relative;
  position: absolute;
  left: 5%;
  right: 38%;
  top: 22%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 222, 166, 0), rgba(255, 216, 134, 0.9), rgba(255, 222, 166, 0));
  filter: blur(2px);
  box-shadow: 0 0 36px rgba(255, 183, 78, 0.34);
}

.luminous-display__screen {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 216, 150, 0.14);
  background: rgba(7, 11, 20, 0.86);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.luminous-display__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.luminous-display__screen--main {
  inset: 12% 13% 12% 13%;
}

.luminous-display__screen--left {
  width: 30%;
  height: 42%;
  left: 7%;
  top: 23%;
  transform: perspective(1200px) rotateY(26deg) rotateX(4deg);
}

.luminous-display__screen--right {
  width: 30%;
  height: 42%;
  right: 7%;
  top: 30%;
  transform: perspective(1200px) rotateY(-26deg) rotateX(4deg);
}

.showcase-grid__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.showcase-card {
  overflow: hidden;
  border-radius: 30px;
}

.showcase-card img,
.showcase-card video {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.showcase-card__body {
  padding: 1rem 1rem 1.2rem;
}

.showcase-card__body h3 {
  margin: 0;
  font-size: 1.28rem;
}

.showcase-card__body p:not(.mono-note) {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.production--spaced {
  padding-top: 6rem;
}

.wide-story {
  margin-top: 2.4rem;
}

.wide-story__panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 36px;
}

.wide-story__panel img {
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.wide-story__copy,
.step-card__copy,
.post-panel__body,
.story-split__body,
.clip-card__body,
.grading-info,
.gear-card__body {
  padding: 1.1rem;
}

.wide-story__copy h3,
.step-card__copy h3,
.story-split__body h3,
.clip-card__body h3,
.post-panel__body h3,
.grading-info h3,
.gear-card__body h3,
.gallery-callout__copy h2 {
  margin: 0;
  font-size: 1.46rem;
}

.wide-story__copy p,
.step-card__copy p,
.story-split__body p,
.clip-card__body p,
.post-panel__body p,
.grading-info p,
.gear-card__body p,
.gallery-callout__copy p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.step-card__index {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0.11;
}

.story-split,
.clip-grid,
.gear-grid--expanded,
.gallery-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.clip-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-split__item,
.clip-card,
.gear-card {
  overflow: hidden;
  border-radius: 30px;
}

.story-split__item img,
.gear-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stacked-steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stacked-steps--airy {
  margin-top: 2.8rem;
}

.step-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 36px;
}

.step-card__media img {
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.clip-card__media,
.post-panel img {
  overflow: hidden;
}

.clip-card__media video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: black;
}

.post-grid {
  padding-top: 6rem;
}

.post-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.post-panel {
  overflow: hidden;
  border-radius: 32px;
}

.post-panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section--grading {
  margin-top: 2.5rem;
  padding: 5rem clamp(1rem, 4vw, 2rem);
  border-radius: 42px;
  background: linear-gradient(180deg, #0f242d 0%, #0b1b22 100%);
}

.section-intro--grading h2 {
  max-width: 11ch;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
}

.grading-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.grading-compare,
.grading-info {
  border-radius: 34px;
  background: rgba(8, 19, 24, 0.45);
}

.grading-compare {
  padding: 1.1rem;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.compare-header h3 {
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
}

.compare-note {
  color: #bfd3d9;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.compare {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 26px;
  aspect-ratio: 16 / 10;
}

.compare__base,
.compare__graded img {
  height: 100%;
  object-fit: cover;
}

.compare__base--gray {
  filter: grayscale(1) contrast(1.04) brightness(0.92);
}

.compare__graded {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
}

.compare__graded img {
  width: 100%;
  filter: saturate(1.15) contrast(1.08) sepia(0.05) hue-rotate(-8deg) brightness(0.97);
}

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare__labels {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  color: #f3ebe0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.detail-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d5dfdf;
  line-height: 1.72;
}

.grading-info img {
  margin: 0 0 1rem;
  border-radius: 20px;
}

.gear-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 999px;
}

.gear-stats span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.77rem;
  text-transform: uppercase;
}

.gallery-callout {
  align-items: center;
}

.about-overview {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: 1.8rem;
  align-items: center;
}

.about-display {
  position: relative;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 198, 96, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.98), rgba(5, 8, 16, 0.98));
  padding: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-display__halo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 18%, rgba(255, 205, 112, 0.16), transparent 24%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.about-display img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  border-radius: 28px;
  filter: brightness(0.78) contrast(1.08) saturate(0.85);
}

.gallery-callout__copy {
  padding-right: 1rem;
}

.gallery-callout__preview {
  overflow: hidden;
  border-radius: 32px;
}

.gallery-callout__preview img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.footer {
  padding-top: 5.8rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  color: var(--muted);
}

.footer__grid p {
  margin: 0.35rem 0;
  line-height: 1.62;
}

.footer__wordmark {
  margin-top: 2.5rem;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
}

.gallery-hero {
  padding-top: 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.gallery-grid--even {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid__feature,
.gallery-grid__item {
  overflow: hidden;
  border-radius: 30px;
  cursor: pointer;
}

.gallery-grid__feature {
  grid-column: span 7;
}

.gallery-grid__feature--tall {
  grid-column: span 5;
}

.gallery-grid__item {
  grid-column: span 4;
}

.gallery-grid--even .gallery-grid__feature,
.gallery-grid--even .gallery-grid__feature--tall,
.gallery-grid--even .gallery-grid__item {
  grid-column: auto;
}

.gallery-grid--even .gallery-grid__feature img,
.gallery-grid--even .gallery-grid__feature--tall img,
.gallery-grid--even .gallery-grid__item img {
  aspect-ratio: 4 / 3;
}

.gallery-grid__feature img,
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid__caption {
  padding: 1rem 1rem 1.1rem;
}

.gallery-grid__caption h3 {
  margin: 0;
  font-size: 1.15rem;
}

.gallery-grid__caption p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.lightbox {
  width: min(92vw, 1120px);
  padding: 1rem;
  border-radius: 28px;
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox img {
  max-height: 75vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox p {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--muted);
}

.lightbox__close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 0.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.tilt-card:hover {
  border-color: rgba(255, 191, 92, 0.28);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(64px) scale(0.985);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .topbar__nav,
  .topbar__nav--left,
  .topbar__nav--right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stills,
  .showcase-grid__row,
  .luminous-system__grid,
  .story-split,
  .clip-grid,
  .gear-grid--expanded,
  .gallery-callout,
  .about-overview,
  .footer__grid,
  .wide-story__panel,
  .step-card,
  .post-panels,
  .grading-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid__feature,
  .gallery-grid__feature--tall,
  .gallery-grid__item {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  main,
  .topbar {
    width: min(calc(100% - 1rem), 100%);
  }

  .hero__title,
  .section-intro h2 {
    font-size: clamp(2.5rem, 13vw, 4.4rem);
  }

  .video-stage__video {
    aspect-ratio: 16 / 11;
  }

  .video-stage__meta,
  .compare-header,
  .hero-stills__card,
  .gear-stats {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stills__card {
    display: grid;
  }

  .hero-stills__card img {
    min-height: 220px;
  }

  .video-stage__overlay {
    max-width: calc(100% - 2rem);
  }

  .logo-row {
    gap: 1rem;
    font-size: 0.72rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
