/* Inunce: site.css
   Palette and type carried over from the original site: black #0A0A0A,
   white accent #E8E8E8, Space Grotesk for text, JetBrains Mono for data. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #080808;
  --bg-4: #050505;
  --fg: #EDEDED;
  --fg-2: #BFBFBF;
  --fg-dim: #7A7A7A;
  --fg-dim-2: #8C8C8C;
  --rule: #1F1F1F;
  --rule-2: #2A2A2A;
  --accent: #E8E8E8;
  --accent-glow: rgba(232, 232, 232, .45);
  --grid-line: rgba(255, 255, 255, .04);
  --glass: rgba(10, 10, 10, .66);

  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.0625rem, .96rem + .42vw, 1.3125rem);
  --fs-lg: clamp(1.25rem, 1.06rem + .6vw, 1.625rem);
  --fs-xl: clamp(2.25rem, 1.15rem + 4.3vw, 5rem);
  --fs-2xl: clamp(2.75rem, 1.1rem + 6.8vw, 7.5rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 3.4vw, 48px);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  color-scheme: dark;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  interpolate-size: allow-keywords;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[class], ol[class], nav ul, .foot-col ul { list-style: none; }
strong { font-weight: 500; color: var(--fg); }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 200;
  background: var(--fg); color: #000; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

@view-transition { navigation: auto; }

/* ---------- fixed layers ---------- */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  opacity: .6;
}
#field {
  position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%;
  pointer-events: none; opacity: 0;
  transition: opacity 1.4s var(--ease);
}
#field.ready { opacity: 1; }
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page, .site-footer { position: relative; z-index: 3; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .005em; white-space: nowrap;
  color: var(--fg); background: rgba(10, 10, 10, .4);
  transition: transform .5s var(--ease-expo), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { border-color: var(--fg); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #000; }
.btn-primary:hover { box-shadow: 0 0 44px var(--accent-glow); }
.btn-sm { min-height: 40px; padding: 9px 18px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled, .menu-open .site-header {
  background: rgba(10, 10, 10, .72);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--rule);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; color: var(--fg); padding: 6px 0; }
.brand svg { height: 17px; width: auto; fill: currentColor; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: var(--fs-sm); color: var(--fg-dim);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover { color: var(--fg); }
.main-nav a[aria-current="true"] { color: var(--fg); background: var(--rule); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; line-height: 1;
}
.lang-switch > * { display: block; padding: 8px 10px; border-radius: 999px; color: var(--fg-dim); transition: color .2s, background .2s; }
.lang-switch [aria-current] { background: var(--fg); color: #000; }
.lang-switch a:hover { color: var(--fg); }
.progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--accent); transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}
.menu-btn {
  display: none; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  font-size: var(--fs-sm);
}
.menu-icon { position: relative; width: 16px; height: 8px; }
.menu-icon::before, .menu-icon::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 1.5px;
  background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-icon::before { top: 0; }
.menu-icon::after { top: 6.5px; }
.menu-open .menu-icon::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-icon::after { top: 3.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mm-link {
  display: block; padding: 8px 0; border-bottom: 1px solid var(--rule);
  font-size: clamp(32px, 9vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
}
.mm-foot { display: grid; gap: 12px; color: var(--fg-dim); font-size: var(--fs-sm); }
.mm-foot a { color: var(--fg); }
.mm-foot > * { justify-self: start; text-align: left; }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 22px) 0 clamp(28px, 5vh, 56px);
}
.hero-inner { flex: 1; display: grid; grid-template-rows: auto minmax(24vh, 1fr) auto; gap: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: var(--fs-sm); color: var(--fg-dim); }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 24vh; }
.hero-fallback { width: 92%; height: auto; fill: var(--fg); opacity: 0; transition: opacity .8s var(--ease); }
.no-js .hero-fallback, .no-webgl .hero-fallback { opacity: 1; }
.hero-bottom { display: grid; gap: clamp(24px, 3vw, 44px); }
.hero-title {
  font-size: clamp(2.75rem, calc((100vw - 2 * var(--gutter)) / 11.4), 7.5rem);
  font-weight: 500; line-height: .95; letter-spacing: -.045em;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .line + .line { padding-left: .62em; }
.hero-side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero-lead { font-size: var(--fs-md); color: var(--fg-2); max-width: 52ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero-title { font-size: clamp(2.6rem, 10.5vw, 5rem); }
  .hero-title .line { white-space: normal; }
  .hero-title .line + .line { padding-left: 0; }
}
@media (max-width: 600px) {
  .hero-inner { grid-template-rows: auto minmax(18vh, 1fr) auto; }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 3; overflow: hidden;
  display: grid; gap: 6px; padding: 20px 0;
  border-block: 1px solid var(--rule);
  background: rgba(10, 10, 10, .55);
}
.ticker-row { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ticker-row.rev { animation-direction: reverse; animation-duration: 64s; }
.ticker-row span {
  display: inline-flex; align-items: center; gap: .7em; padding-right: .7em;
  font-size: clamp(24px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; white-space: nowrap;
}
.ticker-row span::after { content: ''; width: .22em; height: .22em; background: var(--fg); transform: rotate(45deg); }
.ticker-row.rev span { color: transparent; -webkit-text-stroke: 1px var(--fg-dim); }
.ticker-row.rev span::after { background: transparent; border: 1px solid var(--fg-dim); }
.ticker:hover .ticker-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 176px); border-top: 1px solid var(--rule); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px clamp(32px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.h2 { font-size: var(--fs-xl); font-weight: 500; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.section-intro { color: var(--fg-dim-2); max-width: 40ch; justify-self: end; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
}

/* invisible boxes the particle field fits its shapes into */
.stage-wrap { position: absolute; inset: 0; pointer-events: none; }
.stage { position: sticky; top: 16vh; height: 68vh; }
.stage[data-place="right"] { width: 46%; margin-left: auto; }
.stage[data-place="left"] { width: 44%; }
.stage[data-place="center"] { width: 74%; margin-inline: auto; }
@media (max-width: 900px) {
  .stage, .stage[data-place] { width: 100%; margin: 0; top: 22vh; height: 56vh; }
}

/* ---------- about ---------- */
.about-main { max-width: 760px; }
.about-main .h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.about-body p { font-size: var(--fs-md); color: var(--fg-2); max-width: 58ch; }
.about-body p + p { margin-top: 1.1em; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 32px 24px 0 0; }
.stat + .stat { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--rule); }
.stat dd { font-size: clamp(56px, 7.2vw, 116px); font-weight: 500; line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 16px; color: var(--fg-dim-2); font-size: var(--fs-sm); max-width: 24ch; }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- services ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px; padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: rgba(10, 10, 10, .8);
}
.svc::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .085), transparent 62%);
  transition: opacity .45s var(--ease);
}
.svc:hover::before { opacity: 1; }
.svc-icon { width: 44px; height: 44px; fill: none; stroke: var(--fg); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc:hover .svc-icon * { animation: draw 1.1s var(--ease-expo) both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.svc h3 { margin: clamp(40px, 4.4vw, 64px) 0 14px; font-size: var(--fs-lg); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.svc p { color: var(--fg-dim-2); font-size: 15.5px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 6px; margin-top: auto; padding-top: 24px; }
.tags li {
  padding: 4px 10px; border: 1px solid var(--rule-2); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-dim-2);
  transition: border-color .3s, color .3s;
}
.svc:hover .tags li { border-color: #3a3a3a; color: var(--fg-2); }
@media (hover: hover) and (min-width: 901px) {
  .svc { background: var(--glass); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
}
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.process-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.process-aside .section-intro { justify-self: start; }
.process-stage { height: 36vh; }
.process-counter { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.process-counter span { font-size: clamp(64px, 8.4vw, 132px); line-height: .9; letter-spacing: -.06em; }
.process-counter small { font-size: 18px; color: var(--fg-dim); }
.steps { position: relative; padding-left: 44px; counter-reset: step; }
.steps::before, .steps::after { content: ''; position: absolute; left: 8px; top: 12px; width: 1px; }
.steps::before { bottom: 12px; background: var(--rule-2); }
.steps::after { height: calc((100% - 24px) * var(--p, 0)); background: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.step { position: relative; padding: 30px 0 34px; border-bottom: 1px solid var(--rule); transition: opacity .5s var(--ease); }
.step:first-child { padding-top: 0; }
.js .step { opacity: .4; }
.js .step.is-active, .js .step.is-done { opacity: 1; }
.step::before {
  content: ''; position: absolute; left: -40px; top: 41px; width: 9px; height: 9px;
  border: 1px solid var(--fg-dim); background: var(--bg); transform: rotate(45deg);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.step:first-child::before { top: 11px; }
.step.is-active::before, .step.is-done::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.step-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--fg-dim); }
.step h3 { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.step p { margin-top: 12px; color: var(--fg-dim-2); max-width: 56ch; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-aside { position: relative; top: 0; }
  .process-stage { height: 30vh; }
  .process-counter { display: none; }
}

/* ---------- wordmark ---------- */
.wordmark { position: relative; z-index: 3; padding-block: clamp(48px, 7vw, 112px); border-top: 1px solid var(--rule); }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.wordmark path {
  fill: transparent; stroke: var(--fg); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-expo), fill 1s var(--ease), transform .7s var(--ease-expo);
}
.wordmark path:nth-child(2) { transition-delay: .08s, 1.5s, 0s; }
.wordmark path:nth-child(3) { transition-delay: .16s, 1.6s, .03s; }
.wordmark path:nth-child(4) { transition-delay: .24s, 1.7s, .06s; }
.wordmark path:nth-child(5) { transition-delay: .32s, 1.8s, .09s; }
.wordmark path:nth-child(6) { transition-delay: .4s, 1.9s, .12s; }
.wordmark path:nth-child(1) { transition-delay: 0s, 1.4s, 0s; }
.wordmark.in path { stroke-dashoffset: 0; fill: var(--fg); }
@media (hover: hover) {
  .wordmark.in:hover path { fill: transparent; transform: translateY(-3%); transition-delay: 0s; }
}
.no-js .wordmark path { stroke-dashoffset: 0; fill: var(--fg); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.quote {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 320px; padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--rule); background: rgba(10, 10, 10, .78);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-expo), border-color .3s var(--ease);
}
.quote::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 60%);
  transition: opacity .4s var(--ease);
}
.quote:hover { border-color: var(--rule-2); }
.quote:hover::before { opacity: 1; }
.quote-mark { width: 34px; height: 26px; fill: var(--fg); }
.quote blockquote p { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; letter-spacing: -.012em; color: #D5D5D5; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--fg-dim-2); }
.quote figcaption::before { content: ''; width: 28px; height: 1px; background: var(--fg); }
.quotes-note { margin-top: 22px; font-size: 13px; color: var(--fg-dim); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } .quote { min-height: 0; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.faq-aside .section-intro { justify-self: start; }
.faq-stage { height: 38vh; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: -.015em; transition: color .2s; }
.faq-item summary:hover h3 { color: #fff; }
.faq-icon {
  position: relative; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--rule-2); border-radius: 50%;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease-expo);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--fg); transform: translate(-50%, -50%);
  transition: transform .45s var(--ease-expo), background .3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--fg); }
.faq-item[open] .faq-icon { background: var(--fg); border-color: var(--fg); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #000; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 64px 30px 0; color: var(--fg-2); max-width: 64ch; }
.faq-item::details-content {
  block-size: 0; overflow-y: clip;
  transition: block-size .5s var(--ease-expo), content-visibility .5s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: relative; top: 0; }
  .faq-stage { height: 26vh; }
  .faq-answer { padding-right: 0; }
}

/* ---------- call to action with the e-mail one-liner ---------- */
.cta { text-align: center; padding-block: clamp(112px, 14vw, 208px); }
.cta-title { max-width: 15ch; margin-inline: auto; font-size: var(--fs-2xl); font-weight: 500; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.cta-stage { height: clamp(120px, 22vh, 240px); margin-block: clamp(24px, 4vw, 48px); }
.mail-line { container-type: inline-size; width: 100%; }
.mail-big {
  display: block; width: 100%;
  font-family: var(--font-mono); font-weight: 500;
  font-size: calc(100cqi / (var(--chars) * .61));
  line-height: 1.05; letter-spacing: 0; white-space: nowrap;
  color: var(--fg); text-align: center;
}
.mail-big .ch { display: inline-block; white-space: pre; transition: transform .4s var(--ease-expo), color .3s var(--ease); }
.mail-big .ma { color: transparent; -webkit-text-stroke: max(1px, .02em) var(--fg); }
@media (hover: hover) {
  .mail-big .ch:hover { transform: translateY(-.16em); }
  .mail-big .ch:hover + .ch, .mail-big .ch:has(+ .ch:hover) { transform: translateY(-.08em); }
}
.mail-hint { margin-top: 14px; font-size: 13px; color: var(--fg-dim); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-list { font-style: normal; border-top: 1px solid var(--rule); }
.contact-row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.cr-key { color: var(--fg-dim); font-size: var(--fs-sm); }
.cr-value {
  justify-self: start; text-align: left;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -.01em; color: var(--fg);
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s var(--ease-expo);
}
.cr-value:hover { background-size: 100% 1px; }
.mail-inline { font-family: var(--font-mono); font-size: clamp(15px, 1.5vw, 20px); letter-spacing: -.01em; }
.mail-inline .at { color: var(--fg-dim-2); }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--rule-2); border-radius: 50%; color: var(--fg-dim-2);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.icon-btn:hover { background: var(--fg); border-color: var(--fg); color: #000; }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.billing { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); background: rgba(17, 17, 17, .86); }
.billing h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: var(--fs-sm); font-weight: 500; color: var(--fg-dim-2); }
.billing h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.billing dl { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.billing dt, .billing dd { padding: 11px 0; border-bottom: 1px dashed var(--rule); }
.billing dt { padding-right: 20px; color: var(--fg-dim-2); font-size: 13px; }
.billing dd { text-align: right; font-size: 15px; }
.billing dt:last-of-type, .billing dd:last-of-type { border-bottom: 0; }
.billing .mono { font-family: var(--font-mono); font-size: 14px; }
.map {
  position: relative; overflow: hidden; margin-top: 16px; aspect-ratio: 16 / 9;
  border: 1px solid var(--rule); background-color: var(--bg-3);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center;
}
.map-ui { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; }
.map-pin { position: relative; width: 14px; height: 14px; margin-bottom: 22px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 18px var(--accent-glow); }
.map-pin::before, .map-pin::after {
  content: ''; position: absolute; inset: -12px; border: 1px solid var(--fg-dim); border-radius: 50%;
  animation: ring 2.6s var(--ease) infinite;
}
.map-pin::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.map-note { max-width: 32ch; font-size: 13px; color: var(--fg-dim); }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.85);
}
.map.loaded .map-ui { display: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .contact-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cr-key { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.site-footer { padding: 80px 0 28px; border-top: 1px solid var(--rule); background: var(--bg-4); }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 64px; }
.foot-logo { height: 24px; width: auto; fill: var(--fg); margin-bottom: 22px; }
.foot-brand p { max-width: 36ch; color: var(--fg-dim-2); font-size: var(--fs-sm); }
.foot-title { margin-bottom: 18px; color: var(--fg-dim); font-size: 13px; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a, .foot-col button { font-size: var(--fs-sm); color: var(--fg); transition: color .2s; }
.foot-col a:hover, .foot-col button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-col .mail-inline { font-size: 13px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--rule);
  color: var(--fg-dim); font-size: 13px;
}
.foot-bottom a:hover { color: var(--fg); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- toast + cursor ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  padding: 12px 20px; border-radius: 999px;
  background: var(--fg); color: #000; font-size: 14px; font-weight: 500;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease-expo);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%;
  mix-blend-mode: difference; opacity: 0;
  transition: width .35s var(--ease-expo), height .35s var(--ease-expo), margin .35s var(--ease-expo), background .25s, opacity .3s;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; border-color: #fff; }

/* ---------- entrance motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease-expo); }
.js .reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-expo); transition-delay: calc(var(--i, 0) * 42ms); }
.split.in .wi { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .split .wi { opacity: 1; transform: none; transition: none; }
  .ticker-row, .map-pin::before, .map-pin::after { animation: none; }
  .wordmark path { transition: none; }
  .svc:hover .svc-icon * { animation: none; }
  #field { transition: none; }
}
