/* ==========================================================================
   01. SHARED / GLOBAL CSS
   Used by header.php, front-page.php, and footer.php
   ========================================================================== */

/* ==========================================================================
   FinStratCorp — single page site
   Design tokens are exposed as CSS custom properties so the palette can be
   swapped from one place. Layout uses a restrained "financial ledger" motif:
   hairline grids, tabular figures for stats, and a drawn growth-line signature
   in the hero — a nod to the subject matter without leaning on stock clichés.
   ========================================================================== */

:root{
  /* ---- Brand palette (fixed by brief) ---- */
  --primary:     #1a1510; /* deep espresso — dark sections, headings on light */
  --accent:      #f2ede3; /* warm cream — light section backgrounds, light text on dark */
  --background:  #9a8560; /* warm brass/tan — mid-tone feature bands */
  --text:        #c8bc9e; /* soft champagne — body copy on dark sections */
  --secondary:   #6b5f4a; /* muted umber — supporting copy, borders, icons */

  /* ---- Derived tones (kept in-family, not new hues) ---- */
  --primary-soft: #2a231b;
  --line-hair:    rgba(26,21,16,0.10);
  --line-hair-dark: rgba(242,237,227,0.10);
  --shadow-soft: 0 20px 50px -20px rgba(26,21,16,0.35);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* ---- Layout ---- */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------- Reset ---------------------------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  background:var(--accent);
  color:var(--primary);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; font-size:inherit; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:500; line-height:1.15; letter-spacing:-0.01em; }
h2{ font-size:48px; }
.container{ max-width:var(--max-w); margin:0 auto; padding:0 32px; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

/* ==========================================================================
   02. HOMEPAGE CSS — PAGE LOADING TRANSITION
   Used only by front-page.php
   ========================================================================== */

/* ---------------------------- Page entrance ---------------------------- */
.page-loader{
  display:none;
  position:fixed;
  inset:0;
  z-index:2000;
  place-items:center;
  overflow:hidden;
  color:var(--accent);
  isolation:isolate;
}
.js .page-loader{ display:grid; }
.page-loader::before,
.page-loader::after{
  content:'';
  position:absolute;
  z-index:-1;
  left:0;
  width:100%;
  height:50.5%;
  background:var(--primary);
  transition:transform 700ms cubic-bezier(.76,0,.24,1);
}
.page-loader::before{ top:0; transform-origin:top; }
.page-loader::after{ bottom:0; transform-origin:bottom; }
.loader-ledger{
  width:min(360px, calc(100vw - 48px));
  display:grid;
  justify-items:center;
  gap:18px;
  text-align:center;
  transition:opacity 180ms ease, transform 300ms var(--ease);
}
.loader-brand{
  font-family:var(--font-display);
  font-size:clamp(30px, 5vw, 42px);
  font-weight:500;
  line-height:1;
  letter-spacing:-0.025em;
  animation:loaderBrandIn 600ms cubic-bezier(.16,1,.3,1) both;
}
.loader-brand span{ color:var(--background); }
.loader-rule{
  width:100%;
  height:1px;
  overflow:hidden;
  background:var(--line-hair-dark);
}
.loader-rule::after{
  content:'';
  display:block;
  width:100%;
  height:100%;
  background:var(--background);
  transform:scaleX(0);
  transform-origin:left;
  animation:loaderRule 900ms cubic-bezier(.16,1,.3,1) 180ms both;
}
.loader-status{
  font-family:var(--font-mono);
  font-size:10px;
  line-height:1.4;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text);
  animation:loaderStatusIn 450ms var(--ease) 260ms both;
}
.page-ready .page-loader{ pointer-events:none; }
.page-ready .page-loader::before{ transform:translateY(-101%); transition-delay:180ms; }
.page-ready .page-loader::after{ transform:translateY(101%); transition-delay:180ms; }
.page-ready .loader-ledger{
  opacity:0;
  transform:scale(.97);
}
.page-ready .hero-copy{
  animation:heroCopyEnter 760ms cubic-bezier(.16,1,.3,1) 260ms both;
}
.page-ready .hero-chart{
  animation:heroChartEnter 820ms cubic-bezier(.16,1,.3,1) 340ms both;
}
@keyframes loaderBrandIn{
  from{ opacity:0; transform:translateY(14px); filter:blur(5px); }
  to{ opacity:1; transform:translateY(0); filter:blur(0); }
}
@keyframes loaderRule{ to{ transform:scaleX(1); } }
@keyframes loaderStatusIn{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}
@keyframes heroCopyEnter{
  from{ opacity:0; transform:translateY(22px); filter:blur(6px); }
  to{ opacity:1; transform:translateY(0); filter:blur(0); }
}
@keyframes heroChartEnter{
  from{ opacity:0; transform:translateX(24px); clip-path:inset(0 0 0 100%); }
  to{ opacity:1; transform:translateX(0); clip-path:inset(0); }
}

/* Visible keyboard focus (accessibility floor) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
.team-profile-details summary:focus-visible{
  outline:2px solid var(--background);
  outline-offset:3px;
}

/* ---------------------------- Utility ---------------------------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:'';
  width:18px; height:1px;
  background:currentColor;
  display:inline-block;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 30px;
  border-radius:2px;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:0.01em;
  transition:transform .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent);
  color:var(--primary);
}
.btn-primary:hover{ transform:translateY(-2px); background:#fff; }
.btn-outline{
  border:1px solid var(--line-hair-dark);
  color:var(--text);
}
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.btn-dark{
  background:var(--primary);
  color:var(--accent);
}
.btn-dark:hover{ transform:translateY(-2px); background:var(--primary-soft); }

/* ==========================================================================
   03. HEADER CSS
   Intended for header.php navigation and mobile menu
   ========================================================================== */

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(26,21,16,0.0);
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){
  .admin-bar .site-header{ top:46px; }
}
.site-header.scrolled{
  background:rgba(26,21,16,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-hair-dark);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:82px;
  min-width:0;
}
.logo{
  font-family:var(--font-display);
  font-size:21px;
  color:var(--accent);
  display:flex; align-items:center; gap:10px;
  font-weight:500;
  flex-shrink:0;
}
.logo span{ color:var(--background); }
.nav-links{
  display:flex; align-items:center; gap:40px;
}
.nav-links a{
  font-size:14px; color:var(--text); font-weight:500;
  position:relative; padding:4px 0;
  transition:color .3s ease;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav-links a:hover{ color:var(--accent); }
.nav-links a:hover::after{ transform:scaleX(1); }
.nav-links a[aria-current="page"]{ color:var(--accent); }
.nav-links a[aria-current="page"]::after{ transform:scaleX(1); }
.nav-cta-wrap{ display:flex; align-items:center; gap:24px; }
.nav-cta-wrap .btn{ padding:11px 22px; }

.hamburger{
  display:none;
  width:44px; height:44px;
  flex:0 0 44px;
  position:relative;
  z-index:1100;
}
.hamburger span{
  position:absolute; left:9px; width:26px; height:1.5px;
  background:var(--accent); transition:all .35s var(--ease);
}
.hamburger span:nth-child(1){ top:13px; }
.hamburger span:nth-child(2){ top:21px; }
.hamburger span:nth-child(3){ top:29px; }
.hamburger.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0;
  background:var(--primary);
  z-index:1050;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap:28px;
  padding:
    max(32px, env(safe-area-inset-top))
    max(40px, env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom))
    max(40px, env(safe-area-inset-left));
  transform:translateY(-100%);
  transition:transform .5s var(--ease);
}
.mobile-menu.open{ transform:translateY(0); }
.mobile-menu a{
  font-family:var(--font-display); font-size:34px; color:var(--accent); font-weight:400;
}
.mobile-menu a[aria-current="page"]{ color:var(--background); }
.mobile-menu .btn{ margin-top:12px; }

/* ==========================================================================
   04. HOMEPAGE CSS
   Used by front-page.php: hero, services, leadership, FAQ, contact, and CTAs
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  background:var(--primary);
  color:var(--text);
  padding:5rem 1rem;
  overflow:hidden;
}
/* Ledger-grid texture: a quiet nod to financial statements / graph paper */
.hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg, var(--line-hair-dark) 0px, var(--line-hair-dark) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, var(--line-hair-dark) 0px, var(--line-hair-dark) 1px, transparent 1px, transparent 64px);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:60px;
  align-items:center;
}
.hero-copy .eyebrow{ color:var(--background); margin-bottom:26px; }
.hero h1{
  font-size:clamp(38px, 5.2vw, 64px);
  color:var(--accent);
  max-width:640px;
}
.hero p.lede{
  margin-top:26px;
  max-width:520px;
  font-size:17px;
  color:var(--text);
}
.hero p.lede strong{ color:var(--accent); font-weight:600; }
.hero-ctas{
  margin-top:42px;
  display:flex; gap:16px; flex-wrap:wrap;
}

/* Signature visual: an SVG line chart drawn on load — "strategic growth" made literal */
.hero-chart{ position:relative; }
.hero-chart svg{ width:100%; height:auto; overflow:visible; }
.hero-chart .growth-path{
  fill:none; stroke:var(--background); stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:900; stroke-dashoffset:900;
  animation:draw 2.2s var(--ease) .4s forwards;
}
.hero-chart .growth-fill{
  opacity:0; animation:fadeIn 1.5s ease 1.6s forwards;
}
.hero-chart .growth-dot{
  opacity:0; transform-origin:center;
  animation:popIn .5s var(--ease) forwards;
}
.hero-chart .growth-label{
  font-family:var(--font-mono); font-size:11px; fill:var(--text); opacity:0;
  animation:fadeIn .6s ease forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes fadeIn{ to{ opacity:1; } }
@keyframes popIn{ to{ opacity:1; transform:scale(1); } }

.hero-scroll-cue{
  position:absolute; bottom:36px; left:32px;
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em;
  color:var(--secondary); text-transform:uppercase;
}
.hero-scroll-cue .line{ width:1px; height:34px; background:var(--secondary); position:relative; overflow:hidden; }
.hero-scroll-cue .line::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background:var(--background); animation:scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ top:-100%; } 50%{ top:0; } 100%{ top:100%; } }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats{
  background:var(--background);
  color:var(--primary);
  padding:3rem 1rem;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}
.stat-item{
  border-left:1px solid var(--line-hair);
  padding-left:22px;
}
.stat-item:first-child{ border-left:1px solid var(--line-hair); }
.stat-number{
  font-family:var(--font-mono);
  font-size:clamp(28px, 3.4vw, 42px);
  font-weight:500;
  font-variant-numeric:tabular-nums;
  display:block;
}
.stat-label{
  margin-top:6px;
  font-size:13.5px;
  color:var(--primary-soft);
  font-weight:500;
}

/* ==========================================================================
   SECTION HEADERS (shared)
   ========================================================================== */
.section{ padding:3rem 1rem; }
.section-head{
  max-width:640px;
  margin:0 auto 72px;
  text-align:center;
}
.section-head .eyebrow{ color:var(--secondary); margin-bottom:18px; justify-content:center; }
.section-head h2{
  color:var(--primary);
}
.section-head p{
  margin:18px auto 0;
  color:var(--secondary);
  font-size:16px;
  max-width:520px;
}
.section-alt{ background:var(--primary); color:var(--text); }
.section-alt .section-head h2{ color:var(--accent); }
.section-alt .section-head p{ color:var(--text); }

/* ==========================================================================
   SERVICES — "dashboard tile" grid (nod to Linear's product panel)
   ========================================================================== */
.services{ background:var(--accent); }
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line-hair);
  border:1px solid var(--line-hair);
}
.services-grid > *,
.why-grid > *,
.leadership-grid > *,
.contact-grid > *,
.footer-grid > *{ min-width:0; }
.service-card{
  background:var(--accent);
  padding:38px 34px;
  position:relative;
  transition:background .4s var(--ease);
  display:flex; flex-direction:column; gap:18px;
}
.service-card:hover{ background:#fbf9f5; }
.service-icon{
  width:44px; height:44px;
  border:1px solid var(--secondary);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:var(--primary);
  transition:border-color .3s ease, transform .3s var(--ease), background .3s ease;
}
.service-card:hover .service-icon{
  border-color:var(--primary);
  background:var(--primary);
  color:var(--accent);
  transform:translateY(-3px);
}
.service-icon svg{ width:20px; height:20px; }
.service-card h3{ font-size:19px; color:var(--primary); font-weight:500; }
.service-card p{ font-size:14.5px; color:var(--secondary); flex-grow:1; }
.service-link{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--primary);
  border-top:1px solid var(--line-hair); padding-top:16px; margin-top:4px;
}
.service-link svg{ width:14px; height:14px; transition:transform .3s var(--ease); }
.service-card:hover .service-link svg{ transform:translateX(4px); }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why{ background:var(--accent); }
.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
}
.why-copy,
.why-features{ min-width:0; }
.why-copy .eyebrow{ justify-content:flex-start; }
.why-copy h2{ text-align:left; max-width:100%; overflow-wrap:anywhere; }
.why-copy p{ color:var(--secondary); margin:20px 0 0; width:100%; max-width:480px; text-align:left; }
.why-image{
  position:relative;
  width:100%;
  max-width:100%;
  border-radius:var(--radius-md);
  overflow:hidden;
  margin-top:36px;
  box-shadow:var(--shadow-soft);
}
.why-image img{
  width:100%;
  height:auto;
  aspect-ratio:7 / 5;
  object-fit:cover;
  filter:grayscale(35%) contrast(1.05);
}
.why-image::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(26,21,16,0.35), transparent 60%);
}
.why-features{ display:flex; flex-direction:column; gap:0; }
.why-feature{
  display:flex; gap:22px;
  padding:28px 0;
  border-top:1px solid var(--line-hair);
}
.why-feature:last-child{ border-bottom:1px solid var(--line-hair); }
.why-feature-icon{
  flex-shrink:0; width:46px; height:46px;
  border-radius:50%;
  background:var(--primary);
  color:var(--accent);
  display:flex; align-items:center; justify-content:center;
}
.why-feature-icon svg{ width:20px; height:20px; }
.why-feature h4{ font-size:16.5px; color:var(--primary); margin-bottom:6px; font-weight:600; }
.why-feature p{ font-size:14.5px; color:var(--secondary); }

/* ==========================================================================
   LEADERSHIP — editorial, image-first profiles
   ========================================================================== */
.leadership{
  background:#fbf9f5;
  border-top:1px solid var(--line-hair);
}
.leadership-head{
  display:grid;
  grid-template-columns:minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap:64px;
  align-items:end;
  margin-bottom:64px;
}
.leadership-title .eyebrow{
  color:var(--secondary);
  margin-bottom:18px;
}
.leadership-title h2{
  max-width:680px;
  letter-spacing:-0.025em;
  text-wrap:balance;
}
.leadership-intro{
  color:var(--secondary);
  font-size:15.5px;
  max-width:46ch;
  padding-bottom:7px;
}
.leadership-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:clamp(24px, 3vw, 38px);
}
.leader-card{ min-width:0; display:block; }
.leader-image{
  aspect-ratio:4 / 5;
  overflow:hidden;
  background:var(--primary-soft);
  position:relative;
}
.leader-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.72) contrast(1.04);
  transition:transform .7s var(--ease), filter .5s ease;
}
.leader-card:hover .leader-image img{
  transform:scale(1.025);
  filter:saturate(.9) contrast(1.04);
}
.leader-profile-btn{
  position:absolute;
  left:24px;
  bottom:24px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 18px;
  background:var(--accent);
  color:var(--primary);
  font-size:13px;
  font-weight:600;
  line-height:1;
  box-shadow:0 12px 28px -16px rgba(26,21,16,.75);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .3s ease, transform .4s var(--ease);
}
.leader-profile-btn svg{
  width:15px;
  height:15px;
  transition:transform .35s var(--ease);
}
.leader-card:hover .leader-profile-btn,
.leader-card:focus-visible .leader-profile-btn{
  opacity:1;
  transform:translateY(0);
}
.leader-card:hover .leader-profile-btn svg,
.leader-card:focus-visible .leader-profile-btn svg{ transform:translateX(3px); }
.leader-meta{
  padding-top:24px;
  border-top:1px solid transparent;
  transition:border-color .35s ease;
}
.leader-card:hover .leader-meta,
.leader-card:focus-visible .leader-meta{ border-top-color:var(--background); }
.leader-name{
  font-size:22px;
  color:var(--primary);
  letter-spacing:-0.02em;
  text-wrap:balance;
}
.leader-role{
  margin-top:10px;
  color:var(--secondary);
  font-size:14.5px;
  line-height:1.55;
  max-width:31ch;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner{
  background:var(--background);
  color:var(--primary);
  padding:3rem 1rem;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-banner h2{ max-width:720px; margin:0 auto; }
.cta-banner p{ margin:22px auto 40px; max-width:520px; color:var(--primary-soft); font-size:16px; }
.cta-banner .btn-dark{ padding:17px 38px; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq{ background:var(--accent); }
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid var(--line-hair);
}
.faq-question{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  padding:26px 4px;
  text-align:left;
  font-size:17px; font-weight:500; color:var(--primary);
  font-family:var(--font-display);
}
.faq-icon{
  flex-shrink:0; width:22px; height:22px; position:relative;
}
.faq-icon::before, .faq-icon::after{
  content:''; position:absolute; top:50%; left:50%;
  background:var(--primary);
  transform:translate(-50%,-50%);
  transition:transform .35s var(--ease), opacity .35s ease;
}
.faq-icon::before{ width:14px; height:1.5px; }
.faq-icon::after{ width:1.5px; height:14px; }
.faq-item.active .faq-icon::after{ transform:translate(-50%,-50%) rotate(90deg); opacity:0; }
.faq-answer{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .45s var(--ease);
}
.faq-item.active .faq-answer{ grid-template-rows:1fr; }
.faq-answer-inner{
  min-height:0;
  overflow:hidden;
  padding:0 4px;
  max-width:600px;
  color:var(--secondary);
  font-size:15px;
}
.faq-item.active .faq-answer-inner{ padding-bottom:28px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ background:var(--primary); color:var(--text); }
.contact-info > .eyebrow{ justify-content:flex-start; }
.contact-info > h2{ text-align:left; }
.contact-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:70px;
}
.contact-info-list{ margin-top:34px; display:flex; flex-direction:column; gap:22px; }
.contact-info-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-info-item .ci-icon{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--secondary);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:var(--background);
}
.contact-info-item .ci-icon svg{ width:16px; height:16px; }
.contact-info-item h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:var(--background); font-family:var(--font-mono); font-weight:500; }
.contact-info-item p{ margin-top:4px; font-size:15.5px; color:var(--accent); }

.social-row{ display:flex; gap:14px; margin-top:44px; }
.social-icon{
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--line-hair-dark);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.social-icon svg{ width:17px; height:17px; color:var(--text); transition:color .3s ease; }
.social-icon:hover{ background:var(--accent); border-color:var(--accent); transform:translateY(-3px); }
.social-icon:hover svg{ color:var(--primary); }

.contact-form{
  background:var(--accent);
  border-radius:var(--radius-md);
  padding:44px;
  color:var(--primary);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:22px; position:relative; }
.field label{
  display:block; font-size:12.5px; font-weight:600; text-transform:uppercase;
  letter-spacing:0.06em; color:var(--secondary); margin-bottom:9px;
}
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px;
  background:transparent;
  border:1px solid var(--line-hair);
  border-radius:4px;
  font-size:14.5px; color:var(--primary);
  transition:border-color .3s ease;
}
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--primary); outline:none;
}
.field .error-msg{
  display:none;
  font-size:12.5px; color:#a0402c; margin-top:6px;
}
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#a0402c; }
.field.has-error .error-msg{ display:block; }
.form-submit{ width:100%; margin-top:6px; padding:16px; }
.form-note{ font-size:12.5px; color:var(--secondary); margin-top:14px; text-align:center; }
.form-success{
  display:none; text-align:center; padding:40px 10px;
}
.form-success.show{ display:block; }
.form-success svg{ width:46px; height:46px; color:var(--primary); margin:0 auto 18px; }
.form-success h3{ font-size:20px; margin-bottom:8px; }
.form-success p{ color:var(--secondary); font-size:14.5px; }

/* ==========================================================================
   05. ABOUT US PAGE CSS
   Used by about-us.html and the future WordPress About template
   ========================================================================== */
.about-page{ background:var(--accent); }
.about-hero{
  min-height:680px;
  padding:calc(82px + 5rem) 1rem 5rem;
  background:var(--primary);
  color:var(--accent);
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
}
.about-hero::before{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:66%;
  width:1px;
  background:var(--line-hair-dark);
}
.about-hero::after{
  content:'';
  position:absolute;
  right:-170px;
  bottom:-290px;
  width:560px;
  height:560px;
  border:1px solid rgba(154,133,96,.28);
  border-radius:50%;
}
.about-hero .container{ position:relative; z-index:1; width:100%; }
.about-hero .eyebrow{
  color:var(--background);
  margin-bottom:34px;
}
.about-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(280px, .55fr);
  gap:clamp(48px, 8vw, 120px);
  align-items:end;
}
.about-hero h1{
  max-width:850px;
  font-size:clamp(54px, 6.8vw, 88px);
  color:var(--accent);
  letter-spacing:-.03em;
  text-wrap:balance;
}
.about-hero-lede{
  border-top:1px solid var(--line-hair-dark);
  padding-top:24px;
}
.about-hero-lede p{
  color:var(--text);
  font-size:17px;
  line-height:1.75;
  max-width:42ch;
}
.about-hero-index{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:30px;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--background);
}
.about-section{ padding:3rem 1rem; }
.about-story{ background:var(--accent); }
.about-story-grid{
  display:grid;
  grid-template-columns:minmax(180px, .45fr) minmax(0, 1.25fr);
  gap:clamp(48px, 9vw, 130px);
  align-items:start;
}
.about-margin-note{
  padding-top:9px;
  font-family:var(--font-mono);
  font-size:11px;
  line-height:1.7;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--secondary);
}
.about-margin-note::before{
  content:'';
  display:block;
  width:36px;
  height:1px;
  margin-bottom:20px;
  background:var(--background);
}
.about-story-copy h2{
  max-width:760px;
  color:var(--primary);
  text-wrap:balance;
}
.about-story-copy > p{
  max-width:70ch;
  margin-top:24px;
  color:var(--secondary);
  font-size:16px;
  line-height:1.85;
}
.about-story-copy > p:first-of-type{
  color:var(--primary-soft);
  font-size:18px;
}
.about-story-copy > .about-statement{
  max-width:790px;
  margin-top:42px;
  padding-top:34px;
  border-top:1px solid var(--line-hair);
  font-family:var(--font-display);
  font-size:clamp(26px, 3vw, 36px);
  line-height:1.35;
  letter-spacing:-.02em;
  color:var(--primary);
}
.about-experience{
  background:#fbf9f5;
  border-top:1px solid var(--line-hair);
  border-bottom:1px solid var(--line-hair);
}
.about-experience-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(360px, .82fr);
  gap:clamp(52px, 7vw, 92px);
  align-items:start;
}
.about-experience-copy .eyebrow{
  color:var(--secondary);
  margin-bottom:18px;
}
.about-experience-copy h2{
  max-width:620px;
  color:var(--primary);
  text-wrap:balance;
}
.about-experience-copy p{
  max-width:62ch;
  margin-top:22px;
  color:var(--secondary);
  font-size:15.5px;
  line-height:1.8;
}
.about-ledger{
  border-top:1px solid var(--primary);
  border-bottom:1px solid var(--line-hair);
}
.about-ledger-row{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:24px;
  padding:21px 0;
  border-bottom:1px solid var(--line-hair);
}
.about-ledger-row:last-child{ border-bottom:0; }
.about-ledger-label{
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--secondary);
}
.about-ledger-value{
  color:var(--primary);
  font-size:15px;
  line-height:1.7;
}
.about-industries{
  display:flex;
  flex-wrap:wrap;
  gap:7px 0;
}
.about-industries span{
  display:inline-flex;
  align-items:center;
}
.about-industries span:not(:last-child)::after{
  content:'/';
  margin:0 10px;
  color:var(--background);
}
.about-ledger-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  color:var(--primary);
  font-size:14px;
  font-weight:600;
}
.about-ledger-link svg{
  width:15px;
  height:15px;
  transition:transform .3s var(--ease);
}
.about-ledger-link:hover svg{ transform:translateX(4px); }
.about-mission{
  position:relative;
  overflow:hidden;
  background:var(--background);
  color:var(--primary);
  border-bottom:1px solid rgba(26,21,16,.2);
}
.about-mission::before{ display:none; }
.about-mission-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, .72fr);
  gap:clamp(54px, 7vw, 92px);
  align-items:center;
}
.about-mission h2{
  max-width:720px;
  color:var(--primary);
  text-wrap:balance;
}
.about-mission-copy{
  padding-top:24px;
  border-top:1px solid rgba(26,21,16,.35);
}
.about-mission-copy p{
  color:var(--primary-soft);
  font-size:16px;
  line-height:1.8;
}
.about-mission-copy .btn{ margin-top:30px; }
.about-mission-copy .btn-primary{
  background:var(--primary);
  color:var(--accent);
}
.about-mission-copy .btn-primary:hover{
  background:var(--primary-soft);
  transform:translateY(-2px);
}

/* ==========================================================================
   06. FOOTER CSS
   Intended for footer.php, including the back-to-top control
   ========================================================================== */

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--primary-soft); color:var(--text); padding-top:90px; }
.footer-cta{
  text-align:left; padding-bottom:80px;
  border-bottom:1px solid var(--line-hair-dark);
}
.footer-cta h2{ color:var(--accent); max-width:600px; margin:0 0 30px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding:64px 32px 40px;
}
.footer-brand .logo{ min-height:44px; margin-bottom:16px; }
.footer-brand p{ font-size:14px; color:var(--secondary); max-width:280px; }
.footer-col h5,
.footer-col h3{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--background); margin-bottom:20px; font-weight:500;
}
.footer-col a{ display:block; font-size:14.5px; color:var(--text); margin-bottom:12px; transition:color .3s ease; }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{
  border-top:1px solid var(--line-hair-dark);
  padding:26px 32px 40px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:13px; color:var(--secondary);
}

/* Back to top */
.back-to-top{
  position:fixed; right:28px; bottom:28px; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background:var(--primary); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .35s ease, transform .35s ease, visibility .35s;
  box-shadow:var(--shadow-soft);
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg{ width:18px; height:18px; }
.back-to-top:hover{ background:var(--background); color:var(--primary); }

/* ==========================================================================
   07. SHARED INTERACTION CSS
   Custom cursor and reusable motion helpers
   ========================================================================== */

/* ==========================================================================
   CUSTOM CURSOR (desktop / fine-pointer only)
   Uses mix-blend-mode:difference against a white source colour so the
   rendered cursor is always the visual inverse of whatever sits beneath it —
   dark on light sections, light on dark sections — with no per-section
   colour switching logic required.
   ========================================================================== */
@media (hover:hover) and (pointer:fine){
  body{ cursor:none; }
  a, button, input, textarea, select, summary{ cursor:none; }
  .cursor-dot, .cursor-ring{
    position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
    border-radius:50%;
    transform:translate(-50%,-50%);
    mix-blend-mode:difference;
  }
  .cursor-dot{ width:6px; height:6px; background:#ffffff; }
  .cursor-ring{
    width:34px; height:34px; border:1px solid rgba(255,255,255,0.7);
    transition:transform .25s var(--ease), border-color .25s ease, background .25s ease;
  }
  .cursor-ring.hovering{
    transform:translate(-50%,-50%) scale(1.65);
    background:rgba(255,255,255,0.12);
    border-color:rgba(255,255,255,0.9);
  }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   08. RESPONSIVE CSS
   Combined responsive rules for header.php, front-page.php, and footer.php
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px){
  .nav-links, .nav-cta-wrap .btn-outline{ display:none; }
  .hamburger{ display:block; }
  .hero-grid{ grid-template-columns:minmax(0, 1fr); }
  .hero-chart{ margin-top:20px; max-width:420px; }
  .stats-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:36px; }
  .services-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .why-grid{ grid-template-columns:minmax(0,1fr); gap:50px; }
  .leadership-head{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .leadership-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .contact-grid{ grid-template-columns:minmax(0,1fr); gap:50px; }
  .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:40px; }
}
@media (max-width: 640px){
  h2{ font-size:30px; }
  .site-header{ padding-top:env(safe-area-inset-top); }
  .container{ padding:0 22px; }
  .nav-inner{ height:72px; }
  .site-header .logo{ min-height:44px; }
  .nav-cta-wrap{ display:none; }
  .mobile-menu{
    gap:22px;
    padding:
      max(24px, env(safe-area-inset-top))
      max(22px, env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(22px, env(safe-area-inset-left));
  }
  .mobile-menu a{ font-size:30px; }
  .mobile-menu .btn{
    width:100%;
    min-height:52px;
    padding:15px 18px;
    font-family:var(--font-body);
    font-size:15px;
    color:var(--primary);
    white-space:normal;
    text-align:center;
  }
  .hero{
    padding:
      calc(3rem + 72px + env(safe-area-inset-top))
      0
      3rem;
  }
  main section[id]{
    scroll-margin-top:calc(80px + env(safe-area-inset-top));
  }
  .hero h1{ font-size:clamp(36px, 11vw, 44px); }
  .hero p.lede{ margin-top:20px; font-size:16px; }
  .hero-ctas{ margin-top:28px; gap:12px; }
  .hero-ctas .btn{
    width:100%;
    min-height:48px;
    white-space:normal;
  }
  .hero-chart{ margin-top:32px; }
  .hero-scroll-cue{ display:none; }
  .section{ padding:2rem 0; }
  .stats{ padding:2rem 0; }
  .section-head{ margin-bottom:36px; }
  .stats-grid{ column-gap:12px; row-gap:28px; }
  .stat-item{ padding-left:16px; }
  .services-grid{ grid-template-columns:minmax(0,1fr); }
  .service-card{ padding:28px 24px; gap:14px; }
  .service-link{
    min-height:44px;
    align-items:center;
  }
  .why-grid{ gap:32px; }
  .why-copy p{ font-size:15.5px; }
  .why-image{ margin-top:24px; }
  .why-feature{ gap:16px; padding:22px 0; }
  .leadership-head{ margin-bottom:32px; }
  .leadership-grid{ grid-template-columns:minmax(0,1fr); gap:36px; }
  .leader-image{ aspect-ratio:4 / 4.5; }
  .leader-meta{ padding-top:18px; }
  .leader-name{ font-size:16px; }
  .cta-banner{ padding:2rem 0; }
  .cta-banner p{ margin:18px auto 28px; }
  .cta-banner .btn-dark{
    width:100%;
    min-height:48px;
    padding:15px 18px;
    white-space:normal;
  }
  .faq-question{ min-height:56px; padding:20px 4px; }
  .contact-grid{ gap:36px; }
  .form-row{ grid-template-columns:minmax(0,1fr); }
  .contact-form{ padding:24px; min-width:0; }
  .social-icon{ width:44px; height:44px; }
  .site-footer{ padding-top:60px; }
  .footer-cta{ padding-bottom:48px; }
  .footer-grid{
    padding:40px 22px 28px;
    row-gap:28px;
  }
  .footer-col a{
    min-height:44px;
    margin-bottom:0;
    display:flex;
    align-items:center;
    overflow-wrap:anywhere;
  }
  .footer-bottom{
    padding:26px 22px max(40px, env(safe-area-inset-bottom));
    flex-direction:column;
    align-items:flex-start;
  }
  .back-to-top{
    right:16px;
    bottom:max(16px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 420px){
  .footer-grid{ grid-template-columns:minmax(0,1fr); }
}

/* ==========================================================================
   09. ABOUT US PAGE — RESPONSIVE CSS
   Used by about-us.html and the future WordPress About template
   ========================================================================== */
@media (max-width:980px){
  .about-hero-grid,
  .about-experience-grid,
  .about-mission-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .about-hero-grid{ gap:38px; }
  .about-hero-lede{ max-width:620px; }
  .about-story-grid{
    grid-template-columns:minmax(130px, .32fr) minmax(0,1fr);
    gap:48px;
  }
  .about-experience-grid,
  .about-mission-grid{ gap:46px; }
  .about-mission::before{ display:none; }
}

@media (max-width:640px){
  .about-hero{
    min-height:auto;
    padding:
      calc(72px + 3rem + env(safe-area-inset-top))
      0
      3rem;
  }
  .about-hero::before{ display:none; }
  .about-hero::after{
    right:-190px;
    bottom:-310px;
    width:480px;
    height:480px;
  }
  .about-hero .eyebrow{ margin-bottom:24px; }
  .about-hero h1{
    font-size:clamp(40px, 12vw, 54px);
    letter-spacing:-.025em;
  }
  .about-hero-lede p{ font-size:16px; }
  .about-hero-index{ margin-top:24px; }
  .about-section{ padding:2rem 0; }
  .about-story-grid{ grid-template-columns:minmax(0,1fr); gap:28px; }
  .about-margin-note{ padding-top:0; }
  .about-story-copy > p,
  .about-story-copy > p:first-of-type{ font-size:16px; }
  .about-statement{
    margin-top:30px;
    padding-top:26px;
    font-size:26px;
  }
  .about-ledger-row{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    padding:21px 0;
  }
  .about-mission-copy{ padding-top:24px; }
}

/* ==========================================================================
   10. LEADERSHIP TEAM PAGE CSS
   Used by leadership-team.html and the future WordPress leadership template
   ========================================================================== */
.team-page{ background:var(--accent); }
.team-hero{
  min-height:650px;
  padding:calc(82px + 5rem) 1rem 5rem;
  background:var(--primary);
  color:var(--accent);
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
}
.team-hero::before{
  content:'';
  position:absolute;
  inset:0 0 0 auto;
  width:34%;
  border-left:1px solid var(--line-hair-dark);
  background:rgba(154,133,96,.055);
}
.team-hero .container{ position:relative; z-index:1; width:100%; }
.team-hero .eyebrow{ color:var(--background); margin-bottom:34px; }
.team-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(300px, .62fr);
  gap:clamp(52px, 8vw, 110px);
  align-items:end;
}
.team-hero h1{
  max-width:820px;
  color:var(--accent);
  font-size:clamp(54px, 6.8vw, 86px);
  letter-spacing:-.03em;
  text-wrap:balance;
}
.team-hero-copy{
  padding-top:24px;
  border-top:1px solid var(--line-hair-dark);
}
.team-hero-copy p{
  color:var(--text);
  font-size:16px;
  line-height:1.8;
}
.team-hero-proof{
  display:flex;
  align-items:baseline;
  gap:13px;
  margin-top:28px;
  color:var(--background);
}
.team-hero-proof strong{
  font-family:var(--font-display);
  font-size:38px;
  font-weight:500;
  line-height:1;
}
.team-hero-proof span{
  max-width:22ch;
  font-family:var(--font-mono);
  font-size:10px;
  line-height:1.5;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.team-overview{
  padding:3rem 1rem;
  background:var(--accent);
  border-bottom:1px solid var(--line-hair);
}
.team-overview-grid{
  display:grid;
  grid-template-columns:minmax(170px, .4fr) minmax(0, 1.25fr);
  gap:clamp(48px, 9vw, 128px);
}
.team-overview-label{
  padding-top:8px;
  font-family:var(--font-mono);
  font-size:11px;
  line-height:1.7;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--secondary);
}
.team-overview-label::before{
  content:'';
  display:block;
  width:36px;
  height:1px;
  margin-bottom:20px;
  background:var(--background);
}
.team-overview-copy{
  max-width:72ch;
  color:var(--secondary);
  font-size:16px;
  line-height:1.85;
}
.team-overview-copy strong{ color:var(--primary); font-weight:600; }
.team-profile{
  padding:4.5rem 1rem;
  background:var(--accent);
  border-bottom:1px solid var(--line-hair);
}
.team-profile.is-alt{ background:#fbf9f5; }
.team-profile-grid{
  display:grid;
  grid-template-columns:minmax(250px, 360px) minmax(0, 1fr);
  gap:clamp(68px, 8vw, 116px);
  align-items:start;
}
.team-portrait-wrap{
  width:100%;
  max-width:360px;
}
.team-portrait{
  --portrait-bg:var(--primary-soft);
  aspect-ratio:3 / 4;
  width:100%;
  background:var(--portrait-bg);
  color:var(--accent);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.team-portrait.is-brass{
  --portrait-bg:var(--background);
  color:var(--primary);
}
.team-portrait.is-espresso{ --portrait-bg:var(--primary); }
.team-portrait::before{
  content:'';
  position:absolute;
  width:72%;
  aspect-ratio:1;
  border:1px solid currentColor;
  border-radius:50%;
  opacity:.16;
}
.team-portrait::after{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:1px;
  background:currentColor;
  opacity:.12;
}
.team-portrait-initials{
  position:relative;
  z-index:1;
  font-family:var(--font-display);
  font-size:clamp(72px, 9vw, 118px);
  font-weight:400;
  letter-spacing:-.045em;
}
.team-portrait-label{
  position:absolute;
  z-index:1;
  left:24px;
  bottom:22px;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.7;
}
.team-profile-marker{
  display:flex;
  justify-content:space-between;
  gap:20px;
  width:100%;
  padding-top:16px;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--secondary);
}
.team-profile-content{
  max-width:780px;
  padding-top:4px;
}
.team-profile-name{
  max-width:760px;
  color:var(--primary);
  text-wrap:balance;
}
.team-profile-name span{
  display:block;
  margin-top:12px;
  font-family:var(--font-mono);
  font-size:12px;
  line-height:1.6;
  letter-spacing:.06em;
  color:var(--secondary);
}
.team-profile-role{
  max-width:680px;
  margin-top:22px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line-hair);
  color:var(--primary-soft);
  font-size:15px;
  font-weight:600;
  line-height:1.6;
}
.team-profile-intro{
  max-width:68ch;
  margin-top:34px;
  color:var(--primary-soft);
  font-size:17px;
  line-height:1.85;
}
.team-profile-details{
  max-width:720px;
  margin-top:38px;
  border-top:1px solid var(--primary);
  border-bottom:1px solid var(--line-hair);
}
.team-profile-details summary{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
  color:var(--primary);
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
}
.team-profile-details summary::-webkit-details-marker{ display:none; }
.team-profile-details summary span{
  width:30px;
  height:30px;
  border:1px solid var(--line-hair);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  font-weight:400;
  transition:transform .3s var(--ease), background .3s ease, color .3s ease;
}
.team-profile-details[open] summary span{
  transform:rotate(45deg);
  background:var(--primary);
  color:var(--accent);
}
.team-profile-details-body{
  padding:4px 0 36px;
}
.team-profile-details-body p{
  max-width:68ch;
  color:var(--secondary);
  font-size:15.5px;
  line-height:1.85;
}
.team-profile-details-body p + p{ margin-top:22px; }
.team-trust{
  padding:3rem 1rem;
  background:var(--background);
  color:var(--primary);
}
.team-trust-grid{
  display:grid;
  grid-template-columns:minmax(0, .85fr) minmax(320px, .72fr);
  gap:clamp(54px, 8vw, 108px);
  align-items:start;
}
.team-trust h2{
  max-width:650px;
  color:var(--primary);
  text-wrap:balance;
}
.team-trust-copy{
  padding-top:22px;
  border-top:1px solid rgba(26,21,16,.35);
}
.team-trust-copy p{
  color:var(--primary-soft);
  font-size:15.5px;
  line-height:1.8;
}
.team-trust-copy p + p{ margin-top:20px; }
.team-trust-copy .btn{
  margin-top:28px;
  background:var(--primary);
  color:var(--accent);
}
.team-trust-copy .btn:hover{
  background:var(--primary-soft);
  transform:translateY(-2px);
}

/* ==========================================================================
   11. LEADERSHIP TEAM PAGE — RESPONSIVE CSS
   ========================================================================== */
@media (max-width:980px){
  .team-hero-grid,
  .team-profile-grid,
  .team-trust-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .team-hero-grid{ gap:38px; }
  .team-hero-copy{ max-width:650px; }
  .team-profile-grid{ gap:46px; }
  .team-portrait-wrap{ max-width:340px; }
  .team-trust-grid{ gap:38px; }
}

@media (max-width:640px){
  .team-hero{
    min-height:auto;
    padding:
      calc(72px + 3rem + env(safe-area-inset-top))
      0
      3rem;
  }
  .team-hero::before{ width:25%; }
  .team-hero .eyebrow{ margin-bottom:24px; }
  .team-hero h1{
    font-size:clamp(40px, 12vw, 54px);
    letter-spacing:-.025em;
  }
  .team-hero-copy p{ font-size:16px; }
  .team-overview,
  .team-trust{ padding:2rem 0; }
  .team-profile{ padding:2.75rem 0; }
  .team-overview-grid{ grid-template-columns:minmax(0,1fr); gap:26px; }
  .team-overview-label{ padding-top:0; }
  .team-overview-copy{ font-size:15.5px; }
  .team-profile-grid{ gap:34px; }
  .team-portrait-wrap{ max-width:100%; }
  .team-portrait{ aspect-ratio:4 / 3; }
  .team-profile-name span{ font-size:11px; }
  .team-profile-role{ margin-top:18px; padding-bottom:24px; }
  .team-profile-intro{ margin-top:26px; font-size:16px; }
  .team-profile-details{ margin-top:30px; }
  .team-profile-details summary{ min-height:56px; }
  .team-profile-details-body p{ font-size:15px; }
  .team-trust-copy{ padding-top:20px; }
}

/* ==========================================================================
   12. SERVICES PAGE CSS
   Used by services.html
   ========================================================================== */
.services-page{
  background:var(--accent);
  color:var(--primary);
}
.services-hero{
  min-height:760px;
  padding:calc(72px + 5rem) 1rem 5rem;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--primary);
  color:var(--accent);
}
.services-hero-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(480px,1.18fr);
  gap:clamp(56px,7vw,108px);
  align-items:center;
}
.services-hero-copy .eyebrow{
  margin-bottom:30px;
  color:var(--background);
}
.services-hero-copy h1{
  max-width:720px;
  font-size:clamp(54px,6vw,88px);
  line-height:.98;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.services-hero-copy > p{
  max-width:59ch;
  margin-top:30px;
  color:var(--text);
  font-size:17px;
  line-height:1.8;
}
.services-text-link{
  width:max-content;
  margin-top:34px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(242,237,227,.35);
  display:inline-flex;
  align-items:center;
  gap:18px;
  color:var(--accent);
  font-size:14px;
  font-weight:600;
  transition:border-color .3s ease,color .3s ease;
}
.services-text-link span{
  color:var(--background);
  transition:transform .3s var(--ease);
}
.services-text-link:hover{ border-color:var(--background); }
.services-text-link:hover span{ transform:translateY(4px); }
.services-control{
  min-height:530px;
  padding:26px 28px 22px;
  border:1px solid rgba(242,237,227,.18);
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr auto;
  background:#211b15;
  box-shadow:22px 28px 60px -38px rgba(0,0,0,.8);
}
.services-control-head,
.services-control-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-family:var(--font-mono);
  font-size:9px;
  line-height:1.4;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text);
}
.services-control-head{
  padding-bottom:18px;
  border-bottom:1px solid var(--line-hair-dark);
}
.services-live{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.services-live i{
  width:7px;
  height:7px;
  border-radius:50%;
  display:block;
  background:var(--background);
  animation:servicesSignal 2.2s ease-in-out infinite;
}
.services-control-map{
  width:100%;
  height:auto;
  align-self:center;
  overflow:visible;
}
.control-grid{
  fill:none;
  stroke:rgba(242,237,227,.07);
  stroke-width:1;
}
.control-route{
  fill:none;
  stroke:var(--background);
  stroke-width:2;
  stroke-linecap:round;
  stroke-dasharray:8 11;
  animation:servicesRoute 9s linear infinite;
}
.control-route-secondary{
  stroke:rgba(200,188,158,.55);
  animation-direction:reverse;
  animation-duration:12s;
}
.control-node{
  fill:var(--primary);
  stroke:var(--accent);
  stroke-width:2;
}
.control-pulse{
  fill:none;
  stroke:var(--background);
  stroke-width:1;
  transform-origin:260px 215px;
  animation:servicesPulse 2.8s ease-out infinite;
}
.services-control-map text{
  fill:var(--text);
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.12em;
}
.services-control-foot{
  padding-top:18px;
  border-top:1px solid var(--line-hair-dark);
}
.services-control-foot span{
  display:flex;
  align-items:center;
  gap:8px;
}
.services-control-foot span::before{
  content:'';
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--background);
}
.service-directory{
  position:sticky;
  top:72px;
  z-index:25;
  border-bottom:1px solid var(--line-hair);
  background:rgba(242,237,227,.97);
}
.service-directory-inner{
  min-height:72px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:stretch;
}
.service-directory a{
  min-width:0;
  padding:15px 18px;
  border-right:1px solid var(--line-hair);
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--primary-soft);
  font-size:11px;
  line-height:1.35;
  transition:background .3s ease,color .3s ease;
}
.service-directory a:first-child{ border-left:1px solid var(--line-hair); }
.service-directory a span{
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.08em;
  color:var(--secondary);
}
.service-directory a:hover{
  background:var(--primary);
  color:var(--accent);
}
.service-directory a:hover span{ color:var(--background); }
.service-system{
  padding:3rem 1rem;
  scroll-margin-top:144px;
  border-bottom:1px solid var(--line-hair);
  background:var(--accent);
}
.service-system.is-paper{ background:#fbf9f5; }
.service-system.is-dark{
  background:var(--primary);
  color:var(--accent);
}
.service-system.is-brass{ background:var(--background); }
.service-system-grid{
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  gap:clamp(58px,7vw,104px);
  align-items:center;
}
.service-system-grid.is-reversed .service-system-visual{
  grid-column:2;
  grid-row:1;
}
.service-system-grid.is-reversed .service-system-content{
  grid-column:1;
  grid-row:1;
}
.service-system-visual{
  min-height:510px;
  padding:24px;
  position:relative;
  overflow:hidden;
  background:var(--primary);
  color:var(--accent);
  box-shadow:20px 26px 56px -38px rgba(26,21,16,.65);
}
.is-dark .service-system-visual{
  border:1px solid rgba(242,237,227,.16);
  background:#241e17;
  box-shadow:none;
}
.is-brass .service-system-visual{ background:var(--accent); color:var(--primary); }
.visual-caption{
  min-height:38px;
  padding-bottom:16px;
  border-bottom:1px solid currentColor;
  display:flex;
  justify-content:space-between;
  gap:18px;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.72;
}
.service-system-content{ max-width:680px; }
.service-system-number{
  display:block;
  margin-bottom:22px;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.12em;
  color:var(--secondary);
}
.is-dark .service-system-number{ color:var(--background); }
.service-system-heading h2{
  max-width:600px;
  text-wrap:balance;
}
.service-system-heading > p{
  max-width:62ch;
  margin-top:20px;
  color:var(--secondary);
  font-size:15.5px;
  line-height:1.8;
}
.is-dark .service-system-heading > p{ color:var(--text); }
.is-brass .service-system-heading > p{ color:var(--primary); }
.service-entry{
  padding:27px 0 28px;
  border-top:1px solid var(--line-hair);
}
.service-system-heading + .service-entry{ margin-top:34px; }
.service-entry:last-child{ border-bottom:1px solid var(--line-hair); }
.is-dark .service-entry{ border-color:var(--line-hair-dark); }
.service-entry h3{
  font-family:var(--font-body);
  font-size:20px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.015em;
}
.service-entry p{
  max-width:68ch;
  margin-top:13px;
  color:var(--primary-soft);
  font-size:15px;
  line-height:1.8;
}
.is-dark .service-entry p{ color:var(--text); }
.forecast-visual svg{
  width:100%;
  height:auto;
  margin-top:32px;
}
.visual-axis,.visual-guide{
  fill:none;
  stroke:rgba(242,237,227,.2);
  stroke-width:1;
}
.visual-guide{ stroke-dasharray:3 8; }
.forecast-bars rect{
  fill:rgba(154,133,96,.34);
  transform-box:fill-box;
  transform-origin:center bottom;
}
.forecast-line{
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
  stroke-linejoin:round;
  stroke-dasharray:620;
  stroke-dashoffset:620;
}
.forecast-points circle{
  fill:var(--background);
  stroke:var(--primary);
  stroke-width:2;
}
.visual-legend{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.08em;
  color:var(--text);
}
.variance-stage{
  height:330px;
  padding:46px 8px 20px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid rgba(242,237,227,.18);
}
.variance-column{
  width:18%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}
.variance-column span{
  order:2;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.06em;
  color:var(--text);
}
.variance-column i{
  height:var(--value);
  display:block;
  background:rgba(200,188,158,.32);
  transform:scaleY(.15);
  transform-origin:bottom;
}
.variance-column.is-change i{ background:var(--background); }
.variance-column.is-negative i{
  background:transparent;
  border:1px solid var(--background);
}
.variance-column.is-result i{ background:var(--accent); }
.variance-note{
  padding-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  font-size:12px;
  color:var(--text);
}
.variance-note strong{ color:var(--accent); font-weight:600; }
.pathway-stage{
  min-height:372px;
  position:relative;
}
.pathway-origin{
  width:122px;
  height:122px;
  position:absolute;
  left:8%;
  top:50%;
  border:1px solid rgba(242,237,227,.4);
  border-radius:50%;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  text-align:center;
  font-family:var(--font-display);
  font-size:19px;
  line-height:1.2;
}
.pathway-line{
  height:1px;
  position:absolute;
  left:30%;
  right:30%;
  top:50%;
  background:var(--background);
  transform-origin:left;
}
.pathway-line.is-one{ transform:rotate(-24deg); }
.pathway-line.is-three{ transform:rotate(24deg); }
.pathway-destination{
  width:150px;
  padding:15px 16px;
  position:absolute;
  right:4%;
  border-top:1px solid rgba(242,237,227,.35);
  font-size:13px;
}
.pathway-destination small{
  margin-right:13px;
  font-family:var(--font-mono);
  color:var(--background);
}
.pathway-destination.is-one{ top:18%; }
.pathway-destination.is-two{ top:47%; }
.pathway-destination.is-three{ top:76%; }
.pathway-foot{
  padding-top:18px;
  border-top:1px solid rgba(242,237,227,.18);
  display:flex;
  justify-content:space-between;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text);
}
.pathway-foot span{ color:var(--background); }
.close-sequence{
  margin-top:34px;
  border-top:1px solid rgba(242,237,227,.18);
}
.close-sequence li{
  min-height:74px;
  border-bottom:1px solid rgba(242,237,227,.18);
  display:grid;
  grid-template-columns:44px 1fr 28px;
  gap:16px;
  align-items:center;
}
.close-sequence span{
  font-family:var(--font-mono);
  font-size:9px;
  color:var(--background);
}
.close-sequence strong{ font-size:14px; font-weight:500; }
.close-sequence i{
  width:9px;
  height:9px;
  border:1px solid var(--background);
  border-radius:50%;
  justify-self:end;
  position:relative;
}
.close-sequence i::after{
  content:'';
  width:3px;
  height:3px;
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:var(--background);
}
.close-output{
  margin-top:34px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  background:var(--background);
  color:var(--primary);
  font-size:11px;
}
.close-output strong{ font-weight:600; }
.cycle-stage{
  max-width:430px;
  height:390px;
  margin:10px auto 0;
  position:relative;
}
.cycle-stage svg{
  width:100%;
  height:100%;
}
.cycle-route{
  fill:none;
  stroke:rgba(26,21,16,.38);
  stroke-width:1.5;
  stroke-dasharray:7 10;
}
.cycle-dot{ fill:var(--primary); }
.cycle-center{
  width:132px;
  height:132px;
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid rgba(26,21,16,.3);
  border-radius:50%;
  display:grid;
  place-items:center;
  transform:translate(-50%,-50%);
  text-align:center;
  font-family:var(--font-display);
  font-size:20px;
  line-height:1.15;
}
.cycle-label{
  position:absolute;
  font-family:var(--font-mono);
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cycle-label.top{ left:50%; top:6%; transform:translateX(-50%); }
.cycle-label.right{ right:0; top:50%; transform:translateY(-50%); }
.cycle-label.bottom{ left:50%; bottom:4%; transform:translateX(-50%); }
.cycle-label.left{ left:-2%; top:50%; transform:translateY(-50%); }
.services-close{
  padding:3rem 1rem;
  background:var(--primary-soft);
  color:var(--accent);
}
.services-close-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:clamp(54px,8vw,112px);
  align-items:start;
}
.services-close h2{
  max-width:700px;
  text-wrap:balance;
}
.services-close-grid > div{
  padding-top:22px;
  border-top:1px solid var(--line-hair-dark);
}
.services-close p{
  max-width:56ch;
  color:var(--text);
  font-size:15.5px;
  line-height:1.8;
}
.services-close .btn{ margin-top:28px; }

/* Services motion: diagrams animate as they enter; content remains readable. */
.services-js [data-reveal] .service-system-visual{
  opacity:.72;
  clip-path:inset(0 8% 0 0);
  transform:translateY(12px);
  transition:opacity .7s ease,clip-path .9s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1);
}
.services-js [data-reveal].is-visible .service-system-visual{
  opacity:1;
  clip-path:inset(0);
  transform:translateY(0);
}
.services-js [data-reveal].is-visible .forecast-line{
  animation:forecastDraw 1.2s cubic-bezier(.16,1,.3,1) .2s forwards;
}
.services-js [data-reveal].is-visible .forecast-bars rect{
  animation:forecastBar .8s cubic-bezier(.16,1,.3,1) forwards;
}
.services-js [data-reveal].is-visible .variance-column i{
  animation:varianceRise .9s cubic-bezier(.16,1,.3,1) forwards;
}
.services-js [data-reveal].is-visible .pathway-line{
  animation:pathwayDraw .9s cubic-bezier(.16,1,.3,1) forwards;
}
.services-js [data-reveal].is-visible .cycle-route{ animation:servicesRoute 10s linear infinite; }
.services-js [data-reveal].is-visible .cycle-dot{ animation:cyclePoint 2.8s ease-in-out infinite; }
.services-js [data-reveal].is-visible .dot-two{ animation-delay:.35s; }
.services-js [data-reveal].is-visible .dot-three{ animation-delay:.7s; }
.services-js [data-reveal].is-visible .dot-four{ animation-delay:1.05s; }
@keyframes servicesSignal{
  0%,100%{ opacity:.35; transform:scale(.8); }
  50%{ opacity:1; transform:scale(1); }
}
@keyframes servicesRoute{ to{ stroke-dashoffset:-190; } }
@keyframes servicesPulse{
  0%{ opacity:.8; transform:scale(.35); }
  75%,100%{ opacity:0; transform:scale(1.35); }
}
@keyframes forecastDraw{ to{ stroke-dashoffset:0; } }
@keyframes forecastBar{ to{ transform:scaleY(1); } }
@keyframes varianceRise{ to{ transform:scaleY(1); } }
@keyframes pathwayDraw{
  from{ opacity:0; scale:0 1; }
  to{ opacity:1; scale:1 1; }
}
@keyframes cyclePoint{
  0%,100%{ opacity:.45; }
  50%{ opacity:1; }
}

/* ==========================================================================
   13. SERVICES PAGE RESPONSIVE CSS
   ========================================================================== */
@media (max-width:980px){
  .services-hero{
    min-height:auto;
    padding-top:calc(72px + 5rem);
  }
  .services-hero-grid,
  .service-system-grid,
  .services-close-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .services-control{ min-height:480px; }
  .service-directory{ position:relative; top:auto; }
  .service-directory-inner{
    display:flex;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .service-directory-inner::-webkit-scrollbar{ display:none; }
  .service-directory a{
    min-width:190px;
    flex:0 0 auto;
  }
  .service-system-grid.is-reversed .service-system-visual,
  .service-system-grid.is-reversed .service-system-content{
    grid-column:1;
    grid-row:auto;
  }
  .service-system-grid.is-reversed .service-system-visual{ grid-row:1; }
  .service-system-visual{ min-height:470px; }
  .service-system-content{ max-width:760px; }
}

@media (max-width:640px){
  .cursor-dot,
  .cursor-ring,
  .back-to-top{
    display:none !important;
  }
  .services-hero{
    padding:
      calc(72px + 3rem + env(safe-area-inset-top))
      0
      3rem;
  }
  .services-hero-grid{ gap:38px; }
  .services-hero-copy .eyebrow{ margin-bottom:24px; }
  .services-hero-copy h1{
    font-size:clamp(42px,12vw,56px);
    line-height:1;
  }
  .services-hero-copy > p{ margin-top:24px; font-size:16px; }
  .services-text-link{ margin-top:28px; }
  .services-control{
    min-height:390px;
    padding:20px 18px 18px;
  }
  .services-control-head{ align-items:flex-start; }
  .services-control-map{ margin:auto 0; }
  .services-control-foot{ gap:8px; }
  .services-control-foot span{ gap:5px; font-size:8px; }
  .service-directory{
    padding:16px 0;
    background:var(--accent);
  }
  .service-directory-inner{
    padding:0 20px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    overflow:visible;
  }
  .service-directory a{
    min-width:0;
    min-height:62px;
    padding:12px;
    border-right:1px solid var(--line-hair);
    border-bottom:1px solid var(--line-hair);
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:7px;
    align-content:center;
    font-size:10.5px;
  }
  .service-directory a:first-child{ border-left:1px solid var(--line-hair); }
  .service-directory a:nth-child(-n+2){ border-top:1px solid var(--line-hair); }
  .service-directory a:nth-child(5){
    grid-column:1 / -1;
    border-left:1px solid var(--line-hair);
  }
  .service-directory a:hover{
    background:transparent;
    color:var(--primary-soft);
  }
  .service-directory a:hover span{ color:var(--secondary); }
  .service-directory a:active{
    background:var(--primary);
    color:var(--accent);
  }
  .service-directory a:active span{ color:var(--background); }
  .service-system{
    padding:2rem 0;
    scroll-margin-top:72px;
  }
  .service-system-grid{ gap:34px; }
  .service-system-visual{
    min-height:390px;
    padding:20px;
  }
  .service-system-number{ margin-bottom:17px; }
  .service-system-heading > p{ margin-top:16px; font-size:15px; }
  .service-system-heading + .service-entry{ margin-top:27px; }
  .service-entry{ padding:23px 0 24px; }
  .service-entry h3{ font-size:18px; }
  .service-entry p{ font-size:14.5px; }
  .forecast-visual svg{ margin-top:22px; }
  .visual-legend{ flex-wrap:wrap; }
  .variance-stage{ height:270px; padding-top:32px; gap:9px; }
  .pathway-stage{ min-height:310px; }
  .pathway-origin{ width:96px; height:96px; left:2%; font-size:16px; }
  .pathway-line{ left:26%; right:35%; }
  .pathway-destination{ width:124px; right:0; padding:12px 8px; font-size:11px; }
  .close-sequence li{ min-height:62px; }
  .cycle-visual{ min-height:420px; }
  .cycle-stage{
    max-width:280px;
    height:336px;
    margin-top:18px;
  }
  .cycle-stage svg{
    width:100%;
    height:244px;
    display:block;
  }
  .cycle-center{
    width:102px;
    height:102px;
    top:122px;
    font-size:16px;
  }
  .cycle-label{
    width:48%;
    min-height:32px;
    padding-top:9px;
    border-top:1px solid rgba(26,21,16,.18);
    position:absolute;
    top:auto;
    bottom:auto;
    transform:none;
    font-size:8px;
    line-height:1.3;
  }
  .cycle-label.top{
    left:0;
    top:auto;
    bottom:42px;
    transform:none;
  }
  .cycle-label.right{
    right:0;
    top:auto;
    bottom:42px;
    transform:none;
    text-align:right;
  }
  .cycle-label.bottom{
    left:0;
    bottom:0;
    transform:none;
  }
  .cycle-label.left{
    left:auto;
    right:0;
    top:auto;
    bottom:0;
    transform:none;
    text-align:right;
  }
  .services-close{ padding:2rem 0; }
  .services-close-grid{ gap:34px; }
  .services-close-grid > div{ padding-top:18px; }
}

/* ==========================================================================
   14. WORDPRESS THEME FALLBACKS
   Used by index.php and page.php for pages without a branded template.
   ========================================================================== */
.theme-default-page{
  min-height:70vh;
  padding-top:calc(72px + 3rem);
  background:var(--accent);
}
.theme-default-page .entry-content{
  max-width:72ch;
  margin-top:2rem;
  color:var(--primary-soft);
  font-size:17px;
  line-height:1.8;
}
.theme-default-page .entry-content > * + *{ margin-top:1.25em; }

body.admin-bar .site-header{ top:32px; }

@media (max-width:782px){
  body.admin-bar .site-header{ top:46px; }
}

@media (max-width:640px){
  .theme-default-page{
    padding-top:calc(72px + 2rem);
  }
}

/* ==========================================================================
   15. CONTACT PAGE CSS
   Used by contact-us.html
   ========================================================================== */
.contact-page{
  background:var(--accent);
  color:var(--primary);
}
.contact-hero{
  min-height:490px;
  padding:calc(72px + 5rem) 1rem 5rem;
  display:flex;
  align-items:flex-end;
  background:var(--primary);
  color:var(--accent);
}
.contact-hero-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:clamp(56px,8vw,112px);
  align-items:end;
}
.contact-hero .eyebrow{
  margin-bottom:26px;
  color:var(--background);
}
.contact-hero h1{
  max-width:760px;
  font-size:clamp(56px,6.4vw,88px);
  line-height:.98;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.contact-hero-grid > p{
  max-width:56ch;
  padding-top:22px;
  border-top:1px solid var(--line-hair-dark);
  color:var(--text);
  font-size:16px;
  line-height:1.8;
}
.contact-simple{
  padding:3rem 1rem;
  background:var(--accent);
}
.contact-simple-grid{
  display:grid;
  grid-template-columns:minmax(260px,.68fr) minmax(0,1.32fr);
  gap:clamp(56px,7vw,100px);
  align-items:start;
}
.contact-intro{
  max-width:440px;
  padding-top:16px;
}
.contact-kicker{
  display:block;
  margin-bottom:22px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--secondary);
}
.contact-intro h2{ text-wrap:balance; }
.contact-intro > p{
  margin-top:22px;
  color:var(--primary-soft);
  font-size:15px;
  line-height:1.75;
}
.contact-intro ul{
  margin-top:24px;
  border-top:1px solid var(--line-hair);
}
.contact-intro li{
  min-height:48px;
  padding:13px 0;
  border-bottom:1px solid var(--line-hair);
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--secondary);
  font-size:13px;
}
.contact-intro li::before{
  content:'';
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--background);
}
.contact-form-shell{
  padding:38px 42px 42px;
  border:1px solid var(--line-hair);
  background:#fbf9f5;
}
.contact-form-title{
  padding-bottom:24px;
  border-bottom:1px solid var(--line-hair);
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:baseline;
}
.contact-form-title h2{ font-size:32px; }
.contact-form-title span{
  font-size:11px;
  color:var(--secondary);
}
.contact-page-form{ padding-top:8px; }
.contact-honeypot{
  width:1px;
  height:1px;
  position:absolute;
  left:-10000px;
  overflow:hidden;
}
.contact-form-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.contact-page-field{ padding-top:20px; }
.contact-page-field label{
  display:block;
  margin-bottom:8px;
  color:var(--primary-soft);
  font-size:12px;
  font-weight:600;
}
.contact-page-field input,
.contact-page-field select,
.contact-page-field textarea{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid rgba(26,21,16,.18);
  border-radius:2px;
  outline:0;
  background:var(--accent);
  color:var(--primary);
  font-size:15px;
  line-height:1.5;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.contact-page-field textarea{
  min-height:132px;
  resize:vertical;
}
.contact-page-field select{ cursor:pointer; }
.contact-page-field input:focus,
.contact-page-field select:focus,
.contact-page-field textarea:focus{
  border-color:var(--background);
  box-shadow:0 0 0 2px rgba(154,133,96,.16);
}
.contact-page-form.was-validated input:invalid,
.contact-page-form.was-validated select:invalid,
.contact-page-form.was-validated textarea:invalid{
  border-color:#76534a;
  box-shadow:0 0 0 2px rgba(118,83,74,.12);
}
.contact-form-footer{
  margin-top:24px;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:20px;
  align-items:center;
}
.contact-page-submit{
  min-height:50px;
  border:1px solid var(--primary);
  background:var(--primary);
  color:var(--accent);
}
.contact-page-submit:hover{
  background:var(--primary-soft);
  transform:translateY(-2px);
}
.contact-form-footer p{
  max-width:44ch;
  color:var(--secondary);
  font-size:11.5px;
  line-height:1.5;
}
.contact-form-footer p.is-preview-notice{ color:var(--primary-soft); }
.contact-form-footer p.is-error{ color:#76534a; }
.contact-page + .site-footer .footer-cta{ display:none; }
.contact-page + .site-footer{ padding-top:0; }

/* ==========================================================================
   16. CONTACT PAGE RESPONSIVE CSS
   ========================================================================== */
@media (max-width:980px){
  .contact-hero-grid,
  .contact-simple-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .contact-hero{ min-height:auto; }
  .contact-hero-grid{ gap:38px; }
  .contact-hero-grid > p{ max-width:650px; }
  .contact-intro{ max-width:620px; }
}

@media (max-width:640px){
  .contact-hero{
    padding:
      calc(72px + 3rem + env(safe-area-inset-top))
      0
      3rem;
  }
  .contact-hero .eyebrow{ margin-bottom:22px; }
  .contact-hero h1{
    font-size:clamp(42px,12vw,56px);
    line-height:1;
  }
  .contact-hero-grid > p{ padding-top:18px; font-size:15.5px; }
  .contact-simple{ padding:2rem 0; }
  .contact-simple-grid{ gap:34px; }
  .contact-intro{ padding-top:0; }
  .contact-kicker{ margin-bottom:16px; }
  .contact-intro > p{ margin-top:16px; }
  .contact-intro ul{ margin-top:18px; }
  .contact-form-shell{
    margin:0 -2px;
    padding:28px 20px 30px;
  }
  .contact-form-title{
    padding-bottom:20px;
    display:grid;
    gap:7px;
  }
  .contact-form-title h2{ font-size:28px; }
  .contact-form-row{
    grid-template-columns:minmax(0,1fr);
    gap:0;
  }
  .contact-page-field{ padding-top:17px; }
  .contact-form-footer{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .contact-page-submit{ width:100%; }
}
