/* ============================================================
   HELLIOS INTELLIGENCE — website v2
   Dark-first · aurora gradients · glassmorphism · grain
   Sections: tokens → base → ambient → nav → hero → marquee →
   about → capabilities → proof → process → products → team →
   contact → footer → responsive → reduced-motion
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg-0: #05070F;
  --bg-1: #0A0E1C;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #EDF1F7;
  --muted: #A5B1C9;
  --dim: #5C6A85;
  --blue: #3D7BFF;
  --cyan: #38D9F5;
  --orange: #FF8A3D;
  --amber: #FFB347;
  --violet: #8B5CF6;
  --grad-brand: linear-gradient(120deg, #3D7BFF, #8B5CF6 45%, #38D9F5);
  --grad-solar: linear-gradient(120deg, #FF8A3D, #FFB347);
  --glass-border: 1px solid var(--line);
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: 'Sora', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(61, 123, 255, 0.4); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

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

.shell { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section:nth-of-type(odd) { background: linear-gradient(180deg, transparent, rgba(10, 14, 28, 0.55) 18%, rgba(10, 14, 28, 0.55) 82%, transparent); }

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

/* Glass + shared components */
.glass {
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}
.glass:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-4px); }

/* Cursor spotlight inside tilt cards */
[data-tilt]::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(61,123,255,0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
[data-tilt]:hover::after { opacity: 1; }

.chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: var(--glass-border);
  background: var(--surface);
  color: var(--cyan);
}
.chip-solar { color: var(--amber); border-color: rgba(255, 138, 61, 0.35); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--grad-brand);
  color: #05070F;
  box-shadow: 0 8px 32px rgba(61, 123, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(61, 123, 255, 0.5); filter: brightness(1.08); }
.btn-ghost {
  background: var(--surface);
  border: var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }

/* Section header pattern */
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); position: relative; }
.kicker { color: var(--cyan); margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 650; max-width: 22ch; }
.section-note {
  position: absolute; right: 0; bottom: 0.4rem;
  color: var(--dim); text-align: right;
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Native scroll-driven enhancement where supported */
  }
}

/* ---------- 3. Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg-0); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.blob-blue   { width: 55vw; height: 55vw; top: -18vw; left: -12vw; background: radial-gradient(circle, rgba(61,123,255,0.5), transparent 70%); animation: drift1 42s ease-in-out infinite alternate; }
.blob-violet { width: 45vw; height: 45vw; top: 22vh; right: -14vw; background: radial-gradient(circle, rgba(139,92,246,0.42), transparent 70%); animation: drift2 48s ease-in-out infinite alternate; }
.blob-orange { width: 40vw; height: 40vw; bottom: -16vw; left: 8vw; background: radial-gradient(circle, rgba(255,138,61,0.2), transparent 70%); animation: drift3 40s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 9vh) scale(0.92); } }
@keyframes drift3 { to { transform: translate(9vw, -7vh) scale(1.08); } }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 500px; height: 500px; margin: -250px 0 0 -250px;
  background: radial-gradient(circle, rgba(99,102,241,0.35), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
}

/* ---------- 4. Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 15, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-brand img { width: 38px; height: 38px; }
.nav-wordmark { font-weight: 700; letter-spacing: 0.14em; font-size: 0.95rem; line-height: 1.1; display: flex; flex-direction: column; }
.nav-wordmark small { font-family: var(--font-mono); font-weight: 400; font-size: 0.52rem; letter-spacing: 0.42em; color: var(--muted); }

.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--muted); position: relative; padding: 0.3rem 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { padding: 0.65rem 1.3rem; font-size: 0.85rem; }

.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 70;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px auto; transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.mobile-menu nav a {
  font-size: 1.7rem; font-weight: 650; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover { color: var(--cyan); }
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.3s; }

/* ---------- 5. Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 7rem 0 4rem; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  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: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 38%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 38%, black, transparent 75%);
}
.hero-shell { display: grid; grid-template-columns: 1.25fr 0.9fr; align-items: center; gap: 3rem; position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--cyan);
  padding: 0.5rem 1rem; border-radius: 999px;
  border: var(--glass-border); background: var(--surface);
  backdrop-filter: blur(12px);
  margin-bottom: 1.6rem;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56,217,245,0.5); } 70% { box-shadow: 0 0 0 9px rgba(56,217,245,0); } 100% { box-shadow: 0 0 0 0 rgba(56,217,245,0); } }

.hero-title { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 1.5rem; }
.hero-title .serif { font-size: 1.06em; }

.hero-sub { color: var(--muted); max-width: 56ch; margin-bottom: 1.4rem; font-size: 1.06rem; }
.hero-sub strong, .about-copy strong { color: var(--text); font-weight: 600; }

.hero-typing { color: var(--dim); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 2.2rem; text-transform: none; }
.hero-typing .grad-static { font-weight: 600; }
#typewriter { color: var(--text); }
.cursor { display: inline-block; width: 9px; height: 1.05em; background: var(--cyan); vertical-align: -0.15em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 2.2rem; }
.hero-stat dt { color: var(--dim); margin-bottom: 0.45rem; font-size: 0.62rem; }
.hero-stat dd { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.hero-stat dd span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-orb { width: min(460px, 100%); height: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 60px rgba(61,123,255,0.35)); will-change: transform; position: relative; z-index: 2; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.orb-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(139, 92, 246, 0.35); pointer-events: none; }
.orb-ring-1 { width: 115%; aspect-ratio: 1; animation: spin 60s linear infinite; }
.orb-ring-2 { width: 135%; aspect-ratio: 1; border-color: rgba(61, 123, 255, 0.2); animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; font-size: 0.62rem; }
.scroll-line { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--cyan); animation: scrollDrop 2s var(--ease) infinite; }
@keyframes scrollDrop { to { top: 110%; } }

/* ---------- 6. Marquee ---------- */
.marquee {
  border-top: var(--glass-border); border-bottom: var(--glass-border);
  background: rgba(10, 14, 28, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden; padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.marquee-track i { font-style: normal; padding: 0 0.6rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-copy p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.06rem; }
.teaser {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 138, 61, 0.3);
  display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.teaser:hover { transform: translateY(-3px); border-color: rgba(255, 138, 61, 0.55); }
.teaser p { margin: 0; font-size: 0.98rem; }

.about-points { display: flex; flex-direction: column; gap: 1rem; }
.about-points li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.5rem; }
.point-icon { font-size: 1.4rem; line-height: 1; margin-top: 0.15rem; }
.about-points strong { display: block; margin-bottom: 0.2rem; font-weight: 650; }
.about-points p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 8. Capabilities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(160px, auto); gap: 1rem; }
.cap { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; grid-column: span 2; transform-style: preserve-3d; }
.cap-wide { grid-column: span 4; }
.cap-hero { grid-column: span 4; grid-row: span 2; }
.cap-hero h3 { font-size: 1.7rem; }
.cap-hero p { font-size: 1.03rem; max-width: 46ch; }

.cap-hero-blue { background: linear-gradient(160deg, rgba(61,123,255,0.12), var(--surface) 55%); }
.cap-hero-orange { background: linear-gradient(160deg, rgba(255,138,61,0.10), var(--surface) 55%); }

.cap-index { color: var(--dim); font-size: 0.66rem; }
.cap-icon { width: 40px; height: 40px; color: var(--cyan); margin-bottom: 0.2rem; }
.cap-icon svg { width: 100%; height: 100%; }
.cap-hero .cap-icon { width: 52px; height: 52px; }
.cap h3 { font-size: 1.18rem; font-weight: 650; }
.cap p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.cap-hero-orange .cap-icon { color: var(--amber); }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags span {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: var(--glass-border); color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}
.cap:hover .tags span { color: var(--text); border-color: var(--line-strong); }

/* ---------- 9. Proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.proof { padding: 2rem 1.6rem; }
.proof-n { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 750; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.proof-n span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-l { color: var(--dim); font-size: 0.64rem; }

.contexts { padding: 1.5rem 1.8rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.contexts-label { color: var(--dim); font-size: 0.64rem; flex-shrink: 0; }
.contexts ul { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.contexts li { font-weight: 600; font-size: 0.95rem; position: relative; padding-left: 1.1rem; }
.contexts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: var(--grad-brand); }

/* ---------- 10. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; position: relative; }
.step { padding: 1.8rem 1.6rem; }
.step-n { color: var(--cyan); margin-bottom: 1.4rem; font-size: 0.66rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.55rem; font-weight: 650; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- 11. Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product { padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.product h3 { font-size: 1.3rem; font-weight: 650; }
.product p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 12. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.person { padding: 2.2rem 2rem; }
.avatar {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 1.4rem; color: #05070F;
}
.avatar-ai { background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(61,123,255,0.15), 0 8px 28px rgba(61,123,255,0.35); }
.avatar-energy { background: var(--grad-solar); box-shadow: 0 0 0 4px rgba(255,138,61,0.15), 0 8px 28px rgba(255,138,61,0.3); }
.person h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.3rem; }
.person-role { color: var(--cyan); font-size: 0.66rem; margin-bottom: 1rem; }
.person p:last-child { color: var(--muted); font-size: 0.95rem; }
.fineprint { margin-top: 1.6rem; color: var(--dim); font-size: 0.66rem; letter-spacing: 0.06em; max-width: 70ch; text-transform: none; }

/* ---------- 13. Contact ---------- */
.contact { text-align: left; }
.contact-title { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.contact-email {
  display: inline-block;
  font-size: clamp(1.3rem, 3.4vw, 2.4rem); font-weight: 650; letter-spacing: -0.02em;
  margin: 0.5rem 0 3rem; position: relative;
}
.contact-email::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%;
  background: var(--grad-brand); border-radius: 3px;
  transform: scaleX(0.35); transform-origin: left; opacity: 0.4;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.contact-email:hover::after { transform: scaleX(1); opacity: 1; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card { padding: 1.6rem; }
.contact-k { color: var(--dim); font-size: 0.62rem; margin-bottom: 0.7rem; }
.contact-card a, .contact-card p:last-child { font-weight: 600; font-size: 0.98rem; }
.contact-card a:hover { color: var(--cyan); }

/* ---------- 14. Footer ---------- */
.footer { border-top: var(--glass-border); padding: 3rem 0 2.2rem; background: rgba(5,7,15,0.6); backdrop-filter: blur(14px); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center; }
.footer-tag { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.3em; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: var(--dim); font-size: 0.62rem; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cap, .cap-wide, .cap-hero { grid-column: span 1; grid-row: auto; }
  .proof-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .section-note { display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

@media (max-width: 640px) {
  .bento, .proof-grid, .steps, .products-grid, .team-grid, .contact-cards, .about-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .hero { padding-top: 6rem; }
  .scroll-cue { display: none; }
  .contexts { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .blob { animation: none; }
  .cursor-glow { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
}
