/* =========================================================
   Viral Mind Technologies — Premium Light System
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f5ee;
  --bg-warm: #fbf8f1;
  --text: #101216;
  --muted: #5d6470;
  --graphite: #343a44;
  --navy: #192132;
  --navy-soft: #27324a;
  --gold: #c79a48;
  --gold-soft: #ead7b6;
  --line: #e7e1d6;
  --line-strong: #d8cfbf;
  --shadow: 0 18px 50px rgba(25, 33, 50, 0.09);
  --shadow-soft: 0 10px 30px rgba(25, 33, 50, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(199, 154, 72, 0.55);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--navy);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 54px 0 74px;
}

.surface {
  background: linear-gradient(180deg, var(--bg-warm) 0%, #fff 100%);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hidden {
  display: none;
}

/* =========================================================
   Typography
   ========================================================= */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.1rem, 12vw, 6.6rem);
  font-weight: 800;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.15rem, 6vw, 4.15rem);
  font-weight: 750;
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading p:last-child {
  max-width: 790px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

/* =========================================================
   Buttons and Links
   ========================================================= */
.button,
.header-cta,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.header-cta:hover,
.mobile-cta:hover {
  transform: translateY(-2px);
}

.button-primary,
.header-cta,
.mobile-cta {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 16px 28px rgba(25, 33, 50, 0.18);
}

.button-primary:hover,
.header-cta:hover,
.mobile-cta:hover {
  background: var(--navy-soft);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   Header and Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(231, 225, 214, 0.65);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(216, 207, 191, 0.88);
  box-shadow: 0 10px 28px rgba(25, 33, 50, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  color: var(--navy);
  font-size: 0.96rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  gap: 4px;
  max-height: 0;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  overflow: hidden;
  transition: max-height 240ms ease, padding 240ms ease;
}

.mobile-menu.is-open {
  max-height: 520px;
  padding: 0 0 18px;
}

.mobile-link {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 650;
}

.mobile-link:hover {
  background: var(--bg-soft);
}

.mobile-cta {
  margin-top: 8px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -22% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(234, 215, 182, 0.72), rgba(234, 215, 182, 0.22) 38%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 46px;
  align-items: center;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 3.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.orbit-map {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 238, 0.78)),
    radial-gradient(circle at 50% 50%, rgba(199, 154, 72, 0.15), transparent 42%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orbit-map::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(216, 207, 191, 0.6);
  border-radius: 26px;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border: 1px dashed rgba(25, 33, 50, 0.16);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.orbit-ring-one {
  width: 270px;
  height: 270px;
}

.orbit-ring-two {
  width: 390px;
  height: 390px;
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(25, 33, 50, 0.12);
  transform: translate(-50%, -50%);
}

.core-node img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.core-node span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.satellite-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 207, 191, 0.95);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 25px rgba(25, 33, 50, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  height: 1px;
  width: 132px;
  background: linear-gradient(90deg, rgba(199, 154, 72, 0.05), rgba(199, 154, 72, 0.72));
  transform-origin: left center;
}

.node-media { top: 66px; left: 50%; transform: translateX(-50%); }
.node-influencers { top: 154px; right: 28px; }
.node-ownership { right: 52px; bottom: 122px; }
.node-monetization { bottom: 58px; left: 50%; transform: translateX(-50%); }
.node-partnerships { left: 38px; bottom: 122px; }
.node-solutions { top: 154px; left: 30px; }

.line-media { width: 126px; transform: rotate(-90deg); }
.line-influencers { width: 150px; transform: rotate(-34deg); }
.line-ownership { width: 142px; transform: rotate(36deg); }
.line-monetization { width: 128px; transform: rotate(90deg); }
.line-partnerships { width: 142px; transform: rotate(144deg); }
.line-solutions { width: 150px; transform: rotate(214deg); }

/* =========================================================
   Metrics
   ========================================================= */
.metrics-grid {
  display: grid;
  gap: 14px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.metric-button {
  min-height: 38px;
  margin-top: 18px;
  padding: 0 15px;
  font-size: 0.76rem;
  box-shadow: 0 10px 20px rgba(25, 33, 50, 0.14);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(2rem, 8vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================================
   Cards and Portfolio
   ========================================================= */
.card-grid,
.portfolio-grid,
.app-grid,
.audience-grid {
  display: grid;
  gap: 18px;
}

.build-card,
.app-card,
.pillar-card,
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.build-card,
.app-card,
.pillar-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.build-card:hover,
.app-card:hover,
.pillar-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.build-card {
  position: relative;
  min-height: 255px;
  padding: 28px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.build-card p,
.app-card p,
.pillar-card p {
  margin-bottom: 0;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--bg-soft);
}

.portfolio-button {
  margin-top: 22px;
  width: fit-content;
}

.portfolio-content {
  padding: 26px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-list span,
.app-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(199, 154, 72, 0.34);
  border-radius: 999px;
  color: #785b28;
  background: rgba(234, 215, 182, 0.28);
  font-size: 0.72rem;
  font-weight: 750;
}

/* =========================================================
   Applications and Thesis
   ========================================================= */
.app-card {
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 28px;
}

.app-label {
  width: fit-content;
  margin-bottom: 24px;
}

.best-for {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--bg-warm);
  font-size: 0.92rem;
}

.best-for strong {
  color: var(--navy);
}

.note {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.thesis-layout {
  display: grid;
  gap: 34px;
}

.thesis-heading {
  margin-bottom: 0;
}

.pillar-list {
  display: grid;
  gap: 14px;
}

.pillar-card {
  padding: 24px;
}

.pillar-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(199, 154, 72, 0.12);
}

/* =========================================================
   Partnerships, Consulting, Audience
   ========================================================= */
.split-panel {
  display: grid;
  gap: 30px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.split-panel p:last-of-type {
  margin-bottom: 24px;
}

.audience-card {
  padding: 22px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 34px;
}

.contact-copy p {
  max-width: 620px;
  font-size: 1.06rem;
}

.contact-direct {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-direct span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.contact-direct a {
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-page {
  min-height: calc(100vh - var(--header-height));
  padding: 72px 0 96px;
}

.contact-page-wrap {
  width: min(100% - 32px, 760px);
}

.contact-page-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.contact-page-heading h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
}

.contact-page-heading p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

.contact-page-form {
  width: 100%;
}

.contact-page-direct {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-page-direct span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.contact-page-direct a {
  color: var(--navy);
  font-weight: 800;
}

@media (min-width: 620px) {
  .contact-page-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .contact-page {
    padding: 56px 0 78px;
  }

  .contact-page-direct {
    width: 100%;
  }
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  color: var(--text);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input {
  height: 52px;
  padding: 0 16px;
}

textarea {
  resize: vertical;
  min-height: 140px;
  padding: 14px 16px;
}

input:focus,
textarea:focus {
  border-color: rgba(199, 154, 72, 0.9);
  box-shadow: 0 0 0 4px rgba(199, 154, 72, 0.14);
  outline: none;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-message.error {
  color: #8c2d21;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 54px 0 26px;
  color: #fff;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-brand p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo .brand-text {
  color: #fff;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.86rem;
}

/* =========================================================
   Scroll Reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive Layout
   ========================================================= */

/* More compact desktop typography */
@media (min-width: 900px) {
  h1 {
    font-size: clamp(2.85rem, 4.8vw, 4.35rem);
  }

  h2 {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
  }

  h3 {
    font-size: clamp(1rem, 1.2vw, 1.18rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .metric-card strong {
    font-size: clamp(1.9rem, 3.2vw, 2.45rem);
  }
}

/* Desktop orbit-map alignment fix — hero column safe */
@media (min-width: 900px) {
  .hero-visual {
    min-height: 520px;
  }

  .orbit-map {
    min-height: 520px;
    max-width: 560px;
    margin-inline: auto;
  }

  .core-node {
    width: 190px;
    height: 170px;
    padding: 18px;
    border-radius: 30px;
  }

  .core-node img {
    width: 82px;
    height: 82px;
  }

  .core-node span {
    font-size: 0.82rem;
  }

  .satellite-node {
    width: 176px;
    min-width: 0;
    min-height: 58px;
    padding: 13px 18px;
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: normal;
  }

  .node-media {
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .node-solutions {
    top: 176px;
    left: 18px;
  }

  .node-influencers {
    top: 176px;
    right: 18px;
  }

  .node-partnerships {
    bottom: 176px;
    left: 18px;
  }

  .node-ownership {
    bottom: 176px;
    right: 18px;
  }

  .line-media {
    width: 122px;
    transform: rotate(-90deg);
  }

  .line-monetization {
    width: 122px;
    transform: rotate(90deg);
  }

  .line-solutions {
    width: 142px;
    transform: rotate(210deg);
  }

  .line-influencers {
    width: 142px;
    transform: rotate(-30deg);
  }

  .line-partnerships {
    width: 142px;
    transform: rotate(150deg);
  }

  .line-ownership {
    width: 142px;
    transform: rotate(30deg);
  }
}

@media (min-width: 1200px) {
  .orbit-map {
    max-width: 620px;
  }

  .node-solutions,
  .node-partnerships {
    left: 28px;
  }

  .node-influencers,
  .node-ownership {
    right: 28px;
  }
}

@media (min-width: 620px) {
  .metrics-grid,
  .app-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }

  .form-row.full,
  .form-button,
  .form-message {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .section {
    padding: 108px 0;
  }

  .section-tight {
    padding: 70px 0 88px;
  }

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

  .six-grid,
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

.split-panel,
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
  }
}

@media (min-width: 980px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(231, 225, 214, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
  }

  .nav-link {
    position: relative;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--graphite);
    font-size: 0.84rem;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--navy);
    background: var(--bg-soft);
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    padding: 104px 0 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.72fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .metric-card {
    min-height: 190px;
  }

  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thesis-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .pillar-list {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .brand-text {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .metric-button {
    width: 100%;
  } 

  .orbit-map {
    min-height: 460px;
  }

  .portfolio-button {
    width: 100%;
  }

  .core-node {
    width: 128px;
    height: 128px;
    padding: 12px;
    border-radius: 26px;
  }

  .core-node img {
    width: 58px;
    height: 58px;
  }

  .core-node span {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .satellite-node {
    width: clamp(104px, 28vw, 116px);
    min-width: 0;
    min-height: 42px;
    padding: 7px 10px;
    line-height: 1.15;
    white-space: normal;
  }

  .node-media {
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
  }

  .node-influencers {
    top: 132px;
    right: 8px;
  }

  .node-ownership {
    right: 8px;
    bottom: 105px;
  }

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

  .node-partnerships {
    left: 8px;
    bottom: 105px;
  }

  .node-solutions {
    top: 132px;
    left: 8px;
  }

  .line-media {
    width: 166px;
    transform: rotate(-90deg);
  }

  .line-monetization {
    width: 172px;
    transform: rotate(90deg);
  }

  .line-influencers {
    width: 158px;
    transform: rotate(-30deg);
  }

  .line-solutions {
    width: 158px;
    transform: rotate(210deg);
  }

  .line-ownership {
    width: 168px;
    transform: rotate(38deg);
  }

  .line-partnerships {
    width: 168px;
    transform: rotate(142deg);
  }
}

@media (max-width: 380px) {
  .satellite-node {
    width: 98px;
    font-size: 0.62rem;
  }

  .node-solutions,
  .node-partnerships {
    left: 4px;
  }

  .node-influencers,
  .node-ownership {
    right: 4px;
  }
}

/* Final desktop orbit fix — solves compressed right-column issue */
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 680px);
    min-height: 540px;
    margin-inline: auto;
  }

  .orbit-map {
    width: 100%;
    max-width: 620px;
    min-height: 540px;
    margin-inline: auto;
  }

  .orbit-ring-one {
    width: 300px;
    height: 300px;
  }

  .orbit-ring-two {
    width: 470px;
    height: 470px;
  }

  .core-node {
    width: 168px;
    height: 156px;
    padding: 16px;
    border-radius: 28px;
  }

  .core-node img {
    width: 76px;
    height: 76px;
  }

  .core-node span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .satellite-node {
    width: 154px;
    min-width: 0;
    min-height: 54px;
    padding: 11px 15px;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
  }

  .node-media {
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .node-solutions {
    top: 190px;
    left: 34px;
  }

  .node-influencers {
    top: 190px;
    right: 34px;
  }

  .node-partnerships {
    bottom: 190px;
    left: 34px;
  }

  .node-ownership {
    bottom: 190px;
    right: 34px;
  }

  .line-media {
    width: 154px;
    transform: rotate(-90deg);
  }

  .line-monetization {
    width: 154px;
    transform: rotate(90deg);
  }

  .line-solutions {
    width: 178px;
    transform: rotate(198deg);
  }

  .line-influencers {
    width: 178px;
    transform: rotate(-18deg);
  }

  .line-partnerships {
    width: 178px;
    transform: rotate(162deg);
  }

  .line-ownership {
    width: 178px;
    transform: rotate(18deg);
  }
}

/* Restore two-column hero only when there is enough room */
@media (min-width: 1140px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(560px, 0.85fr);
    gap: 56px;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
