/* ============================================================
   Purposefully Rooted — shared brand stylesheet
   Navy #213F56 · Off-white/greige #E9E4E6 · Steel blue #7F9AAF
   ============================================================ */

:root{
  --navy:        #213F56;
  --navy-deep:   #1A3245;
  --ivory:       #E9E4E6;
  --ivory-tint:  #F5F3F1;
  --steel:       #7F9AAF;
  --steel-deep:  #5F7E96;
  --paper:       #FFFFFF;
  --ink:         #26313A;
  --ink-soft:    #5C6B74;
  --line:        #DDE1DE;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Josefin Sans", "Segoe UI", sans-serif;
  --label:   "Jost", "Segoe UI", sans-serif;

  --maxw: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
}
img{ max-width:100%; display:block; }
a{ color:var(--steel-deep); text-decoration:none; }
a:hover{ text-decoration:underline; }
a:focus-visible, button:focus-visible{ outline:2px solid var(--steel-deep); outline-offset:3px; }

h1,h2,h3{
  font-family:var(--display);
  color:var(--navy);
  line-height:1.15;
  margin:0 0 .4em;
  text-wrap:balance;
  font-weight:600;
}
h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); }
h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); }
h3{ font-size:1.3rem; }

/* About / service page titles — match the Home page's heading typeface (see .feature-text h2) */
#about-heading, #service-heading, #statement-heading, #cta-heading{
  font-family:var(--body);
  font-weight:700;
  letter-spacing:.015em;
}
p{ margin:0 0 1em; max-width:65ch; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

.eyebrow{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:500;
  color:var(--steel-deep);
}

/* ---------- header ---------- */
.site-header{
  background:var(--navy);
  color:var(--ivory);
}
.site-header .container{
  display:flex;
  align-items:center;
  gap:18px;
  padding-top:22px;
  padding-bottom:22px;
}
.brand-lockup{
  display:flex;
  align-items:center;
  gap:16px;
}
.logo-mark{ width:56px; height:56px; flex:none; }
.brand-name{
  font-family:var(--display);
  color:var(--ivory);
  font-weight:600;
  font-size:1.6rem;
  line-height:1;
  margin:0;
}
.brand-name a{ color:inherit; text-decoration:none; }
.brand-sub{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.72rem;
  color:var(--steel);
  margin-top:4px;
}

/* hero header: logo pinned top-left, name truly centered on the bar */
.site-header.hero .container{
  padding-top:52px;
  padding-bottom:52px;
  flex-direction:column;
  gap:0;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  width:100%;
  column-gap:20px;
}
.site-header.hero .logo-mark{
  width:130px;
  height:130px;
  justify-self:start;
}
.brand-center{ text-align:center; }
.site-header.hero .brand-name{ font-size:clamp(2rem,5vw,2.9rem); }
.tagline{
  font-family:var(--display);
  font-style:italic;
  color:var(--ivory);
  font-size:clamp(1.1rem,2.4vw,1.5rem);
  margin-top:22px;
  text-align:center;
}
.brand-center p{ margin-left:auto; margin-right:auto; }
@media (max-width:640px){
  .hero-grid{ grid-template-columns:1fr; justify-items:center; row-gap:14px; }
  .hero-grid > *{ grid-column:1; }
  .site-header.hero .logo-mark{ justify-self:center; width:88px; height:88px; }
  .brand-center{ text-align:center; }
  .tagline{ max-width:32ch; margin-left:auto; margin-right:auto; }
}

/* home hero: small logo badge pinned top-left (like a home icon),
   big centered name with the tagline pulled in tight underneath.
   The logo and the name sit in the SAME grid row with align-items:center,
   so the browser vertically centers the name against the logo's actual
   rendered height — this stays correct no matter how a given font's
   internal metrics happen to sit within its line box. */
.site-header.hero.home{
  position:relative;
  overflow:hidden;
  border-bottom:5px solid var(--steel);
}
.site-header.hero.home::before,
.site-header.hero.home::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.045);
  pointer-events:none;
  z-index:0;
}
.site-header.hero.home::before{ width:420px; height:420px; top:-190px; right:-90px; }
.site-header.hero.home::after{ width:280px; height:280px; bottom:-190px; right:140px; background:rgba(255,255,255,.035); }
.site-header.hero.home .container{
  position:relative;
  z-index:1;
  max-width:none;
  margin:0;
  padding-top:16px;
  padding-bottom:20px;
  padding-left:32px;
  padding-right:32px;
}
.site-header.hero.home .hero-grid{
  display:grid;
  grid-template-columns:148px 1fr 148px;
  grid-template-rows:148px auto auto;
  align-items:center;
  column-gap:20px;
}
.site-header.hero.home .logo-link{
  grid-column:1;
  grid-row:1;
  display:block;
  width:148px;
  height:148px;
}
.site-header.hero.home .home-logo{
  display:block;
  width:100%;
  height:100%;
}
.site-header.hero.home .brand-name-row{
  grid-column:2;
  grid-row:1;
  align-self:end;
  text-align:center;
}
.site-header.hero.home .brand-name{
  font-size:clamp(1.8rem,4.2vw,3.1rem);
  display:block;
  text-transform:uppercase;
  letter-spacing:.01em;
  white-space:nowrap;
}
.site-header.hero.home .brand-meta{
  grid-column:1 / -1;
  grid-row:2;
  text-align:center;
}
.site-header.hero.home .brand-meta p{ margin-left:auto; margin-right:auto; }
.site-header.hero.home .brand-sub{
  margin-top:6px;
  text-transform:none;
  letter-spacing:normal;
  font-family:var(--body);
  font-weight:400;
  font-size:1.05rem;
  color:var(--steel);
}
.site-header.hero.home .tagline{
  margin-top:10px;
  font-size:clamp(1rem,1.8vw,1.2rem);
}
.site-header.hero.home .accent-rule{ display:none; }

.site-header.hero.home .connect-btn{
  grid-column:1 / -1;
  grid-row:3;
  justify-self:center;
  margin-top:18px;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.78rem;
  font-weight:500;
  color:var(--ivory);
  border:1.5px solid var(--steel);
  border-radius:2px;
  padding:11px 22px;
  white-space:nowrap;
}
.site-header.hero.home .connect-btn:hover{
  background:var(--steel);
  color:var(--navy-deep);
  text-decoration:none;
}

@media (max-width:640px){
  .site-header.hero.home .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .site-header.hero.home .logo-link{
    order:1;
    margin-bottom:12px;
    width:75px;
    height:75px;
  }
  .site-header.hero.home .brand-name-row{ order:2; }
  .site-header.hero.home .brand-name{ font-size:clamp(1.7rem,8vw,2.3rem); white-space:normal; }
  .site-header.hero.home .brand-meta{ order:3; }
  .site-header.hero.home .tagline{ font-size:.92rem; max-width:28ch; margin-left:auto; margin-right:auto; }
  .site-header.hero.home .connect-btn{
    order:4;
    display:inline-block;
    margin-top:16px;
  }
}

/* ---------- sections ---------- */
section{ padding:64px 0; }
section.tint{ background:var(--ivory-tint); }
.section-head{ max-width:60ch; margin-bottom:36px; }
.section-head.wide{ max-width:none; }

.placeholder{
  border:1.5px dashed var(--steel);
  background:var(--ivory-tint);
  border-radius:8px;
  padding:20px 22px;
  color:var(--ink-soft);
  font-style:italic;
}
.placeholder strong{
  display:block;
  font-style:normal;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--steel-deep);
  margin-bottom:8px;
}

/* ---------- feature sections (scrolling, alternating) ---------- */
.feature{ padding:88px 0; }
.feature.tint{ background:var(--ivory); }
.feature.navy{ background:var(--navy); }
.feature .container{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
}
.feature-graphic{ order:2; display:flex; justify-content:center; }
.feature-text{ order:1; }
.feature.reverse .feature-graphic{ order:1; }
.feature.reverse .feature-text{ order:2; }
.feature-graphic svg{ width:170px; height:170px; color:var(--steel); flex:none; }
.feature-text .eyebrow{ display:block; margin-bottom:8px; }
.feature-text h2{
  font-family:var(--body);
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.015em;
  font-size:clamp(1.7rem,3.4vw,2.4rem);
  color:var(--navy);
  margin:0 0 18px;
}
.feature-text p{ color:var(--ink-soft); font-size:1.02rem; max-width:50ch; }
.feature.navy .feature-text h2{ color:var(--ivory); }
.feature.navy .feature-text p{ color:var(--ivory); opacity:.88; }
.feature.navy .eyebrow{ color:var(--steel); }
.placeholder-note{
  font-style:italic;
  font-size:.86rem;
  color:var(--steel-deep);
  opacity:.85;
}
.feature.navy .placeholder-note{ color:var(--steel); opacity:.9; }
.feature-text .learn-more{
  display:inline-block;
  margin-top:6px;
  font-family:var(--label);
  text-transform:uppercase;
  font-size:.8rem;
  letter-spacing:.09em;
  font-weight:500;
  color:var(--steel-deep);
}
.feature.navy .feature-text .learn-more{ color:var(--ivory); }
.feature-text .learn-more::after{ content:" →"; }

@media (max-width:820px){
  .feature{ padding:56px 0; }
  .feature .container{ grid-template-columns:1fr; text-align:center; gap:28px; }
  .feature-graphic{ order:-1 !important; }
  .feature-text{ order:0 !important; }
  .feature-text p{ margin-left:auto; margin-right:auto; }
  .feature-graphic svg{ width:120px; height:120px; }
}

/* "Who We Are" — same short, white top-strip treatment as the service pages, full-width text (no icon) */
#vision{
  background:var(--paper);
  padding:40px 0 24px;
}
#vision .container{ grid-template-columns:1fr; text-align:left; }
#vision .feature-text p{ max-width:none; }
@media (max-width:640px){
  #vision{ padding:28px 0 16px; }
}
@media (max-width:820px){
  #vision .container{ text-align:left; }
}

/* ---------- values list (About) — alternating left/right aligned ---------- */
.values-bg{ background:var(--ivory); }
.values-list{
  max-width:760px;
  margin:56px auto 12px;
}
.value-item{
  max-width:520px;
  margin-bottom:48px;
}
.value-item:last-child{ margin-bottom:0; }
.value-item.left{
  margin-right:auto;
  text-align:left;
}
.value-item.right{
  margin-left:auto;
  text-align:right;
}
.value-name{
  font-family:var(--body);
  font-weight:700;
  letter-spacing:.015em;
  font-size:clamp(1.6rem, 3.2vw, 2.3rem);
  color:var(--navy);
  margin:0 0 12px;
}
.value-name::after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  background:var(--steel);
  margin-top:12px;
}
.value-item.right .value-name::after{ margin-left:auto; }
.value-desc{
  font-size:1.2rem;
  line-height:1.65;
  color:var(--ink-soft);
  margin:0;
}
@media (max-width:640px){
  .value-item.left, .value-item.right{
    max-width:100%;
    margin-left:0;
    margin-right:0;
    text-align:left;
  }
  .value-item.right .value-name::after{ margin-left:0; }
  .value-name{ font-size:clamp(1.6rem, 6.5vw, 2.1rem); }
  .value-desc{ font-size:1.08rem; }
}

/* ---------- interior page top spacing (no breadcrumb, sits closer to header) ---------- */
.page-top{ padding-top:40px; }
.page-top.tight{ padding-bottom:24px; }
@media (max-width:640px){
  .page-top{ padding-top:28px; }
  .page-top.tight{ padding-bottom:16px; }
}

/* ---------- statement / emphasis section (service pages) ---------- */
.statement{
  position:relative;
  overflow:hidden;
  background:var(--navy);
  color:var(--ivory);
  padding:96px 0;
}
.statement::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  background:rgba(255,255,255,.045);
  top:-220px;
  right:-140px;
  pointer-events:none;
}
.statement::after{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  border-radius:50%;
  background:rgba(255,255,255,.035);
  bottom:-200px;
  left:-80px;
  pointer-events:none;
}
.statement .container{ position:relative; z-index:1; max-width:760px; }
.statement .eyebrow{ display:block; margin-bottom:18px; color:var(--steel); }
.statement h2{
  color:var(--ivory);
  font-size:clamp(2rem, 4.6vw, 3.1rem);
  margin:0 0 32px;
}
.statement p{
  color:var(--ivory);
  opacity:.92;
  font-size:1.15rem;
  max-width:62ch;
}
.statement .statement-emphasis{
  font-style:italic;
  font-size:1.15rem;
  opacity:.92;
  margin-top:8px;
}
.statement .statement-bold{
  font-family:var(--display);
  font-weight:700;
  font-size:clamp(1.5rem,3vw,2rem);
  color:var(--ivory);
  margin-top:36px;
}
.statement .statement-bold .accent{ color:var(--steel); }
.statement .statement-footer{
  margin-top:28px;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:1.15rem;
  font-weight:500;
  color:var(--steel);
  opacity:.9;
}
.statement .statement-footer-link{
  margin-top:12px;
  font-family:var(--body);
  font-size:1rem;
  color:var(--ivory);
  opacity:.85;
}
.statement .statement-footer-link a{
  color:var(--steel);
  text-decoration:underline;
  font-weight:500;
}
.statement .statement-footer-link a:hover{
  color:var(--ivory);
}

.offer-list{ margin-top:40px; max-width:62ch; }
.offer-lead{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.8rem;
  font-weight:500;
  color:var(--steel);
  margin:0 0 16px;
}
.offer-list ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:16px;
}
.offer-list li{
  position:relative;
  padding-left:22px;
  color:var(--ivory);
  opacity:.92;
  font-size:1.05rem;
  line-height:1.55;
  margin:0;
}
.offer-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.6em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--steel);
}
.offer-list li strong{
  color:var(--ivory);
  font-family:var(--body);
  font-weight:600;
}
.offer-note{
  margin:22px 0 0;
  color:var(--ivory);
  opacity:.88;
  font-style:italic;
  font-size:1rem;
  line-height:1.6;
  max-width:60ch;
}

/* ---------- call to action (service pages) ---------- */
.cta{ background:var(--ivory); padding:72px 0; text-align:center; }
.cta h2{ margin:0 0 12px; }
.cta-sub{
  color:var(--ink-soft);
  font-size:1.05rem;
  max-width:44ch;
  margin:0 auto 36px;
}
.cta-options{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:820px;
  margin:0 auto;
}
.cta-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:28px 20px;
  border:1.5px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  color:var(--navy);
}
.cta-item:hover{
  border-color:var(--steel);
  text-decoration:none;
}
.cta-item-schedule{ justify-content:center; }
.cta-schedule-embed{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:24px;
}
.cta-label{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.75rem;
  font-weight:500;
  color:var(--steel-deep);
}
.cta-value{
  font-family:var(--body);
  font-weight:600;
  font-size:1.05rem;
  color:var(--navy);
}
@media (max-width:720px){
  .cta-options{ grid-template-columns:1fr; }
}

.back-section{ padding:36px 0 64px; }

/* ---------- contact page ---------- */
.contact-section{ padding:24px 0 80px; }
.contact-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:start;
}
.contact-intro p{ color:var(--ink-soft); font-size:1.05rem; max-width:44ch; }
.contact-details{
  margin-top:32px;
  display:grid;
  gap:24px;
}
.contact-detail-label{
  display:block;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:.78rem;
  color:var(--steel-deep);
  margin-bottom:6px;
}
.contact-detail a{
  font-family:var(--body);
  font-weight:600;
  font-size:1.1rem;
  color:var(--navy);
}
.contact-detail .cta-schedule-embed{
  display:flex;
  justify-content:flex-start;
  min-height:24px;
}

.contact-form{
  background:var(--ivory-tint);
  border-radius:12px;
  padding:36px;
  display:grid;
  gap:20px;
}
.form-row{ display:grid; gap:6px; }
.form-label{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.76rem;
  color:var(--steel-deep);
}
.form-optional{ text-transform:none; letter-spacing:0; opacity:.75; }
.form-input{
  font-family:var(--body);
  font-size:1rem;
  color:var(--ink);
  background:var(--paper);
  border:1.5px solid var(--line);
  border-radius:8px;
  padding:12px 14px;
  width:100%;
}
.form-input:focus{ outline:2px solid var(--steel); outline-offset:1px; }
.form-textarea{ resize:vertical; font-family:var(--body); }
.form-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-submit{
  justify-self:start;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.85rem;
  font-weight:600;
  color:var(--paper);
  background:var(--navy);
  border:none;
  border-radius:8px;
  padding:14px 32px;
  cursor:pointer;
}
.form-submit:hover{ background:var(--navy-deep); }
.form-submit:disabled{ opacity:.6; cursor:default; }
.form-status{ margin:0; font-size:.92rem; min-height:1.3em; }
.form-status-success{ color:var(--steel-deep); font-weight:600; }
.form-status-error{ color:#B3453A; font-weight:600; }

@media (max-width:820px){
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .contact-intro p{ max-width:none; }
  .contact-form{ padding:28px 24px; }
}

/* ---------- buttons / back links ---------- */
.back-link{
  display:inline-block;
  margin-top:28px;
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  color:var(--steel-deep);
}
.back-link::before{ content:"← "; }

/* ---------- footer ---------- */
.site-footer{
  background:var(--navy-deep);
  color:var(--ivory);
  margin-top:0;
}
.site-footer .container{
  padding:32px 24px;
  display:flex;
  flex-wrap:wrap;
  gap:16px 32px;
  align-items:center;
  justify-content:center;
}

/* ---------- header nav (About Us / Careers) ---------- */
.header-nav{
  display:flex;
  gap:22px;
}
.header-nav a{
  font-family:var(--label);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.76rem;
  font-weight:500;
  color:var(--ivory);
  opacity:.85;
}
.header-nav a:hover{ opacity:1; text-decoration:underline; }

/* compact header (service pages): push nav to the right edge */
.site-header:not(.hero) .container{ position:relative; }
.site-header:not(.hero) .header-nav{ margin-left:auto; }

/* hero header (Home/About/Careers): top-right corner, mirrors the logo.
   Positioned absolutely (relative to .container) rather than placed in the
   148px grid column, so two links have room without wrapping. */
.site-header.hero.home .header-nav{
  position:absolute;
  top:16px;
  right:32px;
  z-index:2;
}
@media (max-width:640px){
  .site-header.hero.home .header-nav{
    position:static;
    order:5;
    margin-top:18px;
  }
}
.footer-copy{
  font-family:var(--label);
  font-size:.78rem;
  color:var(--steel);
}

@media (max-width: 640px){
  section{ padding:44px 0; }
  .site-footer .container{ flex-direction:column; align-items:center; text-align:center; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
