/*    AxiomWeb — Redesigned Design System
   Default: Red Glassmorphism (dark)
   Alt: Minimal (light/dark)
   Adapted from Ruby template — no stat bars, no icons, no pills
   ═══════════════════════════════════════════════════════════════ */

/* ── THEME: Red Glassmorphism (DEFAULT) ─────────────────────── */
:root,
[data-style="red"] {
  --bg:          #0a0202;
  --bg2:         #110404;
  --bg3:         #1a0606;
  --surface:     rgba(255,255,255,0.05);
  --surface2:    rgba(255,255,255,0.08);
  --border:      rgba(220,38,38,0.14);
  --text:        #fff1f1;
  --muted:       #c9a9a9;
  --faint:       #7a4f4f;
  --accent:      #ef4444;
  --accent2:     #dc2626;
  --accent-glow: rgba(220,38,38,0.22);
  --green:       #4ade80;
  --nav-bg:      rgba(10,2,2,0.85);
  --card-bg:     rgba(255,255,255,0.05);
  --code-bg:     rgba(0,0,0,0.55);
  --code-text:   #c9cdd8;
  --logo-em:     #ef4444;
  --btn-primary-bg:   #dc2626;
  --btn-primary-text: #fff;
  --btn-outline-bdr:  rgba(220,38,38,0.35);
  --btn-outline-text: #fff1f1;
}

/* ── Minimal Light (alt) ────────────────────────────────────── */
[data-style="minimal"][data-tone="light"] {
  --bg:          #ffffff;
  --bg2:         #f4f7ff;
  --bg3:         #eaf0ff;
  --surface:     rgba(41,121,255,0.05);
  --surface2:    rgba(41,121,255,0.09);
  --border:      rgba(41,121,255,0.12);
  --text:        #0d1626;
  --muted:       #5a6a8a;
  --faint:       rgba(41,121,255,0.18);
  --accent:      #1d6cf0;
  --accent2:     #0047cc;
  --accent-glow: rgba(41,121,255,0.18);
  --green:       #00897b;
  --nav-bg:      rgba(255,255,255,0.94);
  --card-bg:     #f4f7ff;
  --code-bg:     #eaf0ff;
  --code-text:   #1d4ed8;
  --logo-em:     #1d6cf0;
  --btn-primary-bg:   #1d6cf0;
  --btn-primary-text: #fff;
  --btn-outline-bdr:  rgba(29,108,240,0.25);
  --btn-outline-text: #1d6cf0;
}

/* ── Minimal Dark (alt) ─────────────────────────────────────── */
[data-style="minimal"][data-tone="dark"] {
  --bg:          #05080f;
  --bg2:         #090d16;
  --bg3:         #0e1420;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.07);
  --text:        rgba(255,255,255,0.90);
  --muted:       rgba(255,255,255,0.44);
  --faint:       rgba(255,255,255,0.18);
  --accent:      #3d8ef8;
  --accent2:     #5fa4ff;
  --accent-glow: rgba(61,142,248,0.18);
  --green:       #00e87a;
  --nav-bg:      rgba(5,8,15,0.82);
  --card-bg:     rgba(9,13,22,0.85);
  --code-bg:     #090d16;
  --code-text:   #c9cdd8;
  --logo-em:     #3d8ef8;
  --btn-primary-bg:   #3d8ef8;
  --btn-primary-text: #fff;
  --btn-outline-bdr:  rgba(255,255,255,0.2);
  --btn-outline-text: rgba(255,255,255,0.7);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .28s, color .28s;
}
a { text-decoration: none; color: inherit; transition: color .15s; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── BODY BACKGROUNDS ────────────────────────────────────────── */
[data-style="red"] body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 10% 15%, rgba(185,28,28,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(127,29,29,0.28) 0%, transparent 55%),
    linear-gradient(160deg, #0a0202 0%, #130505 45%, #0a0202 100%);
}
[data-style="red"] body > * { position: relative; z-index: 1; }

[data-style="minimal"][data-tone="light"] body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(41,121,255,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0,71,204,0.10) 0%, transparent 65%);
}
[data-style="minimal"][data-tone="light"] body > * { position: relative; z-index: 1; }

[data-style="minimal"][data-tone="dark"] body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 72% 52% at 8% 14%, rgba(29,108,240,0.30) 0%, transparent 58%),
    radial-gradient(ellipse 52% 50% at 92% 80%, rgba(14,60,160,0.35) 0%, transparent 55%),
    linear-gradient(160deg, #05080f 0%, #060b18 45%, #05080f 100%);
}
[data-style="minimal"][data-tone="dark"] body > * { position: relative; z-index: 1; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.wrap    { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .28s, border-color .28s;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 58px; padding: 0 28px;
  max-width: 1160px; margin: 0 auto;
}
.nav-logo {
  font-size: 17px; font-weight: 900;
  letter-spacing: -.4px; color: var(--text);
}
.nav-logo em { font-style: normal; color: var(--logo-em); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-ip { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); letter-spacing: .03em; }
.theme-cycle-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 12px 5px 8px;
  font-size: 11px; font-weight: 700;
  color: var(--muted); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.theme-cycle-btn:hover { color: var(--text); border-color: var(--accent); }
.cycle-swatch {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-ip { display: none; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 14px; font-weight: 700;
  transition: opacity .15s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  border: 1px solid var(--btn-outline-bdr);
  color: var(--btn-outline-text);
  font-size: 14px; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTION LABELS (not pills — plain text) ─────────────────── */
.sec-label {
  display: block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(28px,4vw,48px);
  font-weight: 900; letter-spacing: -.02em;
  color: var(--text); line-height: 1.08;
  margin-bottom: 16px;
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-body {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; max-width: 560px;
}

/* ── HERO (full-height, Ruby-inspired) ────────────────────────── */
.home-hero {
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.home-hero .wrap { width: 100%; }
.hero-kicker {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 24px;
}
.hero-h {
  font-size: clamp(48px,8vw,104px);
  font-weight: 900; line-height: .98;
  letter-spacing: -.04em; color: var(--text); margin-bottom: 28px;
}
.hero-h .accent { color: var(--accent); }
.hero-sub {
  font-size: 18px; color: var(--muted);
  max-width: 580px; line-height: 1.7; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 24px;
  margin-top: 56px; flex-wrap: wrap;
}
.trust-item {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.trust-item::before { content: '✓'; color: var(--green); font-weight: 800; }

/* ── REVEAL ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── TWO-COL ABOUT (Ruby "Who We Are" style) ─────────────────── */
.about-section { padding: 80px 0; border-top: 1px solid var(--border); }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.about-image-wrap img {
  width: 100%; height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter .4s;
}
.about-image-wrap:hover img { filter: grayscale(0%); }
[data-style="red"] .about-image-wrap {
  box-shadow: 0 12px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.about-body p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); font-weight: 700; }

/* ── FACT TABLE ──────────────────────────────────────────────── */
.fact-list { margin-top: 28px; }
.fact-item {
  display: flex; justify-content: space-between;
  align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.fact-label { color: var(--muted); }
.fact-value { font-weight: 700; color: var(--text); }
.fact-value.accent { color: var(--accent); }
.fact-value.green  { color: var(--green); }

/* ── CARD GRID (services/work — text-only, no icons) ─────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px,1fr));
  gap: 18px; margin-top: 52px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
[data-style="red"] .card {
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.card-title {
  font-size: 15px; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
}
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── WORK CARDS (grid format, Ruby "Our Works" style) ────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 20px; margin-top: 52px;
}
.work-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
}
[data-style="red"] .work-card {
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.work-card-num {
  font-size: 12px; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.work-card-name {
  font-size: 18px; font-weight: 800; color: var(--text);
}
.work-card-desc {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  flex-grow: 1;
}
.work-card-tech {
  font-size: 12px; color: var(--faint);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 4px;
}
.work-card-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.work-tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; white-space: nowrap;
  border: 1px solid var(--border);
  background: var(--accent-glow); color: var(--accent);
}
.work-tag-live { background: rgba(0,200,80,0.12); color: var(--green); border: none; }
.work-tag-gated { background: var(--surface); color: var(--faint); border: none; }

/* ── TERMINAL ────────────────────────────────────────────────── */
.terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden; margin-top: 52px;
}
[data-style="red"] .terminal { border-color: rgba(220,38,38,0.22); }
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
}
[data-style="red"] .term-bar { background: rgba(220,38,38,0.08); }
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.td-r { background: #ff5f57; }
.td-y { background: #ffbd2e; }
.td-g { background: #28c840; }
.term-title { font-size: 12px; font-weight: 600; color: var(--faint); margin-left: 6px; font-family: monospace; }
.term-body  {
  padding: 24px 22px;
  font-family: 'JetBrains Mono','Courier New',monospace;
  font-size: 13px; line-height: 2.1;
}
.tc { color: #555; }
.tk { color: var(--accent); font-weight: 700; display: inline-block; min-width: 112px; }
.td { color: var(--faint); }
.ts { color: var(--code-text); }
.to { color: var(--muted); }

/* ── PRINCIPLE CARDS ─────────────────────────────────────────── */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
  gap: 18px; margin-top: 48px;
}
.principle-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 24px;
}
[data-style="red"] .principle-card {
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.principle-title {
  font-size: 15px; font-weight: 800; color: var(--text);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.principle-title::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.principle-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── CONTACT SECTION (Ruby "Get in Touch" style) ─────────────── */
.contact-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact-section h2 {
  font-size: clamp(32px,5vw,64px);
  font-weight: 900; color: var(--text);
  letter-spacing: -.03em; margin-bottom: 20px; line-height: 1.05;
}
.contact-section h2 em { font-style: normal; color: var(--accent); }
.contact-section p {
  color: var(--muted); font-size: 17px;
  max-width: 520px; margin: 0 auto 36px;
}
.contact-email {
  display: inline-block;
  font-size: clamp(20px,3vw,36px);
  font-weight: 800; color: var(--accent);
  letter-spacing: -.02em; margin-bottom: 28px;
}
.contact-email:hover { text-decoration: underline; }
.contact-details {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 48px; flex-wrap: wrap;
}
.contact-detail {
  text-align: left;
}
.contact-detail-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--faint); margin-bottom: 6px;
}
.contact-detail-value {
  font-size: 15px; font-weight: 600; color: var(--text);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 15px; font-weight: 900; color: var(--text); }
.footer-logo em { font-style: normal; color: var(--logo-em); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--faint); }
.footer-usa  { font-size: 12px; color: var(--faint); }

/* ── PAGE HERO (sub-pages) ───────────────────────────────────── */
.page-hero {
  padding: 100px 0 70px;
  border-bottom: 1px solid var(--border);
}
.page-hero-h {
  font-size: clamp(40px,7vw,76px);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -.03em; color: var(--text);
  margin-bottom: 22px;
}
.page-hero-h em { font-style: normal; color: var(--accent); }
.page-hero-sub {
  font-size: 17px; color: var(--muted);
  max-width: 580px; line-height: 1.72;
  margin-bottom: 36px;
}

/* ── SECTION SPACING ─────────────────────────────────────────── */
.page-section { padding: 80px 0; border-top: 1px solid var(--border); }
.page-section:first-of-type { border-top: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-cols    { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .work-grid     { grid-template-columns: 1fr; }
  .hero-h        { font-size: clamp(38px,10vw,64px); }
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-details { flex-direction: column; gap: 24px; }
  .contact-detail { text-align: center; }
}
/* ═══════════════════════════════════════════════════════════════
   MISSING STYLES — Team, Infrastructure, Profile pages
   Added 2026-08-16: these classes were used in markup but never
   defined, causing Team/Infra/David pages to render unstyled.
   ═══════════════════════════════════════════════════════════════ */

/* ── TEAM STATS ROW (team index) ─────────────────────────────── */
.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ts { padding: 20px 0; border-top: 1px solid var(--border); }
.ts-n { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: -.03em; }
.ts-l { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ── TEAM GRID / MEMBER CARDS ────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 20px;
}
.member-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
[data-style="red"] .member-card {
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.member-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.member-photo {
  width: 100%; height: 280px; object-fit: cover; display: block;
  filter: grayscale(15%);
  transition: filter .4s;
}
.member-card:hover .member-photo { filter: grayscale(0%); }
.member-body { padding: 22px 22px 26px; }
.member-role-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.member-name { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 4px; letter-spacing: -.01em; }
.member-title { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.member-creds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.member-cred {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 6px;
  background: var(--accent-glow); color: var(--accent);
  border: 1px solid var(--border);
}
.member-disciplines { font-size: 12px; color: var(--faint); line-height: 1.6; margin-bottom: 14px; }
.member-link { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── NDA / IDENTITY-PROTECTED CARDS ──────────────────────────── */
.nda-card {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex; flex-direction: column;
  min-height: 480px;
  justify-content: center;
  text-align: center;
}
.nda-card-num { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.nda-card-label { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.nda-card-sub { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-top: auto; }

/* ── CULTURE STRIP (numbered principles, team page) ──────────── */
.culture-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
}
.cs { padding: 24px 0; border-top: 1px solid var(--border); }
.cs-n { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.cs-t { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.cs-b { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── INDIVIDUAL PROFILE PAGES (dp-*) ─────────────────────────── */
.dp-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; padding: 72px 0 56px; }
.dp-photo-wrap { position: relative; }
.dp-photo { width: 100%; border-radius: 18px; display: block; object-fit: cover; aspect-ratio: 3/4; }
.dp-photo-tag {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(6,10,20,0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px 14px;
}
.dp-photo-tag-name { font-size: 13px; font-weight: 800; color: #fff; }
.dp-photo-tag-role { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.dp-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.dp-name { font-size: 52px; font-weight: 900; color: var(--text); letter-spacing: -.035em; line-height: .98; margin-bottom: 10px; }
.dp-subtitle { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 28px; line-height: 1.6; }

/* ── CREDENTIAL ROW ───────────────────────────────────────────── */
.cred-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.cred {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 6px;
  background: var(--accent-glow); color: var(--accent);
  border: 1px solid var(--border);
}

/* ── CONTACT LIST (dp page) ──────────────────────────────────── */
.contact-list { margin-bottom: 24px; }
.contact-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.contact-item:hover { color: var(--accent); }
.c-icon { color: var(--accent); font-weight: 800; }

/* ── EDUCATION LIST ───────────────────────────────────────────── */
.edu-block { margin-bottom: 30px; }
.edu-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.edu-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 12px; padding: 14px 16px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px;
}
.edu-year { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; color: var(--accent); white-space: nowrap; padding-top: 2px; }
.edu-info strong { font-size: 13px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.edu-info span { font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ── BUTTON ROW ───────────────────────────────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CERT STRIP ───────────────────────────────────────────────── */
.cert-strip {
  display: flex; flex-wrap: wrap; gap: 9px;
  padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.cert {
  font-size: 11px; font-weight: 600; padding: 6px 14px;
  border-radius: 20px; background: var(--card-bg); border: 1px solid var(--border); color: var(--text);
}
.cert.hi { background: var(--accent-glow); border-color: var(--border); color: var(--accent); }

/* ── BIO ──────────────────────────────────────────────────────── */
.bio p { font-size: 15px; color: var(--muted); line-height: 1.88; margin-bottom: 20px; }
.bio p:last-child { margin-bottom: 0; }
.bio p strong { color: var(--text); }

/* ── DISCIPLINE GRID (dp page) ───────────────────────────────── */
.disc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 16px; margin: 56px 0; }
.disc { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; }
.disc-n { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.disc-t { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.disc-b { font-size: 12px; color: var(--muted); line-height: 1.75; }

/* ── QUOTE BLOCK ──────────────────────────────────────────────── */
.quote-block { border-left: 3px solid var(--accent); padding: 20px 24px; margin: 48px 0; background: var(--card-bg); border-radius: 0 12px 12px 0; }
.quote-text { font-size: 16px; font-style: italic; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.quote-attr { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ── PROFILE STAT ROW (dp page + infra hero) ─────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 12px; margin-bottom: 30px; }
.stat { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px 14px; text-align: center; }
.stat-n, .stat-num { font-size: 26px; font-weight: 900; color: var(--accent); letter-spacing: -.03em; display: block; }
.stat-l, .stat-label { font-size: 10px; color: var(--muted); margin-top: 3px; display: block; }

/* ── CTA FOOT (dp page) ───────────────────────────────────────── */
.cta-foot { text-align: center; padding: 48px 20px 80px; }
.cta-foot .big { font-size: 30px; font-weight: 900; color: var(--text); letter-spacing: -.025em; margin-bottom: 12px; }
.cta-foot .sub { font-size: 14px; color: var(--muted); max-width: 460px; margin: 0 auto 28px; line-height: 1.8; }
.cta-foot .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── INFRASTRUCTURE PAGE ─────────────────────────────────────── */
.infra-hero { padding: 100px 0 70px; border-bottom: 1px solid var(--border); }
.infra-hero h1 { font-size: clamp(40px,7vw,72px); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; color: var(--text); margin-bottom: 18px; }
.infra-hero h1 span { color: var(--accent); }
.infra-hero p { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.72; margin-bottom: 44px; }

.capacity-bar { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.cap-item { display: flex; flex-direction: column; gap: 4px; }
.cap-num { font-size: 15px; font-weight: 800; color: var(--text); }
.cap-label { font-size: 11px; color: var(--faint); }

.nodes-section { padding: 60px 0; border-top: 1px solid var(--border); }
.section-header { margin-bottom: 44px; max-width: 620px; }
.section-header h2 { font-size: clamp(26px,4vw,38px); font-weight: 900; color: var(--text); letter-spacing: -.02em; margin-bottom: 12px; }
.section-header p { font-size: 15px; color: var(--muted); line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
[data-style="red"] .feature-card {
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 40px var(--accent-glow); }
.feature-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.feature-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.cta-strip { padding: 90px 0; border-top: 1px solid var(--border); text-align: center; }
.cta-strip h2 { font-size: clamp(28px,5vw,48px); font-weight: 900; color: var(--text); letter-spacing: -.02em; margin-bottom: 14px; }
.cta-strip p { font-size: 16px; color: var(--muted); margin-bottom: 30px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .dp-wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
}
@media (max-width: 768px) {
  .team-stats { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   MISSING STYLES — Round 2: Contact, Work, footer-tagline, dp-info
   Added 2026-08-16
   ═══════════════════════════════════════════════════════════════ */

/* ── CONTACT GRID ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ── CONTACT INFO ITEMS ──────────────────────────────────────── */
.contact-info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ci-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 6px;
}
.ci-value {
  font-size: 15px; font-weight: 600; color: var(--text);
}
.ci-value a { color: var(--text); }
.ci-value a:hover { color: var(--accent); }

/* ── FORM ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: inherit; font-size: 14px;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── WORK LIST WRAPPER ───────────────────────────────────────── */
.work-list { margin-top: 0; }

/* ── FOOTER TAGLINE ──────────────────────────────────────────── */
.footer-tagline {
  font-size: 12px; color: var(--muted); margin-top: 4px;
}

/* ── DP-INFO (right column wrapper on profile pages) ─────────── */
.dp-info { /* inherits layout from .dp-wrap grid; no extra rules needed */ }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
