/* ==========================================================================
   JA Digital: site styles (v1, custom build)
   Plain CSS, no build step. Sections, in order:
   1 Tokens  2 Fonts  3 Base  4 Buttons & small parts  5 Header & drawer
   6 Hero  7 Devices (browser/phone mockups)  8 Services  9 SlouchFix
   10 Work  11 Process  12 About  13 Contact & form  14 Footer
   15 Privacy dialog & pages  16 Motion  17 Print
   Tokens mirror brand/TOKENS.md. Change a colour once here and it updates everywhere.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #060f2a; --navy-900: #091740; --navy-800: #0e2157; --navy-700: #14286a;
  --blue: #1f5bff; --blue-600: #1a4fe0; --blue-700: #1645c9; --blue-400: #5b8cff; --blue-300: #8fb0ff; --blue-100: #e7eeff;
  --blue-electric: #4d7dff; --green: #22c55e;
  --ink: #0b1430; --slate: #47526f; --muted: #5d6886; --line: #e2e7f3; --bg: #f5f7fc; --white: #fff;
  --on-dark: #e8edfb; --on-dark-muted: #b4bfdc;
  --danger: #b42318; --danger-line: #d92d20;
  --font-head: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(7 18 51 / 6%), 0 12px 32px -12px rgb(7 18 51 / 18%);
  --shadow-hover: 0 2px 4px rgb(7 18 51 / 6%), 0 24px 48px -18px rgb(7 18 51 / 26%);
  --shadow-lg: 0 30px 80px -24px rgb(4 10 29 / 55%);
  --ring-dark: 0 0 0 1px rgb(255 255 255 / 10%);
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fs-h1: clamp(2.125rem, 1.05rem + 5.4vw, 4.75rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
}
@media (min-width: 1024px) { :root { --header-h: 78px; } }

/* 2. Fonts (self-hosted, latin subset; fallbacks metric-matched to stop layout shift) */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/ja-space-grotesk-latin.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/ja-inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); size-adjust: 101.37%; ascent-override: 97.07%; descent-override: 28.8%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107.13%; ascent-override: 90.43%; descent-override: 22.52%; line-gap-override: 0%; }

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--slate); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
li, label, dd, figcaption { text-wrap: pretty; }
a { color: inherit; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--ink); }
.dark { color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark strong { color: var(--white); }
.container { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 1600px) { .container { max-width: calc(1300px + var(--gutter) * 2); } }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
main:focus { outline: none; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--blue-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 14px; }
.section-head__lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--slate); }
.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
.section-head--split > div { max-width: 760px; }
@media (min-width: 768px) { .section-head--split { grid-template-columns: 1fr auto; } }

/* 4. Buttons & small parts ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon, .btn:focus-visible .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); transition-duration: .08s; }
.btn--primary { color: var(--white); background: linear-gradient(180deg, #2a64ff, var(--blue-600)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 10px 28px -10px rgb(31 91 255 / 75%), 0 0 0 1px rgb(31 91 255 / 40%); }
.btn--primary:hover { background: linear-gradient(180deg, #2459f0, var(--blue-700)); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 16px 36px -12px rgb(31 91 255 / 85%), 0 0 0 1px rgb(31 91 255 / 50%); }
.btn--ghost { color: var(--white); border-color: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 4%); }
.btn--ghost:hover { border-color: var(--white); background: rgb(255 255 255 / 10%); }
.btn--light { background: var(--white); color: var(--navy-900); box-shadow: 0 10px 28px -14px rgb(0 0 0 / 60%); }
.btn--light:hover { transform: translateY(-1px); background: #f2f5ff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, currentColor, transparent 140%); }
.kicker--light { color: var(--blue-300); }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 100% 2px; }
.link .icon { width: 16px; height: 16px; }
.ticks { display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--slate); line-height: 1.5; }
.ticks .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--blue-600); stroke-width: 2.2; }

/* 5. Header & drawer ------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: var(--on-dark); background: rgb(9 23 64 / 62%); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgb(255 255 255 / 7%); transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled { background: rgb(9 23 64 / 92%); box-shadow: 0 12px 32px -20px rgb(0 0 0 / 80%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; border-radius: 999px; }
.brand__mark { width: 58px; height: 58px; flex: none; }
@media (min-width: 1024px) { .header .brand__mark { width: 60px; height: 60px; } }
.brand__name { font: 500 1.3rem/1 var(--font-head); letter-spacing: -0.01em; color: var(--white); }
.brand__name strong { font-weight: 700; color: var(--white); }
.brand__logo { display: block; width: auto; height: 40px; }
@media (min-width: 1024px) { .header .brand__logo { height: 42px; } }
.drawer__top .brand__logo { height: 40px; }
/* Neon outline: crisp thin electric-blue edge plus a soft subtle glow (header + menu logo only) */
.header .brand__logo { filter: drop-shadow(0 0 .6px #1f5bff) drop-shadow(0 0 .6px #1f5bff) drop-shadow(0 0 5px rgb(31 91 255 / 55%)); }
/* Mobile: solid electric-blue primary buttons, bolder and crisper, no accent hover glow */
@media (max-width: 599px) { html .btn--primary, html .btn--primary:hover, html:root .btn--primary:hover { background: var(--blue); font-weight: 700; letter-spacing: .005em; box-shadow: 0 8px 22px -10px rgb(31 91 255 / 70%), 0 0 0 1px rgb(31 91 255 / 55%); } }
.nav { display: none; margin-inline: auto; }
.nav__list { display: flex; gap: clamp(2px, .6vw, 8px); }
.nav__list a { position: relative; display: block; padding: 10px clamp(8px, .9vw, 14px); font-size: .9688rem; font-weight: 500; color: var(--on-dark-muted); text-decoration: none; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__list a:hover { color: var(--white); background: rgb(255 255 255 / 6%); }
.nav__list a.is-active { color: var(--white); }
.nav__list a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--blue-300); box-shadow: 0 0 10px var(--blue); }
.header__cta { display: none; margin-left: auto; }
.menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / 16%); border-radius: 14px; background: rgb(255 255 255 / 5%); color: var(--white); cursor: pointer; }
.menu-btn__bars { display: grid; gap: 6px; width: 20px; }
.menu-btn__bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn__bars { gap: 5px; }
@media (min-width: 600px) { .header__cta { display: inline-flex; } .menu-btn { margin-left: 0; } }
@media (min-width: 1100px) { .nav { display: block; } .header__cta { margin-left: 0; } .menu-btn { display: none; } }
/* Without JavaScript the menu button can't open the drawer, so hide it and show the CTA instead (the footer lists every section). */
html:not(.js) .menu-btn { display: none; }
html:not(.js) .header__cta { display: inline-flex; }
@media (max-width: 379px) { html:not(.js) .header__cta { padding-inline: 16px; } }
.drawer { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: radial-gradient(70% 50% at 100% 0%, rgb(31 91 255 / 35%), transparent 70%), var(--navy-900); color: var(--on-dark); animation: drawer-in .25s var(--ease); }
.drawer[hidden] { display: none; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.drawer__top .brand__mark { width: 54px; height: 54px; }
.drawer__close { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 14px; background: rgb(255 255 255 / 5%); color: var(--white); cursor: pointer; }
.drawer__nav { padding-block: 16px 40px; }
.drawer__nav ul { margin-bottom: 28px; }
.drawer__nav li + li { border-top: 1px solid rgb(255 255 255 / 8%); }
.drawer__nav ul a { display: block; padding: 16px 4px; font: 600 1.5rem/1.2 var(--font-head); color: var(--white); text-decoration: none; }
.drawer__nav ul a:hover { color: var(--blue-300); }
body.is-locked { overflow: hidden; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 7vw, 92px)) 0 clamp(72px, 9vw, 128px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(60% 60% at 82% 38%, rgb(31 91 255 / 52%), transparent 70%),
  radial-gradient(45% 45% at 40% 0%, rgb(77 125 255 / 18%), transparent 70%),
  radial-gradient(45% 45% at 0% 100%, rgb(31 91 255 / 28%), transparent 70%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.hero__bg::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(143 176 255 / 45%), transparent); }
.aurora { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.aurora--a { width: 46vmax; height: 30vmax; right: -10vmax; top: 8%; background: radial-gradient(closest-side, rgb(77 125 255 / 70%), transparent); animation: drift-a 18s ease-in-out infinite alternate; }
.aurora--b { width: 34vmax; height: 24vmax; left: -12vmax; bottom: -8vmax; background: radial-gradient(closest-side, rgb(77 160 255 / 45%), transparent); animation: drift-b 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(6vmax, -3vmax, 0) scale(1.1); } }
.hero__grid { display: grid; gap: clamp(52px, 7vw, 80px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 13%); font-size: .875rem; font-weight: 500; color: var(--on-dark); box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(34 197 94 / 55%); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(34 197 94 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0%); } }
.hero__title { margin-top: 24px; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.045em; color: var(--white); text-wrap: initial; }
.hero__line { display: block; white-space: nowrap; }
.hero__accent { color: var(--blue-300); padding-bottom: .06em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__accent { background: linear-gradient(92deg, #a9c2ff 0%, #6f98ff 45%, #4d7dff 75%, #8fb0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero__lead { margin-top: 24px; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.livework { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); max-width: 34rem; }
.livework__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.livework ul { display: flex; flex-wrap: wrap; gap: 8px; }
.livework a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 999px; font-size: .9063rem; font-weight: 500; text-decoration: none; color: var(--white); background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); transition: background-color .2s, border-color .2s; }
.livework a:hover { background: rgb(143 176 255 / 14%); border-color: rgb(143 176 255 / 40%); }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
  .hero__title { margin-top: 28px; }
}

/* Mockup stack (hero) */
.stack { position: relative; width: 100%; max-width: 700px; margin-inline: auto; aspect-ratio: 1.3 / 1; }
.stack__glow { position: absolute; inset: 8% 6% 4% 10%; border-radius: 40%; background: radial-gradient(closest-side, rgb(31 91 255 / 70%), transparent); filter: blur(40px); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { from { transform: scale(.94); opacity: .6; } to { transform: scale(1.06); opacity: .95; } }
.stack > .stack__back { position: absolute; top: 0; right: 0; width: 62%; opacity: .92; transform: rotate(1.2deg); }
.stack > .stack__front { position: absolute; left: 0; top: 19%; width: 80%; }
.stack > .stack__phone { position: absolute; right: 2%; bottom: 0; width: 24.5%; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* 7. Devices --------------------------------------------------------------- */
.device { margin: 0; position: relative; }
.device--browser { container-type: inline-size; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg), 0 0 0 1px rgb(9 23 64 / 8%); }
.dark .device--browser { box-shadow: var(--shadow-lg), var(--ring-dark), 0 0 60px -20px rgb(31 91 255 / 50%); }
.device__bar { display: flex; align-items: center; gap: 3cqw; height: max(20px, 5.4cqw); padding-inline: max(10px, 2.6cqw); background: linear-gradient(180deg, #f6f8fc, #e9edf5); border-bottom: 1px solid #dde3ef; }
.device__dots { display: flex; gap: max(4px, 1cqw); }
.device__dots i { width: max(6px, 1.5cqw); height: max(6px, 1.5cqw); border-radius: 50%; background: #ff5f57; }
.device__dots i:nth-child(2) { background: #febc2e; }
.device__dots i:nth-child(3) { background: #28c840; }
.device__url { flex: 1; max-width: 56%; margin-inline: auto; padding: 0 2cqw; height: max(13px, 3.4cqw); border-radius: 999px; background: var(--white); border: 1px solid #dde3ef; font: 500 max(8px, 1.9cqw)/max(11px, 3.2cqw) var(--font-body); color: #4b5670; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-4cqw); }
.device--browser .device__screen { aspect-ratio: 16 / 10; background: var(--bg); }
.device--browser .device__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Phone: the frame is the figure. The status strip (in the site's own colour) holds the
   Dynamic-Island notch, so the screenshot always starts below it and is never cropped at the top. */
.device--phone { container-type: inline-size; padding: 0; border-radius: 15% / 7%; background: linear-gradient(145deg, #2a3350, #0d1426 40%, #0a1020); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 14%), 0 0 0 1px rgb(0 0 0 / 30%); }
.device--phone .device__screen { --sb: #fff; position: relative; margin: 3.4cqw; border-radius: 11.5cqw; overflow: hidden; background: var(--sb); }
.device--sb-dark .device__screen { --sb: #0b1220; }
.device__status { position: relative; display: block; height: 11cqw; background: var(--sb); }
.device__notch { position: absolute; left: 50%; top: 2.8cqw; width: 30%; height: 6cqw; transform: translateX(-50%); border-radius: 999px; background: #05070d; }
.device__view { aspect-ratio: 390 / 800; overflow: hidden; }
.device__view picture, .device--phone .device__img { width: 100%; height: 100%; }
.device--phone .device__img { object-fit: cover; object-position: top center; }

/* Desktop + phone pair (SlouchFix and client work) */
.pair { position: relative; padding: 0 0 12% 0; }
.pair__desk { width: 86%; }
.pair > .pair__phone { position: absolute; right: 0; bottom: 0; width: 25%; }

/* 8. Services -------------------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--white), var(--bg)); }
.platforms { display: flex; gap: 10px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; color: var(--ink); font-size: .9375rem; }
.platforms .icon { width: 20px; height: 20px; color: var(--blue-600); }
.services__grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--blue), var(--blue-300)); opacity: 0; transition: opacity .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cdd8f3; }
.card:hover::before { opacity: 1; }
.service { padding: clamp(24px, 3vw, 34px); display: grid; align-content: start; gap: 14px; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--white); background: linear-gradient(145deg, #4d7dff, var(--blue-600)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 12px 24px -10px rgb(31 91 255 / 70%); }
.service__icon .icon { width: 26px; height: 26px; }
.service__num { font: 700 2.25rem/1 var(--font-head); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px #c9d4ef; }
.service__outcome { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.service .ticks { margin-top: 4px; font-size: 1rem; }
@media (min-width: 768px) and (max-width: 1023px) {
  .service { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 36px; }
  .service > :not(.ticks) { grid-column: 1; }
  .service .ticks { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .service__outcome { border-bottom: 0; padding-bottom: 0; }
}
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cta-strip { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 20px; align-items: center; margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 3.4vw, 36px) clamp(24px, 4vw, 44px); border-radius: var(--radius); color: var(--on-dark); background: radial-gradient(60% 140% at 100% 0%, rgb(31 91 255 / 55%), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--navy-900)); box-shadow: var(--shadow-lg); }
.cta-strip::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); }
.cta-strip p { font-size: 1.125rem; max-width: 46rem; }
.cta-strip p span { display: block; text-wrap: balance; }
.cta-strip strong { text-wrap: balance; color: var(--white); display: block; font: 700 1.35rem/1.25 var(--font-head); margin-bottom: 4px; letter-spacing: -0.015em; }
@media (min-width: 768px) { .cta-strip { grid-template-columns: 1fr auto; gap: 32px; } }

/* 9. SlouchFix --------------------------------------------------------------- */
.flagship { overflow: hidden; isolation: isolate; background: var(--navy-900); }
.flagship__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 60% at 80% 30%, rgb(31 91 255 / 46%), transparent 70%),
  radial-gradient(45% 45% at 15% 5%, rgb(77 125 255 / 18%), transparent 70%),
  radial-gradient(40% 50% at 10% 90%, rgb(61 219 176 / 10%), transparent 70%),
  linear-gradient(160deg, var(--navy-800), var(--navy-950) 75%); }
.flagship__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 60% at 80% 30%, #000, transparent); mask-image: radial-gradient(60% 60% at 80% 30%, #000, transparent); }
.flagship__grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
.flagship h2 { margin-top: 14px; max-width: 18ch; }
.meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.meta-tags li { padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: rgb(143 176 255 / 12%); color: var(--blue-300); border: 1px solid rgb(143 176 255 / 24%); white-space: nowrap; }
.flagship__lead { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.6; max-width: 36rem; }
.chips { display: grid; gap: 10px 20px; margin: 28px 0 34px; }
.chips li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--white); white-space: nowrap; }
@media (max-width: 379px) { .chips li { font-size: .9063rem; } }
@media (min-width: 1024px) and (max-width: 1279px) { .chips { display: flex; flex-wrap: wrap; gap: 10px 22px; } }
.chips .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: var(--white); background: rgb(77 125 255 / 30%); stroke-width: 2.4; }
@media (min-width: 480px) { .chips { grid-template-columns: repeat(2, minmax(0, max-content)); } }
@media (min-width: 1024px) { .flagship__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.pair--lg { max-width: 680px; margin-inline: auto; }
.figures { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(24px, 3.6vw, 40px); border-radius: 24px; background: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 3%)); border: 1px solid rgb(255 255 255 / 11%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 30px 60px -30px rgb(0 0 0 / 60%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.figures__head { display: grid; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.figures__head h3 { font-size: 1.125rem; letter-spacing: .02em; }
.figures__note { font-size: .9375rem; color: var(--on-dark-muted); max-width: 40rem; }
@media (min-width: 900px) { .figures__head { grid-template-columns: auto 1fr; align-items: baseline; gap: 24px; } .figures__note { justify-self: end; text-align: right; } }
.stats { display: grid; gap: 14px; }
.stat { padding: 22px 24px; border-radius: 16px; background: linear-gradient(180deg, rgb(9 23 64 / 70%), rgb(6 15 42 / 70%)); border: 1px solid rgb(143 176 255 / 16%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%); }
.stat__value { font: 700 clamp(2.5rem, 2rem + 2.4vw, 3.6rem)/1 var(--font-head); letter-spacing: -0.025em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat__num { display: inline-grid; }
.stat__num > span { grid-area: 1 / 1; }
.stat__sizer { visibility: hidden; }
.stat__plus { color: var(--blue-electric); text-shadow: 0 0 24px rgb(77 125 255 / 60%); }
.stat__label { margin-top: 12px; font-weight: 600; color: var(--white); }
.stat__sub { margin-top: 2px; font-size: .9375rem; color: var(--on-dark-muted); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 10. Client work ------------------------------------------------------------ */
.work { background: var(--bg); }
.cases { display: grid; gap: clamp(28px, 4vw, 44px); }
.case { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.6vw, 28px); border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.case__visual { padding: clamp(22px, 4vw, 44px) clamp(18px, 3.6vw, 40px) clamp(14px, 2.6vw, 28px); border-radius: 18px; background: radial-gradient(80% 80% at 70% 20%, rgb(31 91 255 / 18%), transparent 70%), linear-gradient(160deg, #eef3ff, #dfe7fb); overflow: hidden; }
.case__body { padding: 4px clamp(6px, 2vw, 20px) clamp(10px, 2vw, 20px); }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.case__sector { font-size: .9375rem; color: var(--muted); text-wrap: balance; }
.case h3 { margin-top: 14px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; }
.case__summary { margin-top: 12px; font-size: 1.0625rem; }
.case .ticks { margin: 22px 0 26px; }
@media (min-width: 1024px) {
  .case { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .case--flip .case__visual { order: 2; }
}

/* 11. Process ---------------------------------------------------------------- */
.process { background: var(--white); }
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: linear-gradient(180deg, var(--white), #fafbff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 700 1.05rem/1 var(--font-head); color: var(--white); background: radial-gradient(circle at 30% 25%, #6f98ff, var(--blue-600) 70%); box-shadow: 0 0 0 6px var(--blue-100), 0 12px 24px -10px rgb(31 91 255 / 70%); }
.step h3 { margin-top: 22px; }
.step p { margin-top: 10px; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: calc(clamp(24px, 3vw, 32px) + 26px); left: calc(clamp(24px, 3vw, 32px) + 70px); right: -24px; height: 2px; background: linear-gradient(90deg, rgb(26 79 224 / 45%), rgb(26 79 224 / 5%)); }
}

/* 12. About ------------------------------------------------------------------ */
.about { background: var(--bg); }
.about__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 22px; padding: clamp(36px, 6vw, 64px) 24px clamp(28px, 4vw, 40px); border-radius: 28px; background: radial-gradient(60% 60% at 50% 40%, rgb(31 91 255 / 45%), transparent 70%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 8%); }
.about__glow { position: absolute; z-index: -1; top: 12%; left: 50%; width: 60%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgb(77 125 255 / 50%); filter: blur(50px); animation: glow 6s ease-in-out infinite alternate; }
.about__mark { width: clamp(150px, 40vw, 260px); height: auto; filter: drop-shadow(0 20px 40px rgb(0 0 0 / 45%)); }
.about__place { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 12%); color: var(--white); font-weight: 500; }
.about__place .icon { width: 18px; height: 18px; color: var(--blue-300); }
.about__copy h2 { margin-top: 14px; }
.about__text { margin-top: 20px; display: grid; gap: 1em; font-size: var(--fs-lead); }
.values { display: grid; gap: 14px; margin-top: 30px; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.values__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); }
.values__icon .icon { width: 22px; height: 22px; }
.values p { padding-top: 9px; line-height: 1.5; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .about__panel { min-height: 460px; align-content: center; } }

/* 13. Contact & form --------------------------------------------------------- */
.contact { overflow: hidden; isolation: isolate; background: var(--navy-950); }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 0% 0%, rgb(31 91 255 / 40%), transparent 70%), radial-gradient(45% 50% at 100% 100%, rgb(31 91 255 / 18%), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.contact__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: start; }
.contact h2 { margin-top: 14px; }
.contact__lead { margin-top: 18px; font-size: var(--fs-lead); max-width: 34rem; }
.routes { display: grid; gap: 12px; margin-top: 32px; }
.route { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 16px; text-decoration: none; color: var(--white); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.route:hover { background: rgb(143 176 255 / 10%); border-color: rgb(143 176 255 / 35%); transform: translateX(3px); }
.route__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; background: linear-gradient(145deg, #4d7dff, var(--blue-600)); box-shadow: 0 10px 20px -10px rgb(31 91 255 / 80%); }
.route__icon .icon { width: 22px; height: 22px; }
.route__text { display: grid; min-width: 0; }
.route__label { font-size: .8125rem; color: var(--on-dark-muted); }
.route__value { font-weight: 600; overflow-wrap: anywhere; }
.route__go { margin-left: auto; width: 18px; height: 18px; color: var(--blue-300); }
@media (max-width: 399px) { .route { gap: 12px; padding: 12px 14px 12px 12px; } .route__icon { width: 40px; height: 40px; border-radius: 12px; } .route__go { display: none; } .route__value { font-size: .9rem; } }
.contact__note { display: flex; gap: 10px; margin-top: 18px; font-size: .9688rem; color: var(--on-dark-muted); max-width: 34rem; }
.contact__note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--blue-300); }
.contact__note + .contact__note { margin-top: 10px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.form-card { position: relative; padding: clamp(22px, 3.6vw, 40px); border-radius: 24px; background: var(--white); color: var(--slate); box-shadow: 0 40px 90px -30px rgb(0 0 0 / 70%), 0 0 0 1px rgb(255 255 255 / 10%), 0 0 80px -30px rgb(31 91 255 / 60%); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.req { color: var(--blue-600); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd6e6; border-radius: var(--radius-sm); background: #fbfcff; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; padding-right: 42px; background: #fbfcff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6886' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field textarea { min-height: 136px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b6c1db; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background-color: var(--white); box-shadow: 0 0 0 4px rgb(26 79 224 / 16%); }
.field [aria-invalid="true"] { border-color: var(--danger-line); background-color: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(217 45 32 / 14%); }
.field__hint { font-size: .875rem; color: var(--muted); }
.field__err { font-size: .875rem; font-weight: 500; color: var(--danger); }
.form__summary { padding: 12px 16px; border-radius: var(--radius-sm); background: #fef3f2; border: 1px solid #fecdca; color: var(--danger); font-weight: 600; font-size: .9375rem; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: .9375rem; color: var(--slate); }
.form__privacy a { color: var(--blue-600); font-weight: 600; text-underline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__req { font-size: .875rem; color: var(--muted); }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--navy-900); font-size: .9375rem; }
.form__status a { color: var(--blue-600); font-weight: 600; }
.form__status.is-error { background: #fef3f2; color: var(--danger); }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.form__success { display: grid; justify-items: center; gap: 16px; padding: 40px 12px; text-align: center; color: var(--ink); font-size: 1.125rem; font-weight: 500; }
.form__success[hidden] { display: none; }
.form__success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, #34d399, #16a34a); box-shadow: 0 14px 30px -12px rgb(22 163 74 / 70%); }
.form__success-icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
@media (max-width: 420px) { .form__actions .btn { width: 100%; } }

/* 14. Footer ----------------------------------------------------------------- */
.footer { position: relative; background: linear-gradient(180deg, #071233, var(--navy-950)); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid rgb(255 255 255 / 7%); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgb(143 176 255 / 40%), transparent); }
.footer__grid { display: grid; gap: 36px 28px; }
.footer__brand p { margin-top: 18px; max-width: 26rem; color: var(--on-dark-muted); font-size: .9688rem; }
.brand__mark--footer { width: 64px; height: 64px; }
.footer__col h2 { font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 4px; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--on-dark); text-decoration: none; font-size: .9688rem; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__ig .icon { width: 18px; height: 18px; }
.footer__muted { color: var(--on-dark-muted); font-size: .9688rem; padding-top: 6px; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 9%); font-size: .9063rem; color: var(--on-dark-muted); }
.footer__base a { color: var(--on-dark); text-underline-offset: 3px; display: inline-flex; gap: .35em; min-height: 32px; align-items: center; }
.footer__base a:last-child { margin-left: auto; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, max-content); } }

/* 15. Privacy dialog & pages ------------------------------------------------- */
.pdialog { width: min(680px, calc(100vw - 24px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--slate); box-shadow: 0 40px 100px -20px rgb(4 10 29 / 70%); }
.pdialog::backdrop { background: rgb(6 15 42 / 70%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pdialog[open] { animation: dialog-in .3s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pdialog__inner { display: grid; grid-template-rows: auto 1fr; max-height: inherit; }
.pdialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.pdialog__head h2 { font-size: 1.4rem; }
.pdialog__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; }
.pdialog__body { overflow-y: auto; padding: 20px 24px 28px; font-size: .9688rem; }
.pdialog__date { color: var(--muted); font-size: .875rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.0625rem; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .45em; }
.prose li::marker { color: var(--blue-600); }
.prose a { color: var(--blue-600); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose__back { margin-top: 2.5em !important; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(48px, 6vw, 72px); background: var(--navy-900); }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); letter-spacing: -0.04em; }
.page-hero__lead { margin-top: 14px; color: var(--on-dark-muted); }
.nf { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; background: var(--navy-900); padding-block: 48px; }
.nf__brand { margin-bottom: 48px; }
.nf h1 { margin-top: 14px; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); letter-spacing: -0.045em; }
.nf__lead { margin-top: 16px; font-size: var(--fs-lead); }

/* 16. Motion --------------------------------------------------------------- */
/* Reveal only runs when JS is on (html.js); without JS everything is visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .services__grid .reveal:nth-child(2), .js .stats .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .1s; }
.js .services__grid .reveal:nth-child(3), .js .stats .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .aurora, .stack__glow, .about__glow, .stack__phone, .status__dot { animation: none !important; }
}

/* 17. Print ---------------------------------------------------------------- */
@media print {
  .header, .drawer, .hero__bg, .aurora, .form-card, .skip { display: none !important; }
  .dark, .hero, .flagship, .contact, .footer { background: none !important; color: #000 !important; }
  .dark h1, .dark h2, .dark h3, .dark strong { color: #000 !important; }
}

/* ==========================================================================
   JA Digital Default Layout (layout mechanics only, 3 Nov 2026)
   Hero fills the screen, container 1240 -> 1440 at >=1600 with an 18px root,
   section padding 92/64/48, header 76/68, headings keep growing on big screens.
   ========================================================================== */
:root { --section: 92px; --header-h: 76px; }
@media (min-width: 1024px) { :root { --header-h: 76px; } }
@media (max-width: 960px) { :root { --section: 64px; --header-h: 68px; } }
@media (max-width: 640px) { :root { --section: 48px; } }
@media (min-width: 961px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 56px; }
  .hero > .container { width: 100%; }
}
@media (min-width: 1600px) {
  html { font-size: 18px; }
  .container { max-width: calc(1440px + var(--gutter) * 2); }
  :root { --fs-h1: clamp(4.75rem, 4vw, 5.75rem); --fs-h2: clamp(3.25rem, 2.6vw, 4rem); }
  .stack { max-width: 820px; }
}
