@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-stretch: 62% 125%;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-subtle: #0e0f13;
  --card-bg: rgba(18, 19, 24, 0.72);
  --card-bg-hover: rgba(22, 24, 32, 0.88);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(59, 130, 246, 0.42);
  --blue-primary: #3b82f6;
  --blue-electric: #2563eb;
  --blue-bright: #60a5fa;
  --blue-deep: #1d4ed8;
  --blue-glow: rgba(59, 130, 246, 0.55);
  --blue-tint: rgba(37, 99, 235, 0.12);
  --text: #ededef;
  --text-muted: #a1a1a8;
  --text-dim: #71717a;
  --max-width: 1248px;
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input,
textarea {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

/* Accessibility */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--blue-electric);
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
}
.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Top Spotlight Glow */
.top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 820px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.top-glow > div {
  position: absolute;
  inset: 0;
}
.tg-wide {
  background: radial-gradient(
    ellipse 70% 75% at 50% -10%,
    rgba(37, 99, 235, 0.38) 0%,
    rgba(29, 78, 216, 0.2) 40%,
    rgba(30, 58, 138, 0.08) 65%,
    transparent 85%
  );
}
.tg-core {
  background: radial-gradient(
    ellipse 42% 52% at 50% -6%,
    rgba(96, 165, 250, 0.8) 0%,
    rgba(59, 130, 246, 0.6) 22%,
    rgba(37, 99, 235, 0.3) 48%,
    rgba(29, 78, 216, 0.1) 72%,
    transparent 90%
  );
  filter: blur(8px);
}
.tg-sparks {
  background-image:
    radial-gradient(1.6px 1.6px at 31% 9%, rgba(191, 219, 254, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 38% 22%, rgba(191, 219, 254, 0.7), transparent),
    radial-gradient(2px 2px at 44% 6%, rgba(219, 234, 254, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 52% 15%, rgba(191, 219, 254, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 58% 4%, rgba(219, 234, 254, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 63% 19%, rgba(191, 219, 254, 0.6), transparent),
    radial-gradient(1.8px 1.8px at 67% 10%, rgba(191, 219, 254, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 35% 30%, rgba(191, 219, 254, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 60% 27%, rgba(191, 219, 254, 0.55), transparent),
    radial-gradient(1px 1px at 48% 26%, rgba(191, 219, 254, 0.6), transparent);
  animation: tgDrift 9s ease-in-out infinite alternate;
}
@keyframes tgDrift {
  from {
    transform: translateY(0);
    opacity: 0.55;
  }
  to {
    transform: translateY(14px);
    opacity: 1;
  }
}
.tg-fade {
  background: linear-gradient(180deg, transparent 45%, var(--bg) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .tg-sparks {
    animation: none;
  }
}

/* Vertical Guide Lines */
.vertical-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.vertical-guides-inner {
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Links */
.lnk {
  background: linear-gradient(currentColor, currentColor) left calc(100% - 1px) / 0 1px no-repeat;
  transition: color 0.2s, background-size 0.25s ease;
}
.lnk:hover {
  color: var(--blue-bright);
  background-size: 100% 1px;
}

/* Nav Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 16px 0;
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  max-width: 820px;
  padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(18, 19, 24, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease;
}
.nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.brand-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-bright);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  font-size: 14px;
}
.navlinks a {
  position: relative;
  padding: 10px 4px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.navlinks a:hover {
  color: #ffffff;
}
.navlinks .nav-section-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  width: 20px;
  height: 2px;
  margin: auto;
  border-radius: 999px;
  background: var(--blue-primary);
  box-shadow: 0 0 12px var(--blue-glow);
  content: '';
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.navlinks .nav-section-link[aria-current='location'] {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}
.navlinks .nav-section-link[aria-current='location']::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Status Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--blue-bright);
  letter-spacing: 0.02em;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-primary);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

/* 3D Button */
.btn-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #3b82f6, #2563eb 55%, #1d4ed8);
  text-shadow: 0 1px 1px rgba(0, 20, 60, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 10px 26px -10px rgba(37, 99, 235, 0.65);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 14px 34px -10px rgba(37, 99, 235, 0.85);
}
.btn-3d:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

/* GitHub Round Button */
.github-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.07) 52%,
    rgba(255, 255, 255, 0.035)
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px -8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  color: #ffffff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.github-button:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.1) 55%,
    rgba(255, 255, 255, 0.05)
  );
  transform: translateY(-1px);
}

/* Mobile Hamburger Menu */
.menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
#mobile-menu {
  width: 100%;
  display: flex;
  justify-content: center;
}
.menu-panel {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(18, 19, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.menu-panel .nav-section-link {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.menu-panel .nav-section-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.menu-panel .nav-section-link[aria-current='location'] {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(37, 99, 235, 0.12);
  color: #ffffff;
  box-shadow: inset 3px 0 var(--blue-primary);
}

@media (max-width: 720px) {
  .navlinks {
    display: none !important;
  }
  .menu-btn {
    display: grid !important;
  }
  .status-pill {
    display: none;
  }
}
@media (max-width: 600px) {
  .nav-actions .btn-3d span {
    display: none;
  }
  .nav-actions .btn-3d {
    padding: 10px 12px;
  }
}
@media (max-width: 440px) {
  .nav-actions .btn-3d {
    display: none !important;
  }
}
@media (min-width: 721px) {
  #mobile-menu {
    display: none !important;
  }
}

/* Sections Base */
.portfolio-section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px 0;
  box-sizing: border-box;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #14151a;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--blue-bright);
}
.section-heading h2 {
  margin: 20px auto 0;
  max-width: 900px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.section-heading h2 span {
  color: var(--blue-primary);
}
.section-heading p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 16px auto 0;
}

/* Hero Typography */
.hero-headline {
  margin: 20px auto 0;
  max-width: 960px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ededef;
  text-wrap: balance;
}
.hero-t {
  background: linear-gradient(180deg, #bfdbfe 0%, #3b82f6 55%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 36px;
}
.hero-actions .btn-3d {
  padding: 14px 28px;
  font-size: 16px;
}

/* Glass Card System */
.glass-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px -16px rgba(0, 0, 0, 0.7);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 22px 48px -16px rgba(37, 99, 235, 0.35);
}

/* Liquid Glass Shine Bevel */
.shine {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.shine-tl {
  top: -1px;
  left: -1px;
  width: 240px;
  height: 180px;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-top-left-radius: 28px;
  background: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  -webkit-mask-image: radial-gradient(200px 140px at 45px 35px, #000 0%, transparent 85%);
  mask-image: radial-gradient(200px 140px at 45px 35px, #000 0%, transparent 85%);
}

/* Hatch Divider */
.hatch {
  height: 64px;
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 11px
  );
}

/* Hero Showcase Card */
.hero-stage {
  max-width: 1020px;
  margin: 52px auto 0;
  padding: clamp(24px, 4vw, 44px);
}
.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 20px;
  margin-top: 36px;
}
.hero-metric-item {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.metric-value {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-value span {
  color: var(--blue-bright);
}
.metric-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Badges / Chips */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: all 0.2s ease;
}
.tag-chip:hover {
  background: var(--blue-tint);
  border-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

/* Expertise 4-Column Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.expertise-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-height: 320px;
}
.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  margin-bottom: 24px;
}
.expertise-card h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.expertise-card p {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--text-muted);
}
.expertise-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.expertise-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-primary);
}

/* Toolkit Grid */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.toolkit-category-card {
  padding: 32px 28px;
}
.toolkit-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.toolkit-category-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: grid;
  place-items: center;
  color: var(--blue-bright);
}
.toolkit-category-header h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.tool-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.tool-pill:hover {
  background: var(--blue-tint);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.45);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}
.contact-info-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
}
.contact-info-card h3 {
  margin: 0 0 12px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.contact-info-card p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.contact-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-item-row:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(59, 130, 246, 0.3);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}
.contact-item-text {
  flex-grow: 1;
  min-width: 0;
}
.contact-item-label {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-item-val {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  transition: all 0.2s ease;
}
.copy-btn:hover {
  background: var(--blue-primary);
  border-color: var(--blue-bright);
  color: #ffffff;
}

/* Contact Form */
.contact-form-card {
  padding: clamp(28px, 4vw, 44px);
}
.contact-form-card h3 {
  margin: 0 0 8px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.contact-form-card p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(14, 15, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 16px -2px rgba(59, 130, 246, 0.5);
  outline: none;
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Credit Bar & Footer */
.credit-bar {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 100px auto 0;
  padding: 24px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--text-muted);
  z-index: 2;
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.giant {
  position: relative;
  z-index: 0;
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 24px auto 16px;
  pointer-events: none;
  font-family: 'Archivo', 'Helvetica Neue', sans-serif;
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--blue-primary) 0%,
    rgba(59, 130, 246, 0.35) 45%,
    rgba(59, 130, 246, 0) 95%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Toast System */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(18, 19, 24, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.toast-notice.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Reveal on Scroll (scoped to .motion-ready to prevent FOUC / content invisibility) */
.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .status-dot {
    animation: none;
  }
  .motion-ready .reveal-on-scroll,
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   App Splash / Systems Loader
   ========================================================================== */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0b;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.app-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.loader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0.1) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: loaderPulse 2s ease-in-out infinite;
}
.loader-glyph {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  animation: glyphFloat 3s ease-in-out infinite alternate;
}
.loader-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--blue-primary);
  border-right-color: var(--blue-bright);
  animation: loaderSpin 0.8s linear infinite;
}
.loader-brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.25em;
  color: #ffffff;
  text-indent: 0.25em;
}
.loader-status {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.loader-dots {
  display: inline-block;
  animation: dotsBlink 1.4s infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.85; }
}
@keyframes glyphFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes dotsBlink {
  0%, 20% { opacity: 0; }
  40% { opacity: 0.5; }
  60%, 100% { opacity: 1; }
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumb-bar {
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 6px 16px;
  margin: 0;
  font-size: 12.5px;
  font-family: 'Geist Mono', monospace;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: var(--text-dim);
}
.breadcrumb-item a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
  color: var(--blue-bright);
}
.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.25);
}
.breadcrumb-item[aria-current='page'] {
  color: var(--blue-bright);
  font-weight: 500;
}

/* ==========================================================================
   Case Studies Section
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.case-study-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
}
.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-study-card h3 {
  margin: 0 0 12px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 118%;
  font-variation-settings: 'wdth' 118;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.case-study-card p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}
.case-study-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.case-study-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.case-study-highlights li::before {
  content: '→';
  color: var(--blue-bright);
  font-weight: 600;
}
.case-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.case-metric-val {
  font-family: 'Geist Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.case-metric-val span {
  color: var(--blue-bright);
}
.case-metric-lbl {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FAQ Section & Accordion
   ========================================================================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: transparent;
  border: none;
  text-align: left;
  color: #ffffff;
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-trigger:hover {
  color: var(--blue-bright);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.faq-trigger[aria-expanded='true'] .faq-icon {
  transform: rotate(180deg);
  background: var(--blue-primary);
  color: #ffffff;
}
.faq-content {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Location Card / Digital Coordinates
   ========================================================================== */
.location-card {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.location-radar {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 18px;
  background: rgba(14, 15, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.radar-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 16px var(--blue-primary);
  z-index: 2;
}
.radar-wave {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-bright);
  animation: radarWave 2.5s infinite linear;
}
@keyframes radarWave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(6); opacity: 0; }
}
.coords-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
}
.coords-row:last-child {
  border-bottom: none;
}
.coords-lbl {
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
}
.coords-val {
  color: #ffffff;
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
}

/* ==========================================================================
   Cookie Consent Floating Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  margin-left: auto;
  z-index: 900;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(14, 15, 20, 0.94);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h4 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}
.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-cookie-accept {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-primary);
  border: 1px solid var(--blue-bright);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cookie-accept:hover {
  background: var(--blue-electric);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}
.btn-cookie-essential {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cookie-essential:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(10, 10, 11, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  }
  .mobile-cta-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 13.5px;
    justify-content: center;
  }
  .mobile-cta-copy {
    padding: 10px 16px;
    font-size: 13.5px;
    border-radius: 999px;
  }
}

/* ==========================================================================
   Form Checkbox Consent
   ========================================================================== */
.form-consent-group {
  margin-top: 14px;
  margin-bottom: 20px;
}
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.form-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue-primary);
  flex-shrink: 0;
  cursor: pointer;
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-page-wrapper {
  max-width: 860px;
  margin: 60px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.legal-card {
  padding: clamp(32px, 5vw, 56px);
}
.legal-header {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
}
.legal-header h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 12px 0 8px;
  color: #ffffff;
}
.legal-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  color: var(--text-dim);
}
.legal-section {
  margin-bottom: 32px;
}
.legal-section h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 14px;
}
.legal-section p, .legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-section ul {
  padding-left: 20px;
  margin: 12px 0;
}
.legal-section li {
  margin-bottom: 8px;
}
.legal-back-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

