/* =========================================================
   Ravenfall Technologies — main stylesheet
   Structure: tokens → base → layout → components → sections → responsive
   ========================================================= */

:root {
  /* Colour */
  --bg: #12171E;
  --bg-raised: #161C25;
  --surface: #1A222C;
  --surface-2: #202935;
  --border: #2C3949;
  --border-strong: #394A5E;
  --text: #F5F8FA;
  --text-muted: #A9B4C0;
  --text-dim: #7A8694;
  --accent: #18D4C2;
  --accent-strong: #35EAE0;
  --accent-soft: rgba(24, 212, 194, 0.16);
  --accent-line: rgba(24, 212, 194, 0.52);

  /* Type */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 148px);
  --header-h: 68px;
  --radius: 14px;
  --radius-sm: 9px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 95% 65% at 50% 0%, rgba(22, 48, 58, 0.72), transparent 74%),
    radial-gradient(ellipse 85% 58% at 85% 42%, rgba(16, 40, 50, 0.58), transparent 76%),
    radial-gradient(ellipse 88% 62% at 15% 86%, rgba(14, 38, 48, 0.62), transparent 76%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Global ambient wave grid & lighting */
.rf-wave-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 98% 94% at 50% 48%, #000 52%, rgba(0, 0, 0, 0.65) 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 98% 94% at 50% 48%, #000 52%, rgba(0, 0, 0, 0.65) 85%, transparent 100%);
}
html.rf-wave-ready body::before {
  display: none;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: -48px;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image:
    linear-gradient(rgba(160, 235, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 235, 230, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 98% 94% at 50% 48%, #000 52%, rgba(0, 0, 0, 0.65) 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 98% 94% at 50% 48%, #000 52%, rgba(0, 0, 0, 0.65) 85%, transparent 100%);
}
body::after {
  background:
    radial-gradient(760px 580px at 78% 20%, rgba(20, 212, 194, 0.13), transparent 74%),
    radial-gradient(620px 480px at 50% 50%, rgba(16, 185, 215, 0.075), transparent 76%),
    radial-gradient(700px 540px at 20% 78%, rgba(20, 212, 194, 0.11), transparent 74%);
  will-change: transform, opacity;
  animation: rf-ambient-breathe 22s ease-in-out infinite;
}
main, .site-footer {
  position: relative;
  z-index: 1;
}

@keyframes rf-ambient-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50%      { transform: translate3d(-18px, 12px, 0) scale(1.04); opacity: 1; }
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #051412; }

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

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #051412;
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7;
}

.section { padding-block: var(--section-y); position: relative; }

.section-head { max-width: 680px; margin-bottom: clamp(48px, 6vw, 72px); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.section-head .section-title { margin-bottom: 20px; }

.section-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h);
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --btn-h: 40px; padding: 0 18px; font-size: .875rem; }

.btn-primary {
  background: linear-gradient(180deg, #25DFCE 0%, #14BFA0 100%);
  color: #031512;
  box-shadow: 0 10px 26px -8px rgba(24, 212, 194, 0.48), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #38ECE0 0%, #1AD1B8 100%);
  box-shadow: 0 12px 30px -6px rgba(38, 232, 214, 0.6), 0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(24, 212, 194, .035); }
.btn-ghost:hover { border-color: var(--accent-line); background: rgba(24, 212, 194, .085); }

.btn-icon {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.btn:hover .btn-icon { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--accent-strong); border-color: var(--accent); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(19, 23, 30, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 43px; height: 36px; object-fit: contain; flex: none; mix-blend-mode: lighten; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800; font-size: .9rem;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.brand-name span { color: var(--text-muted); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 30px; }
.nav-link {
  position: relative;
  font-size: .9rem; font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong); border-radius: 12px;
  background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle-bar {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 17px; }
.nav-toggle-bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero & Services ---------- */
.hero {
  position: relative;
  min-height: 0;
  padding: calc(var(--header-h) + 20px) 0 44px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid { display: none; }
.hero-light {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%; top: -380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(61,184,170,.11), rgba(61,184,170,.03) 55%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(34, 38, 44, 0.7);
}
.hero-lead {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero composition — Ravenfall interconnected digital ecosystem & 7 services */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  aspect-ratio: 16 / 9.2;
}
.rf-ecosystem {
  position: relative;
  width: 100%;
  height: 100%;
}
.rf-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.rf-net path, .rf-net circle { vector-effect: non-scaling-stroke; }

/* Architectural calibration rings & mesh */
.rf-ring-outer { fill: none; stroke: rgba(45, 78, 92, 0.65); stroke-width: 1; stroke-dasharray: 2 7; }
.rf-ring-mid { fill: none; stroke: rgba(24, 212, 194, 0.26); stroke-width: 1; }
.rf-ring-rotor {
  transform-origin: 320px 240px;
  animation: rf-spin 64s linear infinite;
}
.rf-ring-segmented { fill: none; stroke: rgba(24, 212, 194, 0.52); stroke-width: 1.3; stroke-dasharray: 22 14 6 14; }
.rf-ring-ticks { fill: none; stroke: rgba(42, 234, 218, 0.68); stroke-width: 1.25; stroke-linecap: round; }
.rf-mesh-link { fill: none; stroke: rgba(45, 76, 90, 0.52); stroke-width: 1; stroke-dasharray: 3 6; }

/* Circuit traces & data packets */
.rf-traces path {
  fill: none;
  stroke: #243846;
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.rf-packets .rf-pkt {
  fill: none;
  stroke: #38F2E4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 110;
  stroke-dashoffset: 14;
  animation: rf-packet 5.6s var(--ease) infinite;
}
.rf-pkt-2 { animation-delay: .8s; }
.rf-pkt-3 { animation-delay: 1.6s; }
.rf-pkt-4 { animation-delay: 2.4s; }
.rf-pkt-5 { animation-delay: 3.2s; }
.rf-pkt-6 { animation-delay: 4.0s; }
.rf-pkt-7 { animation-delay: 4.8s; }
.rf-pkt-8 { animation-delay: 2.0s; }

.rf-vias circle {
  fill: #121C24;
  stroke: rgba(38, 228, 212, 0.78);
  stroke-width: 1.4;
}

/* Central Ravenfall Digital Core */
.rf-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 17.5%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}
.rf-core-halo {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(24, 212, 194, 0.36);
  background: radial-gradient(circle, rgba(24, 212, 194, 0.22) 0%, transparent 70%);
  animation: rf-core-pulse 5.6s ease-in-out infinite;
}
.rf-core-shell {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  padding: 7px;
  background: linear-gradient(145deg, rgba(24, 212, 194, 0.42), rgba(28, 42, 54, 0.55) 55%, rgba(24, 212, 194, 0.28));
  box-shadow:
    0 22px 50px -12px rgba(0, 0, 0, 0.85),
    0 0 28px -8px rgba(24, 212, 194, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.rf-core-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #1E2E3A 0%, #101720 74%);
  border: 1px solid rgba(38, 228, 212, 0.58);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}
.rf-core-inner img {
  width: 38%;
  height: auto;
  object-fit: contain;
  margin-bottom: 2px;
  mix-blend-mode: lighten;
}
.rf-core-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.54rem, .78vw, .68rem);
  letter-spacing: .18em;
  color: var(--text);
  line-height: 1.1;
}
.rf-core-sub {
  font-family: var(--font-mono);
  font-size: clamp(.46rem, .62vw, .56rem);
  letter-spacing: .12em;
  color: var(--accent);
  line-height: 1;
}

/* Connected service floating cards */
.rf-mod {
  position: absolute;
  background: linear-gradient(180deg, rgba(25, 34, 44, 0.95), rgba(18, 24, 32, 0.96));
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  box-shadow:
    0 22px 44px -18px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(38, 228, 212, 0.06) inset;
  overflow: hidden;
  z-index: 2;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.rf-mod:hover {
  border-color: rgba(38, 228, 212, 0.62);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.82), 0 0 22px -8px rgba(24, 212, 194, 0.25);
}
.rf-mod::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  opacity: 0.32;
  animation: rf-node-glow 5.6s ease-in-out infinite;
}
.rf-mod-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(24, 212, 194, 0.032);
}
.rf-dots { display: inline-flex; gap: 4px; flex: none; }
.rf-dots i { width: 5.5px; height: 5.5px; border-radius: 50%; background: rgba(24, 212, 194, 0.42); }
.rf-mod-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.82rem, .96vw, .95rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}
.rf-mod-desc {
  margin: 0;
  padding: 10px 14px 12px;
  font-family: var(--font-body);
  font-size: clamp(.74rem, .82vw, .82rem);
  line-height: 1.48;
  color: var(--text-muted);
}
.rf-ico {
  width: 13px; height: 13px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.rf-led, .rf-spark {
  width: 6.5px; height: 6.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex: none;
}

/* 1. Website development (top-left) */
.rf-mod--web {
  left: 0; top: 1%;
  width: 31.5%;
  animation: rf-float-a 8.5s ease-in-out infinite;
}
.rf-mod--web::after { animation-delay: .4s; }

/* 7. Hosting & maintenance (top-center) */
.rf-mod--cloud {
  left: 34.25%; top: 0;
  width: 31.5%;
  animation: rf-float-b 9.5s ease-in-out infinite;
}
.rf-mod--cloud::after { animation-delay: 1.2s; }

/* 2. Custom software (top-right) */
.rf-mod--software {
  right: 0; top: 1%;
  width: 31.5%;
  animation: rf-float-a 10s ease-in-out infinite .6s;
}
.rf-mod--software::after { animation-delay: 2.0s; }

/* 3. Databases & infrastructure (middle-right) */
.rf-mod--db {
  right: 0; top: 36.5%;
  width: 31.5%;
  animation: rf-float-b 9s ease-in-out infinite .3s;
}
.rf-mod--db::after { animation-delay: 2.8s; }

/* 4. Payments & licensing (bottom-right) */
.rf-mod--pay {
  right: 0; bottom: 1%;
  width: 31.5%;
  animation: rf-float-a 9.2s ease-in-out infinite 1.1s;
}
.rf-mod--pay::after { animation-delay: 3.6s; }

/* 6. Interactive learning & support systems (bottom-center) */
.rf-mod--lic {
  left: 34.25%; bottom: 0;
  width: 31.5%;
  animation: rf-float-b 10.4s ease-in-out infinite .7s;
}
.rf-mod--lic::after { animation-delay: 4.4s; }

/* 5. AI & automation (bottom-left) */
.rf-mod--ai {
  left: 0; bottom: 1%;
  width: 31.5%;
  animation: rf-float-a 9.8s ease-in-out infinite .2s;
}
.rf-mod--ai::after { animation-delay: 5.2s; }

/* 8. DATABASE telemetry card (middle-left) */
.rf-mod--dbnode {
  left: 0; top: 36.5%;
  width: 31.5%;
  animation: rf-float-b 9.3s ease-in-out infinite .5s;
}
.rf-mod--dbnode::after { animation-delay: 1.8s; }
.rf-mod-sub {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: clamp(.5rem, .58vw, .58rem);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-dim);
  white-space: nowrap;
}
.rf-db-status {
  margin: 0;
  padding: 9px 14px 11px;
  list-style: none;
  display: grid;
  gap: 5px;
}
.rf-db-status li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(.62rem, .7vw, .7rem);
  line-height: 1.35;
  color: var(--text-muted);
}
.rf-db-status li span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rf-db-status li span::before {
  content: "";
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .75;
}
.rf-db-status li b {
  font-weight: 600;
  font-size: clamp(.58rem, .65vw, .66rem);
  letter-spacing: .06em;
  color: var(--accent-strong);
}

@keyframes rf-spin { to { transform: rotate(360deg); } }
@keyframes rf-core-pulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes rf-packet {
  0% { stroke-dashoffset: 14; opacity: 0; }
  12% { opacity: .95; }
  58%, 100% { stroke-dashoffset: -98; opacity: 0; }
}
@keyframes rf-node-glow {
  0%, 40%, 100% { opacity: .16; }
  55% { opacity: .85; }
}
@keyframes rf-float-a { 50% { transform: translateY(-5px); } }
@keyframes rf-float-b { 50% { transform: translateY(4px); } }

/* Shared icon size for AI section */
.ai-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Complete solutions ---------- */
.solutions {
  background:
    radial-gradient(640px 420px at 74% 50%, rgba(20, 212, 194, 0.11), transparent 72%),
    rgba(20, 27, 36, 0.64);
  border-block: 1px solid var(--border);
}
.solutions-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.solutions-copy .section-title { margin-bottom: 22px; }
.journey { margin: 36px 0; display: grid; gap: 0; position: relative; }
.journey::before {
  content: ""; position: absolute; left: 5px; top: 14px; bottom: 14px; width: 1px;
  background: linear-gradient(var(--accent-line), var(--border));
}
.journey li {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.journey-dot {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: var(--bg-raised); border: 2px solid var(--accent);
}
.solutions-note { color: var(--text-muted); max-width: 56ch; margin: 0; padding-top: 24px; border-top: 1px solid var(--border); }

.system-map { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 480 / 420; }
.system-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.system-lines path { fill: none; vector-effect: non-scaling-stroke; }
.ring path { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 6; }
.spokes path { stroke: #2A3037; stroke-width: 1; }
.pulses path {
  stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 14 400; stroke-dashoffset: 14;
  animation: pulse-line 4.8s var(--ease) infinite;
  opacity: .9;
}
.pulses path:nth-child(2) { animation-delay: .8s; }
.pulses path:nth-child(3) { animation-delay: 1.6s; }
.pulses path:nth-child(4) { animation-delay: 2.4s; }
.pulses path:nth-child(5) { animation-delay: 3.2s; }
.pulses path:nth-child(6) { animation-delay: 4s; }
@keyframes pulse-line {
  0% { stroke-dashoffset: 14; opacity: 0; }
  10% { opacity: .9; }
  60%, 100% { stroke-dashoffset: -180; opacity: 0; }
}

.system-hub {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 35%, #242B36, #161A22 70%);
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 0 10px rgba(61,184,170,.05), 0 0 0 22px rgba(61,184,170,.03), 0 20px 50px -10px rgba(0,0,0,.6);
  text-align: center;
}
.system-hub img { width: 38%; height: auto; object-fit: contain; mix-blend-mode: lighten; }
.system-hub span { font-size: clamp(.68rem, 1.1vw, .8rem); font-weight: 600; color: var(--text-muted); letter-spacing: .02em; }

.node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  color: var(--text);
  transition: border-color .3s, color .3s;
}
.node::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 9px; vertical-align: 2px;
}
.node:hover { border-color: var(--accent-line); }

/* ---------- AI-assisted ---------- */
.work { padding-bottom: clamp(44px, 5vw, 72px); }
.ai { padding-top: 0; }
.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(640px 340px at 100% 0%, rgba(24, 212, 194, .14), transparent 72%),
    linear-gradient(180deg, rgba(26, 35, 46, 0.94), rgba(20, 27, 36, 0.96));
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(38, 228, 212, 0.06) inset;
  position: relative; overflow: hidden;
}
.ai-copy .section-title { margin-bottom: 24px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.ai-copy p:not(.eyebrow) { color: var(--text-muted); max-width: 58ch; }
.ai-copy p:last-child { margin-bottom: 0; }

.ai-points { display: grid; gap: 0; position: relative; }
.ai-points li {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.ai-points li:first-child { border-top: 1px solid var(--border); }
.ai-icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.ai-label { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; }

/* ---------- Portfolio ---------- */
.projects { display: grid; gap: clamp(64px, 9vw, 120px); }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.project--flip .project-media { order: 2; }

.project-media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border-strong);
  background: #0D0F12;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  transition: transform .6s var(--ease), border-color .4s;
}
.project:hover .project-media { transform: translateY(-4px); border-color: #3A4047; }
.project-media > img { width: 100%; height: auto; display: block; }
.media-note {
  position: absolute; left: 14px; bottom: 14px;
  font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 5px 10px; border-radius: 999px;
  background: rgba(10,11,13,.7); border: 1px solid var(--border);
}

.project-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.project-index { font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim); }
.badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.project-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 8px; }
.project-cat { font-size: .92rem; color: var(--text-dim); font-weight: 500; margin-bottom: 20px; }
.project-body > p:not(.project-cat) { color: var(--text-muted); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.tags li {
  font-size: .8rem; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--text-muted);
}
.project-body .tags:last-child { margin-bottom: 0; }

/* Grip Forge illustration */
.media-gripforge { display: grid; grid-template-columns: 30% 1fr; background: #0F1114; }
.gf-toolbar { border-right: 1px solid var(--border); padding: 20px 16px; display: flex; flex-direction: column; gap: 18px; background: #121418; }
.gf-title { font-family: var(--font-display); font-weight: 800; font-size: .66rem; letter-spacing: .2em; color: var(--text-muted); margin-bottom: 4px; }
.gf-slider { position: relative; height: 4px; border-radius: 3px; background: #262A31; }
.gf-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--accent); border-radius: 3px; opacity: .7; }
.gf-slider i::after { content: ""; position: absolute; right: -5px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #E6E9EC; }
.gf-viewport { position: relative; overflow: hidden; perspective: 600px; background: radial-gradient(ellipse at 50% 40%, #1A1E24, #0D0F12 75%); }
.gf-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(61,184,170,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,184,170,.22) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotateX(68deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.gf-model { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -54%) rotate(-8deg); }
.gf-model path { fill: rgba(61,184,170,.05); stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.gf-model path:nth-child(n+2) { fill: none; stroke: rgba(61,184,170,.45); }
.gf-model circle { fill: #E6E9EC; }
.gf-axis { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; }
.gf-axis i { position: absolute; left: 0; bottom: 0; background: #E06C75; height: 2px; width: 100%; }
.gf-axis i + i { background: #8AB4F8; width: 2px; height: 100%; }

/* ValveDatabase illustration */
.media-valvedb { display: flex; flex-direction: column; background: #0F1114; }
.vd-page { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.vd-nav { display: flex; align-items: center; gap: 12px; }
.vd-nav b { width: 70px; height: 10px; border-radius: 4px; background: #3A4048; margin-right: auto; }
.vd-nav span { width: 40px; height: 6px; border-radius: 3px; background: #2A2F36; }
.vd-nav em { width: 64px; height: 22px; border-radius: 6px; background: var(--accent); opacity: .7; }
.vd-hero { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 4px; }
.vd-search { display: block; width: 62%; height: 30px; border-radius: 8px; border: 1px solid var(--border-strong); background: #15181C; margin-top: 6px; }
.vd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1; }
.vd-grid span { border-radius: 10px; border: 1px solid var(--border); background: linear-gradient(180deg, #181B20 0 46%, transparent 46%), #121418; min-height: 50px; }

/* Raven's Whisper illustration */
.media-whisper {
  background:
    radial-gradient(ellipse 60% 50% at 68% 30%, rgba(61,184,170,.16), transparent 70%),
    linear-gradient(180deg, #0B1216 0%, #0E171B 55%, #0A0D10 100%);
}
.rw-moon {
  position: absolute; left: 66%; top: 18%; width: 15%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #E9F1F0, #A9C4C1 70%);
  box-shadow: 0 0 60px 10px rgba(169,196,193,.18);
  opacity: .9;
}
.rw-land { position: absolute; inset: 0; width: 100%; height: 100%; }
.rw-far { fill: #142026; }
.rw-mid { fill: #0F181C; }
.rw-near { fill: #090C0E; }
.rw-title {
  position: absolute; left: 8%; top: 22%;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .32em;
  font-size: clamp(.8rem, 1.6vw, 1.15rem);
  color: rgba(233,241,240,.82);
}

/* ---------- About ---------- */
.about {
  border-top: 1px solid var(--border);
  background: radial-gradient(680px 440px at 18% 50%, rgba(61, 184, 170, 0.055), transparent 74%);
}
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.portrait { margin: 0; max-width: 420px; }
.portrait-placeholder, .portrait img {
  aspect-ratio: 4 / 5; width: 100%; height: auto;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border-strong);
  object-fit: cover;
}
.portrait-placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(61,184,170,.10), transparent 60%),
    linear-gradient(180deg, #15181C, #0F1114);
  position: relative; overflow: hidden;
}
.portrait-placeholder::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px dashed rgba(255,255,255,.06); border-radius: var(--radius);
}
.portrait-initials {
  font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; letter-spacing: -0.04em;
  color: #2E343B;
}
.portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.portrait figcaption strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; }
.portrait figcaption span { color: var(--text-muted); font-size: .9rem; }

.about-copy .section-title { margin-bottom: 26px; }
.about-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); font-weight: 500; max-width: 50ch; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: var(--text-muted); max-width: 58ch; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; border-top: 1px solid var(--border); }
.about-facts div { padding: 22px 24px 0 0; }
.about-facts div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.about-facts dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.about-facts dd { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(680px 480px at 82% 35%, rgba(20, 212, 194, 0.10), transparent 74%),
    rgba(20, 27, 36, 0.64);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(24, 212, 194, .13), transparent 75%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 22px; }
.contact-email { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-email-label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.contact-email a {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.025em;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .2s;
  overflow-wrap: anywhere;
}
.contact-email a:hover { color: var(--accent-strong); background-size: 100% 1px; }

.contact-card {
  background: linear-gradient(180deg, rgba(26, 35, 46, 0.95), rgba(20, 27, 36, 0.97));
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(38, 228, 212, 0.06) inset;
  padding: clamp(24px, 4vw, 44px);
}
.contact-card-title { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.contact-card-text { color: var(--text-muted); margin-bottom: 30px; }

.enquiry-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 500; color: #D3D7DC; padding: 0; }
.field legend { margin-bottom: 10px; }
.optional { color: var(--text-dim); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:hover, .field textarea:hover { border-color: #3C424A; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D9786F; }
.field-error { margin: 0; min-height: 0; font-size: .8rem; color: #E79189; }
.field-error:empty { display: none; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: .84rem; color: var(--text-muted);
  transition: border-color .2s, background-color .2s, color .2s;
  user-select: none;
}
.choice:hover span { border-color: #444A52; color: var(--text); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.enquiry-form button[disabled] { opacity: .68; cursor: wait; }
.form-status {
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg);
  font-size: .9rem; color: var(--text-muted);
}
.form-status--success {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(24, 212, 194, 0.11), rgba(18, 24, 32, 0.95));
}
.form-status--error {
  border-color: rgba(231, 145, 137, 0.45);
  background: linear-gradient(180deg, rgba(217, 120, 111, 0.10), rgba(18, 24, 32, 0.95));
}
.form-status strong { color: var(--text); display: block; margin-bottom: 4px; }
.form-status a { color: var(--accent-strong); }
.form-status .btn { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { max-width: 380px; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin: 20px 0 14px; }
.footer-email { font-weight: 600; transition: color .2s; }
.footer-email:hover { color: var(--accent-strong); }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 56px; }
.footer-nav a { color: var(--text-muted); font-size: .92rem; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-domain { font-family: var(--font-mono); }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1020px) {
  .hero-visual { aspect-ratio: 16 / 10.6; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }

  /* Mobile navigation */
  .nav-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 32px var(--gutter) 40px;
    background: rgba(10,11,13,.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    display: block; padding: 18px 0;
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em;
    color: var(--text); border-bottom: 1px solid var(--border);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--accent); }
  .nav-cta { --btn-h: 52px; font-size: 1rem; }
  .site-header.menu-active { background: rgba(10,11,13,.98); border-bottom-color: var(--border); }

  /* Hero */
  .hero { min-height: 0; padding: calc(var(--header-h) + 20px) 0 44px; }
  .hero-visual { aspect-ratio: 16 / 11.4; }
  .hero-grid { mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 20%, transparent 75%); }

  /* Sections */
  .solutions-inner, .ai-panel, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .system-map { max-width: 500px; }

  .project, .project--flip { grid-template-columns: 1fr; gap: 32px; }
  .project--flip .project-media { order: 0; }

  .about-inner { gap: 40px; }
  .portrait { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: end; max-width: none; }
  .portrait figcaption { margin: 0 0 6px; }
  .portrait-initials { font-size: 2.6rem; }
}

@media (max-width: 780px) {
  .hero-visual { aspect-ratio: auto; margin-top: 8px; }
  .rf-ecosystem {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .rf-net { display: none; }
  .rf-core {
    position: relative;
    left: auto; top: auto; transform: none;
    grid-column: 1 / -1;
    width: 128px;
    margin: 4px auto 8px;
  }
  .rf-mod {
    position: relative;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    width: 100% !important;
  }
  .rf-mod--web { order: 1; }
  .rf-mod--software { order: 2; }
  .rf-mod--db { order: 3; }
  .rf-mod--dbnode { order: 4; }
  .rf-mod--pay { order: 5; }
  .rf-mod--ai { order: 6; }
  .rf-mod--lic { order: 7; }
  .rf-mod--cloud { order: 8; }
  .rf-mod-title { font-size: .88rem; }
  .rf-mod-desc { font-size: .8rem; line-height: 1.5; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .brand-name { font-size: .78rem; letter-spacing: .12em; }
  .brand-mark { width: 36px; height: 30px; }

  .hero { padding: calc(var(--header-h) + 18px) 0 40px; }
  .hero-intro { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .rf-ecosystem { grid-template-columns: 1fr; }
  .rf-mod--cloud { grid-column: auto; }

  .system-map { aspect-ratio: 480 / 470; }
  .node { padding: 7px 11px; font-size: .74rem; }
  .node::before { width: 5px; height: 5px; margin-right: 6px; }
  .system-hub span { display: none; }
  .system-hub img { width: 44%; }

  .ai-points li { padding: 18px 0; }
  .ai-icon { width: 42px; height: 42px; }
  .ai-label { font-size: 1.05rem; }

  .portrait { grid-template-columns: 120px 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); margin-top: 22px; }

  .field-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }

  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
}

@media (max-width: 380px) {
  .brand-name span { display: none; }
}

/* ---------- 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;
  }
  .pulses, .rf-packets { display: none; }
  body::before, body::after, .hero-grid, .rf-ring-rotor, .rf-core-halo, .rf-mod, .rf-mod::after { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
