/* Nexwaves – public website. Brand (logo pack): navy #0D0A1C, gradient cyan #40C9FF → magenta #E81CFF.
   Action colour = violet between the two. Type: Familjen Grotesk + IBM Plex Mono. */
/* Fonts are served from this site (assets/fonts, same files and subsets as Google Fonts; the version is in each file name). */
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-italic-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Familjen Grotesk'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-italic-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: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/familjen-grotesk-v11-400-700-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-symbols2.woff2) format('woff2'); unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-v23-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-symbols2.woff2) format('woff2'); unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-v23-500-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; }
:root {
  --ink: #0d0a1c;
  --ink-2: #140f29;
  --ink-3: #1f1840;
  --blue: #6a2cff;
  --blue-hi: #8445ff;
  --cyan: #40c9ff;
  --mag: #e81cff;
  --grad: linear-gradient(100deg, var(--cyan), #8f6bff 50%, var(--mag));
  --lav: #c9b8ff;
  --lav-2: #e6ddff;
  --paper: #f3f2ee;
  --paper-2: #e9e8e2;
  --white: #ffffff;
  --text: #171717;
  --muted: #5c5c68;
  --muted-d: #a3a3c2;
  --line: rgba(23, 23, 23, .14);
  --line-d: rgba(189, 189, 255, .16);
  --ok: #3ddc97;
  --sans: 'Familjen Grotesk', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.04; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lav); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--blue); }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- labels ---------- */
.label, .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.label span { color: var(--blue); }
.label.light, .eyebrow { color: var(--muted-d); }
.label.light span { color: var(--lav); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--lav); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hi); }
.btn-lav { background: var(--lav); color: var(--ink); }
.btn-lav:hover { background: #fff; }
.btn-ghost { color: #fff; border-color: var(--line-d); }
.btn-ghost:hover, .btn-ghost.is-on { border-color: var(--lav); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-line-dark { color: var(--text); border-color: var(--line); }
.btn-line-dark:hover { border-color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- top bar & header ---------- */
.topbar { background: #04040e; color: var(--muted-d); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; border-bottom: 1px solid var(--line-d); }
.topbar-in { display: flex; justify-content: flex-end; align-items: center; height: 36px; gap: 16px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 24px; }
.status { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 10, 28, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--line-d); background: rgba(13, 10, 28, .9); }
.nav-in { display: flex; align-items: center; height: 76px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .2em; font-size: 17px; flex: none; }
.brand img { height: 40px; width: auto; }
.brand-full img { height: 64px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .m-only { display: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-d); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(56px, 9vw, 128px) 0 0; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 10%, rgba(112, 52, 255, .45), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(189, 189, 255, .10), transparent 70%); }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; z-index: -1; pointer-events: none; mask-image: linear-gradient(180deg, transparent 0%, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: end; }
.hero.has-img .hero-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(46px, 8.2vw, 124px); font-weight: 600; letter-spacing: -.045em; line-height: .94; max-width: 13ch; margin-bottom: 30px; }
.hero.has-img h1 { font-size: clamp(44px, 6.6vw, 104px); }
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 500; color: var(--lav); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, .74); max-width: 560px; line-height: 1.5; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fig { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-d); }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.hero-fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 10, 28, .85)); }
.hero-fig figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(64px, 9vw, 120px) 0 0; border-top: 1px solid var(--line-d); }
.stat { padding: 26px 24px 34px 0; border-right: 1px solid var(--line-d); margin: 0; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 14px; }
.stat dd { margin: 0; font-size: clamp(38px, 4.6vw, 66px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- client logos ---------- */
.clients { background: var(--ink); color: #fff; padding: 56px 0 64px; border-top: 1px solid var(--line-d); }
.clients-head .label { margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* logos keep their own colours; each tile gets the logo's edge colour (data-bg, set by site.js) so square logos sit seamlessly */
.marquee-row { display: flex; align-items: center; gap: 16px; padding: 0 8px; margin: 0; list-style: none; }
.tile { flex: none; position: relative; width: 176px; height: 112px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .35s var(--ease), box-shadow .35s; }
.tile a { position: absolute; inset: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
/* Tiles in the site's own two tones (render.js tile() picks the class from the logo's background): logos drawn on white sit on
   lavender – "darken" shows the lavender wherever the image is lighter than it, so the white disappears; logos drawn on black sit
   on deep violet – "lighten" does the same for their black. The logo's own colours stay as they are. A logo on any other colour
   keeps a tile in that colour (data-bg, set in site.js). render.js DARK_TILE must stay the same colour as --ink-3. */
.tile.t-light, .tile.t-dark { isolation: isolate; }
.tile.t-light { background: var(--lav-2); }
.tile.t-light img { mix-blend-mode: darken; }
.tile.t-dark { background: var(--ink-3); box-shadow: 0 0 0 1px var(--line-d); }
.tile.t-dark img { mix-blend-mode: lighten; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(201, 184, 255, .5), 0 18px 40px -18px rgba(150, 70, 255, .6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.paper { background: var(--paper); color: var(--text); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.sec-head h2, .why-head h2, .about-copy h2, .contact-copy h2, .voice-copy h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -.035em; line-height: .98; }
.sec-text { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0; }
.sec-head.light h2 { color: #fff; }

/* services: editorial index instead of cards */
.services { padding: clamp(88px, 11vw, 160px) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); counter-reset: s; }
.svc { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .9fr) 56px; gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .35s; }
.svc::before { content: ''; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--blue); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.svc-n { font-family: var(--mono); font-size: 13px; color: var(--blue); padding-top: 8px; transition: color .35s; }
.svc h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.025em; line-height: 1.05; }
.svc p { margin: 4px 0 0; color: var(--muted); transition: color .35s; }
.tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .35s, color .35s; }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.svc-go .ic { width: 20px; height: 20px; }
.svc-go::after { content: ''; position: absolute; inset: 0; }
@media (hover: hover) {
  .svc:hover { color: #fff; }
  .svc:hover::before { transform: scaleY(1); }
  .svc:hover .svc-n, .svc:hover p { color: var(--lav-2); }
  .svc:hover .tags li { border-color: rgba(255, 255, 255, .35); }
  .svc:hover .svc-go { background: #fff; color: var(--blue); border-color: #fff; transform: rotate(-45deg); }
}

/* hosted telephony */
.voice { background: var(--ink); color: #fff; padding: clamp(88px, 11vw, 160px) 0; overflow: hidden; }
.voice::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 50%, rgba(112, 52, 255, .35), transparent 70%); pointer-events: none; }
.voice-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.voice-copy > div p { color: rgba(255, 255, 255, .74); font-size: 18px; }
.voice-copy h2 { margin-bottom: 28px; }
.points { list-style: none; padding: 0; margin: 32px 0 40px; border-top: 1px solid var(--line-d); }
.points li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line-d); position: relative; }
.points li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 16px; height: 8px; margin-top: -6px; border-left: 2px solid var(--lav); border-bottom: 2px solid var(--lav); transform: rotate(-45deg); }
.voice-visual { position: relative; }
.voice-photo { position: absolute; right: -8%; top: -14%; width: 70%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); opacity: .55; }
.console { position: relative; background: rgba(15, 15, 38, .88); border: 1px solid var(--line-d); border-radius: 10px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset; backdrop-filter: blur(8px); font-size: 14px; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 11.5px; color: var(--muted-d); }
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.console-bar span { margin-left: 10px; }
.console-tools { display: flex; gap: 8px; padding: 14px 16px; flex-wrap: wrap; }
.console-tools .search { flex: 1 1 220px; padding: 9px 13px; border: 1px solid var(--line-d); border-radius: 6px; color: var(--muted-d); font-size: 13px; }
.pill { padding: 8px 12px; border: 1px solid var(--line-d); border-radius: 6px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.calls { list-style: none; margin: 0; padding: 0 8px 8px; }
.calls li { display: grid; grid-template-columns: 30px minmax(0, 1.1fr) minmax(0, 1.4fr) 50px 32px; gap: 14px; align-items: center; padding: 12px 8px; border-radius: 6px; border-top: 1px solid rgba(189, 189, 255, .07); }
.calls li.on { background: rgba(150, 70, 255, .22); border-color: transparent; }
.dir { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(189, 189, 255, .1); color: var(--lav); }
.dir.out { color: var(--ok); background: rgba(61, 220, 151, .1); }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { font-family: var(--mono); font-size: 11px; color: var(--muted-d); white-space: nowrap; }
.wf { display: flex; align-items: center; gap: 2px; height: 26px; overflow: hidden; }
.wf i { flex: 1 1 0; min-width: 2px; background: rgba(189, 189, 255, .35); border-radius: 1px; }
.calls li.on .wf i.p { background: var(--lav); }
.dur { font-family: var(--mono); font-size: 12px; color: var(--muted-d); text-align: right; }
.play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; border: 1px solid var(--line-d); }
.calls li.on .play { background: var(--lav); color: var(--ink); border-color: var(--lav); }
.console-foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 11px; color: var(--muted-d); gap: 12px; flex-wrap: wrap; }

/* why */
.why { padding: clamp(88px, 11vw, 160px) 0 clamp(64px, 8vw, 120px); }
.why-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); }
.why-head { position: sticky; top: 120px; align-self: start; }
.why-head h2 { margin-bottom: 24px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.big-n { font-size: clamp(56px, 6vw, 88px); font-weight: 500; letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--blue); }
.why-list h3 { font-size: 26px; margin-bottom: 10px; }
.why-list p { color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: 200px repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--text); }
.values .label { padding-top: 24px; }
.value { padding: 24px 28px 8px; border-left: 1px solid var(--line); }
.value h3 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.value h3::before { content: ''; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.value p { color: var(--muted); margin: 0; }

/* about */
.about { background: var(--white); padding: clamp(88px, 11vw, 160px) 0; }
.about-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 60% at 30% 20%, var(--blue), var(--ink) 75%); }
.about-art .mark { width: 46%; height: auto; }
.since { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13, 10, 28, .6); padding: 7px 10px; border-radius: 3px; backdrop-filter: blur(6px); }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: var(--muted); font-size: 18px; }
.mission { margin: clamp(64px, 8vw, 112px) 0 0; padding: 40px 0 0; border-top: 1px solid var(--text); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
.mission p { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.18; letter-spacing: -.02em; margin: 0; max-width: 28ch; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 28px; margin: 64px 0 0 224px; }
.founder { margin: 0; }
.founder img, .founder .mono { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--paper); }
.founder .mono { display: grid; place-items: center; font-size: 64px; font-weight: 500; letter-spacing: -.04em; color: var(--blue); background: linear-gradient(135deg, var(--paper), var(--lav-2)); }
.founder figcaption { display: flex; flex-direction: column; padding-top: 14px; }
.founder b { font-size: 20px; font-weight: 600; }
.founder span { color: var(--muted); font-size: 15px; }

/* tech */
.tech { background: var(--ink-2); color: #fff; padding: clamp(88px, 11vw, 150px) 0; }
.tech .sec-head { grid-template-columns: 1fr; }
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.tech-col { padding: 28px 28px 32px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); transition: background .3s; }
.tech-col:hover { background: rgba(150, 70, 255, .1); }
.tech-col h3 { font-size: 20px; margin-bottom: 18px; color: var(--lav); }
.tech-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tech-col li { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border: 1px solid var(--line-d); border-radius: 999px; color: rgba(255, 255, 255, .82); }

/* doors: portal + ticket */
.doors { background: var(--ink-2); padding: 0 0 clamp(88px, 10vw, 140px); }
.doors-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.door { display: flex; flex-direction: column; min-height: 340px; padding: clamp(28px, 4vw, 48px); border-radius: 8px; text-decoration: none; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.door:hover { transform: translateY(-4px); }
.door h2 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -.04em; margin-bottom: 14px; }
.door p { max-width: 380px; font-size: 18px; }
.door .label { margin-bottom: 40px; }
.door-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.door-go .ic { transition: transform .3s var(--ease); }
.door:hover .door-go .ic, .side-card:hover .door-go .ic { transform: translateX(5px); }
.door-lav { background: var(--lav); color: var(--ink); }
.door-lav .label { color: rgba(13, 10, 28, .72); }
.door-blue { background: linear-gradient(135deg, #2f6bff, #6a2cff 50%, #b31cff); color: #fff; }
.door::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid currentColor; opacity: .18; box-shadow: 0 0 0 40px transparent, 0 0 0 41px currentColor; }

/* contact */
.contact { padding: clamp(88px, 11vw, 160px) 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-copy h2 { margin-bottom: 24px; }
.details { margin: 48px 0 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.details dd { margin: 0; }
.details a { text-decoration: none; border-bottom: 1px solid var(--line); }
.details a:hover { border-color: var(--blue); color: var(--blue); }

/* forms */
.card { background: var(--white); border-radius: 8px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 60px -30px rgba(13, 10, 28, .25); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-weight: 400; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(112, 52, 255, .12); }
.form .bad { border-color: #d0302f; background: #fff6f6; }
.form button { justify-self: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: #0b7a4b; }
.form-msg.err { color: #c02424; }

/* ---------- footer ---------- */
.foot { background: #04040e; color: rgba(255, 255, 255, .7); padding: 88px 0 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1.2fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.foot-brand p { margin-top: 20px; max-width: 300px; font-size: 15px; }
.foot h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 18px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-word { font-size: clamp(64px, 17.5vw, 270px); font-weight: 700; letter-spacing: -.04em; line-height: .8; margin: 80px 0 36px; color: transparent; -webkit-text-stroke: 1px rgba(189, 189, 255, .28); white-space: nowrap; text-align: center; user-select: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 12px; }

/* ---------- sub pages ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 90% 0%, rgba(112, 52, 255, .5), transparent 65%); }
.page-hero .hero-waves { height: 100%; opacity: .7; }
.page-hero h1 { font-size: clamp(48px, 8vw, 112px); letter-spacing: -.045em; line-height: .95; margin-bottom: 24px; }
.page-hero.small { padding: 72px 0 56px; }
.page-hero.small h1 { font-size: clamp(40px, 6vw, 72px); margin: 0; }
.support-body { padding: clamp(48px, 7vw, 96px) 0 clamp(88px, 10vw, 140px); }
.support-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.step { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.step:first-child { margin-top: 0; }
.step h2 { font-size: 24px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.prio { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.prio legend { font-size: 14px; font-weight: 600; margin-bottom: 7px; padding: 0; }
.form .prio-opt { display: block; cursor: pointer; }
.prio-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prio-opt span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background .2s; }
.prio-opt b { display: flex; align-items: center; gap: 8px; }
.prio-opt b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #999); }
.prio-opt small { font-weight: 400; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.prio-low { --c: #8a8a99; } .prio-normal { --c: var(--blue); } .prio-high { --c: #e08a00; } .prio-urgent { --c: #d0302f; }
.prio-opt input:checked + span { border-color: var(--c); background: #fff; box-shadow: inset 0 0 0 1px var(--c); }
.prio-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.side { display: grid; gap: 16px; position: sticky; top: 100px; }
.side-card { display: block; border-radius: 8px; padding: 28px; text-decoration: none; }
.side-card p { margin: 0 0 14px; }
.side-card .label { margin-bottom: 14px; }
.side-card.urgent { background: var(--ink); color: #fff; }
.big-tel { font-size: 32px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--lav); }
.side-card.lav { background: var(--lav); color: var(--ink); }
.side-card.lav .label { color: rgba(13, 10, 28, .72); }
.side-card.plain { background: var(--white); }
.next { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.next li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--blue); grid-row: span 2; padding-top: 3px; }
.next span { color: var(--muted); font-size: 15px; }
.ticket-done { text-align: left; }
.ticket-done .ref { font-family: var(--mono); font-size: clamp(32px, 4vw, 48px); color: var(--blue); letter-spacing: .02em; margin: 0 0 16px; }
.ticket-done h2 { font-size: 32px; margin-bottom: 12px; }
.ticket-done p { color: var(--muted); max-width: 520px; }
/* technology brands: slim homepage strip, /technologies page, service pages */
.brands-strip { background: var(--ink-2); color: #fff; padding: 40px 0 46px; border-top: 1px solid var(--line-d); }
.brands-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.brands-head .label { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--lav); text-decoration: none; font-weight: 600; font-size: 15px; }
.more:hover { color: #fff; }
.more .ic { transition: transform .3s var(--ease); }
.more:hover .ic { transform: translateX(4px); }
.bmarquee .marquee-track { animation-duration: 70s; }
.bmarquee .marquee-row { gap: 12px; padding: 0 6px; }
.btile { flex: none; position: relative; width: 150px; height: 70px; border-radius: 12px; background: #fff; list-style: none; box-shadow: 0 0 0 1px rgba(23, 23, 23, .06); transition: transform .3s var(--ease), box-shadow .3s; }
.btile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px 16px; }
.btile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(106, 44, 255, .35), 0 14px 30px -16px rgba(106, 44, 255, .5); }
.btiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.techs { padding: clamp(56px, 8vw, 110px) 0; }
.tgroup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.tgroup:last-child { border-bottom: 1px solid var(--line); }
.tgroup h2 { font-size: clamp(28px, 3vw, 40px); margin: 8px 0 12px; }
.tgroup p { color: var(--muted); max-width: 52ch; }
.tg-copy .tags { margin-top: 14px; }
.tg-rel { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; }
.tg-rel a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 15px; }
.tg-rel a .ic { width: 15px; height: 15px; }
.svc-article .btiles { margin-bottom: 6px; }
@media (max-width: 920px) { .tgroup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .btile { width: calc(50% - 6px); } .bmarquee .btile { width: 130px; height: 62px; } }

/* service landing pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--lav); }
.crumbs a:hover { color: #fff; }
.page-hero .hero-cta { margin-top: 8px; }
.svc h3 a, .svc-h a { color: inherit; text-decoration: none; }
.svc-h { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.025em; line-height: 1.05; }
.svc-detail { padding: clamp(56px, 8vw, 110px) 0; }
.svc-detail-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-article > p { font-size: 19px; line-height: 1.6; color: #2a2a33; max-width: 68ch; }
.svc-article > p:first-child { font-size: clamp(21px, 2vw, 26px); line-height: 1.4; color: var(--text); letter-spacing: -.01em; }
.svc-article h2 { font-size: clamp(28px, 3vw, 40px); margin: 56px 0 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 14px; height: 7px; margin-top: -6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--blue); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; }
.side-mail { margin: 10px 0 0 !important; }
.side-mail a { color: rgba(255, 255, 255, .75); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: color .2s; }
.side-links a:hover { color: var(--blue); }
.side-links .ic { width: 16px; height: 16px; }
.foot-svc a { font-size: 14px; }
@media (max-width: 920px) { .svc-detail-in { grid-template-columns: minmax(0, 1fr); } .checks { grid-template-columns: 1fr; } }
.prose-sec { padding: 64px 0 120px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p { color: #333; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .dot { animation: none; }
  /* no movement: show every logo once in a wrapped grid */
  .marquee { mask-image: none; -webkit-mask-image: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
  .marquee-track { width: auto; }
  .marquee-row { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-row[aria-hidden] { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) 48px; }
  .svc .tags { grid-column: 2 / 4; grid-row: 2; }
  .svc-go { grid-column: 4; grid-row: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .founders { margin-left: 0; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values .label { grid-column: 1 / -1; padding-bottom: 8px; }
  .value:nth-child(2) { border-left: 0; padding-left: 0; }
  .mission { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .topbar-links a:not(:last-child) { display: none; }
  /* .nav has backdrop-filter, so it is the containing block: the menu hangs directly under the header */
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); padding: 8px var(--gut) 24px; border-bottom: 1px solid var(--line-d); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
  .nav-links a::after { display: none; }
  .nav-links .m-only { display: block; }
  .burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .hero.has-img .hero-in { grid-template-columns: 1fr; }
  .hero-fig { aspect-ratio: 16 / 10; }
  .sec-head { grid-template-columns: 1fr; }
  .voice-in, .why-in, .about-in, .contact-in, .support-in { grid-template-columns: minmax(0, 1fr); }
  .why-head, .side { position: static; }
  .voice-photo { display: none; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-media { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }  /* phone: the menu already has ticket + client login */
  .nav-in { height: 64px; gap: 12px; }
  .nav-cta .btn-lav { padding: 9px 13px; font-size: 14px; }
  .nav-cta .btn-lav .ic { display: none; }
  .brand { font-size: 15px; letter-spacing: .16em; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 26px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-d); }
  .stat:nth-child(even) { padding-left: 16px !important; }
  .svc { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 8px 14px; padding: 24px 0; }
  .svc p, .svc .tags { grid-column: 2 / 4; grid-row: auto; }
  .svc-go { grid-column: 3; grid-row: 1; width: 40px; height: 40px; }
  .calls li { grid-template-columns: 28px minmax(0, 1fr) 44px 30px; }
  .calls .wf { display: none; }
  .why-list li { grid-template-columns: 1fr; gap: 12px; }
  .values { grid-template-columns: 1fr; }
  .value { border-left: 0; padding: 20px 0 4px; border-top: 1px solid var(--line); }
  .founders { grid-template-columns: 1fr 1fr; gap: 14px; }
  .founder b { font-size: 16px; }
  .founder span { font-size: 13px; }
  .tech-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .prio { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .details div { grid-template-columns: 1fr; gap: 4px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- page speed ----------
   Sections below the first screen are laid out and painted only when they come near the viewport: the first layout of the
   long homepage took ~350 ms on a slow phone (Lighthouse "total blocking time"). The remembered size keeps the scrollbar steady. */
.clients, .services, .voice, .why, .about, .doors, .contact, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
