/* =====================================================================
   OXIMO - main.css
   Design language: Cera Pro · monochrome by conviction · warm paper
   Colour lives only in photography, never in the interface.
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cera Pro';
  src: url('../fonts/Cera-Pro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('../fonts/Cera-Pro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('../fonts/Cera-Pro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --onyx:       #0B0B0C;
  --graphite:   #2E2E30;
  --ink-2:      #3A3A3E;
  --ink-3:      #6E6E72;
  --faded:      #9B9A96;
  --paper:      #F7F5F1;
  --paper-2:    #EFEDE7;
  --mist:       #EEEDEA;
  --white:      #FFFFFF;

  --line:       rgba(11,11,12,0.09);
  --line-2:     rgba(11,11,12,0.16);
  --line-dark:  rgba(255,255,255,0.14);
  --line-dark-2:rgba(255,255,255,0.24);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --sh-flat:   0 1px 2px rgba(11,11,12,0.05);
  --sh-raised: 0 6px 26px rgba(11,11,12,0.09);
  --sh-float:  0 26px 70px rgba(11,11,12,0.16);

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.66, 0, 0.34, 1);
  /* --ease is easeOutExpo: it covers most of the distance instantly, which reads
     as a snap on a hover. Hovers get their own gentler curve. */
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1660px;
  --pad-x: clamp(20px, 5vw, 76px);
  --header-h: 7rem;

  --sect-y: clamp(80px, 11vw, 172px);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--onyx);
  font-family: 'Cera Pro', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: 'locl' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--onyx); color: #fff; }

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

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  background: var(--onyx); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); transform: translateY(-160%);
  transition: transform .3s var(--ease); font-size: .85rem; font-weight: 500;
}
.skip-link:focus { transform: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--sect-y); }
/* Inner pages breathe tighter than the homepage. NB the old value was
   clamp(80px, 11vw, 72px) - the max sat below the min, so clamp pinned it to a
   flat 80px at every width and the mobile spacing never actually tightened. */
.page-inner { --sect-y: clamp(56px, 7vw, 112px); }

/* ---------- Typography primitives ---------- */
.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faded);
  margin: 0;
}
.eyebrow--light { color: rgba(255,255,255,0.62); }

.section-title {
  font-size: clamp(2.2rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-title--light { color: #fff; }

.section-head { margin-bottom: clamp(44px, 6vw, 88px); }
.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: 26px;
}
.section-head__row--split { align-items: end; }
/* right-align the trailing element only when there IS one (title + arrows/button/link).
   A lone title (arrows moved to .carousel-bar) must stay left, in line with the eyebrow. */
.section-head__row--split > :last-child:not(:first-child) { justify-self: end; }
.section-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 52ch;
}
.section-lead--light { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--onyx);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1;
  padding: 1.05em 1.7em;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  transition: transform .32s var(--ease-hover), background-color .32s var(--ease-hover),
              color .32s var(--ease-hover), border-color .32s var(--ease-hover), box-shadow .32s var(--ease-hover);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.2em 2em; font-size: 1rem; }
.btn--sm { padding: .7em 1.15em; font-size: .82rem; }
.btn--block { width: 100%; }

.btn--solid { --btn-bg: var(--onyx); --btn-fg: #fff; }
.btn--solid:hover { --btn-bg: #26262a; box-shadow: var(--sh-raised); }

.btn--solid-invert { --btn-bg: #fff; --btn-fg: var(--onyx); }
.btn--solid-invert:hover { --btn-bg: var(--paper); box-shadow: 0 12px 40px rgba(0,0,0,.28); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.45); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.10); --btn-bd: #fff; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--onyx); --btn-bd: var(--line-2); }
.btn--outline:hover { --btn-bd: var(--onyx); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.3); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--onyx); }

.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--onyx); --btn-bd: var(--line-2); }
.btn--ghost-dark:hover { --btn-bg: var(--onyx); --btn-fg:#fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .95rem; font-weight: 500; color: var(--onyx);
  padding-bottom: 4px; white-space: nowrap;
}
.link-arrow span { transition: transform .32s var(--ease-hover); display: inline-block; }
.link-arrow:hover span { transform: translateX(5px); }

.btn__arrow { width: 32px; height: 12px; flex: none; margin-left: .1em; transition: transform .32s var(--ease-hover); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: blur(0.3125rem);
  backdrop-filter: blur(0.3125rem);
  border-bottom: 0.0625rem solid hsla(0, 0%, 100%, 0.1);
  transition: background-color .5s var(--ease), color .5s var(--ease),
              box-shadow .5s var(--ease), backdrop-filter .5s var(--ease),
              border-color .5s var(--ease);
}
.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  height: 68px; width: auto; object-fit: contain;
  filter: invert(1) brightness(2);
  transition: filter .5s var(--ease);
}

/* solid (scrolled past hero) state - white glass, palette only */
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.35) blur(18px);
  backdrop-filter: saturate(1.35) blur(18px);
  border-bottom: 1px solid var(--line);
  color: var(--onyx);
}
.site-header.is-solid .brand__logo { filter: none; }

/* over the open mobile menu the header must read dark on light */
.site-header.menu-open { color: var(--onyx); }
.site-header.menu-open .brand__logo { filter: none; }

/* nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: 1.05rem; font-weight: 500; color: currentColor;
  padding: .6em .95em; border: none; background: none; cursor: pointer;
  border-radius: var(--r-sm);
  opacity: .82; transition: opacity .3s var(--ease);
}
.nav__link:hover, .nav__link.is-current { opacity: 1; }
.nav__link.is-current { position: relative; }
.nav__chev { width: 11px; height: 7px; opacity: .7; transition: transform .35s var(--ease); }
.nav__item--menu:hover .nav__chev,
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

/* dropdown */
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 246px;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-float);
  padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
.nav__item--menu:hover .nav__menu,
.nav__item--menu:focus-within .nav__menu,
.nav__menu.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__menu a {
  color: var(--ink-2);
  font-size: .9rem; font-weight: 500;
  padding: .7em .85em; border-radius: var(--r-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav__menu a:hover { background: var(--mist); color: var(--onyx); }

.site-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-cta { font-size: 1.05rem; padding: 0.82em 1.65em; }
.header-account {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-pill);
  color: currentColor; opacity: .82;
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.header-account svg { width: 23px; height: 23px; }
.header-account:hover { opacity: 1; background: rgba(128,128,128,0.14); }

/* hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  position: relative;
  color: currentColor;
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 1.6px;
  background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 18px; }
.hamburger span:nth-child(2) { bottom: 18px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   MOBILE MENU
   ===================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 290;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--pad-x) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__inner { display: flex; flex-direction: column; max-width: 520px; }
.mobile-menu__link {
  font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em;
  padding: .5em 0; border-bottom: 1px solid var(--line); color: var(--onyx);
}
.mobile-menu__group { padding: 1em 0 .4em; border-bottom: 1px solid var(--line); }
.mobile-menu__label {
  display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faded); margin-bottom: .5em;
}
.mobile-menu__sub {
  display: block; font-size: 1.12rem; font-weight: 500; color: var(--ink-2);
  padding: .38em 0;
}
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* =====================================================================
   OFF-CANVAS MEGA MENU
   ===================================================================== */
.offcanvas { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas__overlay {
  position: absolute; inset: 0;
  background: rgba(11,11,12,0.30);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .55s var(--ease);
}
.offcanvas.is-open .offcanvas__overlay { opacity: 1; }
.offcanvas__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(580px, 94vw);
  background: var(--paper);
  box-shadow: -30px 0 90px rgba(0,0,0,0.28);
  transform: translateX(100%);
  transition: transform .6s var(--ease);
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 40px);
  overflow-y: auto;
}
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(22px, 2.6vw, 38px); }
.offcanvas__eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faded); }
.offcanvas__close {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--onyx);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease);
}
.offcanvas__close:hover { background: var(--onyx); color: #fff; transform: rotate(90deg); }
.offcanvas__close svg { width: 20px; height: 20px; }
.offcanvas__group { display: none; flex-direction: column; gap: 8px; }
.offcanvas__group.is-active { display: flex; }
.megaitem {
  display: flex; align-items: center; gap: clamp(16px, 1.6vw, 22px);
  padding: 14px; border-radius: var(--r-md);
  border: 1px solid transparent;
  opacity: 0; transform: translateX(26px);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.offcanvas.is-open .offcanvas__group.is-active .megaitem {
  opacity: 1; transform: none;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              opacity .55s var(--ease), transform .55s var(--ease);
}
.offcanvas.is-open .offcanvas__group.is-active .megaitem:nth-child(1) { transition-delay: .12s; }
.offcanvas.is-open .offcanvas__group.is-active .megaitem:nth-child(2) { transition-delay: .18s; }
.offcanvas.is-open .offcanvas__group.is-active .megaitem:nth-child(3) { transition-delay: .24s; }
.offcanvas.is-open .offcanvas__group.is-active .megaitem:nth-child(4) { transition-delay: .30s; }
.offcanvas.is-open .offcanvas__group.is-active .megaitem:nth-child(5) { transition-delay: .36s; }
.megaitem:hover { background: var(--white); border-color: var(--line); }
.megaitem__media { flex: none; width: 100px; height: 76px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); }
.megaitem__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform .8s var(--ease), filter .5s var(--ease); }
.megaitem:hover .megaitem__media img { transform: scale(1.06); filter: grayscale(0); }
.megaitem__text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.megaitem__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.megaitem__desc { font-size: .87rem; color: var(--ink-3); line-height: 1.4; }
.megaitem__arrow { flex: none; width: 22px; height: 22px; color: var(--faded); opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.megaitem:hover .megaitem__arrow { opacity: 1; transform: none; }
.offcanvas__cta { margin-top: auto; }
/* off-canvas inquiry form */
.offcanvas__group--form { gap: 0; }
.offcanvas__form-lead { font-size: .96rem; line-height: 1.6; color: var(--ink-3); margin-bottom: 24px; }
.ocform { display: flex; flex-direction: column; gap: 16px; }
.ocform .btn { margin-top: 6px; }
.offcanvas.is-form .offcanvas__cta { display: none; }
.form-success {
  padding: 22px 24px; border-radius: var(--r-md);
  background: var(--mist); color: var(--onyx); font-size: 1rem; line-height: 1.55;
}
.form-success strong { display: block; margin-bottom: 4px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,11,12,0.62) 0%, rgba(11,11,12,0) 24%),
    linear-gradient(to top, rgba(11,11,12,0.80) 0%, rgba(11,11,12,0.18) 44%, rgba(11,11,12,0) 68%),
    linear-gradient(to right, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 62%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x) clamp(64px, 10vh, 128px);
}
.hero__content { max-width: min(1140px, 100%); }
.hero__eyebrow {
  font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(2.35rem, 7.4vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.038em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 54ch;
  margin-bottom: 40px;
  text-shadow: 0 1px 24px rgba(0,0,0,0.28);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; z-index: 2; right: var(--pad-x); bottom: clamp(40px, 6vh, 68px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.75);
}
.hero__scroll-text {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 54px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.hero__scroll-line span {
  position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: #fff;
  animation: scrollcue 2.4s var(--ease-io) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(300%); }
}
.hero__sentinel { position: absolute; bottom: 0; height: 1px; width: 1px; }

/* Hero load animation */
.js .hero .anim {
  opacity: 0;
  transform: translateY(26px);
}
.js .hero__title .anim { transform: translateY(105%); }
.hero.is-ready .anim {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.15s var(--ease);
}
.hero.is-ready .anim[data-anim="1"] { transition-delay: .10s; }
.hero.is-ready .anim[data-anim="2"] { transition-delay: .22s; }
.hero.is-ready .anim[data-anim="3"] { transition-delay: .32s; }
.hero.is-ready .anim[data-anim="4"] { transition-delay: .42s; }
.hero.is-ready .anim[data-anim="5"] { transition-delay: .58s; }
.hero.is-ready .anim[data-anim="6"] { transition-delay: .70s; }
.hero.is-ready .anim[data-anim="7"] { transition-delay: .95s; }

/* =====================================================================
   REVEAL (scroll)
   ===================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Cards that both reveal on scroll and lift on hover.
   The reveal rule above sets `transition` on these very elements and outranks
   each card's own `transition`, so their box-shadow and border-color used to
   snap instantly on hover. Both animations are declared together here, and the
   hover lift rides on `translate` so it can never collide with the reveal's
   `transform`. Keep the two curves distinct: expo to reveal, gentle to hover. */
.js .feature, .js .project, .js .post, .js .gcard,
.js .infocard, .js .vtest__poster, .js .oxbenefit {
  transition:
    opacity     .95s var(--ease),
    transform   .95s var(--ease),
    translate   .4s  var(--ease-hover),
    box-shadow  .4s  var(--ease-hover),
    border-color .4s var(--ease-hover),
    background-color .4s var(--ease-hover);
}

/* =====================================================================
   OPPORTUNITY
   ===================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
}
.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 2.4vw, 42px);
  min-height: clamp(300px, 26vw, 400px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.feature:hover { translate: 0 -6px; box-shadow: var(--sh-raised); border-color: var(--line-2); }
.feature__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feature__tag {
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: .5em .95em;
}
.feature__index { font-size: .8rem; font-weight: 500; color: var(--faded); letter-spacing: .05em; }
.feature__icon { margin-top: clamp(26px, 2.4vw, 38px); }
.feature__text { margin-top: auto; padding-top: clamp(26px, 2.4vw, 36px); }
.feature__title {
  font-size: clamp(1.24rem, 1.7vw, 1.6rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 12px;
}
.feature__body { font-size: .96rem; line-height: 1.55; color: var(--ink-3); }
.opportunity__cta { margin-top: clamp(44px, 5vw, 72px); }

/* ---- animated looping feature icons ---- */
.fic {
  width: 66px; height: 66px; display: block; overflow: visible;
  stroke: var(--onyx); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.fic .fic-track { stroke: rgba(11,11,12,0.20); }
.feature:hover .fic { stroke: var(--onyx); }

/* 1 · value - glint travelling around the coin */
.fic-glint { stroke-dasharray: 12 95; stroke-dashoffset: 0; animation: fic-glint 3.4s linear infinite; }
@keyframes fic-glint { to { stroke-dashoffset: -107; } }

/* 2 · finance - installment bars breathing in a wave */
.fic-bar { transform-box: fill-box; transform-origin: center bottom; animation: fic-bar 2.7s ease-in-out infinite; }
.fic--finance rect:nth-of-type(1) { animation-delay: 0s; }
.fic--finance rect:nth-of-type(2) { animation-delay: .2s; }
.fic--finance rect:nth-of-type(3) { animation-delay: .4s; }
@keyframes fic-bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

/* 3 · growth - static trend + arrow, with a dot climbing the line on loop */
.fic-climb {
  fill: var(--onyx); stroke: none;
  /* fill-box, so `offset-anchor: center` means the centre of the dot itself.
     Without it the anchor resolves against the whole 56x56 viewBox and the dot
     rides ~28px up and left of the line. */
  transform-box: fill-box;
  offset-path: path('M18 37 27 29 34 33 43 18');
  offset-rotate: 0deg; offset-anchor: center;
  animation: fic-climb 2.7s cubic-bezier(.5,0,.3,1) infinite;
}
@keyframes fic-climb {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* 4 · realization - cycle arrows rotating continuously */
.fic-rot { transform-box: fill-box; transform-origin: center; animation: fic-rot 8s linear infinite; }
@keyframes fic-rot { to { transform: rotate(360deg); } }

/* =====================================================================
   PROOF / DALIA - the value-gap signature
   ===================================================================== */
.proof { background: var(--paper-2); }
.gap {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 68px) clamp(28px, 5vw, 80px) clamp(36px, 4.5vw, 60px);
  box-shadow: var(--sh-flat);
}
.gap__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  opacity: 0.22;
  filter: grayscale(0.35) contrast(1.03);
  -webkit-mask-image: linear-gradient(45deg, #000 0%, rgba(0,0,0,0.5) 34%, transparent 68%);
  mask-image: linear-gradient(45deg, #000 0%, rgba(0,0,0,0.5) 34%, transparent 68%);
  pointer-events: none; user-select: none;
}
.gap > :not(.gap__bg) { position: relative; z-index: 1; }
.gap__ends {
  display: flex; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.gap__end { min-width: 0; }
.gap__end--right { text-align: right; margin-left: auto; }
.gap__cap {
  display: block;
  max-width: 22ch;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-3); line-height: 1.35; margin-bottom: 14px;
}
.gap__end--right .gap__cap { margin-left: auto; }
.gap__num {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 0.9;
  color: var(--onyx);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gap__num em { font-style: normal; font-size: .34em; font-weight: 500; color: var(--faded); letter-spacing: 0; }

.gap__track {
  position: relative;
  height: 2px;
  background: var(--line-2);
  margin: 0 6px clamp(46px, 5vw, 64px);
}
.gap__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 0;
  background: var(--onyx);
  transition: width 1.5s var(--ease);
}
.is-in .gap__fill, .gap.is-in .gap__fill { width: 100%; }
.gap__node {
  position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%;
  background: var(--onyx); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px var(--white);
}
.gap__node--a { left: 0; }
.gap__node--b { left: 100%; background: var(--onyx); }
.gap__delta {
  position: absolute; left: 50%; top: calc(100% + 18px);
  transform: translateX(-50%);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--onyx);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gap__delta::before {
  content: ""; position: absolute; left: 50%; top: -18px; height: 12px; width: 1px;
  background: var(--line-2); transform: translateX(-50%);
}
.gap__footnote {
  text-align: center;
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  color: var(--ink-3); line-height: 1.6;
  max-width: 46ch; margin-inline: auto;
}
.gap__foot-strong { display: block; font-weight: 700; color: var(--onyx); letter-spacing: .02em;
  text-transform: uppercase; font-size: .74rem; letter-spacing: .16em; margin-bottom: 6px; }
.gap__footnote strong { color: var(--onyx); font-weight: 700; }

/* =====================================================================
   PROJECTS
   ===================================================================== */
.projects-head-right { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); flex-wrap: wrap; justify-content: flex-end; }
.carousel-ctrls { display: flex; gap: 10px; }
/* The arrows sit in their own bar directly above the track. Kept out of the
   section head, where the head's bottom margin stranded them far above the
   slider they drive. */
.carousel-bar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--onyx);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.carousel-btn:hover { background: var(--onyx); color: #fff; border-color: var(--onyx); }
.carousel-btn:disabled { opacity: .28; cursor: default; pointer-events: none; }
.hsteps .carousel-btn, .htimeline--dark .carousel-btn, .carousel-ctrls--light .carousel-btn { border-color: rgba(255,255,255,0.3); color: #fff; }
.hsteps .carousel-btn:hover, .htimeline--dark .carousel-btn:hover, .carousel-ctrls--light .carousel-btn:hover { background: #fff; color: var(--onyx); border-color: #fff; }
.carousel-ctrls--light .carousel-btn:disabled { opacity: .3; }
.carousel-btn svg { width: 20px; height: 20px; }

.projects-track {
  --gap: clamp(16px, 2vw, 28px);
  --cards: 3.3;
  display: flex; gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x))) 40px;
  scroll-padding-left: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));
  scrollbar-width: none; -ms-overflow-style: none;
}
.projects-track::-webkit-scrollbar { display: none; }
.project {
  position: relative;
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--gap)) / var(--cards));
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
/* full-card link overlay - makes the whole project card clickable */
.project__cover { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
/* visible "view project" affordance in the card body */
.project__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; color: var(--onyx); }
.project__link svg { width: 20px; height: 12px; transition: transform .3s var(--ease-hover); }
.project:hover .project__link svg { transform: translateX(4px); }
.project__link--top { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.project:hover { translate: 0 -6px; box-shadow: var(--sh-raised); }
.project__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__status {
  position: absolute; top: 16px; left: 16px;
  font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(11,11,12,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-pill); padding: .5em .95em;
}
.project__status--done { background: rgba(255,255,255,0.92); color: var(--onyx); border-color: transparent; }
.project__body { padding: clamp(24px, 2vw, 34px); display: flex; flex-direction: column; flex: 1; }
.project__name { font-size: clamp(1.3rem, 1.7vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 6px; }
.project__meta { font-size: .9rem; color: var(--faded); line-height: 1.5; margin-bottom: 24px; }
.project__timer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.project__timer-label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faded); margin-bottom: 14px; }
.ptimer { display: flex; gap: clamp(12px, 1.6vw, 24px); }
.ptimer__unit { display: flex; flex-direction: column; align-items: flex-start; }
.ptimer__num {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--onyx);
}
.ptimer__lbl { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faded); margin-top: 8px; }
.ptimer__done { display: none; align-items: center; gap: .55em; font-size: 1.02rem; font-weight: 500; color: var(--onyx); }
.ptimer__done::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--onyx); color: #fff; font-size: .72rem;
}
.project__timer.is-done .project__timer-label,
.project__timer.is-done .ptimer { display: none; }
.project__timer.is-done .ptimer__done { display: inline-flex; }

/* =====================================================================
   MILESTONE / OX RESIDENCE
   ===================================================================== */
.milestone {
  position: relative;
  min-height: clamp(520px, 82vh, 820px);
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
}
.milestone__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.milestone__img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.milestone__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(11,11,12,0.82) 0%, rgba(11,11,12,0.4) 42%, rgba(11,11,12,0.05) 72%),
    linear-gradient(to top, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 50%);
}
.milestone__inner { position: relative; z-index: 2; width: 100%; }
.milestone__content { max-width: 60ch; }
.milestone__title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700; line-height: 0.96; letter-spacing: -0.035em;
  margin: 22px 0 22px;
}
.milestone__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55;
  color: rgba(255,255,255,0.85); max-width: 44ch; margin-bottom: 36px;
}

/* =====================================================================
   PROCESS (dark)
   ===================================================================== */
.process { background: var(--onyx); color: #fff; }
.steps-wrap { position: relative; padding-top: 54px; }
.steps__track, .steps__progress {
  position: absolute; top: 26px; height: 2px; left: 0; width: 0;
  border-radius: 2px; pointer-events: none;
}
.steps__track { background: rgba(255,255,255,0.15); }
.steps__progress { background: #fff; box-shadow: 0 0 14px rgba(255,255,255,0.55); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.step { position: relative; }
.step__dot {
  position: absolute; top: -33px; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--onyx); border: 2px solid rgba(255,255,255,0.32);
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
              box-shadow .55s var(--ease), transform .55s var(--ease);
}
.step.lit .step__dot {
  background: #fff; border-color: #fff; transform: scale(1.18);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.08), 0 0 18px rgba(255,255,255,0.5);
}
.step__num {
  display: block;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: rgba(255,255,255,0.22);
  margin-bottom: 22px;
  transition: color .55s var(--ease);
}
.step.lit .step__num { color: #fff; }
.step__title {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 500; letter-spacing: -0.015em; color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color .55s var(--ease);
}
.step.lit .step__title { color: #fff; }
.step__body { font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.process__cta { margin-top: clamp(48px, 5vw, 76px); }

/* guide band (inside process, dark) */
.guide {
  margin-top: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(40px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.guide__eyebrow {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 14px;
}
.guide__title {
  font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05; color: #fff; max-width: 20ch;
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.vtests {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 34px);
}
.vtest { display: flex; flex-direction: column; }
.vtest__poster {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 30% 15%, #34343a 0%, #1a1a1d 46%, #0B0B0C 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.vtest__poster:hover, .vtest__poster:focus-visible { translate: 0 -6px; box-shadow: var(--sh-float); }
.vtest__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(.9);
  transition: transform 1.1s var(--ease), filter .7s var(--ease);
}
.vtest__poster:hover .vtest__img, .vtest__poster:focus-visible .vtest__img {
  transform: scale(1.05); filter: grayscale(.2) contrast(1.02) brightness(.96);
}
.vtest__badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-pill);
  padding: .5em .9em .5em .8em;
}
.vtest__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: vtest-rec 1.8s ease-in-out infinite;
}
@keyframes vtest-rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.vtest__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.vtest__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vtest__play::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  animation: vtest-pulse 2.8s ease-out infinite;
}
@keyframes vtest-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
.vtest__poster:hover .vtest__play, .vtest__poster:focus-visible .vtest__play {
  background: #fff; color: var(--onyx); transform: translate(-50%, -50%) scale(1.08);
}
.vtest__id {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 2vw, 30px);
  background: linear-gradient(to top, rgba(11,11,12,0.9) 0%, rgba(11,11,12,0.35) 55%, rgba(11,11,12,0) 100%);
  display: flex; flex-direction: column; gap: 3px;
}
.vtest__name { color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; }
.vtest__role { color: rgba(255,255,255,0.62); font-size: .82rem; }
.vtest__quote {
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.55; font-weight: 500;
  color: var(--ink-2);
}

/* =====================================================================
   OXCLUB
   ===================================================================== */
.oxclub2 { background: var(--onyx); color: #fff; }
.oxclub2__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 44px); align-items: stretch;
}
.oxclub2__figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-lg); min-height: clamp(360px, 44vw, 560px);
}
.oxclub2__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oxclub2__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.1) 46%, rgba(11,11,12,0) 70%);
}
.oxclub2__figcap {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: clamp(24px, 2.4vw, 44px); display: flex; flex-direction: column; gap: 5px;
}
.oxclub2__figlabel { font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.oxclub2__figsub { color: rgba(255,255,255,0.72); font-size: .92rem; }

.oxclub2__benefits { display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 20px); }
.oxbenefit {
  flex: 1; display: flex; gap: clamp(16px, 1.6vw, 26px);
  padding: clamp(22px, 2vw, 36px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-lg);
  background: rgba(255,255,255,0.06);
}
.oxbenefit:hover { background: rgba(255,255,255,0.10); border-color: var(--line-dark-2); translate: 0 -3px; }
.oxbenefit__no {
  flex: none; font-size: 1rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,0.42); padding-top: .28em; min-width: 1.4em;
}
.oxbenefit--soon { border-style: dashed; }
.oxbenefit--soon .oxbenefit__no { font-size: 1.5rem; line-height: 1; padding-top: 0; }
.oxbenefit__title {
  font-size: clamp(1.14rem, 1.5vw, 1.42rem); font-weight: 500; letter-spacing: -0.015em;
  color: #fff; margin-bottom: 10px;
}
.oxbenefit--soon .oxbenefit__title { color: rgba(255,255,255,0.72); }
.oxbenefit__body { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

.oxclub2__foot {
  margin-top: clamp(40px, 4vw, 68px); padding-top: clamp(36px, 3vw, 54px);
  border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.oxclub2__tagline {
  font-size: clamp(1.4rem, 2.6vw, 2.35rem); font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.25; color: rgba(255,255,255,0.42); max-width: 30ch;
}
/* On OxClub the CTA beside this line duplicated the one in the section below, so
   it was dropped. With nothing next to it, the tagline takes the full width. */
.oxclub2__tagline:only-child { max-width: none; }
.rotator { position: relative; display: block; color: #fff; min-height: 2.5em; margin-top: .15em; }
.rotator__item {
  position: absolute; left: 0; top: 0;
  opacity: 0; transform: translateY(0.45em);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rotator__item.is-active { opacity: 1; transform: none; }

/* =====================================================================
   NEWS
   ===================================================================== */
/* blog: category chips + total count */
.blogbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px 24px; margin-bottom: clamp(28px, 3vw, 44px);
}
.blogbar__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.blogbar__count { color: var(--faded); font-size: .92rem; white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .62em 1.1em; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font-family: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: background-color .32s var(--ease-hover), color .32s var(--ease-hover),
              border-color .32s var(--ease-hover);
}
.chip:hover { border-color: var(--onyx); color: var(--onyx); }
.chip.is-active { background: var(--onyx); border-color: var(--onyx); color: #fff; }
.chip__n { font-size: .8rem; color: var(--faded); }
.chip.is-active .chip__n { color: rgba(255,255,255,0.6); }
.post.is-hidden { display: none; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.post {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.post:hover { translate: 0 -6px; box-shadow: var(--sh-raised); }
.post__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.post__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: transform 1s var(--ease), filter .7s var(--ease);
}
.post:hover .post__img { transform: scale(1.05); filter: grayscale(0.35); }
.post__datebadge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: .74rem; font-weight: 500; letter-spacing: .03em; color: #fff;
  background: rgba(11,11,12,0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-pill); padding: .5em .9em;
}
.post__body { padding: clamp(22px, 2vw, 30px); display: flex; flex-direction: column; flex: 1; }
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post__tags span {
  font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); background: var(--mist); border-radius: var(--r-pill); padding: .45em .85em;
}
.post__title {
  font-size: clamp(1.18rem, 1.5vw, 1.44rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px;
}
.post__excerpt { font-size: .93rem; line-height: 1.55; color: var(--ink-3); margin-bottom: 0; flex: 1; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { position: relative; background: var(--paper-2); overflow: hidden; }
.faq__media {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(40%, 640px);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  overflow: hidden;
}
.faq__media img { width: 100%; height: 100%; object-fit: cover; }
.faq__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.faq__content { width: min(770px, 56%); margin-left: auto; padding-block: var(--sect-y); }
.faq__head { margin-bottom: clamp(34px, 4vw, 58px); }
.faq__head .section-title { margin-top: 24px; }
.faq__all { margin-top: clamp(28px, 3vw, 46px); }
.accordion { border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc__q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: clamp(22px, 2.4vw, 34px) 4px;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em;
  color: var(--onyx);
}
.acc__q:hover { color: var(--graphite); }
.acc__icon { position: relative; flex: none; width: 20px; height: 20px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--onyx);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.acc__icon::before { width: 16px; height: 1.6px; transform: translate(-50%, -50%); }
.acc__icon::after  { width: 1.6px; height: 16px; transform: translate(-50%, -50%); }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a-inner { overflow: hidden; }
.acc.is-open .acc__a-inner { padding-bottom: clamp(22px, 2.4vw, 32px); }
.acc__a p {
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; color: var(--ink-2);
  max-width: 70ch; padding-right: 44px;
}
.acc__a a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.acc__a a:hover { text-decoration-color: var(--onyx); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--onyx);
  color: #fff;
  padding-block: clamp(64px, 8vw, 128px) 34px;
  overflow: hidden;
}
/* top - CTA + inline email signup */
.footer__top {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: clamp(32px, 5vw, 90px);
  padding-bottom: clamp(48px, 6vw, 88px);
  margin-bottom: clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--line-dark);
}
.footer__cta-eyebrow {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer__cta-title {
  font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.035em; max-width: 20ch;
}
.footer__subscribe { display: flex; flex-direction: column; gap: 14px; }
.footer__sub-label { font-size: .9rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer__field {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-dark-2); border-radius: var(--r-pill);
  padding: 6px 6px 6px 24px;
  background: rgba(255,255,255,0.03);
  transition: border-color .3s var(--ease);
}
.footer__field:focus-within { border-color: rgba(255,255,255,0.55); }
.footer__input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: #fff; font-family: inherit; font-size: 1rem; padding: 13px 0;
}
.footer__input::placeholder { color: rgba(255,255,255,0.4); }
.footer__submit {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--onyx); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease), background-color .3s var(--ease);
}
.footer__submit:hover { transform: translateX(3px); }
.footer__submit svg { width: 21px; height: 21px; }

/* columns */
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.footer__logo { height: 42px; width: auto; filter: invert(1) brightness(2); margin-bottom: 24px; }
.footer__tagline { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; margin-bottom: 14px; }
.footer__about { font-size: .95rem; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 40ch; margin-bottom: 28px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark-2); color: rgba(255,255,255,0.75);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.footer__social a:hover { background: #fff; color: var(--onyx); border-color: #fff; transform: translateY(-2px); }
.footer__col { display: flex; flex-direction: column; }
.footer__heading {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: 22px;
}
.footer__col a {
  font-size: .98rem; color: rgba(255,255,255,0.78); padding: .42em 0; width: fit-content;
  position: relative; transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.footer__col a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px;
  background: #fff; transform: translateY(-50%); transition: width .35s var(--ease);
}
.footer__col a:hover { color: #fff; padding-left: 20px; }
.footer__col a:hover::before { width: 12px; }

/* signature - faint bull watermark that fades into the brand line */
.footer__bull {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  margin: clamp(28px, 3.5vw, 60px) 0 clamp(18px, 2.2vw, 34px);
}
.footer__bull-img {
  height: clamp(200px, 26vw, 380px); width: auto;
  /* 0.09 all but disappeared on a phone unless the screen was at full brightness,
     and the site gets looked at outdoors. Lifted here, lifted further on mobile. */
  opacity: 0.15;
  -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 46%, transparent 92%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .footer__bull-img { opacity: 0.22; }
}
.footer__bull-text {
  position: absolute; bottom: 1%; left: 50%; transform: translateX(-50%);
  font-size: clamp(1.9rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -0.025em;
  line-height: 1; color: #fff; white-space: nowrap; text-align: center;
}

/* bottom bar */
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--line-dark);
}
.footer__copy { font-size: .82rem; color: rgba(255,255,255,0.45); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; margin-right: auto; margin-left: clamp(20px, 4vw, 64px); }
.footer__legal a { font-size: .82rem; color: rgba(255,255,255,0.5); transition: color .3s var(--ease); }
.footer__legal a:hover { color: #fff; }
.footer__totop {
  display: inline-flex; align-items: center; gap: .55em;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,0.6); transition: color .3s var(--ease);
}
.footer__totop svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.footer__totop:hover { color: #fff; }
.footer__totop:hover svg { transform: translateY(-3px); }

/* =====================================================================
   INNER PAGES - shared
   ===================================================================== */
/* page hero (dark image) */
.page-hero {
  position: relative; min-height: clamp(440px, 64vh, 660px);
  display: flex; align-items: flex-end;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
  overflow: hidden; color: #fff;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,11,12,0.6) 0%, rgba(11,11,12,0) 30%),
    linear-gradient(to top, rgba(11,11,12,0.82) 0%, rgba(11,11,12,0.2) 52%, rgba(11,11,12,0) 78%),
    linear-gradient(to right, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 62%);
}
.page-hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding: 0 var(--pad-x) clamp(48px, 7vh, 100px);
}
.page-hero__content { max-width: 100ch; }
.page-hero__eyebrow {
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-bottom: 22px;
}
.page-hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 22px; max-width: 18ch;
}
.page-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.55;
  color: rgba(255,255,255,0.88); max-width: 58ch;
}

/* reusable stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line-2);
  padding-top: clamp(36px, 4vw, 56px);
}
.stat-cell .stat-cell__num {
  font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-cell .stat-cell__num em { font-style: normal; color: var(--faded); font-size: .5em; font-weight: 700; }
.stat-cell__label { font-size: .96rem; color: var(--ink-3); margin-top: 14px; max-width: 22ch; }

/* mission / lead block */
.leadblock { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(28px,5vw,80px); align-items: start; }
.leadblock__title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.leadblock__body { font-size: clamp(1.05rem,1.35vw,1.28rem); line-height: 1.65; color: var(--ink-2); }

/* reusable page CTA band (image background + dark gradient scrim) */
.page-cta {
  position: relative;
  color: #fff;
  background-color: var(--onyx);
  background-image:
    linear-gradient(105deg, rgba(11,11,12,0.96) 0%, rgba(11,11,12,0.88) 42%, rgba(11,11,12,0.62) 100%),
    url('../img/render-1.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.page-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.page-cta__title { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-width: 20ch; }
.page-cta__text { color: rgba(255,255,255,0.66); font-size: 1.05rem; line-height: 1.6; max-width: 48ch; margin-top: 16px; }

/* =====================================================================
   INVESTMENT STEPS (vertical timeline - 10 steps)
   ===================================================================== */
.isteps { background: var(--onyx); color: #fff; }
.isteps__list { position: relative; max-width: 940px; }
.isteps__line, .isteps__progress {
  position: absolute; left: 25px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px;
}
.isteps__line { background: rgba(255,255,255,0.14); }
.isteps__progress { background: #fff; box-shadow: 0 0 14px rgba(255,255,255,0.5); height: 0; bottom: auto; }
.istep {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: clamp(20px, 3vw, 46px);
  padding-bottom: clamp(38px, 4vw, 60px);
}
.istep:last-child { padding-bottom: 0; }
.istep__node {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: var(--onyx);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.4);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.istep.lit .istep__node {
  background: #fff; color: var(--onyx); border-color: #fff; transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 0 22px rgba(255,255,255,0.35);
}
.istep__body { padding-top: 6px; }
.istep__title {
  font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.55); margin-bottom: 12px; transition: color .5s var(--ease);
}
.istep.lit .istep__title { color: #fff; }
.istep__text { font-size: clamp(.98rem, 1.15vw, 1.1rem); line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 62ch; }

/* =====================================================================
   HISTORY - horizontal timeline
   ===================================================================== */
.htimeline { position: relative; }
.htl-track {
  --gap: clamp(18px, 2vw, 30px); --cards: 2.6;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x))) 20px;
  scroll-padding-left: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));
  scrollbar-width: none; -ms-overflow-style: none;
}
.htl-track::-webkit-scrollbar { display: none; }
.htl-item {
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--gap)) / var(--cards));
  scroll-snap-align: start; position: relative;
}
.htl-item::before {
  content: ""; position: absolute; top: -40px; left: 0; right: calc(-1 * var(--gap)); height: 2px;
  background: var(--line-2);
}
.htl-item:last-child::before { right: 0; }
.htl-item::after {
  content: ""; position: absolute; top: -46px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--onyx); border: 3px solid var(--paper);
}
.htl-year { font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; }
.htl-media { aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); margin-bottom: 22px; }
.htl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.htl-item:hover .htl-media img { transform: scale(1.04); }
.htl-title { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.htl-text { font-size: .98rem; line-height: 1.6; color: var(--ink-3); }

/* =====================================================================
   KNOWLEDGEBASE / INFODESK (FAQ)
   ===================================================================== */
.kb { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.kb__side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 10px; }
.kb__side-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faded); margin-bottom: 12px; }
.kb__cat {
  text-align: left; background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); color: var(--ink-2);
  font-size: 1rem; font-weight: 500; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.kb__cat:hover { background: var(--mist); }
.kb__cat.is-active { background: var(--onyx); color: #fff; }
.kb__cat-count { font-size: .8rem; opacity: .6; font-variant-numeric: tabular-nums; }
.kb__side-cta {
  margin-top: 20px; padding: clamp(22px, 2vw, 30px); border-radius: var(--r-lg);
  background: var(--onyx); color: #fff;
}
.kb__side-cta h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.kb__side-cta p { font-size: .9rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin-bottom: 18px; }

.kb__main { min-width: 0; }
.kb__search { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.kb__search input {
  width: 100%; font-family: inherit; font-size: 1.05rem; color: var(--onyx);
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 18px 22px 18px 54px; outline: none; transition: border-color .3s var(--ease);
}
.kb__search input:focus { border-color: var(--onyx); }
.kb__search input::placeholder { color: var(--faded); }
.kb__search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--faded); }
.kb__group { margin-top: clamp(48px, 6vw, 88px); }
.kb__group:first-child { margin-top: 0; }
.kb__group-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.kb__group.is-hidden, .acc.is-hidden { display: none; }
.kb__empty { display: none; padding: 40px 0; color: var(--ink-3); font-size: 1.05rem; }
.kb__empty.is-shown { display: block; }

/* =====================================================================
   INFODESK grid (portfolio / experience)
   ===================================================================== */
.infodesk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.infocard {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.infocard:hover { translate: 0 -4px; box-shadow: var(--sh-raised); border-color: var(--line-2); }
.infocard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.infocard__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform 1s var(--ease); }
.infocard:hover .infocard__media img { transform: scale(1.05); }
.infocard__body { padding: clamp(22px, 2vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.infocard__year { font-size: .8rem; font-weight: 500; letter-spacing: .1em; color: var(--faded); }
.infocard__title { font-size: clamp(1.1rem, 1.4vw, 1.35rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.infocard__text { font-size: .92rem; line-height: 1.62; color: var(--ink-3); }
.infocard__tag {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .04em; color: var(--faded);
}

/* generic card grid (model, quality, platform, values) */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid--4 { grid-template-columns: repeat(4, 1fr); }
.gcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 2.4vw, 42px); display: flex; flex-direction: column; gap: 14px;
}
.gcard:hover { translate: 0 -5px; box-shadow: var(--sh-raised); border-color: var(--line-2); }
.gcard__no { font-size: .82rem; font-weight: 500; letter-spacing: .12em; color: var(--faded); }
.gcard__title { font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.gcard__body { font-size: .98rem; line-height: 1.6; color: var(--ink-3); }
/* Lifted off the onyx: at 0.03 these read as bare outlines on a phone screen. */
.gcard--dark { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
.gcard--dark .gcard__title { color: #fff; }
.gcard--dark .gcard__body { color: rgba(255,255,255,0.62); }
.gcard--dark:hover { background: rgba(255,255,255,0.11); border-color: var(--line-dark-2); }

/* split: image (bleeds to page edge) + text */
.split {
  --gutter: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 76px); align-items: center;
}
.split__media {
  overflow: hidden;
  height: clamp(360px, 42vw, 580px);
  margin-left: calc(-1 * var(--gutter));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.split--rev .split__media {
  order: 2;
  margin-left: 0; margin-right: calc(-1 * var(--gutter));
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__title { font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 22px; }
.split__text { font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.65; color: var(--ink-2); }
.split__text p + p { margin-top: 1em; }

/* pull quote */
.pullquote { max-width: min(760px, 92%); margin-inline: auto; text-align: center; }
.pullquote__mark { font-size: 4.5rem; line-height: 1; font-weight: 700; color: var(--onyx); display: block; height: .55em; margin-bottom: 10px; }
.pullquote__text { font-size: clamp(1.5rem, 2.8vw, 2.35rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.32; }
.pullquote__by { margin-top: 30px; }
.pullquote__name { font-weight: 700; }
.pullquote__role { color: var(--faded); font-size: .9rem; }

/* quote with the speaker's portrait alongside it */
.pullquote--portrait {
  max-width: min(1120px, 100%); text-align: left;
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.pullquote--portrait .pullquote__photo {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist);
}
.pullquote--portrait .pullquote__photo img {
  display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5;
  object-fit: cover;
}
.pullquote--portrait .pullquote__text { font-size: clamp(1.35rem, 2.1vw, 1.95rem); }
@media (max-width: 860px) {
  .pullquote--portrait { grid-template-columns: 1fr; gap: 26px; }
  .pullquote--portrait .pullquote__photo img { aspect-ratio: 3 / 2; }
}

/* space above a button/link that follows split copy (and similar text boxes) */
.split__text + .btn, .split__text + .link-arrow, .split__text + a,
.split__text + p + .btn { margin-top: clamp(26px, 3vw, 40px); }

/* projects listing grid (reuse .project card, override carousel flex) */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.pgrid .project { flex: initial; scroll-snap-align: none; }

/* contact page + form */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 12px; }
.cinfo {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.cinfo:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cinfo__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--onyx); color: #fff; display: flex; align-items: center; justify-content: center; }
.cinfo__icon svg { width: 20px; height: 20px; }
.cinfo__label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faded); margin-bottom: 4px; }
.cinfo__value { display: block; font-size: 1.08rem; font-weight: 500; color: var(--onyx); }
.cform { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 48px); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--onyx); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 16px; outline: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--onyx); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--faded); }
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230B0B0C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.field select:invalid, .field select option[value=""] { color: var(--faded); }
.ocform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 460px) { .ocform__row { grid-template-columns: 1fr; } }

/* card icon (replaces number on some gcards) */
.gcard__icon { width: 50px; height: 50px; color: var(--onyx); margin-bottom: 4px; }
.gcard__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gcard--dark .gcard__icon { color: #fff; }

/* =====================================================================
   HORIZONTAL STEP TIMELINE (invest)
   ===================================================================== */
.hsteps { background: var(--onyx); color: #fff; overflow: hidden; }
.hsteps__track {
  --gap: clamp(22px, 2.6vw, 44px); --cards: 3.15;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x))) 24px;
  scroll-padding-left: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.hsteps__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hsteps__track::-webkit-scrollbar { display: none; }
.hstep { flex: 0 0 calc((100% - (var(--cards) - 1) * var(--gap)) / var(--cards)); scroll-snap-align: start; position: relative; padding-top: 62px; }
.hstep::before { content: ""; position: absolute; top: 34px; left: 0; right: calc(-1 * var(--gap)); height: 2px; background: rgba(255,255,255,0.14); }
.hstep:last-child::before { right: 0; }
.hstep__node {
  position: absolute; top: 10px; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: var(--onyx);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 700; color: rgba(255,255,255,0.4);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.hstep.lit .hstep__node { background: #fff; color: var(--onyx); border-color: #fff; transform: scale(1.06); box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 0 20px rgba(255,255,255,0.32); }
.hstep__title { font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 500; letter-spacing: -0.02em; color: rgba(255,255,255,0.5); margin-bottom: 12px; transition: color .45s var(--ease); }
.hstep.lit .hstep__title { color: #fff; }
.hstep__text { font-size: .97rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* =====================================================================
   GALLERY carousel (za-nas)
   ===================================================================== */
.gallery-track {
  --gap: clamp(14px, 1.6vw, 22px); --cards: 3.4;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x))) 26px;
  scroll-padding-left: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
}
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--gap)) / var(--cards));
  scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--mist);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.12); transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

/* =====================================================================
   COMPARE (model vs standard)
   ===================================================================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.compare__col { border-radius: var(--r-lg); padding: clamp(28px, 2.8vw, 46px); }
.compare__col--ours { background: var(--onyx); color: #fff; }
.compare__col--theirs { background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.compare__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.compare__col--ours .compare__tag { color: rgba(255,255,255,0.55); }
.compare__col--theirs .compare__tag { color: var(--faded); }
.compare__title { font-size: clamp(1.4rem, 2vw, 1.95rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 26px; }
.compare__col--theirs .compare__title { color: var(--onyx); }
.compare__list { display: flex; flex-direction: column; gap: 16px; }
.compare__item { display: flex; gap: 14px; font-size: 1rem; line-height: 1.5; }
.compare__ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; margin-top: 1px; }
.compare__col--ours .compare__ic { background: #fff; color: var(--onyx); }
.compare__col--theirs .compare__ic { background: var(--mist); color: var(--ink-3); }

/* =====================================================================
   MAP (kontakti) - grayscale Leaflet
   ===================================================================== */
.map { height: clamp(360px, 46vw, 540px) !important; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.leaflet-container { font-family: inherit; background: #e9e7e2 !important; }
.map .leaflet-tile { filter: grayscale(1) contrast(1.04) brightness(1.02); }
.leaflet-control-zoom a { color: var(--onyx) !important; border-color: var(--line) !important; }
.oxpin { display: block; width: 30px; height: 40px; }
.map-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.map-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.map-card__city { font-weight: 700; margin-bottom: 3px; }
.map-card__addr { font-size: .92rem; color: var(--ink-3); line-height: 1.45; }
/* single-project map: one address card spans full width */
.map-cards--single { grid-template-columns: 1fr; }

/* =====================================================================
   PROJECT SUBPAGE - hero facts, key-facts grid, to-confirm chip
   ===================================================================== */
/* hero meta row (status + type + location) under the page-hero lead */
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-fact {
  display: inline-flex; align-items: center; gap: 9px;
  padding: .6em 1.05em; border-radius: var(--r-pill); line-height: 1;
  border: 1px solid rgba(255,255,255,0.26); background: rgba(255,255,255,0.09);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .92rem; font-weight: 500; color: #fff;
}
.hero-fact svg { width: 16px; height: 16px; opacity: .82; flex: none; }
.hero-fact--status { background: #fff; color: var(--onyx); border-color: #fff; font-weight: 700; }
.hero-fact--status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--onyx); }
.hero-fact--done.hero-fact--status { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.32); }
.hero-fact--done.hero-fact--status .dot { background: rgba(255,255,255,0.85); }

/* key facts grid (Ключова информация) */
.specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 44px); border-top: 1px solid var(--line-2);
  padding-top: clamp(30px, 4vw, 52px);
}
.spec__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faded); font-weight: 700; }
.spec__value { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; margin-top: 12px; line-height: 1.18; }
.spec__note { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 10px; line-height: 1.4; font-weight: 400; letter-spacing: 0; }

/* "to confirm" chip - monochrome, reads as an intentional editorial marker */
.flagnote {
  display: inline-block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--faded); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: .32em .74em; vertical-align: middle; white-space: nowrap;
}

/* new-component responsive */
@media (max-width: 760px) { .specs { grid-template-columns: 1fr 1fr; gap: 26px 22px; } }
@media (max-width: 420px) { .specs { grid-template-columns: 1fr; } }
/* new-component responsive */
@media (max-width: 1180px) { .hsteps__track { --cards: 2.3; } .gallery-track { --cards: 2.6; } }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; } .map-cards { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .hsteps__track { --cards: 1.15; } .gallery-track { --cards: 1.7; } }

/* =====================================================================
   AI ASSISTANT (oxbot) - floating bull launcher + off-canvas chat
   ===================================================================== */
/* A bare circle bottom-right reads as "back to top" - it carries a label so it is
   recognisable as the assistant. */
.oxbot-fab {
  position: fixed; right: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 34px);
  height: 64px; padding: 0 24px 0 15px; border-radius: var(--r-pill);
  background: var(--onyx); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 34px rgba(11,11,12,0.30), 0 2px 8px rgba(11,11,12,0.18);
  z-index: 460;
  transition: transform .32s var(--ease-hover), box-shadow .32s var(--ease-hover), opacity .35s var(--ease);
}
.oxbot-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(11,11,12,0.36); }
.oxbot-fab:active { transform: translateY(0); }
.oxbot-fab:focus-visible { outline: 2px solid var(--onyx); outline-offset: 4px; }
.oxbot-fab__mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; }
.oxbot-fab__logo { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) invert(1); }
.oxbot-fab__label {
  color: #fff; font-size: .95rem; font-weight: 500; letter-spacing: .005em; white-space: nowrap;
}
.oxbot-fab__ping { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.75); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .oxbot-fab__ping { animation: oxping 3.6s var(--ease) infinite; } }
@keyframes oxping { 0% { transform: scale(1); opacity: .45; } 70%,100% { transform: scale(1.65); opacity: 0; } }
.oxbot-fab.is-hidden { opacity: 0; transform: scale(.5); pointer-events: none; }
@media (max-width: 560px) {
  /* keep the label, just shorten it - the point is that it stays recognisable */
  .oxbot-fab { height: 56px; padding: 0 20px 0 13px; gap: 10px; }
  .oxbot-fab__label-long { display: none; }
}

.oxbot { position: fixed; inset: 0; z-index: 470; visibility: hidden; }
.oxbot.is-open { visibility: visible; }
.oxbot__scrim { position: absolute; inset: 0; background: rgba(11,11,12,0.30); opacity: 0; transition: opacity .5s var(--ease); }
.oxbot.is-open .oxbot__scrim { opacity: 1; }
.oxbot__panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(420px, 100%);
  background: var(--paper); color: var(--onyx);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px rgba(11,11,12,0.22);
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.oxbot.is-open .oxbot__panel { transform: none; }

.oxbot__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.oxbot__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--onyx); display: grid; place-items: center; flex: none; }
.oxbot__avatar img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.oxbot__meta { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.oxbot__name { font-weight: 700; letter-spacing: -0.01em; }
.oxbot__status { font-size: .8rem; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.oxbot__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--onyx); }
@media (prefers-reduced-motion: no-preference) { .oxbot__status i { animation: oxblink 2.4s ease-in-out infinite; } }
@keyframes oxblink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.oxbot__x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--onyx); cursor: pointer; display: grid; place-items: center; transition: background-color .3s var(--ease), color .3s var(--ease); }
.oxbot__x:hover { background: var(--onyx); color: #fff; border-color: var(--onyx); }

.oxbot__log { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.oxmsg { max-width: 86%; animation: oxrise .45s var(--ease) both; }
@keyframes oxrise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.oxmsg--user { align-self: flex-end; }
.oxmsg--bot { align-self: flex-start; }
.oxmsg__bubble { padding: 12px 16px; border-radius: 16px; font-size: .96rem; line-height: 1.5; }
.oxmsg--bot .oxmsg__bubble { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.oxmsg--user .oxmsg__bubble { background: var(--onyx); color: #fff; border-bottom-right-radius: 5px; }

.oxbot__typing { display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; }
.oxbot__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--faded); animation: oxbounce 1.2s infinite; }
.oxbot__typing span:nth-child(2) { animation-delay: .15s; }
.oxbot__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes oxbounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.oxbot__chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.oxbot__chip { font-size: .85rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.oxbot__chip:hover { background: var(--onyx); color: #fff; border-color: var(--onyx); }

.oxbot-lead { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.oxbot-lead input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); font: inherit; color: var(--onyx); }
.oxbot-lead input:focus { outline: none; border-color: var(--onyx); }
.oxbot-lead button { padding: 12px 16px; border-radius: 12px; border: none; background: var(--onyx); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.oxbot-lead__ok { font-size: .92rem; color: var(--ink-2); margin-top: 10px; padding: 12px 14px; background: var(--mist); border-radius: 12px; }

.oxbot__compose { display: flex; gap: 10px; padding: 14px 16px 6px; }
.oxbot__field { flex: 1; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font: inherit; color: var(--onyx); }
.oxbot__field:focus { outline: none; border-color: var(--onyx); }
.oxbot__send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: none; background: var(--onyx); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.oxbot__send:hover { transform: scale(1.06); }
.oxbot__send:disabled { opacity: .4; cursor: default; transform: none; }
.oxbot__note { font-size: .72rem; color: var(--faded); text-align: center; padding: 4px 16px 14px; }

@media (max-width: 520px) { .oxbot__panel { width: 100%; } }

/* inner-page responsive additions */
@media (max-width: 960px) {
  .cardgrid, .cardgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__media { order: 0; }
  .split__media { height: clamp(240px, 56vw, 400px); margin: 0 calc(-1 * var(--pad-x)); border-radius: 0; }
  .contact { grid-template-columns: 1fr; }
  /* A split image bleeds edge-to-edge on mobile. Sitting straight under the hero,
     the section's top padding left an odd empty band between the two. */
  .page-hero + .section:has(> .container > .split:first-child) { padding-top: 0; }
}
@media (max-width: 620px) {
  .cardgrid, .cardgrid--2, .cardgrid--4 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .cform__row { grid-template-columns: 1fr; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
}

@media (max-width: 960px) {
  :root { --header-h: 5rem; }
  .brand__logo { height: 46px; }
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .section-head__row { grid-template-columns: 1fr; gap: 18px; }
  .steps-wrap { padding-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps__track, .steps__progress, .step__dot { display: none; }
  .vtests { grid-template-columns: repeat(2, 1fr); }
  .projects-track { --cards: 2.3; }
  .oxclub2__grid { grid-template-columns: 1fr; }
  .faq__media { position: relative; width: 100%; height: clamp(240px, 42vw, 360px); border-radius: 0; }
  .faq__content { width: 100%; }
  .posts { grid-template-columns: 1fr; max-width: 560px; }
  .guide { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__subscribe { max-width: 480px; }
}

@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .vtests { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .projects-track { --cards: 1.12; }
  .footer__bull-text { white-space: normal; font-size: clamp(1.5rem, 8vw, 2.2rem); max-width: 86vw; line-height: 1.1; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { justify-content: flex-start; }
  .footer__legal { margin-left: 0; }
  .hero__scroll { display: none; }
  .gap__num { font-size: clamp(2.2rem, 12vw, 3rem); }
  .gap__end { max-width: 12ch; }
  .btn { width: 100%; }
  /* full-width stretched the long "Изтеглете наръчника" label into a lopsided
     two-line pill - let it hug its text like the other in-content buttons */
  .hero__actions .btn, .milestone .btn, .oxclub .btn, .guide .btn { width: auto; }
  /* ...and the --lg scale needs ~354px for that label, 4px more than a 390px
     phone leaves, so it wrapped anyway. Step the large buttons down to fit. */
  .btn--lg { font-size: .92rem; padding: 1.05em 1.5em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 768px) {
  /* The scrim runs left-to-right, so on a phone - where the copy spans the full
     width - the right-hand words fell on the clear part of the photo. Darken the
     whole frame instead of just its left edge. */
  .milestone__scrim {
    background:
      linear-gradient(to right, rgba(11,11,12,0.86) 0%, rgba(11,11,12,0.72) 55%, rgba(11,11,12,0.62) 100%),
      linear-gradient(to top, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 60%);
  }
}

/* inner-page responsive */
@media (max-width: 1180px) {
  .htl-track { --cards: 1.8; }
  .infodesk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .leadblock { grid-template-columns: 1fr; gap: 24px; }
  .kb { grid-template-columns: 1fr; gap: 28px; }
  .kb__side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .kb__side-title { width: 100%; }
  .kb__side-cta { display: none; }
  .kb__cat { padding: 11px 15px; border: 1px solid var(--line-2); }
  .kb__cat.is-active { border-color: var(--onyx); }
  .page-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  /* Stacked as three loose blocks the figures read as stray numbers. As rows -
     figure left, label right, hairline between - they read as a spec list. */
  .stats-row { grid-template-columns: 1fr; gap: 0; padding-top: 26px; }
  .stat-cell {
    display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
    padding: 22px 0; border-bottom: 1px solid var(--line);
  }
  .stat-cell:last-child { border-bottom: 0; padding-bottom: 0; }
  .stat-cell .stat-cell__num { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .stat-cell__label { margin-top: 0; text-align: right; max-width: 14ch; }

  .htl-track { --cards: 1.08; }
  .infodesk-grid { grid-template-columns: 1fr; }
  .istep { grid-template-columns: 44px 1fr; gap: 18px; }
  .istep__node { width: 44px; height: 44px; font-size: 1rem; }
  .isteps__line, .isteps__progress { left: 21px; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js .hero .anim { opacity: 1 !important; transform: none !important; }
  .gap__fill { width: 100% !important; }
  .steps__line { transform: scaleX(1) !important; }
  .hero__video { display: none; }
  .hero__media { background: #16161a; }
  .fic-glint, .fic-climb { display: none; }
  .fic-bar { transform: scaleY(1) !important; }
}
