:root {
  --paper: #f5f2ea;
  --paper-deep: #e9e4d8;
  --ink: #172a35;
  --ink-soft: #304650;
  --sky: #6bbbe5;
  --sky-deep: #2c7fa6;
  --sunset: #f28b50;
  --sage: #b9c9a8;
  --white: #fffdf8;
  --line: rgba(23, 42, 53, 0.18);
  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius-sm: 1rem;
  --radius-md: 1.75rem;
  --radius-lg: clamp(2.25rem, 5vw, 5rem);
  --section-space: clamp(6.5rem, 12vw, 11rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

img,
video {
  object-fit: cover;
}

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

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

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

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-stretch: 92%;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6.5vw, 6.7rem);
}

h2 em,
h1 em {
  font-weight: 450;
  font-style: italic;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 99px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: rgba(23, 42, 53, 0.64);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease,
    border-color 220ms ease;
}

.button svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: var(--ink);
  background: var(--sunset);
}

.button--primary:hover {
  background: #ff9c63;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(11, 24, 31, 0.16);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--dark:hover {
  background: #0d1c23;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 1.1rem;
  left: 50%;
  display: flex;
  width: min(calc(100% - 2rem), 1360px);
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.89);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 1.5rem;
  box-shadow: 0 16px 50px rgba(7, 25, 35, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: min-height 220ms ease, top 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  top: 0.65rem;
  min-height: 4.2rem;
  background: rgba(255, 253, 248, 0.95);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.brand-mark {
  width: 2.45rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.brand-mark circle {
  fill: var(--sky);
  stroke: none;
}

.brand-mark path {
  position: relative;
  stroke: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
  font-size: 0.82rem;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding-inline: 0.25rem;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  background: var(--sunset);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 1rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: #29414d;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  min-width: 3.2rem;
  min-height: 3.2rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 1rem;
  cursor: pointer;
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 9px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__icon::before {
  transform: translateY(-0.36rem);
}

.menu-toggle__icon::after {
  transform: translateY(0.25rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: translateY(0.12rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: translateY(0) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero-media,
.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(107, 187, 229, 0.2), transparent 38%),
    linear-gradient(135deg, #0b1d26 0%, #173540 58%, #0e232c 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  background: transparent;
  object-position: 50% 48%;
  animation: hero-scale 12s cubic-bezier(0.2, 0.65, 0.35, 1) both;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 25, 33, 0.86) 0%, rgba(9, 25, 33, 0.38) 47%, rgba(9, 25, 33, 0.06) 76%),
    linear-gradient(0deg, rgba(7, 18, 24, 0.68) 0%, transparent 54%, rgba(7, 18, 24, 0.22) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 10vw;
  bottom: -14vw;
  width: 44vw;
  height: 38vw;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(-16deg);
}

.hero-content {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding: clamp(9rem, 19vh, 14rem) 0 clamp(8rem, 13vh, 10rem);
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-rise 700ms 300ms ease forwards;
}

.live-dot {
  width: 0.46rem;
  height: 0.46rem;
  background: var(--sunset);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(242, 139, 80, 0.18);
}

.hero h1 {
  max-width: 10.4em;
  margin-bottom: 1.65rem;
  font-size: clamp(3.7rem, 8.3vw, 8.6rem);
  line-height: 0.86;
  opacity: 0;
  text-wrap: balance;
  animation: hero-rise 800ms 420ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero h1 em {
  display: inline-block;
  color: var(--sky);
}

.hero-intro {
  max-width: 35rem;
  margin-bottom: 2rem;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  opacity: 0;
  animation: hero-rise 750ms 560ms ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: hero-rise 750ms 660ms ease forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 1.7rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 253, 248, 0.75);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.3;
}

.scroll-cue svg path {
  animation: scroll-dot 1.7s ease-in-out infinite;
}

/* Projects */

.projects {
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 11%, rgba(107, 187, 229, 0.17), transparent 19rem),
    var(--paper);
}

.section-heading,
.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem);
  align-items: end;
  gap: 4rem;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-heading h2 {
  max-width: 9.6em;
}

.projects .section-heading h2 em {
  color: var(--sky-deep);
}

.section-heading > p,
.process-heading > p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.project-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 7rem) clamp(1.5rem, 3vw, 3.5rem);
}

.project:nth-child(1) {
  grid-column: 1 / 8;
}

.project:nth-child(2) {
  grid-column: 9 / 13;
  margin-top: 6rem;
}

.project:nth-child(3) {
  grid-column: 1 / 8;
  margin-top: 4rem;
}

.project:nth-child(4) {
  grid-column: 9 / 13;
  margin-top: 0;
}

.project:nth-child(5) {
  grid-column: 1 / 6;
  margin-top: 1rem;
}

.project:nth-child(6) {
  grid-column: 7 / 13;
  margin-top: 4rem;
}

.project:nth-child(7) {
  grid-column: 3 / 11;
  margin-top: 2rem;
}

.project-media {
  position: relative;
  display: block;
  width: 100%;
  appearance: none;
  overflow: hidden;
  padding: 0;
  background: var(--paper-deep);
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  transition:
    box-shadow 350ms ease,
    transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-media--soft {
  border-radius: 2rem 7rem 2rem 2rem;
}

.project-media--arched {
  border-radius: 9rem 9rem 1.6rem 1.6rem;
}

.project-media--leaf {
  border-radius: 1.5rem 8rem 1.5rem 8rem;
}

.project-media--wave {
  border-radius: 6rem 2rem 7rem 2rem;
}

.project-media--soft-reverse {
  border-radius: 7rem 1.8rem 1.8rem 1.8rem;
}

.project-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(7, 23, 31, 0.5), transparent 45%);
  content: "";
  opacity: 0.7;
  transition: opacity 350ms ease;
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.85) contrast(0.96) sepia(0.06);
  transition: filter 600ms ease;
}

.project:hover .project-media img {
  filter: saturate(1) contrast(1);
}

.project:hover .project-media {
  box-shadow: 0 1.25rem 2.5rem rgba(23, 42, 53, 0.12);
  transform: translateY(-0.35rem);
}

.project:hover .project-media::after {
  opacity: 0.35;
}

.project-media:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 0.35rem;
}

.project-caption {
  padding: 1.2rem 0.2rem 0;
}

.project-caption h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  line-height: 1;
}

.project-caption p {
  margin-bottom: 0;
  color: rgba(23, 42, 53, 0.63);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hand-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--sunset);
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 0.85rem;
  line-height: 1.15;
  transform: rotate(-6deg);
}

.hand-note svg {
  width: 5.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hand-note--projects {
  right: 3%;
  bottom: 3%;
}

/* Locations */

.locations {
  overflow: hidden;
  background: var(--sage);
}

.locations::before {
  position: absolute;
  top: -6rem;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(23, 42, 53, 0.17);
  border-radius: 50%;
  content: "";
}

.locations-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.locations-heading h2 {
  max-width: 8em;
}

.location-count {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.location-count strong {
  color: var(--sunset);
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.1rem;
}

.filter {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  color: rgba(23, 42, 53, 0.75);
  background: rgba(245, 242, 234, 0.38);
  border: 1px solid rgba(23, 42, 53, 0.14);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.filter:hover {
  transform: translateY(-2px);
}

.filter.is-active {
  color: var(--white);
  background: var(--ink);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 0.62fr);
  gap: 1.25rem;
  align-items: stretch;
}

.map-canvas {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 49% 54%, rgba(242, 139, 80, 0.08), transparent 46%),
    rgba(245, 242, 234, 0.84);
  border: 1px solid rgba(23, 42, 53, 0.13);
  border-radius: 2rem 6rem 2rem 2rem;
}

.map-canvas::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 42, 53, 0.1) 0.7px, transparent 0.7px);
  background-size: 10px 10px;
  content: "";
  opacity: 0.4;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.map-border {
  fill: rgba(185, 201, 168, 0.24);
  stroke: rgba(23, 42, 53, 0.22);
  stroke-dasharray: 6 8;
  stroke-width: 1.6;
}

.map-water-bank,
.map-water {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-water-bank {
  stroke: rgba(255, 253, 248, 0.88);
  stroke-width: 27;
}

.map-water {
  stroke: var(--sky);
  stroke-width: 18;
}

.map-road {
  stroke: rgba(255, 253, 248, 0.88);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.map-road--ring {
  stroke: rgba(23, 42, 53, 0.32);
  stroke-width: 5.5;
}

.map-street {
  stroke: rgba(255, 253, 248, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.8;
}

.map-parks {
  fill: rgba(185, 201, 168, 0.72);
  stroke: none;
}

.map-roundabouts {
  fill: rgba(245, 242, 234, 0.92);
  stroke: rgba(23, 42, 53, 0.25);
  stroke-width: 3;
}

.map-lines text {
  fill: rgba(23, 42, 53, 0.36);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--paper);
  border-radius: 50% 50% 50% 12%;
  box-shadow: 0 6px 18px rgba(23, 42, 53, 0.2);
  cursor: pointer;
  transform: rotate(-45deg);
  transition: opacity 200ms ease, transform 230ms ease, background-color 200ms ease;
}

.map-pin span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  transform: rotate(45deg);
}

.map-pin:hover,
.map-pin.is-selected {
  background: var(--sunset);
  transform: rotate(-45deg) translate(2px, -3px) scale(1.15);
}

.map-pin.is-filtered {
  pointer-events: none;
  opacity: 0.12;
  transform: rotate(-45deg) scale(0.8);
}

.pin--station {
  top: 76%;
  left: 29%;
}

.pin--garden {
  top: 43%;
  left: 79%;
}

.pin--herkenrode {
  top: 29%;
  left: 13%;
}

.pin--kiewit {
  top: 14%;
  left: 70%;
}

.pin--pukkelpop {
  top: 23%;
  left: 82%;
}

.pin--canal {
  top: 58%;
  left: 25%;
}

.map-compass {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 0.65;
}

.map-compass span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.map-scale {
  position: absolute;
  right: 1.8rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-scale span {
  width: 3.5rem;
  height: 0.45rem;
  border: solid var(--ink);
  border-width: 0 1px 1px;
}

.map-preview {
  display: flex;
  min-height: 39rem;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
  border-radius: 2rem;
}

.map-preview__image {
  position: relative;
  flex: 0 0 46%;
  overflow: hidden;
}

.map-preview__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 42, 53, 0.75), transparent 50%);
  content: "";
}

.map-preview__image img {
  width: 100%;
  height: 100%;
  transition: opacity 200ms ease, transform 450ms ease;
}

.map-preview.is-updating .map-preview__image img {
  opacity: 0.25;
  transform: scale(1.035);
}

.map-preview__number {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 0.85rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.map-preview__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.7rem;
  color: var(--white);
}

.map-preview__content h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.map-preview__content > p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.map-preview__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: rgba(255, 253, 248, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.59rem;
  line-height: 1.45;
}

/* About */

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 83%, rgba(242, 139, 80, 0.14), transparent 23rem),
    var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(3.5rem, 9vw, 9rem);
}

.about-visual {
  position: relative;
  min-height: min(67vw, 44rem);
  overflow: visible;
}

.about-video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border-radius: 12rem 2rem 10rem 2rem;
  filter: saturate(0.9) contrast(0.96) sepia(0.05);
}

.about-visual::after {
  position: absolute;
  right: -1.2rem;
  bottom: 7%;
  width: 43%;
  height: 24%;
  border: 2px solid var(--sunset);
  border-radius: 50%;
  content: "";
  transform: rotate(-14deg);
}

.about-visual__label {
  position: absolute;
  bottom: 8%;
  left: -1.5rem;
  display: flex;
  min-width: 10rem;
  flex-direction: column;
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 1.2rem;
  box-shadow: 0 16px 40px rgba(23, 42, 53, 0.18);
  transform: rotate(4deg);
}

.about-visual__label span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-visual__label strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.about-orbit {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 9rem;
  fill: none;
  stroke: var(--ink);
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  stroke-width: 1;
  animation: orbit 28s linear infinite;
}

.about-orbit path {
  stroke: var(--sunset);
  stroke-dasharray: none;
  stroke-width: 3;
}

.about-copy h2 {
  max-width: 7.8em;
  margin-bottom: 2rem;
  font-size: clamp(3.3rem, 6vw, 6rem);
}

.about-copy h2 em {
  color: var(--sunset);
}

.about-copy > p:not(.eyebrow) {
  max-width: 37rem;
  color: var(--ink-soft);
}

.about-lead {
  margin-bottom: 1.2rem;
  color: var(--ink) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.about-facts {
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-facts li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 650;
}

.about-facts span {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  color: var(--ink);
  background: var(--sage);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.55rem;
}

/* Services */

.services {
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.services::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(107, 187, 229, 0.16), transparent 24rem),
    linear-gradient(130deg, transparent 45%, rgba(255, 255, 255, 0.022));
  content: "";
  pointer-events: none;
}

.services-heading {
  display: block;
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
}

.services-heading .eyebrow {
  margin-bottom: 1rem;
}

.services-heading h2 {
  max-width: 9em;
}

.services-heading h2 em {
  color: var(--sky);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.service {
  position: relative;
  display: grid;
  min-height: 18rem;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1.6rem;
  padding: 2.2rem 2.4rem 3.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.service:nth-child(odd) {
  padding-right: 3.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.service:nth-child(even) {
  padding-left: 3.5rem;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.service:nth-child(even) .service-number {
  left: 3.5rem;
}

.service-icon {
  width: 4.2rem;
  margin-bottom: 1.5rem;
  fill: none;
  stroke: var(--sunset);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 350ms ease;
}

.service:hover .service-icon {
  transform: translateY(-8px) rotate(-3deg);
}

.service h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.service p {
  max-width: 27rem;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.9rem;
}

/* Pricing */

.pricing {
  overflow: hidden;
  background: var(--white);
}

.pricing-orbit {
  position: absolute;
  top: -11rem;
  right: -9rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(107, 187, 229, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5.2rem rgba(107, 187, 229, 0.08);
  pointer-events: none;
}

.pricing-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem);
  align-items: end;
  gap: 4rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.pricing-heading h2 {
  max-width: 8em;
}

.pricing-heading h2 em {
  color: var(--sky-deep);
}

.pricing-heading > p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.pricing-list {
  position: relative;
  border-top: 1px solid var(--line);
}

.pricing-row {
  display: grid;
  min-height: 9.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background-color 220ms ease;
}

.pricing-row:hover {
  padding-inline: 1.75rem;
  background: rgba(107, 187, 229, 0.1);
}

.pricing-row span {
  color: var(--sky-deep);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-row h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.pricing-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pricing-row > strong {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.9;
  white-space: nowrap;
}

.pricing-row > strong small {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-row--featured > strong {
  color: var(--sunset);
}

.pricing-footnote {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 1.8rem;
}

.pricing-footnote p {
  max-width: 43rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.pricing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

.pricing-link span {
  color: var(--sunset);
  font-size: 1.15rem;
}

/* Process */

.process {
  overflow: hidden;
  background: var(--paper);
}

.process::before {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(107, 187, 229, 0.28);
  border-radius: 50%;
  content: "";
}

.process-heading h2 em {
  color: var(--sunset);
}

.process-route {
  --route-length: 75%;
  --route-progress: 1;
  --route-start: 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: 0;
  margin: 0;
  list-style: none;
  isolation: isolate;
}

.process-route::before,
.process-route::after {
  position: absolute;
  top: 1.5rem;
  left: var(--route-start);
  width: var(--route-length);
  height: 2px;
  content: "";
  pointer-events: none;
  transform-origin: left center;
}

.process-route::before {
  background-image: linear-gradient(90deg, var(--ink) 45%, transparent 45%);
  background-size: 11px 2px;
  opacity: 0.25;
}

.process-route::after {
  z-index: 1;
  background: var(--sky);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(107, 187, 229, 0.08);
  transform: scaleX(var(--route-progress));
  transition: transform 90ms linear;
}

.process-step {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.process-dot {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 7px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  transition:
    color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.process-dot::after {
  position: absolute;
  inset: -0.55rem;
  border: 1px solid rgba(242, 139, 80, 0.55);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.process-enhanced .process-step:not(.is-active):not(.is-complete) .process-dot {
  color: rgba(23, 42, 53, 0.38);
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(23, 42, 53, 0.3);
}

.process-step.is-active .process-dot {
  color: var(--ink);
  background: var(--sunset);
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgba(242, 139, 80, 0.13);
  transform: scale(1.035);
}

.process-step.is-active .process-dot::after {
  opacity: 0.7;
  transform: scale(1);
}

.process-step.is-complete .process-dot {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.process-kicker {
  margin-bottom: 0.65rem;
  color: rgba(23, 42, 53, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step h3 {
  max-width: 9em;
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.process-step > p:last-child {
  max-width: 15rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.has-js .process.process-enhanced .process-step > :not(.process-dot) {
  opacity: 0.56;
  transform: translateY(1.25rem);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-js .process.process-enhanced .process-step.is-reached > :not(.process-dot) {
  opacity: 1;
  transform: translateY(0);
}

.has-js .process.process-enhanced .process-step.is-active > :not(.process-dot) {
  transform: translateY(-0.18rem);
}

/* Contact */

.contact {
  overflow: hidden;
  background: var(--sky);
  isolation: isolate;
}

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

.contact-cloud {
  --cloud-width: 9rem;
  --cloud-duration: 46s;
  --cloud-delay: 0s;
  position: absolute;
  left: calc((var(--cloud-width) + 8rem) * -1);
  width: var(--cloud-width);
  height: calc(var(--cloud-width) * 0.28);
  background: var(--paper);
  border-radius: 999px;
  opacity: 0.14;
  animation: contact-cloud-drift var(--cloud-duration) linear var(--cloud-delay) infinite;
  will-change: transform;
}

.contact-cloud::before,
.contact-cloud::after {
  position: absolute;
  bottom: 30%;
  background: inherit;
  border-radius: 50%;
  content: "";
}

.contact-cloud::before {
  left: 17%;
  width: 38%;
  aspect-ratio: 1;
}

.contact-cloud::after {
  right: 14%;
  width: 48%;
  aspect-ratio: 1;
}

.contact-cloud--one {
  --cloud-width: 13rem;
  --cloud-duration: 42s;
  --cloud-delay: -4s;
  top: 16%;
}

.contact-cloud--two {
  --cloud-width: 17rem;
  --cloud-duration: 50s;
  --cloud-delay: -8s;
  top: 51%;
  opacity: 0.1;
}

.contact-cloud--three {
  --cloud-width: 11rem;
  --cloud-duration: 46s;
  --cloud-delay: -18s;
  top: 76%;
  opacity: 0.12;
}

.contact-cloud--four {
  --cloud-width: 11.5rem;
  --cloud-duration: 42s;
  --cloud-delay: -25s;
  top: 16%;
  opacity: 0.11;
}

.contact-cloud--five {
  --cloud-width: 15rem;
  --cloud-duration: 50s;
  --cloud-delay: -33s;
  top: 51%;
  opacity: 0.09;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(32rem, 0.85fr);
  align-items: start;
  gap: clamp(3.5rem, 8vw, 8rem);
}

.contact-copy {
  position: sticky;
  top: 8rem;
}

.contact-copy .eyebrow {
  color: rgba(23, 42, 53, 0.62);
}

.contact-copy h2 {
  max-width: 8em;
  margin-bottom: 1.7rem;
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
}

.contact-copy h2 em {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 29rem;
  color: rgba(23, 42, 53, 0.78);
  font-size: 1.05rem;
}

.contact-mail {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 1rem;
  max-width: 28rem;
  padding: 1.1rem 0;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(23, 42, 53, 0.25);
  border-bottom: 1px solid rgba(23, 42, 53, 0.25);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-mail span {
  grid-column: 1;
  color: rgba(23, 42, 53, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-mail svg {
  grid-row: 1 / 3;
  grid-column: 2;
  width: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 220ms ease;
}

.contact-mail:hover svg {
  transform: translate(3px, -3px);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
  border-radius: 2rem 6rem 2rem 2rem;
  box-shadow: 0 28px 70px rgba(23, 42, 53, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 42, 53, 0.27);
  border-radius: 0;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sunset);
  box-shadow: 0 1px 0 var(--sunset);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23, 42, 53, 0.38);
}

.contact-form .is-invalid {
  border-color: #a33e2e;
  box-shadow: 0 1px 0 #a33e2e;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding-top: 0.9rem;
}

.form-status {
  min-height: 1.35rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
}

.form-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form[aria-busy="true"] button[type="submit"] {
  cursor: wait;
  opacity: 0.72;
}

/* Footer */

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.5rem;
  color: var(--white);
  background: var(--ink);
}

.footer-top,
.footer-bottom {
  display: flex;
  width: min(100%, var(--content));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-top {
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.brand--footer {
  color: var(--white);
  font-size: 1.35rem;
}

.brand--footer .brand-mark {
  width: 3.35rem;
}

.brand--footer .brand-mark path {
  stroke: var(--ink);
}

.back-to-sky {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  cursor: pointer;
}

.back-to-sky span {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  color: var(--ink);
  background: var(--sunset);
  border-radius: 50%;
  transition: transform 220ms ease;
}

.back-to-sky:hover span {
  transform: translateY(-5px);
}

.footer-bottom {
  position: relative;
  align-items: center;
  padding-top: 1.5rem;
  color: rgba(255, 253, 248, 0.47);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.credits {
  position: relative;
}

.credits summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.credits summary::-webkit-details-marker {
  display: none;
}

.credits-panel {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: calc(100% + 1rem);
  display: grid;
  width: min(28rem, 80vw);
  gap: 0.5rem;
  padding: 1.25rem;
  color: rgba(255, 253, 248, 0.72);
  background: #243b47;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  font-size: 0.56rem;
  line-height: 1.45;
  text-transform: none;
}

.credits-panel p {
  color: var(--white);
  font-weight: 700;
}

.credits-panel a:hover {
  color: var(--sky);
}

/* Project dialog */

.project-dialog {
  width: var(--dialog-width, min(calc(100% - clamp(3rem, 8vw, 8rem)), 88rem));
  height: var(--dialog-height, min(86svh, 56rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 2rem;
  box-shadow: 0 30px 100px rgba(4, 18, 25, 0.45);
}

.project-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, var(--dialog-media-width, 1fr)) minmax(24rem, 28rem);
  animation: dialog-in 350ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.project-dialog::backdrop {
  background: rgba(10, 25, 33, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-close span {
  position: absolute;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.dialog-media {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.dialog-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 28, 36, 0.45), transparent 55%);
  content: "";
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.dialog-copy h2 {
  max-width: 100%;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5vw, 5rem);
  hyphens: auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.project-dialog.has-long-title .dialog-copy h2 {
  font-size: clamp(2.6rem, 3.8vw, 4.25rem);
}

.dialog-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.dialog-meta {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
}

.dialog-meta p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
}

.dialog-meta span {
  color: rgba(23, 42, 53, 0.5);
  text-transform: uppercase;
}

.dialog-meta strong {
  text-align: right;
}

.dialog-copy .button {
  align-self: flex-start;
}

/* Reveal and animation */

.has-js .reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-scale {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contact-cloud-drift {
  from {
    transform: translate3d(-5vw, 0, 0);
  }
  to {
    transform: translate3d(130vw, 0, 0);
  }
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.45rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Tablet */

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 1.4rem);
  }

  .site-nav {
    gap: 0.7rem;
  }

  .site-nav > a:not(.nav-cta) {
    font-size: 0.75rem;
  }

  .nav-cta {
    padding-inline: 0.85rem;
  }

  .project:nth-child(1) {
    grid-column: 1 / 8;
  }

  .project:nth-child(2) {
    grid-column: 8 / 13;
  }

  .project:nth-child(3) {
    grid-column: 1 / 8;
  }

  .project:nth-child(4) {
    grid-column: 8 / 13;
  }

  .project:nth-child(5) {
    grid-column: 1 / 6;
  }

  .project:nth-child(6) {
    grid-column: 6 / 13;
  }

  .project:nth-child(7) {
    grid-column: 2 / 12;
  }

  .map-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.7fr);
  }

  .map-canvas,
  .map-preview {
    min-height: 33rem;
  }

  .about-layout {
    gap: 4rem;
  }

  .about-visual {
    min-height: 39rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(29rem, 0.9fr);
    gap: 3rem;
  }

  .project-dialog[open] {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .project-dialog {
    width: min(calc(100% - 2rem), 72rem);
    height: auto;
    max-height: min(90svh, 54rem);
  }

  .dialog-media {
    min-height: 0;
    aspect-ratio: var(--dialog-image-ratio, 4 / 3);
  }

  .dialog-copy {
    padding: 2rem;
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 6rem;
  }

  .site-header {
    min-height: 4.25rem;
    padding: 0.45rem 0.5rem 0.45rem 0.8rem;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    display: none;
    padding: 0.8rem;
    background: rgba(255, 253, 248, 0.97);
    border: 1px solid rgba(23, 42, 53, 0.09);
    border-radius: 1.4rem;
    box-shadow: 0 22px 50px rgba(7, 25, 35, 0.2);
  }

  .site-nav.is-open {
    display: grid;
    animation: mobile-menu-in 180ms ease both;
  }

  .site-nav > a:not(.nav-cta) {
    min-height: 3.25rem;
    justify-content: start;
    padding-inline: 0.75rem;
    font-size: 0.9rem;
  }

  .site-nav > a:not(.nav-cta)::after {
    right: auto;
    bottom: 0.45rem;
    left: 0.75rem;
    width: 2rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.25rem;
  }

  .hero-content {
    padding-bottom: 9.5rem;
  }

  .section-heading,
  .process-heading,
  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading > p,
  .process-heading > p,
  .pricing-heading > p {
    max-width: 31rem;
  }

  .project-grid {
    gap: 4.5rem 1.5rem;
  }

  .project:nth-child(1),
  .project:nth-child(3) {
    grid-column: 1 / 8;
    margin-top: 0;
  }

  .project:nth-child(2) {
    grid-column: 8 / 13;
    margin-top: 4rem;
  }

  .project:nth-child(4) {
    grid-column: 8 / 13;
    margin-top: 0;
  }

  .project:nth-child(5) {
    grid-column: 1 / 6;
    margin-top: 0;
  }

  .project:nth-child(6) {
    grid-column: 6 / 13;
    margin-top: 4rem;
  }

  .project:nth-child(7) {
    grid-column: 2 / 12;
    margin-top: 0;
  }

  .hand-note--projects {
    display: none;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    min-height: 36rem;
  }

  .map-preview {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(15rem, 0.85fr) 1fr;
  }

  .map-preview__image {
    min-height: 20rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .about-visual {
    width: min(100%, 38rem);
    min-height: 42rem;
  }

  .about-copy {
    max-width: 42rem;
    margin-left: auto;
  }

  .process-route {
    display: block;
    width: min(100%, 42rem);
  }

  .process-route::before,
  .process-route::after {
    top: var(--route-start);
    right: auto;
    bottom: auto;
    left: 1.5rem;
    width: 2px;
    height: var(--route-length);
    transform-origin: center top;
  }

  .process-route::before {
    background-image: linear-gradient(0deg, var(--ink) 45%, transparent 45%);
    background-size: 2px 11px;
  }

  .process-route::after {
    transform: scaleY(var(--route-progress));
  }

  .process-step {
    min-height: 12rem;
    padding: 0.25rem 0 3.5rem 5rem;
  }

  .process-step h3 {
    max-width: 11em;
  }

  .process-dot {
    left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-copy {
    position: static;
  }

  .contact-copy h2 {
    max-width: 9.5em;
  }

}

/* Mobile */

@media (max-width: 640px) {
  :root {
    --gutter: 1.1rem;
    --section-space: 6.25rem;
  }

  .site-header {
    top: 0.6rem;
    width: calc(100% - 1rem);
    border-radius: 1.25rem;
  }

  .site-header.is-scrolled {
    top: 0.35rem;
  }

  .brand {
    font-size: 0.87rem;
  }

  .brand-mark {
    width: 2.25rem;
  }

  .menu-toggle {
    min-width: 3rem;
    min-height: 3rem;
  }

  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero-video {
    object-position: 58% 50%;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(7, 18, 24, 0.85) 0%, rgba(7, 18, 24, 0.4) 62%, rgba(7, 18, 24, 0.18) 100%),
      linear-gradient(90deg, rgba(9, 25, 33, 0.48), transparent);
  }

  .hero-content {
    padding-top: 7.5rem;
    padding-bottom: 1.75rem;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3.4rem, 17vw, 5.1rem);
    line-height: 0.88;
  }

  .hero-intro {
    max-width: 29rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .contact-cloud--two {
    top: 46%;
  }

  .contact-cloud--three {
    display: none;
  }

  .section-heading,
  .process-heading,
  .pricing-heading {
    margin-bottom: 4rem;
  }

  .project-grid {
    display: block;
  }

  .project,
  .project:nth-child(n) {
    margin: 0 0 4.5rem;
  }

  .project-media--soft {
    border-radius: 1.35rem 4rem 1.35rem 1.35rem;
  }

  .project-media--arched {
    border-radius: 5rem 5rem 1.35rem 1.35rem;
  }

  .project-media--leaf {
    border-radius: 1.35rem 4rem 1.35rem 4rem;
  }

  .project-media--wave {
    border-radius: 3.5rem 1.35rem 4rem 1.35rem;
  }

  .project-media--soft-reverse {
    border-radius: 4rem 1.35rem 1.35rem 1.35rem;
  }

  .project-caption h3 {
    font-size: 2rem;
  }

  .project-caption p {
    font-size: 0.66rem;
  }

  .locations-heading {
    display: block;
  }

  .location-count {
    margin-top: 1.5rem;
  }

  .map-filters {
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    margin-right: calc(-1 * var(--gutter));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .map-filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .map-canvas {
    min-height: 28rem;
    border-radius: 1.5rem 4rem 1.5rem 1.5rem;
  }

  .map-preview {
    display: flex;
    border-radius: 1.5rem;
  }

  .map-preview__image {
    min-height: 16rem;
  }

  .map-preview__content {
    min-height: 19rem;
  }

  .map-preview__meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .map-pin {
    width: 2.75rem;
    height: 2.75rem;
  }

  .about-visual {
    min-height: 31rem;
  }

  .about-video {
    border-radius: 8rem 1.5rem 6rem 1.5rem;
  }

  .about-visual__label {
    left: 0.5rem;
  }

  .about-orbit {
    right: -1rem;
    width: 7rem;
  }

  .about-copy {
    margin-left: 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service,
  .service:nth-child(odd),
  .service:nth-child(even) {
    min-height: 13.75rem;
    padding: 3.25rem 0 2.25rem;
    border-right: 0;
  }

  .service:nth-child(even) .service-number {
    left: 0;
  }

  .service-icon {
    width: 3.4rem;
    margin-bottom: 1.25rem;
  }

  .service:hover .service-icon {
    transform: none;
  }

  .service.is-mobile-active .service-icon {
    transform: translateY(-8px) rotate(-3deg);
  }

  .pricing-orbit {
    top: -5rem;
    right: -10rem;
    width: 22rem;
    height: 22rem;
    box-shadow: inset 0 0 0 3.5rem rgba(107, 187, 229, 0.08);
  }

  .pricing-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.8rem;
  }

  .pricing-row:hover {
    padding-inline: 0.75rem;
  }

  .pricing-row > strong {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .pricing-footnote {
    flex-direction: column;
    gap: 1.5rem;
  }

  .process-step {
    min-height: 11.5rem;
  }

  .process-step h3 {
    max-width: 11em;
  }

  .process-dot {
    left: 0;
  }

  .contact-form {
    order: 4;
    padding: 1.35rem;
    border-radius: 1.5rem 4rem 1.5rem 1.5rem;
  }

  .contact-layout {
    gap: 0;
  }

  .contact-copy {
    display: contents;
  }

  .contact-copy .eyebrow {
    order: 1;
  }

  .contact-copy h2 {
    order: 2;
  }

  .contact-copy > p:not(.eyebrow) {
    order: 3;
    margin-bottom: 4rem;
  }

  .contact-mail {
    order: 5;
    width: 100%;
    max-width: none;
    margin-top: 2.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

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

  .footer-bottom {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
  }

  .back-to-sky {
    width: 100%;
    justify-content: space-between;
  }

  .credits {
    align-self: center;
    margin-left: auto;
    text-align: right;
  }

  .credits summary {
    justify-content: flex-end;
    white-space: nowrap;
  }

  .credits-panel {
    right: 0;
    left: auto;
    text-align: left;
  }

  .project-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
    border-radius: 1.35rem;
  }

  .dialog-media {
    min-height: 0;
  }

  .dialog-copy h2 {
    font-size: 3rem;
  }

  .dialog-meta p {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .dialog-meta strong {
    text-align: left;
  }
}

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

  .about-orbit,
  .contact-cloud,
  .scroll-cue {
    display: none !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Drone rules page */

.rules-page {
  min-height: 100vh;
  background: var(--paper);
}

.rules-page h1 {
  max-width: 8.5em;
  margin-bottom: 2rem;
  font-size: clamp(4.5rem, 8vw, 8.8rem);
}

.rules-page h1 em,
.rules-page h2 em {
  color: var(--sky-deep);
}

.rules-hero {
  position: relative;
  min-height: min(58rem, 100svh);
  overflow: hidden;
  padding-block: clamp(11rem, 18vw, 15rem) clamp(7rem, 11vw, 10rem);
}

.rules-hero::after {
  position: absolute;
  right: -7rem;
  bottom: -11rem;
  width: min(34vw, 31rem);
  aspect-ratio: 1;
  background: rgba(185, 201, 168, 0.28);
  border-radius: 50%;
  content: "";
}

.rules-hero-orbit {
  position: absolute;
  top: -18rem;
  right: -10rem;
  width: min(60vw, 59rem);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 42, 53, 0.11);
  border-radius: 50%;
}

.rules-hero-orbit::before,
.rules-hero-orbit::after {
  position: absolute;
  border-radius: inherit;
  content: "";
}

.rules-hero-orbit::before {
  inset: 8%;
  background: rgba(107, 187, 229, 0.15);
}

.rules-hero-orbit::after {
  inset: 27%;
  border: 1px dashed rgba(44, 127, 166, 0.28);
}

.rules-hero-orbit span {
  position: absolute;
  z-index: 1;
  right: 15%;
  bottom: 27%;
  width: 1rem;
  aspect-ratio: 1;
  background: var(--sunset);
  border: 0.3rem solid var(--paper);
  border-radius: 50%;
  box-sizing: content-box;
}

.rules-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.62fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.rules-hero-intro {
  max-width: 40rem;
  margin-bottom: 2.3rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.rules-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.rules-text-link {
  padding-block: 0.65rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
}

.rules-hero-fact {
  display: grid;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  place-content: center;
  padding: 3rem;
  color: var(--ink);
  background: var(--sky);
  border-radius: 50%;
}

.rules-hero-fact > span {
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rules-hero-fact strong {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  margin-block: 0.6rem 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 8vw, 7.5rem);
  font-stretch: 90%;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 0.78;
}

.rules-hero-fact strong small {
  margin: 0 0 0.25rem 0.4rem;
  font-size: 0.22em;
  letter-spacing: -0.02em;
}

.rules-hero-fact p {
  max-width: 16rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.rules-guide {
  color: var(--ink);
  background: var(--sky);
}

.rules-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.58fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.rules-section-heading h2 {
  max-width: 8em;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

.rules-section-heading > p {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rules-guide .eyebrow {
  color: rgba(23, 42, 53, 0.62);
}

.rules-map-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(23, 42, 53, 0.23);
  border-bottom: 1px solid rgba(23, 42, 53, 0.23);
  list-style: none;
}

.rules-map-steps li {
  min-height: 19rem;
  padding: 1.5rem clamp(1.1rem, 2vw, 2rem) 2rem;
  border-right: 1px solid rgba(23, 42, 53, 0.23);
}

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

.rules-map-steps li > span,
.rules-zone-label span {
  color: rgba(23, 42, 53, 0.56);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.rules-map-steps h3 {
  max-width: 8em;
  margin: clamp(4rem, 7vw, 6rem) 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.rules-map-steps p {
  max-width: 18rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.rules-map-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transition: transform 220ms ease, background-color 220ms ease;
}

.rules-map-link:hover {
  background: #233e4c;
  transform: translateY(-3px);
}

.rules-map-link span:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.rules-map-link strong {
  font-size: 0.85rem;
}

.rules-classes {
  background: var(--paper-deep);
}

.rules-class-list {
  border-top: 1px solid var(--line);
}

.rules-class-row {
  display: grid;
  min-height: 11rem;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(10rem, 0.55fr) minmax(22rem, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--line);
}

.rules-class-weight {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}

.rules-class-weight span {
  display: grid;
  min-width: 3.6rem;
  min-height: 3.6rem;
  place-items: center;
  padding-inline: 0.55rem;
  color: var(--white);
  background: var(--sky-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
}

.rules-class-weight strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  letter-spacing: -0.045em;
}

.rules-class-row small {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(23, 42, 53, 0.56);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rules-class-row h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.rules-class-row p {
  max-width: 43rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.rules-class-note {
  max-width: 53rem;
  margin: 2rem 0 0 auto;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--sky-deep);
  font-size: 0.76rem;
}

.rules-local {
  background: var(--paper);
}

.rules-zone-list {
  border-top: 1px solid var(--line);
}

.rules-zone-row {
  display: grid;
  min-height: 13rem;
  grid-template-columns: minmax(7rem, 0.55fr) minmax(15rem, 1fr) minmax(20rem, 1.5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.rules-zone-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rules-zone-label small {
  color: rgba(23, 42, 53, 0.58);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rules-zone-row h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
}

.rules-zone-row p {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.rules-zone-row p strong {
  color: var(--ink);
}

.rules-local-note {
  max-width: 48rem;
  margin: 2rem 0 0 auto;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--sunset);
  font-size: 0.78rem;
}

.rules-short {
  color: var(--white);
  background: var(--ink);
}

.rules-short .rules-section-heading > p {
  color: rgba(255, 253, 248, 0.63);
}

.rules-short h2 em {
  color: var(--sky);
}

.rules-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.rules-do {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem) 0;
}

.rules-do--not {
  padding-right: 0;
  padding-left: clamp(1rem, 5vw, 5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.rules-do h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.rules-do h3 span {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--sky);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
}

.rules-do--not h3 span {
  background: var(--sunset);
}

.rules-do ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-do li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.8rem;
  color: rgba(255, 253, 248, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.84rem;
}

.rules-do li::before {
  position: absolute;
  top: 1.62rem;
  left: 0;
  width: 0.45rem;
  aspect-ratio: 1;
  background: var(--sky);
  border-radius: 50%;
  content: "";
}

.rules-do--not li::before {
  background: var(--sunset);
}

.rules-paperwork {
  background: var(--paper-deep);
}

.rules-paperwork-layout,
.rules-help-layout,
.rules-sources-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.75fr);
  gap: clamp(4rem, 10vw, 10rem);
}

.rules-paperwork h2,
.rules-help h2,
.rules-sources h2 {
  max-width: 7em;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
}

.rules-paperwork-copy > p,
.rules-help-copy > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.rules-paperwork-copy > p + p {
  margin-top: 1.5rem;
}

.rules-start-list {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.rules-start-list > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 6rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding-inline 180ms ease;
}

.rules-start-list > a:hover {
  padding-inline: 0.65rem;
  color: var(--sky-deep);
}

.rules-start-list > a > span:first-child {
  color: rgba(23, 42, 53, 0.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.rules-start-list strong,
.rules-start-list small {
  display: block;
}

.rules-start-list strong {
  margin-bottom: 0.25rem;
  font-size: 0.84rem;
}

.rules-start-list small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.55;
}

.rules-start-list b {
  font-size: 0.66rem;
  white-space: nowrap;
}

.rules-table-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 750;
}

.rules-inline-links {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.rules-inline-links a,
.rules-source-links a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 750;
  transition: color 180ms ease, padding-inline 180ms ease;
}

.rules-inline-links a:hover,
.rules-source-links a:hover {
  padding-inline: 0.65rem;
  color: var(--sky-deep);
}

.rules-help {
  overflow: hidden;
  background: var(--sky);
}

.rules-help-cloud {
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: clamp(22rem, 38vw, 38rem);
  aspect-ratio: 1;
  background: rgba(255, 253, 248, 0.16);
  border-radius: 50%;
}

.rules-help-layout {
  position: relative;
  z-index: 1;
  align-items: end;
}

.rules-help-copy .button {
  margin-top: 1rem;
}

.rules-sources {
  padding-block: clamp(5rem, 9vw, 8rem) 3rem;
  background: var(--paper);
}

.rules-sources-layout {
  align-items: start;
}

.rules-sources h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.rules-source-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.rules-disclaimer {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.rules-disclaimer p {
  max-width: 54rem;
  margin: 0;
  color: rgba(23, 42, 53, 0.58);
  font-size: 0.68rem;
}

.rules-footer .footer-bottom > a {
  color: rgba(255, 253, 248, 0.58);
  transition: color 180ms ease;
}

.rules-footer .footer-bottom > a:hover {
  color: var(--sky);
}

@media (max-width: 880px) {
  .rules-page h1 {
    font-size: clamp(4rem, 15vw, 7.2rem);
  }

  .rules-hero {
    min-height: 0;
    padding-top: 10rem;
  }

  .rules-hero-orbit {
    top: -7rem;
    right: -13rem;
    width: 42rem;
  }

  .rules-hero-layout,
  .rules-section-heading,
  .rules-paperwork-layout,
  .rules-help-layout,
  .rules-sources-layout {
    grid-template-columns: 1fr;
  }

  .rules-hero-layout {
    align-items: start;
    gap: 4rem;
  }

  .rules-hero-fact {
    width: 19rem;
    justify-self: end;
  }

  .rules-section-heading {
    gap: 1.5rem;
  }

  .rules-section-heading > p {
    max-width: 36rem;
  }

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

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

  .rules-map-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 42, 53, 0.23);
  }

  .rules-zone-row {
    grid-template-columns: minmax(6rem, 0.4fr) 1fr;
    gap: 1.5rem 3rem;
  }

  .rules-class-row {
    grid-template-columns: minmax(12rem, 0.7fr) 1fr;
    gap: 1.5rem 3rem;
  }

  .rules-class-row > p {
    grid-column: 2;
  }

  .rules-zone-row p {
    grid-column: 2;
  }

  .rules-do-grid {
    grid-template-columns: 1fr;
  }

  .rules-do,
  .rules-do--not {
    padding: 3rem 0 4rem;
  }

  .rules-do--not {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .rules-paperwork-layout,
  .rules-help-layout,
  .rules-sources-layout {
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .rules-page h1 {
    max-width: 7em;
    margin-bottom: 1.5rem;
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .rules-hero {
    padding-block: 8.7rem 6.5rem;
  }

  .rules-hero::after {
    display: none;
  }

  .rules-hero-intro {
    font-size: 1rem;
  }

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

  .rules-hero-fact {
    width: 100%;
    min-height: 17rem;
    aspect-ratio: auto;
    justify-self: stretch;
    border-radius: 1.5rem 6rem 1.5rem 1.5rem;
  }

  .rules-hero-fact strong {
    font-size: 6rem;
  }

  .rules-section-heading {
    margin-bottom: 3.5rem;
  }

  .rules-section-heading h2,
  .rules-paperwork h2,
  .rules-help h2,
  .rules-sources h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

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

  .rules-map-steps li {
    min-height: 15rem;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 42, 53, 0.23);
  }

  .rules-map-steps li:nth-child(3) {
    border-bottom: 1px solid rgba(23, 42, 53, 0.23);
  }

  .rules-map-steps li:last-child {
    border-bottom: 0;
  }

  .rules-map-steps h3 {
    margin-top: 3.5rem;
  }

  .rules-map-link {
    grid-template-columns: 1fr auto;
    padding: 1.2rem 1.35rem;
    border-radius: 1.2rem;
  }

  .rules-map-link span:first-child {
    display: none;
  }

  .rules-zone-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2.5rem;
  }

  .rules-class-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2.5rem;
  }

  .rules-class-row > p {
    grid-column: auto;
  }

  .rules-class-weight {
    justify-content: space-between;
  }

  .rules-zone-row p {
    grid-column: auto;
  }

  .rules-zone-label {
    justify-content: space-between;
  }

  .rules-local-note {
    margin-top: 2.5rem;
  }

  .rules-do h3 {
    margin-bottom: 2rem;
  }

  .rules-do li {
    padding-right: 0.25rem;
  }

  .rules-inline-links a,
  .rules-source-links a {
    min-height: 4rem;
  }

  .rules-start-list > a {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem 1rem;
    padding-block: 1.25rem;
  }

  .rules-start-list b {
    grid-column: 2;
  }

  .rules-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
