/* ---------- Design tokens ---------- */
:root{
  --navy: #16324a;
  --navy-deep: #0d2133;
  --forest: #2f5d3a;
  --forest-dark: #204028;
  --sky: #cfe3ee;
  --sky-light: #f3f8fa;
  --ink: #1c2b36;
  --muted: #566878;
  --white: #ffffff;
  --line: #e1e8ec;
  --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;
}

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.95rem;
  letter-spacing: 0.01em;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration:none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary{
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover{ background: var(--forest-dark); transform: translateY(-1px); }
.btn-ghost{
  border: 1.5px solid rgba(255,255,255,0.75);
  color: #fff;
}
.btn-ghost:hover{ background: rgba(255,255,255,0.12); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,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: var(--navy);
  color:#fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover{ background: var(--forest); }

.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 / media sections ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}
.hero-media{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,33,51,0.42) 0%, rgba(13,33,51,0.26) 45%, rgba(13,33,51,0.62) 100%);
}
.hero-content{
  position:relative;
  padding-top: 120px;
  padding-bottom: 100px;
  max-width: 880px;
}
.hero-logo{
  width: 84px; height:84px;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
.hero .eyebrow{
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--sky);
  margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(9,20,30,0.55);
}
.hero h1{
  color:#fff;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  font-weight: 500;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(9,20,30,0.55);
}
.hero .lede{
  color: #eef3f6;
  font-size: 1.08rem;
  max-width: 720px;
  text-shadow: 0 1px 10px rgba(9,20,30,0.5);
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap: 16px;
  margin-top: 20px;
}

/* ---------- 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 ---------- */
.why{ background: var(--navy-deep); color: #eef3f6; }
.why .kicker{ color: var(--sky); }
.why p{ color: #d9e3ea; }
.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;
}

/* ---------- 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; }

/* ---------- 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); }
}

@media (max-width: 720px){
  .nav-toggle{ display:flex; }
  .site-nav{
    position:absolute;
    top: 100%; left:0; right:0;
    background:#fff;
    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-content{ padding-top: 90px; padding-bottom: 70px; }
  .section{ padding: 64px 0; }
  .why-grid{ grid-template-columns: 1fr; }
  .founder-card{ padding: 28px; }
}
