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

:root {
  --production-scene-background: #f2eae1;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--forest) var(--bg-secondary);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 0.6875rem;
}

html::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
  background: var(--forest);
  border: 0.1875rem solid var(--bg-secondary);
  border-radius: var(--radius-pill);
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--bg-primary);
}

body.is-loading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 0.1875rem solid var(--accent-strong);
  outline-offset: 0.1875rem;
}

.visually-hidden {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - (2 * var(--page-gutter)), var(--page-max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 0.5rem;
  left: 0.5rem;
  padding: var(--space-1) var(--space-2);
  color: var(--text-inverse);
  background: var(--bg-dark);
  border: 0.125rem solid var(--bg-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preloader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--page-gutter);
  color: var(--text-primary);
  background: var(--bg-primary);
}

.preloader[hidden] {
  display: none;
}

body:not(.is-loading) .preloader {
  pointer-events: none;
}

.preloader__inner {
  width: min(32rem, 100%);
}

.preloader__label,
.preloader__value {
  display: block;
  margin-block: 0 var(--space-1);
}

.preloader__value {
  margin-block: var(--space-1) 0;
  text-align: right;
}

.preloader__track {
  position: relative;
  height: 2rem;
  border-bottom: 0.125rem solid var(--text-primary);
}

.preloader__runner {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 1.5rem;
  height: 2rem;
}

.preloader__egg {
  position: absolute;
  bottom: 0.125rem;
  left: 0;
  display: block;
  width: 1.5rem;
  height: 1.875rem;
  border: 0.125rem solid var(--accent-strong);
  border-radius: 50% 50% 45% 45%;
  background: var(--bg-primary);
}

.load-recovery {
  position: fixed;
  z-index: 1100;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  width: min(28rem, calc(100% - 2rem));
  min-height: 3.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-inverse);
  background: var(--bg-dark);
  border: 0.0625rem solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 0.75rem 2rem rgb(32 33 31 / 20%);
  font-size: var(--font-size-small);
  line-height: 1.4;
}

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

.load-recovery button {
  min-height: 2.25rem;
  padding-inline: 0.875rem;
  flex: 0 0 auto;
  color: var(--forest);
  background: var(--bg-primary);
  border: 0;
  border-radius: var(--radius-control);
  font-size: var(--font-size-button);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.load-recovery button:hover {
  background: var(--bg-secondary);
}

.load-recovery button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 35rem) {
  .load-recovery {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--text-primary);
  background: transparent;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  gap: var(--space-2);
}

.brand {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: var(--space-1);
}

.brand__egg {
  width: 1.5rem;
  height: auto;
}

.brand__wordmark {
  width: 6.5rem;
  height: auto;
}

.header-actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-1);
}

.header-contact {
  white-space: nowrap;
  box-shadow: none;
}

.header-contact__compact {
  display: none;
}

.brand,
.header-contact {
  transition:
    opacity 220ms ease,
    visibility 0s linear;
}

html[data-active-scene="home"] .brand,
html[data-active-scene="home"] .header-contact,
html[data-active-scene="production"] .brand,
html[data-active-scene="production"] .header-contact {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.has-hero-logo-transition .brand {
  transition: none;
}

html.has-hero-logo-transition .header-contact {
  transition: none;
}

html.has-hero-logo-transition[data-active-scene="home"] .header-contact,
html.has-hero-logo-transition[data-active-scene="production"] .header-contact {
  pointer-events: auto;
}

html.has-hero-logo-transition[data-menu="open"] .brand {
  opacity: 0 !important;
  transition: opacity 240ms ease !important;
}

html.has-hero-logo-transition[data-menu="open"] .header-contact {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 240ms ease !important;
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: var(--space-1);
  align-content: center;
  gap: 0.25rem;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__line {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.375rem;
  height: 0.0625rem;
  background: currentColor;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 140ms ease;
  transform: translate(-50%, -50%);
}

.menu-toggle__line:nth-child(1) {
  transform: translate(-50%, calc(-50% - 0.3125rem));
}

.menu-toggle__line:nth-child(3) {
  transform: translate(-50%, calc(-50% + 0.3125rem));
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.language-selector {
  position: relative;
  z-index: 1;
  grid-column: 1;
  justify-self: start;
  pointer-events: auto;
}

.language-selector__trigger {
  display: flex;
  width: 4.25rem;
  min-height: 2.25rem;
  padding: 0 0.625rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-control);
  font-family: var(--font-ui);
  font-size: var(--font-size-label);
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  pointer-events: auto;
}

.language-selector__chevron {
  width: 0.375rem;
  height: 0.375rem;
  flex: 0 0 auto;
  border-right: 0.0625rem solid currentColor;
  border-bottom: 0.0625rem solid currentColor;
  transition: transform 180ms ease;
  transform: translateY(-0.125rem) rotate(45deg);
}

.language-selector__trigger:has(+ .language-selector__menu:popover-open)
  .language-selector__chevron {
  transform: translateY(0.125rem) rotate(225deg);
}

.language-selector__menu {
  position: fixed;
  inset:
    calc(var(--header-height) - 0.375rem)
    auto
    auto
    max(var(--page-gutter), env(safe-area-inset-left));
  width: 4.25rem;
  margin: 0;
  padding: 0.25rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-control);
  box-shadow: 0 0.75rem 2rem rgb(32 33 31 / 10%);
}

.language-selector__menu::backdrop {
  background: transparent;
}

.language-selector__menu button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 2rem;
  padding: 0 0.5rem;
  align-items: center;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-radius: 0.125rem;
  font-family: var(--font-ui);
  font-size: var(--font-size-label);
  font-weight: 500;
  cursor: pointer;
}

.language-selector__menu button[aria-checked="true"] {
  background: var(--bg-secondary);
}

.language-selector__menu button[aria-checked="true"]::after {
  position: absolute;
  right: 0.375rem;
  width: 0.25rem;
  height: 0.25rem;
  content: "";
  background: var(--accent-strong);
  border-radius: 50%;
}

html[data-nav-theme="dark"] .site-header {
  color: var(--text-inverse);
}

html[data-nav-theme="dark"] .site-header .brand__wordmark {
  filter: brightness(0) invert(1);
}

html[data-nav-theme="dark"] .site-header .language-selector__trigger {
  color: var(--text-inverse);
  background-color: var(--bg-dark);
  border-color: var(--border-dark);
}

html[data-nav-theme="dark"] .site-header .header-contact {
  color: var(--text-primary);
  background: var(--accent);
}

html[data-nav-theme="dark"] .site-header .menu-toggle {
  color: var(--text-inverse);
}

.section-pagination {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: max(0.5rem, env(safe-area-inset-right));
  transform: translateY(-50%);
  color: var(--text-primary);
}

.section-pagination ul {
  display: grid;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-pagination a {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  width: max-content;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
}

.section-pagination__dot {
  display: block;
  flex: 0 0 auto;
  width: 0.625rem;
  height: 0.625rem;
  border: 0.0625rem solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-pagination__label {
  position: absolute;
  top: 50%;
  right: calc(100% + var(--space-1));
  width: max-content;
  padding: 0;
  white-space: nowrap;
  color: var(--text-primary);
  background: transparent;
  font-size: var(--font-size-small);
  font-weight: 500;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate(0.5rem, -50%);
}

.section-pagination.is-open .section-pagination__label {
  opacity: 1;
  transform: translate(0, -50%);
}

.section-pagination a[aria-current="location"] .section-pagination__dot {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.section-pagination[data-nav-theme="dark"] {
  color: var(--text-inverse);
}

.section-pagination[data-nav-theme="dark"] .section-pagination__label {
  color: var(--text-inverse);
  background: transparent;
}

.section-pagination[data-nav-theme="dark"] .section-pagination__dot {
  border-color: var(--text-inverse);
  background: transparent;
}

.section-pagination[data-nav-theme="dark"]
  a[aria-current="location"]
  .section-pagination__dot {
  border-color: var(--accent);
  background: var(--accent);
}

.menu-scrim,
.section-pagination__footer,
.section-rail,
.section-pagination__languages {
  display: none;
}

.section-pagination__inner,
.section-pagination__layout {
  display: contents;
}

.scene {
  min-height: 100svh;
  border-bottom: 0.0625rem solid var(--border);
}

.scene__stage {
  min-height: inherit;
}

.site-footer__inner {
  display: grid;
  align-content: center;
  min-height: inherit;
  padding-block: var(--section-space);
}

h1,
h2 {
  margin-block-end: var(--space-4);
}

/* Hero → Production structural transition */
.hero-production-transition {
  position: relative;
}

.hero-production-transition__viewport {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-production-transition__hero {
  position: relative;
  z-index: 1;
}

.hero-production-transition__hero.is-cinematic-cleared {
  visibility: hidden;
}

/*
 * Keep the Hero composition sized to the small viewport, but let its visual
 * background cover the largest mobile viewport exposed when Chrome retracts
 * its toolbars. lvh is stable, so this does not resize the pinned layer during
 * the gesture like dvh would.
 */
@supports (height: 100lvh) {
  .hero-production-transition__viewport,
  .hero-production-transition__hero {
    min-height: 100lvh;
  }

  .home__content {
    min-height: 100svh;
  }
}

.hero-production-transition__transition {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-disintegration {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.hero-disintegration__row {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(var(--disintegration-row-top) - 0.03125rem);
  height: calc(var(--disintegration-row-height) + 0.0625rem);
  background: var(--production-scene-background);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-production-transition__production {
  position: relative;
  z-index: 1;
}

/* Reusable scene-to-scene tile transition */
.tile-scene-transition__source-track {
  position: relative;
  min-height: var(--tile-scene-source-track-height, auto);
  margin-block-end: calc(
    0px - var(--tile-scene-handoff-overlap-distance, 0px)
  );
}

.tile-scene-transition__source-track > [data-scene] {
  position: sticky;
  top: var(--tile-scene-source-sticky-top, 0);
}

.is-tile-scene-destination-concealed {
  visibility: hidden;
  pointer-events: none;
}

.tile-scene-transition__tiles {
  position: fixed;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.tile-scene-transition__tiles {
  z-index: 90;
}

/*
 * Mobile browser chrome can enlarge the visual viewport during an active
 * cover. Keep the fixed tile layer sized to that largest viewport from the
 * outset, so the newly exposed bottom edge is never left uncovered.
 */
@supports (height: 100lvh) {
  .tile-scene-transition__tiles {
    bottom: auto;
    height: 100lvh;
  }
}

.tile-scene-transition__grid {
  position: absolute;
  inset: -0.0625rem;
  display: grid;
  grid-template-columns: repeat(var(--tile-scene-grid-size), minmax(0, 1fr));
  grid-template-rows: repeat(var(--tile-scene-grid-size), minmax(0, 1fr));
}

.tile-scene-transition__tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  visibility: hidden;
  background-color: var(--tile-scene-color);
  box-shadow: 0 0 0 0.0625rem var(--tile-scene-color);
  opacity: 0;
  will-change: opacity;
}

.tile-scene-transition__tile::after {
  position: absolute;
  inset: 0;
  content: '';
  background-color: var(--tile-scene-hover-color);
  box-shadow: 0 0 0 0.0625rem var(--tile-scene-hover-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .tile-scene-transition__tiles.is-active .tile-scene-transition__tile {
    pointer-events: auto;
  }

  .tile-scene-transition__tile:hover::after {
    opacity: 1;
    transition-duration: 0s;
  }
}

/* Home scene */
.scene--home {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background: #f6f3ea;
  isolation: isolate;
}

.home__atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home__background {
  position: absolute;
  z-index: 0;
  inset: -0.625rem;
  display: block;
  background: url("../../production/assets/images/home-background.webp") center / cover no-repeat;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgb(0 0 0 / 35%) 0%,
    rgb(0 0 0 / 45%) 45%,
    rgb(0 0 0 / 85%) 70%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgb(0 0 0 / 35%) 0%,
    rgb(0 0 0 / 45%) 45%,
    rgb(0 0 0 / 85%) 70%,
    #000 100%
  );
}

.home__glow {
  position: absolute;
  z-index: 1;
  top: 41%;
  left: 50%;
  display: block;
  width: clamp(24rem, 48vw, 48rem);
  aspect-ratio: 1.18;
  background: radial-gradient(circle, rgb(255 255 255 / 78%) 0%, rgb(255 255 255 / 32%) 43%, transparent 72%);
  transform: translate(-50%, -50%);
}

.home__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  padding-block: clamp(7.75rem, 16.1svh, 9.5rem) 0.25rem;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.home__identity {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 0 0 auto;
}

.home__egg-logo {
  position: relative;
  height: clamp(13rem, 38svh, 22.5rem);
  aspect-ratio: 374 / 508;
  flex: 0 0 auto;
}

.home__egg-mark {
  width: 100%;
  height: 100%;
}

.home__egg-glint {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: url("../../production/assets/brand/transvit-egg-mark.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../../production/assets/brand/transvit-egg-mark.svg");
  mask-mode: alpha;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.home__egg-glint-band {
  position: absolute;
  top: -20%;
  left: -22%;
  display: block;
  width: 13%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(255 255 255 / 0%) 14%,
    rgb(255 248 220 / 7%) 29%,
    rgb(255 248 220 / 34%) 43%,
    rgb(255 255 255 / 72%) 50%,
    rgb(255 248 220 / 28%) 58%,
    rgb(255 248 220 / 6%) 73%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(-14deg);
  transform-origin: center;
  will-change: transform, opacity;
}

.home__wordmark {
  width: clamp(26rem, 40vw, 41.5rem);
  height: auto;
  margin-top: clamp(0.75rem, 1.55svh, 1rem);
}

.home__quality {
  display: flex;
  width: clamp(20rem, 29.25vw, 30.5rem);
  max-width: none;
  margin: clamp(0.45rem, 2.2svh, 1.25rem) 0 0;
  align-items: center;
  gap: 0.875rem;
  color: var(--gold-dark);
  font-size: clamp(0.875rem, 1.02vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home__quality::before,
.home__quality::after {
  height: 0.0625rem;
  content: "";
  background: color-mix(in srgb, var(--gold-dark) 65%, transparent);
  flex: 1;
}

.home__quality span {
  transform: translateX(0.15em);
}

.home__copy {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home__headline {
  max-width: 64rem;
  margin: clamp(0.5rem, 2.65svh, 1.5625rem) 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 0.72vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
}

.home__description {
  max-width: 48rem;
  margin: clamp(0.75rem, 2.5svh, 1.5rem) 0 0;
  color: #6f706d;
  font-size: clamp(0.8125rem, 0.68rem + 0.32vw, 1.0625rem);
  line-height: 1.38;
}

.home__actions {
  display: flex;
  margin-top: clamp(0.65rem, 2.85svh, 1.625rem);
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 2.5vw, 2.625rem);
}

.home__contact {
  min-width: clamp(9.75rem, 11.15vw, 11.625rem);
  min-height: 3rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.home__explore {
  min-width: auto;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration-color: color-mix(in srgb, var(--gold-dark) 75%, transparent);
  text-underline-offset: 0.55em;
}

.home__proof {
  display: flex;
  max-width: none;
  margin: clamp(0.75rem, 2.8svh, 1.6875rem) 0 0;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.97rem + 0.42vw, 1.5rem);
  line-height: 1.1;
}

.home__medal {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.home__scroll {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: auto;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-dark);
  border: 0.0625rem solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home__scroll span {
  width: 0.625rem;
  height: 0.625rem;
  border-right: 0.0625rem solid currentColor;
  border-bottom: 0.0625rem solid currentColor;
  transform: translateY(-0.125rem) rotate(45deg);
}

.home__scroll:hover {
  color: var(--text-inverse);
  background: var(--gold-dark);
  transform: translateY(0.125rem);
}

/* Production scene */
.scene--production {
  --production-background-progress: 1;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background: transparent;
  isolation: isolate;
}

/* Grading scrollytelling scene */
.scene--grading {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  overflow: clip;
  background:
    radial-gradient(circle at 73% 23%, rgb(255 255 255 / 78%), transparent 34rem),
    #f7f4ed;
  isolation: isolate;
}

.grading__technical-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(90deg, rgb(36 53 43 / 3.5%) 0.0625rem, transparent 0.0625rem);
  background-position: center;
  background-size: clamp(7rem, 10vw, 11rem) 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 48%) 58%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 48%) 58%, transparent 92%);
}

.grading__blueprint {
  position: absolute;
  z-index: 0;
  top: clamp(4.75rem, 8.5svh, 6.5rem);
  left: clamp(27rem, 29vw, 34rem);
  width: clamp(22rem, 28vw, 30rem);
  height: auto;
  color: var(--gold);
  fill: none;
  opacity: 0.105;
  pointer-events: none;
  stroke: currentColor;
  stroke-width: 0.8;
}

.grading__blueprint-grid {
  opacity: 0.55;
  stroke-width: 0.55;
}

.grading__blueprint-egg {
  stroke-width: 1;
}

.grading__stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + clamp(0.5rem, 1.5svh, 1rem)) clamp(1.5rem, 3.5svh, 2.5rem);
  align-items: center;
}

.grading__layout {
  display: grid;
  min-width: 0;
  grid-template-areas:
    "intro media"
    "story story";
  width: min(calc(100% - clamp(2rem, 5.5vw, 6rem)), 96rem);
  padding-right: clamp(2.75rem, 3.2vw, 3.5rem);
  grid-template-columns: minmax(29rem, 0.465fr) minmax(38rem, 0.535fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(2.5rem, 3.2vw, 3.5rem);
  row-gap: clamp(1.25rem, 2.3svh, 1.5rem);
}

.grading__intro {
  max-width: 35rem;
  grid-area: intro;
  align-self: center;
}

.grading__eyebrow {
  display: flex;
  margin: 0 0 clamp(1.25rem, 2.2svh, 1.5rem);
  align-items: center;
  gap: 1.375rem;
  color: var(--gold-dark);
  font-size: var(--font-size-label);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.grading__eyebrow::before {
  width: 4.5rem;
  height: 0.0625rem;
  content: "";
  background: currentColor;
}

.grading__intro h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(4rem, 4.65vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.grading__summary {
  max-width: 32.5rem;
  margin: clamp(2.25rem, 4.25svh, 3rem) 0 0;
  padding-left: 2rem;
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 0.86rem + 0.2vw, 1.0625rem);
  border-left: 0.125rem solid var(--gold);
  line-height: 1.58;
}

.grading__media {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: clamp(1.125rem, 1.35vw, 1.375rem) clamp(1.125rem, 1.35vw, 1.375rem) 0;
  background: rgb(238 233 222 / 52%);
  border: 0.0625rem solid rgb(152 112 47 / 17%);
  border-radius: 0.875rem;
  box-shadow: 0 1.5rem 4rem rgb(32 33 31 / 5%);
  grid-area: media;
  align-self: start;
  justify-self: start;
}

.grading__media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--forest);
  border: 0.0625rem solid rgb(36 53 43 / 38%);
  border-radius: 0.25rem;
  box-shadow: 0 0.75rem 2.25rem rgb(32 33 31 / 9%);
}

.grading__media-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 0.0625rem solid rgb(255 255 255 / 13%);
  pointer-events: none;
}

.grading__media iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  top: -6.25%;
  bottom: auto;
  height: 112.5%;
  border: 0;
}

.grading__media figcaption {
  display: flex;
  min-height: clamp(4rem, 7svh, 4.75rem);
  margin-top: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.grading__media figcaption > span:last-child {
  flex: 0 0 auto;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.grading__media-caption-main {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: clamp(0.8125rem, 0.76rem + 0.17vw, 0.9375rem);
  letter-spacing: 0;
  text-transform: none;
}

.grading__media-caption-main svg {
  flex: 0 0 auto;
  width: 2rem;
  fill: none;
  color: var(--gold);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.grading__story {
  --grading-progress: 0.1667;
  --grading-story-inline: clamp(3.5rem, 4.4vw, 4.25rem);
  --grading-progress-inline: clamp(2.5rem, 3vw, 2.875rem);
  position: relative;
  display: grid;
  min-width: 0;
  width: 100%;
  min-height: clamp(13rem, 24.5svh, 15rem);
  padding: clamp(2.25rem, 4.5svh, 2.75rem) var(--grading-story-inline) clamp(2.75rem, 5svh, 3.25rem);
  align-items: center;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at 0 0, rgb(201 164 92 / 11%), transparent 27rem),
    linear-gradient(112deg, #163128 0%, #213c31 58%, #193329 100%);
  border: 0.0625rem solid rgb(201 164 92 / 25%);
  border-radius: 0.625rem;
  box-shadow: 0 1.75rem 4rem rgb(28 45 37 / 15%);
  grid-area: story;
  justify-self: start;
  overflow: hidden;
  isolation: isolate;
}

.grading__story::before {
  position: absolute;
  z-index: 2;
  top: -0.0625rem;
  left: 0;
  width: min(16rem, 28%);
  height: 0.0625rem;
  content: "";
  background: linear-gradient(90deg, rgb(201 164 92 / 76%), rgb(201 164 92 / 0%));
}

.grading__story::after {
  position: absolute;
  right: var(--grading-progress-inline);
  bottom: 2.25rem;
  left: var(--grading-progress-inline);
  height: 0.0625rem;
  content: "";
  background: var(--gold);
  opacity: 0.22;
}

.grading__story-progress {
  position: absolute;
  z-index: 3;
  right: var(--grading-progress-inline);
  bottom: 2.21875rem;
  left: var(--grading-progress-inline);
  display: block;
  height: 0.125rem;
  pointer-events: none;
}

.grading__story-progress::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--grading-progress) * 100%);
  content: "";
  background: var(--gold);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.grading__story-progress::after {
  position: absolute;
  top: 50%;
  left: calc(var(--grading-progress) * 100%);
  width: 0.3125rem;
  height: 0.3125rem;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0.1875rem rgb(201 164 92 / 11%);
  transform: translate(-50%, -50%);
  transition: left 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.grading__steps {
  position: relative;
  display: grid;
  min-height: 7.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
}

.grading__step {
  display: grid;
  min-width: 0;
  grid-template-columns:
    clamp(5.25rem, 5.8vw, 5.75rem)
    minmax(22rem, 0.52fr)
    0.0625rem
    minmax(20rem, 0.48fr);
  align-items: center;
  gap: clamp(2rem, 2.7vw, 2.75rem);
}

.grading__step-main {
  min-width: 0;
}

.grading__step-icon {
  position: relative;
  display: grid;
  width: clamp(5.25rem, 5.8vw, 5.75rem);
  aspect-ratio: 1;
  align-items: center;
  justify-items: center;
  color: var(--gold);
  border: 0.0625rem solid rgb(201 164 92 / 74%);
  border-radius: 50%;
  background: rgb(201 164 92 / 2%);
}

.grading__step-icon svg {
  width: clamp(2.75rem, 3vw, 3.25rem);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.grading__step h3 {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 2.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.grading__step-main p {
  max-width: 32rem;
  margin: 0.75rem 0 0;
  color: rgb(238 233 222 / 82%);
  font-size: clamp(0.875rem, 0.82rem + 0.18vw, 1rem);
  line-height: 1.55;
}

.grading__step-divider {
  display: block;
  width: 0.0625rem;
  height: clamp(6rem, 13svh, 8rem);
  background: linear-gradient(180deg, transparent, rgb(201 164 92 / 46%), transparent);
}

.grading__step-outcome {
  display: grid;
  min-width: 0;
  width: min(100%, 31rem);
  grid-template-columns: clamp(3.5rem, 4vw, 4rem) minmax(0, 1fr);
  align-items: center;
  justify-self: start;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.grading__outcome-icon {
  display: grid;
  color: var(--gold);
  place-items: center;
}

.grading__outcome-icon svg {
  width: clamp(3.25rem, 3.8vw, 4rem);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.grading__step-outcome p {
  max-width: 25ch;
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.25rem, 1.5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.scene--grading.is-grading-pinnable .grading__steps {
  display: block;
}

.scene--grading.is-grading-pinnable .grading__step {
  position: absolute;
  inset: 0;
  display: grid;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.scene--grading.is-grading-pinnable .grading__step:first-child {
  visibility: visible;
  opacity: 1;
}

.scene--grading.is-grading-pinnable .grading__step[aria-current="step"] {
  visibility: visible;
}

.production__waves {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(38vw, 28rem);
  opacity: var(--production-background-progress);
  pointer-events: none;
  will-change: opacity;
}

/*
 * Keep the decorative layer visually stationary while it reveals. The wide
 * cinematic already owns a floating viewport phase; compact layouts retain
 * the same viewport-bound layer until the bottom of Production meets the
 * viewport, where fixed and absolute geometry are identical.
 */
.scene--production.is-cinematic-media-floating .production__waves,
.production__waves.is-viewport-bound {
  position: fixed;
}

.production__waves svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.production__wave {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.production__wave--soft {
  stroke: color-mix(in srgb, var(--cream) 72%, transparent);
  stroke-width: 4.5rem;
  opacity: 0.6;
}

.production__wave--light {
  stroke: color-mix(in srgb, var(--production-scene-background) 92%, transparent);
  stroke-width: 2.25rem;
  opacity: 0.92;
}

.production__wave--gold {
  stroke: color-mix(in srgb, var(--gold) 78%, transparent);
  stroke-width: 0.125rem;
}

.production__stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 2.5rem) var(--page-gutter) 4.5rem;
  align-items: center;
  gap: 3.5rem;
}

.production__intro {
  width: min(100%, 35rem);
  justify-self: center;
}

.production__eyebrow {
  display: flex;
  max-width: 16rem;
  margin: 0 0 clamp(1.75rem, 5vw, 3rem);
  align-items: center;
  gap: 0.875rem;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.production__eyebrow::after {
  width: 5.75rem;
  height: 0.0625rem;
  content: "";
  background: var(--gold-dark);
  flex: 0 1 5.75rem;
}

.production__intro h2 {
  max-width: 28rem;
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.25rem, 13vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.production__intro h2::after {
  display: block;
  width: 6.625rem;
  height: 0.0625rem;
  margin: 1.75rem auto 1rem;
  content: "";
  background: var(--gold-dark);
}

.production__summary {
  max-width: 25rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  line-height: 1.62;
}

.production__link,
.grading__link {
  display: inline-flex;
  margin-top: 2rem;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.production__link > span:first-child,
.grading__link > span:first-child {
  padding-bottom: 0.375rem;
  border-bottom: 0.0625rem solid var(--gold-dark);
}

.production__link-arrow,
.grading__link-arrow {
  position: relative;
  width: 1.25rem;
  height: 0.75rem;
  color: var(--gold-dark);
  flex: 0 0 auto;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.production__link-arrow::before,
.grading__link-arrow::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 100%;
  height: 0.0625rem;
  content: "";
  background: currentColor;
  transform: translateY(-50%);
}

.production__link-arrow::after,
.grading__link-arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-top: 0.0625rem solid currentColor;
  border-right: 0.0625rem solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.production__link:hover .production__link-arrow,
.grading__link:hover .grading__link-arrow {
  transform: translateX(0.25rem);
}

.production__media {
  position: relative;
  width: min(100%, 35rem);
  aspect-ratio: 5 / 9;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  background: var(--production-scene-background);
}

.production__media-element {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene--production.is-cinematic-media-floating,
.production__media.is-cinematic-media-floating {
  overflow: visible;
}

.scene--production.is-cinematic-media-floating {
  z-index: auto;
  isolation: auto;
}

.scene--production.is-cinematic-media-floating .production__stage {
  z-index: auto;
}

.production__media.is-cinematic-media-floating.has-cinematic-backdrop::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background: var(--production-scene-background);
  opacity: calc(1 - var(--production-background-progress));
  pointer-events: none;
}

.production__media-element.is-cinematic-media-floating {
  position: fixed;
  z-index: 3;
  top: 0;
  margin: 0;
  pointer-events: none;
  will-change: transform, clip-path;
}

.production__details {
  display: grid;
  width: min(100%, 35rem);
  justify-self: center;
  gap: 3rem;
}

.production__fact {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.production__fact-icon {
  width: 4rem;
  height: 4rem;
  overflow: visible;
  fill: none;
  stroke: var(--gold-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.production__fact h3 {
  position: relative;
  margin: 0 0 0.625rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.production__fact h3::before {
  display: block;
  width: 2.875rem;
  height: 0.0625rem;
  margin-bottom: 1.25rem;
  content: "";
  background: var(--gold);
}

.production__fact p {
  max-width: 19rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.production__year {
  padding-left: 5.5rem;
}

.production__year p {
  margin: 0 0 0.375rem;
  color: var(--gold-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.production__year strong {
  display: inline-block;
  padding-bottom: 0.25rem;
  color: var(--forest);
  border-bottom: 0.0625rem solid var(--gold-dark);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

/*
 * Production rail-safe experiment. Rollback: restore the tablet maximum to
 * 69.9375rem and desktop minimum to 70rem, remove the 48–59.9375rem block,
 * then remove --production-rail-clearance plus the fact width/transform.
 */
@media (min-width: 48.0625rem) {
  .grading__stage {
    padding-block: calc(var(--header-height) + clamp(0.75rem, 2svh, 1.5rem)) clamp(1rem, 3svh, 2rem);
    align-items: center;
  }

  .grading__intro {
    padding-top: 0;
    align-self: center;
  }

  .grading__media {
    align-self: start;
  }

  .grading__media-frame {
    height: auto;
  }

  .grading__story {
    justify-self: start;
  }
}

@media (min-width: 48.0625rem) and (max-width: 79.9375rem) {
  .grading__layout {
    padding-right: clamp(3.5rem, 7vw, 5rem);
    grid-template-columns: minmax(19rem, 0.48fr) minmax(22rem, 0.52fr);
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .production__stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    padding-bottom: 5rem;
    gap: 3rem;
  }

  .production__intro {
    justify-self: end;
  }

  .production__intro h2 {
    font-size: clamp(3.25rem, 6.2vw, 4.25rem);
  }

  .production__media {
    justify-self: start;
  }

  .production__details {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - clamp(12rem, 24vw, 18rem)), 64rem);
    align-items: start;
    justify-self: start;
    gap: 2rem;
  }

  .production__year {
    grid-column: 1;
    padding-left: 0;
  }
}

/* Keep both halves of the green grading card inside tablet viewports. The
   desktop column minimums exceed the story's available width on iPad. */
@media (min-width: 48.0625rem) and (max-width: 69.9375rem) {
  .grading__story {
    --grading-story-inline: clamp(2.75rem, 5vw, 3.25rem);
  }

  .grading__step {
    grid-template-columns:
      4rem
      minmax(0, 1.2fr)
      0.0625rem
      minmax(0, 0.8fr);
    gap: clamp(0.875rem, 1.75vw, 1.25rem);
  }

  .grading__step-icon {
    width: 4rem;
  }

  .grading__step-icon svg {
    width: 2.5rem;
  }

  .grading__step h3 {
    font-size: clamp(1.875rem, 3.75vw, 2.25rem);
  }

  .grading__step-main p {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .grading__step-divider {
    height: 6rem;
  }

  .grading__step-outcome {
    width: 100%;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .grading__outcome-icon svg {
    width: 2.5rem;
  }

  .grading__step-outcome p {
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.3;
  }
}

@media (min-width: 48.0625rem) and (max-width: 59.9375rem) {
  .production__stage {
    grid-template-columns: 1fr;
  }

  .production__intro,
  .production__media {
    justify-self: center;
  }

  .production__details {
    grid-column: 1;
    grid-template-columns: 1fr;
    width: min(100%, 30rem);
  }
}

@media (min-width: 80rem) {
  .grading__layout {
    padding-right: clamp(3rem, 3.2vw, 3.5rem);
    grid-template-columns: minmax(22rem, 0.455fr) minmax(28rem, 0.545fr);
  }

  .scene--production {
    /* Set this to 0rem to restore the original Production content placement. */
    --production-icon-gap: 2.25rem;
    --production-rail-clearance: calc(
      clamp(3rem, 5.1vw, 6.125rem) - var(--production-icon-gap)
    );
  }

  .production__stage {
    grid-template-columns: minmax(0, 1fr) 55.5556svh minmax(0, 1fr);
    padding: 0;
    gap: 0;
  }

  .production__intro {
    grid-column: 1;
    width: auto;
    padding: clamp(8rem, 23.5vh, 14rem) clamp(2.5rem, 3vw, 4rem) 2rem clamp(4rem, 5.65vw, 6.75rem);
    align-self: stretch;
    justify-self: stretch;
  }

  .production__eyebrow {
    margin-bottom: clamp(2.5rem, 3vw, 3.5rem);
  }

  .production__intro h2 {
    font-size: clamp(3.5rem, 4.25vw, 5.125rem);
  }

  .production__summary {
    max-width: 21.5rem;
  }

  .production__link {
    font-size: 0.9375rem;
  }

  .production__media {
    grid-column: 2;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    aspect-ratio: 5 / 9;
  }

  .production__details {
    grid-column: 3;
    width: auto;
    padding: calc(var(--header-height) + 2rem) clamp(4rem, 5.25vw, 6.5rem) 3rem clamp(3rem, 5.1vw, 6.125rem);
    /* Match the full-height floating cinematic box exactly. Without this,
       fixed -> in-flow docking shifts the visible facts at the tile boundary. */
    align-self: stretch;
    align-content: center;
    justify-self: stretch;
    gap: clamp(3.5rem, 7.2vh, 5.25rem);
    transform: translateY(-0.75rem);
  }

  .production__intro.is-cinematic-content-floating,
  .production__details.is-cinematic-content-floating {
    position: fixed;
    z-index: 4;
    top: 0;
    bottom: 0;
    /* Use the layout viewport, matching the grid. `100vw` includes the
       scrollbar and changes copy wrapping at fixed -> docked handoff. */
    width: calc((100% - 55.5556svh) / 2);
    margin: 0;
  }

  .production__intro.is-cinematic-content-floating {
    left: 0;
  }

  .production__details.is-cinematic-content-floating {
    right: 0;
  }

  .production__fact {
    width: calc(100% - var(--production-rail-clearance));
    gap: var(--production-icon-gap);
    transform: translateX(calc(-1 * var(--production-rail-clearance)));
  }

  .production__fact p {
    max-width: 15rem;
  }

  .production__year {
    margin-top: 0.75rem;
    padding-left: 0;
  }
}

/* Products scene */
.scene--products {
  position: relative;
  min-height: auto;
  overflow: clip;
  background:
    radial-gradient(circle at 79% 7%, color-mix(in srgb, var(--cream) 64%, transparent), transparent 34rem),
    var(--bg-primary);
}

.products__stage {
  min-height: auto;
  padding-block: calc(var(--header-height) + var(--space-4)) var(--section-space);
}

.products__layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem) var(--grid-gap);
}

.products__intro {
  min-width: 0;
}

.products__eyebrow,
.products__spec > h3 {
  color: var(--gold-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.products__eyebrow {
  display: flex;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  gap: 0.875rem;
}

.products__eyebrow::before {
  width: 2.875rem;
  height: 0.0625rem;
  content: "";
  background: currentColor;
  flex: 0 0 auto;
}

.products__intro h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.25rem, 12vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.products__summary {
  max-width: 34rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
}

.products__assurances {
  display: grid;
  padding: 0;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 0.0625rem solid var(--border);
}

.products__assurances li {
  display: grid;
  min-width: 0;
  padding: 1.25rem 0.75rem 0;
  justify-items: start;
  align-content: start;
  gap: 0.75rem;
  color: var(--text-primary);
  border-right: 0.0625rem solid var(--border);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.products__assurances li:nth-child(2n) {
  border-right: 0;
}

.products__assurances li:nth-child(n + 3) {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid var(--border);
}

.products__assurances svg,
.products__market svg {
  overflow: visible;
  fill: none;
  stroke: var(--gold-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.products__assurances svg {
  width: 2.5rem;
  height: 2.5rem;
}

.products__hero {
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: clamp(0.75rem, 1.5vw, 1.25rem);
}

.products__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.products__spec {
  min-width: 0;
  border-top: 0.0625rem solid var(--border);
}

.products__spec > h3 {
  margin: 1.25rem 0 0.75rem;
  color: var(--text-primary);
}

.products__spec > p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.6875rem;
  line-height: 1.55;
}

.products__pack-grid {
  display: grid;
  overflow: hidden;
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--bg-primary) 72%, var(--cream));
}

.products__pack-grid article:last-child {
  border-right: 0;
}

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

.products__pack-grid article {
  position: relative;
  display: grid;
  min-height: 13.5rem;
  padding: 1.25rem;
  align-items: end;
  overflow: hidden;
  border-bottom: 0.0625rem solid var(--border);
}

.products__pack-grid article:last-child {
  border-bottom: 0;
}

.products__pack-grid article > div {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.products__pack-grid strong {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.products__pack-grid span {
  color: var(--text-secondary);
  font-size: 0.6875rem;
  line-height: 1.2;
}

.products__pack-grid img {
  z-index: 1;
  width: 100%;
  height: 10rem;
  margin-top: 2.25rem;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: darken;
}

.products__market {
  display: grid;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  gap: 2rem;
  background: color-mix(in srgb, var(--cream) 58%, var(--bg-primary));
  border-radius: clamp(0.75rem, 1.5vw, 1.25rem);
}

.products__market-intro {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.products__market-intro > svg {
  width: 4.5rem;
  height: 4.5rem;
}

.products__market h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 5vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.products__market p {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.products__market ul {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 0.0625rem solid var(--border);
}

.products__market li {
  display: grid;
  min-width: 0;
  padding: 1.25rem 0.75rem 0;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  border-right: 0.0625rem solid var(--border);
  font-size: 0.6875rem;
  line-height: 1.45;
}

.products__market li:nth-child(2n) {
  border-right: 0;
}

.products__market li:nth-child(n + 3) {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid var(--border);
}

.products__market li svg {
  width: 2.5rem;
  height: 2.5rem;
}

@media (min-width: 40rem) {
  .products__pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products__pack-grid article {
    min-height: 15rem;
    border-right: 0.0625rem solid var(--border);
    border-bottom: 0;
  }
}

@media (min-width: 48.0625rem) {
  .products__stage {
    padding-block: calc(var(--header-height) + 1.5rem) clamp(5rem, 8vw, 8rem);
  }

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

  .products__intro {
    grid-column: 1 / span 5;
  }

  .products__intro h2 {
    font-size: clamp(3.5rem, 6.6vw, 5.5rem);
  }

  .products__hero {
    grid-column: 6 / -1;
    aspect-ratio: auto;
    min-height: 32rem;
  }

  .products__hero img {
    object-position: 48% center;
  }

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

  .products__spec--sizes {
    grid-column: 1 / span 7;
  }

  .products__spec--shells {
    grid-column: 8 / -1;
  }

  .products__spec--packs {
    grid-column: 1 / -1;
  }

  .products__market {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .products__market ul {
    border-top: 0;
  }
}

@media (min-width: 80rem) {
  .products__layout {
    row-gap: clamp(1.75rem, 2.25vw, 2.5rem);
  }

  .products__intro {
    grid-column: 1 / span 5;
    align-self: center;
  }

  .products__hero {
    grid-column: 6 / -1;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .products__intro h2 {
    max-width: 15ch;
    font-size: clamp(3.5rem, 4vw, 4.75rem);
  }

  .products__summary {
    font-size: 0.9375rem;
  }

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

  .products__assurances li {
    padding: 1rem clamp(0.375rem, 0.65vw, 0.75rem) 0;
    border-top: 0 !important;
    font-size: 0.625rem;
  }

  .products__assurances svg {
    width: 2.125rem;
    height: 2.125rem;
  }

  .products__assurances li:nth-child(n + 3) {
    margin-top: 0;
  }

  .products__assurances li:nth-child(2n) {
    border-right: 0.0625rem solid var(--border);
  }

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

  .products__spec--sizes {
    grid-column: 1 / span 4;
  }

  .products__spec--shells {
    grid-column: 5 / span 3;
  }

  .products__spec--packs {
    grid-column: 8 / -1;
  }

  .products__pack-grid article {
    min-height: 10.75rem;
    padding: 1rem;
  }

  .products__pack-grid article > div {
    top: 1rem;
    left: 1rem;
  }

  .products__pack-grid img {
    height: 7.5rem;
  }

  .products__market {
    grid-template-columns: minmax(28rem, 0.9fr) minmax(0, 1.7fr);
    padding-block: 1.75rem;
  }

  .products__market ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .products__market li,
  .products__market li:nth-child(n + 3) {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .products__market li:nth-child(2n) {
    border-right: 0.0625rem solid var(--border);
  }

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

@media (max-width: 25rem) {
  .products__market-intro {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1rem;
  }

  .products__market-intro > svg {
    width: 3.5rem;
    height: 3.5rem;
  }

  .products__market ul {
    grid-template-columns: 1fr;
  }

  .products__market li,
  .products__market li:nth-child(2n),
  .products__market li:nth-child(n + 3) {
    margin-top: 0;
    padding-block: 1rem;
    border-top: 0.0625rem solid var(--border);
    border-right: 0;
  }
}

.site-footer {
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-top: 0.0625rem solid var(--border);
}

.site-footer__inner {
  display: flex;
  min-height: auto;
  padding-block: var(--space-3);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  flex-wrap: wrap;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__developer {
  text-align: right;
}

.site-footer__developer a {
  color: inherit;
  text-underline-offset: 0.2em;
  transition: color 180ms ease;
}

.site-footer__developer a:hover,
.site-footer__developer a:focus-visible {
  color: var(--forest);
}

.no-js body.is-loading {
  overflow: auto;
}

.no-js .preloader {
  display: none;
}

@media (min-width: 48.0625rem) and (min-height: 40rem) and (max-height: 47.999rem) {
  .grading__stage {
    padding-block: calc(var(--header-height) + 0.25rem) 0.75rem;
  }

  .grading__layout {
    row-gap: 0.375rem;
  }

  .grading__eyebrow {
    margin-bottom: 0.625rem;
  }

  .grading__intro h2 {
    font-size: clamp(3rem, 3.75vw, 4rem);
  }

  .grading__summary {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .grading__media {
    width: 100%;
    padding: 0.75rem 0.75rem 0;
    justify-self: stretch;
  }

  .grading__media-frame {
    aspect-ratio: 2 / 1;
  }

  .grading__media iframe {
    top: -6.25%;
    height: 112.5%;
  }

  .grading__media figcaption {
    min-height: 2.5rem;
    margin-top: 0;
    font-size: 0.625rem;
  }

  .grading__media-caption-main {
    gap: 0.75rem;
    font-size: 0.75rem;
  }

  .grading__media-caption-main svg {
    width: 1.625rem;
  }

  .grading__story {
    --grading-story-inline: clamp(2rem, 2.75vw, 2.75rem);
    --grading-progress-inline: clamp(1.75rem, 2.25vw, 2.25rem);
    min-height: 10rem;
    padding-block: 1.125rem 2.5rem;
  }

  .grading__steps {
    min-height: 6.25rem;
  }

  .grading__step {
    grid-template-columns: 4rem minmax(15rem, 0.52fr) 0.0625rem minmax(13rem, 0.48fr);
    gap: clamp(1.25rem, 2vw, 2rem);
  }

  .grading__step-icon {
    width: 4rem;
  }

  .grading__step-icon svg {
    width: 2.375rem;
  }

  .grading__step h3 {
    font-size: clamp(1.875rem, 2.2vw, 2.375rem);
  }

  .grading__step-main p {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .grading__step-divider {
    height: 5rem;
  }

  .grading__step-outcome {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 1rem;
  }

  .grading__outcome-icon svg {
    width: 2.625rem;
  }

  .grading__step-outcome p {
    font-size: 1.0625rem;
  }
}

@media (min-width: 48.0625rem) and (max-height: 39.999rem) {
  .scene--grading,
  .grading__stage {
    min-height: auto;
  }

  .grading__stage {
    padding-block: calc(var(--header-height) + 1rem) 2.5rem;
    align-items: start;
  }

  .grading__layout {
    row-gap: 1.25rem;
  }

  .grading__eyebrow {
    margin-bottom: 0.625rem;
  }

  .grading__intro h2 {
    font-size: clamp(3rem, 3.75vw, 4rem);
  }

  .grading__summary {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .grading__media {
    width: 100%;
    padding: 0.75rem 0.75rem 0;
    justify-self: stretch;
  }

  .grading__media-frame {
    aspect-ratio: 2 / 1;
  }

  .grading__media iframe {
    top: -6.25%;
    height: 112.5%;
  }

  .grading__media figcaption {
    min-height: 3rem;
    font-size: 0.625rem;
  }

  .grading__media-caption-main {
    gap: 0.75rem;
    font-size: 0.75rem;
  }

  .grading__media-caption-main svg {
    width: 1.625rem;
  }

  .grading__story {
    --grading-story-inline: clamp(1.75rem, 2.5vw, 2.5rem);
    min-height: auto;
    padding: 1.5rem var(--grading-story-inline) 1.75rem;
  }

  .grading__story::after,
  .grading__story-progress {
    display: none;
  }

  .grading__steps {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 4rem);
  }

  .grading__step {
    display: grid;
    padding-block: 1.25rem;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.75rem;
    border-top: 0.0625rem solid rgb(238 233 222 / 16%);
  }

  .grading__step:nth-child(-n + 2) {
    padding-top: 0;
    border-top: 0;
  }

  .grading__step-icon {
    width: 3.25rem;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .grading__step-icon svg {
    width: 2rem;
  }

  .grading__step-main {
    grid-column: 2;
    grid-row: 1;
  }

  .grading__step h3 {
    font-size: clamp(1.75rem, 2vw, 2.125rem);
  }

  .grading__step-main p {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .grading__step-divider {
    display: none;
  }

  .grading__step-outcome {
    width: 100%;
    padding-top: 0.75rem;
    border-top: 0.0625rem solid rgb(201 164 92 / 22%);
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.875rem;
  }

  .grading__outcome-icon svg {
    width: 2rem;
  }

  .grading__step-outcome p {
    max-width: none;
    font-size: 0.9375rem;
  }
}

/* The 48–59.9375rem Production layout is also a single column. Keep its
   cinematic slot first so the fixed video docks before the copy enters. */
@media (max-width: 59.9375rem) {
  .production__stage {
    padding-block-start: 0;
  }

  .production__media {
    order: -1;
    width: calc(100% + var(--page-gutter) + var(--page-gutter));
    height: 100svh;
    aspect-ratio: auto;
    margin-inline: calc(0rem - var(--page-gutter));
  }

  @supports (height: 100lvh) {
    .production__media {
      height: 100lvh;
    }
  }
}

@media (max-width: 48rem) {
  html[data-menu="open"],
  html[data-menu="open"] body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  html[data-menu="open"] .site-header {
    color: var(--text-primary);
    background: rgb(247 245 239 / 96%);
    border-bottom: 0.0625rem solid rgb(36 53 43 / 12%);
    backdrop-filter: blur(1rem);
  }

  html[data-menu="open"] .site-header .brand__wordmark {
    filter: none;
  }

  html[data-menu="open"] .site-header .menu-toggle {
    color: var(--text-primary);
  }

  html[data-menu="open"] .site-header .language-selector__trigger {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border-color: var(--border);
  }

  html[data-menu="open"] .site-header .header-contact {
    color: var(--text-inverse);
    background: var(--forest);
  }

  .scene--grading {
    min-height: auto;
    overflow: clip;
  }

  .scene--grading.is-grading-pinnable {
    min-height: 100svh;
  }

  .grading__technical-grid {
    background-size: 4.5rem 4.5rem;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 28%) 42%, transparent 76%);
    mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 28%) 42%, transparent 76%);
  }

  .grading__blueprint {
    top: 7rem;
    right: -6rem;
    left: auto;
    width: 24rem;
    opacity: 0.065;
  }

  .grading__stage {
    min-height: auto;
    padding-block: calc(var(--header-height) + 2.5rem) clamp(4.5rem, 14vw, 7rem);
  }

  .scene--grading.is-grading-pinnable .grading__stage {
    min-height: 100svh;
    padding-block: calc(var(--header-height) + 0.75rem) 0.75rem;
  }

  .grading__layout {
    width: min(100% - (2 * var(--page-gutter)), var(--page-max));
    padding-right: 0;
    grid-template-areas:
      "intro"
      "media"
      "story";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: clamp(2.25rem, 9vw, 3.5rem);
  }

  .scene--grading.is-grading-pinnable .grading__layout {
    gap: clamp(0.75rem, 2.6svh, 1.25rem);
  }

  .grading__eyebrow {
    margin-bottom: 0.875rem;
  }

  .grading__intro h2 {
    max-width: 11ch;
    font-size: clamp(2.875rem, 13vw, 4.25rem);
  }

  .grading__summary {
    max-width: 34rem;
    margin-top: 1rem;
    padding-left: 1rem;
    font-size: 0.9375rem;
  }

  .scene--grading.is-grading-pinnable .grading__summary {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .grading__media {
    width: 100%;
    padding: 0.75rem 0.75rem 0;
    border-radius: 0.625rem;
  }

  .grading__media-frame {
    aspect-ratio: 16 / 9;
  }

  .grading__media iframe {
    top: 0;
    height: 100%;
  }

  .grading__media-frame {
    box-shadow: 0 1rem 2.5rem rgb(32 33 31 / 11%);
  }

  .grading__media figcaption {
    min-height: 3.5rem;
    margin-top: 0.625rem;
    font-size: 0.625rem;
  }

  .grading__media-caption-main {
    gap: 0.625rem;
    font-size: 0.6875rem;
  }

  .grading__media-caption-main svg {
    width: 1.5rem;
  }

  .grading__media figcaption > span:last-child {
    display: none;
  }

  .grading__story {
    --grading-story-inline: 1.5rem;
    --grading-progress-inline: 1.5rem;
    min-height: auto;
    padding: 1.25rem 1.5rem 1.375rem;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    min-height: 13rem;
    padding-block: 1rem;
  }

  .grading__steps {
    min-height: 0;
    padding: 0;
  }

  .scene--grading.is-grading-pinnable .grading__steps {
    min-height: 10.875rem;
  }

  .grading__step {
    padding-block: 1.5rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.75rem;
    border-top: 0.0625rem solid rgb(238 233 222 / 18%);
  }

  .grading__step:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .grading__step:last-child {
    padding-bottom: 0;
  }

  .scene--grading.is-grading-pinnable .grading__step {
    left: 0;
    padding: 0;
    border: 0;
  }

  .grading__step-icon {
    width: 2.75rem;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .grading__step-icon svg {
    width: 1.875rem;
  }

  .grading__step-main {
    grid-column: 2;
    grid-row: 1;
  }

  .grading__step h3 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .grading__step-main p {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .grading__step-divider {
    display: none;
  }

  .grading__step-outcome {
    width: 100%;
    padding-top: 0.625rem;
    border-top: 0.0625rem solid rgb(201 164 92 / 22%);
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    justify-self: stretch;
    gap: 0.875rem;
  }

  .grading__outcome-icon svg {
    width: 1.875rem;
  }

  .grading__step-outcome p {
    max-width: 24ch;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .site-header__inner {
    min-height: var(--header-height);
    gap: var(--space-1);
  }

  .brand {
    min-width: 0;
    gap: var(--space-1);
  }

  .brand__egg {
    flex: 0 0 auto;
    width: 1rem;
  }

  .brand__wordmark {
    flex: 0 0 auto;
    width: 4.25rem;
  }

  .language-selector {
    min-width: 0;
  }

  .language-selector__trigger {
    width: 4rem;
    min-height: 2rem;
  }

  .language-selector__menu {
    width: 4rem;
  }

  .header-actions {
    gap: 0;
  }

  .header-contact {
    min-height: 2rem;
    padding: var(--space-1);
    font-size: var(--font-size-button);
  }

  .header-contact__full {
    display: none;
  }

  .header-contact__compact {
    display: inline;
  }

  .menu-toggle {
    width: 2rem;
    height: 2rem;
    padding: var(--space-1);
    transition: transform 100ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:active {
    transform: scale(0.92);
  }

  .section-pagination {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding:
      clamp(2.5rem, 8svh, 5rem)
      max(var(--page-gutter), env(safe-area-inset-right))
      max(var(--space-4), env(safe-area-inset-bottom))
      max(var(--page-gutter), env(safe-area-inset-left));
    align-items: center;
    overflow-y: auto;
    color: var(--text-primary);
    background:
      radial-gradient(circle at 100% 100%, rgb(201 164 92 / 12%), transparent 42%),
      linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    opacity: 0;
    pointer-events: none;
    transition:
      visibility 0s linear 280ms,
      opacity 220ms ease;
    transform: none;
    visibility: hidden;
  }

  .section-pagination::before {
    position: absolute;
    top: clamp(2rem, 6svh, 4rem);
    right: var(--page-gutter);
    width: clamp(4rem, 24vw, 7rem);
    height: 0.0625rem;
    content: "";
    background: var(--gold);
    opacity: 0.7;
  }

  .section-pagination.is-open {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    visibility: visible;
  }

  .section-pagination ul {
    width: min(100%, 32rem);
    gap: clamp(1rem, 2.5svh, 1.75rem);
  }

  .section-pagination li {
    opacity: 0;
    transition:
      opacity 150ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(0.75rem);
  }

  .section-pagination li:nth-child(1) { transition-delay: 100ms; }
  .section-pagination li:nth-child(2) { transition-delay: 80ms; }
  .section-pagination li:nth-child(3) { transition-delay: 60ms; }
  .section-pagination li:nth-child(4) { transition-delay: 40ms; }
  .section-pagination li:nth-child(5) { transition-delay: 20ms; }
  .section-pagination li:nth-child(6) { transition-delay: 0ms; }

  .section-pagination.is-open li {
    opacity: 1;
    transform: translateY(0);
  }

  .section-pagination.is-open li:nth-child(1) { transition-delay: 40ms; }
  .section-pagination.is-open li:nth-child(2) { transition-delay: 70ms; }
  .section-pagination.is-open li:nth-child(3) { transition-delay: 100ms; }
  .section-pagination.is-open li:nth-child(4) { transition-delay: 130ms; }
  .section-pagination.is-open li:nth-child(5) { transition-delay: 160ms; }
  .section-pagination.is-open li:nth-child(6) { transition-delay: 190ms; }

  .section-pagination a {
    flex-direction: row;
    width: 100%;
    min-height: clamp(2.75rem, 7svh, 4rem);
    height: auto;
    justify-content: flex-start;
    gap: var(--space-2);
    color: var(--text-primary);
    transition: opacity 100ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .section-pagination a:active {
    opacity: 0.58;
  }

  .section-pagination__dot {
    width: 0.3125rem;
    height: 0.3125rem;
    border: 0;
    background: currentColor;
    opacity: 0;
  }

  .section-pagination__label,
  .section-pagination.is-open .section-pagination__label {
    position: static;
    width: auto;
    padding: 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3.75rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.025em;
    opacity: 1;
    transform: none;
  }

  .section-pagination a[aria-current="location"] {
    color: var(--gold-dark);
  }

  .section-pagination a[aria-current="location"] .section-pagination__dot {
    background: var(--gold-dark);
    opacity: 1;
    transform: scale(1.2);
  }

  .section-pagination[data-nav-theme="dark"],
  .section-pagination[data-nav-theme="dark"] .section-pagination__label {
    color: var(--text-primary);
    background-color: transparent;
  }

  .home__content {
    padding-block: calc(var(--header-height) + 1.5rem) 0.75rem;
  }

  .home__glow {
    top: 38%;
    width: min(128vw, 32rem);
  }

  .home__egg-logo {
    height: clamp(10.5rem, 30svh, 15rem);
  }

  .home__wordmark {
    width: min(100%, 31rem);
    margin-top: 0.75rem;
  }

  .home__quality {
    width: min(92%, 24rem);
    margin-top: 0.5rem;
    gap: 0.5rem;
    font-size: clamp(0.6875rem, 3.2vw, 0.875rem);
    letter-spacing: 0.22em;
  }

  .home__headline {
    margin-top: 0.75rem;
    font-size: clamp(1.45rem, 7vw, 1.875rem);
  }

  .home__description {
    margin-top: 0.375rem;
    font-size: clamp(0.75rem, 3.3vw, 0.9375rem);
  }

  .home__description br {
    display: none;
  }

  .home__actions {
    margin-top: 0.875rem;
    gap: clamp(1rem, 5vw, 1.5rem);
  }

  .home__contact {
    min-width: 9rem;
  }

  .home__explore {
    line-height: 1.6;
  }

  .home__proof {
    margin-top: 1rem;
    justify-content: center;
    font-size: clamp(1rem, 4.8vw, 1.25rem);
  }

  .home__scroll {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (min-width: 48.0625rem) {
  .section-rail {
    --wave-nav-text: var(--forest);
    --wave-nav-dot: var(--forest);
    --wave-nav-active: var(--accent-strong);
    --wave-nav-halo-core: color-mix(in srgb, var(--bg-primary) 98%, transparent);
    --wave-nav-halo-mid: color-mix(in srgb, var(--bg-primary) 82%, transparent);
    --wave-nav-halo-soft: color-mix(in srgb, var(--bg-primary) 56%, transparent);
    position: fixed;
    z-index: 20;
    top: 50%;
    right: max(clamp(1.5rem, 2vw, 2rem), env(safe-area-inset-right));
    display: block;
    width: clamp(11.5rem, 15vw, 16rem);
    color: var(--wave-nav-text);
    isolation: isolate;
    transition: color 320ms ease;
    transform: translateY(-50%);
  }

  .section-rail[data-nav-theme="dark"] {
    --wave-nav-text: var(--text-inverse);
    --wave-nav-dot: var(--cream);
    --wave-nav-active: var(--accent);
    --wave-nav-halo-core: color-mix(in srgb, var(--bg-dark) 96%, transparent);
    --wave-nav-halo-mid: color-mix(in srgb, var(--bg-dark) 80%, transparent);
    --wave-nav-halo-soft: color-mix(in srgb, var(--bg-dark) 54%, transparent);
  }

  .section-rail ul {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    gap: var(--space-1);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .section-rail a {
    --wave: 0;
    --wave-shift: 0rem;
    --morph-label-opacity: 0;
    --morph-label-x: 0px;
    position: relative;
    display: flex;
    width: 100%;
    min-width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
  }

  .section-rail__dot {
    --rail-dot-border: var(--wave-nav-dot);
    --rail-dot-fill: transparent;
    --rail-dot-scale: 1;
    position: relative;
    display: block;
    width: 0.625rem;
    height: 0.625rem;
    margin-left: auto;
    flex: 0 0 auto;
    background: transparent;
    border: 0;
  }

  .section-rail__dot::before {
    position: absolute;
    inset: 0;
    content: "";
    background: var(--rail-dot-fill);
    border: 0.0625rem solid var(--rail-dot-border);
    border-radius: 50%;
    transition:
      background-color 320ms ease,
      border-color 320ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(var(--rail-dot-scale));
  }

  .section-rail__label {
    position: absolute;
    top: 50%;
    right: calc(0.625rem + var(--space-2));
    width: max-content;
    padding: 0;
    color: var(--wave-nav-text);
    background: transparent;
    font-size: var(--font-size-small);
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    opacity: clamp(
      0,
      calc(var(--morph-label-opacity) + (var(--wave) * 1.15)),
      1
    );
    pointer-events: none;
    transition:
      color 320ms ease,
      text-shadow 240ms ease;
    transform: translate3d(
      calc(var(--morph-label-x) + var(--wave-shift)),
      -50%,
      0
    );
  }

  .section-rail[data-nav-state="compact"] .section-rail__label {
    text-shadow:
      0 0 0.125rem var(--wave-nav-halo-core),
      0 0 0.25rem var(--wave-nav-halo-core),
      0 0 0.5rem var(--wave-nav-halo-mid),
      0 0 0.875rem var(--wave-nav-halo-mid),
      0 0 1.25rem var(--wave-nav-halo-soft);
  }

  .section-rail__line {
    position: absolute;
    z-index: 0;
    top: 1rem;
    bottom: 1rem;
    left: 0.3125rem;
    display: block;
    width: 0.0625rem;
    background: var(--wave-nav-active);
    opacity: 0;
    pointer-events: none;
    transform: scaleY(0);
    transform-origin: top;
  }

  .section-rail[data-nav-state="main"] .section-rail__line,
  .section-rail[data-nav-state="transition"] .section-rail__line {
    opacity: 1;
  }

  .section-rail[data-nav-state="main"] li:first-child .section-rail__dot,
  .section-rail[data-nav-state="transition"]
    li:first-child
    a[aria-current="location"]
    .section-rail__dot {
    --rail-dot-border: var(--wave-nav-active);
    --rail-dot-fill: var(--wave-nav-active);
  }

  .section-rail[data-nav-state="main"] li:first-child .section-rail__label {
    color: var(--wave-nav-active);
  }

  .section-rail[data-nav-state="main"] a:hover .section-rail__label {
    color: var(--wave-nav-active);
  }

  .section-rail:not([data-nav-state="compact"]) .section-rail__dot::before {
    transition:
      background-color 320ms ease,
      border-color 320ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .section-rail a[aria-current="location"] .section-rail__dot {
    --rail-dot-border: var(--wave-nav-active);
    --rail-dot-fill: var(--wave-nav-active);
  }

  .section-rail.has-proximity a.is-proximity-focus .section-rail__dot {
    --rail-dot-border: var(--wave-nav-dot);
    --rail-dot-fill: transparent;
    --rail-dot-scale: 1.28;
  }

  .section-rail.has-proximity
    a.is-proximity-focus[aria-current="location"]
    .section-rail__dot {
    --rail-dot-border: var(--wave-nav-active);
    --rail-dot-fill: var(--wave-nav-active);
  }

  html.has-active-tile-transition .section-rail,
  html.has-active-tile-transition .section-pagination {
    z-index: 95;
    pointer-events: auto;
  }

  .section-rail[data-nav-state="compact"]
    a:focus-visible
    .section-rail__label {
    opacity: 1;
    transform: translate3d(-0.5rem, -50%, 0);
  }

  .section-rail[data-nav-state="compact"]
    a:focus-visible
    .section-rail__dot {
    --rail-dot-border: var(--wave-nav-active);
    --rail-dot-fill: transparent;
    --rail-dot-scale: 1.25;
  }

  .section-rail[data-nav-state="compact"]
    a[aria-current="location"]:focus-visible
    .section-rail__dot {
    --rail-dot-fill: var(--wave-nav-active);
  }

  html[data-menu="open"],
  html[data-menu="open"] body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  html[data-menu="open"] .site-header {
    pointer-events: none;
  }

  html[data-menu="open"] .brand,
  html[data-menu="open"] .language-selector,
  html[data-menu="open"] .header-contact {
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
  }

  html[data-menu="open"] .menu-toggle {
    color: var(--menu-cream);
    pointer-events: auto;
  }

  .brand,
  .language-selector,
  .header-contact {
    transition: opacity 220ms ease 360ms;
  }

  .menu-toggle__line {
    transition:
      transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease;
  }

  .menu-scrim {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgb(13 19 15 / 62%);
    border: 0;
    opacity: 0;
    cursor: default;
    pointer-events: none;
    transition:
      visibility 0s linear 720ms,
      opacity 620ms cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
  }

  .menu-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    visibility: visible;
  }

  .section-pagination {
    --menu-utility-width: calc(max(var(--page-gutter), env(safe-area-inset-right)) + 2.5rem);
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: clamp(32rem, 38vw, 50rem);
    height: 100dvh;
    padding: 0;
    color: var(--menu-cream);
    background: var(--menu-green);
    box-shadow: -2rem 0 5rem rgb(10 16 12 / 18%);
    isolation: isolate;
    overflow: hidden;
    pointer-events: none;
    transition:
      visibility 0s linear 760ms,
      transform 760ms cubic-bezier(0.76, 0, 0.24, 1);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
  }

  .section-pagination__inner {
    display: block;
    height: 100%;
    overflow: hidden;
  }

  .section-pagination__layout {
    display: grid;
    height: 100%;
    min-height: 0;
    padding:
      clamp(2rem, 4vh, 2.75rem)
      calc(var(--menu-utility-width) + clamp(2.25rem, 3vw, 4rem))
      clamp(2.25rem, 5vh, 4rem)
      clamp(2.5rem, 4vw, 5rem);
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 0;
  }

  .section-pagination::before {
    position: absolute;
    top: 0;
    right: var(--menu-utility-width);
    bottom: 0;
    width: 0.0625rem;
    content: "";
    background: rgb(244 239 227 / 22%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 240ms ease;
  }

  .section-pagination.is-open {
    pointer-events: auto;
    transition-delay: 0s;
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .section-pagination.is-open::before {
    transition: transform 360ms cubic-bezier(0.65, 0, 0.35, 1) 360ms;
    transform: scaleY(1);
  }

  .section-pagination ul {
    display: grid;
    grid-row: 2;
    width: 100%;
    align-content: start;
    min-height: 0;
    gap: 0.5rem;
    counter-reset: menu-item;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(244 239 227 / 28%) transparent;
    scrollbar-width: thin;
  }

  .section-pagination li {
    overflow: hidden;
    counter-increment: menu-item;
    min-height: clamp(3.5rem, 3.9vw, 4.75rem);
  }

  .section-pagination a {
    display: grid;
    width: 100%;
    min-width: 0;
    height: auto;
    padding-block: clamp(0.375rem, 0.5vw, 0.5rem);
    grid-template-columns: 1.75rem minmax(0, 1fr);
    align-items: baseline;
    gap: clamp(0.75rem, 1vw, 1.25rem);
    color: var(--menu-cream);
    transform: translate3d(0, -112%, 0);
    transition: transform 260ms cubic-bezier(0.65, 0, 0.35, 1);
  }

  .section-pagination a::before {
    align-self: center;
    content: "0" counter(menu-item);
    color: var(--menu-gold);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .section-pagination.is-open a {
    transition-duration: 520ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transform: translate3d(0, 0, 0);
  }

  .section-pagination.is-open li:nth-child(1) a { transition-delay: 700ms; }
  .section-pagination.is-open li:nth-child(2) a { transition-delay: 755ms; }
  .section-pagination.is-open li:nth-child(3) a { transition-delay: 810ms; }
  .section-pagination.is-open li:nth-child(4) a { transition-delay: 865ms; }
  .section-pagination.is-open li:nth-child(5) a { transition-delay: 920ms; }
  .section-pagination.is-open li:nth-child(6) a { transition-delay: 975ms; }

  .section-pagination__dot {
    display: none;
  }

  .section-pagination__label,
  .section-pagination.is-open .section-pagination__label,
  .section-pagination[data-nav-theme="dark"] .section-pagination__label {
    position: static;
    width: auto;
    min-width: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 3.4vw, 4.25rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.035em;
    text-align: left;
    opacity: 1;
    transition: color 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: none;
  }

  .section-pagination a[aria-current="location"] .section-pagination__label {
    color: var(--menu-gold);
  }

  .section-pagination a:focus-visible {
    outline-color: var(--menu-gold);
    outline-offset: 0.35rem;
  }

  .section-pagination__languages {
    display: flex;
    grid-row: 1;
    margin-bottom: 3.4375rem;
    align-items: center;
    gap: 1.25rem;
  }

  .section-pagination__languages button {
    position: relative;
    padding: 0 0 0.375rem;
    color: var(--menu-muted);
    background: transparent;
    border: 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    cursor: pointer;
  }

  .section-pagination__languages button::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0.0625rem;
    content: "";
    background: var(--menu-gold);
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: scaleX(0);
    transform-origin: left;
  }

  .section-pagination__languages button[aria-checked="true"] {
    color: var(--menu-gold);
  }

  .section-pagination__languages button[aria-checked="true"]::after {
    transform: scaleX(1);
  }

  .section-pagination__languages button:focus-visible {
    outline-color: var(--menu-gold);
    outline-offset: 0.25rem;
  }

  .section-pagination__footer {
    display: flex;
    grid-row: 3;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-2);
    color: var(--menu-muted);
    border-top: 0.0625rem solid rgb(244 239 227 / 22%);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(0.75rem);
    transition:
      opacity 240ms ease,
      transform 240ms ease;
  }

  .section-pagination__footer p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
  }

  .section-pagination__footer span {
    text-align: right;
  }

  .section-pagination.is-open .section-pagination__footer {
    opacity: 1;
    transition-delay: 1120ms;
    transform: translateY(0);
  }
}

@media (min-width: 48.0625rem) and (max-height: 48rem) {
  .home__content {
    padding-block-start: calc(var(--header-height) + 1rem);
  }

  .home__egg-logo {
    height: clamp(12rem, 34svh, 16rem);
  }

  .home__wordmark {
    width: clamp(25rem, 38vw, 34rem);
    margin-top: 0.625rem;
  }

  .home__quality {
    width: clamp(19rem, 28vw, 24rem);
    margin-top: 0.375rem;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
  }

  .home__headline {
    margin-top: 0.625rem;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  }

  .home__description {
    margin-top: 0.375rem;
    font-size: clamp(0.75rem, 1.25vw, 0.9375rem);
  }

  .home__actions {
    margin-top: 0.75rem;
  }

  .home__proof {
    margin-top: 1rem;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
  }

  .home__scroll {
    width: 2.375rem;
    height: 2.375rem;
  }
}

@media (min-width: 48.0625rem) and (hover: hover) and (pointer: fine) {
  .section-rail a:hover .section-rail__dot {
    --rail-dot-scale: 1.28;
  }

  .section-pagination.is-open a:hover .section-pagination__label {
    background: transparent;
    color: var(--menu-cream);
    transform: translate3d(0.4rem, 0, 0);
  }

  .section-pagination.is-open
    a[aria-current="location"]:hover
    .section-pagination__label {
    background: transparent;
    color: var(--menu-gold);
  }

  .section-pagination__languages button:hover {
    color: var(--menu-cream);
  }

  .section-pagination__languages button[aria-checked="true"]:hover {
    color: var(--menu-gold);
  }

  .menu-toggle:hover .menu-toggle__line:nth-child(1) {
    transform: translate(calc(-50% + 0.125rem), calc(-50% - 0.3125rem));
  }

  .menu-toggle:hover .menu-toggle__line:nth-child(3) {
    transform: translate(calc(-50% - 0.125rem), calc(-50% + 0.3125rem));
  }

  .menu-toggle[aria-expanded="true"]:hover .menu-toggle__line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1.08);
  }

  .menu-toggle[aria-expanded="true"]:hover .menu-toggle__line:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg) scaleX(1.08);
  }
}

/* Keep Grading pinned while short or folding viewports settle after a resize. */
@media (min-width: 48.0625rem) and (max-height: 39.999rem) {
  .scene--grading.is-grading-pinnable,
  .scene--grading.is-grading-pinnable .grading__stage {
    min-height: 100svh;
  }

  .scene--grading.is-grading-pinnable .grading__stage {
    padding-block: calc(var(--header-height) + 0.25rem) 0.25rem;
    align-items: center;
  }

  .scene--grading.is-grading-pinnable .grading__layout {
    row-gap: 0.25rem;
  }

  .scene--grading.is-grading-pinnable .grading__summary {
    display: none;
  }

  .scene--grading.is-grading-pinnable .grading__media {
    padding: 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__media-frame {
    aspect-ratio: 2.25 / 1;
  }

  .scene--grading.is-grading-pinnable .grading__media iframe {
    top: -13.25%;
    height: 126.5%;
  }

  .scene--grading.is-grading-pinnable .grading__media figcaption {
    display: none;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    --grading-story-inline: clamp(1.5rem, 2.25vw, 2.25rem);
    --grading-progress-inline: clamp(1.25rem, 1.75vw, 1.75rem);
    min-height: 8.75rem;
    padding: 0.75rem var(--grading-story-inline) 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__story::after {
    display: block;
    bottom: 1.25rem;
  }

  .scene--grading.is-grading-pinnable .grading__story-progress {
    display: block;
    bottom: 1.21875rem;
  }

  .scene--grading.is-grading-pinnable .grading__steps {
    display: block;
    min-height: 5.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__step {
    position: absolute;
    inset: 0;
    display: grid;
    padding: 0;
    visibility: hidden;
    border: 0;
    grid-template-columns: 3.5rem minmax(14rem, 0.52fr) 0.0625rem minmax(12rem, 0.48fr);
    grid-template-rows: auto;
    gap: clamp(1rem, 1.75vw, 1.5rem);
    opacity: 0;
  }

  .scene--grading.is-grading-pinnable .grading__step[aria-current="step"] {
    visibility: visible;
  }

  .scene--grading.is-grading-pinnable .grading__step-icon {
    width: 3.25rem;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }

  .scene--grading.is-grading-pinnable .grading__step-icon svg {
    width: 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-main {
    grid-column: auto;
    grid-row: auto;
  }

  .scene--grading.is-grading-pinnable .grading__step h3 {
    font-size: clamp(1.625rem, 1.9vw, 2rem);
  }

  .scene--grading.is-grading-pinnable .grading__step-main p {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .scene--grading.is-grading-pinnable .grading__step-divider {
    display: block;
    height: 4rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome {
    width: min(100%, 27rem);
    padding-top: 0;
    border-top: 0;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__outcome-icon svg {
    width: 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome p {
    max-width: 25ch;
    font-size: 0.9375rem;
  }
}

@media (max-width: 48rem) and (max-height: 46.999rem) {
  .scene--grading.is-grading-pinnable .grading__stage {
    padding-block: calc(var(--header-height) + 0.5rem) 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__layout {
    grid-template-areas:
      "intro media"
      "story story";
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__intro {
    align-self: center;
  }

  .scene--grading.is-grading-pinnable .grading__eyebrow {
    margin-bottom: 0.5rem;
    gap: 0.625rem;
    font-size: 0.625rem;
  }

  .scene--grading.is-grading-pinnable .grading__eyebrow::before {
    width: 1.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__intro h2 {
    font-size: clamp(2.125rem, 7vw, 3.25rem);
  }

  .scene--grading.is-grading-pinnable .grading__summary,
  .scene--grading.is-grading-pinnable .grading__media figcaption {
    display: none;
  }

  .scene--grading.is-grading-pinnable .grading__media {
    padding: 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__media-frame {
    aspect-ratio: 2 / 1;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    min-height: 10rem;
    padding: 0.875rem 1rem 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__steps {
    min-height: 7rem;
  }
}

/* Wide mobile viewports with short browser heights, including unfolded Fold screens. */
@media (min-width: 37.5rem) and (max-width: 48rem) and (min-height: 36rem) and (max-height: 46.999rem) {
  .scene--grading.is-grading-pinnable .grading__stage {
    padding-block: calc(var(--header-height) + 0.5rem) 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 0.625rem;
  }

  .scene--grading.is-grading-pinnable .grading__intro h2 {
    font-size: clamp(2.375rem, 6.4vw, 3rem);
  }

  .scene--grading.is-grading-pinnable .grading__summary {
    display: block;
    max-width: none;
    margin-top: 0.625rem;
    padding-left: 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.4;
  }

  .scene--grading.is-grading-pinnable .grading__link {
    margin-top: 0.625rem;
    gap: 1rem;
    font-size: 0.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__link > span:first-child {
    padding-bottom: 0.25rem;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    min-height: 11.25rem;
    padding: 0.875rem 1.25rem 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__steps {
    min-height: 8.125rem;
  }

  .scene--grading.is-grading-pinnable .grading__step {
    grid-template-columns:
      2.75rem
      minmax(0, 0.54fr)
      0.0625rem
      minmax(0, 0.46fr);
    grid-template-rows: auto;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.125rem);
  }

  .scene--grading.is-grading-pinnable .grading__step-icon {
    width: 2.75rem;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }

  .scene--grading.is-grading-pinnable .grading__step-icon svg {
    width: 1.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-main {
    grid-column: auto;
    grid-row: auto;
  }

  .scene--grading.is-grading-pinnable .grading__step h3 {
    font-size: clamp(1.5rem, 3.8vw, 1.875rem);
    line-height: 1;
  }

  .scene--grading.is-grading-pinnable .grading__step-main p {
    max-width: none;
    margin-top: 0.375rem;
    font-size: 0.6875rem;
    line-height: 1.4;
  }

  .scene--grading.is-grading-pinnable .grading__step-divider {
    display: block;
    height: 4.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome {
    width: 100%;
    max-width: none;
    padding-top: 0;
    border-top: 0;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__outcome-icon svg {
    width: 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome p {
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

@media (max-height: 35.999rem) {
  .scene--grading.is-grading-pinnable .grading__intro,
  .scene--grading.is-grading-pinnable .grading__media,
  .scene--grading.is-grading-pinnable .grading__blueprint {
    display: none;
  }

  .scene--grading.is-grading-pinnable .grading__stage {
    padding-block: calc(var(--header-height) + 0.5rem) 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__layout {
    grid-template-areas: "story";
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    min-height: min(17rem, calc(100svh - var(--header-height) - 1rem));
  }
}

@media (max-width: 31.25rem) and (min-height: 36rem) {
  .scene--grading.is-grading-pinnable .grading__layout {
    gap: 0.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__story {
    --grading-story-inline: 1rem;
    --grading-progress-inline: 0.875rem;
    min-height: 14.75rem;
    padding: 0.875rem var(--grading-story-inline) 2rem;
  }

  .scene--grading.is-grading-pinnable .grading__story::after {
    bottom: 1rem;
  }

  .scene--grading.is-grading-pinnable .grading__story-progress {
    bottom: 0.96875rem;
  }

  .scene--grading.is-grading-pinnable .grading__steps {
    min-height: 11.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__step {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    align-items: start;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-icon {
    width: 2.5rem;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .scene--grading.is-grading-pinnable .grading__step-icon svg {
    width: 1.625rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-main {
    display: contents;
  }

  .scene--grading.is-grading-pinnable .grading__step h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: clamp(1.75rem, 7vw, 2rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .scene--grading.is-grading-pinnable .grading__step-main p {
    max-width: none;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.78125rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }

  .scene--grading.is-grading-pinnable .grading__step-divider {
    display: none;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome {
    width: 100%;
    max-width: none;
    padding-top: 0.5rem;
    border-top: 0.0625rem solid rgb(201 164 92 / 22%);
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1.875rem minmax(0, 1fr);
    gap: 0.625rem;
  }

  .scene--grading.is-grading-pinnable .grading__outcome-icon svg {
    width: 1.75rem;
  }

  .scene--grading.is-grading-pinnable .grading__step-outcome p {
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 22.5rem) {
  .header-contact {
    width: 2rem;
    padding: 0;
  }

  .header-contact__compact {
    display: none;
  }

  .header-contact::before {
    content: "↗";
    font-size: var(--font-size-small);
  }
}

/* Logistics scene */
.scene--logistics {
  position: relative;
  min-height: 120svh;
  overflow: clip;
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(201 164 92 / 10%), transparent 32rem),
    var(--bg-primary);
}

.logistics__stage {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.logistics__layout {
  display: grid;
  width: min(100% - (2 * var(--page-gutter)), var(--page-max));
  height: 100%;
  min-height: 0;
  padding-block: calc(var(--header-height) + clamp(0.5rem, 1.2vh, 1rem)) clamp(0.75rem, 1.8vh, 1.5rem);
  margin-inline: auto;
  grid-template-rows: minmax(0, 1.65fr) auto minmax(0, 0.9fr);
  gap: clamp(0.5rem, 1.25vh, 0.875rem);
}

.logistics__hero {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(20rem, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.logistics__intro {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: center;
}

.logistics__eyebrow {
  display: flex;
  margin: 0 0 clamp(0.5rem, 1.5vh, 1rem);
  align-items: center;
  gap: 0.875rem;
  color: var(--gold-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.logistics__eyebrow::before {
  width: 2.875rem;
  height: 0.0625rem;
  content: "";
  background: currentColor;
  flex: 0 0 auto;
}

.logistics__intro h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.75rem, 3.4vw, 4.25rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.logistics__summary {
  max-width: 38rem;
  margin: clamp(0.625rem, 1.4vh, 1rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 0.85vw, 0.9375rem);
  line-height: 1.55;
}

.logistics__quick-points,
.logistics__benefits,
.logistics__stats {
  padding: 0;
  margin: 0;
  list-style: none;
}

.logistics__quick-points {
  display: grid;
  margin-top: clamp(0.75rem, 1.8vh, 1.25rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 0.0625rem solid var(--border);
}

.logistics__quick-points li {
  display: grid;
  min-width: 0;
  padding: clamp(0.625rem, 1.25vh, 0.875rem) 0.5rem 0;
  justify-items: center;
  align-content: start;
  gap: 0.375rem;
  color: var(--text-primary);
  border-right: 0.0625rem solid var(--border);
  font-size: clamp(0.5rem, 0.57vw, 0.625rem);
  line-height: 1.32;
  text-align: center;
}

.logistics__quick-points li:last-child {
  border-right: 0;
}

.logistics__quick-points svg,
.logistics__benefits svg {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.logistics__quick-points svg {
  width: clamp(1.75rem, 2.3vw, 2.5rem);
  color: var(--gold-dark);
}

.logistics__media {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
}

.logistics__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgb(16 28 22 / 35%));
  pointer-events: none;
}

.logistics__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.logistics__media figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.75rem;
  left: 1rem;
  color: var(--text-inverse);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-align: right;
  text-shadow: 0 0.0625rem 0.75rem rgb(0 0 0 / 45%);
}

.logistics__benefits {
  display: grid;
  min-height: clamp(5.5rem, 13vh, 8.25rem);
  padding: clamp(0.875rem, 1.8vh, 1.25rem) clamp(1rem, 2.2vw, 2rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--text-inverse);
  background: var(--forest);
  border-radius: var(--radius-card);
}

.logistics__benefits li {
  display: grid;
  min-width: 0;
  padding-inline: clamp(0.75rem, 1.4vw, 1.5rem);
  grid-template-columns: clamp(2rem, 2.8vw, 3rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.625rem, 1vw, 1rem);
  border-right: 0.0625rem solid rgb(247 245 239 / 20%);
}

.logistics__benefits li:first-child {
  padding-left: 0;
}

.logistics__benefits li:last-child {
  padding-right: 0;
  border-right: 0;
}

.logistics__benefits svg {
  width: 100%;
  color: var(--gold-light);
}

.logistics__benefits div {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.logistics__benefits strong {
  color: var(--text-inverse);
  font-size: clamp(0.6875rem, 0.85vw, 0.875rem);
  font-weight: 600;
  line-height: 1.25;
}

.logistics__benefits span {
  color: var(--text-inverse-muted);
  font-size: clamp(0.5625rem, 0.65vw, 0.6875rem);
  line-height: 1.45;
}

.logistics__coverage {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 7fr) minmax(22rem, 5fr);
  gap: clamp(0.75rem, 1.25vw, 1.25rem);
}

.logistics__map-card,
.logistics__stats {
  min-height: 0;
  overflow: hidden;
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--cream) 38%, var(--bg-primary));
}

.logistics__map-card {
  position: relative;
  display: grid;
  padding: clamp(0.875rem, 1.6vw, 1.5rem);
  grid-template-columns: minmax(12rem, 0.72fr) minmax(18rem, 1.28fr);
  align-items: center;
  isolation: isolate;
}

.logistics__map-copy {
  z-index: 1;
  min-width: 0;
}

.logistics__map-copy h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2.125rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
}

.logistics__map-copy p {
  max-width: 30rem;
  margin: clamp(0.375rem, 0.8vh, 0.625rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.5625rem, 0.65vw, 0.6875rem);
  line-height: 1.5;
}

.logistics__map-copy a {
  display: inline-flex;
  margin-top: clamp(0.5rem, 1vh, 0.75rem);
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-dark);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.logistics__map {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
}

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

.logistics__stats li {
  display: grid;
  min-width: 0;
  padding: clamp(0.625rem, 1.25vw, 1rem) clamp(0.75rem, 1.5vw, 1.25rem);
  align-content: center;
  border-right: 0.0625rem solid var(--border);
  border-bottom: 0.0625rem solid var(--border);
}

.logistics__stats li:nth-child(2n) {
  border-right: 0;
}

.logistics__stats li:nth-child(n + 3) {
  border-bottom: 0;
}

.logistics__stats strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.logistics__stats li:last-child strong {
  font-family: var(--font-ui);
  font-size: clamp(0.6875rem, 0.85vw, 0.875rem);
  font-weight: 600;
  line-height: 1.2;
}

.logistics__stats span {
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: clamp(0.5rem, 0.6vw, 0.625rem);
  line-height: 1.35;
}

@media (max-width: 79.9375rem) {
  .logistics__layout {
    grid-template-rows: minmax(0, 1.55fr) auto minmax(0, 0.8fr);
  }

  .logistics__hero {
    grid-template-columns: minmax(18rem, 5fr) minmax(0, 7fr);
  }

  .logistics__intro h2 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
  }

  .logistics__quick-points li {
    padding-inline: 0.25rem;
  }

  .logistics__benefits li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  .scene--logistics {
    min-height: 112svh;
  }

  .logistics__layout {
    padding-block: calc(var(--header-height) + 0.375rem) 0.5rem;
    grid-template-rows: minmax(0, 1.7fr) auto minmax(0, 1fr);
    gap: 0.5rem;
  }

  .logistics__hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(7rem, 1fr);
    gap: 0.5rem;
  }

  .logistics__intro {
    align-content: start;
  }

  .logistics__eyebrow {
    margin-bottom: 0.375rem;
    gap: 0.625rem;
    font-size: 0.5625rem;
  }

  .logistics__eyebrow::before {
    width: 1.75rem;
  }

  .logistics__intro h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 9.5vw, 3rem);
    line-height: 0.9;
  }

  .logistics__summary {
    max-width: 46rem;
    margin-top: 0.375rem;
    font-size: clamp(0.625rem, 2.3vw, 0.75rem);
    line-height: 1.4;
  }

  .logistics__quick-points,
  .logistics__media figcaption {
    display: none;
  }

  .logistics__media img {
    object-position: 47% 58%;
  }

  .logistics__benefits {
    min-height: 5.25rem;
    padding: 0.625rem 0.75rem;
  }

  .logistics__benefits li {
    padding-inline: clamp(0.35rem, 1.5vw, 0.75rem);
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.375rem;
  }

  .logistics__benefits strong {
    font-size: clamp(0.5rem, 1.8vw, 0.625rem);
  }

  .logistics__benefits span {
    display: none;
  }

  .logistics__coverage {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0.5rem;
  }

  .logistics__map-card {
    padding: 0.75rem;
    grid-template-columns: minmax(6rem, 0.8fr) minmax(8rem, 1.2fr);
  }

  .logistics__map-copy h3 {
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  }

  .logistics__map-copy p,
  .logistics__map-copy a {
    display: none;
  }

  .logistics__stats strong {
    font-size: clamp(1rem, 4vw, 1.375rem);
  }

  .logistics__stats li:last-child strong {
    font-size: clamp(0.5rem, 1.8vw, 0.625rem);
  }

  .logistics__stats span {
    font-size: clamp(0.4375rem, 1.5vw, 0.5625rem);
  }
}

@media (max-width: 34rem) {
  .logistics__benefits {
    padding-inline: 0.375rem;
  }

  .logistics__benefits li {
    padding-inline: 0.25rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1.5rem auto;
    align-content: center;
    justify-items: center;
    gap: 0.25rem;
    text-align: center;
  }

  .logistics__benefits svg {
    width: 1.5rem;
  }

  .logistics__benefits div {
    width: 100%;
  }

  .logistics__benefits strong {
    display: block;
    overflow-wrap: anywhere;
    hyphens: auto;
    line-height: 1.15;
  }

  .logistics__coverage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(5.75rem, 1fr) minmax(4.75rem, 0.8fr);
  }

  .logistics__map-card {
    padding: 0.5rem;
    grid-template-columns: minmax(5.25rem, 0.45fr) minmax(0, 1.55fr);
    gap: 0.25rem;
  }

  .logistics__map-copy h3 {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

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

  .logistics__stats li,
  .logistics__stats li:nth-child(n + 3) {
    padding: 0.5rem;
    border-right: 0.0625rem solid var(--border);
    border-bottom: 0;
  }

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

@media (min-width: 48.0625rem) and (max-height: 43rem) {
  .logistics__layout {
    padding-block: calc(var(--header-height) + 0.25rem) 0.375rem;
    grid-template-rows: minmax(0, 1.35fr) auto minmax(0, 0.95fr);
    gap: 0.375rem;
  }

  .logistics__eyebrow {
    margin-bottom: 0.375rem;
  }

  .logistics__intro h2 {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  }

  .logistics__summary {
    margin-top: 0.375rem;
    line-height: 1.35;
  }

  .logistics__quick-points {
    margin-top: 0.5rem;
  }

  .logistics__quick-points li {
    padding-top: 0.375rem;
  }

  .logistics__quick-points svg {
    width: 1.625rem;
  }

  .logistics__benefits {
    min-height: 4.75rem;
    padding-block: 0.5rem;
  }

  .logistics__map-card {
    padding: 0.75rem 1rem;
    grid-template-columns: minmax(11rem, 0.55fr) minmax(0, 1.45fr);
    gap: 0.75rem;
  }
}

@media (max-width: 48rem) and (max-height: 43rem) {
  .logistics__layout {
    padding-block-start: calc(var(--header-height) + 0.25rem);
    grid-template-rows: minmax(0, 1.55fr) auto minmax(0, 0.85fr);
    gap: 0.375rem;
  }

  .logistics__summary {
    max-width: 58ch;
  }

  .logistics__hero {
    grid-template-rows: auto minmax(5.5rem, 1fr);
    gap: 0.375rem;
  }

  .logistics__benefits {
    min-height: 4rem;
    padding-block: 0.375rem;
  }

  .logistics__coverage {
    grid-template-rows: minmax(3.5rem, 0.7fr) minmax(4.25rem, 1fr);
    gap: 0.375rem;
  }

  .logistics__map-card {
    padding-block: 0.375rem;
  }
}

/* Short phone landscapes need the same upper/lower split as the transition:
   stacking the intro above the truck leaves only one title line visible. */
@media (max-width: 48rem) and (max-height: 30rem) and (orientation: landscape) {
  .logistics__layout {
    grid-template-rows: minmax(0, 1.25fr) auto minmax(0, 1fr);
    gap: 0.375rem;
  }

  .logistics__hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .logistics__intro {
    align-content: center;
  }

  .logistics__intro h2 {
    max-width: 15ch;
    font-size: clamp(1.5rem, 4.6vw, 1.875rem);
  }

  .logistics__summary {
    display: none;
  }

  .logistics__benefits {
    min-height: 3.25rem;
    padding-block: 0.25rem;
  }

  .logistics__benefits li {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.25rem;
  }

  .logistics__coverage {
    grid-template-rows: minmax(0, 1fr);
  }

  .logistics__map-card,
  .logistics__stats li {
    padding: 0.25rem 0.5rem;
  }

  .logistics__stats {
    min-height: 0;
  }

  .logistics__stats span {
    line-height: 1.2;
  }
}

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

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

  .scene--logistics {
    min-height: 100svh;
  }

}

/* Contact scene */
.scene--contact {
  position: relative;
  min-height: 120svh;
  overflow: clip;
  border-bottom: 0;
  background:
    linear-gradient(rgb(36 53 43 / 3.5%) 0.0625rem, transparent 0.0625rem),
    linear-gradient(90deg, rgb(36 53 43 / 3.5%) 0.0625rem, transparent 0.0625rem),
    radial-gradient(circle at 52% 18%, rgb(201 164 92 / 12%), transparent 32rem),
    var(--bg-primary);
  background-size: 9.25rem 9.25rem, 9.25rem 9.25rem, auto, auto;
}

.contact__stage {
  position: sticky;
  z-index: 21;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  pointer-events: none;
}

.contact__intro,
.contact__game,
.contact__advantages {
  pointer-events: auto;
}

.contact__layout {
  position: relative;
  display: grid;
  width: min(100% - (2 * var(--page-gutter)), var(--page-max));
  height: 100%;
  min-height: 0;
  padding-block: calc(var(--header-height) + clamp(0.75rem, 2vh, 1.5rem)) clamp(0.75rem, 1.8vh, 1.5rem);
  margin-inline: auto;
  grid-template-rows: minmax(0, 1fr) clamp(8.75rem, 18vh, 11.25rem);
  gap: clamp(0.625rem, 1.5vh, 1rem);
}

.contact__main {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(26rem, 0.78fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
}

.contact__intro {
  display: grid;
  min-width: 0;
  align-content: center;
}

.contact__eyebrow {
  display: flex;
  margin: 0 0 clamp(0.625rem, 1.5vh, 1rem);
  align-items: center;
  gap: 0.875rem;
  color: var(--gold-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__eyebrow::before {
  width: 2.875rem;
  height: 0.0625rem;
  content: "";
  background: currentColor;
  flex: 0 0 auto;
}

.contact__intro h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.25rem, 4.5vw, 5.25rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.047em;
}

.contact__summary {
  max-width: 35rem;
  margin: clamp(0.75rem, 1.8vh, 1.25rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  line-height: 1.55;
}

.contact__channels {
  position: relative;
  z-index: 0;
  display: grid;
  width: min(100%, 38rem);
  isolation: isolate;
}

.contact__channels::before {
  position: absolute;
  z-index: -1;
  inset: 0 -0.875rem -0.625rem;
  content: "";
  background:
    radial-gradient(ellipse at 18% 48%, rgb(201 164 92 / 23%), rgb(201 164 92 / 8%) 56%, transparent 80%),
    rgb(247 245 239 / 42%);
  border: 0.0625rem solid rgb(201 164 92 / 58%);
  border-radius: var(--radius-card);
  box-shadow: 0 0.75rem 2.5rem rgb(152 112 47 / 12%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transform-origin: left center;
}

.contact__channels.is-contact-attention::before {
  opacity: 0.7;
  transform: scale(1);
}

.contact__channels.is-contact-attention .contact__phone-icon,
.contact__channels.is-contact-attention .contact__messenger-icon {
  color: var(--gold-dark);
  background: rgb(201 164 92 / 13%);
  border-color: var(--gold-dark);
  box-shadow:
    0 0 0 0.25rem rgb(201 164 92 / 14%),
    0 0 1.25rem rgb(201 164 92 / 16%);
}

@media (prefers-reduced-motion: no-preference) {
  .contact__channels.is-contact-attention::before {
    animation: contact-channels-halo 1.8s ease-out both;
    will-change: opacity, transform;
  }

  .contact__channels.is-contact-attention .contact__phone-icon,
  .contact__channels.is-contact-attention .contact__messenger-icon {
    animation: contact-channel-ring 1.8s ease-out both;
    will-change: background-color, border-color, box-shadow, transform;
  }
}

@keyframes contact-channels-halo {
  0%, 100% {
    opacity: 0;
    transform: scale(0.985);
  }

  12% {
    opacity: 0.86;
    transform: scale(1);
  }

  26% {
    opacity: 0.16;
    transform: scale(1.006);
  }

  40% {
    opacity: 0.72;
    transform: scale(1);
  }

  54% {
    opacity: 0.13;
    transform: scale(1.008);
  }

  68% {
    opacity: 0.58;
    transform: scale(1);
  }

  82% {
    opacity: 0.08;
    transform: scale(1.01);
  }
}

@keyframes contact-channel-ring {
  0%, 26%, 54%, 82%, 100% {
    background: transparent;
    border-color: var(--accent);
    box-shadow: none;
    transform: scale(1);
  }

  12%, 40%, 68% {
    color: var(--gold-dark);
    background: rgb(201 164 92 / 15%);
    border-color: var(--gold-dark);
    box-shadow:
      0 0 0 0.25rem rgb(201 164 92 / 16%),
      0 0 1.25rem rgb(201 164 92 / 18%);
    transform: scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__channels.is-contact-attention::before,
  .contact__channels.is-contact-attention .contact__phone-icon,
  .contact__channels.is-contact-attention .contact__messenger-icon {
    animation: none !important;
  }
}

.contact__phone {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(0.875rem, 2vh, 1.5rem);
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.125rem);
  color: var(--text-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.35vw, 2.75rem);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.contact__phone-icon,
.contact__messenger-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-dark);
  border: 0.0625rem solid var(--accent);
  border-radius: 50%;
}

.contact__phone-icon {
  width: clamp(2.75rem, 3.7vw, 3.75rem);
  aspect-ratio: 1;
}

.contact__phone-icon img,
.contact__messenger-icon img,
.contact__advantages > li > svg {
  overflow: visible;
}

.contact__advantages > li > svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.contact__phone-icon img {
  width: 50%;
  height: auto;
}

.contact__phone:hover .contact__phone-icon {
  color: var(--text-inverse);
  background: var(--forest);
  border-color: var(--forest);
}

.contact__messengers {
  max-width: 38rem;
  padding-top: clamp(0.625rem, 1.35vh, 0.875rem);
  margin-top: clamp(0.75rem, 1.8vh, 1.25rem);
  border-top: 0.0625rem solid color-mix(in srgb, var(--accent) 72%, var(--border));
}

.contact__messengers > p {
  margin: 0 0 0.625rem;
  color: var(--forest);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__messengers ul,
.contact__advantages {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact__messengers ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.25vw, 1rem);
}

.contact__messengers a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-size: clamp(0.625rem, 0.75vw, 0.8125rem);
  font-weight: 600;
  text-decoration: none;
}

.contact__messengers a > span:last-child {
  margin-left: 0.125rem;
  color: var(--forest);
  font-size: 1rem;
}

.contact__messenger-icon {
  width: 2.75rem;
  aspect-ratio: 1;
}

.contact__messenger-icon img {
  width: 62%;
  height: auto;
}

.contact__messengers a:hover .contact__messenger-icon {
  color: var(--text-inverse);
  background: var(--forest);
  border-color: var(--forest);
}

.contact__console {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.contact__game {
  display: block;
  width: min(80%, 51.2rem);
  height: auto;
  max-height: 100%;
  aspect-ratio: 1264 / 856;
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 1.5rem rgb(44 37 26 / 13%));
}

@media (min-width: 48.0625rem) and (hover: hover) and (pointer: fine) {
  .contact__game {
    transform: translateX(clamp(
      -6rem,
      max(calc(24rem - 40vw), calc(30vw - 36rem)),
      0rem
    ));
  }
}

.contact__console-fallback {
  display: block;
  width: 100%;
  height: auto;
}

.contact__advantages {
  display: grid;
  min-height: 0;
  padding: clamp(1rem, 2vh, 1.5rem) clamp(1.25rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--text-inverse);
  background:
    radial-gradient(circle at 20% 50%, rgb(201 164 92 / 8%), transparent 22rem),
    var(--forest);
  border: 0.0625rem solid color-mix(in srgb, var(--accent) 58%, var(--forest));
}

.contact__advantages li {
  display: grid;
  min-width: 0;
  padding-inline: clamp(0.75rem, 1.75vw, 1.75rem);
  grid-template-columns: clamp(2.75rem, 4vw, 4.25rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 1.3vw, 1.25rem);
  border-right: 0.0625rem solid rgb(201 164 92 / 55%);
}

.contact__advantages li:first-child {
  padding-left: 0;
}

.contact__advantages li:last-child {
  padding-right: 0;
  border-right: 0;
}

.contact__advantages > li > svg {
  width: 100%;
  color: var(--accent);
}

.contact__advantages div {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.contact__advantages strong {
  color: var(--text-inverse);
  font-size: clamp(0.6875rem, 0.9vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.25;
}

.contact__advantages span {
  color: rgb(247 245 239 / 74%);
  font-size: clamp(0.5625rem, 0.68vw, 0.75rem);
  line-height: 1.45;
}

@media (max-width: 79.9375rem) {
  .contact__main {
    grid-template-columns: minmax(22rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
  }

  .contact__intro h2 {
    font-size: clamp(2.875rem, 5vw, 4.25rem);
  }

  .contact__advantages {
    padding-inline: 1.25rem;
  }

  .contact__advantages li {
    padding-inline: 0.75rem;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.625rem;
  }
}

@media (max-width: 48rem) {
  .scene--contact {
    min-height: 112svh;
    background-size: 5rem 5rem, 5rem 5rem, auto, auto;
  }

  .contact__layout {
    padding-block: calc(var(--header-height) + 0.375rem) 0.5rem;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .contact__main {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.25rem;
  }

  .contact__intro {
    align-content: start;
  }

  .contact__eyebrow {
    margin-bottom: 0.375rem;
    gap: 0.625rem;
    font-size: 0.5625rem;
  }

  .contact__eyebrow::before {
    width: 1.75rem;
  }

  .contact__intro h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.89;
  }

  .contact__summary {
    max-width: 43rem;
    margin-top: 0.375rem;
    font-size: clamp(0.625rem, 2.4vw, 0.75rem);
    line-height: 1.4;
  }

  .contact__phone {
    margin-top: 0.5rem;
    gap: 0.625rem;
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .contact__phone-icon {
    width: 2.5rem;
  }

  .contact__messengers {
    max-width: none;
    padding-top: 0.375rem;
    margin-top: 0.5rem;
  }

  .contact__messengers > p {
    margin-bottom: 0.25rem;
    font-size: 0.5625rem;
  }

  .contact__messengers ul {
    justify-content: flex-start;
    gap: clamp(0.75rem, 5vw, 1.75rem);
  }

  .contact__messengers a {
    min-height: 2.25rem;
    gap: 0.375rem;
    font-size: clamp(0.5625rem, 2.2vw, 0.6875rem);
  }

  .contact__messenger-icon {
    width: 2.25rem;
  }

  .contact__messengers a > span:last-child {
    display: none;
  }

  .contact__console {
    align-items: center;
  }

  .contact__game {
    width: min(100%, 28.8rem);
    filter: drop-shadow(0 0.625rem 0.875rem rgb(44 37 26 / 12%));
  }

  .contact__advantages {
    padding: 0.625rem 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__advantages li,
  .contact__advantages li:first-child,
  .contact__advantages li:last-child {
    min-height: 3.5rem;
    padding: 0.375rem 0.625rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.5rem;
    border-right: 0.0625rem solid rgb(201 164 92 / 45%);
    border-bottom: 0.0625rem solid rgb(201 164 92 / 45%);
  }

  .contact__advantages li:nth-child(2n) {
    border-right: 0;
  }

  .contact__advantages li:nth-child(n + 3) {
    border-bottom: 0;
  }

  .contact__advantages strong {
    font-size: clamp(0.5625rem, 2vw, 0.6875rem);
  }

  .contact__advantages span {
    font-size: clamp(0.4375rem, 1.7vw, 0.5625rem);
    line-height: 1.3;
  }
}

@media (min-width: 48.0625rem) and (max-height: 43rem) {
  .contact__layout {
    padding-block: calc(var(--header-height) + 0.25rem) 0.375rem;
    grid-template-rows: minmax(0, 1fr) 7rem;
    gap: 0.375rem;
  }

  .contact__eyebrow {
    margin-bottom: 0.375rem;
  }

  .contact__intro h2 {
    font-size: clamp(2.5rem, 4.25vw, 3.75rem);
  }

  .contact__summary,
  .contact__phone,
  .contact__messengers {
    margin-top: 0.5rem;
  }

  .contact__messengers {
    padding-top: 0.375rem;
  }

  .contact__messenger-icon {
    width: 2.25rem;
  }

  .contact__advantages {
    padding-block: 0.5rem;
  }

  .contact__advantages li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
}

@media (max-width: 48rem) and (max-height: 43rem) {
  .contact__layout {
    padding-block-start: calc(var(--header-height) + 0.25rem);
    gap: 0.375rem;
  }

  .contact__intro h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .contact__summary {
    margin-top: 0.25rem;
    line-height: 1.3;
  }

  .contact__phone {
    margin-top: 0.375rem;
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .contact__phone-icon {
    width: 2rem;
  }

  .contact__messengers {
    padding-top: 0.25rem;
    margin-top: 0.375rem;
  }

  .contact__messenger-icon {
    width: 2rem;
  }

  .contact__advantages {
    padding-block: 0.25rem;
  }

  .contact__advantages li,
  .contact__advantages li:first-child,
  .contact__advantages li:last-child {
    min-height: 2.75rem;
    padding-block: 0.25rem;
  }

  .contact__advantages span {
    display: none;
  }
}

@media (max-width: 25rem) {
  .contact__messengers ul {
    justify-content: space-between;
    gap: 0.375rem;
  }

  .contact__messengers a {
    flex-direction: column;
    gap: 0.125rem;
  }

  .contact__advantages li,
  .contact__advantages li:first-child,
  .contact__advantages li:last-child {
    padding-inline: 0.375rem;
    grid-template-columns: 1.625rem minmax(0, 1fr);
    gap: 0.375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene--contact {
    min-height: 100svh;
  }
}
