/* ==========================================================================
   3P Partners AG – Design System v2
   ========================================================================== */

:root {
  --ink: #12102b;
  --navy: #1e1b4f;
  --navy-deep: #14113a;
  --navy-soft: #26225f;
  --paper: #f4f1ea;
  --paper-2: #eae6dc;
  --white: #ffffff;
  --rust: #c4502a;
  --rust-soft: #e0764f;
  --green: #2e7a56;
  --muted: rgba(18, 16, 43, 0.62);
  --hair: rgba(18, 16, 43, 0.16);
  --hair-strong: rgba(18, 16, 43, 0.28);
  --hair-light: rgba(255, 255, 255, 0.2);
  --muted-light: rgba(255, 255, 255, 0.66);
  --font-display: 'Funnel Display', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1340px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
  height: auto;
}

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(31px, 4.1vw, 58px);
}

h3 {
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.18;
}

::selection {
  background: var(--rust);
  color: var(--white);
}

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

main {
  counter-reset: sec;
}

main [id] {
  scroll-margin-top: 120px;
}

/* ---------- Layout ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 176px);
}

.section--tight {
  padding-block: clamp(60px, 6vw, 104px);
}

.section--white {
  background: var(--white);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--navy {
  background: var(--navy);
  color: var(--paper);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--navy h2,
.section--ink h2 {
  color: var(--white);
}

.section--navy .lead,
.section--ink .lead {
  color: var(--muted-light);
}

/* ---------- Type helpers ------------------------------------------------ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rust);
  flex: none;
}

.eyebrow--light {
  color: var(--muted-light);
}

.lead {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.58;
  color: var(--muted);
  max-width: 64ch;
  text-wrap: pretty;
}

.small {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.accent {
  color: var(--rust);
}

.bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
}

.bars i {
  display: block;
  width: 2px;
  height: 11px;
  background: var(--rust);
}

.bars--light i {
  background: var(--rust-soft);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

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

.btn:hover::before,
.btn:focus-visible::before {
  transform: none;
}

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

.btn svg {
  flex: none;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg,
.btn:focus-visible svg {
  transform: translateX(5px);
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--solid::before {
  background: var(--navy);
}

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

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light::before {
  background: var(--white);
}

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

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.btn--ghost-light::before {
  background: var(--white);
}

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

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.45s var(--ease);
}

.link-arrow svg {
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover {
  background-size: 100% 1px;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--light {
  color: var(--white);
}

/* ---------- Header ------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  color: var(--white);
  transition: transform 0.55s var(--ease), background 0.4s var(--ease),
    color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.topbar {
  height: 40px;
  overflow: hidden;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: height 0.45s var(--ease), opacity 0.3s var(--ease);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.topbar a {
  transition: color 0.25s;
}

.topbar a:hover {
  color: var(--white);
}

.topbar-claim {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.topbar-contact {
  display: inline-flex;
  gap: 22px;
}

.site-header.is-solid .topbar {
  height: 0;
  opacity: 0;
}

.site-header.is-solid {
  background: rgba(244, 241, 234, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hair);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 32px;
  width: auto;
}

.brand .logo-dark {
  display: none;
}

.is-solid .brand .logo-dark {
  display: block;
}

.is-solid .brand .logo-light {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.01em;
  padding: 6px 0;
  opacity: 0.84;
  transition: opacity 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.main-nav a:hover {
  opacity: 1;
}

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

.main-nav a.is-active {
  opacity: 1;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.lang {
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.lang span {
  opacity: 0.35;
}

.lang a {
  opacity: 0.5;
  transition: opacity 0.25s;
}

.lang a:hover,
.lang a.is-active {
  opacity: 1;
}

.site-header .btn {
  border-color: currentColor;
}

.site-header:not(.is-solid) .btn--header {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.site-header.is-solid .btn--header {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.site-header:not(.is-solid) .btn--header::before {
  background: var(--white);
}

.site-header:not(.is-solid) .btn--header:hover,
.site-header:not(.is-solid) .btn--header:focus-visible {
  color: var(--ink);
  border-color: var(--white);
}

.site-header.is-solid .btn--header:hover,
.site-header.is-solid .btn--header:focus-visible {
  color: var(--white);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  bottom: 16px;
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rust);
}

/* ---------- Mobile menu ------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}

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

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  margin-bottom: 36px;
}

.mobile-menu-top img {
  height: 30px;
}

.mm-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--hair-light);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}

.mm-close:hover {
  background: var(--paper);
  color: var(--ink);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hair-light);
}

.mobile-menu nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 7.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu nav a span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rust-soft);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 48px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted-light);
}

.mobile-menu-foot a {
  color: var(--paper);
}

.mm-lang {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

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

.hero {
  position: relative;
  min-height: min(100svh, 1020px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 2s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 16, 43, 0.52) 0%,
    rgba(18, 16, 43, 0.32) 34%,
    rgba(18, 16, 43, 0.78) 76%,
    rgba(18, 16, 43, 0.97) 100%
  );
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: clamp(30px, 4vw, 54px);
}

.hero h1 {
  max-width: 17ch;
  color: var(--white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin-top: 28px;
}

.hero-actions {
  margin-top: 40px;
}

.hero-card {
  position: absolute;
  right: var(--pad);
  bottom: clamp(150px, 18vh, 210px);
  z-index: 3;
  width: 316px;
  border: 1px solid var(--hair-light);
  background: rgba(18, 16, 43, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 18px;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.hero-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.hero-card-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-soft);
  margin: 0 0 14px;
}

.hero-card-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
}

.hero-card-link img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.hero-card-link strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

.hero-card-link em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}

.hero-card-link svg {
  transition: transform 0.4s var(--ease);
}

.hero-card:hover .hero-card-link svg {
  transform: translateX(4px);
}

.hero-foot {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair-light);
  flex: 1;
}

.hero-tags li {
  padding: 18px 26px 0 0;
  margin-right: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border-right: 1px solid var(--hair-light);
}

.hero-tags li:last-child {
  border-right: 0;
  margin-right: 0;
}

.scroll-cue {
  display: none;
}

/* ---------- Marquee ----------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 19px 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}

/* ---------- Page hero (inner pages) ------------------------------------ */

.p-hero {
  position: relative;
  color: var(--white);
  background: var(--navy-deep);
  padding-top: clamp(160px, 18vw, 264px);
  padding-bottom: clamp(60px, 7vw, 104px);
  overflow: hidden;
}

.p-hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.p-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.p-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(18, 16, 43, 0.62) 0%,
    rgba(18, 16, 43, 0.86) 58%,
    rgba(20, 17, 58, 0.97) 100%
  );
}

.p-hero-inner {
  position: relative;
  z-index: 2;
}

.p-hero h1 {
  max-width: 22ch;
  margin-bottom: 26px;
  color: var(--white);
}

.p-hero .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 62ch;
}

.p-hero--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 520px at 86% -12%, rgba(196, 80, 42, 0.24), transparent 60%),
    var(--navy-deep);
}

.p-hero--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

/* ---------- Section head ------------------------------------------------ */

.s-head {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px 64px;
  margin-bottom: clamp(44px, 5vw, 88px);
  counter-increment: sec;
}

.s-head-left {
  position: sticky;
  top: 132px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.s-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--rust);
}

.s-index::before {
  content: counter(sec, decimal-leading-zero) " /";
}

.s-head-left .eyebrow {
  margin: 0;
}

.s-head-right {
  max-width: 900px;
}

.s-head-right .lead {
  margin-top: 24px;
}

.section--navy .s-index,
.section--ink .s-index {
  color: var(--rust-soft);
}

.section--navy .eyebrow,
.section--ink .eyebrow {
  color: var(--muted-light);
}

/* ---------- Numbered list ---------------------------------------------- */

.nlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.nlist-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hair);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
}

.nlist-item:hover {
  padding-left: 18px;
  background: rgba(18, 16, 43, 0.03);
}

.nlist-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--rust);
}

.nlist-item h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  transition: transform 0.5s var(--ease);
}

.nlist-item p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.nlist-arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  opacity: 0.55;
  transition: transform 0.5s var(--ease), opacity 0.4s, background 0.4s,
    color 0.4s, border-color 0.4s;
}

.nlist-item:hover .nlist-arrow {
  transform: translateX(4px);
  opacity: 1;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section--navy .nlist,
.section--ink .nlist,
.section--navy .nlist-item,
.section--ink .nlist-item {
  border-color: var(--hair-light);
}

.section--navy .nlist-item:hover,
.section--ink .nlist-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.section--navy .nlist-item p,
.section--ink .nlist-item p {
  color: var(--muted-light);
}

.section--navy .nlist-arrow,
.section--ink .nlist-arrow {
  border-color: var(--hair-light);
}

.section--navy .nlist-item:hover .nlist-arrow,
.section--ink .nlist-item:hover .nlist-arrow {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.nlist-preview {
  position: fixed;
  z-index: 40;
  width: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(18, 16, 43, 0.45);
}

.nlist-preview.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- Steps ------------------------------------------------------- */

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

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--hair);
  align-items: start;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
}

.steps li:last-child {
  border-bottom: 1px solid var(--hair);
}

.steps li:hover {
  padding-left: 14px;
  background: rgba(18, 16, 43, 0.03);
}

.step-num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.steps li:hover .step-num {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.steps h3 {
  margin: 6px 0 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.section--navy .steps li,
.section--ink .steps li,
.section--navy .step-num,
.section--ink .step-num {
  border-color: var(--hair-light);
}

.section--navy .step-num,
.section--ink .step-num {
  color: var(--paper);
}

.section--navy .steps p,
.section--ink .steps p {
  color: var(--muted-light);
}

/* ---------- Two column content ----------------------------------------- */

.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 96px);
}

.cols--wide-left {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}

.block h3 + p,
.block h2 + p {
  margin-top: 14px;
}

/* ---------- Checklist --------------------------------------------------- */

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 15px 0 15px 36px;
  border-bottom: 1px solid var(--hair);
  font-size: 15.5px;
  transition: padding-left 0.4s var(--ease);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 2px;
  background: var(--rust);
  transition: width 0.4s var(--ease);
}

.ticks li:hover {
  padding-left: 42px;
}

.ticks li:hover::before {
  width: 22px;
}

.section--navy .ticks li,
.section--ink .ticks li {
  border-color: var(--hair-light);
}

/* ---------- Feature grid ------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.feature {
  position: relative;
  background: var(--paper);
  padding: 32px 28px 38px;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.5s var(--ease);
}

.section--white .feature {
  background: var(--white);
}

.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature:hover {
  background: var(--white);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-bottom: auto;
}

.feature h3 {
  margin: 40px 0 10px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Flow diagram ------------------------------------------------ */

.flow {
  display: grid;
  grid-template-columns: 1fr 76px 1fr 76px 1fr;
  align-items: stretch;
  margin-bottom: clamp(44px, 5vw, 72px);
}

.flow-node {
  position: relative;
  border: 1px solid var(--hair-light);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px 26px 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.flow-node:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

.flow-node span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--rust-soft);
}

.flow-node h3 {
  margin: 10px 0 0;
  font-size: 21px;
  color: var(--white);
}

.flow-node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

.flow-link {
  position: relative;
}

.flow-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--hair-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}

.flow.is-in .flow-link::before,
[data-reveal].is-in .flow-link::before {
  transform: none;
}

.flow-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--hair-light);
  border-right: 1px solid var(--hair-light);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Portfolio --------------------------------------------------- */

.map-panel {
  position: relative;
  border: 1px solid var(--hair);
  background: var(--white);
  padding: clamp(16px, 3vw, 44px);
  margin-bottom: clamp(44px, 5vw, 72px);
}

.map-panel img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.map-panel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.map-dot {
  position: absolute;
  top: 51%;
  left: 52%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rust);
  transform: translate(-50%, -50%);
}

.map-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--rust);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 40px);
}

.proj {
  display: flex;
  flex-direction: column;
}

.proj-media {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 4 / 3;
}

.proj--wide {
  grid-column: 1 / -1;
}

.proj--wide .proj-media {
  aspect-ratio: 21 / 9;
}

.proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}

.proj:hover .proj-media img {
  transform: scale(1.05);
}

.proj-index {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.chip {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(18, 16, 43, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-light);
}

.chip--active::before {
  background: #5fd39a;
}

.chip--plan::before {
  background: #e8b04b;
}

.proj-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  padding: 22px 0 0;
  align-items: baseline;
}

.proj-body h3 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 26px);
  grid-column: 1;
}

.proj-vol {
  grid-column: 2;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proj-vol strong {
  display: block;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.025em;
  text-transform: none;
  margin-top: 6px;
}

/* ---------- Cards (news) ------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hair-strong);
  padding-top: 24px;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  background: var(--navy-deep);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: clamp(21px, 1.9vw, 26px);
}

.card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.card-text {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 22px;
}

.card-more {
  margin-top: auto;
}

/* ---------- Access band ------------------------------------------------- */

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

.access-note {
  position: relative;
  border: 1px solid var(--hair-light);
  padding: 32px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.access-note::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  width: 64px;
  height: 2px;
  background: var(--rust);
}

.access-note p {
  font-size: 14px;
  color: var(--muted-light);
  margin: 0;
}

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

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

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: 4px;
}

.contact-list span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list strong {
  font-size: 17px;
  font-weight: 450;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  background: transparent;
  padding: 10px 0;
  font-size: 16.5px;
  border-radius: 0;
  transition: border-color 0.35s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: var(--rust);
}

.field-error {
  display: none;
  font-size: 12.5px;
  color: var(--rust);
}

.field.has-error .field-error {
  display: block;
}

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

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}

.check.has-error {
  color: var(--rust);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  margin: 2px 0 0;
  flex: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}

.check input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(-45deg) translateY(-1px);
}

.check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 18px 20px;
  border-radius: 2px;
  font-size: 14.5px;
}

.form-note[hidden] {
  display: none;
}

/* ---------- CTA band ---------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 440px at 88% 8%, rgba(196, 80, 42, 0.32), transparent 62%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 44px;
  align-items: center;
  padding-block: clamp(60px, 7vw, 110px);
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 48px);
}

.cta-inner p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 58ch;
}

/* ---------- Line strip divider ------------------------------------------ */

.line-strip {
  display: block;
  width: 100%;
  height: 30px;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

/* ---------- Article ----------------------------------------------------- */

.article-hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding-top: clamp(160px, 17vw, 240px);
  padding-bottom: clamp(52px, 6vw, 88px);
  overflow: hidden;
}

.article-hero .p-hero-bg img {
  opacity: 0.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 24px;
}

.article-hero h1 {
  max-width: 26ch;
  font-size: clamp(36px, 4.8vw, 72px);
  margin-bottom: 20px;
}

.article-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.article-body {
  max-width: 780px;
}

.article-body > * + * {
  margin-top: 1.1em;
}

.article-body h3 {
  margin-top: 2.2em;
  font-size: clamp(22px, 2.2vw, 30px);
}

.article-body h4 {
  margin-top: 1.8em;
  font-size: 19px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.article-body p,
.article-body li {
  color: rgba(18, 16, 43, 0.82);
  font-size: 17px;
  line-height: 1.72;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin: 1.1em 0;
}

.article-body li {
  margin-bottom: 0.45em;
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body .sources {
  margin-top: 3em;
  padding-top: 30px;
  border-top: 1px solid var(--hair-strong);
}

.article-body .sources h3 {
  margin-top: 0;
  font-size: 20px;
}

.article-body .sources ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.article-body .sources li {
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13.5px;
  color: var(--muted);
  word-break: break-word;
}

.article-body .sources strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.article-foot {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--hair-strong);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Legal pages ------------------------------------------------- */

.legal {
  max-width: 820px;
}

.legal h2 {
  font-size: clamp(21px, 2vw, 27px);
  margin-top: 2.4em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0;
  margin-top: 1.8em;
}

.legal p,
.legal li {
  color: rgba(18, 16, 43, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.site-footer {
  background: var(--navy-deep);
  color: var(--paper);
  padding-top: clamp(68px, 8vw, 120px);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.footer-brand img {
  height: 38px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--muted-light);
  font-size: 14.5px;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 22px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--hair-light);
  padding: 26px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-mark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.footer-mark span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(72px, 15.5vw, 250px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  transform: translateY(14%);
  user-select: none;
}

/* ---------- Modal ------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 16, 43, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(580px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  padding: clamp(30px, 4vw, 48px);
  transform: translateY(16px);
  transition: transform 0.5s var(--ease);
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-card h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 16px 0 16px;
}

.modal-card p {
  font-size: 14.5px;
  color: var(--muted);
}

.modal-actions {
  margin-top: 30px;
}

/* ---------- Reveal / split --------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--wi, 0) * 38ms);
}

.js [data-split].is-in .w > span {
  transform: none;
}

/* ---------- Page transition -------------------------------------------- */

main {
  animation: page-in 0.75s var(--ease) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.is-leaving main {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

/* ---------- Additions --------------------------------------------------- */

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 2px;
  transition: top 0.25s var(--ease);
}

.skip:focus {
  top: 16px;
}

.statement {
  font-size: clamp(24px, 2.9vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-more {
  margin-top: clamp(36px, 4vw, 60px);
}

.media-fig {
  overflow: hidden;
  border-radius: 2px;
}

.media-fig img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.media-fig:hover img {
  transform: scale(1.04);
}

.tick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.level {
  display: flex;
  flex-direction: column;
}

.level-media {
  margin: 0 0 24px;
  overflow: hidden;
  background: var(--navy-deep);
}

.level-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.level:hover .level-media img {
  transform: scale(1.055);
}

.level-body span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--rust);
  margin-bottom: 12px;
}

.level-body h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.level-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.mobile-menu-foot p {
  margin: 0;
}

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

@media (max-width: 1180px) {
  .main-nav {
    gap: 26px;
  }

  .hero-card {
    display: none;
  }

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

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

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

  .proj--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1000px) {
  .topbar {
    display: none;
  }

  .main-nav,
  .header-side .lang {
    display: none;
  }

  .burger {
    display: block;
  }

  .site-header.is-solid .header-inner {
    border-top: 0;
  }

  .s-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .s-head-left {
    position: static;
    gap: 10px;
  }

  .cols,
  .cols--wide-left {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-link {
    height: 52px;
  }

  .flow-link::before {
    top: 14px;
    bottom: 14px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .flow-link::after {
    top: auto;
    bottom: 14px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .access-grid,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .header-inner {
    height: 72px;
  }

  .brand img {
    height: 27px;
  }

  .hero-inner {
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(30px, 8.4vw, 46px);
    line-height: 1.02;
  }

  .hero h1,
  .p-hero h1 {
    max-width: 100%;
  }

  .article-hero h1 {
    font-size: clamp(28px, 7.8vw, 42px);
  }

  .hero-tags {
    border-top: 0;
    gap: 0 20px;
  }

  .hero-tags li {
    padding: 4px 0;
    margin: 0;
    border-right: 0;
  }

  .hero-foot {
    display: block;
  }

  .projects,
  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .proj--wide .proj-media,
  .proj-media {
    aspect-ratio: 16 / 11;
  }

  .proj-body {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .proj-vol {
    grid-column: 1;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .proj-vol strong {
    display: inline;
    margin-top: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .nlist-item {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 26px 0;
  }

  .nlist-arrow {
    display: none;
  }

  .steps li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

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

  .nlist-preview {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js [data-split] .w > span {
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
