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

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

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

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

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

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

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

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

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

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

@font-face {
  font-family: "Display Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 93.46%;
  descent-override: 24.67%;
  line-gap-override: 0%;
  size-adjust: 104.49%;
}

@font-face {
  font-family: "Mono Fallback";
  src: local("Courier New"), local("Menlo");
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  --display: "Schibsted Grotesk", "Display Fallback", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Mono Fallback", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad-x: clamp(20px, 5vw, 48px);
  --c-accent: #166598;
  --c-btn-text: #fff;
  --c-bg: #eef3fa;
  --c-bg2: #e1e9f4;
  --c-bg2-end: #e8eef7;
  --c-text: #132030;
  --c-muted: #4a5a6e;
  --c-accent-h: color-mix(in srgb, var(--c-accent) 70%, var(--c-text));
  --c-line: color-mix(in srgb, var(--c-muted) 35%, transparent);
  --c-nav-tint: hsl(212 30% 55%);
  --overlay: rgb(0 0 0 / 0.45);
  --glow: 0 0 48px rgb(var(--shade) / 0.22), 0 0 96px rgb(var(--shade) / 0.16);
  --c-border: rgb(19 45 80 / 0.1);
  --c-card: #f8fbff;
  --c-error: #ad3f68;
  --c-footer: #e3eaf4;
  --shade: 238 243 250;
  color-scheme: light;
}

[data-theme="dark"] {
  --c-bg: #08090d;
  --c-bg2: #0a0b10;
  --c-bg2-end: #0c0d13;
  --c-text: #c8cdd6;
  --c-muted: #6a7080;
  --c-border: rgb(255 255 255 / 0.06);
  --c-card: #0f1320;
  --c-error: #e27a9e;
  --c-footer: #080a0d;
  --shade: 8 10 14;
  --c-accent: #7cc4f2;
  --c-btn-text: #151a20;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  interpolate-size: allow-keywords;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--c-bg);
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s, color 0.5s;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  color: var(--c-accent-h);
}

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

::selection {
  background: var(--c-accent);
  color: var(--c-btn-text);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--c-accent);
  color: var(--c-btn-text);
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: min(var(--w, 1100px), 88%);
  margin-inline: auto;
}

.section {
  padding: clamp(80px, 10vh, 120px) var(--pad-x);
  background-color: var(--c-bg);
  transition: background-color 0.5s;
}

.section--full,
.section--half,
.section__part {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--full,
.section--pair {
  min-height: 100vh;
  min-height: 100svh;
}

.section--half,
.section__part {
  min-height: 50vh;
  min-height: 50svh;
}

.section--hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 180px);
}

.section--pair {
  display: flex;
  flex-direction: column;
  padding-block: 0;
}

.section__part {
  position: relative;
  flex: 1;
  padding-block: clamp(72px, 9vh, 110px);
}

.section__part + .section__part::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, 88%);
  height: 1px;
  background: var(--c-border);
  translate: -50% 0;
}

.section--center {
  text-align: center;
}

.section--alt {
  background: linear-gradient(180deg, var(--c-bg2), var(--c-bg2-end));
}

.section--image {
  background: linear-gradient(rgb(var(--shade) / 0.84), rgb(var(--shade) / 0.9)), var(--img-light) center / cover no-repeat;
}

[data-theme="dark"] .section--image {
  background-image: linear-gradient(rgb(var(--shade) / 0.84), rgb(var(--shade) / 0.9)), var(--img-dark, var(--img-light));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font: 600 12px/1.6 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.section--hero .eyebrow {
  margin-bottom: 24px;
}

.h1,
.h2,
.modal__title,
.nav__brand,
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
}

.h1,
.h2 {
  margin: 0 0 20px;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.h1--xl {
  margin-bottom: 24px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lead,
.text {
  color: var(--c-muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.lead {
  max-width: 540px;
  margin: 0 0 40px;
  font-size: clamp(16px, 1.5vw, 19px);
}

.text {
  max-width: 600px;
  margin: 0 0 16px;
  font-size: 16px;
}

.section--center .lead,
.section--center .text {
  margin-inline: auto;
}

.text--note {
  margin-top: 32px;
  font-size: 14px;
  font-style: italic;
}

.note {
  margin: 20px 0 0;
  font: 13px/1.6 var(--mono);
  letter-spacing: 0.02em;
  color: var(--c-muted);
}

.label,
.checklist__label,
.tag,
.role,
.link-arrow {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--c-accent);
}

.section--image :is(.h1, .h2, .lead, .text, .note) {
  text-shadow: var(--glow);
}

.label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border: 0;
  border-radius: 100px;
  background: var(--c-accent);
  color: var(--c-btn-text);
  font: 600 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}

.btn:hover {
  background: var(--c-text);
  color: var(--c-bg);
}

.btn .icon {
  transition: translate 0.3s var(--ease);
}

.btn:hover .icon--arrow {
  translate: 3px 0;
}

.btn--sm {
  padding: 12px 24px;
  font-size: 11px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.more {
  margin-top: 28px;
}

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.split-head .h2 {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr));
  gap: var(--gap, 16px);
}

.grid--even {
  grid-auto-rows: 1fr;
}

* + .grid,
* + .steps,
* + .coming-soon {
  margin-top: 40px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.text + .tags {
  margin-top: 24px;
}

.media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.card,
.project {
  position: relative;
  height: 100%;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-card);
}

.card {
  padding: 28px 24px;
}

.card__icon {
  display: block;
  margin-bottom: 16px;
  line-height: 0;
  color: var(--c-accent);
}

.split .card__icon {
  margin-bottom: 20px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
}

.card--muted {
  background: transparent;
}

.card--muted .checklist__label,
.card--muted .checklist .icon {
  color: var(--c-muted);
}

.card--row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
}

.num {
  display: block;
  margin-bottom: 16px;
  font: 700 36px/1 var(--mono);
  color: var(--c-accent);
}

.num--sm {
  flex-shrink: 0;
  width: 36px;
  margin: 0;
  font-size: 24px;
}

.steps,
.checklist,
.tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist__label {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
}

.checklist .icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--c-muted);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, scale 0.2s var(--ease);
}

.icon-btn {
  --size: 40px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: var(--size);
  height: var(--size);
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: none;
  color: var(--c-text);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, opacity 0.3s;
}

.icon-btn .icon {
  transition: translate 0.3s var(--ease), rotate 0.4s var(--ease);
}

.icon-btn--overlay,
.badge {
  border-color: transparent;
  background: var(--overlay);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.icon-btn:not(:disabled):hover,
.faq__item[open] .faq__toggle {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-btn-text);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 100px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}


.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 32px;
}

.banner > div {
  flex: 1 1 320px;
}

.banner .label {
  margin: 0;
  white-space: nowrap;
}

.stretch {
  padding: 0;
  border: 0;
  background: none;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
}

.stretch:focus-visible {
  outline: none;
}

.stretch:focus-visible::after {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}

.project,
.person--linked {
  transition: translate 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.project:hover,
.person--linked:hover {
  translate: 0 -3px;
  border-color: color-mix(in srgb, var(--c-accent) 35%, transparent);
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.18);
}

.project {
  overflow: hidden;
}

.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  height: auto;
  max-width: 720px;
  padding: clamp(28px, 4vw, 48px);
  border-style: dashed;
  border-color: var(--c-line);
}

.coming-soon .h3,
.coming-soon .text {
  margin: 0;
}

.section--center .coming-soon {
  align-items: center;
  margin-inline: auto;
}

.project__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project:hover .project__media img {
  scale: 1.04;
}

.project__body {
  padding: 20px 24px;
}

.project__body .tags {
  margin-bottom: 10px;
}

.project__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.project__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.project__ext {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  padding: 4px;
  color: var(--c-muted);
}

.project__body--lg {
  padding: 28px 32px;
}

.project__body--lg .project__head {
  margin-bottom: 8px;
}

.project__body--lg .project__title {
  font-size: 20px;
}

.project__body--lg .card__text {
  font-size: 15px;
}

.role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.person__head,
.profile__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.person__name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.person :is(.text, .card__text) {
  margin: 0;
}

.person .tags {
  gap: 6px;
  margin: 0;
}

.person__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
}

.person__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.person__more .icon {
  transition: translate 0.3s var(--ease);
}

.person:hover .person__more .icon {
  translate: 4px 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.links a:hover {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-btn-text);
}

.links--lg a {
  padding: 10px 18px;
  font-size: 13px;
}

.profile__head {
  margin-bottom: 24px;
  padding-right: 40px;
}

.profile__head .modal__title {
  margin-bottom: 6px;
  font-size: 28px;
}

.profile .label {
  margin: 28px 0 12px;
}

.avatar {
  overflow: hidden;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 16%, transparent);
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-btn-text);
  font-weight: 600;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--md {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.avatar--lg {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

.avatar--xl {
  width: 96px;
  height: 96px;
  font-size: 32px;
}

.modal {
  width: 100%;
  max-width: min(560px, calc(100% - 40px));
  max-height: 85vh;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-card);
  color: var(--c-text);
}

.modal--wide {
  max-width: min(700px, calc(100% - 40px));
}

.modal[open] {
  animation: modal-in 0.35s var(--ease);
}

.modal::backdrop {
  background: rgb(0 0 0 / 0.5);
  backdrop-filter: blur(4px);
}

.modal__close {
  --size: 36px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.gallery {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
}

.gallery__stage {
  display: grid;
}

.gallery__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.js .gallery__slide[data-pos] {
  translate: 0 0;
  scale: 1.04;
}

.js .gallery__slide {
  transition: opacity 0.5s var(--ease), scale 0.8s var(--ease), visibility 0.5s;
}

.gallery__arrow,
.gallery__count,
.gallery__dots {
  position: absolute;
  z-index: 1;
}

.gallery__arrow {
  top: 50%;
  translate: 0 -50%;
}

.gallery__arrow--prev {
  left: 14px;
}

.gallery__arrow--next {
  right: 14px;
}

.gallery__arrow--prev .icon {
  rotate: 180deg;
}

.gallery__count {
  top: 16px;
  left: 16px;
}

.gallery__dots {
  background: var(--overlay);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 100px;
  translate: -50% 0;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgb(255 255 255 / 0.5);
  cursor: pointer;
  transition: width 0.35s var(--ease), background-color 0.25s;
}

.gallery__dot:hover {
  background: rgb(255 255 255 / 0.85);
}

.gallery__dot[aria-selected="true"] {
  width: 20px;
  background: #fff;
}

html:not(.js) :is(.gallery__arrow, .gallery__count, .gallery__dots) {
  display: none;
}

.project__count {
  position: absolute;
  top: 12px;
  right: 12px;
}


.modal__body {
  padding: 28px 32px;
}

.modal__body--lg {
  padding: 40px 36px;
}

.modal__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.modal .project__head {
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.modal .text {
  margin-bottom: 20px;
  font-size: 15px;
}

.modal .tags + .btn {
  margin-top: 24px;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 72px;
  padding: 0 var(--pad-x);
  mix-blend-mode: difference;
  -webkit-user-select: none;
  user-select: none;
  animation: drop 0.7s ease-out both;
}

.nav {
  pointer-events: none;
}

.nav:not(.nav--tint, .nav--accent) :is(a, button) {
  pointer-events: auto;
}

.nav--tint {
  z-index: 1001;
  mix-blend-mode: color;
}

.nav--tint :is(.nav__brand, .nav__link, .nav__btn) {
  color: var(--c-nav-tint);
  opacity: 1;
}

.nav--tint .nav__link[aria-current] {
  visibility: hidden;
}

.nav--accent {
  z-index: 1002;
  mix-blend-mode: normal;
}

.nav--accent * {
  visibility: hidden;
}

.nav--accent .nav__link[aria-current] {
  visibility: visible;
}

.nav:not(.nav--accent) .nav__link[aria-current] {
  opacity: 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: min(1100px, 88%);
  height: 100%;
  margin: 0 auto;
}

.nav__brand,
.nav__link,
.nav__btn,
.nav a:hover {
  color: #fff;
}

.nav__brand {
  font-size: 20px;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}

.nav__brand:hover {
  opacity: 0.75;
}

.nav__links {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav__link:first-child,
.nav__link--end {
  margin-left: auto;
}

.nav__link:hover,
.nav__link[data-previewing] {
  opacity: 1;
}

.nav .nav__link[aria-current] {
  color: var(--c-accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__btn {
  display: flex;
  padding: 6px;
  border: 0;
  background: none;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav__btn:hover {
  opacity: 1;
}

.nav__theme {
  display: grid;
}

.nav__theme .icon {
  grid-area: 1 / 1;
  transition: rotate 0.5s var(--ease), scale 0.5s var(--ease), opacity 0.3s;
}

[data-theme="dark"] .nav__theme .icon--moon,
[data-theme="light"] .nav__theme .icon--sun {
  opacity: 0;
  rotate: -90deg;
  scale: 0.4;
}

.nav__menu-btn .icon--x,
.menu-open .nav__menu-btn .icon--menu {
  display: none;
}

.nav__menu-btn {
  display: none;
  opacity: 1;
}

.menu-open .nav__menu-btn .icon--x {
  display: block;
}

[id],
[data-stepper] {
  scroll-margin-top: 96px;
}

section[id],
.section__part[id] {
  scroll-margin-top: 0;
}

.preview {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 1003;
}

.preview__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--w, 360px);
  height: var(--h, 240px);
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-card);
  box-shadow: 0 24px 64px -24px rgb(8 20 40 / 0.4), 0 2px 6px rgb(8 20 40 / 0.06);
  opacity: 0;
  visibility: hidden;
  scale: 0.97;
  translate: var(--x, 0) -6px;
  transform-origin: 50% 0;
  transition: opacity 0.2s, visibility 0.2s, scale 0.25s var(--ease), translate 0.25s var(--ease);
}

.preview[data-open] .preview__panel {
  opacity: 1;
  visibility: visible;
  scale: 1;
  translate: var(--x, 0) 0;
}

.preview[data-animated] .preview__panel {
  transition: opacity 0.2s, visibility 0.2s, scale 0.25s var(--ease), translate 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
}

.preview__page {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.preview__page--wide {
  width: 620px;
}

.preview__page[data-active] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.05s;
}

.preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--c-border);
}

.preview__head .label {
  margin: 0;
}

.preview__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color 0.2s;
}

.preview__open .icon {
  transition: translate 0.3s var(--ease);
}

.preview__head:hover .preview__open {
  color: var(--c-accent);
}

.preview__head:hover .preview__open .icon {
  translate: 3px 0;
}

.preview__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview__page--wide .preview__list {
  grid-template-columns: 1fr 1fr;
}

.preview__link {
  display: flex;
  gap: 12px;
  height: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--c-text);
  transition: background-color 0.2s;
}

.preview__link:hover,
.preview__link:focus-visible {
  background: var(--c-bg);
  color: var(--c-text);
}

.preview__link:focus-visible {
  outline-offset: -2px;
}

.preview__num {
  padding-top: 2px;
  font: 600 11px/1.4 var(--mono);
  color: var(--c-accent);
}

.preview__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.preview__desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-muted);
}

@media (max-width: 768px), (hover: none) {
  .preview {
    display: none;
  }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--c-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-open .menu {
  opacity: 1;
  visibility: visible;
}

.menu__link {
  font-family: var(--display);
  font-size: clamp(36px, 11vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--c-text);
}

.menu__link[aria-current] {
  color: var(--c-accent);
}

main > section:last-of-type:not(.section--full) {
  padding-block: clamp(80px, 8vh, 120px) clamp(56px, 8vh, 120px);
  min-height: calc(100vh - var(--footer-h, 0px));
  min-height: calc(100svh - var(--footer-h, 0px));
}

body:has(main > section:last-of-type.section--full) .footer,
body:has(main > section:last-of-type.section--full) .footer > .container {
  display: flex;
  flex-direction: column;
}

body:has(main > section:last-of-type.section--full) .footer {
  min-height: 100vh;
  min-height: 100svh;
}

body:has(main > section:last-of-type.section--full) .footer > .container,
body:has(main > section:last-of-type.section--full) .footer__cta {
  flex: 1;
  justify-content: center;
}

.prose h2 {
  margin: 44px 0 12px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose :is(p, li) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.prose li + li {
  margin-top: 8px;
}

.prose strong {
  color: var(--c-text);
}

.prose__meta {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  padding: clamp(48px, 7vh, 80px) var(--pad-x) clamp(32px, 4vh, 48px);
  border-top: 1px solid var(--c-border);
  background: var(--c-footer);
  transition: background-color 0.5s;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__col .label,
.footer__brand {
  margin-bottom: 6px;
}

.footer__col--center {
  align-items: center;
}

.footer__col--end {
  align-items: flex-end;
}

.footer__brand {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-accent);
}

.footer__pages {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px 32px;
}

.footer__link {
  font-size: 14px;
  color: var(--c-muted);
  transition: color 0.2s;
}

a.footer__link:hover {
  color: var(--c-text);
}

.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-muted);
}

.footer__bar > :last-child {
  justify-self: end;
}

.footer__time {
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-clock] {
  display: inline-block;
  min-width: 9ch;
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.inline-link {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  color: var(--c-accent);
  cursor: pointer;
  transition: color 0.2s;
}

.inline-link:hover {
  color: var(--c-accent-h);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.contact__intro {
  position: sticky;
  top: 120px;
}

.contact__intro .lead {
  margin-bottom: 36px;
}

.contact__faq {
  margin-top: 32px;
}

.steps--compact {
  gap: 20px;
}

.steps--compact .card--row {
  padding: 0;
  border: 0;
  background: none;
}

.steps--compact .num--sm {
  width: 28px;
  font-size: 14px;
  line-height: 1.6;
}

.form-card {
  height: auto;
  padding: clamp(24px, 3.5vw, 44px);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px 16px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}

.field__label small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-muted);
}

.field__hint,
.field__error {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.field__hint {
  color: var(--c-muted);
}

.field__error {
  color: var(--c-error);
}

.field__error:empty {
  display: none;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  outline: none;
  background: var(--c-bg);
  font-size: 15px;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.5s;
}

.input::placeholder {
  color: var(--c-muted);
  opacity: 0.75;
}

.input:hover {
  border-color: var(--c-line);
}

.input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 18%, transparent);
}

.input[aria-invalid="true"] {
  border-color: var(--c-error);
}

.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-error) 18%, transparent);
}

textarea.input {
  min-height: 150px;
  line-height: 1.6;
  resize: vertical;
}

.choices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choices__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice .chip {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
}

.choice:hover .chip {
  border-color: var(--c-accent);
  color: var(--c-text);
}

.choice input:active + .chip {
  scale: 0.96;
}

.choice input:focus-visible + .chip {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.choice input:checked + .chip {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-btn-text);
}

.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.form .btn {
  padding: 16px 36px;
  font-size: 13px;
}

.form .btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.8;
}

.form .btn[aria-busy="true"] .icon {
  display: none;
}

.form .btn[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form__legal {
  flex: 1 1 200px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-muted);
}

.form__status {
  margin: 0;
  font-size: 14px;
  color: var(--c-error);
}

.form__status[data-tone="info"] {
  color: var(--c-muted);
}

.form__status:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(16px, 3vw, 32px) 0;
  text-align: center;
}

.success:focus {
  outline: none;
}

.success .modal__title {
  margin: 20px 0 8px;
}

.success__tick {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success__tick circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: draw 0.8s var(--ease) forwards;
}

.success__tick path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: draw 0.5s 0.55s var(--ease) forwards;
}

.recap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  width: 100%;
  margin: 16px 0 28px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--c-bg);
  text-align: left;
  font-size: 14px;
}

.recap dt {
  font: 600 11px/1.9 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.recap dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.faq__intro {
  margin: 10px 0 28px;
  font-size: 15px;
}

.faq {
  border-top: 1px solid var(--c-border);
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}

.faq__item[open]::details-content {
  block-size: auto;
}

.faq__q {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:focus-visible {
  outline-offset: 4px;
}

.faq__num {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--c-accent);
}

.faq__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq__q:hover .faq__title,
.faq__item[open] .faq__title {
  color: var(--c-accent);
}

.faq__toggle {
  --size: 32px;
}

.faq__q:hover .faq__toggle {
  border-color: var(--c-accent);
}

.faq__item[open] .faq__toggle .icon {
  rotate: 45deg;
}

.faq__a {
  padding: 0 44px 22px 48px;
}

.faq__a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
}

.faq__item[open] .faq__a {
  animation: rise 0.45s var(--ease) both;
}

.faq__more {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--c-muted);
}

.faq__more a {
  font-weight: 600;
}


.journey {
  --progress: 0;
}

* + .journey {
  margin-top: 40px;
}

.journey__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.journey__track {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: repeat(var(--count), 1fr);
}

.journey__line {
  position: absolute;
  top: 7px;
  left: calc(50% / var(--count));
  right: calc(50% / var(--count));
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-line);
}

.journey__fill {
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  transform-origin: left;
  scale: var(--progress) 1;
  transition: scale 0.7s var(--ease);
}

.journey__point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--c-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.journey__point:hover,
.journey__point[aria-selected="true"] {
  color: var(--c-text);
}

.journey__dot {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-card);
  transition: background-color 0.3s 0.2s, border-color 0.3s 0.2s, box-shadow 0.4s, scale 0.3s var(--ease);
}

.journey__point:hover .journey__dot {
  scale: 1.2;
}

.journey__point:is([data-done], [data-now]) .journey__dot {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.journey:not([data-fixed]) .journey__point[aria-selected="true"] .journey__dot,
.journey[data-fixed] .journey__point[data-now] .journey__dot {
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-accent) 22%, transparent);
}

.journey__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.journey__label .num {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.journey__stage {
  display: grid;
  overflow-x: clip;
  gap: 64px;
}

.js .journey__stage {
  gap: 0;
}

.js .slide {
  grid-area: 1 / 1;
  transition: opacity 0.5s var(--ease), translate 0.6s var(--ease), visibility 0.6s;
}

.js .slide[data-pos] {
  opacity: 0;
  visibility: hidden;
}

.js .slide[data-pos="before"] {
  translate: -32px 0;
}

.js .slide[data-pos="after"] {
  translate: 32px 0;
}

html:not(.js) .journey__track,
html:not(.js) .journey__controls {
  display: none;
}

.journey .split .h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.journey__controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  margin-top: -14px;
}

.journey__arrow {
  --size: 44px;
}

.journey__arrow[data-step="-1"] .icon {
  rotate: 180deg;
}

.journey__count {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--c-muted);
}

.journey__count [data-current] {
  color: var(--c-text);
}

.step-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  max-width: 760px;
}

.num--xl {
  margin: 0;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-accent);
}

.h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.step-panel .text {
  margin: 0;
}

.word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}

.word > span {
  display: inline-block;
  animation: word-up 0.9s var(--ease) both;
  animation-delay: calc(0.05s + var(--i) * 45ms);
}

:is(.media, .project__media) img {
  clip-path: inset(0);
  transition: clip-path 1.1s var(--ease), scale 1s var(--ease);
}

.js [data-anim]:not([data-visible]) :is(.media, .project__media) img {
  clip-path: inset(100% 0 0 0);
  scale: 1.12;
}

.card .card__icon {
  transition: translate 0.4s var(--ease);
}

.card:hover {
  border-color: color-mix(in srgb, var(--c-accent) 35%, transparent);
}

.card:hover .card__icon {
  translate: 0 -3px;
}

.link-arrow__icon {
  display: inline-block;
  transition: translate 0.3s var(--ease);
}

.link-arrow:hover .link-arrow__icon {
  translate: 4px 0;
}

.menu__link {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.4s, translate 0.5s var(--ease), color 0.2s;
}

.menu-open .menu__link {
  opacity: 1;
  translate: 0 0;
  transition-delay: calc(0.08s + var(--i) * 50ms);
}

.progress {
  position: fixed;
  top: 50%;
  right: clamp(10px, 2vw, 32px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  translate: 0 -50%;
  animation: fade-in 0.8s 0.6s both;
}

.progress__count {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--c-muted);
  text-shadow: var(--glow);
}

.progress__count [data-progress-current] {
  color: var(--c-text);
}

.progress__rail {
  position: relative;
  width: 20px;
  height: min(36vh, calc(var(--count, 5) * 48px));
}

.progress__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-line);
  translate: -50% 0;
}

.progress__fill {
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  transform-origin: top;
  scale: 1 var(--fill, 0);
}

.progress__dot {
  position: absolute;
  top: calc(var(--at) * 100%);
  left: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  translate: -50% -50%;
}

.progress__dot::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-bg);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.4s, scale 0.3s var(--ease);
}

.progress__dot:hover::before {
  scale: 1.25;
}

.progress__dot[data-done]::before {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.progress__dot[aria-current]::before {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-accent) 22%, transparent);
}

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: clamp(40px, 6vh, 64px);
  margin-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--c-border);
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  width: fit-content;
  font-family: var(--display);
  font-size: clamp(20px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  color: var(--c-text);
  transition: color 0.3s;
}

.footer__mail .icon {
  flex-shrink: 0;
  width: 0.7em;
  height: 0.7em;
  color: var(--c-accent);
  transition: translate 0.4s var(--ease), rotate 0.4s var(--ease);
  rotate: -45deg;
}

.footer__mail:hover {
  color: var(--c-accent);
}

.footer__mail:hover .icon {
  translate: 4px -4px;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

.journey[data-fixed] .journey__point[aria-selected="true"] .journey__dot {
  scale: 1.2;
}

[data-status="paused"] .journey__point[data-now] .journey__dot {
  border-color: var(--c-muted);
  background: var(--c-card);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-muted) 18%, transparent);
}

[data-status="stopped"] .journey__point[data-now] .journey__dot {
  border-color: var(--c-error);
  background: var(--c-card);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-error) 16%, transparent);
}

.tracking {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tracking__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.tracking__head .lead {
  margin: 0;
}

.tracking__id {
  font: 600 0.8em/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--c-text);
}

.tracking__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  background: var(--c-card);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-muted);
}

.status--active .status__dot {
  background: var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
}

.status--done .status__dot {
  background: var(--c-accent);
}

.status--stopped {
  border-color: color-mix(in srgb, var(--c-error) 45%, transparent);
  color: var(--c-error);
}

.status--stopped .status__dot {
  background: var(--c-error);
}

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  height: auto;
  border-left: 3px solid var(--c-muted);
}

.notice > div {
  flex: 1 1 320px;
}

.notice .card__text + .card__text {
  margin-top: 6px;
}

.notice--stopped {
  border-left-color: var(--c-error);
}

.notice--done {
  border-left-color: var(--c-accent);
}

.facts .card {
  height: auto;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact .label {
  margin: 0;
}

.fact__value {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.fact__meta {
  display: block;
  min-height: 1.5em;
  font-size: 13px;
  color: var(--c-muted);
}

.actions {
  height: auto;
  border-left: 3px solid var(--c-accent);
}

.actions__due {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-accent);
  white-space: nowrap;
}

.phase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.phase .label {
  margin-bottom: 14px;
}

.phase__state {
  display: inline-block;
  margin-bottom: 14px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.phase__state--current,
.phase__state--done {
  color: var(--c-accent);
}

[data-status="stopped"] .phase__state--current {
  color: var(--c-error);
}

.phase__duration {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.phase__duration .label {
  margin: 0;
}

.updates {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.updates::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--c-line);
}

.update {
  position: relative;
}

.update::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -28px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-accent);
  border-radius: 50%;
  background: var(--c-bg);
}

.update:first-child::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-accent) 20%, transparent);
}

.update__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 12px;
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.update__card {
  height: auto;
  padding: clamp(22px, 3vw, 32px);
}

.update__card .text:last-of-type {
  margin-bottom: 0;
}

.update__card .thumbs {
  margin-top: 20px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
  gap: 10px;
}

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

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

.thumbs .zoom {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.thumbs--1 .zoom {
  aspect-ratio: 16 / 9;
}

.zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--c-bg);
  cursor: zoom-in;
}

.zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom__hint {
  --size: 32px;
  position: absolute;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.25s, scale 0.3s var(--ease);
}

.zoom:hover .zoom__hint,
.zoom:focus-visible .zoom__hint {
  opacity: 1;
  scale: 1;
}

.thumbs .zoom img {
  transition: scale 0.6s var(--ease);
}

.thumbs .zoom:hover img {
  scale: 1.04;
}

.media .zoom {
  border-radius: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgb(6 9 14 / 0.97);
  color: #fff;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox[open] {
  animation: fade-in 0.25s ease-out;
}

.lightbox__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}

.lightbox__stage[data-zoomed] {
  cursor: grab;
}

.lightbox__stage[data-dragging] {
  cursor: grabbing;
}

.lightbox__img {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  will-change: transform;
}

.lightbox__stage[data-dragging] .lightbox__img {
  transition: none;
}

.lightbox__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
  pointer-events: none;
}

.lightbox__bar > * {
  pointer-events: auto;
}

.lightbox__count {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.lightbox__tools {
  display: flex;
  gap: 6px;
}

.lightbox .icon-btn--overlay {
  background: rgb(255 255 255 / 0.12);
}

.lightbox__level.icon-btn {
  width: auto;
  padding: 0 12px;
  border-radius: 100px;
  font: 600 12px/1 var(--mono);
  min-width: 64px;
  font-variant-numeric: tabular-nums;
}

.lightbox__caption {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1;
  max-width: min(720px, calc(100% - 32px));
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgb(0 0 0 / 0.55);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  translate: -50% 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox__caption:empty {
  display: none;
}

[data-rise] {
  animation: rise 0.8s var(--ease) both;
}

[data-rise]:nth-child(2) {
  animation-delay: 0.08s;
}

[data-rise]:nth-child(3) {
  animation-delay: 0.16s;
}

[data-rise]:nth-child(4) {
  animation-delay: 0.24s;
}

[data-rise]:nth-child(n + 5) {
  animation-delay: 0.32s;
}

.js [data-anim] {
  opacity: 0;
  transform: var(--from, translateY(28px));
  transition: opacity 0.6s ease-out var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s), translate 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, background-color 0.4s, color 0.4s;
}

.js [data-anim][data-visible] {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes word-up {
  from {
    transform: translateY(105%);
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .container,
  .nav__inner {
    max-width: min(var(--w, 1100px), 100%);
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .journey__point {
    font-size: 12px;
  }

  .tracking__status {
    align-items: flex-start;
  }

  .updates {
    padding-left: 24px;
  }

  .update::before {
    left: -24px;
  }

  .lightbox .gallery__arrow {
    top: auto;
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 64px));
    translate: none;
  }

  .progress {
    right: 2px;
  }

  .progress__count {
    display: none;
  }

  .progress__rail {
    width: 14px;
  }

  .progress__dot {
    width: 14px;
    height: 14px;
  }

  .progress__dot::before {
    inset: 3px;
    border-width: 1.5px;
  }

  .journey__head {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .journey__controls {
    margin-top: 0;
  }

  .step-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card--row {
    padding: 20px;
  }

  .banner,
  .modal__body--lg {
    padding: 28px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer__bar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
  }

  .footer__col--center,
  .footer__col--end {
    align-items: flex-start;
  }

  .footer__bar > :last-child {
    justify-self: start;
  }

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

  .contact__intro {
    position: static;
  }

  .faq__a {
    padding-right: 0;
  }
}

@media (min-width: 769px) {
  .menu {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  @view-transition {
    navigation: none;
  }

  .faq__item::details-content {
    transition: none;
  }

  .js [data-anim] {
    opacity: 1;
    transform: none;
  }
}
