@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-300-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-400i-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --brand-dark: #0b2518;
  --brand-primary: #046241;
  --brand-saffron: #ffb347;
  --brand-paper: #fdfcf5;
  --brand-seasalt: #f9f7f7;
  --white: #ffffff;
  --muted: rgba(11, 37, 24, 0.62);
  --faint: rgba(11, 37, 24, 0.38);
  --line: rgba(11, 37, 24, 0.18);
  --soft-line: rgba(11, 37, 24, 0.1);
  --shadow: 0 14px 36px rgba(11, 37, 24, 0.09);
  --atlas: url("./assets/aigc-worlds-atlas.webp");
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
  scrollbar-gutter: stable;
  background: var(--brand-paper);
}

@supports selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: auto;
    scrollbar-width: auto;
  }

  html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  html::-webkit-scrollbar-track {
    background: var(--brand-paper);
  }

  html::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    background-clip: padding-box;
    border: 2px solid var(--brand-paper);
    border-radius: 999px;
  }

  html::-webkit-scrollbar-thumb:hover {
    background-color: #034f35;
  }

  html::-webkit-scrollbar-button,
  html::-webkit-scrollbar-button:single-button,
  html::-webkit-scrollbar-button:double-button,
  html::-webkit-scrollbar-button:vertical:start:decrement,
  html::-webkit-scrollbar-button:vertical:start:increment,
  html::-webkit-scrollbar-button:vertical:end:decrement,
  html::-webkit-scrollbar-button:vertical:end:increment {
    display: none;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  html::-webkit-scrollbar-corner,
  html::-webkit-resizer {
    background: transparent;
  }
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: var(--brand-primary) var(--brand-paper);
    scrollbar-width: thin;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--brand-dark);
  background: var(--brand-paper);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--brand-dark);
  background: var(--brand-saffron);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 9px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.menu-toggle:focus-visible {
  outline: 2px solid var(--brand-saffron);
  outline-offset: 3px;
}

html.motion-ready .scroll-build {
  --build: 0;
}

html.motion-ready .scroll-build.build-text {
  opacity: calc(0.42 + var(--build) * 0.58);
  transform: translateY(calc((1 - var(--build)) * 34px));
}

html.motion-ready .scroll-build.build-card {
  opacity: calc(0.5 + var(--build) * 0.5);
  transform: translateY(calc((1 - var(--build)) * 54px)) scale(calc(0.97 + var(--build) * 0.03));
}

html.motion-ready .hero-copy {
  transform: translate3d(calc(var(--hero-scroll, 0) * -5.5vw), calc(var(--hero-arc, 0) * -18px), 0) scale(calc(1 - var(--hero-scroll, 0) * 0.045));
  opacity: calc(1 - var(--hero-scroll, 0) * 0.72);
  transform-origin: left center;
  will-change: transform, opacity;
}

html.motion-ready .hero-showcase {
  transform:
    translate3d(calc(var(--hero-scroll, 0) * -23vw), calc(var(--hero-arc, 0) * -36px), 0)
    scale(calc(1 + var(--hero-scroll, 0) * 0.38))
    rotateX(calc(var(--hero-mouse-y, 0) * -0.85deg))
    rotateY(calc(var(--hero-mouse-x, 0) * 0.95deg));
  transform-origin: center center;
  transition: transform 0.12s linear;
  will-change: transform;
}

html.motion-ready .hero-ribbon {
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 90px), 0) scale(calc(1 + var(--hero-scroll, 0) * 0.05));
  will-change: transform;
}

.floating-nav {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: flex;
  width: fit-content;
  max-width: calc(100vw - 32px);
  min-height: 74px;
  padding: 14px 40px;
  align-items: center;
  gap: 32px;
  color: var(--brand-dark);
  background: rgba(254, 253, 249, 0.96);
  border: 1px solid rgba(11, 37, 24, 0.05);
  border-radius: 999px;
  box-shadow:
    0 12px 28px rgba(11, 37, 24, 0.075),
    0 2px 8px rgba(11, 37, 24, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transform: translateX(-50%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .floating-nav {
    background: rgba(254, 253, 249, 0.72);
    -webkit-backdrop-filter: blur(12px) saturate(112%);
    backdrop-filter: blur(12px) saturate(112%);
  }
}

.logo {
  display: flex;
  flex: 0 0 auto;
  width: 144px;
  height: 44px;
  align-items: center;
  overflow: hidden;
}

.logo img {
  width: 144px;
  height: auto;
  filter: brightness(1.1);
}

.desktop-nav {
  display: flex;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0 12px;
  white-space: nowrap;
  color: rgba(11, 37, 24, 0.67);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--brand-saffron);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #8f5f0a;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  padding-left: 32px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-left: 1px solid var(--soft-line);
}

.nav-edition {
  display: flex;
  min-height: 20px;
  align-items: center;
  color: rgba(11, 37, 24, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.section-wrap {
  width: min(1320px, calc(100vw - 96px));
  margin: 0 auto;
}

.section-label,
.eyebrow {
  margin: 0;
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 1500px;
  height: 185vh;
  overflow: clip;
  background:
    radial-gradient(circle at 72% 52%, rgba(255, 179, 71, 0.12), transparent 19%),
    radial-gradient(circle at 18% 40%, rgba(4, 98, 65, 0.06), transparent 27%),
    var(--brand-paper);
}

.hero::after {
  position: absolute;
  right: 7vw;
  bottom: -20vh;
  width: 38vw;
  height: 38vw;
  min-width: 520px;
  min-height: 520px;
  border: 1px solid rgba(11, 37, 24, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-ribbon {
  position: absolute;
  opacity: 0.38;
  border: 1px solid rgba(11, 37, 24, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.ribbon-one {
  top: -34%;
  left: -16%;
  width: 74vw;
  height: 108vh;
  transform: rotate(28deg);
}

.ribbon-two {
  top: -4%;
  left: -25%;
  width: 58vw;
  height: 120vh;
  border-width: 48px;
  border-color: rgba(11, 37, 24, 0.025);
  transform: rotate(-23deg);
}

.hero-inner {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  width: min(1320px, calc(100vw - 96px));
  height: 100vh;
  margin: 0 auto;
  padding-top: 116px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 5vw;
}

.hero-scroll-note {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(11, 37, 24, 0.48);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: calc(1 - var(--hero-scroll, 0) * 1.6);
  pointer-events: none;
}

.hero-scroll-note i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(11, 37, 24, 0.2);
}

.hero-scroll-note i::after {
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  content: "";
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { transform: translateX(-105%); }
  55%, 100% { transform: translateX(105%); }
}

.hero-copy {
  padding-bottom: 10px;
}

.hero h1 {
  max-width: 770px;
  margin: 25px 0 24px;
  font-size: clamp(62px, 6.25vw, 96px);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero h1 strong {
  color: var(--brand-primary);
  font-weight: inherit;
}

.hero-description {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.button-primary {
  padding: 6px 7px 6px 22px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 999px;
}

.button-primary i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--brand-dark);
  background: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-style: normal;
}

.button-primary:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

.button-link {
  min-height: 36px;
  border-bottom: 1px solid rgba(11, 37, 24, 0.45);
}

.button-link:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.hero-metrics {
  display: flex;
  margin: 48px 0 0;
  gap: 42px;
}

.hero-metrics div {
  min-width: 90px;
}

.hero-metrics dt {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.hero-showcase {
  position: relative;
  display: grid;
  height: min(63vh, 610px);
  min-height: 520px;
  grid-template-rows: minmax(0, 1fr) 72px;
  gap: 14px;
  perspective: 1300px;
}

.hero-screen {
  position: relative;
  min-height: 0;
  transform: rotate(calc(-0.8deg + var(--hero-scroll, 0) * 0.8deg));
  transition: transform 0.2s linear;
}

.hero-screen::before {
  position: absolute;
  inset: 16px -14px -12px 18px;
  background: linear-gradient(145deg, var(--brand-dark), #164d38);
  border-radius: 22px;
  content: "";
  transform: rotate(2.4deg);
}

.hero-feature {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  background: var(--brand-dark);
  border: 5px solid #fff;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(11, 37, 24, 0.2);
}

.hero-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 20, 14, 0.28), transparent 32%, transparent 55%, rgba(5, 20, 14, 0.75));
  content: "";
}

.hero-feature .atlas-frame {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.hero-feature:hover .atlas-frame {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.hero-film-top,
.hero-feature-copy {
  position: absolute;
  z-index: 3;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-film-top {
  top: 18px;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.hero-feature-copy {
  bottom: 19px;
  align-items: end;
}

.hero-feature-copy b {
  font-size: clamp(21px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-feature-copy small,
.hero-film-top small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.11em;
}

.hero-film-meta {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 22px;
  display: none;
  gap: 10px;
}

.hero-film-index {
  position: relative;
  z-index: 5;
  display: grid;
  width: 64%;
  height: 72px;
  margin-right: 5%;
  margin-left: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  opacity: calc(1 - var(--hero-scroll, 0) * 0.9);
  transform: translateY(calc(var(--hero-scroll, 0) * 16px));
  transition: opacity 0.15s linear, transform 0.15s linear;
}

.hero-film-index button {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--brand-dark);
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0 9px 24px rgba(11, 37, 24, 0.12);
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-film-index button:hover,
.hero-film-index button.is-active {
  border-color: var(--brand-saffron);
  opacity: 1;
  transform: translateY(-4px);
}

.hero-film-index button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(5, 20, 14, 0.42));
  content: "";
}

.hero-film-index b {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 6px;
  color: #fff;
  font-size: 8px;
}

.hero-gallery-mode {
  --gallery-y: 66%;
  height: 100vh;
  min-height: 760px;
}

.hero-gallery-mode .hero-inner {
  position: relative;
  top: auto;
  display: block;
  width: 100%;
  max-width: none;
  height: 100vh;
  padding-top: 0;
  isolation: isolate;
}

.hero-gallery-mode .hero-copy {
  position: absolute;
  z-index: 10;
  top: clamp(120px, 10vh, 160px);
  right: 0;
  left: 0;
  max-width: clamp(860px, 54vw, 1180px);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
}

html.motion-ready .hero-gallery-mode .hero-copy {
  opacity: 1;
  transform: none;
  transform-origin: center top;
  will-change: auto;
}

.hero-gallery-mode .hero-ribbon {
  filter: none;
}

html.motion-ready .hero-gallery-mode .hero-ribbon {
  transform: none;
  will-change: auto;
}

.hero-gallery-mode .hero h1,
.hero-gallery-mode h1 {
  max-width: none;
  margin: 18px 0 16px;
  font-size: clamp(50px, min(4.8vw, 8vh), 88px);
  line-height: 0.98;
}

.hero-gallery-mode .hero-description {
  max-width: clamp(720px, 45vw, 940px);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(16px, 1.2vw, 21px);
}

.hero-gallery-mode .hero-actions {
  justify-content: center;
  margin-top: 22px;
  pointer-events: auto;
}

.hero-gallery-mode .hero-metrics {
  display: none;
}

.hero-gallery-stage {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 30px;
  left: 0;
  overflow: hidden;
  perspective: 1250px;
  perspective-origin: 50% var(--gallery-y);
}

.hero-gallery-stage::before {
  position: absolute;
  top: var(--gallery-y);
  left: 50%;
  width: min(68vw, 920px);
  height: 180px;
  background: radial-gradient(ellipse, rgba(255, 179, 71, 0.07), rgba(4, 98, 65, 0.025) 48%, transparent 72%);
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-gallery-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: none;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.gallery-card {
  position: absolute;
  top: var(--gallery-y);
  left: 50%;
  width: auto;
  height: clamp(480px, min(70vh, 44vw), 1040px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  padding: 0;
  cursor: default;
  pointer-events: none;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  backface-visibility: hidden;
  contain: layout paint;
}

.gallery-card.is-media-ready {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(11, 37, 24, 0.13);
}

.gallery-card--classic {
  aspect-ratio: 0.74;
}

.gallery-card--square {
  aspect-ratio: 0.82;
}

.gallery-card--landscape {
  aspect-ratio: 0.9;
}

@supports not (aspect-ratio: 2 / 3) {
  .gallery-card {
    width: 42vh;
    height: 63vh;
  }

  .gallery-card--classic {
    width: 46.62vh;
  }

  .gallery-card--square {
    width: 51.66vh;
  }

  .gallery-card--landscape {
    width: 56.7vh;
  }
}

.gallery-card::after {
  display: none;
}

.gallery-card-media,
.gallery-card-media > img,
.gallery-card-media > .atlas-frame {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-card-media {
  position: relative;
  opacity: 0;
}

.gallery-card.is-media-ready .gallery-card-media {
  opacity: 1;
}

.gallery-card-media > img {
  position: relative;
  z-index: 1;
  opacity: 0;
  object-fit: cover;
}

.gallery-card-media > .hero-media-fallback {
  position: absolute;
  inset: 0;
}

.gallery-card.is-cover-ready .gallery-card-media > img {
  opacity: 1;
}

.gallery-focus-meta {
  display: none;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-primary);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-focus-meta span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gallery-focus-meta i {
  width: 7px;
  height: 7px;
  background: var(--brand-saffron);
  border-radius: 50%;
}

.gallery-focus-meta b {
  font-weight: 600;
}

.gallery-focus-meta small {
  color: var(--muted);
  font-size: 8px;
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #fff;
  border: 5px solid #fff;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(11, 37, 24, 0.18);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.showcase-card:hover {
  z-index: 8;
  filter: saturate(1.08);
}

.card-back {
  top: 5%;
  right: 0;
  width: 58%;
  height: 58%;
  transform: rotate(6deg) translateZ(-80px);
}

.card-back:hover {
  transform: rotate(3deg) translateY(-8px) translateZ(-60px);
}

.card-middle {
  bottom: 3%;
  left: 0;
  width: 55%;
  height: 55%;
  transform: rotate(-7deg) translateZ(-40px);
}

.card-middle:hover {
  transform: rotate(-4deg) translateY(-8px) translateZ(-20px);
}

.card-front {
  z-index: 4;
  top: 19%;
  left: 18%;
  width: 68%;
  height: 64%;
  transform: rotate(-1.5deg) translateZ(50px);
}

.card-front:hover {
  transform: rotate(0deg) translateY(-8px) translateZ(70px);
}

.atlas-frame {
  display: block;
  width: 100%;
  height: 100%;
  background-image: var(--atlas);
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.frame--0 { background-position: 0 0; }
.frame--1 { background-position: 50% 0; }
.frame--2 { background-position: 100% 0; }
.frame--3 { background-position: 0 100%; }
.frame--4 { background-position: 50% 100%; }
.frame--5 { background-position: 100% 100%; }

.showcase-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(5, 20, 14, 0.48));
  content: "";
}

.showcase-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: rgba(11, 37, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 15px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.showcase-meta {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.showcase-meta small {
  font-size: 8px;
}

.brand-prism {
  position: absolute;
  z-index: 6;
  top: 10%;
  right: 3%;
  width: 48px;
  height: 130px;
  background: var(--brand-saffron);
  clip-path: polygon(50% 0, 100% 19%, 100% 81%, 50% 100%, 0 81%, 0 19%);
  filter: drop-shadow(0 16px 16px rgba(11, 37, 24, 0.16));
  animation: float-prism 5s ease-in-out infinite;
}

.brand-prism i {
  position: absolute;
  inset: 50% 0 0;
  background: rgba(148, 82, 8, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}

@keyframes float-prism {
  50% { transform: translateY(-14px) rotate(1deg); }
}

.statement {
  padding: 110px 0;
  color: #fff;
  background: var(--brand-dark);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.7fr 2fr auto;
  align-items: start;
  gap: 48px;
}

.section-label.light,
.statement .section-label {
  color: rgba(249, 247, 247, 0.58);
}

.statement-copy {
  margin: -8px 0 0;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.statement-copy em {
  color: var(--brand-saffron);
  font-family: var(--serif);
  font-weight: 400;
}

.circle-link {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--brand-dark);
  background: var(--brand-saffron);
  border-radius: 50%;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.circle-link:hover {
  transform: rotate(-15deg) scale(1.06);
}

.services {
  padding: 120px 0 130px;
}

.section-heading,
.library-heading {
  display: grid;
  margin-bottom: 62px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 72px;
}

.section-heading h2,
.library-heading h2,
.workflow-heading h2,
.contact h2 {
  margin: 24px 0 0;
  font-size: clamp(48px, 4.8vw, 74px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p,
.library-heading > p {
  max-width: 460px;
  margin: 0 0 7px auto;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 345px;
  padding: 36px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 37, 24, 0.5);
  border-radius: 17px;
  contain: layout paint;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:last-child {
  grid-column: 1 / -1;
  min-height: 280px;
}

.service-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 18px 50px rgba(11, 37, 24, 0.08);
  transform: translateY(-3px);
}

.service-index {
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(11, 37, 24, 0.42);
  border-radius: 50%;
  font-size: 13px;
}

.service-card > div {
  position: relative;
  z-index: 2;
  max-width: 500px;
  grid-column: 1 / -1;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 2.8vw, 43px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-card p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.watermark {
  position: absolute;
  right: 18px;
  bottom: -24px;
  color: rgba(4, 98, 65, 0.09);
  font-size: clamp(130px, 15vw, 210px);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1;
}

.library {
  padding: 120px 0 140px;
  background: #f8f6ed;
  border-top: 1px solid var(--soft-line);
}

.library-toolbar {
  display: flex;
  margin-bottom: 18px;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--soft-line);
  border-radius: 999px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-list button {
  padding: 9px 15px;
  cursor: pointer;
  color: rgba(11, 37, 24, 0.6);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.25s ease, background 0.25s ease;
}

.filter-list button:hover,
.filter-list button.is-active {
  color: #fff;
  background: var(--brand-primary);
}

.search-box {
  display: flex;
  width: min(280px, 32vw);
  padding: 0 12px;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--soft-line);
}

.search-box span {
  color: var(--brand-primary);
  font-size: 18px;
}

.search-box input {
  width: 100%;
  padding: 8px 0;
  color: var(--brand-dark);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--faint);
}

.library-status {
  display: flex;
  margin-bottom: 32px;
  padding: 0 4px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.library-status > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.library-status i {
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 30px;
}

.video-card {
  position: relative;
  min-width: 0;
  contain: layout paint;
}

.video-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--brand-dark);
  border: 0;
  border-radius: 14px;
}

.video-poster img,
.video-poster .atlas-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 20, 14, 0.36));
  content: "";
}

.video-card:hover .video-poster img,
.video-card:hover .video-poster .atlas-frame {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: rgba(11, 37, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-size: 15px;
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.video-card:hover .video-play {
  background: var(--brand-primary);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-duration {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  padding: 5px 7px;
  color: #fff;
  background: rgba(11, 37, 24, 0.52);
  border-radius: 999px;
  font-size: 10px;
}

.video-info {
  padding-top: 19px;
}

.video-kicker {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-info h3 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.28;
}

.video-info p {
  display: -webkit-box;
  margin: 11px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.video-tags {
  display: flex;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.video-tags span {
  padding: 6px 9px;
  color: rgba(11, 37, 24, 0.55);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  font-size: 10px;
}

.skeleton-card {
  min-height: 370px;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(11, 37, 24, 0.05) 25%, rgba(255, 255, 255, 0.7) 45%, rgba(11, 37, 24, 0.05) 65%);
  background-size: 200% 100%;
  border-radius: 14px;
  animation: skeleton 1.5s linear infinite;
}

@keyframes skeleton {
  to { background-position: -200% 0; }
}

.load-more {
  display: flex;
  min-width: 190px;
  margin: 65px auto 0;
  padding: 8px 8px 8px 22px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--brand-dark);
  background: transparent;
  border: 1px solid rgba(11, 37, 24, 0.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.load-more[hidden] {
  display: none;
}

.load-more i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 50%;
  font-style: normal;
}

.load-more:hover {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.load-more:hover i {
  color: var(--brand-dark);
  background: var(--brand-saffron);
}

.empty-state {
  padding: 90px 20px;
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--brand-primary);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.empty-state h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow {
  padding: 125px 0;
  color: var(--brand-seasalt);
  background: var(--brand-dark);
}

.workflow-heading {
  display: grid;
  margin-bottom: 72px;
  grid-template-columns: 0.65fr 1.3fr 0.75fr;
  align-items: start;
  gap: 48px;
}

.workflow-heading h2 {
  margin-top: -10px;
}

.workflow-heading > p:last-child {
  margin: 0;
  color: rgba(249, 247, 247, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.workflow-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.workflow-steps li {
  min-height: 260px;
  padding: 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.workflow-steps li:last-child {
  border-right: 0;
}

.workflow-steps > li > span {
  color: var(--brand-saffron);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.workflow-steps li div {
  margin-top: 95px;
}

.workflow-steps h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
}

.workflow-steps p {
  margin: 0;
  color: rgba(249, 247, 247, 0.58);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.contact {
  padding: 135px 0;
  text-align: center;
}

.contact-inner {
  display: grid;
  place-items: center;
}

.contact h2 {
  max-width: 850px;
}

.contact-inner > p:not(.section-label) {
  max-width: 560px;
  margin: 26px 0 36px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.site-footer {
  padding: 40px 24px 28px;
  color: var(--brand-seasalt);
  background: var(--brand-paper);
}

.footer-shell {
  width: 100%;
  max-width: 1880px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(105deg, #053a2a 0%, #06402d 52%, #043521 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
}

.footer-card-inner {
  padding: 32px 40px 26px;
}

.footer-logo {
  display: block;
  width: 192px;
  height: 44px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-statement {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-main {
  display: grid;
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.footer-directory {
  min-width: 0;
}

.footer-contact-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.96);
  font-size: 52px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}

.footer-link-cloud {
  display: flex;
  max-width: 1540px;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-link-cloud a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-contact-link:hover,
.footer-link-cloud a:hover {
  color: #fff;
}

.footer-social-block {
  min-width: 150px;
  text-align: right;
}

.footer-social-block > p {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.footer-socials {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
}

.footer-socials a {
  display: flex;
  min-width: 54px;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1;
  transition: color 0.2s ease;
}

.footer-social-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-socials a:hover {
  color: #fff;
}

.footer-socials a:hover .footer-social-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}

.footer-contact-link:focus-visible,
.footer-link-cloud a:focus-visible,
.footer-socials a:focus-visible {
  outline: 2px solid var(--brand-saffron);
  outline-offset: 4px;
}

.footer-bottom {
  display: flex;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-compliance a {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 14px;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-compliance img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-compliance a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.footer-compliance a:focus-visible {
  outline: 2px solid var(--brand-saffron);
  outline-offset: 3px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.video-modal {
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  padding: 10px;
  color: var(--brand-seasalt);
  background: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.35);
}

.video-modal::backdrop {
  background: rgba(6, 20, 14, 0.78);
  backdrop-filter: blur(10px);
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

.modal-player {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  background: #07130d;
  border-radius: 11px;
}

.modal-player video,
.modal-player img,
.modal-player .atlas-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-status {
  position: absolute;
  inset: 0 0 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  color: #fff;
  background: rgba(7, 19, 13, 0.72);
  text-align: center;
  font-size: 18px;
}

.player-status[hidden] { display: none; }

.player-status button {
  padding: 12px 22px;
  border: 0;
  border-radius: 24px;
  background: var(--brand-saffron);
  color: var(--brand-dark);
  font: inherit;
  cursor: pointer;
}

.demo-player-note {
  position: absolute;
  bottom: 20px;
  left: 50%;
  padding: 9px 14px;
  color: #fff;
  background: rgba(11, 37, 24, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.modal-details {
  display: grid;
  padding: 27px 24px 22px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

.modal-details h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.modal-details p {
  margin: 0;
  color: rgba(249, 247, 247, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

#modalMeta {
  color: var(--brand-saffron);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .floating-nav {
    gap: 24px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .nav-actions {
    padding-left: 24px;
  }
}

@media (max-width: 1080px) {
  .section-wrap,
  .hero-inner {
    width: calc(100vw - 56px);
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1vw;
  }

  .hero-showcase {
    transform: scale(0.9);
    transform-origin: right center;
  }

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

@media (max-width: 1099px) {
  .site-footer {
    padding: 40px 18px 24px;
  }

  .footer-shell {
    border-radius: 32px;
  }

  .footer-card-inner {
    padding: 32px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-link-cloud {
    max-width: none;
  }

  .footer-social-block {
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-bottom {
    margin-top: 28px;
  }
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 106px;
  }

  .floating-nav {
    width: fit-content;
    max-width: calc(100vw - 32px);
    min-height: 74px;
    padding: 14px 40px;
    gap: 24px;
    background: rgba(254, 253, 249, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .floating-nav {
      background: rgba(254, 253, 249, 0.86);
      -webkit-backdrop-filter: blur(8px) saturate(105%);
      backdrop-filter: blur(8px) saturate(105%);
    }
  }

  .logo {
    width: 144px;
    height: 44px;
  }

  .logo img {
    width: 144px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-actions {
    padding-left: 0;
    border-left: 0;
  }

  .nav-edition {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 58px;
    height: 34px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--brand-dark);
    border: 0;
    border-radius: 999px;
  }

  .menu-label {
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    display: grid;
    width: min(360px, calc(100vw - 32px));
    padding: 22px 24px;
    gap: 17px;
    background: rgba(254, 253, 249, 0.97);
    border: 1px solid var(--soft-line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translate(-50%, -8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .mobile-menu a {
    font-size: 15px;
    font-weight: 500;
  }

  .mobile-menu a.is-active {
    color: #8f5f0a;
  }

  .mobile-menu a:focus-visible {
    outline: 2px solid var(--brand-saffron);
    outline-offset: 4px;
    border-radius: 3px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 98px;
  }

  .floating-nav {
    min-height: 66px;
    padding: 14px 32px;
    gap: 20px;
  }

  .logo {
    width: 112px;
    height: 36px;
  }

  .logo img {
    width: 112px;
  }
}

@media (max-width: 820px) {

  .section-wrap,
  .hero-inner {
    width: calc(100vw - 36px);
  }

  .hero:not(.hero-gallery-mode) {
    height: auto;
    min-height: 0;
    padding: 130px 0 80px;
  }

  .hero-inner {
    position: relative;
    top: auto;
    display: flex;
    height: auto;
    padding-top: 0;
    flex-direction: column;
    align-items: stretch;
  }

  html.motion-ready .hero-copy {
    opacity: 1;
    transform: none;
  }

  .hero:not(.hero-gallery-mode) h1 {
    max-width: 680px;
    font-size: clamp(50px, 6.1vw, 58px);
  }

  .section-heading h2,
  .library-heading h2,
  .workflow-heading h2,
  .contact h2 {
    font-size: clamp(44px, 6vw, 48px);
  }

  .hero-showcase {
    width: 100%;
    height: 580px;
    margin-top: 44px;
    min-height: 0;
    transform: none;
  }

  html.motion-ready .hero-showcase {
    transform: none;
    transition: none;
  }

  .hero-scroll-note {
    display: none;
  }

  .hero::after {
    right: -260px;
  }

  .statement-grid {
    grid-template-columns: 1fr auto;
  }

  .statement-copy {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 15px;
  }

  .circle-link {
    grid-column: 2;
  }

  .section-heading,
  .library-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p,
  .library-heading > p {
    margin-left: 0;
  }

  .workflow-heading {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .workflow-heading h2 {
    margin-top: 0;
  }

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

  .workflow-steps li:nth-child(2) {
    border-right: 0;
  }

  .workflow-steps li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 600px) {
  html.motion-ready .scroll-build.build-card {
    transform: translateY(calc((1 - var(--build)) * 32px)) scale(calc(0.985 + var(--build) * 0.015));
  }

  .hero-showcase {
    height: 420px;
    grid-template-rows: minmax(0, 1fr) 58px;
    gap: 10px;
  }

  .hero-feature {
    border-width: 4px;
    border-radius: 14px;
  }

  .hero-screen::before {
    inset: 10px -7px -7px 10px;
    border-radius: 15px;
  }

  .hero-film-index {
    width: 86%;
    height: 58px;
    margin-right: 3%;
  }

  .hero-feature-copy b {
    font-size: 19px;
  }

  .hero-feature-copy small {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(44px, 12vw, 50px);
    line-height: 1.08;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-metrics {
    margin-top: 38px;
    gap: 20px;
  }

  .hero-metrics div {
    min-width: 0;
    flex: 1;
  }

  .hero-metrics dt {
    font-size: 18px;
  }

  .hero-metrics dd {
    font-size: 8px;
  }

  .hero-showcase {
    height: 390px;
    margin-top: 36px;
  }

  .showcase-card {
    border-width: 3px;
    border-radius: 12px;
  }

  .card-front {
    top: 16%;
    left: 14%;
    width: 74%;
    height: 66%;
  }

  .brand-prism {
    right: 1%;
    width: 36px;
    height: 100px;
  }

  .statement,
  .services,
  .library,
  .workflow,
  .contact {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .statement-grid {
    gap: 28px 10px;
  }

  .statement-copy {
    font-size: clamp(37px, 10vw, 42px);
  }

  .section-heading,
  .library-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .library-heading h2,
  .workflow-heading h2,
  .contact h2 {
    font-size: clamp(39px, 10.5vw, 44px);
  }

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

  .service-card,
  .service-card:last-child {
    min-height: 300px;
    padding: 27px;
    grid-column: auto;
  }

  .library-toolbar {
    padding: 9px;
    align-items: stretch;
    border-radius: 18px;
    flex-direction: column;
  }

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

  .filter-list button {
    padding: 10px 8px;
  }

  .search-box {
    width: 100%;
    padding: 6px 10px 0;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

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

  .library-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps li,
  .workflow-steps li:nth-child(2) {
    min-height: 190px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 0;
  }

  .workflow-steps li div {
    margin-top: 55px;
  }

  .site-footer {
    padding: 32px 12px 16px;
  }

  .footer-shell {
    border-radius: 28px;
  }

  .footer-card-inner {
    padding: 28px 20px 22px;
  }

  .footer-logo {
    width: 176px;
    height: 34px;
  }

  .footer-statement {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.4;
  }

  .footer-main {
    margin-top: 28px;
    gap: 28px;
  }

  .footer-contact-link {
    font-size: 40px;
  }

  .footer-link-cloud {
    margin-top: 22px;
    gap: 10px 18px;
  }

  .footer-link-cloud a {
    font-size: 15px;
  }

  .footer-social-block > p {
    font-size: 20px;
  }

  .footer-socials {
    gap: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-compliance {
    gap: 8px;
  }

  .footer-compliance a {
    min-height: 34px;
    padding: 6px 11px;
  }

  .footer-bottom p {
    font-size: 12px;
    text-align: left;
  }

  .video-modal {
    width: calc(100vw - 20px);
    padding: 7px;
    border-radius: 13px;
  }

  .modal-details {
    padding: 22px 14px 16px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .hero-gallery-mode {
    height: auto;
    min-height: 0;
    padding-top: 108px;
  }

  .hero-gallery-mode .hero-inner {
    display: block;
    width: calc(100vw - 36px);
    height: auto;
  }

  .hero-gallery-mode .hero-copy {
    position: relative;
    top: auto;
    max-width: none;
    padding: 0;
    text-align: left;
  }

  html.motion-ready .hero-gallery-mode .hero-copy {
    opacity: 1;
    transform: none;
  }

  .hero-gallery-mode h1 {
    margin: 16px 0;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.08;
  }

  .hero-gallery-mode .hero-description {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-gallery-mode .hero-actions {
    justify-content: flex-start;
    margin-top: 20px;
    gap: 12px;
  }

  .hero-gallery-stage {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100vw - 18px);
    height: auto;
    margin-top: 24px;
    margin-left: -9px;
    overflow-x: auto;
    overflow-y: hidden;
    perspective: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .hero-gallery-stage::-webkit-scrollbar {
    display: none;
  }

  .hero-gallery-stage::before,
  .gallery-focus-meta {
    display: none;
  }

  .hero-gallery-orbit {
    position: relative;
    display: flex;
    width: max-content;
    height: auto;
    padding: 8px 18px 24px;
    align-items: center;
    gap: 14px;
    transform: none !important;
  }

  .gallery-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: clamp(220px, 62vw, 270px);
    max-width: none;
    aspect-ratio: 3 / 4;
    flex: none;
    opacity: 1 !important;
    transform: none !important;
    scroll-snap-align: center;
  }

}

/* Short landscape viewports need the entire video and its controls in view.
   Details can scroll below it; the playback surface must not be cropped. */
@media (max-width: 1023px) and (max-height: 600px) and (orientation: landscape) {
  .video-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal-player {
    height: calc(100vh - 42px);
    height: calc(100dvh - 42px);
    aspect-ratio: auto;
    grid-template-rows: minmax(0, 1fr);
  }

  .modal-player video,
  .modal-player img,
  .modal-player .atlas-frame {
    min-height: 0;
    max-height: 100%;
  }

  .modal-details {
    padding: 18px 14px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
}

@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;
  }

  html.motion-ready .scroll-build {
    opacity: 1 !important;
    clip-path: none !important;
    filter: none !important;
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .floating-nav {
    background: #fefdf9;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .floating-nav {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
