/* ============================================================
   Wayne Wang Portfolio
   Fonts: DM Sans (display/headings) + Inter (body) + IBM Plex Mono (labels)
   Closest open-source match to NVIDIA Sans web stack
   ============================================================ */

:root {
  --ink:         #0c1110;
  --ink-soft:    #2f3835;
  --muted:       #66706c;
  --line:        #d9dfda;
  --paper:       #f6f8f5;
  --paper-hi:    #ffffff;
  --accent:      #76b900;
  --accent-dark: #467400;
  --shadow:      0 24px 80px rgba(20,32,26,0.12);
  --max:         1220px;
  --radius:      8px;
  --fd:          'NVIDIA Sans', 'Rubik', 'Helvetica Neue', 'Arial', system-ui, sans-serif;
  --fb:          'NVIDIA Sans', 'Rubik', 'Helvetica Neue', 'Arial', system-ui, sans-serif;
  --fm:          'IBM Plex Mono', 'Consolas', monospace;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fb);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { color: var(--ink); background: rgba(118,185,0,0.26); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

/* ── TYPOGRAPHY ── */
h1,h2,h3 { margin-top: 0; font-family: var(--fd); }
p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(36px,5.5vw,72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h1 > span { display: block; }
.program-line { display: block; }
.program-line span { display: inline; }
.program-line span + span { margin-left: 0.18em; }

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px,5vw,68px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h3 {
  margin-bottom: 12px;
  font-size: clamp(19px,2vw,26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.eyebrow, .section-kicker {
  margin: 0 0 20px;
  font-family: var(--fm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-target {
  color: #fff;
  background: var(--accent);
  color: #102007;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.12em;
}

/* ── LAYOUT ── */
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px,10vw,140px) 0;
}

/* ── HEADER ── */
.site-header {
  position: fixed; z-index: 30;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  padding: 0 clamp(16px,4vw,48px);
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.is-solid {
  color: var(--ink);
  background: rgba(246,248,245,0.94);
  border-bottom: 1px solid rgba(12,17,16,0.08);
  backdrop-filter: blur(20px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fd);
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid currentColor; border-radius: 50%;
  font-family: var(--fd); font-size: 11px; font-weight: 700;
}
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav {
  display: flex; align-items: center;
  gap: clamp(14px,2.2vw,28px);
  font-family: var(--fb); font-size: 13px; font-weight: 500;
}
.nav a { opacity: 0.75; transition: opacity 150ms, color 150ms; }
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--accent); }

/* Hide mobile elements on desktop */
.nav-toggle,
.mobile-nav,
.mobile-nav-overlay { display: none; }

/* ── BUTTONS ── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.36);
  font-family: var(--fb); font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:active { transform: scale(0.98) translateY(1px); }
.button.primary { color: #102007; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: #8ed022; transform: translateY(-2px); }
.button.ghost { color: #fff; background: rgba(255,255,255,0.08); }
.button.ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.14); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100dvh;
  overflow: hidden; color: #fff; background: #080d0b;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media {
  background-image: url("assets/media/lohas-day-hero.jpg");
  background-position: center 30%; background-size: cover;
  transform: scale(1.02);
  opacity: 0.55;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(5,8,6,0.97) 0%, rgba(5,8,6,0.78) 46%, rgba(5,8,6,0.22) 100%),
    linear-gradient(0deg,  rgba(5,8,6,0.96) 0%, transparent 42%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: clamp(24px,5vw,72px);
  width: min(var(--max), calc(100% - 40px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 110px 0 72px;
  align-items: end;
}
.hero-copy { max-width: 820px; min-width: 0; }
.hero-lede {
  max-width: 640px; margin-bottom: 28px;
  color: rgba(255,255,255,0.78);
  font-family: var(--fb);
  font-size: clamp(17px,1.8vw,22px); font-weight: 400; line-height: 1.65;
}

/* Surface capability tags */
.hero-surface {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.hero-surface span {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(118,185,0,0.9);
  border: 1px solid rgba(118,185,0,0.3);
  background: rgba(118,185,0,0.07);
  padding: 5px 11px; border-radius: 3px;
  white-space: nowrap;
}

/* Environment tags row */
.hero-env {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.hero-env-label {
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-right: 4px;
  white-space: nowrap;
}
.hero-env span:not(.hero-env-label) {
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  transition: border-color 150ms, color 150ms;
}
.hero-env span:not(.hero-env-label):hover {
  border-color: rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.8);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.identity-panel {
  align-self: end; padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  min-width: 0;
}
.identity-panel p {
  margin: 0 0 9px; font-family: var(--fb); font-size: 13px;
  white-space: normal; word-wrap: break-word;
  color: rgba(255,255,255,0.55);
}
.identity-panel .panel-label {
  color: #fff; font-family: var(--fd);
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.identity-divider { width: 40px; height: 2px; margin: 16px 0; background: var(--accent); }

/* ── ABOUT WAYNE ── */
.about-wayne-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(32px,6vw,80px);
  align-items: start;
}
.about-wayne-role {
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 22px;
}
.about-wayne-body {
  font-family: var(--fb);
  font-size: clamp(15px,1.45vw,17px); color: var(--ink-soft);
  line-height: 1.72; margin-bottom: 18px;
}
.about-wayne-facts { border-top: 1px solid var(--line); margin-top: 28px; }
.aw-fact {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.aw-fact-label {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.aw-fact-val { font-family: var(--fb); font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* Right metrics block */
.aw-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  position: sticky; top: 84px;
}
.aw-metric {
  background: var(--paper-hi); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.aw-metric strong {
  font-family: var(--fd);
  font-size: clamp(28px,3.2vw,48px); font-weight: 700;
  line-height: 1; letter-spacing: -0.04em; color: var(--accent-dark);
}
.aw-metric span { font-family: var(--fb); font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── CAREER TIMELINE ── */
.career-trajectory { margin-top: 68px; }
.career-heading {
  font-family: var(--fd);
  font-size: clamp(20px,2.6vw,36px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 44px; max-width: 640px;
}
/* Horizontal line connecting nodes — slight upward curve */
.career-trajectory { margin-top: 68px; position: relative; }
.career-timeline {
  position: relative;
  width: 100%;
  min-height: 480px;
  padding-bottom: 240px;
  overflow: visible;
}
/* Diagonal rising line — replaced by SVG curve */
.career-timeline::before { display: none; }
/* SVG curve behind the nodes */
.ct-curve {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120px;
  pointer-events: none;
  z-index: 0;
}
/* Nodes positioned along the parabolic curve */
.ct-node {
  position: absolute;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 13%; padding: 0;
  z-index: 1;
}
.ct-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--line); border: 2.5px solid var(--paper-hi);
  outline: 2px solid var(--line);
  flex-shrink: 0; margin-bottom: 12px;
}
.ct-node-accent .ct-dot { background: var(--accent); outline-color: rgba(118,185,0,0.3); }
.ct-node-current .ct-dot {
  background: var(--accent); outline-color: rgba(118,185,0,0.35);
  width: 16px; height: 16px;
  box-shadow: 0 0 0 0 rgba(118,185,0,0.55);
  animation: pulse-dot 2.2s cubic-bezier(0.4,0,0.6,1) infinite;
}
.ct-content { display: flex; flex-direction: column; }
.ct-co {
  display: block; font-family: var(--fd);
  font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px;
}
.ct-role { display: block; font-family: var(--fb); font-size: 12px; color: var(--ink-soft); margin-bottom: 3px; }
.ct-year {
  display: inline-block; font-family: var(--fm);
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px;
}
.ct-desc { font-family: var(--fb); font-size: 12px; color: var(--muted); line-height: 1.55; margin: 0; }
.ct-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.ct-bullets li {
  font-family: var(--fb); font-size: 12px; color: var(--muted); line-height: 1.45;
  padding-left: 12px; position: relative;
}
.ct-bullets li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0    rgba(118,185,0,0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(118,185,0,0); }
  100% { box-shadow: 0 0 0 0    rgba(118,185,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-node-current .ct-dot { animation: none; }
}

@media (max-width: 1280px) {
  .career-timeline { min-height: 400px; padding-bottom: 200px; }
  .ct-node { width: 12%; }
}
@media (max-width: 900px) {
  .career-timeline { height: auto; min-height: auto; padding-bottom: 0; }
  .ct-curve { display: none; }
  .ct-node {
    position: static;
    width: auto;
    display: flex; flex-direction: column;
  }
  .career-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
  }
}
@media (max-width: 680px) {
  .career-timeline { grid-template-columns: 1fr; gap: 20px; }
  .ct-node { padding: 16px; background: var(--paper-hi); border-radius: var(--radius); border: 1px solid var(--line); }
  .ct-dot { width: 10px; height: 10px; margin-bottom: 10px; }
  .ct-co { font-size: 15px; }
  .ct-role { font-size: 13px; }
  .ct-year { font-size: 11px; }
  .ct-bullets li { font-size: 13px; line-height: 1.5; }
  .ct-legend { margin-top: 40px; }
}

/* ── INTRO GRID (operating thesis) ── */
.intro-grid, .profile-section, .radar-section {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(340px,1.05fr);
  gap: clamp(28px,6vw,90px);
  align-items: start;
}
.intro-copy p, .profile-text p, .portfolio-heading p, .radar-copy p, .analytics-header p, .wellness-header p {
  color: var(--ink-soft);
  font-size: clamp(17px,1.6vw,21px); line-height: 1.68;
}

/* ── PROFILE SECTION ── */
.profile-section {
  position: relative; align-items: stretch;
  padding-top: clamp(88px,11vw,144px);
  padding-bottom: clamp(88px,11vw,144px);
}
.profile-section::before {
  position: absolute; z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: linear-gradient(90deg, rgba(118,185,0,0.08), transparent 40%), #eef2ed;
  content: "";
}
.profile-facts {
  display: grid; background: var(--paper-hi);
  border: 1px solid rgba(12,17,16,0.1);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.profile-facts div { padding: 26px; border-bottom: 1px solid var(--line); }
.profile-facts div:last-child { border-bottom: 0; }
.profile-facts span {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark);
}
.profile-facts p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── 8 DIMENSIONS GRID ── */
.wellness-section { position: relative; }
.wellness-section::before {
  position: absolute; z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #111713; content: "";
}
/* Bottom slash divider — mirrors the radar top slash, creates visual break between the two dark sections */
.wellness-section::after {
  content: "";
  position: absolute;
  bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  height: 6px;
  background:
    repeating-linear-gradient(
      -65deg,
      rgba(118,185,0,0.55)    0px,
      rgba(118,185,0,0.55)    3px,
      transparent              3px,
      transparent              14px,
      rgba(118,185,0,0.55)    14px,
      rgba(118,185,0,0.55)    17px,
      transparent              17px,
      transparent              28px
    );
  z-index: 2;
}
.wellness-header { color: #fff; max-width: 660px; margin-bottom: 44px; }
.wellness-header .section-kicker { color: var(--accent); }
.wellness-header h2 { color: #fff; }
.wellness-header p { color: rgba(255,255,255,0.65); font-size: clamp(16px,1.5vw,19px); line-height: 1.62; }

.wellness-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 0;
}
.w-cell {
  background: rgba(15,21,17,0.92); padding: 26px 22px;
  position: relative; transition: background 180ms ease;
}
.w-cell:hover { background: rgba(24,33,27,0.96); }
.w-cell.span2 { grid-column: span 2; }
.w-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.w-dim {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 9px;
}
.w-name {
  font-family: var(--fd); font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 10px; line-height: 1.1;
}
.w-desc { font-family: var(--fb); font-size: 13px; color: rgba(255,255,255,0.58); line-height: 1.6; margin-bottom: 14px; }
.w-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.w-tag {
  font-family: var(--fm); font-size: 10px; font-weight: 400;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 8px; border-radius: 3px;
}

/* ── RADAR ── */
.radar-section {
  position: relative; align-items: center; color: #fff;
}
.radar-section::before {
  position: absolute; z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: linear-gradient(120deg, rgba(118,185,0,0.14), transparent 44%), #111713;
  content: "";
}

/* NVIDIA-style double green slash divider at top of radar section */
.radar-section::after {
  content: "";
  position: absolute;
  top: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  height: 6px;
  background:
    /* two diagonal slash lines using repeating-linear-gradient */
    repeating-linear-gradient(
      -65deg,
      var(--accent)    0px,
      var(--accent)    3px,
      transparent      3px,
      transparent      14px,
      var(--accent)    14px,
      var(--accent)    17px,
      transparent      17px,
      transparent      28px
    );
  z-index: 2;
}
.radar-section .radar-copy p, .radar-section .radar-legend { color: rgba(255,255,255,0.7); }
.radar-section h2 { color: #fff; }
.radar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 20px; }
.tab {
  min-height: 36px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; color: #fff;
  background: rgba(255,255,255,0.06);
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.tab:hover, .tab.active { border-color: var(--accent); color: #102007; background: var(--accent); }
.radar-legend { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.radar-legend li { position: relative; padding-left: 17px; }
.radar-legend li::before {
  position: absolute; top: 0.7em; left: 0;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: "";
}
.radar-wrap {
  display: grid; place-items: center;
  min-height: 500px; padding: clamp(16px,4vw,40px);
  position: relative;
  background:
    /* dot grid texture */
    radial-gradient(circle, rgba(118,185,0,0.18) 1px, transparent 1px),
    /* green glow top-left */
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(118,185,0,0.10) 0%, transparent 70%),
    /* base dark */
    #0b100e;
  background-size: 28px 28px, 100% 100%, 100% 100%;
  border: 1px solid rgba(118,185,0,0.18);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(118,185,0,0.08),
    0 24px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(118,185,0,0.12);
  overflow: hidden;
}
/* Corner accent line — top-left */
.radar-wrap::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
/* Corner accent line — bottom-right */
.radar-wrap::after {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 2px;
  background: linear-gradient(270deg, rgba(118,185,0,0.5), transparent);
}
canvas { max-width: 100%; height: auto; }
#skillRadar { max-width: min(560px, 100%); width: 100%; height: auto; }

/* ── ANALYTICS ── */
.analytics-section { position: relative; }
.analytics-section::before {
  position: absolute; z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: linear-gradient(90deg, rgba(118,185,0,0.06), transparent 40%), #eef2ed;
  content: "";
}
.analytics-header { max-width: 800px; margin-bottom: 44px; }
.analytics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.a-card {
  background: var(--paper-hi); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}
.a-card:hover { transform: translateY(-4px); border-color: rgba(118,185,0,0.5); }
.a-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px 11px; border-bottom: 1px solid var(--line);
}
.a-card-title { font-family: var(--fb); font-size: 13px; font-weight: 600; color: var(--ink); }
.a-badge {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark);
  border: 1px solid rgba(70,116,0,0.25); padding: 3px 8px; border-radius: 3px;
}
.a-card-body { padding: 15px; }
.a-metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 11px; }
.a-metric { background: var(--paper); border-radius: 5px; padding: 11px 13px; }
.a-metric-val {
  font-family: var(--fd); font-size: 1.3rem; font-weight: 700;
  color: var(--accent-dark); line-height: 1;
}
.a-metric-lbl { font-family: var(--fb); font-size: 11px; color: var(--muted); margin-top: 4px; }
.a-bar-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 11px; }
.a-bar-row { display: flex; align-items: center; gap: 8px; }
.a-bar-lbl { font-family: var(--fb); font-size: 11px; color: var(--muted); width: 110px; flex-shrink: 0; }
.a-bar-track { flex: 1; height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.a-bar-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.a-bar-pct { font-family: var(--fm); font-size: 11px; font-weight: 500; color: var(--accent-dark); width: 30px; text-align: right; flex-shrink: 0; }
.a-tool-list { display: flex; flex-direction: column; }
.a-tool-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-family: var(--fb); font-size: 13px; color: var(--ink-soft);
}
.a-tool-row:last-child { border-bottom: 0; }
.a-tool-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.a-insight {
  padding: 9px 11px; margin-top: 10px;
  background: rgba(118,185,0,0.07); border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0; font-family: var(--fb); font-size: 12px; color: var(--ink-soft); line-height: 1.55;
}

/* -- PORTFOLIO CASES -- */
.portfolio-section { width: min(1340px, calc(100% - 40px)); margin: 0 auto; padding: clamp(56px,8vw,110px) 0; }
.portfolio-heading { max-width: 820px; margin-bottom: 0; }
.portfolio-heading p { color: var(--ink-soft); font-size: clamp(16px,1.5vw,19px); line-height: 1.62; }

.case-grid {
  display: grid; grid-template-columns: repeat(12,1fr);
  gap: 16px; margin-top: 44px;
}
.case-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.case-card:nth-child(1) { grid-column: span 7; }
.case-card:nth-child(2) { grid-column: span 5; }
.case-card:nth-child(3), .case-card:nth-child(4) { grid-column: span 6; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(118,185,0,0.55); box-shadow: var(--shadow); }
.case-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; }
.case-card:nth-child(1) img { aspect-ratio: 16/8.2; }
.case-card > div { padding: clamp(20px,2.8vw,32px); }
.case-card span {
  display: inline-block; margin-bottom: 9px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark);
}
.case-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.case-card strong { display: block; margin-top: 16px; color: var(--ink); font-family: var(--fb); font-size: 14px; }

/* Gallery cards - canvas-based, no nth-child span overrides */
.gallery-grid .case-card { display: block; }
.gallery-grid .case-card:nth-child(1),
.gallery-grid .case-card:nth-child(2),
.gallery-grid .case-card:nth-child(3),
.gallery-grid .case-card:nth-child(4),
.gallery-grid .case-card:nth-child(5),
.gallery-grid .case-card:nth-child(6) { grid-column: span 6; display: block; }
.gallery-card-canvas {
  display: block; width: 100%;
  aspect-ratio: 16/10; object-fit: cover;
}
.gallery-card-caption { padding: clamp(20px,2.8vw,32px); }
.gallery-card-caption span {
  display: inline-block; margin-bottom: 9px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark);
}
.gallery-card-caption p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.gallery-card-caption strong { display: block; margin-top: 16px; color: var(--ink); font-size: 14px; }

/* -- NVIDIA SECTION -- */
.nvidia-section {
  width: 100%; padding: 0;
  background: linear-gradient(120deg, rgba(118,185,0,0.14), transparent 42%), #111713;
  color: #fff;
}
.nvidia-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px,10vw,140px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(36px,5vw,64px);
}
.nvidia-panel .section-kicker { color: var(--accent); }
.nvidia-panel h2 { color: #fff; }
.nvidia-intro {
  color: rgba(255,255,255,0.74);
  font-size: clamp(16px,1.6vw,19px);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 68ch;
}
.nvidia-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  border: 1px solid rgba(255,255,255,0.16);
}
.nvidia-grid article {
  min-height: 220px; padding: 24px;
  background: rgba(17,23,19,0.7);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nvidia-grid article:nth-child(2n) { border-right: 0; }
.nvidia-grid article:nth-child(n+5) { border-bottom: 0; }
/* 5th article spans full width */
.nvidia-grid article:nth-child(5) {
  grid-column: 1 / -1;
  border-right: 0;
}
.nvidia-grid span {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--accent);
}
.nvidia-context {
  font-family: var(--fb); font-size: 13px; font-style: italic;
  color: rgba(255,255,255,0.38); line-height: 1.55;
  margin-bottom: 10px; margin-top: 0;
  border-left: 2px solid rgba(118,185,0,0.35);
  padding-left: 10px;
}
.nvidia-grid h3 { color: #fff; font-size: clamp(18px,1.8vw,24px); }
.nvidia-grid p { color: rgba(255,255,255,0.68); font-size: 15.5px; line-height: 1.72; }

/* -- FOOTER -- */
.site-footer {
  display: flex; flex-direction: column; gap: 0;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto; padding: 42px 0 56px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-top div { display: grid; gap: 4px; }
.site-footer strong { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--ink); }
.site-footer span, .site-footer a { color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: var(--accent-dark); }
.footer-links {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-linkedin {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 14px;
  transition: color 150ms;
}
.footer-linkedin:hover { color: #0a66c2; }
.footer-linkedin svg { flex-shrink: 0; }
.footer-logout {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: var(--fm); font-size: 12px; letter-spacing: 0.08em;
  color: rgba(102,112,108,0.5);
  padding: 0;
  transition: color 150ms;
}
.footer-logout:hover { color: var(--muted); }

/* -- Reveal animation -- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* -- Focus -- */
:focus-visible { outline: 3px solid rgba(118,185,0,0.5); outline-offset: 4px; }

/* -- Cursor + hover feedback (Pre-Delivery Checklist) -- */
.case-card,
.a-card,
.w-cell,
.tab,
.button,
.brand,
.nav a,
.radar-wrap canvas { cursor: pointer; }

/* Smooth transitions on all interactive elements */
.case-card,
.a-card,
.w-cell,
.nvidia-grid article { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(118,185,0,0.55); box-shadow: var(--shadow); }
.a-card:hover { transform: translateY(-4px); border-color: rgba(118,185,0,0.5); }
.w-cell:hover { background: rgba(24,33,27,0.98); }
.nvidia-grid article:hover { background: rgba(25,35,28,0.9); }

/* -- RESPONSIVE -- */

/* ── Laptop / small desktop (1024px – 1280px) ── */
@media (max-width: 1280px) {
  /* Reduce section vertical padding so each section fits in a laptop viewport */
  .section,
  .portfolio-section { padding: clamp(60px,8vw,100px) 0; }
  .nvidia-panel { padding: clamp(60px,8vw,100px) 0; }

  /* Tighter headings */
  h1 { font-size: clamp(32px,4.2vw,54px); }
  h2 { font-size: clamp(26px,3.6vw,46px); }

  /* About grid: give text more room, shrink metric block */
  .about-wayne-grid { grid-template-columns: 1fr 320px; gap: clamp(24px,4vw,56px); }
  .aw-metrics { top: 84px; }
  .aw-metric strong { font-size: clamp(24px,2.6vw,38px); }

  /* Analytics: keep 3-col but tighter */
  .analytics-grid { gap: 12px; }

  /* Hero identity panel narrower */
  .hero-inner { grid-template-columns: minmax(0,1fr) 300px; gap: clamp(20px,3vw,48px); }

  /* NVIDIA panel: tighter gap */
  .nvidia-panel { gap: clamp(24px,4vw,56px); }
}

/* ── Compact laptop (900px – 1100px) ── */
@media (max-width: 1100px) {
  /* Switch about grid to full-width, metrics below */
  .about-wayne-grid { grid-template-columns: 1fr; }
  .aw-metrics { position: static; grid-template-columns: repeat(4,1fr); }

  /* Analytics 2-col */
  .analytics-grid { grid-template-columns: 1fr 1fr; }

  /* Radar layout: stack vertically, limit canvas width so it looks balanced */
  .radar-section { grid-template-columns: 1fr; }
  .radar-wrap { min-height: 380px; }
  #skillRadar { max-width: min(480px, 90%); }

  /* NVIDIA: panel already flex-column, just ensure grid border resets */
  .nvidia-grid { grid-template-columns: repeat(2,1fr); }
  .nvidia-grid article:nth-child(2n) { border-right: 0; }
  .nvidia-grid article:nth-child(n+5) { border-bottom: 0; }
  .nvidia-grid article:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
}

@media (max-width: 980px) {
  .site-header { height: auto; min-height: 62px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav,
  .mobile-nav-overlay { display: flex; }

  /* ── Hamburger button ── */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px;
    background: none; border: none; cursor: pointer;
    margin-left: auto; flex-shrink: 0;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
    transform-origin: center;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Overlay ── */
  .mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 38;
    background: rgba(8,12,10,0.55);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity 260ms ease;
  }
  .mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

  /* ── Drawer ── */
  .mobile-nav {
    position: fixed; z-index: 39;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 86vw);
    background: #0e1612;
    border-left: 1px solid rgba(118,185,0,0.2);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.25,0.46,0.45,0.94);
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }

  .mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-nav-name {
    font-family: var(--fd); font-size: 15px; font-weight: 700;
    color: #fff; letter-spacing: -0.01em;
  }
  .mobile-nav-close {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: #fff; cursor: pointer;
    transition: background 150ms, border-color 150ms;
  }
  .mobile-nav-close:hover { background: rgba(118,185,0,0.15); border-color: var(--accent); }

  .mobile-nav-links {
    display: flex; flex-direction: column;
    padding: 12px 0; flex: 1;
  }
  .mobile-nav-links a {
    padding: 14px 24px;
    font-family: var(--fb); font-size: 16px; font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-left: 3px solid transparent;
    transition: color 150ms, border-color 150ms, background 150ms;
  }
  .mobile-nav-links a:hover,
  .mobile-nav-links a.is-active {
    color: #fff;
    border-left-color: var(--accent);
    background: rgba(118,185,0,0.06);
  }

  .mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 10px;
  }
  .mobile-nav-footer a {
    font-family: var(--fm); font-size: 12px; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    transition: color 150ms;
  }
  .mobile-nav-footer a:hover { color: var(--accent); }
}

@media (max-width: 900px) {
  .hero-inner,
  .intro-grid,
  .profile-section,
  .radar-section { grid-template-columns: 1fr; }
  .hero-inner { align-items: end; min-height: 100dvh; padding-top: 100px; }
  /* Hide identity panel on mobile — info already in about section */
  .identity-panel { display: none; }
  .about-wayne-grid { grid-template-columns: 1fr; }
  .aw-metrics { position: static; grid-template-columns: repeat(2,1fr); }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .wellness-grid { grid-template-columns: repeat(2,1fr); }
  .w-cell.span2 { grid-column: span 1; }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .case-card,
  .case-card:nth-child(1),
  .case-card:nth-child(2),
  .case-card:nth-child(3),
  .case-card:nth-child(4) { grid-column: auto; display: block; }
  /* nvidia-grid: keep 2-col, fix border logic for 5 articles */
  .nvidia-grid { grid-template-columns: 1fr 1fr; }
  .nvidia-grid article { border-right: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nvidia-grid article:nth-child(2n) { border-right: 0; }
  .nvidia-grid article:nth-child(n+5) { border-bottom: 0; }
  .nvidia-grid article:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
}

@media (max-width: 680px) {
  .hero { min-height: 100dvh; }
  .hero-inner { width: min(100% - 32px, var(--max)); min-height: 100dvh; padding-bottom: 48px; }
  h1 { font-size: clamp(26px,7.5vw,40px); letter-spacing: -0.02em; }
  .hero-lede { font-size: 15px; line-height: 1.6; }
  .program-line span { display: inline; }
  .hero-surface { gap: 6px; flex-wrap: wrap; }
  .hero-surface span { font-size: 9px; padding: 4px 9px; }
  .hero-env { flex-wrap: wrap; gap: 6px; }
  .hero-env span { font-size: 9px; padding: 4px 9px; }
  .program-line span + span { margin-left: 0; }
  h2 { font-size: clamp(24px,8vw,40px); }
  .hero-actions { display: grid; gap: 10px; }
  .button { width: 100%; justify-content: center; }
  .section, .portfolio-section, .nvidia-panel, .site-footer { width: min(100% - 32px, var(--max)); }
  .section, .portfolio-section { padding: clamp(44px,10vw,64px) 0; }
  .nvidia-panel { padding: clamp(44px,10vw,64px) 0; }
  .analytics-grid,
  .wellness-grid,
  .case-grid { grid-template-columns: 1fr; }
  .nvidia-grid { grid-template-columns: 1fr; }
  .nvidia-grid article:nth-child(n) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nvidia-grid article:last-child { border-bottom: 0; }
  .aw-metrics { grid-template-columns: 1fr 1fr; }
  .aw-fact { grid-template-columns: 1fr; gap: 3px; }
  .site-footer { display: grid; gap: 16px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .radar-wrap { min-height: 300px; padding: 12px; }
  #skillRadar { max-width: min(340px, 92%); }
  .about-wayne-body { font-size: 15px; line-height: 1.65; }
  .section-kicker { font-size: 10px; }
  .model-intro { font-size: 15px; }
  .cycle-details { grid-template-columns: 1fr; }
  .flow-process { overflow-x: auto; }
  .flow-steps { min-width: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -- WELLNESS WHEEL -- */
.wellness-wheel-wrap {
  display: flex;
  align-items: center;
  gap: clamp(24px,4vw,64px);
  margin-top: 48px;
  flex-wrap: wrap;
}
#wellnessWheel {
  flex-shrink: 0;
  width: clamp(280px, 44vw, 520px);
  height: clamp(280px, 44vw, 520px);
  cursor: pointer;
}
.wellness-wheel-detail {
  flex: 1;
  min-width: 240px;
}

/* Laptop: wheel smaller so detail text has breathing room */
@media (max-width: 1280px) {
  #wellnessWheel {
    width: clamp(260px, 38vw, 460px);
    height: clamp(260px, 38vw, 460px);
  }
}

/* Below 900px: stack wheel + detail vertically, wheel fills width */
@media (max-width: 900px) {
  .wellness-wheel-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  #wellnessWheel {
    width: min(480px, 88vw);
    height: min(480px, 88vw);
    align-self: center;
  }
  .wellness-wheel-detail {
    width: 100%;
    min-width: 0;
  }
}
.wheel-detail-hint {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.wheel-detail-dim {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.wheel-detail-name {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}
.wheel-detail-desc {
  font-family: var(--fb);
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.68;
  margin-bottom: 16px;
}
.wheel-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wheel-detail-tag {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 4px 10px;
  border-radius: 3px;
}

/* -- COVERFLOW GALLERY -- */
.coverflow-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
  padding: 20px 0 48px;
  overflow: hidden;
}
.coverflow-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vw, 580px);
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-item {
  position: absolute;
  width: clamp(260px, 36vw, 440px);
  height: clamp(260px, 36vw, 440px);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.45s ease,
              box-shadow 0.45s ease;
  will-change: transform, opacity;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}
.cf-item.cf-active {
  z-index: 10;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65);
}
.cf-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-hi);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 160ms, background 160ms, transform 150ms;
  z-index: 20;
  flex-shrink: 0;
}
.cf-btn:hover { border-color: var(--accent); background: rgba(118,185,0,0.06); transform: scale(1.08); }
.cf-btn:active { transform: scale(0.96); }
.cf-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.cf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line);
  border: none; padding: 0; cursor: pointer;
  transition: background 200ms, transform 200ms;
}
.cf-dot.active { background: var(--accent); transform: scale(1.4); }

/* -- COVERFLOW CAPTION -- */
.cf-item {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.cf-item img {
  flex: 1;
  min-height: 0;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  width: 100%;
  display: block;
}
.cf-caption {
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cf-caption strong {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.cf-caption span {
  font-family: var(--fb);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* -- COVERFLOW IMAGE + SVG OVERLAY -- */
.cf-img-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #1a1a1a;
}
.cf-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cf-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* -- UC DAVIS REFERENCE -- */
.wellness-source {
  margin-top: 20px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.32);
  text-align: left;
}

/* -- WELLNESS WHEEL GLOW -- */
#wellnessWheel {
  filter: drop-shadow(0 0 16px rgba(118,185,0,0.28))
          drop-shadow(0 0 4px rgba(91,155,213,0.12));
  transition: filter 0.3s ease;
}
#wellnessWheel:hover {
  filter: drop-shadow(0 0 22px rgba(118,185,0,0.42))
          drop-shadow(0 0 8px rgba(91,155,213,0.18));
}

/* ── PASSWORD GATE ── */
.pw-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(118,185,0,0.08) 0%, transparent 60%),
    #080d0b;
  transition: opacity 480ms ease, transform 480ms ease;
}
.pw-gate--out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}
.pw-box {
  width: min(420px, calc(100% - 40px));
  padding: 48px 40px 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(118,185,0,0.2);
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(118,185,0,0.1);
  display: flex; flex-direction: column; gap: 6px;
}
.pw-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fd); font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.pw-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  font-size: 11px; font-weight: 700; color: var(--accent);
  font-family: var(--fd);
}
.pw-label {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 6px;
}
.pw-sub {
  font-family: var(--fb); font-size: 14px;
  color: rgba(255,255,255,0.45); margin: 0 0 28px;
}
.pw-form { display: flex; flex-direction: column; gap: 10px; }
.pw-input-wrap {
  display: flex; align-items: stretch;
  border: 1px solid rgba(118,185,0,0.25);
  border-radius: 6px; overflow: hidden;
  background: rgba(255,255,255,0.04);
  transition: border-color 150ms;
}
.pw-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(118,185,0,0.15);
}
.pw-input {
  flex: 1; min-width: 0;
  padding: 13px 16px;
  background: none; border: none; outline: none;
  font-family: var(--fb); font-size: 15px;
  color: #fff; letter-spacing: 0.08em;
}
.pw-input::placeholder { color: rgba(255,255,255,0.25); letter-spacing: 0; }
.pw-submit {
  display: grid; place-items: center;
  width: 48px; flex-shrink: 0;
  background: var(--accent); border: none; cursor: pointer;
  color: #0c1a06;
  transition: background 150ms;
}
.pw-submit:hover { background: #8ed022; }
.pw-error {
  font-family: var(--fm); font-size: 11px;
  color: #ff6b6b; letter-spacing: 0.06em;
  min-height: 16px; margin: 0;
}
@keyframes pw-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
.pw-input--shake { animation: pw-shake 0.45s ease; }


/* ============================================================
   WORKPLACE WELL-BEING MODEL SECTION
   ============================================================ */
.model-section {
  width: 100%;
  max-width: none;
  padding: clamp(72px,10vw,140px) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(118,185,0,0.05) 0%, transparent 60%),
    #0c100e;
  color: #fff;
}
.model-header,
.model-tabs,
.model-panel {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto; margin-right: auto;
}
.model-header { text-align: center; max-width: 920px; }
.model-header .section-kicker { color: var(--accent); }
.model-header h2 { color: #fff; }
.model-intro {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,0.62);
  font-size: clamp(15px,1.45vw,17px);
  line-height: 1.75;
}

/* ── Tabs ── */
.model-tabs {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 48px; margin-bottom: 48px;
  flex-wrap: wrap;
}
.model-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.model-tab:hover { color: #fff; border-color: rgba(118,185,0,0.4); }
.model-tab.is-active {
  color: #0c1a06; background: var(--accent); border-color: var(--accent);
}
.model-tab-no {
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; opacity: 0.7;
}
.model-tab-label {
  font-family: var(--fd); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}

/* ── Panels ── */
.model-panel { display: none; animation: modelFade 480ms cubic-bezier(0.16,1,0.3,1); }
.model-panel.is-active { display: block; }
@keyframes modelFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── Tab 1: layered model stack ── */
.model-frame {
  position: relative;
  border: 1.5px dashed rgba(118,185,0,0.28);
  border-radius: var(--radius);
  padding: clamp(32px,4vw,56px) clamp(24px,3vw,44px) clamp(28px,3.5vw,44px);
  background:
    /* dot grid texture */
    radial-gradient(circle, rgba(118,185,0,0.14) 1px, transparent 1px),
    /* green glow top-left */
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(118,185,0,0.08) 0%, transparent 70%),
    /* base dark */
    #0b100e;
  background-size: 28px 28px, 100% 100%, 100% 100%;
  box-shadow:
    0 0 0 1px rgba(118,185,0,0.08),
    0 24px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(118,185,0,0.12);
}
/* Corner accent line — bottom-right */
.model-frame::after {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 2px;
  background: linear-gradient(270deg, rgba(118,185,0,0.5), transparent);
}
/* Orbiting dot along the frame border (clockwise) */
.frame-orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #76b900;
  box-shadow: 0 0 8px 3px rgba(118,185,0,0.6), 0 0 20px 6px rgba(118,185,0,0.2);
  z-index: 10;
  pointer-events: none;
  animation: frameOrbit 18s linear infinite;
}
@keyframes frameOrbit {
  0%    { top: -5px;              left: -5px; }
  25%   { top: -5px;              left: calc(100% - 5px); }
  50%   { top: calc(100% - 5px);  left: calc(100% - 5px); }
  75%   { top: calc(100% - 5px);  left: -5px; }
  100%  { top: -5px;              left: -5px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame-orbit-dot { animation: none; display: none; }
}
.model-frame-label {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 5px 16px;
  background: rgba(118,185,0,0.08);
  border: 1px solid rgba(118,185,0,0.3);
  border-radius: 999px;
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}
.model-stack { display: flex; flex-direction: column; align-items: center; gap: 0; }

.model-enablers {
  width: 100%;
  border: 1px dashed rgba(118,185,0,0.3);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 18px;
  text-align: center;
  background: rgba(118,185,0,0.03);
}
.model-enabler-label {
  display: block;
  font-family: var(--fm); font-size: 9px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(118,185,0,0.8); margin-bottom: 10px;
}
.model-enabler-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.model-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-family: var(--fb); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.02);
}
.model-chip svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

.model-layer {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: clamp(15px,2vw,22px) clamp(18px,2.4vw,26px);
  background: rgba(255,255,255,0.02);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.model-layer:hover {
  border-color: rgba(118,185,0,0.45);
  background: rgba(118,185,0,0.04);
  transform: translateY(-2px);
}
.model-layer-tag {
  display: inline-block;
  font-family: var(--fm); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(118,185,0,0.3);
  border-radius: 4px;
}
.model-layer-head h3 { color: #fff; margin-bottom: 4px; font-size: clamp(16px,1.65vw,21px); }
.model-layer-head p { color: rgba(255,255,255,0.55); font-size: 13.5px; line-height: 1.5; margin: 0; max-width: 72ch; }

/* width tiering — visually communicates the pyramid */
.model-layer--outcome    { max-width: 60%; background: rgba(118,185,0,0.08); border-color: rgba(118,185,0,0.35); }
.model-layer--moments    { max-width: 80%; }
.model-layer--core       { max-width: 90%; }
.model-layer--foundation { max-width: 100%; background: rgba(255,255,255,0.04); }

.model-arrow {
  display: grid; place-items: center;
  height: 26px; color: rgba(118,185,0,0.5);
}
.model-arrow svg { width: 18px; height: 18px; }

/* pills + dims */
.model-pills, .model-dims { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.model-pills span, .model-dims span {
  font-family: var(--fb); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  padding: 5px 12px; border-radius: 999px;
}
.model-dims span { color: rgba(118,185,0,0.92); border-color: rgba(118,185,0,0.25); background: rgba(118,185,0,0.05); }

/* life-moment cards */
.model-cards {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 12px; margin-top: 16px;
}
.model-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color 200ms ease, transform 200ms ease;
}
.model-card:hover { border-color: rgba(118,185,0,0.4); transform: translateY(-3px); }
.model-card svg { width: 21px; height: 21px; color: var(--accent); }
.model-card strong { font-family: var(--fd); font-size: 14px; font-weight: 600; color: #fff; }
.model-card span { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.45; }

/* ── Tab 2: capability matrix ── */
.cap-grid {
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden;
  margin-top: 40px;
}
.cap-row {
  display: grid; grid-template-columns: 280px 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 200ms ease;
}
.cap-row:last-child { border-bottom: 0; }
.cap-row:hover { background: rgba(118,185,0,0.04); }
.cap-layer {
  padding: 26px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
}
.cap-layer-tag {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.cap-layer-name { font-family: var(--fd); font-size: 17px; font-weight: 600; color: #fff; line-height: 1.2; }
.cap-bring { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.cap-bring p { margin: 0; color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.65; }
.cap-proof {
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.05em;
  color: rgba(118,185,0,0.85);
}

/* ── Tab 3: cross-functional engine ── */
.flow-wrap { display: flex; flex-direction: column; gap: 48px; }
.flow-hub-diagram {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 32px; align-items: center;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: clamp(24px,3vw,40px);
  background: rgba(255,255,255,0.02);
}
.flow-center {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 28px 20px;
  border: 1.5px solid rgba(118,185,0,0.4);
  border-radius: 14px;
  background: rgba(118,185,0,0.06);
}
.flow-center svg { width: 40px; height: 40px; color: var(--accent); }
.flow-center strong { font-family: var(--fd); font-size: 17px; font-weight: 700; color: #fff; line-height: 1.25; }
.flow-center span { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.flow-spokes { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.flow-spoke {
  position: relative;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  font-family: var(--fb); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.flow-spoke:hover { border-color: rgba(118,185,0,0.45); color: #fff; transform: translateX(3px); }
.flow-spoke::before {
  content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--accent);
  border-radius: 0 2px 2px 0; transition: height 200ms ease;
}
.flow-spoke:hover::before { height: 60%; }

.flow-process-label {
  display: block; text-align: center;
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.flow-steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow-step {
  flex: 1; min-width: 150px; max-width: 200px;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: border-color 200ms ease, transform 200ms ease;
}
.flow-step:hover { border-color: rgba(118,185,0,0.4); transform: translateY(-3px); }
.flow-step-no {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(118,185,0,0.15); color: var(--accent);
  font-family: var(--fm); font-size: 13px; font-weight: 600;
}
.flow-step strong { font-family: var(--fd); font-size: 15px; font-weight: 600; color: #fff; }
.flow-step p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.flow-step-arrow {
  display: flex; align-items: center;
  color: rgba(118,185,0,0.5); font-size: 20px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .model-cards { grid-template-columns: repeat(2,1fr); }
  .model-layer--outcome,
  .model-layer--moments,
  .model-layer--core,
  .model-layer--foundation { max-width: 100%; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-layer { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .flow-hub-diagram { grid-template-columns: 1fr; }
  .flow-step-arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .model-cards { grid-template-columns: 1fr; }
  .flow-spokes { grid-template-columns: 1fr; }
  .model-tab { padding: 11px 16px; }
  .model-tab-label { font-size: 13px; }
}


/* ── Model: relocated wellness wheel block ── */
.model-wheel-block {
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: clamp(24px,3vw,40px);
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px,4vw,56px);
  align-items: center;
}
.model-wheel-intro { min-width: 0; }
.model-wheel-kicker {
  display: block;
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.model-wheel-intro h3 { color: #fff; font-size: clamp(20px,2.1vw,28px); margin-bottom: 12px; }
.model-wheel-intro p { color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.model-wheel-source {
  font-family: var(--fm); font-size: 10.5px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.32); line-height: 1.5;
}
.model-wheel-block .wellness-wheel-wrap { margin-top: 0; justify-content: center; }

@media (max-width: 900px) {
  .model-wheel-block { grid-template-columns: 1fr; gap: 28px; }
}


/* ── Circular Care Cycle (Tab 1) ── */
.cycle-wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; }

.cycle-ring {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
/* center hub */
.cycle-center {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 28px;
  background: rgba(118,185,0,0.08);
  border: 1.5px solid rgba(118,185,0,0.4);
  border-radius: 999px;
  text-align: center;
}
.cycle-center svg { width: 28px !important; height: 28px !important; color: var(--accent); flex-shrink: 0; }
.cycle-center strong { font-family: var(--fd); font-size: 14px; font-weight: 700; color: #fff; }
.cycle-center span { font-size: 11px; color: rgba(255,255,255,0.5); }

.cycle-segments-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
}

/* segments */
.cycle-segment {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-align: center;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
  flex: 1;
  min-width: 0;
}
.cycle-segment:hover { border-color: rgba(118,185,0,0.5); background: rgba(118,185,0,0.05); transform: translateY(-3px); }
.cycle-seg-no {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(118,185,0,0.15); color: var(--accent);
  font-family: var(--fm); font-size: 12px; font-weight: 600;
}
.cycle-segment h3 { font-size: clamp(15px,1.5vw,18px); color: #fff; margin: 0; line-height: 1.3; }

/* Connecting arrow hints between segments */
.cycle-segment { position: relative; }
.cycle-segment::after {
  content: "⇄";
  position: absolute; top: 50%; right: -16px; transform: translateY(-50%);
  color: rgba(118,185,0,0.6); font-size: 18px;
  pointer-events: none;
}
.cycle-segment:last-child::after { content: none; }

/* Detail cards */
.cycle-details {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; width: 100%;
}
.cycle-detail {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 220ms ease, transform 220ms ease;
}
.cycle-detail:hover { border-color: rgba(118,185,0,0.4); transform: translateY(-3px); }
.cycle-detail svg { color: var(--accent); margin-bottom: 16px; flex-shrink: 0; }
.cycle-detail h4 {
  font-family: var(--fd); font-size: 20px; font-weight: 600;
  color: #fff; margin: 0 0 10px; letter-spacing: -0.01em;
}
.cycle-detail p {
  font-size: 14.5px; color: rgba(255,255,255,0.55); line-height: 1.6;
  margin: 0 0 18px;
}
.cycle-detail ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.cycle-detail ul li {
  font-size: 14px; color: rgba(255,255,255,0.72);
  padding-left: 18px;
  position: relative;
}
.cycle-detail ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Enabler bar */
.cycle-enablers {
  width: 100%;
  border: 1px dashed rgba(118,185,0,0.25);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  background: rgba(118,185,0,0.03);
}
.cycle-enabler-label {
  display: block;
  font-family: var(--fm); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(118,185,0,0.8); margin-bottom: 12px;
}
.cycle-enabler-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* Responsive */
@media (max-width: 768px) {
  .cycle-segments-row { flex-direction: column; }
  .cycle-segment::after { content: none; }
  .cycle-details { grid-template-columns: 1fr; }
}


/* ── SKILL: Focus states (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* ── SKILL: cursor-pointer on interactive elements ── */
.model-tab,
.model-card,
.cycle-segment,
.flow-spoke,
.flow-step,
.cap-row,
.nvidia-grid article,
.case-card,
.cf-item { cursor: pointer; }


/* ============================================================
   GTC-STYLE GEOMETRIC DECORATIONS
   ============================================================ */
.geo-lines {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}

/* Diagonal glowing lines — hexagonal grid crossing pattern (60° angles) */
.geo-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(118,185,0,0.35) 50%, transparent 100%);
  transform-origin: top center;
}
/* 60° set */
.geo-line--1  { height: 320px; top: 5%;  left: 8%;  transform: rotate(60deg); }
.geo-line--2  { height: 240px; top: 20%; left: 35%; transform: rotate(60deg); }
.geo-line--3  { height: 280px; top: 10%; right: 20%; transform: rotate(60deg); }
.geo-line--4  { height: 200px; bottom: 15%; right: 8%; transform: rotate(60deg); }
/* -60° set */
.geo-line--5  { height: 300px; top: 8%;  right: 12%; transform: rotate(-60deg); }
.geo-line--6  { height: 220px; top: 30%; left: 18%; transform: rotate(-60deg); }
.geo-line--7  { height: 260px; top: 15%; left: 55%; transform: rotate(-60deg); }
.geo-line--8  { height: 180px; bottom: 20%; left: 5%; transform: rotate(-60deg); }
/* 0° vertical set */
.geo-line--9  { height: 250px; top: 12%; left: 22%; transform: rotate(0deg); }
.geo-line--10 { height: 300px; top: 5%;  right: 30%; transform: rotate(0deg); }
.geo-line--11 { height: 180px; bottom: 10%; left: 42%; transform: rotate(0deg); }
.geo-line--12 { height: 220px; top: 25%; right: 5%; transform: rotate(0deg); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .geo-line { opacity: 0.2; }
}


/* ── 8 Dimensions word cloud inside model frame ── */
.dim-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  gap: 0;
  position: absolute;
  inset: 20px;
  pointer-events: none;
  z-index: 0;
}
.dim-tag {
  font-family: var(--fm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(118,185,0,0.14);
  white-space: nowrap;
  padding: 6px 10px;
  animation: dimFloat 5s ease-in-out infinite alternate;
}
.dim-tag--lg { font-size: 14px; color: rgba(118,185,0,0.2); }
.dim-tag--md { font-size: 11px; }
.dim-tag--sm { font-size: 9px; color: rgba(118,185,0,0.1); }

.dim-tag:nth-child(1) { align-self: flex-start; }
.dim-tag:nth-child(2) { align-self: flex-end; margin-top: 40px; }
.dim-tag:nth-child(3) { align-self: center; }
.dim-tag:nth-child(4) { align-self: flex-end; }
.dim-tag:nth-child(5) { align-self: flex-start; margin-top: 20px; }
.dim-tag:nth-child(6) { align-self: center; margin-top: 60px; }
.dim-tag:nth-child(7) { align-self: flex-end; }
.dim-tag:nth-child(8) { align-self: flex-start; }

.dim-tag:nth-child(2) { animation-delay: -1s; }
.dim-tag:nth-child(3) { animation-delay: -2s; }
.dim-tag:nth-child(4) { animation-delay: -3s; }
.dim-tag:nth-child(5) { animation-delay: -4s; }
.dim-tag:nth-child(6) { animation-delay: -0.5s; }
.dim-tag:nth-child(7) { animation-delay: -2.5s; }
.dim-tag:nth-child(8) { animation-delay: -4.5s; }

@keyframes dimFloat {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { opacity: 1.6; }
  100% { transform: translateY(-8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dim-tag { animation: none; }
}


/* ── Eight Dimensions foundation bar ── */
.cycle-foundation {
  width: 100%;
  margin-top: 28px;
  padding: 28px 24px;
  border: 1px solid rgba(118,185,0,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-align: center;
}
.cycle-foundation-label {
  display: block;
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(118,185,0,0.6);
  margin-bottom: 18px;
}
.cycle-foundation-dims {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.cycle-foundation-dims span {
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 8px 16px;
  border: 1px solid rgba(118,185,0,0.2);
  border-radius: 10px;
  background: rgba(118,185,0,0.04);
  transition: border-color 200ms ease, transform 200ms ease;
}
.cycle-foundation-dims span:hover {
  border-color: rgba(118,185,0,0.5);
  transform: translateY(-2px);
}


/* ── Capability cards (simplified proof grid) ── */
.cap-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cap-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: border-color 220ms ease, transform 220ms ease;
}
.cap-card:hover { border-color: rgba(118,185,0,0.45); transform: translateY(-3px); }
.cap-card .cap-layer-tag { margin-bottom: 0; }
.cap-card .cap-layer-name { font-size: 16px; }
.cap-card .cap-proof { margin-top: auto; }

@media (max-width: 900px) {
  .cap-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cap-cards { grid-template-columns: 1fr; }
}


/* ── NVIDIA closing statement ── */
.nvidia-closing {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.nvidia-closing h2 {
  color: #fff;
  font-size: clamp(28px,4vw,52px);
}
.nvidia-closing-body {
  color: rgba(255,255,255,0.68);
  font-size: clamp(16px,1.6vw,19px);
  line-height: 1.75;
  margin: 20px 0 36px;
}
.nvidia-closing-actions {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}


.nvidia-closing-cta {
  font-family: var(--fd);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: #fff;
  margin: 8px 0 28px;
}


/* ── Career timeline legend ── */
.ct-legend {
  display: flex; align-items: center; gap: 10px;
  margin-top: 96px;
}
.ct-legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.ct-legend-text {
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--muted);
}


/* ── Footer note ── */
.footer-bottom {
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-note {
  font-family: var(--fb);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
