/* =========================================================================
   Systems Intelligence — Linear / Modern design system
   Shared styles for index.html and projects.html
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces */
  --bg-deep: #020203;
  --bg-base: #050506;
  --bg-elev: #0a0a0c;
  --bg-elev-2: #0f0f12;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);

  /* Text */
  --fg: #EDEDEF;
  --fg-muted: #8A8F98;
  --fg-subtle: rgba(255, 255, 255, 0.60);

  /* Accent */
  --accent: #5E6AD2;
  --accent-bright: #6872D9;
  --accent-glow: rgba(94, 106, 210, 0.30);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(94, 106, 210, 0.30);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 300ms;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--accent); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--accent-bright); }

img { display: block; max-width: 100%; }

/* =========================================================================
   Layered ambient background
   ========================================================================= */

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-base-gradient {
  z-index: -10;
  background: radial-gradient(ellipse at top, #0a0a0f 0%, #050506 50%, #020203 100%);
}

.bg-grid {
  z-index: -9;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.6;
}

.bg-noise {
  z-index: -8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

.bg-blobs {
  z-index: -7;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.blob-1 {
  top: -20%; left: 50%;
  width: 900px; height: 800px;
  background: radial-gradient(circle, rgba(94, 106, 210, 0.35) 0%, transparent 70%);
  animation: float1 10s ease-in-out infinite;
}
.blob-2 {
  top: 25%; left: -10%;
  width: 620px; height: 820px;
  background: radial-gradient(circle, rgba(150, 100, 220, 0.18) 0%, transparent 65%);
  filter: blur(140px);
  animation: float2 12s ease-in-out infinite;
}
.blob-3 {
  top: 40%; right: -10%;
  width: 520px; height: 720px;
  background: radial-gradient(circle, rgba(80, 130, 210, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  animation: float3 9s ease-in-out infinite;
}
.blob-4 {
  bottom: -15%; left: 30%;
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(94, 106, 210, 0.14) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  50% { transform: translate(-48%, -24px) rotate(2deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(28px, -28px) rotate(-3deg); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-32px, 36px) rotate(2deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
  .accent-text { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   Typography
   ========================================================================= */

h1, h2, h3, h4 {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.display {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; letter-spacing: -0.015em; }
p  { color: var(--fg-muted); }

.accent-text {
  background: linear-gradient(90deg, var(--accent) 0%, #8B95E8 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.subtext {
  color: var(--fg-muted);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  max-width: 560px;
  margin-top: 1.25rem;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; }

/* =========================================================================
   Navigation
   ========================================================================= */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.site-nav.scrolled {
  background: rgba(5, 5, 6, 0.82);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem; height: 84px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 68px; width: auto; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: var(--fg-muted);
  font-size: 14px; font-weight: 450;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--fg); background: var(--surface); }
.nav-links a.active { color: var(--fg); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  margin-left: 8px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.5),
    0 4px 12px rgba(94, 106, 210, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  transition: all var(--dur-fast) var(--ease);
}
.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.6),
    0 6px 20px rgba(94, 106, 210, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: var(--fg); cursor: pointer;
  border-radius: 8px;
  transition: background var(--dur-fast) var(--ease);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed; top: 84px; left: 0; right: 0;
  z-index: 99;
  background: rgba(5, 5, 6, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1.5rem;
  opacity: 0; transform: translateY(-12px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  display: block;
  color: var(--fg-muted);
  padding: 14px 8px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--fg); }
.mobile-menu a.active { color: var(--fg); }
.mobile-menu .nav-cta {
  display: block; text-align: center; margin: 1rem 0 0;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px; font-weight: 500;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0; cursor: pointer;
  text-decoration: none;
  color: #fff;
  position: relative; overflow: hidden;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              filter var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.5),
    0 4px 12px rgba(94, 106, 210, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.6),
    0 8px 24px rgba(94, 106, 210, 0.5),
    0 0 20px rgba(94, 106, 210, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
  filter: brightness(1.1);
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  box-shadow:
    inset 0 0 0 1px var(--border),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  color: var(--fg);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 0 0 1px var(--border-hover),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(94, 106, 210, 0.12);
}

.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }

:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg-base),
    0 0 0 4px var(--accent);
  border-radius: 8px;
}

/* =========================================================================
   Card base (with mouse-tracking spotlight)
   ========================================================================= */

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              filter var(--dur-base) var(--ease);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 2px 20px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 0, 0, 0.15);
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle 320px at var(--mx, 50%) var(--my, 50%),
              rgba(94, 106, 210, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(94, 106, 210, 0.15);
  filter: brightness(1.05);
}
.card > * { position: relative; z-index: 1; }

/* =========================================================================
   Sections
   ========================================================================= */

section { position: relative; padding: clamp(4rem, 8vw, 8rem) 0; }
.section-divider {
  border-top: 1px solid var(--border);
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.75rem; }

/* Reveal-on-scroll */
.reveal { 
  opacity: 0; 
  transform: translateY(30px) scale(0.98); 
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); 
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.site-footer::before {
  content: '';
  position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 106, 210, 0.25), transparent);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-inner p, .footer-meta a { font-size: 13px; color: var(--fg-muted); }
.footer-meta { display: flex; gap: 1.5rem; }
.footer-meta a:hover { color: var(--fg); }

/* =========================================================================
   Responsive utilities
   ========================================================================= */

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
}

/* =========================================================================
   2026 visual refresh: living operations cockpit
   ========================================================================= */

:root {
  --bg-deep: #050706;
  --bg-base: #080c0b;
  --bg-elev: #0e1412;
  --bg-elev-2: #121b18;
  --surface: rgba(246, 255, 249, 0.065);
  --surface-hover: rgba(246, 255, 249, 0.105);
  --fg: #f5fbf7;
  --fg-muted: #aebbb5;
  --fg-subtle: rgba(245, 251, 247, 0.66);
  --accent: #38d6ae;
  --accent-bright: #7cf2ce;
  --accent-glow: rgba(56, 214, 174, 0.32);
  --accent-warm: #f6be4f;
  --accent-coral: #ff7e67;
  --accent-ink: #06130f;
  --border: rgba(224, 244, 232, 0.09);
  --border-hover: rgba(224, 244, 232, 0.18);
  --border-accent: rgba(56, 214, 174, 0.34);
}

* { letter-spacing: 0 !important; }

body {
  background:
    linear-gradient(180deg, rgba(8, 12, 11, 0.86), rgba(5, 7, 6, 0.98)),
    #080c0b;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
}

.display {
  font-size: 4.25rem;
  line-height: 1.02;
  background:
    linear-gradient(180deg, #ffffff 0%, #e9fff5 58%, rgba(224, 244, 232, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

h1 { font-size: 3.4rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.125rem; }

p {
  color: var(--fg-muted);
  font-weight: 500;
}

.accent-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 50%, var(--accent-bright) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-base-gradient {
  background:
    linear-gradient(135deg, rgba(56, 214, 174, 0.1) 0%, transparent 34%),
    linear-gradient(210deg, rgba(246, 190, 79, 0.105) 0%, transparent 42%),
    linear-gradient(180deg, #0b1110 0%, #080c0b 48%, #050706 100%);
}

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(245, 251, 247, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 251, 247, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(56, 214, 174, 0.08) 0 1px, transparent 1px 18px);
  background-size: 72px 72px, 72px 72px, 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 62%, transparent 92%);
  mask-image: linear-gradient(180deg, black 0%, black 62%, transparent 92%);
  opacity: 0.72;
}

.bg-noise { opacity: 0.035; }

.bg-blobs {
  z-index: -7;
  overflow: hidden;
  opacity: 0.9;
}

.blob {
  border-radius: 0;
  filter: blur(46px);
  height: 150px;
  width: 88vw;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(56, 214, 174, 0.05) 15%,
      rgba(56, 214, 174, 0.28) 38%,
      rgba(246, 190, 79, 0.22) 62%,
      transparent 100%);
  transform-origin: center;
}

.blob-1 {
  top: 11%;
  left: 8%;
  animation: revenueCurrent 13s ease-in-out infinite;
}

.blob-2 {
  top: 42%;
  left: -20%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 126, 103, 0.14), rgba(56, 214, 174, 0.2), transparent);
  animation: revenueCurrent 15s ease-in-out infinite reverse;
}

.blob-3 {
  top: 65%;
  right: -18%;
  background:
    linear-gradient(90deg, transparent, rgba(246, 190, 79, 0.18), rgba(124, 242, 206, 0.18), transparent);
  animation: revenueCurrent 16s ease-in-out infinite;
}

.blob-4 {
  bottom: 4%;
  left: 6%;
  height: 110px;
  background:
    linear-gradient(90deg, transparent, rgba(56, 214, 174, 0.12), rgba(246, 190, 79, 0.16), transparent);
  animation: revenueCurrent 18s ease-in-out infinite reverse;
}

@keyframes revenueCurrent {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg) skewX(-12deg); opacity: 0.74; }
  50% { transform: translate3d(42px, -22px, 0) rotate(-3deg) skewX(-12deg); opacity: 1; }
}

.label,
.service-num,
.audit-head .doc-meta,
.audit-stat-label,
.audit-stat-trend,
.audit-section-title,
.audit-rec .rec-num,
.audit-rec .rec-pill,
.project-num,
.page-meta {
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace !important;
}

.label {
  background: rgba(246, 255, 249, 0.07);
  border-color: rgba(124, 242, 206, 0.2);
  color: #d9f8ed;
}

.label::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 16px rgba(56, 214, 174, 0.5);
}

.site-nav {
  background: rgba(6, 10, 9, 0.58);
  border-bottom-color: rgba(224, 244, 232, 0.08);
}

.site-nav.scrolled {
  background: rgba(6, 10, 9, 0.88);
  border-bottom-color: rgba(224, 244, 232, 0.12);
}

.nav-links a:hover {
  color: #f8fff9;
  background: rgba(246, 255, 249, 0.08);
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm)) !important;
  color: var(--accent-ink) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(56, 214, 174, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-bright), #ffd978) !important;
  color: var(--accent-ink) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 42px rgba(56, 214, 174, 0.28),
    0 0 36px rgba(246, 190, 79, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.btn,
.nav-cta,
.nav-links a,
.nav-toggle,
.mobile-menu .nav-cta,
.card,
.cta-card,
.projects-cta,
.project-modal-inner,
.project-media img,
.project-modal-media img,
.audit-mock,
.team-card {
  border-radius: 8px !important;
}

.btn-secondary {
  background: rgba(246, 255, 249, 0.075);
  color: #f5fbf7;
  box-shadow:
    inset 0 0 0 1px rgba(224, 244, 232, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  background: rgba(246, 255, 249, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(124, 242, 206, 0.28),
    0 14px 36px rgba(0, 0, 0, 0.28),
    0 0 42px rgba(56, 214, 174, 0.12);
}

.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.026)),
    linear-gradient(180deg, rgba(56, 214, 174, 0.045), rgba(246, 190, 79, 0.025));
  border-color: rgba(224, 244, 232, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 18px 50px rgba(0, 0, 0, 0.34);
}

.card::before {
  border-radius: 8px;
  background:
    radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%),
      rgba(56, 214, 174, 0.16), transparent 62%);
}

.card:hover {
  border-color: rgba(124, 242, 206, 0.26);
  box-shadow:
    0 0 0 1px rgba(124, 242, 206, 0.12),
    0 20px 58px rgba(0, 0, 0, 0.44),
    0 0 70px rgba(56, 214, 174, 0.12);
}

.section-divider {
  border-top-color: rgba(224, 244, 232, 0.085);
}

.section-divider::before,
.site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(56, 214, 174, 0.32), rgba(246, 190, 79, 0.18), transparent);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(8, 12, 11, 0.82), #050706);
}

.hero-sub,
.page-sub,
.subtext {
  font-size: 1.08rem !important;
}

@media (max-width: 900px) {
  .display { font-size: 3.45rem; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.2rem; }
}

@media (max-width: 560px) {
  .display { font-size: 2.62rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.88rem; }
  .hero-sub,
  .page-sub,
  .subtext { font-size: 1rem !important; }
}
