/*
  SKOLFA landing page
  Palette: stone (surface) -> ink (underneath), one accent: international orange.
  Shape system: sharp corners everywhere (radius 0).
  Z-index scale: content 1, nav 50, loader 90, grain 100.
*/

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}

@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/hostgrotesk-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragmentmono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --stone: #e4e5e0;
  --stone-deep: #d3d4ce;
  --ink: #101113;
  --ink-raised: #18191c;
  --graphite: #2b2d31;
  --slate: #55575c;
  --fog: #9a9ca1;
  --signal: #ff4a12;

  --font-display: "Anybody", "Arial Narrow", Arial, sans-serif;
  --font-text: "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 2.4vw, 40px);
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z-base: 1;
  --z-nav: 50;
  --z-loader: 90;
  --z-grain: 100;

  color-scheme: light;
}

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

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

html.lenis,
html.lenis body {
  height: auto;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  /* Top overscroll shows the surface, bottom overscroll shows the depth. */
  background: linear-gradient(to bottom, var(--stone) 0 50%, var(--ink) 50% 100%);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

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

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

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-loader) + 1);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}

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

/* Masked line reveal used by headings. */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.line > span {
  display: block;
}

/* ---------------------------------------------------------------- Loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--stone);
  color: var(--ink);
  clip-path: inset(0 0 0 0);
}

html:not(.js) .loader {
  display: none;
}

.loader__mark {
  width: clamp(64px, 8vw, 112px);
  height: auto;
  overflow: visible;
}

.loader__mark path {
  fill: var(--ink);
  fill-opacity: 0;
  stroke: var(--ink);
  stroke-width: 1.3;
}

.loader__count {
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--gutter) + 6px);
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 150, "wght" 800;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.74;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.loader__note {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 6px);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.loader__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

.loader__bar i {
  display: block;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ------------------------------------------------------------------- Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: color 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}

.nav.is-dark {
  color: var(--stone);
}

.nav.is-hidden {
  transform: translateY(-110%);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 150, "wght" 800;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.nav__brand svg {
  width: 21px;
  height: auto;
  fill: currentColor;
  transition: transform 0.6s var(--ease-out);
}

.nav__brand:hover svg {
  transform: rotate(-90deg);
}

.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--signal);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn:hover,
.btn:focus-visible {
  color: var(--ink);
}

.btn > span {
  display: block;
  transition: transform 0.2s var(--ease-out);
}

.btn:active > span {
  transform: scale(0.96);
}

.btn--nav {
  margin-left: 6px;
  background: var(--ink);
  color: var(--stone);
}

.nav.is-dark .btn--nav {
  background: var(--stone);
  color: var(--ink);
}

.btn--line {
  border: 1px solid rgba(228, 229, 224, 0.38);
  color: var(--stone);
}

.btn--line:hover,
.btn--line:focus-visible {
  border-color: var(--signal);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--stone);
  isolation: isolate;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s linear;
}

.hero.is-gl .hero__gl {
  opacity: 1;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s linear;
}

.hero.is-gl .hero__fallback {
  opacity: 0;
  visibility: hidden;
}

.hero__fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 50%;
  max-width: none;
}

@media (max-aspect-ratio: 1/1) {
  .hero__fallback img {
    object-position: 70% 50%;
  }
}

/* Keeps the headline legible where the object sits behind it on tall screens. */
.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(228, 229, 224, 0.82) 0, rgba(228, 229, 224, 0) 48%);
  opacity: 0;
  pointer-events: none;
}

/* CSS-only reveal for browsers without WebGL. */
.hero__fallback .hero__xray {
  -webkit-mask-image: radial-gradient(circle at var(--mx, 72%) var(--my, 48%), #000 0 11vmin, transparent 21vmin);
  mask-image: radial-gradient(circle at var(--mx, 72%) var(--my, 48%), #000 0 11vmin, transparent 21vmin);
}

.hero__copy {
  position: relative;
  z-index: var(--z-base);
  padding: calc(var(--nav-h) + clamp(28px, 11vh, 132px)) var(--gutter) 0;
  max-width: min(60rem, 58vw);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wdth" 98, "wght" 650;
  font-size: clamp(36px, 4.15vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero__lede {
  margin: clamp(20px, 3.4vh, 32px) 0 0;
  max-width: 31ch;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.45;
  color: var(--graphite);
}

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: clamp(18px, 3vh, 28px) 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--graphite);
}

.hero__hint::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--signal);
  transform-origin: left center;
  animation: hint-line 2.4s var(--ease-io) infinite;
}

@keyframes hint-line {
  0%,
  100% {
    transform: scaleX(0.25);
  }
  50% {
    transform: scaleX(1);
  }
}

.hint-coarse {
  display: none;
}

@media (pointer: coarse) {
  .hint-fine {
    display: none;
  }
  .hint-coarse {
    display: inline;
  }
}

/* Kinetic wordmark: letters spread edge to edge, width axis driven by JS. */
.wordmark {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
  font-family: var(--font-display);
  font-size: 17vw;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.wordmark > span {
  display: block;
  font-variation-settings: "wdth" var(--w, 118), "wght" var(--g, 800);
}

.wordmark__clip {
  display: block;
  overflow: hidden;
  padding-top: 0.05em;
}

.wordmark--hero {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--gutter) * 0.75);
  z-index: var(--z-base);
  color: var(--ink);
  will-change: transform;
}

/* ------------------------------------------------------------- Manifesto */

.manifesto {
  position: relative;
  z-index: 2;
  background: var(--stone);
  padding: clamp(110px, 20vh, 220px) var(--gutter) clamp(120px, 22vh, 240px);
}

.manifesto__text {
  margin: 0 auto;
  max-width: 1320px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86, "wght" 520;
  font-size: clamp(30px, 4.5vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-indent: clamp(0px, 12vw, 220px);
  color: var(--ink);
}

.manifesto__text .w {
  display: inline;
}

.chip {
  display: inline-block;
  width: 1.85em;
  height: 0.8em;
  margin: 0 0.1em;
  vertical-align: -0.05em;
  overflow: hidden;
  text-indent: 0;
  background: var(--stone-deep);
}

.chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  transition: transform 1.2s var(--ease-out);
}

.chip:hover img {
  transform: scale(1);
}

/* --------------------------------------------------------------- Descent */

.descent {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100svh;
  background: var(--ink);
}

.descent__stage {
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* Scroll-driven layers get their own compositor layer so scrubbing never repaints them. */
.descent__media {
  position: absolute;
  inset: 0;
  background: var(--ink);
  will-change: transform;
}

.descent__media img,
.descent__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  max-width: none;
}

.descent__media video {
  opacity: 0;
  transition: opacity 0.8s linear;
}

.descent__media video.is-playing {
  opacity: 1;
}

/*
  A slow scan band keeps the still x-ray alive. The scanlines are painted once;
  only the band moves, and it moves with transform so the compositor does the work.
*/
.descent__scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: repeating-linear-gradient(to bottom, rgba(228, 229, 224, 0.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.descent__scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36vh;
  background: linear-gradient(to bottom, rgba(255, 74, 18, 0) 0 72%, rgba(255, 74, 18, 0.07) 96%, rgba(255, 74, 18, 0.45) 99.4%, rgba(255, 74, 18, 0) 100%);
  transform: translate3d(0, -40vh, 0);
  will-change: transform;
  animation: scan 7s linear infinite;
}

@keyframes scan {
  from {
    transform: translate3d(0, -40vh, 0);
  }
  to {
    transform: translate3d(0, 110vh, 0);
  }
}

.descent__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(16, 17, 19, 0.72), rgba(16, 17, 19, 0) 62%);
  pointer-events: none;
}

.descent__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

html:not(.js) .descent__veil,
html:not(.js) .descent__word {
  display: none;
}

.descent__word {
  position: absolute;
  top: 50%;
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 116, "wght" 720;
  font-size: clamp(28px, 4.1vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transform: translateY(-50%);
  white-space: nowrap;
  will-change: transform, opacity;
}

.descent__word--a {
  right: calc(50% + 15vmin + 2.6vw);
}

.descent__word--b {
  left: calc(50% + 15vmin + 2.6vw);
}

.descent__statement {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(36px, 10vh, 120px);
  max-width: min(64rem, 62vw);
  color: var(--stone);
}

.descent__statement h2 {
  margin: 0 0 clamp(18px, 3vh, 28px);
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wdth" 116, "wght" 720;
  font-size: clamp(40px, 5.4vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.descent__statement p {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.45;
  color: #c4c6c9;
}

/* ---------------------------------------------------------------- Layers */

.layers {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 24rem);
  grid-template-rows: auto 1fr auto;
  gap: 24px var(--gutter);
  padding: calc(var(--nav-h) + 3vh) var(--gutter) clamp(32px, 7vh, 72px);
  overflow: hidden;
  background: var(--ink);
  color: var(--stone);
  isolation: isolate;
}

.layers__gl,
.layers__fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.layers__fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  opacity: 0;
  filter: brightness(0.55);
  transition: opacity 0.9s var(--ease-out);
}

.layers__fallback img.is-active {
  opacity: 1;
}

.layers.is-gl .layers__fallback {
  display: none;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
}

.layers__list {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  margin: 0;
  padding: 0 0 0 clamp(22px, 2.4vw, 40px);
  list-style: none;
}

.layers__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(10px, 0.9vw, 16px);
  height: clamp(10px, 0.9vw, 16px);
  background: var(--signal);
  transition: transform 0.7s var(--ease-out);
}

.layers__item {
  display: block;
  padding: 0.03em 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 100px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" var(--w, 76), "wght" var(--g, 540);
  color: rgba(228, 229, 224, 0.5);
  transition: color 0.5s var(--ease-out), font-variation-settings 0.8s var(--ease-out);
}

.layers__item.is-active {
  --w: 132;
  --g: 760;
  color: var(--stone);
}

.layers__item:focus-visible {
  outline-offset: 6px;
}

.layers__desc {
  position: relative;
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  margin: 0;
  min-height: 3.2em;
  max-width: 26ch;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.35;
  overflow: hidden;
}

.layers__desc::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--signal);
}

.layers__desc span {
  display: block;
}

/* --------------------------------------------------------------- Contact */

.contact {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 12vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--stone);
  isolation: isolate;
}

.contact__gl {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.contact__inner {
  position: relative;
  pointer-events: none;
}

.contact__inner a,
.contact__inner button {
  pointer-events: auto;
}

.contact__title {
  max-width: 15ch;
  margin: 0 0 clamp(36px, 7vh, 72px);
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "wdth" 132, "wght" 760;
  font-size: clamp(46px, 6.6vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.contact__title .char {
  display: inline-block;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.contact__mail {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 104, "wght" 440;
  font-size: clamp(26px, 3.8vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease-out);
}

.contact__mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out);
}

.contact__mail:hover {
  color: var(--signal);
}

.contact__mail:hover::after {
  transform: scaleX(0.18);
}

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

.footer {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 6vh, 64px) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--stone);
}

.wordmark--footer {
  color: var(--stone);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(18px, 3vh, 28px);
  padding-top: 18px;
  border-top: 1px solid rgba(228, 229, 224, 0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
}

.footer__row p {
  margin: 0;
}

.footer__row a:hover {
  color: var(--stone);
}

/* ----------------------------------------------------------------- Grain */

.grain {
  position: fixed;
  inset: -6%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(5) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); }
  80% { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

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

@media (max-width: 900px) {
  .layers {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }

  .layers__desc {
    grid-column: 1;
    max-width: 30ch;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__brand {
    margin-right: auto;
  }

  .btn {
    height: 40px;
    padding: 0 16px;
  }

  .hero__copy {
    max-width: none;
    padding-top: calc(var(--nav-h) + 4vh);
  }

  .descent__statement {
    max-width: none;
  }

  .hero__stage::after {
    opacity: 1;
  }

  .hero__title {
    font-size: clamp(34px, 10.4vw, 52px);
    font-variation-settings: "wdth" 100, "wght" 640;
  }

  .hero__lede {
    max-width: 26ch;
    font-size: 15px;
  }

  .manifesto__text {
    font-size: clamp(27px, 7.4vw, 40px);
    line-height: 1.14;
    text-indent: 0;
  }

  .descent__word {
    top: auto;
    transform: none;
    font-size: clamp(30px, 9vw, 44px);
  }

  .descent__word--a {
    right: auto;
    left: var(--gutter);
    bottom: calc(50% + 23vmin);
  }

  .descent__word--b {
    left: auto;
    right: var(--gutter);
    top: calc(50% + 23vmin);
  }

  .descent__shade {
    background: linear-gradient(to top, rgba(16, 17, 19, 0.86), rgba(16, 17, 19, 0) 70%);
  }

  .layers__list {
    padding-left: 22px;
  }

  .layers__item {
    font-size: clamp(30px, 9.6vw, 48px);
    --w: 70;
  }

  .layers__item.is-active {
    --w: 108;
  }

  .contact__title {
    font-size: clamp(42px, 12.6vw, 64px);
    font-variation-settings: "wdth" 116, "wght" 760;
  }

  .contact__mail {
    font-size: clamp(24px, 7.4vw, 34px);
  }

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

/* -------------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .grain,
  .descent__scan::after,
  .hero__hint::before {
    animation: none;
  }

  .layers__item,
  .layers__marker,
  .btn::before {
    transition: none;
  }
}
