/* =========================================================
   Arquint Consulting GmbH — styles
   Palette: monochrome + silver, derived from the logo.
   ========================================================= */

:root {
  /* colour */
  --ink: #0B0C0E;          /* hero / dark sections */
  --graphite: #17191C;
  --carbon: #2A2D31;
  --steel: #6B7078;        /* muted text on light */
  --silver: #C9C9C9;       /* logo silver */
  --fog: #9EA3AA;          /* muted text on dark */
  --mist: #F1F2F3;         /* light section background */
  --paper: #FBFBFB;        /* cards */
  --line: #DADDE0;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #121315;

  --chrome: linear-gradient(100deg, #8D939B 0%, #F6F7F8 30%, #A9AEB5 48%, #ECEEF0 66%, #8D939B 100%);

  /* type */
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section-y: clamp(96px, 13vw, 180px);
  --radius: 18px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #1d1f22; color: #fff; }

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

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-150%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* chrome (liquid-silver) text */
.chrome {
  font-style: italic;
  background: var(--chrome);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
  padding-right: .06em; /* italic overhang */
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: -220% 0; } }

/* film grain (static, cheap) */
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; gap: 18px;
  height: var(--h); padding: 0 22px 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .4s, color .4s, box-shadow .5s var(--ease-out);
}
.btn--sm { --h: 42px; padding: 0 16px 0 20px; font-size: .875rem; gap: 14px; }
.btn--lg { --h: 64px; padding: 0 26px 0 32px; font-size: 1.05rem; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.4), 0 10px 30px -12px rgba(255,255,255,.35); }
.btn--glass {
  padding: 0 26px;
  color: #E9EBED;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn__dot {
  position: relative; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), background-color .4s;
}
.btn__dot::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px;
  background: #fff; opacity: 0;
  clip-path: polygon(0 45%, 65% 45%, 40% 15%, 50% 8%, 100% 50%, 50% 92%, 40% 85%, 65% 55%, 0 55%);
  transition: opacity .3s .1s;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--light:hover { box-shadow: 0 1px 0 rgba(255,255,255,.4), 0 18px 40px -14px rgba(255,255,255,.55); }
  .btn--glass:hover { background: rgba(255, 255, 255, .13); }
  .btn:hover .btn__dot { width: 26px; height: 26px; background: var(--ink); }
  .btn:hover .btn__dot::after { opacity: 1; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: transform .6s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(11, 12, 14, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transition: opacity .5s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .5s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: block; }
.brand__logo { height: 34px; width: auto; color: #fff; }

.nav { display: flex; gap: clamp(20px, 3vw, 44px); margin-left: auto; margin-right: clamp(20px, 3vw, 44px); }
.nav a { position: relative; font-size: .93rem; color: rgba(255,255,255,.72); transition: color .3s; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; }
.lang__btn { color: rgba(255,255,255,.45); padding: 6px 2px; transition: color .3s; }
.lang__btn[aria-pressed="true"] { color: #fff; }
.lang__btn:hover { color: #fff; }
.lang__sep { color: rgba(255,255,255,.25); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; border: 1px solid var(--line-dark); }
.menu-toggle__bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .5s var(--ease-out); }
.menu-toggle__bar--a { top: 18px; }
.menu-toggle__bar--b { top: 24px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar--a { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar--b { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not(.is-open) { pointer-events: none; }
.mobile-menu.is-open { opacity: 1; }
@media (min-width: 961px) { .mobile-menu { display: none; } }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.15;
  padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; color: var(--fog); }

@media (max-width: 960px) {
  .nav { display: none; }
  .site-header__actions .btn { display: none; }
  .menu-toggle { display: block; }
  .brand__logo { height: 28px; }
}

/* =========================================================
   HERO — the silver eclipse
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: max(780px, 100svh);
  padding-bottom: 60px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__dots {
  position: absolute; inset: -2% -2% 30%;
  background-image: radial-gradient(circle, rgba(255,255,255,.28) 1px, transparent 1.6px);
  background-size: 26px 26px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 0%, transparent 72%);
}
.hero__dots--spot {
  background-image: radial-gradient(circle, rgba(255,255,255,.95) 1.1px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(circle 180px at var(--mx, 50%) var(--my, -50%), #000 0%, transparent 100%);
          mask-image: radial-gradient(circle 180px at var(--mx, 50%) var(--my, -50%), #000 0%, transparent 100%);
  opacity: .55;
}

.hero__halo {
  position: absolute; left: 52.5%; top: -60px;
  width: min(1000px, 140vw); height: 520px;
  transform: translate(-50%, 0);
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214, 219, 225, .16) 0%, rgba(150, 156, 164, .06) 45%, transparent 72%);
  filter: blur(10px);
  animation: breathe 10s var(--ease-io) infinite alternate;
}
@keyframes breathe {
  from { opacity: 1;   transform: translate(-50%, 0) scale(1); }
  to   { opacity: .78; transform: translate(-50%, -2%) scale(1.06); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Matterhorn silhouette — dark flank, silver rim light, a spark travelling along the ridge */
/* the Matterhorn fills the whole hero as background; summit sits behind the headline */
.hero__mountain { position: absolute; inset: 0; }
/* dimmed in the hero so the headline keeps strong contrast */
.mtn--hero .mtn__rim  { opacity: .3; }
.mtn--hero .mtn__glow { opacity: .12; }
.mtn--hero .mtn__body { fill: url(#mtnFillDim); }
.mtn { display: block; width: 100%; height: 100%; overflow: visible; }
.mtn path { vector-effect: non-scaling-stroke; }
.mtn__body { fill: url(#mtnFill); }
.mtn__glow { fill: none; stroke: url(#mtnRim); stroke-width: 16; opacity: .22; filter: url(#mtnBlur); }
.mtn__rim { fill: none; stroke: url(#mtnRim); stroke-width: 1.4; stroke-linejoin: miter; opacity: .5; }
.mtn__spark {
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: .045 1.2; stroke-dashoffset: .1; opacity: 0;
}
@keyframes spark {
  0%   { stroke-dashoffset: .1;   opacity: 0; }
  6%   { opacity: .7; }
  28%  { opacity: .7; }
  34%  { stroke-dashoffset: -1.05; opacity: 0; }
  100% { stroke-dashoffset: -1.05; opacity: 0; }
}

.hero__inner { position: relative; padding-top: clamp(150px, 22vh, 240px); }
.hero__eyebrow {
  font-size: .9rem; letter-spacing: .01em; color: rgba(255,255,255,.78);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 7.4vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 14ch; margin-inline: auto;
  text-wrap: balance;
}
.hero__lead {
  max-width: 54ch; margin: clamp(22px, 2.6vw, 34px) auto 0;
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: clamp(28px, 3.2vw, 42px); }

.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(28px, 6vh, 64px);
  width: 30px; height: 84px; transform: translateX(-50%);
  display: grid; place-items: center;
}
.hero__scroll span { position: relative; width: 1px; height: 100%; background: rgba(255,255,255,.18); overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: linear-gradient(transparent, #fff);
  animation: drip 2.4s var(--ease-io) infinite;
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.hero__coords { position: absolute; right: var(--gutter); bottom: 28px; color: rgba(255,255,255,.4); font-size: .68rem; }

@media (max-width: 640px) {
  .hero { min-height: max(720px, 100svh); }
  .hero__inner { padding-top: 150px; }
  .hero__coords { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__ctas { max-width: 340px; margin-inline: auto; }
}

/* ----- load sequence (only when JS is on) ----- */
.js .load-in { opacity: 0; transform: translateY(14px); }
.js .is-loaded .load-in, .js.is-loaded .load-in {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.js .hero__mountain { opacity: 0; transform: translateY(70px); }
.js.is-loaded .hero__mountain { opacity: 1; transform: none; transition: opacity 2s var(--ease-out) .1s, transform 2.4s var(--ease-out) .1s; }
.js .hero__halo { opacity: 0; animation: none; }
.js.is-loaded .hero__halo { opacity: 1; animation: fadeIn 2.4s var(--ease-out) .5s both, breathe 10s var(--ease-io) 2.9s infinite alternate; }
.js.is-loaded .hero__mountain .mtn__spark, .cta .mtn__spark { animation: spark 12s var(--ease-io) 2.2s infinite; }


/* ----- split-text reveal ----- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .04em .12em; margin: -.02em -.04em -.12em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(105%); }
.js [data-split].is-in .wi {
  transform: none;
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + var(--base, 0ms));
}
.js .hero__title[data-split] { --base: 300ms; }

/* ----- generic reveal ----- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { position: relative; padding-block: var(--section-y); }
.h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.04; letter-spacing: -.022em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.eyebrow__mark { width: 20px; height: auto; }

.section-head {
  display: grid; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head__aside { color: var(--steel); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* =========================================================
   APPROACH
   ========================================================= */
.approach { text-align: center; }
.approach__inner { max-width: 1120px; }
.approach__title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }

.pillars {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: clamp(56px, 7vw, 96px) auto clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  max-width: 980px;
}
.pillars__tick { position: absolute; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.pillars__tick--l { left: -12px; } .pillars__tick--r { right: -12px; }
.pillar { padding: clamp(32px, 4vw, 48px) clamp(16px, 2.4vw, 32px); }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__big {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.8rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.03em;
  margin-bottom: 18px;
}
.pillar__text { color: var(--steel); font-size: .95rem; max-width: 28ch; margin-inline: auto; line-height: 1.5; }
.approach__text {
  max-width: 62ch; margin-inline: auto;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.6; color: #45494F;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(14px, 1.6vw, 24px); }

.card {
  --ease-lux: cubic-bezier(.77, 0, .175, 1);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "top top" "title body" "link body";
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(28px, 3.4vw, 56px);
  min-height: 500px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--paper);
  border: 1px solid #E6E8EA;
  border-radius: var(--radius);
  transition: color .7s var(--ease-out) .08s, border-color .7s, transform 1s var(--ease-out), box-shadow 1s var(--ease-out);
}
/* graphite → silver wash that grows from where the cursor enters, and retracts to where it leaves */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 90% 110%, rgba(236, 238, 240, .45), transparent 60%),
    radial-gradient(80% 60% at 0% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(160deg, #1E2023 0%, #3A3E44 50%, #868B92 100%);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 110%));
  transition: clip-path 1.1s var(--ease-lux);
}
.card::after { /* soft light that follows the pointer while hovering */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.10), transparent 65%);
  opacity: 0; transition: opacity .8s;
}

.card__top { grid-area: top; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: clamp(40px, 5vw, 72px); }
.card__icon { width: 56px; height: 56px; color: #8A9098; transition: color .8s var(--ease-out); }
.card__icon svg { width: 100%; height: 100%; overflow: visible; }
.card__icon circle {
  transform-box: fill-box; transform-origin: center;
  transition: transform .9s var(--ease-out) calc(var(--k) * 35ms), fill .6s var(--ease-out) calc(var(--k) * 35ms);
}
.card__tag { color: var(--steel); font-size: .68rem; padding-top: 4px; text-align: right; white-space: nowrap; transition: color .7s; }
.card__title {
  grid-area: title; align-self: start;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.card__body { grid-area: body; align-self: end; }
.nw { white-space: nowrap; }
.card__text { color: var(--steel); font-size: .98rem; line-height: 1.6; transition: color .7s var(--ease-out) .08s; }
.card__list { position: relative; margin-top: 26px; }
.card__list li { position: relative; padding: 12px 0 12px 20px; font-size: .93rem; }
.card__list::before, .card__list li::after { /* hairlines that draw in from the left */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
  transform-origin: left; transition: background-color .7s;
}
.card__list::before { top: 0; }
.card__list li::after { bottom: 0; }
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: currentColor; opacity: .4;
}
.card__link {
  grid-area: link; align-self: end; justify-self: start;
  position: relative; display: inline-flex; gap: 12px; align-items: center; margin-top: 28px;
  font-weight: 500; font-size: .93rem; padding-bottom: 4px;
}
.card__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.18); transform-origin: left; transition: transform .8s var(--ease-lux); }
.card__link span[aria-hidden] { transition: transform .8s var(--ease-lux); }
.card__link:hover::after { transform: scaleX(1); }
.card__link:hover span[aria-hidden] { transform: translateX(6px); }

@media (hover: hover) {
  .card:hover { color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: 0 50px 90px -50px rgba(20, 22, 25, .6); }
  .card:hover::before { clip-path: circle(150% at var(--cx, 50%) var(--cy, 110%)); }
  .card:hover::after { opacity: 1; }
  .card:hover .card__text { color: rgba(255,255,255,.76); }
  .card:hover .card__tag { color: rgba(255,255,255,.62); }
  .card:hover .card__icon { color: #fff; }
  .card:hover .card__icon circle { transform: scale(1.3); }
  .card:hover .card__list::before, .card:hover .card__list li::after { background-color: rgba(255,255,255,.18); }
}
.card:focus-within { border-color: #B8BCC2; }

/* ----- entrance: curtain wipe, then content settles in sequence ----- */
.js .card.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); }
.js .card.reveal.is-in {
  clip-path: inset(0 0 0 0 round var(--radius));
  transition: clip-path 1.4s var(--ease-lux) var(--d, 0s), color .7s var(--ease-out) .08s, border-color .7s, transform 1s var(--ease-out), box-shadow 1s var(--ease-out);
}
.js .card.reveal > * { opacity: 0; transform: translateY(18px); }
.js .card.reveal.is-in > * { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .card.reveal.is-in > .card__top   { transition-delay: calc(var(--d, 0s) + .45s); }
.js .card.reveal.is-in > .card__title { transition-delay: calc(var(--d, 0s) + .55s); }
.js .card.reveal.is-in > .card__body  { transition-delay: calc(var(--d, 0s) + .7s); }
.js .card.reveal.is-in > .card__link  { transition-delay: calc(var(--d, 0s) + .85s); }
.js .card.reveal .card__list::before, .js .card.reveal .card__list li::after { transform: scaleX(0); }
.js .card.reveal.is-in .card__list::before, .js .card.reveal.is-in .card__list li::after {
  transform: scaleX(1); transition: transform 1.3s var(--ease-lux) calc(var(--d, 0s) + .8s + var(--n, 0) * 90ms), background-color .7s;
}
.card__list li:nth-child(1) { --n: 1; } .card__list li:nth-child(2) { --n: 2; }
.card__list li:nth-child(3) { --n: 3; } .card__list li:nth-child(4) { --n: 4; }
.js .card.reveal.is-in .card__icon circle { animation: dotIn .9s var(--ease-out) calc(var(--d, 0s) + .5s + var(--k) * 40ms) backwards; }
@keyframes dotIn { from { transform: scale(0); opacity: 0; } }
@media (hover: hover) { .js .card.reveal.is-in:hover { transform: translateY(-3px); } }

@media (max-width: 1000px) {
  .card { grid-template-columns: 1fr; grid-template-areas: "top" "title" "body" "link"; grid-template-rows: auto auto 1fr auto; min-height: 0; }
  .card__title { margin-bottom: 28px; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card__top { margin-bottom: 36px; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-block: clamp(120px, 18vw, 240px);
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 50% 110%, rgba(200, 205, 212, .16), transparent 70%);
}
.manifesto__text {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1.14; letter-spacing: -.018em;
  max-width: 22ch; margin-inline: auto; text-align: center;
  text-wrap: balance;
}
.mw { transition: color .5s, opacity .5s; }
.js .mw { opacity: .16; }
.js .mw.lit { opacity: 1; }

/* =========================================================
   PROCESS
   ========================================================= */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px);
  padding-top: 44px;
}
.steps__line { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.steps__line span {
  position: absolute; inset: 0; background: linear-gradient(90deg, #2B2E33, #8D939B);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.step { position: relative; }
.step__node {
  position: absolute; top: -44px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mist); border: 1px solid #A9AEB5;
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.step.is-passed .step__node { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(11,12,14,.06); }
.step__num { color: var(--steel); }
.step__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem); letter-spacing: -.015em; line-height: 1.1;
  margin: 14px 0 12px;
}
.step__text { color: var(--steel); font-size: .98rem; line-height: 1.55; max-width: 30ch; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 40px; }
  .steps__line { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps__line span { transform: scaleY(var(--p, 0)); transform-origin: top; background: linear-gradient(#2B2E33, #8D939B); }
  .step__node { top: 6px; left: -36px; }
}

.usecases {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  border-top: 1px solid var(--line); padding-top: 32px;
}
.usecases__label { color: var(--steel); padding-top: 6px; }
.usecases__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.usecases__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  transition: padding-left .5s var(--ease-out);
}
.usecases__list li::before { content: ""; width: 14px; height: 1px; background: #8D939B; flex: none; transition: width .5s var(--ease-out); }
@media (hover: hover) {
  .usecases__list li:hover { padding-left: 6px; }
  .usecases__list li:hover::before { width: 26px; }
}
@media (max-width: 820px) {
  .usecases { grid-template-columns: 1fr; gap: 12px; }
  .usecases__list { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: 0; }
.faq__inner { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem); font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: background-color .4s, border-color .4s, transform .6s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body p { color: var(--steel); max-width: 60ch; padding-bottom: 28px; line-height: 1.6; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease-out), content-visibility .55s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@media (hover: hover) { .qa summary:hover .qa__icon { border-color: #9EA3AA; } }
@media (max-width: 820px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff; text-align: center;
  padding-block: clamp(130px, 17vw, 230px);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg .hero__dots { inset: 0; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%); opacity: .7; }
.cta__mountain { position: absolute; inset: 0; }
.cta__mountain::before { /* atmospheric glow behind the peak */
  content: ""; position: absolute; left: 52.5%; top: -60px; width: min(1000px, 140vw); height: 460px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214, 219, 225, .14), transparent 70%);
}

.cta__inner { position: relative; }
.cta__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem); line-height: 1.03; letter-spacing: -.025em;
  max-width: 15ch; margin-inline: auto; text-wrap: balance;
}
.cta__lead { max-width: 46ch; margin: 26px auto 40px; color: rgba(255,255,255,.68); font-size: clamp(1rem, 1.25vw, 1.12rem); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(72px, 8vw, 110px) 0 32px; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.footer__logo { width: clamp(180px, 22vw, 280px); height: auto; color: #fff; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__label { color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer__cols li { padding: 4px 0; font-size: .95rem; }
.footer__cols a { transition: color .3s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(64px, 8vw, 110px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: .85rem;
}
.footer__bottom .mono { color: rgba(255,255,255,.35); font-size: .68rem; }
.footer__top-link:hover { color: #fff; }
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* logo draw-on (footer) */
.js [data-draw] .draw { stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.js [data-draw] .draw-fade { opacity: 0; }
.js [data-draw].is-in .draw {
  animation: drawStroke 2s var(--ease-io) forwards, fillIn 1s var(--ease-out) 1.5s forwards;
}
.js [data-draw].is-in .draw--word { animation-delay: .35s, 1.8s; }
.js [data-draw].is-in .draw-fade { opacity: 1; transition: opacity 1.2s var(--ease-out) 2s; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill-opacity: 1; stroke-opacity: 0; } }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-header { background: var(--ink); color: #fff; }
.legal-header .site-header__inner { height: 76px; }
.legal { padding: clamp(64px, 9vw, 120px) 0 var(--section-y); }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 1.15rem; font-weight: 600; margin: 40px 0 10px; }
.legal p, .legal li { color: #45494F; margin-bottom: 10px; }
.legal .placeholder { background: #E4E6E9; border-radius: 4px; padding: 0 4px; }
.legal .note { font-size: .85rem; color: var(--steel); border-left: 2px solid var(--line); padding-left: 14px; margin-bottom: 32px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .load-in, .js .reveal, .js [data-split] .wi, .js .hero__mountain, .js .hero__halo { opacity: 1 !important; transform: none !important; }
  .js .hero__halo { transform: translate(-50%, 0) !important; }
  .js .mw { opacity: 1; }
  .js .card.reveal, .js .card.reveal > * { clip-path: none !important; opacity: 1 !important; transform: none !important; }
  .js .card.reveal .card__list::before, .js .card.reveal .card__list li::after { transform: none !important; }
  .js [data-draw] .draw { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
  .js [data-draw] .draw-fade { opacity: 1; }
}
