/* ==========================================================================
   Marketivoq — main stylesheet
   Structure: fonts · tokens · base · layout · components · sections · pages
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.woff2) format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  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;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --teal: #18aaa8;
  --teal-dark: #087d7b;
  --teal-tint: #e3f4f3;
  --yellow: #ffd600;
  --muted: #626262;
  --muted-on-dark: #b4b4b4;
  --line: #dadada;
  --line-dark: #333333;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --stretch: 112%;

  --fs-display: clamp(2.65rem, 0.9rem + 6.9vw, 7.4rem);
  --fs-h1: clamp(2.5rem, 1.1rem + 5.2vw, 5.5rem);
  --fs-h2: clamp(2.1rem, 1.05rem + 3.7vw, 4.6rem);
  --fs-h3: clamp(1.45rem, 1.15rem + 0.95vw, 2.05rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  --fs-lead: clamp(1.13rem, 1.03rem + 0.45vw, 1.42rem);
  --fs-body: clamp(1.0625rem, 1.02rem + 0.15vw, 1.1875rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --gutter: clamp(1rem, 0.4rem + 3.6vw, 4.5rem);
  --max: 1440px;
  --section: clamp(4.5rem, 2.5rem + 8vw, 10.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 84px;
  --bar-h: 36px;
  --focus: var(--teal-dark);
}
@media (max-width: 640px) {
  :root { --stretch: 100%; --header-h: 68px; --bar-h: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 { letter-spacing: -0.025em; line-height: 1.08; }
h4 { letter-spacing: -0.015em; line-height: 1.2; font-weight: 700; }
::selection { background: var(--yellow); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark { --focus: var(--yellow); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.62); }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--teal { background: var(--teal); color: var(--ink); }
.section--yellow { background: var(--yellow); color: var(--ink); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0 0 1.4rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 0.62em; height: 0.62em;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.eyebrow--yellow::before { background: var(--yellow); }
.eyebrow--ink::before { background: var(--ink); }
.eyebrow--plain::before { display: none; }

.display { font-size: var(--fs-display); line-height: 0.94; letter-spacing: -0.045em; }
.h1 { font-size: var(--fs-h1); line-height: 0.96; letter-spacing: -0.04em; }
.h2 { font-size: var(--fs-h2); line-height: 0.98; }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38ch; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-on-dark); }
.measure { max-width: 62ch; }
.accent { color: var(--teal-dark); }
.on-dark .accent { color: var(--teal); }
.hl-yellow { color: var(--yellow); }
.num {
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-bd: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0.85em 1.55em;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--ink); --btn-bd: var(--teal); }
.btn--teal:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--outline { --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--light { --btn-bd: rgba(255, 255, 255, 0.7); --btn-fg: #fff; }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--ink-on-teal:hover { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.45s var(--ease);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

.link-u {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-u:hover { background-size: 100% 1px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo svg { height: 38px; width: auto; }
@media (max-width: 640px) { .logo svg { height: 32px; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.35); }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .masthead { height: calc(var(--header-h) - 14px); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0.25rem, 1.2vw, 1.1rem); list-style: none; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6rem 0.55rem;
  border: 0;
  background: none;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.55rem; right: 0.55rem; bottom: 0.3rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-open > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .chev { width: 0.75em; height: 0.75em; transition: transform 0.35s var(--ease); }
.nav__item.is-open .chev { transform: rotate(180deg); }
.nav__cta { margin-left: 0.6rem; }
.nav__cta .btn { min-height: 44px; padding: 0.6em 1.3em; --btn-bd: var(--teal); --btn-fg: var(--ink); }
.nav__cta .btn:hover { --btn-bg: var(--teal); }
.nav__cta .btn[aria-current="page"] { --btn-bg: var(--teal); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(560px, 80vw);
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-42%, -8px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-42%, 0);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; list-style: none; }
.dropdown a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.dropdown a:hover { background: var(--soft); }
.dropdown .num { color: var(--teal-dark); padding-top: 0.2rem; grid-row: span 2; }
.dropdown strong { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.015em; }
.dropdown small { color: var(--muted); font-size: 0.83rem; line-height: 1.4; }
.dropdown__all {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.93rem;
}
.dropdown__all:hover { background: var(--teal) !important; color: var(--ink); }
.dropdown__all svg { width: 1em; height: 1em; }

/* Brand bar */
.brandbar {
  background: var(--teal);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brandbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--bar-h);
}
.brandbar__note { margin: 0; display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.brandbar__note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); }
.brandbar__list { display: flex; list-style: none; }
.brandbar__list li + li::before { content: "/"; margin-inline: clamp(0.55rem, 1.4vw, 1.2rem); opacity: 0.45; font-weight: 400; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  height: 46px;
  padding: 0 0.9rem 0 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.menu-toggle__icon { position: relative; width: 20px; height: 12px; }
.menu-toggle__icon span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 5px; transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + var(--bar-h) + 1.75rem) var(--gutter) 2rem;
  background: var(--ink);
  color: #fff;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-in-out), visibility 0s linear 0.65s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.65s var(--ease-in-out), visibility 0s; }
.mobile-menu__list { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.06s); }
.mobile-menu__list a, .mobile-menu__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.mobile-menu__list summary::-webkit-details-marker { display: none; }
.mobile-menu__list summary svg { width: 1.4rem; height: 1.4rem; transition: transform 0.35s var(--ease); }
.mobile-menu__list details[open] summary svg { transform: rotate(45deg); }
.mobile-menu__sub { list-style: none; padding: 0 0 1rem; }
.mobile-menu__sub a { font-family: var(--font-body); font-stretch: 100%; font-weight: 500; font-size: 1.1rem; letter-spacing: 0; padding: 0.6rem 0; color: var(--muted-on-dark); }
.mobile-menu__sub a:hover { color: #fff; }
.mobile-menu__list a[aria-current="page"] { color: var(--teal); }
.mobile-menu__foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1.2rem; font-size: 0.95rem; color: var(--muted-on-dark); }
.mobile-menu__foot a { color: #fff; }
.mobile-menu .btn { justify-self: start; }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { z-index: 120; }
  .brandbar__note { display: none; }
  .brandbar .container { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .brandbar { font-size: 0.7rem; letter-spacing: 0.06em; }
  .brandbar__list li + li::before { margin-inline: 0.4rem; }
}
@media (max-width: 400px) {
  .brandbar { font-size: 0.64rem; letter-spacing: 0.05em; }
  .brandbar__list { width: 100%; justify-content: space-between; }
  .brandbar__list li + li::before { display: none; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, calc(100svh - var(--header-h) - var(--bar-h)), 780px);
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.04);
  will-change: transform;
  animation: hero-zoom 2.2s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.14); filter: saturate(0.6); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.15) 75%, rgba(10, 10, 10, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0) 55%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5.5rem); }
.hero h1 { max-width: none; margin-bottom: clamp(1.4rem, 2.5vw, 2.2rem); }
.hero h1 .accent { color: var(--teal); }
.hero__copy { max-width: 36rem; margin-bottom: 2.25rem; color: rgba(255, 255, 255, 0.86); font-size: var(--fs-lead); line-height: 1.55; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.92); }

/* line-mask reveal */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines .line > span { display: inline-block; transform: translateY(108%); animation: line-up 1.1s var(--ease) forwards; animation-delay: calc(0.25s + var(--i, 0) * 0.12s); }
@keyframes line-up { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(20px); animation: fade-up 1s var(--ease) forwards; animation-delay: var(--d, 0.6s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero__badge {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 6vw, 5.5rem);
  width: clamp(120px, 11vw, 158px);
  aspect-ratio: 1;
}
.hero__badge svg { width: 100%; height: 100%; }
.hero__badge .ring { transform-origin: 50% 50%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transform: translateX(-50%);
}
.scroll-cue__line { position: relative; width: 1.5px; height: 38px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--teal); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 860px) {
  .hero__badge { display: none; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.35) 100%); }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { position: relative; overflow: hidden; }
.statement__aside { grid-column: 1 / span 3; position: relative; }
.statement__body { grid-column: 4 / -1; }
.statement h2 { font-size: clamp(2.6rem, 1rem + 6.1vw, 7rem); line-height: 0.94; letter-spacing: -0.045em; }
.statement__copy { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: inherit; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.statement__copy p { grid-column: 4 / -1; font-size: var(--fs-lead); line-height: 1.6; color: #2a2a2a; max-width: 40ch; }
.strike { position: relative; display: inline-block; color: var(--muted); }
.strike::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em; top: 54%;
  height: 0.09em;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.5s;
}
.is-in .strike::after, .no-motion .strike::after { transform: scaleX(1); }
.orb {
  position: relative;
  width: clamp(88px, 10vw, 150px);
  aspect-ratio: 1;
  margin-top: 0.75rem;
  border-radius: 50%;
  background: var(--teal);
  animation: float 9s var(--ease-in-out) infinite alternate;
}
.orb::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -6%; bottom: 4%; }
@keyframes float { to { transform: translate(14px, -18px); } }
.statement__label { display: block; margin-top: 1.8rem; color: var(--muted); font-size: var(--fs-small); max-width: 16ch; line-height: 1.45; }

@media (max-width: 900px) {
  .statement__aside { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
  .statement__aside .eyebrow { margin: 0; }
  .orb { width: 64px; margin: 0; order: 2; margin-left: auto; }
  .statement__label { display: none; }
  .statement__body { grid-column: 1 / -1; }
  .statement__copy { display: block; }
}

/* ==========================================================================
   Section heading row
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
}
.section-head p { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 34ch; }
.on-dark .section-head p { color: var(--muted-on-dark); }
.section-head__side { display: grid; gap: 1.5rem; justify-items: start; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   Service blocks (editorial)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 6rem) clamp(1rem, 2.5vw, 2.5rem);
}
.svc { position: relative; display: block; text-decoration: none; color: inherit; }
.svc:nth-child(1) { grid-column: 1 / span 7; }
.svc:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 11rem); }
.svc:nth-child(3) { grid-column: 1 / span 5; margin-top: clamp(-6rem, -6vw, -2rem); }
.svc:nth-child(4) { grid-column: 7 / span 6; }
.svc__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 4 / 3; }
.svc:nth-child(2) .svc__media, .svc:nth-child(3) .svc__media { aspect-ratio: 4 / 5; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.03); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: var(--teal); mix-blend-mode: multiply; opacity: 0; transition: opacity 0.6s var(--ease); }
.svc:hover .svc__media::after { opacity: 0.22; }
.svc__tag {
  position: absolute; left: 1rem; top: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.svc__body { display: grid; grid-template-columns: auto 1fr auto; gap: 0.3rem 1.25rem; align-items: start; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--ink); }
.svc__body .num { padding-top: 0.55rem; color: var(--teal-dark); }
.svc h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); transition: color 0.4s var(--ease); }
.svc:hover h3 { color: var(--teal-dark); }
.svc p { grid-column: 2 / 3; margin-top: 0.75rem; color: var(--muted); max-width: 42ch; }
.arrow-dot {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.arrow-dot svg { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.svc:hover .arrow-dot, a:hover > .arrow-dot { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.svc:hover .arrow-dot svg, a:hover > .arrow-dot svg { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .svc:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .svc:nth-child(2) .svc__media, .svc:nth-child(3) .svc__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .svc__body { grid-template-columns: 1fr auto; }
  .svc__body .num { grid-column: 1 / -1; padding: 0; }
  .svc p { grid-column: 1 / -1; }
  .arrow-dot { width: 46px; height: 46px; }
}

/* ==========================================================================
   Approach (dark)
   ========================================================================== */
.approach h2 { font-size: var(--fs-h2); }
.approach h2 span { display: block; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); margin-top: clamp(3rem, 7vw, 6.5rem); list-style: none; counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 0.15s + 0.2s); }
.step.is-in::before, .no-motion .step::before { transform: scaleX(1); }
.step:nth-child(even)::before { background: var(--yellow); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(4.5rem, 2rem + 6.5vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  transition: color 0.6s var(--ease), -webkit-text-stroke-color 0.6s var(--ease);
}
.step:hover .step__num { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
.step:nth-child(even):hover .step__num { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.step h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.step p { color: var(--muted-on-dark); font-size: 1rem; max-width: 30ch; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step__num { font-size: 4.5rem; } }

/* ==========================================================================
   Capabilities
   ========================================================================== */
.capabilities { align-items: start; }
.capabilities__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + var(--bar-h) + 2rem); }
.capabilities__media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.capabilities__media img { width: 100%; height: 100%; object-fit: cover; }
.capabilities__media figcaption { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--muted); }
.capabilities__body { grid-column: 8 / -1; }
.cap-list { list-style: none; border-top: 1px solid var(--ink); margin-top: 2.5rem; }
.cap-list li { border-bottom: 1px solid var(--line); }
.cap-list a {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  padding: 1.15rem 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem);
  letter-spacing: -0.025em;
  transition: padding 0.5s var(--ease), color 0.4s var(--ease);
}
.cap-list a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease); }
.cap-list a:hover { padding-left: 0.6rem; color: var(--teal-dark); }
.cap-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.cap-list .num { color: var(--muted); }
.cap-list svg { width: 1.3rem; height: 1.3rem; opacity: 0; transform: translateX(-12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.cap-list a:hover svg, .cap-list a:focus-visible svg { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .capabilities__media { grid-column: 1 / -1; position: relative; top: 0; margin-bottom: 2.5rem; }
  .capabilities__media .frame { aspect-ratio: 16 / 11; }
  .capabilities__body { grid-column: 1 / -1; }
  .cap-list svg { opacity: 1; transform: none; }
}

/* ==========================================================================
   Philosophy (yellow)
   ========================================================================== */
.philosophy { position: relative; overflow: hidden; }
.philosophy__quote {
  position: absolute;
  right: -2vw;
  top: 50%;
  width: clamp(240px, 38vw, 620px);
  transform: translateY(-50%);
  color: var(--ink);
  opacity: 0.09;
  pointer-events: none;
}
.philosophy__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.philosophy__mark { grid-column: 1 / span 2; }
.philosophy__mark svg { width: clamp(56px, 6vw, 92px); color: var(--ink); }
.philosophy__text { grid-column: 3 / span 9; }
.philosophy h2 { font-size: clamp(2.5rem, 1rem + 5.6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.045em; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.philosophy p { font-size: var(--fs-lead); max-width: 44ch; line-height: 1.6; }
.philosophy__sig { display: flex; align-items: center; gap: 0.8rem; margin-top: 2.25rem; font-weight: 600; font-size: var(--fs-small); }
.philosophy__sig::before { content: ""; width: 42px; height: 2px; background: var(--ink); }
@media (max-width: 760px) {
  .philosophy__mark { grid-column: 1 / -1; margin-bottom: 1.5rem; }
  .philosophy__text { grid-column: 1 / -1; }
}

/* ==========================================================================
   Project types (portfolio-style)
   ========================================================================== */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; }
.project:nth-child(2) { margin-top: clamp(0rem, 8vw, 7rem); }
.project:nth-child(3) { margin-top: clamp(0rem, 3vw, 2.5rem); }
.project a { display: block; text-decoration: none; }
.project__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--soft); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project a:hover .project__media img { transform: scale(1.03); }
.project__label {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.project__label::before { content: ""; position: absolute; inset: -6rem -1rem -1rem; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent); }
.project__label { z-index: 1; }
.project__media .big-num {
  position: absolute; top: 0.6rem; left: 1rem;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.06em;
  color: #fff; mix-blend-mode: difference;
}
.project__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.4rem 0 0.9rem; list-style: none; }
.project__meta li { padding: 0.28rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; }
.project h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.2rem); margin-bottom: 0.75rem; transition: color 0.4s var(--ease); }
.project a:hover h3 { color: var(--teal-dark); }
.project p { color: var(--muted); max-width: 40ch; }
.disclaimer { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); max-width: 72ch; }
@media (max-width: 900px) {
  .projects { grid-template-columns: 1fr; gap: 3.5rem; }
  .project:nth-child(n) { margin-top: 0; }
  .project__media { aspect-ratio: 16 / 12; }
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.why { align-items: start; }
.why__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + var(--bar-h) + 2rem); }
.why__head h2 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.why__list { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); list-style: none; }
.benefit { padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.benefit__icon { width: 52px; height: 52px; margin-bottom: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--ink); transition: transform 0.6s var(--ease), background-color 0.4s; }
.benefit:nth-child(2) .benefit__icon, .benefit:nth-child(3) .benefit__icon { background: var(--ink); color: var(--yellow); }
.benefit:hover .benefit__icon { transform: rotate(-12deg) scale(1.06); }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); margin-bottom: 0.6rem; }
.benefit p { color: var(--muted); }
@media (max-width: 900px) {
  .why__head { grid-column: 1 / -1; position: relative; top: 0; margin-bottom: 3rem; }
  .why__list { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .why__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Split (about preview & generic)
   ========================================================================== */
.split { align-items: center; }
.split__media { grid-column: 1 / span 6; position: relative; }
.split__media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .tagline-chip {
  position: absolute; right: clamp(-1.5rem, -2vw, -0.5rem); bottom: 2rem;
  padding: 1rem 1.25rem; max-width: 15rem;
  background: var(--yellow); border-radius: 14px;
  font-family: var(--font-display); font-weight: 700; font-stretch: 105%; line-height: 1.15; letter-spacing: -0.02em; font-size: 1.05rem;
}
.split__body { grid-column: 8 / -1; }
.split__body h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem); margin-bottom: 1.75rem; }
.split__body p { color: #333; max-width: 46ch; }
.split__body .btn { margin-top: 1.5rem; }
.split--reverse .split__media { grid-column: 7 / -1; grid-row: 1; }
.split--reverse .split__body { grid-column: 1 / span 5; grid-row: 1; }
@media (max-width: 900px) {
  .split__media, .split--reverse .split__media { grid-column: 1 / -1; grid-row: auto; margin-bottom: 2.5rem; }
  .split__media .frame { aspect-ratio: 4 / 3; }
  .split__media .tagline-chip { right: 1rem; bottom: 1rem; }
  .split__body, .split--reverse .split__body { grid-column: 1 / -1; grid-row: auto; }
}

/* ==========================================================================
   Article cards
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); list-style: none; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__meta { display: flex; align-items: center; gap: 0.8rem; margin: 1.4rem 0 0.85rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card__meta .cat { color: var(--teal-dark); }
.card__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.card h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); margin-bottom: 0.75rem; transition: color 0.4s var(--ease); }
.card h3 a { text-decoration: none; }
.card:hover h3 { color: var(--teal-dark); }
.card p { color: var(--muted); font-size: 1rem; }
.card__more { margin-top: auto; padding-top: 1.25rem; font-weight: 600; font-size: var(--fs-small); display: inline-flex; gap: 0.5rem; align-items: center; }
.card__more svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease); }
.card:hover .card__more svg { transform: translateX(5px); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; gap: 3rem; } }

/* ==========================================================================
   CTA (teal)
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__bgword {
  position: absolute;
  left: 50%;
  bottom: -0.17em;
  z-index: -1;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 21vw;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 2.5rem clamp(2rem, 6vw, 6rem); padding-bottom: clamp(2rem, 6vw, 6rem); }
.cta h2 { font-size: clamp(3rem, 1rem + 7vw, 8rem); line-height: 0.92; letter-spacing: -0.05em; }
.cta p { font-size: var(--fs-lead); max-width: 30ch; margin-bottom: 2rem; }
.cta .btn { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.cta .btn:hover { --btn-bg: transparent; --btn-fg: var(--ink); }
.cta .eyebrow::before { background: var(--ink); }
@media (max-width: 820px) { .cta__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(4rem, 8vw, 7rem); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 3rem clamp(2rem, 6vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-dark); }
.footer-brand .logo svg { height: 40px; }
.footer-brand__tag { margin: 1.5rem 0 2rem; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 14ch; }
.footer-brand__tag span { color: var(--teal); }
.footer-mail { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--teal); padding-bottom: 3px; word-break: break-all; }
.footer-mail:hover { color: var(--teal); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer-col h2 { font-family: var(--font-body); font-stretch: 100%; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a, .footer-col button { font-size: 0.98rem; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--teal); }
.footer-col address { font-style: normal; font-size: 0.98rem; line-height: 1.6; color: #e4e4e4; }
.footer-col address a { display: inline-block; margin-top: 0.75rem; word-break: break-all; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; font-size: var(--fs-small); color: var(--muted-on-dark); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; }
.to-top svg { width: 1em; height: 1em; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .footer-cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { position: relative; padding-block: clamp(3rem, 7vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero .lead { color: #333; max-width: 36ch; }
.page-hero--ink { background: var(--ink); color: #fff; }
.page-hero--ink .lead { color: var(--muted-on-dark); }
.page-hero--soft { background: var(--soft); }
.page-hero__shape { position: absolute; right: -6vw; top: -10vw; width: 30vw; max-width: 420px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); opacity: 0.12; pointer-events: none; }
.page-hero--ink .page-hero__shape { opacity: 0.18; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

.breadcrumbs { margin-bottom: clamp(2rem, 4vw, 3.5rem); font-size: var(--fs-small); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; color: var(--muted); }
.page-hero--ink .breadcrumbs ol { color: var(--muted-on-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: inherit; font-weight: 500; }
.page-hero:not(.page-hero--ink) .breadcrumbs [aria-current] { color: var(--ink); }
.page-hero--ink .breadcrumbs [aria-current] { color: #fff; }

.banner-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 9; background: var(--soft); }
.banner-media img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--parallax, 0px), 0); }
@media (max-width: 700px) { .banner-media { aspect-ratio: 4 / 3; border-radius: var(--radius); } }

/* ==========================================================================
   Long-form layout with sticky table of contents
   ========================================================================== */
.longform { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 1.5rem); font-size: var(--fs-small); }
.toc__title { display: block; margin-bottom: 1rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { position: relative; display: block; padding: 0.45rem 0 0.45rem 1rem; text-decoration: none; color: var(--muted); transition: color 0.3s var(--ease); }
.toc a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--teal); transform: scaleY(0); transition: transform 0.4s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active::before { transform: scaleY(1); }
.toc .btn { margin-top: 2rem; min-height: 46px; font-size: 0.93rem; }
@media (max-width: 900px) {
  .longform { grid-template-columns: 1fr; }
  .toc { position: relative; top: 0; padding: 1.25rem; background: var(--soft); border-radius: var(--radius); }
  .toc ol { columns: 2; column-gap: 1.5rem; border: 0; }
  .toc a { padding-left: 0; break-inside: avoid; }
  .toc a::before { display: none; }
  .toc .btn { display: none; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } }

.chapter { padding-bottom: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.chapter__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: baseline; margin-bottom: 1.75rem; }
.chapter__head .num { color: var(--teal-dark); }
.chapter h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.chapter h3 { font-size: var(--fs-h4); margin: 2.25rem 0 0.75rem; letter-spacing: -0.01em; }
.chapter > p, .chapter .prose > p { max-width: 64ch; color: #2b2b2b; }
.chapter .lead { max-width: 46ch; color: var(--ink); margin-bottom: 1.5rem; }

.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin-top: 1.25rem; max-width: 760px; }
.ticks li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--teal-dark); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 1.65rem; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-dark); }
@media (max-width: 620px) { .ticks { grid-template-columns: 1fr; } }

.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.panel { padding: 1.6rem; border-radius: var(--radius); background: var(--soft); }
.panel .num { display: block; color: var(--teal-dark); margin-bottom: 2.5rem; }
.panel h3, .panel h4 { margin: 0 0 0.6rem; font-size: 1.2rem; font-family: var(--font-display); font-stretch: 105%; }
.panel p { font-size: 0.98rem; color: var(--muted); }
@media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .panel-grid { grid-template-columns: 1fr; } }

.note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--yellow);
  background: #fffbe0;
  border-radius: 0 12px 12px 0;
  font-size: 0.98rem;
  max-width: 64ch;
}

.pullquote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--teal);
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 30ch;
}

/* Service index rows (services page) */
.svc-index { list-style: none; border-top: 1px solid var(--ink); }
.svc-index li { border-bottom: 1px solid var(--line); }
.svc-index a {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  text-decoration: none;
  transition: padding 0.5s var(--ease);
}
.svc-index a:hover { padding-left: 1rem; }
.svc-index .num { color: var(--teal-dark); }
.svc-index strong { font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1; }
.svc-index span.desc { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) {
  .svc-index a { grid-template-columns: 2.5rem 1fr auto; }
  .svc-index span.desc { display: none; }
}

/* Service detail blocks (services page) */
.svc-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail__head { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 2rem); align-self: start; }
.svc-detail__head .num { color: var(--teal-dark); display: block; margin-bottom: 1.25rem; }
.svc-detail__head h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); margin-bottom: 1.5rem; }
.svc-detail__head .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 2rem; }
.svc-detail__head .frame img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__body h3 { font-size: var(--fs-h4); margin: 0 0 0.75rem; }
.svc-detail__body h3:not(:first-child) { margin-top: 2.25rem; }
.svc-detail__body p { color: #2b2b2b; max-width: 60ch; }
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail__head { position: relative; top: 0; }
}

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.related a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: 210px; padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.related a:hover { background: var(--teal); border-color: var(--teal); }
.related .row { display: flex; justify-content: space-between; align-items: center; }
.related strong { font-family: var(--font-display); font-stretch: 106%; font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.05; }
.related .num { color: var(--muted); }
.related a:hover .num { color: var(--ink); }
.related .arrow-dot { width: 44px; height: 44px; }
.related a:hover .arrow-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } .related a { min-height: 150px; } }

/* About-specific */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.principles li { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(0rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.75rem) 0; border-bottom: 1px solid var(--line-dark); }
.principles li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.principles li:nth-child(even) { padding-left: clamp(1.25rem, 3vw, 3rem); }
.principles h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.principles h3 span { color: var(--teal); }
.principles p { color: var(--muted-on-dark); max-width: 42ch; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principles li:nth-child(n) { border-right: 0; padding-left: 0; }
}

.big-text { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.6rem, 1.05rem + 2vw, 2.9rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 26ch; }
.big-text em { font-style: normal; color: var(--teal-dark); }

.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); }
.two-col__label { padding-top: 0.6rem; }
.two-col p { max-width: 60ch; color: #2b2b2b; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ==========================================================================
   Insights listing
   ========================================================================== */
.feature-article { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; position: relative; }
.feature-article .card__media { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }
.feature-article h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); margin-bottom: 1.25rem; transition: color 0.4s var(--ease); }
.feature-article:hover h2 { color: var(--teal-dark); }
.feature-article:hover .card__media img { transform: scale(1.03); }
.feature-article p { color: var(--muted); max-width: 44ch; }
.feature-article .badge { display: inline-block; margin-bottom: 1.25rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--yellow); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) { .feature-article { grid-template-columns: 1fr; } }

.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.topics li { padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 500; }

/* ==========================================================================
   Article
   ========================================================================== */
.article-hero { padding-block: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 3.5rem); }
.article-hero h1 { font-size: clamp(2.3rem, 1.1rem + 4.2vw, 5rem); max-width: 18ch; margin-bottom: 1.75rem; }
.article-hero .lead { max-width: 52ch; color: #333; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin-top: 2rem; font-size: var(--fs-small); color: var(--muted); }
.article-meta strong { color: var(--ink); font-weight: 600; }
.article-meta .cat { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--teal-tint); color: var(--teal-dark); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.2em; }
.prose p, .prose li { color: #262626; }
.prose h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin-top: 2.6em; margin-bottom: 0.2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--teal-dark); }
.prose a { color: var(--teal-dark); font-weight: 500; }
.prose strong { font-weight: 650; }
.prose .lead { max-width: none; }
.article-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 6rem); }
.article-aside { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 1.5rem); align-self: start; font-size: var(--fs-small); color: var(--muted); }
.article-aside .box { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.article-aside strong { display: block; color: var(--ink); margin-bottom: 0.4rem; }
.article-aside .btn { margin-top: 1rem; min-height: 44px; font-size: 0.9rem; }
@media (max-width: 900px) {
  .article-body { grid-template-columns: 1fr; }
  .article-aside { position: relative; top: 0; order: 2; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100svh - var(--header-h) - var(--bar-h)); }
.contact-split__intro { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(3rem, 6vw, 6rem) var(--gutter); background: var(--ink); color: #fff; }
.contact-split__intro h1 { font-size: clamp(3.2rem, 1.2rem + 6.5vw, 7.6rem); line-height: 0.92; letter-spacing: -0.05em; margin-bottom: 1.75rem; }
.contact-split__intro h1 span { color: var(--teal); }
.contact-split__intro .lead { color: #d8d8d8; max-width: 30ch; }
.contact-details { margin-top: auto; padding-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.75rem; }
.contact-details h2 { font-family: var(--font-body); font-stretch: 100%; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 0.6rem; }
.contact-details address { font-style: normal; line-height: 1.6; }
.contact-details a { font-weight: 600; font-size: 1.1rem; text-decoration: none; border-bottom: 1.5px solid var(--teal); word-break: break-all; }
.contact-details a:hover { color: var(--teal); }
.contact-split__intro .orb { position: absolute; right: -50px; top: -50px; width: 200px; opacity: 0.9; }
.contact-split__form { padding: clamp(3rem, 6vw, 6rem) var(--gutter); background: #fff; }
.contact-split__form .form { max-width: 720px; }
@media (max-width: 960px) { .contact-split { grid-template-columns: 1fr; min-height: 0; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--teal-dark); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: -0.2rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1.5px solid #bdbdbd;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(24, 170, 168, 0.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field__error { display: none; align-items: center; gap: 0.4rem; color: #b3261e; font-size: 0.88rem; font-weight: 500; }
.field.has-error .field__error { display: flex; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.check input { appearance: none; width: 24px; height: 24px; min-height: 0; margin: 0.1rem 0 0; padding: 0; border: 1.5px solid #8a8a8a; border-radius: 6px; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 12px; height: 7px; border: 2.5px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked { background: var(--teal); border-color: var(--teal); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check label { font-weight: 400; font-size: 0.95rem; line-height: 1.5; }
.check a { color: var(--teal-dark); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__actions small { color: var(--muted); font-size: 0.85rem; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.is-sending .spinner { display: block; }
.is-sending .btn-arrow { display: none; }
.form-status { grid-column: 1 / -1; display: none; padding: 1.1rem 1.25rem; border-radius: 12px; font-size: 0.98rem; }
.form-status.is-visible { display: block; }
.form-status--error { background: #fdecea; color: #7a1712; border: 1px solid #f3b8b3; }
.form-status--error a { color: inherit; font-weight: 600; }
.form-success { display: none; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--teal-tint); }
.form-success.is-visible { display: block; }
.form-success .tick { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); margin-bottom: 1.5rem; }
.form-success .tick svg { width: 30px; height: 30px; }
.form-success h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); margin-bottom: 1rem; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } .form__actions .btn { width: 100%; } }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal .prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + var(--bar-h) + 1.5rem); }
.legal .prose h2:first-child { margin-top: 0; }
.legal-updated { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.4rem 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-small); margin-top: 1.5rem; }
.table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--soft); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  padding: 1.25rem 0;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; }
.cookie-banner__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: var(--ink); }
.cookie-banner__icon svg { width: 22px; height: 22px; }
.cookie-banner h2 { font-size: 1.15rem; font-stretch: 105%; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.cookie-banner p { font-size: 0.93rem; color: #d0d0d0; max-width: 70ch; line-height: 1.5; }
.cookie-banner p a { color: #fff; }
.cookie-banner .btn-row { flex-wrap: nowrap; gap: 0.6rem; }
.cookie-banner .btn { min-height: 46px; padding: 0.6em 1.2em; font-size: 0.93rem; }
.btn--cookie-accept { --btn-bg: var(--teal); --btn-bd: var(--teal); --btn-fg: var(--ink); }
.btn--cookie-accept:hover { --btn-bg: #fff; --btn-bd: #fff; }
@media (max-width: 1100px) {
  .cookie-banner__inner { grid-template-columns: auto minmax(0, 1fr); }
  .cookie-banner .btn-row { grid-column: 1 / -1; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.4rem 1.25rem; border-radius: var(--radius); }
  .cookie-banner .container { padding: 0; }
  .cookie-banner__inner { grid-template-columns: 1fr; }
  .cookie-banner__icon { display: none; }
  .cookie-banner { border: 1px solid #3a3a3a; }
  .cookie-banner .btn-row { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner .btn-row .btn { white-space: normal; padding-inline: 0.75em; }
  .cookie-banner [data-consent-manage] { grid-column: 1 / -1; grid-row: 2; }
}

.cookie-modal {
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.cookie-modal::backdrop { background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(3px); }
.cookie-modal[open] { animation: modal-in 0.45s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.cookie-modal__head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding: 1.75rem 1.75rem 0.5rem; }
.cookie-modal__head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cookie-modal__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; }
.cookie-modal__close:hover { border-color: var(--ink); }
.cookie-modal__close svg { width: 18px; height: 18px; }
.cookie-modal__body { padding: 0 1.75rem; }
.cookie-modal__body > p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.25rem; }
.consent-row { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.5rem; align-items: center; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.consent-row h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.consent-row p { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.consent-row .always { font-size: var(--fs-xs); font-weight: 600; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.switch { position: relative; display: inline-block; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9c9c9; transition: background-color 0.3s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--ease); }
.switch input:checked + span { background: var(--teal-dark); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.cookie-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; padding: 1.25rem 1.75rem 1.75rem; border-top: 1px solid var(--line); margin-top: 0.5rem; }
.cookie-modal__foot .btn { min-height: 46px; font-size: 0.93rem; }
@media (max-width: 480px) { .cookie-modal__foot .btn { flex: 1 1 100%; } }

/* ==========================================================================
   Misc
   ========================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.25rem; background: #fff; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); letter-spacing: -0.035em; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--teal); }
.marquee__track span:nth-child(even)::after { background: var(--yellow); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.error-page { min-height: 70svh; display: grid; align-items: center; }
.error-page .code { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 3rem + 14vw, 16rem); line-height: 0.85; letter-spacing: -0.07em; color: var(--teal); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1.3s var(--ease-in-out); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="mask"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js [data-reveal="mask"].is-in img { transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="mask"] img { transform: none; }
  .lines .line > span, .fade-up { transform: none; opacity: 1; }
  .hero__media img { transform: none !important; height: 100%; }
  .marquee__track { animation: none; }
  .strike::after, .step::before { transform: scaleX(1); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cookie-banner, .cookie-modal, .site-footer, .cta, .mobile-menu, .scroll-cue { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Current section indicator on the dropdown trigger */
.nav__link[data-current]::after { transform: scaleX(1); transform-origin: left; }

/* Let grid children shrink below their content width (tables, long URLs) */
.longform > *, .article-body > *, .two-col > *, .svc-detail > *, .contact-split > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
