/* ============================================================
   Whole New Body — Private Health & Longevity Advisory
   ============================================================ */

:root {
  --obsidian: #0b0d0f;
  --slate: #14171a;
  --slate-raised: #1a1e22;
  --hairline: rgba(201, 197, 186, 0.14);
  --ink: #e9e6dd;
  --ink-dim: #a8a89f;
  --metal: #c3a874;
  --metal-dim: #8f7d59;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --section-pad: clamp(4.5rem, 9vw, 8rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--obsidian);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Decorative line-art ---------- */
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(520px, 58vw, 880px);
  height: clamp(520px, 58vw, 880px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.thesis {
  position: relative;
  overflow: hidden;
}

.thesis-artwork {
  position: absolute;
  top: -30px;
  right: -70px;
  width: 320px;
  height: 320px;
  color: var(--metal-dim);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 780px) {
  .thesis-artwork { width: 220px; height: 220px; top: -10px; right: -60px; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--metal);
  color: var(--obsidian);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Layout helpers ---------- */
.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) 1.75rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--metal);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 1.5rem;
  font-weight: 350;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-dim);
  max-width: 62ch;
}

p + p { margin-top: 0.9rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-outline {
  border: 1px solid var(--metal-dim);
  color: var(--ink);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--metal);
  color: var(--obsidian);
  border-color: var(--metal);
}

.text-link {
  font-size: 0.85rem;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--metal);
  border-color: var(--metal);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11, 13, 15, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-right: auto;
}

.logo-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.primary-nav {
  display: flex;
  gap: 2.25rem;
}

.primary-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  transition: color 0.2s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--metal);
}

.nav-cta {
  padding: 0.6rem 1.35rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  width: 100%;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem 2rem;
  border-top: 1px solid var(--hairline);
}
.mobile-nav a { font-size: 0.95rem; color: var(--ink-dim); }
.mobile-nav .btn {
  align-self: stretch;
  margin-top: 0.5rem;
  text-align: center;
  white-space: normal;
}

.site-header.nav-open .mobile-nav { display: flex; }

@media (max-width: 860px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(195, 168, 116, 0.07), transparent 70%),
    linear-gradient(180deg, var(--obsidian), #0d1012 60%, var(--obsidian));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.75rem;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-dim);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-tagline {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding: 1.5rem 1.75rem 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin: 2.5rem 0;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.two-up {
  grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 780px) {
  .three-up, .two-up { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .four-up { grid-template-columns: 1fr; }
}

.card {
  background: var(--obsidian);
  padding: 2.25rem 2rem;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.dark-panel {
  background: var(--slate);
  border: 1px solid var(--hairline);
  padding: 2.5rem;
  margin-top: 2.5rem;
}
.dark-panel p { color: var(--ink-dim); max-width: 68ch; }

/* ---------- Scope table ---------- */
.scope {
  position: relative;
  overflow: hidden;
}

.scope::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--hairline) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--hairline) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 25%, rgba(0, 0, 0, 0.55) 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 25%, rgba(0, 0, 0, 0.55) 75%, transparent);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
  border: 1px solid var(--hairline);
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.scope-table th,
.scope-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
}

.scope-table thead th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal);
  background: var(--slate);
}

.scope-table tbody th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.scope-table tbody td:last-child {
  color: var(--ink-dim);
}

.scope-table tbody tr:last-child td,
.scope-table tbody tr:last-child th {
  border-bottom: none;
}

/* ---------- Methodology pillars ---------- */
.pillars .pillar {
  background: var(--obsidian);
  padding: 2.5rem 2rem;
  position: relative;
}

.pillar-icon {
  position: absolute;
  top: 2.25rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  color: var(--metal-dim);
  opacity: 0.85;
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--metal-dim);
  margin-bottom: 1rem;
}

.pillar p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.pillar-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.pillar:hover .pillar-detail,
.pillar:focus-within .pillar-detail {
  max-height: 12rem;
  opacity: 1;
  margin-top: 0.9rem;
}

/* ---------- Roadmap timeline ---------- */
.timeline {
  list-style: none;
  margin-top: 2.5rem;
  border-left: 1px solid var(--hairline);
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -2.62rem;
  top: 0.32rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 1.6px solid var(--metal);
}

/* ---------- Client profile cards ---------- */
.profiles.card-grid {
  margin-bottom: 3.5rem;
}

.timeline-duration {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal);
  margin-bottom: 0.6rem;
}

.timeline-step p {
  color: var(--ink-dim);
  max-width: 56ch;
}

/* ---------- Leadership ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

@media (max-width: 780px) {
  .leadership-grid { grid-template-columns: 1fr; }
}

.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--slate-raised), var(--slate));
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.portrait::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 58px;
  height: 58px;
  border: 1px solid var(--metal-dim);
  border-radius: 50%;
  opacity: 0.5;
}

.portrait-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--metal-dim);
  letter-spacing: 0.05em;
}

.portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portrait figcaption strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.portrait figcaption span {
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}

.leadership-bio .lede {
  color: var(--ink);
  font-style: italic;
  max-width: 60ch;
}

.leadership-bio p {
  color: var(--ink-dim);
  max-width: 62ch;
}

.divider {
  height: 1px;
  background: var(--hairline);
  margin: 2.25rem 0 1.75rem;
}

/* ---------- Proof / metrics ---------- */
.metric-icon {
  width: 30px;
  height: 30px;
  color: var(--metal);
  margin-bottom: 1.1rem;
  display: block;
}

.quote-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 780px) {
  .quote-grid { grid-template-columns: 1fr; }
}

.pull-quote {
  padding: 2.25rem 2rem 2.25rem 2.25rem;
  border-left: 2px solid var(--metal);
  background: var(--slate);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 350;
  line-height: 1.5;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
  font-style: normal;
}

/* ---------- Inquiry / footer section ---------- */
.inquiry {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--obsidian), var(--slate));
  border-top: 1px solid var(--hairline);
}

.inquiry-actions {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--slate);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-dim);
}

.footer-inner a {
  transition: color 0.2s ease;
}
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--metal);
}

.footer-meta {
  width: 100%;
  color: rgba(168, 168, 159, 0.55);
  font-size: 0.76rem;
}
