/*
  Lorinto company site. Plain CSS, no build, no script. See ADR-063.

  A web design and e-commerce company: white ground, near-black ink, dark showcase bands,
  one emerald accent from the Founder's own brand. Type is the Founder's own pairing:
  Alexandria for headings, IBM Plex Sans Arabic (Latin) for text, both SIL OFL and
  self-hosted. Proportions follow the Kalles theme: a 1200px container, 30px gutters
  (20px on phones), generous section spacing, small tracked labels.
*/

/* ---------- Fonts ---------- */

@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/alexandria-latin-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plex-sans-arabic-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plex-sans-arabic-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plex-sans-arabic-latin-600.woff2') format('woff2');
}

/* ---------- Tokens ---------- */

:root {
  --bg: #ffffff;
  --bg-2: #f4f6f8;
  --bg-3: #e8ecf0;
  --ink: #0a0d12;
  --ink-2: #353b45;
  --ink-3: #5b6370;
  --line: #e3e7ec;
  --line-2: #cdd3da;
  --accent: #0b7a64;
  --accent-ink: #ffffff;
  --night: #07090d;
  --night-2: #10141b;
  --night-3: #171c25;
  --night-ink: #f3f5f7;
  --night-muted: #a3abb7;
  --night-line: #232a35;
  --night-accent: #6ee7b7;

  --font: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Alexandria', 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --container: 1200px;
  --gutter: 30px;
  --section: clamp(4.5rem, 2.5rem + 6vw, 8.5rem);
  --r: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  letter-spacing: -0.015em;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: #fff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Small tracked label above a heading. */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 500;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.6;
}

.muted {
  color: #8a919c;
}

.accent {
  color: var(--accent);
  font-style: normal;
}

/* Underline that draws in from the left on hover. */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 1.6rem;
  bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

.link .icon {
  transition: transform 250ms var(--ease);
}

.link:hover .icon {
  transform: translateX(3px);
}

.link--light {
  color: var(--night-ink);
}

.prose a,
.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.prose a:hover,
.text-link:hover {
  text-decoration-thickness: 2px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms var(--ease);
}

.button .icon {
  transition: transform 250ms var(--ease);
}

.button:hover .icon {
  transform: translateX(3px);
}

.button--primary {
  background: var(--ink);
  color: #fff;
}

.button--primary:hover {
  background: var(--accent);
}

.button--quiet {
  border-color: var(--line-2);
  color: var(--ink);
}

.button--quiet:hover {
  border-color: var(--ink);
}

.button--light {
  background: #fff;
  color: var(--ink);
}

.button--light:hover {
  background: var(--night-accent);
}

.button--small {
  min-height: 2.75rem;
  padding: 0 1.2rem;
  font-size: 0.92rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__bg {
  fill: var(--ink);
}

.brand__fg {
  fill: #fff;
}

.brand__ac {
  fill: #2fb38c;
}

.site-footer .brand {
  color: var(--night-ink);
}

.site-footer .brand__bg {
  fill: #fff;
}

.site-footer .brand__fg {
  fill: var(--ink);
}

.site-footer .brand__ac {
  fill: var(--accent);
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav__links {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current='page'] {
  background: var(--bg-2);
  color: var(--ink);
}

/* Small screens: a native disclosure menu, no script. */
.menu {
  display: none;
  position: relative;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu__bars {
  position: relative;
  width: 14px;
  height: 8px;
  border-block: 1.5px solid currentColor;
}

.menu[open] summary {
  border-color: var(--ink);
}

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(17rem, calc(100vw - 2 * var(--gutter)));
  padding: 0.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: 0 24px 50px -20px rgb(10 13 18 / 45%);
}

.menu__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__panel a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.menu__panel a:hover {
  background: var(--bg-2);
}

/* The way to start a project, as a clear button at the foot of the menu. */
.menu__panel .menu__email {
  margin: 0.5rem 0.75rem 0.35rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.menu__panel .menu__email:hover {
  background: var(--accent);
}

@media (max-width: 960px) {
  .site-nav__links {
    display: none;
  }

  .menu {
    display: block;
  }

  .site-nav {
    gap: 0.6rem;
  }
}

@media (max-width: 440px) {
  .site-nav > .button {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--bg-2);
}

.section--card {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section--rule {
  border-top: 1px solid var(--line);
}

.section--night {
  background: var(--night);
  color: var(--night-muted);
}

.section--night h2,
.section--night h3 {
  color: var(--night-ink);
}

.section--night .label,
.section--night .count {
  color: var(--night-muted);
}

/* Section header: label row on top, title left, note right. */
.head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem var(--gutter);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.head__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section--night .head__top {
  border-color: var(--night-line);
}

.head__top .count {
  margin-left: auto;
}

.head h2 {
  font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.75rem);
  line-height: 1.04;
}

.head p {
  max-width: 30rem;
  color: var(--ink-3);
}

.section--night .head p {
  color: var(--night-muted);
}

.head__aside {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}

.count {
  color: var(--ink-3);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

@media (max-width: 860px) {
  .head {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Hero ---------- */

/* A dark stage: real designs drift past on a tilted wall behind the headline. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(36rem, 26rem + 30vw, 50rem);
  overflow: hidden;
  padding-block: clamp(5rem, 3rem + 6vw, 9rem);
  background: var(--night);
  color: var(--night-muted);
}

/* Darkens the wall so the headline always reads: strongest at the centre band. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgb(7 9 13 / 35%) 0%,
      rgb(7 9 13 / 78%) 30%,
      rgb(7 9 13 / 78%) 70%,
      rgb(7 9 13 / 35%) 100%
    ),
    linear-gradient(
      rgb(7 9 13 / 70%),
      rgb(7 9 13 / 20%) 35%,
      rgb(7 9 13 / 20%) 65%,
      rgb(7 9 13 / 85%)
    );
}

.hero__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: 1.75rem;
  border-color: rgb(255 255 255 / 16%);
  background: rgb(7 9 13 / 60%);
  color: var(--night-ink);
}

.hero__eyebrow .dot {
  background: var(--night-accent);
}

.hero h1 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2.6rem, 1rem + 6.4vw, 6.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 30px rgb(0 0 0 / 35%);
}

.hero h1 .accent {
  color: #fff;
  background: linear-gradient(
    transparent 80%,
    var(--accent) 80%,
    var(--accent) 94%,
    transparent 94%
  );
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero h1 .line > span {
  display: inline-block;
}

.hero__foot {
  display: grid;
  justify-items: center;
  gap: 2rem;
  max-width: 40rem;
  margin-top: 1.75rem;
}

.hero .lede {
  color: #d3d8df;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero .button--primary {
  background: #fff;
  color: var(--ink);
}

.hero .button--primary:hover {
  background: var(--night-accent);
}

.hero .button--quiet {
  border-color: rgb(255 255 255 / 30%);
  color: #fff;
}

.hero .button--quiet:hover {
  border-color: #fff;
}

/* The wall fills the hero behind everything. Decorative. */
.wall {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  perspective: 1800px;
}

.wall__plane {
  position: absolute;
  left: 50%;
  top: -30%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 0.5rem + 1vw, 1.6rem);
  width: max(1300px, 125%);
  transform: translateX(-50%) rotateX(30deg) rotateZ(-14deg);
  transform-origin: 50% 0;
}

.wall__col {
  display: flex;
  flex-direction: column;
}

/* A margin, not a gap, so half the column is exactly one set of designs. */
.wall__col img {
  width: 100%;
  margin-bottom: clamp(0.9rem, 0.5rem + 1vw, 1.6rem);
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 80%);
}

.wall__col--2,
.wall__col--4 {
  margin-top: -14%;
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
  }

  .wall__plane {
    width: 900px;
    top: -10%;
  }
}

/* ---------- Industries strip ---------- */

.strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.strip__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 1.35rem 0;
  list-style: none;
}

.strip__track li {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.strip__track li::after {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Proof strip ---------- */

.proof {
  border-bottom: 1px solid var(--line);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof__item {
  display: grid;
  gap: 0.2rem;
  padding: 1.6rem 1.5rem;
  border-left: 1px solid var(--line);
}

.proof__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof__item strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.proof__item span {
  color: var(--ink-3);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .proof__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .proof__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof__item {
    padding-inline: 0;
    border-left: 0;
  }

  .proof__item + .proof__item {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Devices ---------- */

.browser {
  overflow: hidden;
  border-radius: var(--r);
  background: #fff;
  box-shadow:
    0 0 0 1px rgb(10 13 18 / 8%),
    0 30px 60px -30px rgb(10 13 18 / 45%);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 1.9rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}

.browser__dots {
  display: flex;
  gap: 0.32rem;
}

.browser__dots i {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--line-2);
}

.browser__url {
  flex: 1;
  max-width: 18rem;
  margin-inline: auto;
  overflow: hidden;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink-3);
  font-size: 0.72rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.browser--dark .browser__bar {
  border-color: var(--night-line);
  background: var(--night-3);
}

.browser--dark .browser__dots i {
  background: #3a4250;
}

.browser--dark .browser__url {
  background: var(--night-2);
  color: var(--night-muted);
}

.phone {
  padding: 4px;
  border-radius: 24px;
  background: #0a0d12;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 8%),
    0 24px 44px -18px rgb(0 0 0 / 60%);
}

.phone__screen {
  display: block;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-3);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(7 9 13 / 82%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--live::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--night-accent);
}

/* ---------- Selected work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 1.5rem + 2vw, 3.5rem) var(--gutter);
}

.work-card {
  display: grid;
  gap: 1.2rem;
  color: inherit;
  text-decoration: none;
}

.work-card__panel {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
}

.work-card__panel .browser {
  position: absolute;
  left: 8%;
  top: 13%;
  width: 98%;
  transition: transform 700ms var(--ease-out);
}

.work-card__panel .phone {
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 2;
  width: 22%;
  transition: transform 700ms var(--ease-out);
}

.work-card:hover .browser,
.work-card:focus-visible .browser {
  transform: translate(-2%, -2%);
}

.work-card:hover .phone,
.work-card:focus-visible .phone {
  transform: translateY(-4%);
}

.work-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.work-card__meta h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
}

.work-card__meta span:not(.work-card__go) {
  grid-column: 1;
  color: var(--night-muted);
  font-size: 0.92rem;
}

.work-card__go {
  grid-column: 2;
  grid-row: 1 / 3;
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  color: var(--night-ink);
  transition:
    background-color 250ms ease,
    color 250ms ease;
}

.work-card:hover .work-card__go {
  background: var(--night-ink);
  color: var(--night);
}

.work-note {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--night-line);
  color: var(--night-muted);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Real project ---------- */

.case-real {
  padding-top: 0;
}

.case-real__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 1rem + 3vw, 4rem);
  border-radius: var(--r-lg);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
}

.case-real__text {
  display: grid;
  gap: 1.3rem;
  justify-items: start;
}

.case-real__text .label {
  color: var(--night-accent);
}

.case-real__text h2 {
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
}

.case-real__visual {
  position: relative;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--night-ink);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .case-real__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  padding: 0;
  list-style: none;
}

.service {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.9rem;
  padding: 2rem 1.8rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition:
    border-color 250ms ease,
    transform 400ms var(--ease-out),
    box-shadow 400ms var(--ease-out);
}

.service:hover {
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -40px rgb(10 13 18 / 35%);
  transform: translateY(-4px);
}

.service__num {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
}

.service h3 {
  font-size: 1.5rem;
}

.service p {
  color: var(--ink-3);
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service__tags li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.9rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--ink);
}

.step__num {
  color: var(--ink-3);
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.45rem;
}

.step p {
  color: var(--ink-3);
}

.tag {
  justify-self: start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #e6f4f0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Standards ---------- */

.standards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
  list-style: none;
}

.standard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem 0.9rem;
  padding: 1.8rem 1.6rem 1.8rem 0;
  border-bottom: 1px solid var(--line-2);
}

.standard .icon {
  grid-row: 1 / 3;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--accent);
  stroke-width: 2.2;
}

.standard h3 {
  font-size: 1.2rem;
}

.standard p {
  color: var(--ink-3);
  font-size: 0.98rem;
}

@media (max-width: 960px) {
  .standards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .standards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Ownership band ---------- */

.band {
  padding-block: var(--section);
  background: var(--night);
  color: var(--night-muted);
}

.band .label {
  color: var(--night-accent);
}

.band__statement {
  max-width: 18ch;
  margin-top: 1.5rem;
  color: var(--night-ink);
  font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.band__statement .muted {
  color: #8b94a3;
}

.band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.band__grid > div {
  display: grid;
  gap: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--night-line);
}

.band__grid h3 {
  color: var(--night-ink);
  font-size: 1.25rem;
}

@media (max-width: 760px) {
  .band__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Preview note ---------- */

.preview {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem var(--gutter);
  align-items: start;
}

.preview h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem);
}

.preview__text {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.preview__text p {
  font-size: 1.12rem;
}

.preview__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

@media (max-width: 860px) {
  .preview {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Trust ---------- */

.verify {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: stretch;
}

.panel {
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}

.panel--tint {
  border-color: transparent;
  background: var(--bg-2);
}

.panel h3 {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-2);
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.checks li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.25rem 0.5rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
  counter-increment: check;
}

.checks li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checks li::before {
  content: '0' counter(check);
  padding-top: 0.15rem;
  color: var(--ink-3);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.checks strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.checks p {
  color: var(--ink-3);
  font-size: 0.98rem;
}

.nevers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nevers li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-3);
}

.nevers li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nevers .icon {
  margin-top: 0.3rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .verify {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.5rem var(--gutter);
}

.faq-layout__head {
  position: sticky;
  top: 7rem;
  align-self: start;
  display: grid;
  gap: 1.4rem;
}

.faq-layout__head h2 {
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.faq-layout__head p {
  color: var(--ink-3);
}

.faq {
  border-top: 1px solid var(--line-2);
}

.faq details {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.45rem;
  color: var(--ink);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.7rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.7rem no-repeat;
  transition:
    transform 300ms var(--ease),
    background-color 200ms ease;
}

.faq summary:hover::after {
  border-color: var(--ink);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  max-width: 44rem;
  padding-bottom: 1.6rem;
  color: var(--ink-3);
}

.faq details > div p + p {
  margin-top: 0.8rem;
}

.faq details a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

@media (max-width: 860px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout__head {
    position: static;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: hidden;
  padding-top: var(--section);
  background: var(--night);
  color: var(--night-muted);
}

.site-footer__cta {
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  border-bottom: 1px solid var(--night-line);
}

.site-footer__say {
  color: var(--night-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  color: var(--night-ink);
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 0.6rem + 4.4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__mail .icon {
  width: 0.7em;
  height: 0.7em;
  transition: transform 300ms var(--ease);
}

.site-footer__mail:hover .icon {
  transform: translate(4px, -4px);
}

.site-footer__mail:hover {
  color: var(--night-accent);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr));
  gap: 2.5rem var(--gutter);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.site-footer__brand {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.site-footer__brand p {
  max-width: 24rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--night-ink);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer ul a:hover,
.site-footer ul a[aria-current='page'] {
  color: var(--night-ink);
}

.site-footer__word {
  color: var(--night-3);
  font-family: var(--font-head);
  font-size: clamp(5rem, 1rem + 19vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-align: center;
  user-select: none;
}

.imprint {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  padding-block: 1.6rem 2rem;
  border-top: 1px solid var(--night-line);
  font-size: 0.82rem;
  font-style: normal;
}

@media (max-width: 860px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Work page ---------- */

.page-head--night {
  border: 0;
  background: var(--night);
  color: var(--night-muted);
}

.page-head--night h1 {
  color: var(--night-ink);
}

.page-head--night .label,
.page-head--night .count {
  color: var(--night-muted);
}

.page-head--night .lede {
  color: var(--night-muted);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jump a {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--night-ink);
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.jump a span {
  color: var(--night-muted);
}

.jump a:hover {
  background: var(--night-ink);
  color: var(--night);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 1.5rem + 2vw, 3.5rem) var(--gutter);
}

.tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.tile__media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.section--tint .tile__media {
  background: var(--bg-3);
}

.tile__media .browser {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 98%;
  transition: transform 700ms var(--ease-out);
}

.tile__media .phone {
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 2;
  width: 23%;
  transition: transform 700ms var(--ease-out);
}

.tile__media:hover .browser,
.tile__media:focus-visible .browser {
  transform: translate(-2%, -2%);
}

.tile__media:hover .phone,
.tile__media:focus-visible .phone {
  transform: translateY(-4%);
}

.tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin-top: 0.4rem;
}

.tile__meta h3 {
  font-size: 1.3rem;
}

.tile__meta span {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.tile > p {
  color: var(--ink-3);
  font-size: 0.96rem;
}

@media (max-width: 960px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Inner pages ---------- */

.page-head {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.page-head__inner {
  display: grid;
  gap: 1.5rem;
}

.page-head__inner > * {
  max-width: 50rem;
}

.page-head h1 {
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.page-head .meta {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr);
  gap: 2.5rem var(--gutter);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section);
}

.toc {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.toc__title {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  counter-increment: toc;
  font-size: 0.92rem;
  line-height: 1.45;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  padding-top: 0.35rem;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.toc a {
  display: block;
  padding-block: 0.3rem;
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose {
  max-width: 44rem;
}

.prose > section + section {
  margin-top: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  padding-top: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.55rem, 1.3rem + 0.8vw, 2rem);
  letter-spacing: -0.025em;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + dl,
.prose dl + p,
.prose p + .callout,
.prose .callout + p {
  margin-top: 1rem;
}

.prose ul {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.prose li::marker {
  color: var(--ink-3);
}

.callout {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: var(--bg-2);
}

.facts {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-3);
  font-size: 0.92rem;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.prose .principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gutter);
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.principles li {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.principles h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.principles p {
  color: var(--ink-3);
  font-size: 0.98rem;
}

@media (max-width: 1100px) {
  .prose-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  }
}

@media (max-width: 860px) {
  .prose-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
  }

  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose .principles {
    grid-template-columns: minmax(0, 1fr);
  }
}

.optout-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.option {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.option__number {
  color: var(--ink-3);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.option h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem);
  letter-spacing: -0.02em;
}

.option p {
  color: var(--ink-3);
}

.option .button {
  justify-self: start;
  margin-top: 0.6rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.split > .prose > section + section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 760px) {
  .optout-options,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.not-found {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-block: clamp(4rem, 3rem + 6vw, 9rem);
}

.not-found h1 {
  font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.not-found p {
  max-width: 34rem;
  color: var(--ink-3);
  font-size: 1.15rem;
}

/* On narrow phones the two hero buttons stack at one shared width. */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: min(100%, 19rem);
  }

  .hero__actions .button {
    justify-content: center;
  }
}

/* ---------- Phones: larger small text and finger-sized links ---------- */

@media (max-width: 767px) {
  .label,
  .count,
  .site-footer__say,
  .site-footer h2 {
    font-size: 0.8125rem;
  }

  .badge {
    font-size: 0.75rem;
  }

  .service__tags li,
  .tag,
  .toc__title {
    font-size: 0.84rem;
  }

  .site-footer ul {
    gap: 0;
  }

  .site-footer ul a,
  .site-footer ul span {
    display: inline-block;
    padding-block: 0.6rem;
  }

  .toc li {
    align-items: center;
  }

  .toc li::before {
    padding-top: 0;
  }

  .toc a {
    display: block;
    padding-block: 0.65rem;
  }

  .link {
    padding-block: 0.6rem;
  }

  .link::after {
    bottom: 0.35rem;
  }

  .site-footer__mail {
    padding-block: 0.4rem;
  }

  .brand {
    min-height: 44px;
  }
}

/* ---------- Motion (only when the visitor allows it) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > span {
    animation: line-rise 1s var(--ease-out) both;
  }

  .hero h1 .line:nth-child(2) > span {
    animation-delay: 90ms;
  }

  .hero__eyebrow,
  .hero__foot {
    animation: fade-up 900ms var(--ease-out) 250ms both;
  }

  .wall__plane {
    animation: fade-in 1400ms var(--ease-out) 300ms both;
  }

  .wall__col {
    animation: drift-up 70s linear infinite;
  }

  .wall__col--2,
  .wall__col--4 {
    animation-name: drift-down;
    animation-duration: 80s;
  }

  .strip__track {
    animation: marquee 60s linear infinite;
  }

  .strip:hover .strip__track {
    animation-play-state: paused;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

@keyframes line-rise {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Each column holds its designs twice, so moving it by half loops without a seam. */
@keyframes drift-up {
  to {
    transform: translateY(-50%);
  }
}

@keyframes drift-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .strip__track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding-inline: var(--gutter);
  }

  .strip__track li[aria-hidden='true'] {
    display: none;
  }

  /* Without motion the strip is a tidy set of chips instead of a moving line. */
  .strip__track {
    gap: 0.5rem;
  }

  .strip__track li {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .strip__track li::after {
    display: none;
  }
}
