/* =========================================================================
   NovaCrest Tech: site styles
   Dark, glass-and-gradient visual system built on the brand palette.
   ========================================================================= */

:root {
  color-scheme: dark;
  --bg: #080E1C;
  --bg-2: #111827;
  --card: #101B30;
  --card-2: #0C1527;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --violet: #A78BFA;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --soft: #CBD5E1;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --danger: #F87171;
  --danger-text: #FCA5A5;
  --ok: #34D399;
  --grad: linear-gradient(120deg, #22D3EE 0%, #3B82F6 50%, #A78BFA 100%);
  --grad-btn: linear-gradient(120deg, #2563EB 0%, #3B82F6 45%, #7C6CF6 100%);
  --grad-text: linear-gradient(100deg, #4F8EF7 0%, #7D8BF8 50%, #B49CFB 100%);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --header-h: 72px;
  --gutter: max(20px, 4vw, env(safe-area-inset-left, 0px));
  --font-display: 'Sora', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; margin: 0; color: var(--text); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(59, 130, 246, .35); color: #fff; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: var(--r-sm); background: var(--blue); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: #8EC5FF;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; border-radius: 2px; background: var(--grad); }
.hero .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, .35vw + 1rem, 1.2rem); line-height: 1.65; color: var(--muted); }
.subhead { font: 600 13px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fine-print { font-size: 13.5px; color: #7C8BA1; line-height: 1.6; }
.fine-print.center { text-align: center; max-width: 760px; margin: 28px auto 0; }
.text-link { color: #8EC5FF; text-decoration: underline; text-decoration-color: rgba(142, 197, 255, .35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; overflow-wrap: anywhere; }
.text-link:hover { color: #fff; text-decoration-color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  font: 600 15px/1.2 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  isolation: isolate;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }
.btn-lg { --pad-y: 15px; --pad-x: 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad-btn); box-shadow: 0 10px 30px -12px rgba(59, 130, 246, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255, 255, 255, .18), transparent 55%); opacity: 0; transition: opacity .25s; z-index: -1; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover .ico { transform: translateX(2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--text); background: rgba(148, 163, 184, .06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(148, 163, 184, .12); border-color: rgba(148, 163, 184, .4); transform: translateY(-1px); }
.link-btn { color: inherit; text-align: left; font: inherit; }
.link-btn.inline { color: #8EC5FF; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--muted); border: 1px solid var(--line); background: rgba(148, 163, 184, .05); transition: color .2s, background-color .2s, border-color .2s; flex: none; }
.icon-btn:hover { color: var(--text); background: rgba(148, 163, 184, .12); border-color: var(--line-2); }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }
.icon-btn.sm .ico { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(8, 14, 28, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
}
.nav-wrap { height: var(--header-h); display: flex; align-items: center; gap: 16px; max-width: calc(1320px + 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font: 700 19px/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-tech { color: var(--blue); }
.primary-nav { margin-inline: auto; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a, .mobile-menu a {
  position: relative; display: block; padding: 8px 10px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.primary-nav a:hover { color: var(--text); background: rgba(148, 163, 184, .08); }
.primary-nav a.active { color: var(--text); }
.primary-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: translateX(-50%);
}
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.primary-nav + .nav-actions { margin-left: 0; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(15, 23, 42, .6); }
.lang-switch button { min-width: 38px; padding: 6px 9px; border-radius: 999px; font: 600 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); transition: color .2s, background-color .2s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #fff; background: linear-gradient(120deg, rgba(59, 130, 246, .9), rgba(124, 108, 246, .9)); box-shadow: 0 4px 14px -6px rgba(59, 130, 246, .9); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(148, 163, 184, .06); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.8px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 12px 0 24px; animation: menu-in .3s var(--ease); }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu a { font-size: 17px; padding: 13px 14px; border-radius: 12px; color: var(--soft); }
.mobile-menu a.active, .mobile-menu a:hover { color: var(--text); background: rgba(59, 130, 246, .1); }
.mobile-menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.primary-nav li { flex: none; }
/* .compact is set by script.js when the translated links do not fit beside the brand and actions. */
.site-header.compact .primary-nav { display: none; }
.site-header.compact .primary-nav + .nav-actions { margin-left: auto; }
.site-header.compact .nav-toggle { display: inline-block; }
@media (max-width: 1140px) {
  .primary-nav { display: none; }
  .primary-nav + .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 640px) {
  .nav-actions .lang-switch, .nav-actions .nav-cta { display: none; }
  .brand-word { font-size: 18px; }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: clamp(76px, 9vw, 128px); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .about-copy h2, .talent-copy h2, .contact-info h2 { font-size: clamp(2rem, 3.4vw + .6rem, 3.1rem); margin-bottom: 18px; }
.section-head .lead { max-width: 640px; margin-inline: auto; }
.section-head.left .lead { margin-inline: 0; }

#services, #talent, #careers, #why, #contact {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(17, 24, 39, .55) 14%, rgba(17, 24, 39, .55) 86%, var(--bg) 100%);
}
#ecosystem::before, #process::before, #stack::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.section > .container { position: relative; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 27, 48, .94), rgba(12, 21, 39, .86));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -32px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, .12), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -30px rgba(37, 99, 235, .45); }
.card:hover::before, .card:hover::after, .card:focus-within::before { opacity: 1; }
.card-ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: #9CCBFF;
  background: linear-gradient(140deg, rgba(34, 211, 238, .14), rgba(167, 139, 250, .14));
  border: 1px solid rgba(96, 165, 250, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px -12px rgba(59, 130, 246, .6);
  margin-bottom: 20px;
}
.card-ico .ico { width: 23px; height: 23px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; letter-spacing: -.012em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px);
  min-height: min(100svh, 960px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 72%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-a { width: 560px; height: 560px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(59, 130, 246, .5), transparent 65%); }
.glow-b { width: 480px; height: 480px; left: -200px; bottom: -160px; background: radial-gradient(circle, rgba(34, 211, 238, .28), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 4vw + .9rem, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero h1 .grad-text { display: inline-block; padding-bottom: .06em; }
.hero-lead { font-size: clamp(1.06rem, .4vw + 1rem, 1.22rem); color: var(--muted); max-width: 580px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--soft); }
.point-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--cyan); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .2); }
.point-ico .ico { width: 17px; height: 17px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }

.hero-visual { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1 / 1; }
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-layer { transition: transform .6s var(--ease); will-change: transform; }
.hv-orbit { fill: none; stroke: rgba(148, 163, 184, .18); stroke-width: 1; }
.hv-orbit-dash { stroke: url(#hv-ring); stroke-opacity: .7; stroke-dasharray: 3 9; }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 48s linear infinite; }
.spin-rev { transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-dot { fill: #22314F; }
.hv-dot.f { fill: #3B82F6; fill-opacity: .55; }
.hv-dot.tw { fill: #22D3EE; fill-opacity: 1; animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hv-arc { fill: none; stroke: url(#hv-arc); stroke-width: 1.3; stroke-opacity: .55; stroke-linecap: round; stroke-dasharray: 4 7; animation: dash 2.8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }
.hv-particle { fill: #E0F2FE; }
.hv-city { cursor: pointer; outline: none; }
.hv-city .hit { fill: transparent; }
.hv-city .core { fill: #22D3EE; stroke: #0B1730; stroke-width: 1.5; transition: r .2s; }
.hv-city .ring { fill: none; stroke: #22D3EE; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 3s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.hv-city text, .hv-sat text { font: 600 12.5px var(--font-body); fill: #E2E8F0; paint-order: stroke; stroke: #080E1C; stroke-width: 4px; stroke-linejoin: round; }
.hv-city text { opacity: 0; transition: opacity .2s; pointer-events: none; }
.hv-city:hover text, .hv-city:focus-visible text, .hv-city.show text { opacity: 1; }
.hv-city:hover .core, .hv-city.show .core { r: 5.5; }
.hv-sat .node { fill: #0D1830; stroke: #A78BFA; stroke-width: 1.5; }
.hv-sat .pip { fill: #A78BFA; }
.hv-sat text { fill: #C7D2FE; font-size: 12px; }

.float-card {
  position: absolute; z-index: 2;
  border-radius: 16px; padding: 14px 16px;
  background: linear-gradient(160deg, rgba(22, 34, 60, .78), rgba(12, 20, 38, .72));
  border: 1px solid rgba(148, 163, 184, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .6s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.float-code { top: 1%; left: 0; width: min(46%, 268px); }
.float-check { bottom: 5%; right: 0; width: min(40%, 222px); animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.dots i:first-child { background: #22D3EE; }
.fc-file { font: 500 11.5px var(--font-mono); color: var(--muted); }
.float-code pre { margin: 0; font: 500 11.5px/1.65 var(--font-mono); color: #CBD5E1; white-space: pre; overflow: hidden; }
.float-code .k { color: #A78BFA; }
.float-code .f { color: #22D3EE; }
.fc-title { font: 600 12px var(--font-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.float-check ul { display: grid; gap: 8px; }
.float-check li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--soft); }
.float-check li .ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: #052e1d; background: var(--ok); stroke-width: 2.6; }

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-points { display: grid; gap: 12px; }
  .float-code { display: none; }
  .float-check { width: auto; bottom: 1%; padding: 10px 12px; border-radius: 12px; }
  .float-check .fc-title { display: none; }
  .float-check ul { gap: 6px; }
  .float-check li { font-size: 12px; }
  .float-check li .ico { width: 14px; height: 14px; }
  .hv-sat text { display: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.about-copy p + p { margin-top: 16px; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--muted); }
.about-copy .lead { color: var(--soft); }
.about-visual { margin: 0; }
.about-visual-frame {
  position: relative; border-radius: var(--r-xl); padding: clamp(18px, 3vw, 32px);
  background: radial-gradient(120% 90% at 80% 50%, rgba(59, 130, 246, .12), transparent 60%), linear-gradient(180deg, rgba(16, 27, 48, .9), rgba(10, 18, 34, .9));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(37, 99, 235, .6);
}
.about-visual-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(148, 163, 184, .12) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.about-visual img { position: relative; z-index: 1; width: 100%; }
.about-visual figcaption { margin-top: 14px; font-size: 14px; color: #7C8BA1; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card { padding: 28px 24px; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .values-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { padding: 32px 28px 30px; overflow: hidden; }
.service-card .card-ico { width: 54px; height: 54px; border-radius: 16px; }
.service-card h3 { font-size: 1.22rem; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- AI ecosystem ---------- */
.ecosystem .subhead { text-align: center; margin-bottom: 22px; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.platform-card { display: flex; flex-direction: column; padding: 26px 26px 22px; min-height: 100%; }
.platform-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.platform-mark {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex: none;
  font: 700 16px/1 var(--font-display); letter-spacing: -.02em; color: #E0ECFF;
  background: linear-gradient(145deg, rgba(59, 130, 246, .22), rgba(167, 139, 250, .18));
  border: 1px solid rgba(129, 140, 248, .35);
}
.platform-mark img { width: 30px; height: 30px; object-fit: contain; }
.platform-name { font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -.02em; }
.platform-domain { display: block; font: 500 12.5px var(--font-mono); color: var(--muted); margin-top: 4px; }
.platform-ext { margin-left: auto; align-self: flex-start; color: var(--muted); transition: color .25s, transform .3s var(--ease); }
.platform-card:hover .platform-ext { color: var(--cyan); transform: translate(2px, -2px); }
.platform-card > p { margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #BFD5F7; background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .22); white-space: nowrap; }
.tag.violet { color: #D9CCFD; background: rgba(167, 139, 250, .1); border-color: rgba(167, 139, 250, .25); }
.platform-note { display: flex; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 1.5; color: #8A9AB2; }
.platform-note .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--violet); }
.platform-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px;
  font-size: 14px; font-weight: 600; color: #8EC5FF;
}
.platform-link .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.platform-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); z-index: 1; }
.platform-card:hover .platform-link .ico { transform: translate(2px, -2px); }
.platform-card.emerging { background: linear-gradient(180deg, rgba(16, 27, 48, .55), rgba(12, 21, 39, .4)); border-style: dashed; border-color: rgba(148, 163, 184, .25); }
.platform-card.emerging .platform-mark { background: transparent; border-style: dashed; color: var(--muted); }
.disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 36px; padding: 20px 22px; border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(34, 211, 238, .06), rgba(167, 139, 250, .06));
  border: 1px solid rgba(96, 165, 250, .22);
}
.disclaimer .ico { color: var(--cyan); margin-top: 2px; }
.disclaimer p { font-size: 14.5px; color: var(--soft); }
.ecosystem .fine-print { margin-top: 14px; }
@media (max-width: 980px) { .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .platform-grid { grid-template-columns: minmax(0, 1fr); } }

/* Partners (hidden until enabled in config.js) */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.partner-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.partner-card img { max-height: 40px; width: auto; }

/* ---------- Talent network ---------- */
.talent-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.talent-map { position: relative; }
.talent-map::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .2), transparent 65%); filter: blur(30px); }
.map-frame { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 560 / 697; }
.map-base, .map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-overlay { overflow: visible; }
.map-link { fill: none; stroke: url(#map-link); stroke-width: 1.4; stroke-opacity: .65; stroke-linecap: round; stroke-dasharray: 4 6; animation: dash 3.2s linear infinite; }
.map-out { fill: none; stroke: url(#map-out); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 6; animation: dash 2.6s linear infinite; }
.map-node .halo { fill: rgba(34, 211, 238, .16); }
.map-node .ring { fill: none; stroke: #22D3EE; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ping 3.2s ease-out infinite; }
.map-node .core { fill: #22D3EE; stroke: #08142A; stroke-width: 2; transition: fill .2s; }
.map-node text { font: 600 14px var(--font-body); fill: #E2E8F0; paint-order: stroke; stroke: #080E1C; stroke-width: 5px; stroke-linejoin: round; transition: fill .2s; }
.map-node.on .core { fill: #fff; }
.map-node.on text { fill: #7DD3FC; }
.map-node.on .halo { fill: rgba(34, 211, 238, .32); }
.map-note { margin-top: 14px; font-size: 13.5px; color: #7C8BA1; text-align: center; }
.talent-copy .lead { color: var(--soft); margin-bottom: 30px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.highlights li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(16, 27, 48, .7); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--soft); transition: border-color .25s, background-color .25s; }
.highlights li:hover { border-color: rgba(59, 130, 246, .35); background: rgba(16, 27, 48, .95); }
.highlights .ico { color: var(--cyan); width: 20px; height: 20px; }
.country-block .subhead { margin-bottom: 14px; }
.country-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.country-chips button {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--soft);
  background: rgba(59, 130, 246, .07); border: 1px solid rgba(59, 130, 246, .2);
  transition: color .2s, background-color .2s, border-color .2s;
}
.country-chips button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(34, 211, 238, .8); }
.country-chips button:hover, .country-chips button.on { color: #fff; background: rgba(59, 130, 246, .18); border-color: rgba(96, 165, 250, .5); }
@media (max-width: 980px) {
  .talent-grid { grid-template-columns: minmax(0, 1fr); }
  .talent-map { order: 2; }
  .map-frame { max-width: 440px; }
}
@media (max-width: 560px) {
  .highlights { grid-template-columns: minmax(0, 1fr); }
  .map-node text { font-size: 19px; stroke-width: 6px; }
}

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .7), rgba(59, 130, 246, .7), rgba(167, 139, 250, .7));
  transform-origin: left center; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s;
}
.steps.in::before { transform: scaleX(1); }
.step { padding: 26px 24px 28px; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s, box-shadow .35s; }
.steps.in .step { opacity: 1; transform: none; }
.steps.in .step:nth-child(2) { transition-delay: .15s; }
.steps.in .step:nth-child(3) { transition-delay: .3s; }
.steps.in .step:nth-child(4) { transition-delay: .45s; }
.steps.in .step:hover { transform: translateY(-4px); transition-delay: 0s; }
html:not(.js) .step { opacity: 1; transform: none; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font: 700 17px/1 var(--font-display); color: #fff;
  background: radial-gradient(circle at 30% 30%, #3B82F6, #1E3A8A);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(96, 165, 250, .35), 0 10px 30px -8px rgba(59, 130, 246, .8);
}
.step-ico { color: var(--muted); }
.step-ico .ico { width: 24px; height: 24px; }
.step h3 { font-size: 1.2rem; }
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .steps::before { display: block; left: 49px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top center; background: linear-gradient(180deg, rgba(34, 211, 238, .7), rgba(167, 139, 250, .7)); }
  .steps.in::before { transform: scaleY(1); }
}

/* ---------- Careers ---------- */
.careers-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(15, 23, 42, .5);
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(148, 163, 184, .4); }
.filter-btn[aria-pressed="true"] { color: #fff; background: linear-gradient(120deg, rgba(37, 99, 235, .9), rgba(124, 108, 246, .9)); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(59, 130, 246, .9); }
.search-field { position: relative; flex: 1 1 260px; max-width: 340px; }
.search-field .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search-field input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 999px; font-size: 15px; background: rgba(8, 14, 28, .7); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.search-field input::placeholder { color: #64748B; }
.search-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .25); }
.results-count { font-size: 13.5px; color: #7C8BA1; margin-bottom: 18px; min-height: 1.4em; }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role-card { display: flex; flex-direction: column; padding: 24px; animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.role-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.role-card h3 { font-size: 1.12rem; margin: 0; }
.role-loc { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: 999px; font: 500 11.5px/1.3 var(--font-mono); color: #7DD3FC; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .22); white-space: nowrap; }
.role-loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.role-card > p { margin-bottom: 16px; }
.role-card .tag-list { margin-bottom: 20px; }
.role-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.role-cat { font-size: 12.5px; color: #7C8BA1; }
.empty-state { text-align: center; padding: 48px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--muted); display: grid; justify-items: center; gap: 16px; }
@media (max-width: 1060px) { .roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .search-field { max-width: none; flex-basis: 100%; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 4px; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
}

/* ---------- Technology stack ---------- */
.stack-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stack-group { padding: 26px; }
.stack-group.wide { grid-column: 1 / -1; }
.stack-group:not(.wide) .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack-group:hover { transform: none; }
.stack-group h3 { display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.stack-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.tech {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  background: rgba(8, 14, 28, .55); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: var(--soft);
  transition: border-color .25s, transform .25s var(--ease), background-color .25s;
}
.tech:hover { border-color: color-mix(in srgb, var(--tc, #3B82F6) 55%, transparent); background: rgba(16, 27, 48, .9); transform: translateY(-2px); }
.tech-mark {
  display: inline-grid; place-items: center; flex: none; min-width: 34px; height: 34px; padding-inline: 5px; border-radius: 9px;
  font: 700 11.5px/1 var(--font-mono); letter-spacing: -.02em; color: var(--tc, #3B82F6);
  background: color-mix(in srgb, var(--tc, #3B82F6) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tc, #3B82F6) 32%, transparent);
}
.tech-name { line-height: 1.3; }
@media (max-width: 900px) { .stack-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech { font-size: 13.5px; } }

/* ---------- Why NovaCrest (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento-item { padding: 28px 26px; overflow: hidden; }
.b-lg { grid-row: span 2; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 100% 100%, rgba(59, 130, 246, .16), transparent 55%), linear-gradient(180deg, rgba(16, 27, 48, .96), rgba(12, 21, 39, .9)); }
.b-lg h3 { font-size: 1.5rem; }
.b-lg p { font-size: 16px; }
.b-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: start; background: linear-gradient(110deg, rgba(34, 211, 238, .07), rgba(167, 139, 250, .07)), linear-gradient(180deg, rgba(16, 27, 48, .96), rgba(12, 21, 39, .9)); }
.b-wide .card-ico { grid-row: span 2; margin-bottom: 0; }
.bento-art { margin-top: auto; padding-top: 28px; }
.bento-art svg { width: 100%; height: auto; }
.ba-wires path { fill: none; stroke: rgba(148, 163, 184, .2); stroke-width: 1.2; }
.ba-flow path { fill: none; stroke: url(#hv-arc); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 10; animation: dash 2.4s linear infinite; }
.ba-node { fill: #0D1830; stroke: #60A5FA; stroke-width: 1.6; }
.ba-core { fill: #A78BFA; filter: drop-shadow(0 0 8px rgba(167, 139, 250, .8)); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-lg { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-wide { display: block; }
  .b-wide .card-ico { margin-bottom: 20px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .section-head .btn { margin-top: 28px; }
.accordion { display: grid; gap: 12px; }
.acc-item { border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(16, 27, 48, .65); transition: border-color .25s, background-color .25s; }
.acc-item.open { border-color: rgba(96, 165, 250, .35); background: rgba(16, 27, 48, .95); }
.acc-item h3 { font: inherit; letter-spacing: 0; }
.acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 19px 22px; text-align: left; font: 600 16px/1.4 var(--font-body); color: var(--text); border-radius: inherit; }
.acc-btn .ico { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--cyan); }
.acc-btn:hover .ico { color: var(--text); }
.acc-panel { padding: 0 22px 20px; }
.acc-panel p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.acc-panel:not([hidden]) { animation: acc-in .3s var(--ease); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; text-align: center; margin-inline: auto; }
  .faq-grid .section-head .lead { margin-inline: auto; }
}

/* ---------- CTA band ---------- */
.cta-band { padding-block: 24px clamp(40px, 6vw, 72px); }
.cta-inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); border-radius: var(--r-xl);
  background: radial-gradient(80% 140% at 0% 0%, rgba(34, 211, 238, .18), transparent 55%), radial-gradient(80% 140% at 100% 100%, rgba(167, 139, 250, .22), transparent 55%), linear-gradient(120deg, #0E1C3A, #111A36 50%, #171537);
  border: 1px solid rgba(129, 140, 248, .3);
  box-shadow: 0 40px 90px -50px rgba(59, 130, 246, .8);
}
.cta-inner::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-mark { width: 64px; height: 64px; }
.cta-copy h2 { font-size: clamp(1.45rem, 1.6vw + .9rem, 2.05rem); margin-bottom: 8px; }
.cta-copy p { color: var(--soft); }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .cta-inner .btn { width: 100%; max-width: 360px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info .lead { margin-bottom: 30px; }
.info-list { display: grid; gap: 10px; }
.info-list > div { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: rgba(16, 27, 48, .6); border: 1px solid var(--line); }
.info-list dt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.info-list dt .ico { color: var(--cyan); width: 18px; height: 18px; }
.info-list dd { font-weight: 600; font-size: 15px; text-align: right; }
.contact-form { padding: clamp(24px, 3.5vw, 36px); }
.contact-form:hover { transform: none; }
.contact-form .form-note { margin: 4px 0 20px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .info-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .info-list dd { text-align: left; padding-left: 28px; }
}

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field label, .field .label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--soft); }
.req { color: var(--cyan); }
.hint { font-weight: 400; font-size: 12.5px; color: #7C8BA1; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 16px; line-height: 1.4;
  background: rgba(8, 14, 28, .72); border: 1px solid rgba(148, 163, 184, .24); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #5B6B82; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option, .field select optgroup { background: #0F172A; color: var(--text); }
.field select:invalid, .field select.placeholder { color: #7C8BA1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 163, 184, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .25); background-color: rgba(8, 14, 28, .9); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(248, 113, 113, .15); }
.field-error { min-height: 0; font-size: 13px; color: var(--danger-text); margin-top: 6px; }
.field-error:empty { display: none; }
.char-count { font-size: 12.5px; color: #7C8BA1; text-align: right; margin-top: 6px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.form-note .ico { width: 17px; height: 17px; color: var(--cyan); margin-top: 2px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; border-radius: 14px; }
.chip-group.invalid { box-shadow: 0 0 0 1px var(--danger); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--muted); user-select: none;
  background: rgba(8, 14, 28, .6); border: 1px solid rgba(148, 163, 184, .24);
  transition: color .2s, background-color .2s, border-color .2s;
}
.chip span:hover { color: var(--text); border-color: rgba(148, 163, 184, .45); }
.chip input:checked + span { color: #fff; background: rgba(59, 130, 246, .2); border-color: rgba(96, 165, 250, .65); }
.chip input:checked + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--soft); line-height: 1.55; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(148, 163, 184, .45); background: rgba(8, 14, 28, .7); transition: background-color .2s, border-color .2s; }
.check-box .ico { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.check input:checked + .check-box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check-box .ico { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check-box { border-color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); font-size: 14.5px; line-height: 1.6; color: var(--soft); background: rgba(59, 130, 246, .08); border: 1px solid rgba(96, 165, 250, .3); }
.form-status.warn { background: rgba(250, 204, 21, .06); border-color: rgba(250, 204, 21, .3); }
.form-status.error { background: rgba(248, 113, 113, .07); border-color: rgba(248, 113, 113, .35); color: var(--danger-text); }
.form-status p + p { margin-top: 8px; }
.form-status textarea { width: 100%; min-height: 180px; margin-top: 12px; padding: 12px; border-radius: 10px; font: 500 12.5px/1.6 var(--font-mono); background: rgba(8, 14, 28, .9); border: 1px solid var(--line-2); color: var(--soft); }
.sensitive-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: var(--soft); background: rgba(167, 139, 250, .07); border: 1px solid rgba(167, 139, 250, .25); }
.sensitive-note .ico { width: 17px; height: 17px; color: var(--violet); margin-top: 2px; }
fieldset { margin-bottom: 8px; }
legend { font: 600 12.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8EC5FF; margin-bottom: 14px; padding: 0; }
@media (max-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(17, 24, 39, .5), var(--bg)); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(600px, 80%); height: 1px; transform: translateX(-50%); background: var(--grad); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-slogan { margin-top: 16px; font: 600 15px var(--font-display); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; width: fit-content; }
.footer-about { margin-top: 10px; max-width: 340px; font-size: 14.5px; color: var(--muted); }
.footer-mail { display: inline-block; margin-top: 16px; font-size: 14.5px; }
.footer-col h2 { font: 600 12.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--text); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13.5px; color: #7C8BA1; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer-tag { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Modals ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); width: min(640px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; }
.modal-lg { width: min(820px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(2, 6, 18, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .3s var(--ease); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); border-radius: var(--r-xl); background: linear-gradient(180deg, #0F1A30, #0B1426); border: 1px solid rgba(148, 163, 184, .2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(59, 130, 246, .08); overflow: hidden; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(34, 211, 238, .06), rgba(167, 139, 250, .06)); }
.modal-head h2 { font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem); }
.modal-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.modal-brand { display: flex; align-items: center; gap: 14px; }
.modal-brand .brand-mark { width: 42px; height: 42px; flex: none; }
.modal-meta { font-size: 13px; color: #7C8BA1; }
.modal-body { padding: clamp(20px, 3vw, 30px); overflow-y: auto; overscroll-behavior: contain; }
.notice { display: flex; gap: 14px; padding: 16px 18px; margin-bottom: 22px; border-radius: var(--r-md); background: rgba(59, 130, 246, .08); border: 1px solid rgba(96, 165, 250, .3); }
.notice > .ico { color: var(--cyan); margin-top: 2px; }
.notice p { font-size: 14px; color: var(--soft); line-height: 1.6; }
.notice .notice-title { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.notice strong { color: #fff; overflow-wrap: anywhere; }
.role-chip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; padding: 10px 12px 10px 16px; border-radius: 999px; width: fit-content; max-width: 100%; font-size: 14px; color: var(--muted); background: rgba(167, 139, 250, .08); border: 1px solid rgba(167, 139, 250, .3); }
.role-chip strong { color: var(--text); }
.prose h3 { font-size: 1.02rem; margin: 22px 0 6px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 300; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #0F1A30; border: 1px solid rgba(96, 165, 250, .4); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); animation: toast-in .3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

.noscript-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; text-align: center; background: #1E293B; color: var(--text); font-size: 14px; z-index: 100; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .card.reveal.in:hover { transform: translateY(-4px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js .reveal, .step { opacity: 1 !important; transform: none !important; }
  .steps::before { transform: none !important; }
  .float-card { animation: none; }
}
