/* EVOLVENTA — plain CSS, no framework. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0e0f10;
  --ink-2: #16181a;
  --paper: #f2eee6;
  --text: #141516;
  --text-2: #5e5b55;
  --on-ink: #ede9e1;
  --on-ink-2: #a29e95;
  --brass: #c6a46c;
  --brass-deep: #7a5b31;
  --line-paper: rgba(20, 21, 22, 0.14);
  --line-ink: rgba(237, 233, 225, 0.14);
  --error: #e9a08f;

  /* section scheme: every section can redefine these */
  --ground: var(--paper);
  --fg: var(--text);
  --fg-2: var(--text-2);
  --line: var(--line-paper);
  --accent: var(--brass-deep);
  --line-strong: rgba(20, 21, 22, 0.3);
  --error-c: #a4372a;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  /* one family, two widths: semi-condensed for headings, normal for text */
  --narrow: 76%;

  --gutter: clamp(20px, 5vw, 80px);
  --col-gap: clamp(16px, 2vw, 32px);
  --header-h: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --focus: var(--brass);
}

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

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-synthesis: none;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 560; font-stretch: var(--narrow); }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; background: var(--on-ink); color: var(--ink);
  font-weight: 500; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */

.h2 {
  font-size: clamp(42px, 5.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.022em;
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 0;
  font: 500 15px/1 var(--sans); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn__arrow {
  width: 28px; height: 10px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.2;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); }
.btn--line { min-height: 44px; padding: 0 22px; font-size: 14px; color: var(--on-ink); border-color: rgba(237, 233, 225, 0.32); }
.btn--line:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

.link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none;
}
.link::before, .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor;
}
.link::before { opacity: 0.3; }
.link::after { transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--light { color: var(--on-ink); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled { background: rgba(14, 15, 16, 0.95); border-color: var(--line-ink); }
.site-header__inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }

.wordmark {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; min-height: 44px;
  margin-right: auto;
  font-size: 14px; font-weight: 700; letter-spacing: 0.34em;
  text-decoration: none;
}

.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; color: var(--on-ink-2); text-decoration: none;
  transition: color 0.3s var(--ease);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.site-nav a:hover { color: var(--on-ink); }
.site-nav ul a:hover::after { transform: scaleX(1); }
.site-nav__contact, .site-nav__mail { display: none !important; }

.menu-toggle {
  position: relative; z-index: 1;
  display: none; align-items: center; gap: 14px;
  min-height: 44px; padding: 0 0 0 12px; margin-right: -4px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle__label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.menu-toggle__bars { position: relative; width: 24px; height: 10px; }
.menu-toggle__bars i {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 4.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  min-height: max(100svh, 680px);
  overflow: hidden;
  color: var(--on-ink);
  background:
    radial-gradient(60% 75% at 74% 48%, #1c1e21 0%, rgba(14, 15, 16, 0) 72%),
    var(--ink);
}
.hero__stage {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__stage.is-ready { opacity: 1; }
.hero__stage canvas { display: block; width: 100%; height: 100%; }
.hero__fallback {
  position: absolute; top: 50%; right: -3%; width: 60%;
  transform: translateY(-50%);
}

.hero__inner {
  position: relative; z-index: 1;
  align-self: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
  pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__title {
  max-width: 7.6em;
  font-size: clamp(56px, 6.9vw, 112px);
  font-weight: 600;
  font-stretch: 72%;
  line-height: 0.92;
  letter-spacing: -0.028em;
}
.hero__line { display: block; }
.hero__line + .hero__line { color: var(--on-ink-2); }
.hero__lede {
  max-width: 28em; margin-top: 36px;
  font-size: 18px; line-height: 1.6; color: var(--on-ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }

.hero__foot { position: relative; z-index: 1; border-top: 1px solid var(--line-ink); }
.sectors {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
  padding-block: 22px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-ink-2);
}
.sectors li { display: flex; align-items: center; }
.sectors li + li::before {
  content: ""; width: 20px; height: 1px; margin-inline: 18px;
  background: var(--brass); opacity: 0.7;
}

/* entrance: once, on load; pure CSS, so the copy never waits for a script */
[data-rise] { animation: rise 1.2s var(--ease) var(--d, 0s) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero__line:nth-child(1) { --d: 0.12s; }
.hero__line:nth-child(2) { --d: 0.22s; }
.hero__lede[data-rise] { --d: 0.38s; }
.hero__actions[data-rise] { --d: 0.48s; }
.hero__foot[data-rise] { --d: 0.65s; }

/* ---------- section schemes ----------
   Two grounds only, strictly alternating down the page: graphite, ivory, graphite, ivory.
   Every section redefines the same variables, so components never hard-code a colour. */

.scheme-paper {
  --ground: var(--paper);
  --fg: var(--text);
  --fg-2: var(--text-2);
  --line: var(--line-paper);
  --line-strong: rgba(20, 21, 22, 0.3);
  --accent: var(--brass-deep);
  --focus: var(--brass-deep);
  --error-c: #a4372a;
  background: var(--ground);
  color: var(--fg);
}
.scheme-ink {
  --ground: var(--ink);
  --fg: var(--on-ink);
  --fg-2: var(--on-ink-2);
  --line: var(--line-ink);
  --line-strong: rgba(237, 233, 225, 0.3);
  --accent: var(--brass);
  --focus: var(--brass);
  --error-c: #e9a08f;
  background: var(--ground);
  color: var(--fg);
}

/* ---------- intro: who stands where ---------- */

.intro { padding-block: clamp(112px, 12vw, 176px); }
.intro__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.intro__title {
  grid-column: 1 / span 10;
  font-size: clamp(44px, 6.4vw, 104px);
  font-weight: 600;
  font-stretch: 72%;
  line-height: 0.94;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.intro__lede {
  grid-column: 1 / span 7;
  margin-top: clamp(24px, 2.6vw, 36px);
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 360;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--fg-2);
}

.chain {
  --mark: 112px;
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap);
  margin-top: clamp(80px, 9vw, 136px);
  text-align: center;
}
/* the connecting line runs between the centres of the outer marks and draws out from the middle */
.chain::before {
  content: ""; position: absolute;
  top: calc(var(--mark) / 2); left: calc(100% / 6); right: calc(100% / 6); height: 1px;
  background: var(--fg);
  opacity: 0.5;
  transform-origin: center;
  transition: transform 1.6s var(--ease);
}
.js .chain:not(.is-drawn)::before { transform: scaleX(0); }
.chain__node { position: relative; display: flex; flex-direction: column; align-items: center; }
.chain__mark, .chain__gear { width: var(--mark); height: var(--mark); flex: none; }
.chain__mark { position: relative; }
.chain__mark::before {
  content: ""; position: absolute; inset: 22%;
  border: 1px solid var(--fg); border-radius: 50%;
  background: var(--ground);
}
.chain__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--fg);
}
.chain__gear {
  fill: var(--brass);
  background: var(--ground);
  border-radius: 50%;
  transition: transform 1.8s var(--ease);
}
.js .chain:not(.is-drawn) .chain__gear { transform: rotate(-60deg); }
.chain__title {
  margin-top: 28px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.chain__node--us .chain__title { color: var(--accent); }
/* flow labels sit on the line, halfway between two marks */
.chain__flow {
  position: absolute; top: calc(var(--mark) / 2); z-index: 1;
  padding: 0 14px;
  background: var(--ground);
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg-2);
  transform: translate(-50%, -50%);
  transition: opacity 0.6s var(--ease) 1.1s;
}
.chain__flow--in { left: calc(100% + var(--col-gap) / 2); }
.chain__flow--out { left: calc(var(--col-gap) / -2); }
.js .chain:not(.is-drawn) .chain__flow { opacity: 0; }
.chain__node p { margin-top: 12px; max-width: 22em; font-size: 16px; color: var(--fg-2); }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap);
  margin-top: clamp(80px, 9vw, 136px);
  border-top: 1px solid var(--line);
}
.facts > div { padding-top: 22px; }
.facts dt {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2);
}
.facts dd {
  margin-top: 8px;
  font-size: clamp(20px, 1.7vw, 26px); font-weight: 520; font-stretch: var(--narrow);
  line-height: 1.15; letter-spacing: -0.012em;
}

/* ---------- section heads ---------- */

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.section-head .h2 { grid-column: 1 / span 7; }
.section-head__text { grid-column: 7 / span 5; font-size: 16.5px; color: var(--fg-2); max-width: 30em; }

/* ---------- services ---------- */

.services { padding-block: clamp(112px, 12vw, 176px); }
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: start;
}
.services__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.services__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - 64px);
  width: 100%;
  overflow: hidden;
  background: #17181a;
}
.services__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.9s var(--ease), transform 1.8s var(--ease);
}
.services__frame img.is-active { opacity: 1; transform: none; }

.services__list { grid-column: 7 / span 6; border-bottom: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1fr);
  padding-block: 36px 32px;
  border-top: 1px solid var(--line);
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.service.is-active::before { transform: scaleX(1); }
.service__img { display: none; }
.service__num {
  padding-top: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
  color: var(--fg-2);
  transition: color 0.4s var(--ease);
}
.service.is-active .service__num { color: var(--accent); }
.service__title {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}
.service__body p { max-width: 34em; font-size: 16.5px; color: var(--fg-2); }
.service__body .link { margin-top: 14px; }

/* ---------- industries ---------- */

.industries { padding-block: clamp(112px, 12vw, 176px); }
.industries__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: start;
}
.industries__list { grid-column: 1 / span 6; border-bottom: 1px solid var(--line); }
.industries__list li {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: baseline;
  padding-block: 22px 24px;
  border-top: 1px solid var(--line);
}
.industries__num { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.industries__name { font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; font-stretch: var(--narrow); line-height: 1.06; letter-spacing: -0.02em; }
.industries__photo { grid-column: 8 / span 5; aspect-ratio: 1 / 1; overflow: hidden; background: #17181a; }
.industries__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  transition: transform 1.2s var(--ease);
}
.industries__photo:hover img { transform: scale(1.03); }

/* ---------- process ---------- */

.process { padding-block: clamp(112px, 12vw, 176px); }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap);
  padding-top: 64px;
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: var(--accent);
  transform-origin: left;
  transition: transform 2.2s var(--ease);
}
.js .steps:not(.is-drawn)::after { transform: scaleX(0); }
.step { position: relative; padding-right: 12px; }
.step::before {
  content: ""; position: absolute; left: 0; top: -64px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); border: 1px solid var(--accent);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .steps:not(.is-drawn) .step::before { background: var(--ground); border-color: var(--fg-2); }
.step:nth-child(1) { --d: 0.1s; }
.step:nth-child(2) { --d: 0.65s; }
.step:nth-child(3) { --d: 1.2s; }
.step:nth-child(4) { --d: 1.75s; }
.step__num {
  display: block; margin-bottom: 28px;
  font-size: clamp(56px, 5vw, 76px); font-weight: 300; font-stretch: 70%; line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.step__title { font-size: clamp(24px, 2vw, 30px); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 14px; max-width: 9em; }
.step p { font-size: 16px; color: var(--fg-2); max-width: 22em; }

/* ---------- about ---------- */

.about { padding-block: clamp(112px, 12vw, 176px); }
.about__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: center;
}
.about__copy { grid-column: 1 / span 6; }
.about__lead {
  margin: 40px 0 22px;
  font-size: clamp(22px, 1.9vw, 29px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.012em;
  max-width: 20em;
}
.about__copy > p:not(.about__lead) { max-width: 34em; color: var(--fg-2); }
.principles { margin-top: 44px; border-bottom: 1px solid var(--line); }
.principles > div {
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 24px;
  padding-block: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.principles dt { font-weight: 500; }
.principles dd { color: var(--fg-2); }

.definition { grid-column: 8 / span 5; }
.definition__svg { width: 100%; height: auto; overflow: visible; }
.definition__svg .base,
.definition__svg .cross { fill: none; stroke: var(--fg-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.definition__svg .thread { stroke: var(--fg-2); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.6; vector-effect: non-scaling-stroke; }
.definition__svg .knot { fill: var(--fg-2); opacity: 0.8; }
.definition__svg .note {
  font-family: var(--sans); font-size: 8.5px; font-weight: 500; letter-spacing: 1.3px;
  fill: var(--fg-2);
  transition: opacity 0.8s var(--ease) 1.6s;
}
.js .definition:not(.is-drawn) .note { opacity: 0; }
.definition__svg .curve {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.45, 0.05, 0.2, 1);
}
.definition__svg .thread--live { stroke: var(--accent); stroke-dasharray: none; opacity: 1; transition: opacity 0.6s var(--ease) 2.3s; }
.definition__svg .tip { fill: var(--accent); transition: opacity 0.6s var(--ease) 2.3s; }
.js .definition:not(.is-drawn) .curve { stroke-dashoffset: 1; }
.js .definition:not(.is-drawn) .thread--live,
.js .definition:not(.is-drawn) .tip { opacity: 0; }
.definition__term {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.definition__term dfn { font-style: normal; font-size: clamp(36px, 3.2vw, 50px); font-weight: 560; font-stretch: var(--narrow); letter-spacing: -0.02em; line-height: 1; }
.definition__term span { font-size: 14px; color: var(--fg-2); }
.definition__text { margin-top: 14px; font-size: 16px; color: var(--fg-2); max-width: 30em; }

/* ---------- contact ---------- */

.contact { padding-block: clamp(112px, 12vw, 176px); }
.contact__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: start;
}
.contact__copy { grid-column: 1 / span 5; }
.contact__copy .h2 { font-size: clamp(44px, 5vw, 80px); line-height: 0.98; }
.contact__copy p { margin: 32px 0 44px; color: var(--fg-2); max-width: 26em; }
.contact__mail {
  display: inline-block; padding-block: 4px 8px;
  font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; font-stretch: var(--narrow); letter-spacing: -0.015em; line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }

.form { grid-column: 7 / span 6; display: grid; gap: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-2);
}
.field__req { color: var(--accent); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px;
  padding: 10px 0 12px;
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 17px; color: var(--fg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C6A46C' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.field select option { color: var(--ink); background: var(--paper); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--fg-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error-c); }
.field__error { margin-top: 8px; font-size: 14px; color: var(--error-c); }
.field__error:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.form__note { font-size: 14px; color: var(--fg-2); max-width: 24em; }
.form__status { font-size: 15px; color: var(--fg); }
.form__status:empty { display: none; }

/* ---------- footer ---------- */

.site-footer {
  color: var(--fg-2);
  padding-block: clamp(56px, 7vw, 104px) 36px;
  overflow: hidden;
}
.site-footer__mark {
  /* EVOLVENTA measures 3.95 em at weight 700, width 62%: fill the content width exactly */
  font-size: min(calc((100vw - 2 * var(--gutter)) / 3.99), 324px);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.78;
  letter-spacing: -0.01em;
  color: #e4ded2; /* decorative: a tone below the ivory ground */
  white-space: nowrap;
}
.site-footer__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.site-footer__row > p:first-child { grid-column: 1 / span 4; }
.site-footer__nav { grid-column: 5 / span 4; display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: -12px; }
.site-footer__nav a, .site-footer__mail { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer__nav a:hover, .site-footer__mail:hover { color: var(--fg); }
.site-footer__mail { grid-column: 9 / span 4; justify-self: end; margin-top: -12px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 6px 32px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.site-footer__legal address { font-style: normal; margin-left: auto; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .site-nav ul { gap: 26px; }
  .intro__title { grid-column: 1 / -1; }
  .intro__lede { grid-column: 1 / span 10; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .section-head .h2 { grid-column: 1 / -1; }
  .section-head__text { grid-column: 1 / span 7; margin-top: 24px; }
  .services__media { grid-column: 1 / span 5; }
  .services__list { grid-column: 6 / span 7; }
  .service { grid-template-columns: 56px minmax(0, 1fr); }
  .industries__list { grid-column: 1 / -1; }
  .industries__photo { grid-column: 1 / -1; aspect-ratio: 3 / 2; margin-top: 56px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .step { padding-top: 28px; border-top: 1px solid var(--line); }
  .step::before { top: -5px; }
  .about__copy { grid-column: 1 / -1; }
  .definition { grid-column: 1 / span 9; margin-top: 72px; }
  .contact__copy { grid-column: 1 / -1; }
  .form { grid-column: 1 / span 10; margin-top: 64px; }
  .site-footer__row > p:first-child { grid-column: 1 / span 6; }
  .site-footer__nav { grid-column: 7 / span 6; }
  .site-footer__mail { grid-column: 1 / span 6; justify-self: start; margin-top: 16px; }
  .site-footer__legal address { margin-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
    background: var(--ink);
    visibility: hidden; opacity: 0;
    transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { font-size: clamp(38px, 10.5vw, 52px); font-weight: 560; font-stretch: var(--narrow); letter-spacing: -0.02em; line-height: 1.1; color: var(--on-ink); min-height: 56px; }
  .site-nav ul a::after { bottom: 6px; }
  .site-nav__contact { display: list-item !important; }
  .site-nav__mail { display: inline-flex !important; font-size: 16px; color: var(--on-ink-2); }

  .hero { min-height: max(100svh, 620px); background: radial-gradient(90% 50% at 50% 80%, #1c1e21 0%, rgba(14, 15, 16, 0) 75%), var(--ink); }
  .hero__inner { align-self: start; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(250px, 58vw, 460px); }
  .hero__fallback { top: auto; bottom: 8%; right: -10%; width: 110%; transform: none; }

  .services__media { display: none; }
  .services__list { grid-column: 1 / -1; }
  .service { grid-template-columns: 48px minmax(0, 1fr); padding-block: 0 36px; border-top: 0; }
  .service::before { display: none; }
  .service + .service { margin-top: 20px; }
  .service__img {
    display: block; grid-column: 1 / -1;
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    margin-bottom: 26px;
  }
  .service__num { padding-top: 10px; color: var(--accent); }
  .services__list { border-bottom: 0; }

  .industries__list li { grid-template-columns: 48px minmax(0, 1fr); }
  .form { grid-column: 1 / -1; }
  .definition { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero__title { font-size: clamp(42px, 13vw, 64px); }
  .hero__lede { font-size: 17px; margin-top: 28px; }

  .hero__actions { margin-top: 36px; }
  .hero__foot { display: none; }
  .intro__lede { grid-column: 1 / -1; }
  .chain { --mark: 64px; grid-template-columns: minmax(0, 1fr); row-gap: 44px; text-align: left; }
  /* vertical: one segment per node, from its mark to the next mark */
  .chain::before { display: none; }
  .chain__node:not(:last-child)::before {
    content: ""; position: absolute; z-index: -1;
    left: calc(var(--mark) / 2); top: calc(var(--mark) / 2); bottom: calc(-44px - var(--mark) / 2);
    width: 1px; background: var(--fg); opacity: 0.5;
    transform-origin: top; transition: transform 0.9s var(--ease);
  }
  .chain__node:nth-child(2)::before { transition-delay: 0.6s; }
  .js .chain:not(.is-drawn) .chain__node::before { transform: scaleY(0); }
  .chain__node { isolation: isolate; }
  .chain__flow { display: none; }
  .chain__node { display: grid; grid-template-columns: var(--mark) minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .chain__mark, .chain__gear { grid-row: 1 / span 2; }
  .chain__title { margin-top: 14px; }
  .chain__node p { margin-top: 8px; }
  .section-head__text { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .principles > div { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .site-footer__row > p:first-child,
  .site-footer__nav,
  .site-footer__mail { grid-column: 1 / -1; justify-self: start; }
  .site-footer__legal { flex-direction: column; }
  .site-footer__nav { margin-top: 20px; }
}

@media (max-width: 420px) {
  .wordmark { letter-spacing: 0.3em; }
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn, .form__foot .btn { width: 100%; padding-inline: 20px; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  [data-rise] { opacity: 1; transform: none; }
  .services__frame img { transform: none; }
}
