:root{
  --navy:#12394a;
  --teal:#0f6f78;
  --teal-dark:#0a5961;
  --aqua:#dff4f2;
  --aqua-2:#eef9f8;
  --ink:#17272d;
  --muted:#66777d;
  --line:#dbe6e8;
  --white:#ffffff;
  --off:#f8fbfb;
  --shadow:0 24px 70px rgba(21,57,69,.12);
  --radius:26px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:"DM Sans",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.container{width:min(var(--max),calc(100% - 44px));margin-inline:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(219,230,232,.9);
}
.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand{display:flex;align-items:center;gap:13px}
.brand-mark{
  width:42px;height:42px;border-radius:13px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--teal),#1c8f95);
  color:white;font-weight:800;font-size:14px;
  box-shadow:0 8px 20px rgba(15,111,120,.2)
}
.brand-copy{display:flex;flex-direction:column;line-height:1.1}
.brand-copy strong{font-family:"Manrope",sans-serif;font-size:16px;letter-spacing:-.02em}
.brand-copy small{font-size:10px;color:var(--muted);margin-top:5px;letter-spacing:.08em;text-transform:uppercase}
.nav-links{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:600;color:#42565d}
.nav-links a{transition:.2s}
.nav-links a:hover{color:var(--teal)}
.nav-cta{
  color:white!important;background:var(--navy);
  padding:11px 17px;border-radius:999px
}
.menu-toggle{display:none;border:0;background:none;padding:8px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0;border-radius:2px}

.hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 75px;
  background:
    linear-gradient(180deg,#ffffff 0%,#fbfefe 100%);
}
.hero-bg-orb{
  position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;
}
.hero-bg-orb-one{
  width:520px;height:520px;right:-170px;top:-180px;
  background:radial-gradient(circle,rgba(167,228,224,.36),rgba(167,228,224,0) 70%)
}
.hero-bg-orb-two{
  width:380px;height:380px;left:-170px;bottom:-160px;
  background:radial-gradient(circle,rgba(198,232,242,.35),rgba(198,232,242,0) 70%)
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:72px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  margin-bottom:25px;
  font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);
}
.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#31a9a5;box-shadow:0 0 0 6px rgba(49,169,165,.1)}
.hero h1{
  margin:0;
  max-width:720px;
  font-family:"Manrope",sans-serif;
  font-size:clamp(52px,5.8vw,80px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:700;
  color:var(--navy);
}
.hero h1 span{color:var(--teal)}
.hero-text{
  max-width:690px;
  margin:29px 0 0;
  font-size:18px;
  line-height:1.72;
  color:#5b6c72;
}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:34px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:0 21px;border-radius:12px;
  font-size:13px;font-weight:700;border:1px solid transparent;
  transition:transform .2s,box-shadow .2s,background .2s
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:var(--teal);color:white;
  box-shadow:0 12px 28px rgba(15,111,120,.18)
}
.btn-primary:hover{background:var(--teal-dark)}
.btn-secondary{
  background:white;color:var(--navy);border-color:#cedcdf;
  box-shadow:0 8px 24px rgba(18,57,74,.05)
}
.btn-white{background:white;color:var(--navy)}
.compact-btn{min-height:46px}
.hero-trust{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:22px;margin-top:46px;padding-top:30px;border-top:1px solid var(--line)
}
.hero-trust div{display:flex;flex-direction:column}
.hero-trust strong{font-size:13px;color:var(--navy)}
.hero-trust span{font-size:11px;color:#839096;margin-top:5px}

.hero-visual{display:flex;justify-content:center}
.portrait-shell{position:relative;width:min(100%,470px);padding:24px}
.portrait-accent{
  position:absolute;inset:64px 2px 18px 50px;border-radius:40px;
  background:linear-gradient(145deg,#b9e7e4,#dff4f2);
  transform:rotate(5deg)
}
.portrait-card{
  position:relative;
  overflow:hidden;
  border-radius:36px;
  background:#edf7f6;
  box-shadow:var(--shadow);
  border:8px solid white
}
.portrait-card img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center 25%;
}
.floating-card{
  position:absolute;z-index:3;
  display:flex;align-items:center;gap:12px;
  min-width:235px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border:1px solid rgba(210,228,229,.92);
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 16px 42px rgba(23,68,77,.12)
}
.floating-card-top{top:52px;left:-40px}
.floating-card-bottom{right:-42px;bottom:55px}
.mini-icon{
  width:36px;height:36px;border-radius:11px;
  display:grid;place-items:center;
  background:var(--aqua);color:var(--teal);font-weight:800
}
.floating-card div{display:flex;flex-direction:column}
.floating-card strong{font-size:12px;color:var(--navy)}
.floating-card small{font-size:10px;color:#839096;margin-top:3px}

.credibility-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fbfdfd}
.credibility-inner{padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:25px}
.credibility-inner>p{margin:0;font-size:11px;color:var(--muted);font-weight:600}
.source-pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.source-pills span{
  padding:8px 11px;border-radius:999px;background:white;border:1px solid var(--line);
  font-size:10px;color:#5d6e74;font-weight:600
}

.section{padding:110px 0}
.about-grid{display:grid;grid-template-columns:.33fr 1.67fr;gap:55px}
.section-label{
  display:flex;align-items:center;gap:12px;
  font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teal)
}
.section-label span{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:var(--aqua);font-size:10px;color:var(--teal)
}
.inline-label{margin-bottom:22px}
.about-main{max-width:860px}
.about-main h2,.section-heading h2,.approach h2,.contact h2{
  margin:0;
  font-family:"Manrope",sans-serif;
  font-size:clamp(40px,4.5vw,62px);
  line-height:1.08;
  letter-spacing:-.045em;
  color:var(--navy)
}
.lead{
  max-width:830px;margin:26px 0 35px;
  font-size:23px;line-height:1.55;color:#455b63
}
.about-text-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}
.about-text-grid p{margin:0;color:var(--muted);line-height:1.75;font-size:14px}
.signature-line{
  display:flex;align-items:center;gap:13px;margin-top:39px;padding-top:28px;border-top:1px solid var(--line)
}
.signature-mark{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:var(--navy);color:white;font-weight:800;font-size:12px
}
.signature-line div:last-child{display:flex;flex-direction:column}
.signature-line strong{font-size:14px;color:var(--navy)}
.signature-line span{font-size:11px;color:var(--muted);margin-top:4px}

.soft-section{background:var(--off)}
.section-heading{
  display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end;margin-bottom:48px
}
.section-heading>p{
  margin:0 0 4px;color:var(--muted);font-size:15px;line-height:1.7;max-width:470px
}
.focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.focus-card{
  background:white;border:1px solid #e1eaec;border-radius:20px;padding:28px;
  min-height:245px;transition:.25s;box-shadow:0 8px 24px rgba(18,57,74,.03)
}
.focus-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(18,57,74,.08);border-color:#c8dddf}
.focus-icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  background:var(--aqua);color:var(--teal);font-size:19px;font-weight:800
}
.focus-card h3{font-family:"Manrope",sans-serif;font-size:20px;color:var(--navy);margin:24px 0 12px}
.focus-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}

.approach{background:var(--navy);color:white}
.approach-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:80px;align-items:start}
.light-label{color:#9ee0dd}
.light-label span{background:rgba(155,224,221,.12);color:#a6e5e1}
.approach h2{color:white;margin-bottom:25px}
.approach-copy>p{max-width:560px;color:#bfd0d5;line-height:1.7;font-size:15px}
.text-link-light{display:inline-block;margin-top:20px;color:white;font-weight:700;font-size:13px;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:4px}
.approach-list{border-top:1px solid rgba(255,255,255,.17)}
.approach-item{
  display:grid;grid-template-columns:54px 1fr;gap:22px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.17)
}
.approach-item>span{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.08);color:#9ee0dd;font-size:10px;font-weight:700
}
.approach-item h3{margin:2px 0 8px;font-family:"Manrope",sans-serif;font-size:18px}
.approach-item p{margin:0;color:#b8c9ce;font-size:13px;line-height:1.65}

.resource-heading{align-items:center}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.resource-card{
  border:1px solid var(--line);border-radius:20px;padding:27px;background:white;
  transition:.25s
}
.resource-card:hover{border-color:#bdd4d7;box-shadow:0 16px 35px rgba(18,57,74,.07)}
.resource-tag{
  display:inline-flex;padding:7px 10px;border-radius:999px;background:var(--aqua-2);
  color:var(--teal);font-size:10px;font-weight:700
}
.resource-card h3{font-family:"Manrope",sans-serif;color:var(--navy);font-size:21px;line-height:1.25;margin:20px 0 11px}
.resource-card p{color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 22px}
.resource-card a{font-size:12px;font-weight:700;color:var(--teal)}

.youtube-section{padding:0 0 110px}
.youtube-card{
  min-height:290px;border-radius:28px;padding:52px 58px;
  display:flex;align-items:center;justify-content:space-between;gap:60px;
  background:
    radial-gradient(circle at 90% 10%,rgba(139,226,218,.22),transparent 28%),
    linear-gradient(135deg,#0b4f58,#12394a);
  color:white;overflow:hidden;position:relative
}
.youtube-card>div{max-width:720px}
.youtube-badge{
  display:inline-flex;padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.12);font-size:11px;font-weight:700;margin-bottom:20px
}
.youtube-card h2{
  margin:0;font-family:"Manrope",sans-serif;font-size:clamp(36px,4vw,54px);
  line-height:1.08;letter-spacing:-.04em
}
.youtube-card p{max-width:620px;color:#c8dde0;line-height:1.7;font-size:14px}

.contact{background:#f8fbfb}
.contact-card{
  display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center;
  border:1px solid var(--line);border-radius:26px;background:white;padding:48px 52px;
  box-shadow:0 12px 36px rgba(18,57,74,.05)
}
.contact-card>div:first-child>p{max-width:610px;color:var(--muted);line-height:1.7}
.contact-placeholder{
  border:1px dashed #b8cdd0;border-radius:18px;padding:26px;background:#fbfefe;
  display:flex;flex-direction:column
}
.contact-placeholder span{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:var(--teal);font-weight:700}
.contact-placeholder strong{font-family:"Manrope",sans-serif;font-size:23px;color:var(--navy);margin:9px 0}
.contact-placeholder small{color:var(--muted);line-height:1.55}

.footer{padding:55px 0 30px;border-top:1px solid var(--line);background:white}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-bottom:35px}
.footer-links{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;color:#65777d}
.footer-bottom{
  border-top:1px solid var(--line);padding-top:26px;
  display:grid;grid-template-columns:1.5fr .5fr;gap:40px;align-items:end
}
.footer-bottom p{max-width:820px;margin:0;color:#87959a;font-size:10px;line-height:1.65}
.footer-bottom span{text-align:right;color:#87959a;font-size:10px}

.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

@media (max-width:980px){
  .nav-links{gap:18px}
  .hero-grid{grid-template-columns:1fr;gap:50px}
  .hero-copy{max-width:850px}
  .hero-visual{justify-content:flex-start}
  .portrait-shell{width:440px}
  .about-grid,.approach-grid{grid-template-columns:1fr}
  .section-heading{grid-template-columns:1fr;gap:20px}
  .focus-grid,.resource-grid{grid-template-columns:repeat(2,1fr)}
  .contact-card{grid-template-columns:1fr}
}

@media (max-width:760px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .nav{min-height:72px}
  .menu-toggle{display:block}
  .nav-links{
    display:none;position:absolute;top:72px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:15px;
    background:white;border-bottom:1px solid var(--line);padding:22px 14px 26px
  }
  .nav-links.open{display:flex}
  .nav-cta{text-align:center}
  .hero{padding:66px 0 58px}
  .hero h1{font-size:53px}
  .hero-text{font-size:16px}
  .hero-trust{grid-template-columns:1fr;gap:14px}
  .portrait-shell{width:min(100%,390px);padding:12px}
  .floating-card{min-width:205px;padding:12px}
  .floating-card-top{left:-5px;top:36px}
  .floating-card-bottom{right:-5px;bottom:30px}
  .credibility-inner{align-items:flex-start;flex-direction:column}
  .source-pills{justify-content:flex-start}
  .section{padding:82px 0}
  .about-text-grid{grid-template-columns:1fr}
  .focus-grid,.resource-grid{grid-template-columns:1fr}
  .youtube-section{padding-bottom:82px}
  .youtube-card{padding:38px 28px;align-items:flex-start;flex-direction:column}
  .contact-card{padding:34px 26px}
  .footer-top{align-items:flex-start;flex-direction:column}
  .footer-bottom{grid-template-columns:1fr}
  .footer-bottom span{text-align:left}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
}


/* V3 final refinements */
.brand{
  gap:0;
}
.footer-brand{
  gap:0;
}
.contact-email-only{
  min-height:126px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-style:solid;
}
.contact-email-only a{
  color:var(--teal);
  font-family:"Manrope",sans-serif;
  font-size:clamp(18px,2vw,25px);
  font-weight:700;
  letter-spacing:-.02em;
  word-break:break-word;
}
.contact-email-only a:hover{
  text-decoration:underline;
}


.signature-line-no-icon{
  gap:0;
}


/* Mobile hero composition fix:
   Keep desktop untouched, but on phones place Dr. Mercer's portrait
   directly after the hero introduction instead of after the entire text block. */
@media (max-width:760px){
  .hero-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
  }

  .hero-copy{
    display:contents;
  }

  .hero-copy .eyebrow{
    grid-row:1;
  }

  .hero-copy h1{
    grid-row:2;
  }

  .hero-copy .hero-text{
    grid-row:3;
  }

  .hero-visual{
    grid-row:4;
    margin-top:34px;
    margin-bottom:32px;
    justify-content:center;
    width:100%;
  }

  .hero-copy .hero-actions{
    grid-row:5;
    margin-top:0;
  }

  .hero-copy .hero-trust{
    grid-row:6;
    margin-top:38px;
  }

  .portrait-shell{
    width:min(100%, 390px);
    margin-inline:auto;
  }
}
