/* ==========================================================================
   Xeonix Technologies — site styles
   Brand: red #C8102E · green #00843D · black · white (from the Xeonix mark)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #07080a;
  --bg-2: #0b0d10;
  --surface: #101318;
  --surface-2: #161a20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f3f4f6;
  --text-2: #b9bfc8;
  --muted: #8d949e;

  /* Brand */
  --red: #c8102e;
  --red-hover: #a70c26;
  --red-soft: #ff5a6e;
  --green: #00843d;
  --green-soft: #2fc774;
  --white: #ffffff;

  /* Type */
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --section: clamp(72px, 10vw, 128px);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 600ms;

  /* Layers */
  --z-header: 100;
  --z-menu: 110;
  --z-mobile: 120;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--red-soft); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--white); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 16px; } }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Animated background (aurora + particle network) ---------- */
.bg-canvas, .bg-aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-aurora { overflow: hidden; }
.bg-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.bg-aurora i:nth-child(1) { width: 46vw; height: 46vw; top: -14vw; right: -10vw; background: rgba(200, 16, 46, 0.16); animation: drift-a 38s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(2) { width: 42vw; height: 42vw; bottom: -16vw; left: -12vw; background: rgba(0, 132, 61, 0.14); animation: drift-b 44s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(3) { width: 30vw; height: 30vw; top: 40%; left: 38%; background: rgba(255, 255, 255, 0.035); animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-18vw, 22vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(24vw, -18vh) scale(1.1); } }
@keyframes drift-c { to { transform: translate(-22vw, -20vh) scale(1.3); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.text-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover { color: var(--red-soft); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Eyebrow (uses the logo's red/green facets) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background:
    linear-gradient(135deg, var(--red) 0 50%, transparent 50%) top left / 8px 8px no-repeat,
    linear-gradient(45deg, var(--green) 0 50%, transparent 50%) bottom left / 8px 8px no-repeat;
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, background-color var(--dur) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(7, 8, 10, 0.88); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }

.has-menu { position: relative; display: flex; align-items: center; }
.has-menu .nav-link { padding-right: 4px; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 44px; margin-right: 6px;
  background: none; border: 0; color: var(--text-2); cursor: pointer; border-radius: 8px;
}
.menu-toggle .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.has-menu.open .menu-toggle .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: var(--z-menu);
  width: min(760px, 92vw); padding: 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, visibility 0s linear var(--dur-fast);
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .mega, .has-menu.open .mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s;
}
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color var(--dur-fast) ease; }
.mega-link:hover { background: rgba(255, 255, 255, 0.05); }
.mega-link .icon-wrap { width: 40px; height: 40px; }
.mega-link strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--text); }
.mega-link span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 12px 6px; margin-top: 6px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03); cursor: pointer; place-items: center;
}

.mobile-nav {
  position: fixed; inset: 76px 0 0 0; z-index: var(--z-mobile);
  background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px;
  border-top: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > ul > li > a, .mobile-nav summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  font-family: var(--font-head); font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--border); cursor: pointer;
}
.mobile-nav summary { list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav summary .icon { transition: transform var(--dur) var(--ease-out); }
.mobile-nav .sub { padding: 8px 0 12px; border-bottom: 1px solid var(--border); }
.mobile-nav .sub a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text-2); font-size: 16px; }
.mobile-nav .sub a .icon { width: 18px; height: 18px; color: var(--red-soft); }
.mobile-nav .btn { width: 100%; margin-top: 28px; }

@media (max-width: 980px) {
  .site-nav, .header-cta { display: none; }
  .nav-burger { display: grid; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-alt { background: rgba(11, 13, 16, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 640px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 700px; }

.accent-red { color: var(--red-soft); }
.accent-green { color: var(--green-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 82% 10%, rgba(200, 16, 46, 0.20), transparent 70%),
    radial-gradient(520px 360px at 70% 95%, rgba(0, 132, 61, 0.16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em; margin-top: 22px; }
.hero h1 .mark-underline { position: relative; white-space: nowrap; }
.hero h1 .mark-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; border-radius: 4px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--green) 50% 100%);
  transform-origin: left; animation: underline 900ms 400ms var(--ease-out) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 590px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 4px rgba(47, 199, 116, 0.18); }

/* Hero visual: the Xeonix mark */
.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-visual::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(200, 16, 46, 0.30), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(0, 132, 61, 0.26), transparent 45%),
    radial-gradient(circle at 62% 50%, rgba(255, 255, 255, 0.06), transparent 55%);
  filter: blur(20px);
}
.hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); }
.hero-ring.r1 { inset: 0; }
.hero-ring.r2 { inset: 14%; border-color: rgba(255, 255, 255, 0.05); }
.hero-mark { position: relative; width: 48%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); animation: mark-in 1s 200ms var(--ease-out) both; }
@keyframes mark-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 300px; justify-self: start; }
}
@media (max-width: 600px) { .hero-visual { display: none; } }

/* ---------- Commitments strip ---------- */
.commitments { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(11, 13, 16, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.commitments-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.commit { padding: 34px 28px; border-left: 1px solid var(--border); }
.commit:first-child { border-left: 0; padding-left: 0; }
.commit-value { font-family: var(--font-head); font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.commit-value span { color: var(--red-soft); }
.commit p { margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 900px) {
  .commitments-grid { grid-template-columns: 1fr 1fr; }
  .commit { padding: 28px 20px; }
  .commit:nth-child(odd) { border-left: 0; padding-left: 0; }
  .commit:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- Tech marquee ---------- */
.marquee-wrap { padding: 44px 0; border-bottom: 1px solid var(--border); }
.marquee-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.marquee-head p { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.marquee-pause { min-height: 36px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font-size: 13px; cursor: pointer; }
.marquee-pause:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-track li { font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: rgba(255, 255, 255, 0.42); letter-spacing: -0.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Icon tile ---------- */
.icon-wrap {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, rgba(200, 16, 46, 0.16), rgba(0, 132, 61, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.10); color: var(--text);
}
.icon-wrap .icon { width: 22px; height: 22px; }
.icon-wrap.green { background: rgba(0, 132, 61, 0.14); color: var(--green-soft); }
.icon-wrap.red { background: rgba(200, 16, 46, 0.14); color: var(--red-soft); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--dur) ease, background-color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.card h3 { font-size: 20px; margin-top: 22px; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
a.card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-3px); }
.card .card-foot { margin-top: auto; padding-top: 22px; }
.card-index { position: absolute; top: 26px; right: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.card .arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: color var(--dur-fast) ease; }
.card .arrow .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
a.card:hover .arrow { color: var(--red-soft); }
a.card:hover .arrow .icon { transform: translateX(4px); }
.card-tag { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--green-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* Feature (why) list */
.feature { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }

/* Why section split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split-sticky { position: sticky; top: 120px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }

.quote-box { margin-top: 36px; padding: 24px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(0, 132, 61, 0.06)); }
.quote-box p { color: var(--text); font-size: 17px; }
.quote-box small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--red-soft); letter-spacing: 0.08em; }
.step:nth-child(even) .step-num { color: var(--green-soft); }
.step h3 { font-size: 21px; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.step-line { position: absolute; top: 38px; left: 72px; right: -18px; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
.step:last-child .step-line { display: none; }
@media (max-width: 1024px) { .process { grid-template-columns: 1fr 1fr; } .step-line { display: none; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industry-card { min-height: 260px; overflow: hidden; }
.industry-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.18), transparent 70%); opacity: 0; transition: opacity var(--dur) ease;
}
.industry-card:nth-child(even)::after { background: radial-gradient(circle, rgba(0, 132, 61, 0.2), transparent 70%); }
a.industry-card:hover::after { opacity: 1; }

.industry-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.industry-block:first-child { border-top: 0; padding-top: 0; }
.industry-block h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 18px; }
.industry-block .intro { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border-strong); font-size: 14px; color: var(--text-2); }
a.pill { transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
a.pill:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.build-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.build-list li { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: 15.5px; color: var(--text); line-height: 1.5; }
.build-list li .icon { width: 20px; height: 20px; color: var(--green-soft); margin-top: 2px; }
@media (max-width: 900px) { .industry-block { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .build-list { grid-template-columns: 1fr; } }

/* ---------- Engagement models ---------- */
.model { padding: 32px 28px; }
.model .label { color: var(--red-soft); }
.model h3 { margin-top: 14px; font-size: 22px; }
.model ul { margin-top: 18px; display: grid; gap: 10px; }
.model li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.model li .icon { width: 18px; height: 18px; color: var(--green-soft); margin-top: 3px; }
.model.featured { border-color: rgba(200, 16, 46, 0.45); background: linear-gradient(180deg, rgba(200, 16, 46, 0.08), var(--surface) 60%); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.page-hero .hero-bg::after { background: radial-gradient(560px 340px at 85% 0%, rgba(200, 16, 46, 0.16), transparent 70%), radial-gradient(480px 300px at 100% 100%, rgba(0, 132, 61, 0.12), transparent 70%); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 20px; max-width: 900px; }
.page-hero .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--text-2); max-width: 680px; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
@media (max-width: 980px) { .page-hero-grid { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { opacity: 0.5; }

.aside-card { padding: 26px; border-radius: var(--radius-lg); background: rgba(16, 19, 24, 0.85); border: 1px solid var(--border-strong); }
.aside-card h2 { font-size: 16px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.aside-card ul { margin-top: 16px; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.aside-card li .icon { width: 20px; height: 20px; color: var(--green-soft); margin-top: 2px; }

.tech-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-list li { padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--text-2); }

/* ---------- About ---------- */
.prose { font-size: 18px; color: var(--text-2); display: grid; gap: 20px; max-width: 680px; }
.prose strong { color: var(--text); font-weight: 600; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv { padding: 36px 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.mv h3 { font-size: 26px; margin-top: 16px; }
.mv p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.mv.red { border-top: 3px solid var(--red); }
.mv.green { border-top: 3px solid var(--green); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

.mark-figure { position: relative; padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; min-height: 360px; overflow: hidden; }
.mark-figure svg { width: 60%; max-width: 260px; }
.mark-figure figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; font-size: 14px; color: var(--muted); text-align: center; }
.mark-figure::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(200, 16, 46, 0.18), transparent 50%), radial-gradient(circle at 30% 85%, rgba(0, 132, 61, 0.16), transparent 50%); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, #1a0b0f 0%, #101318 45%, #07160e 100%);
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-inner h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-inner p { margin-top: 14px; color: var(--text-2); font-size: 18px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.form-card h2 { font-size: 26px; }
.form-card > p { margin-top: 8px; color: var(--text-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.field .req { color: var(--red-soft); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--text); font-size: 16px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b9bfc8' 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; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b727c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 3px rgba(255, 90, 110, 0.22); }
.field .hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.field .error { display: none; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--red-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-soft); }
.field.invalid .error { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-actions small { color: var(--muted); font-size: 13.5px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(47, 199, 116, 0.1); border: 1px solid rgba(47, 199, 116, 0.35); color: #b7f0cf; }
.form-status.fail { background: rgba(255, 90, 110, 0.08); border: 1px solid rgba(255, 90, 110, 0.35); color: #ffc3cb; }
.error-summary { display: none; margin-top: 22px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 90, 110, 0.45); background: rgba(255, 90, 110, 0.06); }
.error-summary.show { display: block; }
.error-summary h3 { font-size: 16px; }
.error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.error-summary a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }

.next-steps { display: grid; gap: 0; margin-top: 20px; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.next-steps li:first-child { border-top: 0; }
.next-steps .n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 13px; color: var(--red-soft); }
.next-steps li:nth-child(even) .n { color: var(--green-soft); }
.next-steps strong { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.next-steps p { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.info-list { display: grid; gap: 14px; margin-top: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon-wrap { width: 44px; height: 44px; }
.info-list strong { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.info-list span { font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(11, 13, 16, 0.75); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr; gap: 40px; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 20px; color: var(--text-2); font-size: 15px; max-width: 340px; }
.footer-col h2 { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { margin-top: 18px; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--text-2); font-size: 15px; transition: color var(--dur-fast) ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.flag-bar { display: inline-flex; gap: 4px; align-items: center; }
.flag-bar i { width: 18px; height: 4px; border-radius: 2px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: auto; gap: 16px 40px; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee-pause { display: none; }
}
