:root {
  color-scheme: dark;
  --bg: #050911;
  --panel: rgba(14, 20, 32, 0.9);
  --panel-2: rgba(10, 15, 24, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --text: #edf3fb;
  --muted: #95a6bb;
  --accent: #7ee0ff;
  --accent2: #7c83ff;
  --accent3: #32f0bf;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --hero-x: 50%;
  --hero-y: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(126, 224, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 4%, rgba(124, 131, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(50, 240, 191, 0.08), transparent 26%),
    linear-gradient(180deg, #04070d 0%, #07101a 55%, #04070d 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.24;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent);
}

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

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

h1,
h2,
h3,
.hero-core,
.floating-card strong,
.service-card span,
.network-node strong,
.price {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.04em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.panel,
.section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 24, 36, 0.94), rgba(10, 15, 24, 0.9));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 224, 255, 0.08), transparent 30%, transparent 70%, rgba(124, 131, 255, 0.08));
  pointer-events: none;
}

.glass {
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.94), rgba(9, 14, 24, 0.84));
  border: 1px solid rgba(126, 224, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  min-height: 860px;
  padding: 0;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-canvas,
.hero-grid,
.hero-orb,
.hero-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  opacity: 0.42;
  background:
    linear-gradient(rgba(126, 224, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.06) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.96), transparent 92%);
}

.hero-orb {
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: drift 16s ease-in-out infinite;
}

.hero-orb-a {
  width: 620px;
  height: 620px;
  left: -120px;
  top: -110px;
  background: radial-gradient(circle, rgba(126, 224, 255, 0.28), transparent 66%);
}

.hero-orb-b {
  width: 700px;
  height: 700px;
  right: -160px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(124, 131, 255, 0.22), transparent 66%);
  animation-delay: -7s;
}

.hero-sweep {
  background: linear-gradient(180deg, transparent 0%, rgba(49, 240, 191, 0.08) 50%, transparent 100%);
  opacity: 0.55;
  animation: sweep 14s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 780px;
  padding: 34px 26px 20px 30px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 12px;
  align-items: center;
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: center;
  max-width: 600px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(126, 224, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(5, 9, 17, 0.54), rgba(5, 9, 17, 0.18));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.eyebrow,
.section-kicker,
.mini-label {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  line-height: 0.92;
  max-width: 10.8ch;
}

.lede,
.section-lede,
.offer-copy,
.profile-copy p,
.community-side p,
.about-panel p,
.feature-panel p,
.operations-panel p,
.network-node p,
.service-card p,
.final-layout p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.lede {
  max-width: 62ch;
}

.hero-copy .lede {
  color: rgba(241, 247, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.cta-row,
.signal-row,
.cred-rail,
.ribbon,
.chip-stack,
.proof-list,
.status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(126, 224, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(126, 224, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.primary {
  background: linear-gradient(135deg, rgba(126, 224, 255, 0.96), rgba(124, 131, 255, 0.95));
  color: #04101a;
  border-color: transparent;
}

.cred-rail span,
.signal-row span,
.trust-chip,
.ribbon span,
.chip-stack span,
.node-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
}

.signal-row span {
  gap: 8px;
}

.signal-row i,
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent3);
  box-shadow: 0 0 12px rgba(50, 240, 191, 0.95);
}

.hero-visual {
  position: relative;
  min-height: 700px;
}

.hero-core {
  position: absolute;
  left: 58%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid rgba(126, 224, 255, 0.24);
  box-shadow:
    0 0 0 1px rgba(126, 224, 255, 0.12),
    0 0 96px rgba(126, 224, 255, 0.22),
    0 0 180px rgba(124, 131, 255, 0.16),
    inset 0 0 90px rgba(126, 224, 255, 0.12);
}

.hero-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(126, 224, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(124, 131, 255, 0.12), transparent 52%);
  pointer-events: none;
}

.core-label {
  position: absolute;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.core-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(126, 224, 255, 0.08), inset 0 0 64px rgba(126, 224, 255, 0.14);
  animation: spin 22s linear infinite;
}

.core-ring-two {
  inset: 22%;
  animation-direction: reverse;
  animation-duration: 28s;
}

.core-pulse {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 224, 255, 0.98) 0%, rgba(124, 131, 255, 0.36) 34%, transparent 76%);
  box-shadow: 0 0 72px rgba(126, 224, 255, 0.7), 0 0 170px rgba(124, 131, 255, 0.36);
  animation: pulse 3.6s ease-in-out infinite;
}

.core-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.core-caption strong {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.core-caption span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.floating-card {
  position: absolute;
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 22px;
  display: grid;
  gap: 8px;
  animation: float 8s ease-in-out infinite;
}

.floating-card strong {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.float-a {
  top: 44px;
  left: 0;
}

.float-b {
  top: 46%;
  right: 14px;
  transform: translateY(-50%);
  animation-delay: -2s;
}

.float-c {
  left: 74px;
  bottom: 24px;
  animation-delay: -4s;
}

.hero-core,
.floating-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.hero-core.hovered,
.floating-card.hovered {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(126, 224, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(126, 224, 255, 0.12), 0 28px 70px rgba(0, 0, 0, 0.36);
  filter: saturate(1.08);
}

.hero:hover .hero-core,
.hero:hover .floating-card {
  border-color: rgba(126, 224, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(126, 224, 255, 0.08), 0 28px 60px rgba(0, 0, 0, 0.32);
}

.hero-trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 30px 26px;
}

.trust-chip {
  min-height: 36px;
  padding: 0 16px;
}

.hero-trust-strip .trust-chip {
  color: rgba(237, 243, 251, 0.92);
  background: rgba(5, 9, 17, 0.42);
  border-color: rgba(126, 224, 255, 0.12);
}

.hero-copy .cred-rail span {
  color: rgba(237, 243, 251, 0.92);
  background: rgba(5, 9, 17, 0.52);
  border-color: rgba(126, 224, 255, 0.16);
}

.hero-reveal,
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.hero-reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.section {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.section-head h2,
.final-layout h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.98;
  max-width: 15ch;
  margin-top: 10px;
}

.section-lede {
  max-width: 54ch;
}

.authority-layout,
.offer-layout,
.community-layout,
.about-layout,
.operations-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.18fr 0.82fr;
}

.feature-panel,
.profile-panel,
.service-card,
.operations-panel,
.network-panel,
.offer-panel,
.offer-side,
.community-panel,
.community-side,
.about-panel,
.headshot-panel,
.final-layout {
  padding: 24px;
  border-radius: 22px;
}

.feature-panel h3,
.operations-panel h3,
.offer-panel h3,
.community-panel h3,
.about-panel h3 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  margin: 10px 0 14px;
  max-width: 16ch;
}

.proof-list {
  margin-top: 18px;
  gap: 10px;
}

.proof-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-panel {
  display: grid;
  gap: 18px;
}

.profile-frame,
.headshot-frame {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(126, 224, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.96), rgba(7, 11, 18, 0.98));
  border: 1px solid rgba(126, 224, 255, 0.14);
}

.profile-ring,
.headshot-ring {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 255, 0.16);
  box-shadow: inset 0 0 80px rgba(126, 224, 255, 0.08);
}

.profile-silhouette,
.headshot-ghost {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 150px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 44% 44% 36% 36% / 40% 40% 58% 58%;
  background:
    radial-gradient(circle at 50% 28%, rgba(126, 224, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(126, 224, 255, 0.14), rgba(124, 131, 255, 0.08));
  filter: blur(0.4px);
}

.profile-caption,
.headshot-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-align: center;
}

.profile-copy {
  display: grid;
  gap: 12px;
}

.service-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  gap: 12px;
  min-height: 200px;
}

.service-card span {
  display: inline-flex;
  width: fit-content;
  min-width: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(126, 224, 255, 0.1);
  border: 1px solid rgba(126, 224, 255, 0.14);
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  line-height: 1.1;
}

.operations-panel,
.network-panel,
.offer-side,
.community-side,
.headshot-panel {
  min-height: 100%;
}

.network-panel {
  position: relative;
  min-height: 420px;
}

.network-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.network-node,
.line {
  position: absolute;
}

.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 224, 255, 0.7), transparent);
  box-shadow: 0 0 18px rgba(126, 224, 255, 0.34);
}

.line-a {
  left: 22%;
  top: 34%;
  width: 46%;
  transform: rotate(12deg);
}

.line-b {
  left: 24%;
  top: 63%;
  width: 48%;
  transform: rotate(-15deg);
}

.line-c {
  left: 18%;
  top: 50%;
  width: 58%;
  transform: rotate(3deg);
}

.network-node {
  width: min(280px, 42%);
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(9, 14, 24, 0.9));
  border: 1px solid rgba(126, 224, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px rgba(0, 0, 0, 0.24);
}

.network-node strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 1.1rem;
}

.node-a {
  left: 22px;
  top: 28px;
}

.node-b {
  right: 22px;
  top: 110px;
}

.node-c {
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
}

.network-node.is-active {
  border-color: rgba(126, 224, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(126, 224, 255, 0.1),
    0 0 36px rgba(126, 224, 255, 0.12),
    0 20px 40px rgba(0, 0, 0, 0.24);
}

.offer-layout {
  grid-template-columns: 1.24fr 0.76fr;
}

.offer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.price {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), #a9adff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer-grid {
  margin: 20px 0;
}

.offer-grid div,
.status-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-grid strong {
  display: block;
  margin-bottom: 8px;
}

.offer-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.offer-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.bullet-list span {
  margin-top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(126, 224, 255, 0.86);
}

.community-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.status-grid {
  margin-top: 18px;
}

.status-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.chip-stack {
  margin-top: 18px;
}

.chip-stack span,
.ribbon span {
  white-space: nowrap;
}

.about-layout {
  grid-template-columns: 1.16fr 0.84fr;
}

.final-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.panel,
.section,
.hero-core,
.floating-card,
.service-card,
.network-node,
.offer-grid div,
.status-grid div,
.proof-list span,
.trust-chip,
.cred-rail span,
.ribbon span,
.chip-stack span {
  will-change: transform, opacity, box-shadow;
}

.panel.hovered,
.section.hovered,
.glass.hovered {
  border-color: rgba(126, 224, 255, 0.18);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(16px, -14px, 0) scale(1.03);
  }
}

@keyframes sweep {
  0% {
    transform: translateY(-35vh);
  }

  100% {
    transform: translateY(135vh);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.76;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .hero-content,
  .authority-layout,
  .offer-layout,
  .community-layout,
  .about-layout,
  .operations-layout,
  .final-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 1060px;
  }

  .hero-content {
    min-height: 1020px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-panel {
    min-height: 480px;
  }

  .final-layout {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 16px, 1160px);
    padding: 12px 0 56px;
  }

  .panel,
  .section {
    border-radius: 22px;
  }

  .hero {
    min-height: 980px;
  }

  .hero-content {
    min-height: 920px;
    padding: 20px 18px 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.6rem);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-core {
    width: min(100%, 380px);
    left: 50%;
    top: 40%;
  }

  .floating-card {
    min-width: 140px;
    padding: 14px 15px;
  }

  .float-a {
    left: 0;
    top: 18px;
  }

  .float-b {
    right: 0;
    top: 46%;
  }

  .float-c {
    left: 18px;
    bottom: 12px;
  }

  .hero-trust-strip {
    padding: 0 18px 20px;
  }

  .service-grid,
  .offer-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .network-node {
    width: calc(100% - 36px);
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 12px auto 0;
  }

  .line {
    display: none;
  }
}


/* Navigation cleanup: compact upper-right desktop menu button. */
@media (min-width: 901px) {
  .hero .mega-nav {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;
    left: auto !important;
    z-index: 20 !important;
    width: auto !important;
    max-width: none !important;
  }

  .hero .mega-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
    pointer-events: auto;
  }

  .hero .mega-nav-trigger {
    width: auto !important;
    min-width: 132px !important;
    max-width: 168px !important;
    padding: 10px 13px !important;
    gap: 9px !important;
    text-align: left !important;
  }

  .hero .mega-nav-trigger small {
    display: none !important;
  }

  .hero .mega-menu-panel {
    right: 0 !important;
    left: auto !important;
    width: min(88vw, 360px) !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .hero .mega-nav::after {
    display: none;
  }
}


/* Homepage navigation guard: never show Home inside the menu on the homepage. */
body.home-page .mega-menu-link[href="/"],
body.home-page .mega-menu-link[href="/index.html"],
body.home-page .mega-menu-link[href="https://jamesphillips.io/"],
body.home-page .mega-menu-link[href="https://jamesphillips.io/index.html"] {
  display: none !important;
}

/* Mobile navigation spacing: keep the menu trigger above the hero headline instead of covering it. */
@media (max-width: 980px) {
  .hero-content {
    padding-top: 148px !important;
  }
}
