/* ==========================================================================
   ICETEC — Creative Agency
   Landing page styles
   Palette and brand assets sourced from 2025.disenoprofesional.com
   ========================================================================== */

/* ---------------------------------------------
   Fonts (local, bundled — no Google Fonts request)
--------------------------------------------- */
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("../fonts/funnel-display-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/jetbrains-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/jetbrains-mono-500-latin.woff2") format("woff2");
}

/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root {
  /* Brand — sampled from the Icetec logo and site */
  --navy: #141414;
  --navy-deep: #141414;
  --azure: #3399ff;
  --azure-deep: #204291;
  --lime: #3399ff;
  --lime-brand: #e9ff48;
  --ink: #141414;
  --ink-2: #2e2d2d;
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --surface: #f7f7f7;
  --cream: #f7f7f7;
  --white: #ffffff;
  --sky: #eaf4ff;
  --red: #c81e2b;
  --muted: #6b6b6b;
  --line: rgba(20, 20, 20, 0.16);
  --line-light: rgba(20, 20, 20, 0.14);

  --font-display: "Funnel Display Variable", "Archivo Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Archivo Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hero-bg: #ffffff;
  --hero-text: #141414;
  --hero-line: rgba(20, 20, 20, 0.12);
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(18px, 4vw, 64px);
  --max: 1400px;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 78px;
}

/* ---------------------------------------------
   Reset & base
--------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body.is-locked { overflow: hidden; }

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

img { height: auto; }

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

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

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

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

em { font-style: normal; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

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

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

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.label > span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding-inline: 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.label--muted { color: var(--muted); }
.label--light { color: var(--cream); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-variation-settings: "wght" 760;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-top: 22px;
}
.section-title em,
.statement em,
.contact__title em {
  font: inherit;
  font-style: normal;
  color: var(--lime);
  -webkit-text-stroke: 0;
}
.section-title--xl {
  font-size: clamp(3rem, 6.6vw, 6.6rem);
}

/* ---------------------------------------------
   Utilities / shared components
--------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 12px 10px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 22px -14px rgba(27, 111, 212, 0.35);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.08);
  transition: transform 0.45s var(--ease), background-color 0.35s var(--ease);
}
.btn__ico svg { width: 17px; height: 17px; }
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn:active { transform: scale(0.98); }

.btn--lime {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 12px 28px -14px rgba(27, 111, 212, 0.35), 0 3px 8px rgba(27, 111, 212, 0.08);
}
.btn--lime .btn__ico { background: rgba(27, 111, 212, 0.12); }
.btn--lime:hover {
  background: #ffffff;
  box-shadow: 0 16px 34px -16px rgba(27, 111, 212, 0.4), 0 4px 10px rgba(27, 111, 212, 0.08);
}

.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: currentColor;
  box-shadow: 0 10px 24px -18px rgba(27, 111, 212, 0.35);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--ghost:hover .btn__ico { background: rgba(255, 255, 255, 0.16); }

.btn--dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px -16px rgba(27, 111, 212, 0.55), 0 3px 8px rgba(27, 111, 212, 0.12);
}
.btn--dark .btn__ico { background: rgba(255, 255, 255, 0.16); }
.btn--dark:hover { background: var(--azure-deep); color: var(--white); }

.btn--sm { min-height: 46px; padding: 6px 8px 6px 18px; font-size: 13px; gap: 10px; }
.btn--sm .btn__ico { width: 30px; height: 30px; }
.btn--full { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.link-arrow__ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.link-arrow__ico svg { width: 18px; height: 18px; }
.link-arrow:hover .link-arrow__ico { transform: translateX(5px); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.link-arrow--light { color: var(--cream); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Decorative vertical grid */
.section-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 0;
}
.section-lines span { border-left: 1px solid rgba(16, 17, 20, 0.06); }
.section-lines span:last-child { border-right: 1px solid rgba(16, 17, 20, 0.06); }

/* ---------------------------------------------
   Loader
--------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  animation: loaderAway 0.9s var(--ease-in-out) 1.55s forwards;
}
@keyframes loaderAway {
  0% { clip-path: inset(0 0 0 0); visibility: visible; }
  99% { clip-path: inset(0 0 100% 0); visibility: visible; }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
}
.loader__inner {
  width: min(84vw, 560px);
  display: grid;
  justify-items: center;
  gap: 22px;
}
.loader__logo { width: clamp(190px, 24vw, 280px); height: auto; }
.loader__count {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.4rem, 9vw, 7.6rem);
  font-variation-settings: "wght" 740;
  line-height: 0.78;
  letter-spacing: -0.075em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.loader__count small {
  font-family: var(--font-mono);
  font-size: 0.17em;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 0.35em;
  color: var(--azure);
}
.loader__meter {
  width: 100%;
  height: 2px;
  background: rgba(20, 20, 20, 0.14);
  overflow: hidden;
}
.loader__meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--azure);
  transform-origin: left center;
  animation: loaderMeter 1.35s var(--ease-in-out) 0.1s both;
}
@keyframes loaderMeter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------------------------------------------
   Cursor / grain / progress
--------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  width: 12px;
  height: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(16, 17, 20, 0.22);
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); transition: opacity 0.2s; }
.cursor__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}
.cursor.is-hover { width: 76px; height: 76px; mix-blend-mode: normal; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1500;
  background: rgba(16, 17, 20, 0.06);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------------------------------------------
   Navigation
--------------------------------------------- */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 800;
  pointer-events: none;
}
.nav__inner {
  color: var(--navy);
  pointer-events: auto;
  width: min(100% - 24px, calc(var(--max) + 24px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(27, 111, 212, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 34px -20px rgba(27, 111, 212, 0.28), 0 2px 8px rgba(27, 111, 212, 0.04);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    min-height 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.is-scrolled .nav__inner {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 42px -22px rgba(27, 111, 212, 0.4);
}
.nav__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav__logo img { width: 138px; height: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.burger {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}
.burger span {
  position: absolute;
  background: var(--navy);
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 27px; }


/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(27, 111, 212, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 5px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--navy);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-switch a.is-active { background: var(--navy); color: #ffffff; }
.lang-switch a:not(.is-active):hover { color: var(--azure-deep); }
.lang-switch a.is-active:hover { color: #ffffff; }
.menu__lang { display: inline-flex; align-items: center; gap: 8px; }
.menu__lang a {
  color: rgba(244, 241, 233, 0.65);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.menu__lang a.is-active { color: var(--lime); }
.menu__lang a:hover { color: var(--cream); }
@media (max-width: 760px) {
  .lang-switch { padding: 2px; }
  .lang-switch a { min-width: 25px; height: 22px; font-size: 8px; }
}

/* ---------------------------------------------
   Mobile menu
--------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 30px;
  background: var(--navy);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
  overflow: hidden;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0s;
}
.menu__glow {
  position: absolute;
  width: 70vw;
  height: 70vw;
  right: -20vw;
  bottom: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.55) 0%, transparent 62%);
  pointer-events: none;
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.menu__logo img { width: 160px; height: auto; }
.menu__close {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 241, 233, 0.35);
  border-radius: 50%;
}
.menu__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  margin-left: -10px;
  background: var(--cream);
}
.menu__close span:nth-child(1) { transform: rotate(45deg); }
.menu__close span:nth-child(2) { transform: rotate(-45deg); }
.menu__nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  margin-block: auto;
}
.menu__nav a {
  display: flex;
  font-weight: 700;
  align-items: baseline;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(244, 241, 233, 0.16);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-variation-settings: "wght" 700;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.menu__nav a span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.menu__nav a:hover { color: var(--lime); padding-left: 14px; }
.menu__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 233, 0.7);
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 233, 0.18);
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 26px;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--hero-bg);
  color: var(--hero-text);
}
.hero__lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.hero__lines span { border-left: 1px solid var(--hero-line); }
.hero__lines span:last-child { border-right: 1px solid var(--hero-line); }
.hero__glow {
  position: absolute;
  width: 65vw;
  height: 65vw;
  right: -18vw;
  top: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.28) 0%, rgba(51, 153, 255, 0.07) 45%, transparent 68%);
  pointer-events: none;
}
.hero__halftone {
  position: absolute;
  left: -12vw;
  bottom: -22vw;
  width: 52vw;
  height: 52vw;
  opacity: 0.24;
  background-image: radial-gradient(circle, var(--azure) 1.2px, transparent 1.4px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  flex: 1;
}

.hero__copy { padding-top: 10px; }

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.72);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(233, 255, 72, 0.35);
}
.eyebrow .sep { color: rgba(20, 20, 20, 0.35); }

html.fonts-pending .hero__copy,
html.fonts-pending .hero__stage {
  visibility: hidden;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(3.3rem, 7.35vw, 7.15rem);
  font-variation-settings: "wght" 775;
  line-height: 0.86;
  letter-spacing: -0.052em;
  margin: 26px 0 30px;
  text-wrap: balance;
}
.hero__line { display: block; overflow: visible; padding-bottom: 0.18em; margin-bottom: -0.12em; }
.hero__line > * { display: inline-block; }
.hero__title em {
  font: inherit;
  font-style: normal;
  color: var(--lime);
  -webkit-text-stroke: 0;
  padding-right: 0.015em;
}
.hero__title .hollow {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--azure);
  paint-order: stroke fill;
}
.hero__title .lime { color: var(--navy); }

.hero__lead {
  max-width: 520px;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  color: var(--navy);
  letter-spacing: -0.005em;
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 111, 212, 0.18);
  max-width: 500px;
}
.hero__meta > div { display: grid; gap: 2px; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.62);
}
.hero__meta dd {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  font-variation-settings: "wght" 650;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* Hero stage */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 610px;
  justify-self: end;
  padding-top: 18px;
  perspective: 1400px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.stage__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(32, 66, 145, 0.16);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 42%, rgba(51, 153, 255, 0.18) 0%, rgba(51, 153, 255, 0.04) 58%, transparent 78%),
    linear-gradient(145deg, #f8fcff 0%, #e6f2ff 55%, #cfe7ff 100%);
  box-shadow: 0 36px 80px -42px rgba(32, 66, 145, 0.28), 0 10px 28px -20px rgba(32, 66, 145, 0.18), inset 0 0 80px rgba(255, 255, 255, 0.35);
  transform-style: preserve-3d;
  will-change: transform;
}
.stage__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 66, 145, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 66, 145, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  pointer-events: none;
}
#morphCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: manipulation;
}
.stage__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(32, 66, 145, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.68);
  pointer-events: none;
}
.stage__badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.stage__hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.58);
  pointer-events: none;
}
.stage__hint svg { width: 14px; height: 14px; color: var(--lime); }
.stage__bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 14px 34px -20px rgba(27, 111, 212, 0.4), 0 3px 10px rgba(27, 111, 212, 0.06);
}
.stage__name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stage__name-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 2px rgba(27, 111, 212, 0.22);
}
.stage__indicators { display: flex; align-items: center; gap: 5px; }
.stage__indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(27, 111, 212, 0.2);
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}
.stage__indicator.is-active { width: 20px; background: var(--navy); }
.stage__count {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: #52678f;
  white-space: nowrap;
}

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 111, 212, 0.16);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.72);
}
.scroll-cue__track {
  position: relative;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(27, 111, 212, 0.45);
  border-radius: 999px;
}
.scroll-cue__track i {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--lime);
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}
.hero__footnote {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.72);
}
.hero__footnote--right { margin-left: auto; }

/* ---------------------------------------------
   Clients marquee
--------------------------------------------- */
.clients {
  background: var(--lime);
  color: var(--ink);
  border-block: 1px solid rgba(16, 17, 20, 0.16);
  padding-block: 18px;
}
.clients__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}
.clients__label {
  flex: 0 0 auto;
  width: 155px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee {
  flex: 1;
  display: flex;
  overflow: hidden;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.client {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 5px;
  border: 1px solid rgba(16, 17, 20, 0.16);
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(244, 241, 233, 0.24);
}
.client img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.client span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* ---------------------------------------------
   About
--------------------------------------------- */
.about { background: var(--paper); overflow: clip; }
.about .wrap { position: relative; z-index: 1; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.statement {
  max-width: 1230px;
  font-weight: 600;
  margin-top: clamp(40px, 6vw, 76px);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.55vw, 4.65rem);
  font-variation-settings: "wght" 620;
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: #8b8475;
}
.statement em { color: var(--lime); }
.statement .word { display: inline-block; }
.statement .word.is-lit { color: var(--ink); }
.statement em .word.is-lit { color: var(--lime); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  margin-top: clamp(60px, 8vw, 120px);
}
.about__visual {
  position: relative;
  padding-bottom: 42px;
  padding-right: 42px;
}
.about__img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-2);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.03); }
.about__img--main {
  aspect-ratio: 4 / 5;
  width: 88%;
}
.about__img--main figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(8px);
  font-size: 10px;
  color: var(--ink);
}
.about__img--main figcaption span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__img--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  aspect-ratio: 1 / 1.12;
  border: 7px solid var(--paper);
  box-shadow: 0 24px 50px -24px rgba(16, 17, 20, 0.45);
}
.about__stamp {
  position: absolute;
  top: -30px;
  right: 26px;
  width: 104px;
  height: 104px;
  color: var(--navy);
  animation: spin 26s linear infinite reverse;
}
.about__stamp text {
  font-family: var(--font-mono);
  font-size: 7.2px;
  letter-spacing: 0.7px;
  fill: currentColor;
  text-transform: uppercase;
}
.about__stamp .stamp-big {
  font-family: var(--font-display);
  font-size: 24px;
  font-variation-settings: "wght" 750;
  letter-spacing: -0.04em;
  fill: var(--ink);
}
.about__stamp .stamp-small {
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 1.4px;
  fill: var(--ink);
}

.about__content { padding-top: 12px; }
.about__lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  font-variation-settings: "wght" 580;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.about__content > p:not(.about__lede) {
  max-width: 520px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 30px;
}
.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: clamp(40px, 5vw, 70px);
  border-top: 1px solid var(--line);
}
.about__facts > div {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}
.about__facts > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.about__facts > div:nth-child(even) { padding-left: 24px; }
.about__facts dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-variation-settings: "wght" 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.about__facts dd {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------
   Services
--------------------------------------------- */
.services {
  background: var(--ink);
  color: var(--cream);
  overflow: clip;
}
.services__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -25vw;
  top: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.32) 0%, transparent 64%);
  pointer-events: none;
}
.services .wrap { position: relative; z-index: 1; }
.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--line-light);
}
.services .section-title em { color: var(--lime); -webkit-text-stroke: 0; }
.services__intro {
  max-width: 390px;
  justify-self: end;
  color: rgba(244, 241, 233, 0.62);
  font-size: 14.5px;
  line-height: 1.65;
}
.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  gap: clamp(40px, 6vw, 90px);
  margin-top: clamp(26px, 3vw, 46px);
  align-items: start;
}
.services__list { min-width: 0; }
.service { border-bottom: 1px solid var(--line-light); }
.service:first-child { border-top: 1px solid var(--line-light); }
.service__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: clamp(20px, 2.4vw, 32px) 0;
  text-align: left;
  transition: color 0.35s var(--ease);
}
.service__head:hover { color: var(--lime); }
.service__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 233, 0.6);
  transition: color 0.35s;
}
.service.is-open .service__num { color: var(--lime); }
.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.55vw, 3.3rem);
  font-variation-settings: "wght" 680;
  line-height: 0.98;
  letter-spacing: -0.038em;
  transition: transform 0.45s var(--ease);
}
.service__head:hover .service__title { transform: translateX(8px); }
.service__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 241, 233, 0.3);
  border-radius: 50%;
  transition: background-color 0.35s, border-color 0.35s, transform 0.45s var(--ease);
}
.service__icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  margin-left: -6px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.service__icon i:nth-child(2) { transform: rotate(90deg); }
.service.is-open .service__icon { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.service.is-open .service__icon i:nth-child(2) { transform: rotate(0deg); }
.service__head:hover .service__icon { border-color: currentColor; }
.service__panel { height: 0; overflow: hidden; }
.service.is-open .service__panel { height: auto; }
.service__panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 30px;
  padding: 0 0 30px 62px;
}
.service__panel-inner > p {
  max-width: 480px;
  color: rgba(244, 241, 233, 0.64);
  font-size: 14px;
  line-height: 1.65;
}
.service__tags { display: flex; flex-wrap: wrap; gap: 7px; align-content: start; }
.service__tags li {
  padding: 6px 10px;
  border: 1px solid rgba(244, 241, 233, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.78);
}
.service__mobile-img { display: none; }

.services__preview {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 14px;
}
.services__preview-frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(244, 241, 233, 0.06);
  border: 1px solid rgba(244, 241, 233, 0.14);
}
.services__preview-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}
.services__preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 17, 20, 0.45));
  pointer-events: none;
}
.services__preview-index {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.services__preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.55);
}
.services__preview-caption span:first-child { color: var(--cream); }

/* ---------------------------------------------
   Work
--------------------------------------------- */
.work { background: var(--paper); }
.work__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(56px, 7vw, 100px);
}
.work__intro-side {
  justify-self: end;
  max-width: 380px;
}
.work__intro-side > p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.work__intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project {
  position: relative;
  padding: clamp(64px, 8vw, 118px) 0;
  overflow: clip;
  isolation: isolate;
}
.project + .project { border-top: 1px solid rgba(16, 17, 20, 0.08); }
.project--gray-a { background: #f7f7f7; color: var(--ink); }
.project--gray-b { background: #ededed; color: var(--ink); }

.project .wrap { position: relative; z-index: 2; }
.project__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}
.project__lines span { border-left: 1px solid rgba(16, 17, 20, 0.08); }
.project__lines span:last-child { border-right: 1px solid rgba(16, 17, 20, 0.08); }
.project--gray-b .project__lines span { border-color: rgba(16, 17, 20, 0.07); }

.project__numeral {
  position: absolute;
  top: -0.14em;
  right: -0.02em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 34rem);
  font-variation-settings: "wght" 800;
  line-height: 0.72;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.project__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 40px;
}
.project__kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(16, 17, 20, 0.22);
}
.project__kicker .label > span { border-color: currentColor; }
.project__client {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.92;
}
.project__client i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.project__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7.2vw, 7.4rem);
  font-variation-settings: "wght" 770;
  line-height: 0.86;
  letter-spacing: -0.055em;
  max-width: 1050px;
}
.project__title em {
  font: inherit;
  font-style: normal;
  color: var(--navy);
  -webkit-text-stroke: 0;
}
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  align-self: end;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.project__link svg { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.project__link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.project__link:hover svg { transform: rotate(45deg); }

.project__stage {
  position: relative;
  margin-top: clamp(46px, 6vw, 84px);
  perspective: 1600px;
}
.browser {
  position: relative;
  width: min(100%, 900px);
  margin-inline: auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 38px 80px -44px rgba(16, 17, 20, 0.42), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
  transform: rotate(-1.2deg);
  transition: transform 0.7s var(--ease);
  z-index: 1;
}
.project--flip .browser { transform: rotate(1.2deg); }
.browser:hover { transform: rotate(0deg) translateY(-5px); }
.browser__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  background: #f4f3ee;
  border-bottom: 1px solid rgba(16, 17, 20, 0.09);
}
.browser__dots { display: flex; gap: 5px; }
.browser__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.22);
}
.browser__dots i:first-child { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1;
  max-width: 330px;
  margin-inline: auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.06);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--muted);
}
.browser__ext {
  font-size: 10px;
  color: var(--muted);
}
.browser__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9d9d9;
}
.browser__viewport img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;
  transform: none;
  will-change: transform;
}
.project--flip .project__stage { direction: ltr; }

.phone {
  position: absolute;
  right: 2%;
  bottom: -34px;
  z-index: 3;
  width: clamp(160px, 16.5vw, 240px);
  aspect-ratio: 9 / 18.7;
  padding: 5px;
  border-radius: 30px;
  background: #0d0e11;
  box-shadow: 0 36px 70px -26px rgba(16, 17, 20, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: rotate(0deg);
  transform-origin: 50% 80%;
  overflow: hidden;
}
.project--flip .phone { right: auto; left: 2%; }
.phone--tilt { transform: rotate(7deg); }
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: var(--ink);
}
.phone__screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;
  will-change: transform;
}
.project--short .browser__viewport img { width: 124%; left: -12%; }
.project--short .phone__screen img { width: 120%; left: -10%; }

.project__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: 20px;
  border-top: 1px solid rgba(16, 17, 20, 0.22);
}
.project__desc {
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.76;
}
.project__foot .tags { max-width: 380px; }
.project__year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

/* ---------------------------------------------
   Archive
--------------------------------------------- */
.archive {
  position: relative;
  padding-block: clamp(70px, 9vw, 130px);
}
.archive__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}
.archive__head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-variation-settings: "wght" 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.archive__head h3 sup {
  font-family: var(--font-mono);
  font-size: 0.3em;
  vertical-align: super;
  color: var(--azure-deep);
}
.archive__head p {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.archive__list { border-top: 1px solid var(--line); }
.archive__list a {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1.5fr) minmax(0, 1fr) 64px 28px;
  gap: 20px;
  align-items: center;
  padding: 21px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    padding-left 0.4s var(--ease), padding-right 0.4s var(--ease);
}
.archive__list a:hover {
  background: var(--ink);
  color: var(--cream);
  padding-left: 22px;
  padding-right: 22px;
}
.archive__idx,
.archive__year {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.archive__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.9vw, 1.65rem);
  font-variation-settings: "wght" 620;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.archive__cat {
  font-size: 12px;
  opacity: 0.6;
}
.archive__arrow {
  justify-self: end;
  font-size: 18px;
  transition: transform 0.4s var(--ease);
}
.archive__list a:hover .archive__arrow { transform: translate(3px, -3px); color: var(--lime); }
.archive__preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 350;
  width: 270px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  box-shadow: 0 30px 60px -20px rgba(16, 17, 20, 0.5);
  background: var(--paper-2);
}
.archive__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------
   Impact
--------------------------------------------- */
.impact {
  background: var(--azure);
  color: #ffffff;
  overflow: clip;
}
.impact__marquee {
  border-block: 1px solid rgba(255, 255, 255, 0.35);
  padding-block: 12px;
  overflow: hidden;
}
.impact__marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.impact__marquee-track span {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-variation-settings: "wght" 650;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.impact__marquee-track i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  flex: 0 0 auto;
}
.impact .wrap { padding-block: clamp(60px, 7vw, 100px); }
.impact__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
}
.impact__note {
  max-width: 330px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: right;
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.stat {
  padding: 26px 24px 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat:not(:first-child) { padding-left: 24px; }
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 20px;
}
.stat__value {
  display: flex;
  font-weight: 700;
  color: #ffffff;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.8vw, 7rem);
  font-variation-settings: "wght" 760;
  line-height: 0.82;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.stat__value small {
  font-family: var(--font-mono);
  font-size: 0.1em;
  letter-spacing: 0.12em;
  margin-left: 4px;
}
.stat__value--text { font-size: clamp(3.4rem, 6.4vw, 6.6rem); }
.stat__desc {
  max-width: 210px;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------------------------------------------
   Process
--------------------------------------------- */
.process {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}
.process__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(70px, 8vh, 100px);
  overflow: hidden;
}
.process__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(26px, 4vh, 50px);
}
.process__intro {
  max-width: 360px;
  justify-self: end;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.process__viewport { width: 100%; overflow: visible; }
.process__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  will-change: transform;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(300px, 30vw, 430px);
  min-height: clamp(370px, 48vh, 440px);
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 7px 0 rgba(16, 17, 20, 0.14);
}
.step--azure { background: var(--azure); }
.step--lime { background: var(--lime-brand); color: var(--ink); }
.step--navy { background: var(--navy); color: var(--cream); }
.step--paper { background: var(--paper); }
.step--cta { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.step__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
}
.step__icon svg { width: 26px; height: 26px; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.55vw, 2.35rem);
  font-variation-settings: "wght" 680;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  max-width: 300px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 330px;
  opacity: 0.78;
}
.step .tags { margin-top: auto; padding-top: 26px; }
.step .tags li { opacity: 0.95; }
.step__ghost {
  position: absolute;
  right: -4px;
  bottom: -22px;
  font-family: var(--font-display);
  font-size: 12.5rem;
  font-variation-settings: "wght" 800;
  line-height: 0.7;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  opacity: 0.18;
  pointer-events: none;
}
.step--cta { justify-content: center; }
.step--cta .label { margin-bottom: 20px; }
.step--cta h3 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}
.step--cta .btn { align-self: flex-start; margin-top: 28px; }
.process__foot {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 26px;
}
.process__bar {
  flex: 0 0 200px;
  height: 2px;
  background: rgba(16, 17, 20, 0.18);
  overflow: hidden;
}
.process__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}
.process__hint {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a5549;
}
.process__hint i { font-style: normal; display: inline-block; margin-left: 6px; }


/* Fallback when the pinned process is disabled */
.process.is-static .process__pin { min-height: 0; padding-block: 80px; }
.process.is-static .process__viewport { overflow-x: auto; scrollbar-width: thin; }
.process.is-static .process__foot { display: none; }

/* ---------------------------------------------
   Contact
--------------------------------------------- */
.contact {
  position: relative;
  background: var(--azure);
  color: var(--ink);
  overflow: clip;
  padding-block: clamp(80px, 9vw, 140px);
}
.contact__marquee {
  position: absolute;
  top: 30px;
  left: 0;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 15rem);
  font-variation-settings: "wght" 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 17, 20, 0.16);
  white-space: nowrap;
  animation: marqueeSlow 50s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.contact__marquee::before {
  content: "Start a project — Start a project — Start a project — ";
}
@keyframes marqueeSlow { to { transform: translateX(-50%); } }
.contact .wrap { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__copy { padding-top: 42px; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6.3vw, 6.6rem);
  font-variation-settings: "wght" 770;
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin: 26px 0 26px;
}
.contact__title em { color: var(--lime); }
.contact__lede {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(16, 17, 20, 0.78);
}
.contact__details {
  margin-top: clamp(34px, 4vw, 54px);
  border-top: 1px solid rgba(16, 17, 20, 0.24);
}
.contact__details > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.18);
  align-items: baseline;
}
.contact__details dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.55);
}
.contact__details dd { font-size: 14.5px; font-weight: 500; }
.contact__details a { position: relative; }
.contact__details a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.contact__details a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  animation: blink 2.4s infinite;
}

.contact__form {
  background: #ffffff;
  border: 1px solid var(--ink);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 10px 10px 0 rgba(27, 111, 212, 0.18);
}
.contact__form-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-variation-settings: "wght" 650;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field label span { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.28);
  border-radius: 0;
  background: transparent;
  padding: 9px 0 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101114' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(16, 17, 20, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); }
.field.has-error input,
.field.has-error textarea { border-color: var(--red); }
.field__error {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--red);
  min-height: 0;
}
.field.has-error .field__error { min-height: 12px; }
.contact__form .btn { margin-top: 8px; }
.contact__form-note {
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}
.contact__form-note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__form-note code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--navy);
}
.contact__form-status {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--navy);
  min-height: 14px;
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(60px, 8vw, 100px);
  overflow: clip;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: clamp(50px, 7vw, 80px);
}
.footer__brand img { width: 185px; height: auto; margin-bottom: 24px; }
.footer__brand > p {
  max-width: 330px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 241, 233, 0.6);
  margin-bottom: 28px;
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.42);
  margin-bottom: 18px;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col a,
.footer__col p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 241, 233, 0.82);
}
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--lime); }
.footer__col--contact a { font-size: 13.5px; }
.footer__col--contact p { color: rgba(244, 241, 233, 0.55); margin-top: 4px; }
.footer__col--contact a span { color: var(--lime); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding-block: 20px;
  border-top: 1px solid rgba(244, 241, 233, 0.14);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.6);
}
.footer__credit { margin-left: auto; }
.footer__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 241, 233, 0.75);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer__top-btn:hover { color: var(--lime); }
.footer__top-btn span { font-size: 12px; }

/* ---------------------------------------------
   Split text helpers (GSAP)
--------------------------------------------- */
.split-line { overflow: visible; }
.split-line-mask { padding-bottom: 0.16em; margin-bottom: -0.16em; }
.split-line > .split-line-inner { display: block; will-change: transform; }

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .hero__stage { max-width: 520px; }
  .services__layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: 40px; }
  .footer__top { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.8fr)); }
  .footer__col--contact { grid-column: 2 / -1; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__actions { gap: 7px; }
  .hero { padding-top: 118px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 20px;
  }
  .hero__copy { max-width: 760px; }
  .hero__title { font-size: clamp(3.4rem, 9.4vw, 6rem); }
  .hero__stage {
    justify-self: center;
    max-width: 540px;
    width: min(100%, 540px);
    padding-top: 0;
    margin-bottom: 18px;
  }
  .hero__foot { margin-top: 44px; }
  .about__grid { grid-template-columns: 1fr; gap: 64px; }
  .about__visual { max-width: 620px; }
  .about__content { max-width: 680px; }
  .services__head { grid-template-columns: 1fr; gap: 24px; }
  .services__intro { justify-self: start; max-width: 520px; }
  .services__layout { grid-template-columns: 1fr; }
  .services__preview { display: none; }
  .service__mobile-img { display: block; grid-column: 1 / -1; margin-top: 4px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
  .service__mobile-img img { width: 100%; height: 100%; object-fit: cover; }
  .service__panel-inner { grid-template-columns: 1fr 1fr; }
  .work__intro { grid-template-columns: 1fr; gap: 28px; }
  .work__intro-side { justify-self: start; max-width: 520px; }
  .project__title { font-size: clamp(2.8rem, 8vw, 5.4rem); }
  .phone { width: 120px; }
  .archive__list a { grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 0.9fr) 48px 24px; gap: 14px; }
  .archive__preview { display: none; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-top: 1px solid rgba(16, 17, 20, 0.2); }
  .stat:nth-child(3) { padding-left: 0; }
  .process__head { grid-template-columns: 1fr; gap: 22px; }
  .process__intro { justify-self: start; }
  .contact__grid { grid-template-columns: 1fr; gap: 54px; }
  .contact__copy { padding-top: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav__inner { min-height: 58px; padding: 5px 6px 5px 14px; }
  .nav__logo img { width: 120px; }
  .nav__cta { display: none; }
  .burger { width: 44px; height: 44px; }
  .burger span:nth-child(1) { top: 18px; }
  .burger span:nth-child(2) { top: 24px; }
  .hero { padding-top: 100px; }
  .hero__title { font-size: clamp(3rem, 14.2vw, 5.2rem); line-height: 0.88; }
  .hero__lead { font-size: 15px; line-height: 1.55; }
  .hero__actions { gap: 8px; }
  .btn { min-height: 52px; font-size: 14px; padding-left: 20px; }
  .hero__meta { gap: 22px; margin-top: 30px; }
  .hero__foot { flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .hero__footnote--right { display: none; }
  .stage__frame { border-radius: 24px; }
  .stage__bar { gap: 8px; padding-left: 12px; }
  .stage__name { font-size: 11px; }
  .stage__count { display: none; }
  .clients__inner { gap: 16px; }
  .clients__label { display: none; }
  .section-head { align-items: flex-start; }
  .section-head .label--muted { display: none; }
  .label--muted { text-align: right; }
  .statement { font-size: clamp(2rem, 8.7vw, 3.2rem); }
  .about__visual { padding-right: 26px; padding-bottom: 26px; }
  .about__img--main { width: 93%; }
  .about__img--small { width: 42%; border-width: 5px; }
  .about__stamp { width: 84px; height: 84px; top: -20px; right: 8px; }
  .about__facts > div { padding-block: 18px; }
  .service__head { grid-template-columns: 34px minmax(0, 1fr) 38px; gap: 10px; }
  .service__icon { width: 36px; height: 36px; }
  .service__panel-inner { grid-template-columns: 1fr; padding-left: 44px; gap: 18px; }
  .project__head { grid-template-columns: 1fr; }
  .project__link { justify-self: start; margin-top: 8px; }
  .project__kicker { gap: 12px; align-items: flex-start; }
  .project__title { font-size: clamp(2.5rem, 11.4vw, 4.2rem); }
  .project__stage { margin-top: 40px; }
  .browser { border-radius: 12px; transform: none !important; }
  .browser__chrome { height: 34px; gap: 10px; padding-inline: 12px; }
  .browser__url { font-size: 7.5px; padding: 4px 10px; }
  .browser__viewport { aspect-ratio: 16 / 10; }
  .phone { display: none; }
  .project__foot { grid-template-columns: 1fr; gap: 18px; }
  .project__year { display: none; }
  .project__foot .tags { max-width: none; }
  .archive { padding-block: 64px; }
  .archive__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .archive__list a {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 10px;
    padding: 17px 4px;
  }
  .archive__cat,
  .archive__year { display: none; }
  .archive__name { font-size: 1.06rem; }
  .impact__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .impact__note { text-align: left; }
  .impact__grid { grid-template-columns: 1fr; }
  .stat,
  .stat:not(:first-child) {
    padding: 22px 0 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.2);
  }
  .stat__value { font-size: clamp(3.7rem, 17vw, 5.4rem); }
  .stat__desc { margin-top: 12px; }
  .process__pin { min-height: 0; padding-block: 70px; }
  .process__viewport { overflow: visible; }
  .process__track {
    flex-direction: column;
    width: 100%;
    padding-inline: var(--gutter);
    gap: 14px;
  }
  .step { width: 100%; min-height: 340px; }
  .process__foot { display: none; }
  .contact { padding-block: 76px; }
  .contact__marquee { top: 18px; }
  .contact__title { font-size: clamp(3rem, 14vw, 5rem); }
  .contact__details > div { grid-template-columns: 70px 1fr; gap: 10px; }
  .contact__form { padding: 22px; border-radius: 18px; box-shadow: 6px 6px 0 rgba(16, 17, 20, 0.16); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer__brand { grid-column: auto; }
  .footer__col { gap: 7px; }
  .footer__col--contact { grid-column: auto; }
  .footer__bottom { flex-wrap: wrap; gap: 8px; line-height: 1.6; }
  .footer__credit { margin-left: 0; width: 100%; order: 3; }
  .footer__top-btn { margin-left: auto; }
  .menu__nav a { font-size: clamp(2.4rem, 12vw, 4rem); }
  .loader__brand img { width: 42px; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .process__pin { padding-block: 54px; }
  .process__head { padding-bottom: 22px; }
  .step { min-height: 350px; }
  .process .section-title { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
}

@media (max-width: 420px) {
  .hero__meta { justify-content: space-between; width: 100%; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .stage__name span:last-child { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .clients { padding-block: 14px; }
  .client { padding-right: 9px; }
  .client span { font-size: 10.5px; }
  .client img { width: 26px; height: 26px; }
  .about__stamp { display: none; }
  .project__numeral { font-size: 60vw; }
  .contact__form { padding: 18px; }
}


/* Lenis smooth-scroll styles */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* Custom cursor mode */
@media (pointer: fine) {
  .has-cursor,
  .has-cursor a,
  .has-cursor button,
  .has-cursor [data-cursor] { cursor: none; }
  .has-cursor input,
  .has-cursor textarea,
  .has-cursor select { cursor: auto; }
}

/* ---------------------------------------------
   Reduced motion
--------------------------------------------- */
@supports not (-webkit-text-stroke: 1px #000) {
  .hero__title em,
  .section-title em,
  .statement em,
  .contact__title em { color: var(--azure-deep); }
  .hero__title .hollow { color: var(--azure); }
  .error-page__code { color: var(--cream); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .loader { animation-delay: 0s; animation-duration: 0.01ms; }
  .about__stamp,
  .marquee__track,
  .impact__marquee-track,
  .contact__marquee { animation: none !important; }
  .cursor { display: none !important; }
}


/* ---------------------------------------------
   Reference palette — light footer and dark body text
--------------------------------------------- */
.contact__title em { color: var(--cream); }
.contact__status i { background: var(--ink); }

.footer {
  background: var(--surface);
  color: var(--ink-2);
}
.footer__brand > p { color: var(--ink-2); }
.footer__heading { color: rgba(20, 20, 20, 0.52); }
.footer__col a,
.footer__col p { color: var(--ink-2); }
.footer__col a:hover { color: var(--azure-deep); }
.footer__col--contact p { color: rgba(20, 20, 20, 0.6); }
.footer__col--contact a span { color: var(--azure-deep); }
.footer__bottom {
  color: rgba(20, 20, 20, 0.62);
  border-top-color: rgba(20, 20, 20, 0.14);
}
.footer__top-btn { color: rgba(20, 20, 20, 0.7); }
.footer__top-btn:hover { color: var(--azure-deep); }
.footer__brand img { filter: none; }
