/* ---------- Design tokens ---------- */
:root{
  --navy: #16324a;
  --navy-deep: #0d2133;
  --forest: #2f5d3a;
  --forest-dark: #204028;
  --sky: #cfe3ee;
  --sky-light: #f3f8fa;
  --cream: #f5f0e3;
  --ink: #1c2b36;
  --muted: #566878;
  --white: #f5f0e3;
  --line: #e5dfd0;
  --radius: 10px;
  --font: "Optima", "Optima Nova", "Optima Std", Candara, "Segoe UI", "Century Gothic", "URW Gothic", sans-serif;
  --serif: var(--font);
  --sans: var(--font);
  --max: 1180px;
  --max-narrow: 800px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap.narrow{ max-width: var(--max-narrow); }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:#fff; padding:12px 18px; z-index:200;
}
.skip-link:focus{ left: 16px; top: 16px; }

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
}
h1{ letter-spacing: -0.02em; }

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.kicker{
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 1.1em;
}
.kicker.center{ text-align:center; }
.kicker.light{ color: var(--sky); text-shadow: 0 1px 10px rgba(9,20,30,0.55); }

.section-lede{
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 0.7em;
}
.section-lede.center{ text-align:center; }
.section-lede.light{ color:#fff; text-shadow: 0 2px 16px rgba(9,20,30,0.55); }

.callout{
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  border-left: 3px solid var(--forest);
  padding-left: 1.1em;
  margin-top: 1.6em;
}

.center{ text-align:center; }
.light{ color: #eef3f6; text-shadow: 0 1px 10px rgba(9,20,30,0.5); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration:none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary{
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover{ background: var(--forest-dark); transform: translateY(-1px); }
.btn-ghost{
  background:none;
  border:none;
  color: var(--navy);
  padding: 15px 4px;
}
.btn-ghost:hover{ color: var(--forest); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(245,240,227,0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand-mark{ width: 40px; height:40px; }
.brand-name{
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}
.site-nav{
  display:flex; align-items:center; gap: 28px;
  font-size: 0.95rem;
}
.site-nav a{
  text-decoration:none;
  color: var(--navy);
}
.site-nav a:not(.nav-cta):hover{ color: var(--forest); }
.nav-cta{
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy) !important;
  padding: 8.5px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-cta:hover{ background: var(--navy); color:#fff !important; }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px; height:32px;
  background:none; border:none; cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block; height:2px; width:100%;
  background: var(--navy-deep);
}

/* ---------- Hero ---------- */
.hero{
  background: var(--cream);
  padding: 76px 0 90px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items:center;
  gap: 48px;
}
.hero .eyebrow{
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}
.hero h1{
  color: var(--navy-deep);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero .lede{
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 620px;
}
.hero-actions{
  display:flex; flex-wrap:wrap; align-items:center; gap: 8px 20px;
  margin-top: 24px;
}
.hero-mark{
  display:flex;
  justify-content:center;
}
.hero-logo-graphic{
  width: 100%;
  max-width: 380px;
}

/* ---------- Generic sections ---------- */
.section{
  padding: 96px 0;
}
.market{ background: var(--sky-light); }

/* ---------- Services ---------- */
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  position:relative;
}
.service-index{
  font-family: var(--serif);
  color: var(--sky);
  font-size: 2.6rem;
  line-height:1;
  position:absolute;
  top: 24px; right: 30px;
}
.service-card h3{
  font-size: 1.35rem;
  max-width: 85%;
}
.service-tag{
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 0.9em;
}
.service-work-label{
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.5em;
}
.service-card ul{
  margin: 0 0 1.1em;
  padding-left: 1.1em;
}
.service-card li{
  margin-bottom: 0.4em;
  color: var(--ink);
}
.service-foot{
  color: var(--muted);
  font-size: 0.96rem;
  border-top: 1px solid var(--line);
  padding-top: 1em;
  margin-top: 1.2em;
}

/* ---------- Why / dark band (shared dark-section treatment) ---------- */
.why, .dark-band{ background: var(--navy-deep); color: #eef3f6; }
.why .kicker, .dark-band .kicker{ color: var(--sky); }
.why p, .dark-band p{ color: #d9e3ea; }
.dark-band strong{ color: #fff; }

/* ---------- Hero role / headshot / stats (manjuseal.com) ---------- */
.hero-role{
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 18px;
}
.headshot-frame{
  position:relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow:hidden;
  background: linear-gradient(160deg, var(--sky) 0%, var(--sky-light) 100%);
  border: 6px solid var(--white);
  box-shadow: 0 18px 40px rgba(13,33,51,0.14);
}
.headshot-img{
  width:100%; height:100%;
  object-fit: cover;
}
.headshot-empty::after{
  content: "MS";
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font);
  font-weight:600;
  font-size: 4.5rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  opacity: 0.35;
}

.tagline-section{ padding: 16px 0 36px; }
.tagline-rule{
  width: 44px;
  height: 2px;
  background: var(--forest);
  margin: 0 auto 16px;
}
.tagline{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.38rem, 1.8vw, 1.53rem);
  color: var(--forest);
  text-align: center;
  max-width: none;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 900px){
  .tagline{ white-space: normal; max-width: 480px; }
}

.glance{ padding: 64px 0; }
.stat-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.stat{
  text-align:center;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
}
.stat:first-child{ border-left: none; }
.stat-num{
  display:block;
  font-family: var(--font);
  font-weight:600;
  font-size: 1.9rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.stat-label{
  display:block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height:1.5;
}
.why-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.why-item{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.why-item h4{
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}
.why-item p{
  color: #c3d1da;
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Media banner (background photo + readable text) ---------- */
.hero-media{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(9,20,30,0.82) 0%, rgba(9,20,30,0.6) 32%, rgba(9,20,30,0.18) 62%, rgba(9,20,30,0.05) 100%);
}

/* ---------- Global ---------- */
.global{
  position:relative;
  min-height: 70vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}
.global-content{ position:relative; max-width: 760px; padding-top: 90px; padding-bottom: 90px; }
.global-content p{ margin-bottom: 1em; text-shadow: 0 1px 10px rgba(9,20,30,0.5); }

/* ---------- Full bio page ---------- */
.bio-hero{ text-align:center; padding: 64px 0 24px; }
.bio-content{ padding-top: 24px; }
.bio-hero-inner{ max-width: 640px; margin: 0 auto; }
.bio-hero .eyebrow{ justify-content:center; }
.bio-hero .hero-role{ margin-bottom: 0; }
.bio-portrait-ring{
  width: 220px;
  height: 220px;
  margin: 0 auto 30px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(155deg, var(--forest) 0%, var(--sky) 100%);
  box-shadow: 0 20px 48px rgba(13,33,51,0.18);
}
.bio-portrait-ring .headshot-frame{
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  border-width: 5px;
  box-shadow: none;
  margin: 0;
}
.bio-back{ margin-top: 2.6em; display:flex; flex-wrap:wrap; justify-content:center; gap: 8px 20px; }

/* ---------- Founder ---------- */
.founder-card{
  background: var(--sky-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
.founder-title{
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 1em;
}
.bio-toggle{ margin-top: 1.6em; }
.bio-toggle summary{
  cursor:pointer;
  font-family: var(--serif);
  color: var(--navy-deep);
  font-weight: 500;
  font-size: 1.05rem;
  list-style:none;
}
.bio-toggle summary::-webkit-details-marker{ display:none; }
.bio-toggle summary::before{ content: ""; }
.full-bio{
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.full-bio p{ color: var(--ink); }

/* ---------- Closing ---------- */
.closing{ background: var(--sky-light); }
.closing .btn{ margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: #b9c7d0;
  padding: 44px 0;
}
.footer-inner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 16px;
}
.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-mark{ width:28px; height:28px; }
.footer-brand span{
  font-family: var(--serif);
  letter-spacing: 0.08em;
  color:#fff;
  font-size: 0.9rem;
}
.footer-contact a{ text-decoration:none; color:#d9e3ea; }
.footer-contact a:hover{ color:#fff; }
.footer-copy{ font-size: 0.85rem; margin:0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .service-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-grid{ grid-template-columns: 1fr; gap: 8px; }
  .hero-mark{ order: -1; }
  .hero-logo-graphic{ max-width: 220px; margin: 0 auto 8px; }
  .headshot-frame{ max-width: 220px; margin-bottom: 8px; }
  .stat-grid{ grid-template-columns: 1fr; gap: 28px; }
  .stat{ border-left:none; }
}

@media (max-width: 720px){
  .nav-toggle{ display:flex; }
  .site-nav{
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    display:none;
  }
  .site-nav.open{ display:flex; }
  .site-nav a{ padding: 12px 0; width:100%; }
  .nav-cta{ margin-top: 8px; text-align:center; }

  .hero{ padding: 44px 0 56px; }
  .section{ padding: 64px 0; }
  .why-grid{ grid-template-columns: 1fr; }
  .founder-card{ padding: 28px; }
}
