/* MitoGen MD — site styles
   Palette pulled from the practice infographic. */

:root {
  --navy: #0F2240;
  --navy-deep: #08152B;
  --green: #2E6F4A;
  --green-deep: #1F4E33;
  --gold: #C9A14B;
  --orange: #E2823A;
  --cream: #F8F5EE;
  --paper: #FFFFFF;
  --ink: #16202E;
  --muted: #5A6473;
  --line: #E7E2D6;
  --shadow: 0 8px 24px rgba(15, 34, 64, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.45rem; margin-bottom: .5rem; }

p { color: var(--muted); margin-bottom: 1rem; }

a { color: var(--green); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green-deep); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
  text-decoration: none;
}

/* Real logo image — HD PNG with truly transparent edges, blends naturally */
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Footer logo: small soft-cream pill so original logo colors stay legible on dark navy */
.site-footer .brand-logo {
  height: 56px;
  width: auto;
  display: block;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: 10px;
  mix-blend-mode: normal;
  filter: none;
}

/* Legacy fallback mark (used only when image isn't loaded) */
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold), var(--green) 70%);
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.18);
}

.brand-md {
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--green);
  font-weight: 700;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.nav-links a:hover, .nav-links a.active { color: var(--green); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .03em;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 14px rgba(226, 130, 58, 0.35);
}

.btn:hover { background: #cf6c25; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--navy); color: #fff !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 10px;
  }
  .brand-logo { height: 50px; }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .nav-links a {
    font-size: .92rem;
    padding: 4px 6px;
  }
  .nav-links a.btn {
    /* Hide the orange CTA on mobile — Contact link in the row covers it */
    display: none;
  }
  .nav-toggle { display: none; }
}

@media (max-width: 480px) {
  .nav { padding: 12px 16px; }
  .brand-logo { height: 44px; }
  .nav-links a {
    font-size: .82rem;
    padding: 4px 3px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,21,43,.55) 0%, rgba(8,21,43,.85) 100%),
    linear-gradient(120deg, var(--navy) 0%, var(--green-deep) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 500px at 80% 20%, rgba(201,161,75,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(46,111,74,.35), transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.eyebrow {
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 { color: #fff; max-width: 14ch; }

.hero .lede {
  margin-top: 18px;
  font-size: 1.18rem;
  color: rgba(255,255,255,.86);
  max-width: 56ch;
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-ctas .btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
}
.hero-ctas .btn-ghost:hover { background: #fff; color: var(--navy) !important; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { color: var(--green); }
.section-head p { font-size: 1.06rem; }

.section-alt { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--gold); }

/* ---------- Pillars (4-card strip) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.pillar-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 700;
  font-size: 1.2rem;
}

.pillar h3 { font-size: 1.15rem; }
.pillar p { font-size: .94rem; margin: 0; }

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

/* ---------- 4-Layer cards ---------- */
.layers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.layer {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.layer .layer-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.6rem;
  color: var(--gold);
  opacity: .35;
  position: absolute;
  top: 8px; right: 22px;
  line-height: 1;
}

.layer h3 { color: var(--navy); }
.layer .sub {
  display: block;
  color: var(--green);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.layer p { font-size: .98rem; }
.layer ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
  font-size: .94rem;
}
.layer ul li { margin: 4px 0; }

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

/* ---------- Journey timeline ---------- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.phase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.phase .phase-num {
  display: inline-block;
  width: 32px; height: 32px; line-height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 12px;
}
.phase h3 { font-size: 1.15rem; }
.phase .when {
  display: block;
  color: var(--orange);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.phase p { font-size: .92rem; margin: 0; }

@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .journey { grid-template-columns: 1fr; } }

/* ---------- Metrics row ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  font-size: .85rem;
  color: var(--ink);
  font-weight: 500;
}
.metric .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-bottom: 8px;
}

@media (max-width: 1000px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px)  { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Outcomes / list block ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  max-width: 880px;
  margin: 24px auto 0;
}
.outcome {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.outcome::before {
  content: "→";
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
}

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

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--green-deep));
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto 8px; }
.cta-band p { color: rgba(255,255,255,.78); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

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

/* ---------- Generic page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(120deg, var(--navy), var(--green-deep));
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}
.page-header h1 { color: #fff; }
.page-header .lede {
  color: rgba(255,255,255,.82);
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: 1.1rem;
}
.page-header .eyebrow { color: var(--gold); }

/* ---------- About page ---------- */
.about-hero {
  background: var(--cream);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.about-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  margin-bottom: 8px;
}
.about-hero .role {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.about-hero .lede {
  font-size: 1.18rem;
  color: var(--ink);
  max-width: 52ch;
}
.portrait {
  aspect-ratio: 4/5;
  background-image: url('images/profile%20pic%20new.png');
  background-size: cover;
  background-position: center 18%;
  background-color: #d6cdb6;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(15,34,64,.32);
  position: relative;
  overflow: hidden;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,34,64,.18));
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4/5;
  background-image: url('images/profile%20pic%20new.png');
  background-size: cover;
  background-position: center top;
  background-color: #d6cdb6;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* expertise chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 500;
}

/* pull quote */
.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--navy);
  line-height: 1.3;
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
  max-width: 30ch;
}

/* timeline-style training */
.timeline-mini {
  margin-top: 14px;
}
.timeline-mini .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.timeline-mini .row:last-child { border-bottom: 0; }
.timeline-mini .yr {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 600;
}
.timeline-mini h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.timeline-mini p { font-size: .94rem; margin: 0; }

/* publications list */
.pubs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
.pubs li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
}
.pubs .journal {
  display: block;
  color: var(--green);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pubs .title { color: var(--navy); font-weight: 600; }

@media (max-width: 800px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .timeline-mini .row { grid-template-columns: 90px 1fr; gap: 12px; }
}
.creds {
  background: var(--cream);
  border-radius: 14px;
  padding: 26px 28px;
  margin-top: 24px;
}
.creds h4 { color: var(--navy); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; letter-spacing: .04em; text-transform: none; margin-bottom: 8px;}
.creds ul { list-style: none; }
.creds li { padding: 4px 0; color: var(--ink); font-size: .96rem; }
.creds li::before { content: "✓ "; color: var(--green); font-weight: 700; }

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

/* ---------- Program page (long sections per layer) ---------- */
.layer-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.layer-detail:first-of-type { border-top: 0; }
.layer-detail .label-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}
.layer-detail h2 { margin-bottom: 6px; }
.layer-detail .sub-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.layer-detail h4 {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
}
.layer-detail ul { padding-left: 18px; color: var(--muted); }
.layer-detail li { margin: 4px 0; }
.layer-detail .output-box {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  margin-top: 20px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .96rem;
}
.layer-detail .output-box strong { color: var(--navy); }

@media (max-width: 800px) { .layer-detail { grid-template-columns: 1fr; gap: 12px; } .layer-detail .label-num { font-size: 3.6rem; } }

/* ---------- Patient journey full timeline ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--gold));
}
.tl-item {
  position: relative;
  padding: 0 0 36px 30px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -23px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
}
.tl-item h3 { color: var(--navy); }
.tl-item .when {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.tl-item ul { color: var(--muted); padding-left: 18px; margin-top: 6px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
 