/* ---------- SafeState — mature green theme ---------- */
:root {
  --green-900: #0c3330;   /* deep forest-teal */
  --green-800: #134e4a;
  --green-700: #1a5f5a;   /* primary — matches logo */
  --green-600: #2a7a73;
  --green-500: #4a9e95;   /* sage-teal accent */
  --green-300: #a8cac5;
  --green-100: #dceae7;
  --cream:     #f6f2e9;   /* warm off-white */
  --cream-2:   #efe9d9;
  --ink:       #1a241f;
  --ink-soft:  #3d4a42;
  --muted:     #6a7a6f;
  --gold:      #b8955a;   /* mature accent */
  --line:      rgba(15, 42, 31, 0.12);
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,42,31,.06), 0 2px 8px rgba(15,42,31,.05);
  --shadow-md: 0 10px 30px rgba(15,42,31,.10);
  --max: 1180px;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}
@media (max-width: 640px) {
  html { scroll-padding-top: 105px; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 400; }
h1 em { font-style: italic; color: var(--green-600); font-weight: 400; }
.nowrap { white-space: nowrap; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-600);
  margin: 0 0 1rem;
}
.eyebrow.light { color: var(--green-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 233, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { position: relative; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px clamp(48px, 6vw, 96px);
  max-width: none;
  margin: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 600;
}
.brand-mark { width: 28px; height: 28px; color: var(--green-700); }
.brand-logo {
  height: 180px;
  width: auto;
  display: block;
  margin: -4px 0 -24px;
}
.brand-logo-footer {
  height: 180px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
@media (max-width: 640px) {
  .brand-logo { height: 96px; margin: -6px 0; }
  .brand-logo-footer { height: 140px; }
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--green-900);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.mobile-menu a {
  padding: 18px 24px;
  color: var(--cream);
  font-weight: 500;
  font-size: 1.05rem;
  border-top: 1px solid rgba(246, 242, 233, 0.1);
}
.mobile-menu a:first-child { border-top: 0; }
.mobile-menu a:hover,
.mobile-menu a:active { background: var(--green-800); }
.mobile-menu.is-open { max-height: 480px; }
.nav-links a {
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { color: var(--green-900); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-800);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-900);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-800);
}
.btn-ghost:hover {
  background: var(--green-800);
  color: var(--cream);
}
.btn-link {
  color: var(--green-700);
  padding: 12px 6px;
}
.btn-link:hover { color: var(--green-900); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  height: calc(100vh - 140px);
  max-height: 680px;
  background: var(--cream);
}
.hero-copy {
  position: relative;
  background: var(--green-900);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px) clamp(48px, 6vw, 96px);
  overflow: hidden;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(74, 158, 149, 0.18) 0, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(42, 122, 115, 0.22) 0, transparent 55%);
  pointer-events: none;
}
.hero-copy-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 18px 0 18px;
}
.hero-pill {
  display: inline-block;
  background: rgba(246, 242, 233, 0.1);
  border: 1px solid rgba(246, 242, 233, 0.25);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .06em;
  font-weight: 500;
}
.hero-copy .lede {
  font-size: 1.18rem;
  color: rgba(246, 242, 233, 0.85);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-copy .btn { padding: 14px 26px; font-size: 1.02rem; }
.hero-copy .btn-primary {
  background: var(--cream);
  color: var(--green-900);
}
.hero-copy .btn-primary:hover {
  background: #fff;
  color: var(--green-900);
}
.hero-copy .btn-ghost {
  color: var(--cream);
  border-color: rgba(246, 242, 233, 0.45);
}
.hero-copy .btn-ghost:hover {
  background: var(--cream);
  color: var(--green-900);
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 20px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(246, 242, 233, 0.15);
}
.hero-trust li {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-300);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Strip quote ---------- */
.strip {
  background: var(--green-900);
  color: var(--cream);
  padding: 32px 0;
}
.strip-row p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  text-align: center;
  color: var(--cream);
}
.strip em { color: var(--green-300); font-style: italic; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}
.section-alt { background: var(--cream-2); }
.section-dark {
  background: var(--green-900);
  color: var(--cream);
}
.section-dark h2, .section-dark .prose p { color: var(--cream); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
.prose p { color: var(--ink-soft); margin: 0 0 1em; font-size: 1.06rem; }
.prose-light p { color: rgba(246, 242, 233, .82); }

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { margin-bottom: .4em; }
.pillar p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* ---------- Methodology ---------- */
.method {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.method-head {
  max-width: 780px;
  margin: 0 0 40px;
}
.method-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--green-900);
  line-height: 1.2;
  margin: 0;
}
.method-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.method-step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--green-700);
}
.method-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--green-600);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.method-step h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green-900);
  margin: 0 0 .5em;
}
.method-step p {
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.service:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-100), #fff);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.service-icon svg { width: 28px; height: 28px; }
.service:hover .service-icon {
  background: var(--green-700);
  color: var(--cream);
  transform: rotate(-4deg);
}
.service h3 {
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: .5em;
}
.service p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Engage (how we work commercially) ---------- */
.engage {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.engage-head { max-width: 720px; margin: 0 0 36px; }
.engage-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--green-900);
  line-height: 1.2;
  margin: 0;
}
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.engage-card {
  padding: 26px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--green-700);
}
.engage-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--green-900);
  margin: 0 0 .5em;
}
.engage-card p {
  color: var(--ink-soft);
  font-size: .96rem;
  margin: 0;
  line-height: 1.55;
}
.engage-note {
  margin: 24px 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.engage-note a {
  color: var(--green-700);
  font-weight: 600;
  border-bottom: 1px solid var(--green-300);
}
.engage-note a:hover { color: var(--green-900); border-bottom-color: var(--green-700); }

/* ---------- Credentials list ---------- */
.cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.cred-list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cred-list strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--green-900);
}
.cred-list span { color: var(--ink-soft); }

/* ---------- Image band ---------- */
.image-band {
  position: relative;
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.image-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(12, 51, 48, 0.55) 0%, rgba(12, 51, 48, 0.15) 50%, rgba(12, 51, 48, 0.55) 100%);
}
.image-band-quote {
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.25;
  text-align: center;
  max-width: 820px;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(74,139,110,.25), transparent 70%),
    var(--green-900);
  color: var(--cream);
  text-align: center;
}
.cta h2 { color: var(--cream); max-width: 780px; margin-left: auto; margin-right: auto; }
.cta p {
  color: rgba(246, 242, 233, .78);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 1rem auto 2rem;
}
.cta .btn-primary {
  background: var(--cream);
  color: var(--green-900);
}
.cta .btn-primary:hover {
  background: #fff;
  color: var(--green-900);
}
.cta .btn-ghost {
  color: var(--cream);
  border-color: rgba(246,242,233,.45);
}
.cta .btn-ghost:hover {
  background: var(--cream);
  color: var(--green-900);
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(246, 242, 233, .7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 242, 233, .1);
}
.brand-footer { color: var(--cream); margin-bottom: 12px; }
.brand-footer .brand-mark { color: var(--green-300); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-300);
  margin: 0;
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer p { margin: 0 0 8px; font-size: .95rem; }
.site-footer a { color: rgba(246, 242, 233, .8); }
.site-footer a:hover { color: var(--cream); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-base small { color: rgba(246, 242, 233, .55); font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; height: auto; max-height: none; }
  .hero-visual { order: -1; aspect-ratio: 16 / 10; }
  .hero-copy { padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 48px); }
  .hero-copy .lede { font-size: 1.05rem; }
  .two-col { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: 1fr; gap: 20px; }
  .method { margin-top: 48px; padding-top: 36px; }
  .engage-grid { grid-template-columns: 1fr; gap: 16px; }
  .engage { margin-top: 48px; padding-top: 36px; }
  .cred-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: clamp(48px, 8vw, 72px) 0; }
  .nav { padding: 4px 24px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .pillars, .services-grid { grid-template-columns: 1fr; }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
  }
  .hero-trust li {
    font-size: .68rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .hero-trust li:nth-child(4) {
    grid-column: 1 / -1;
    text-align: center;
  }
  .hero-copy { padding: 32px 24px; }
  .hero-copy h1 { font-size: 2rem; line-height: 1.15; }
  .hero-copy .lede { font-size: 1rem; }
  .hero-copy .btn { padding: 12px 20px; font-size: .95rem; width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .nowrap { white-space: normal; }
  h2 { font-size: 1.7rem; }
  .section-sub { font-size: 1rem; }
  .image-band { height: 280px; }
  .image-band-quote { font-size: 1.4rem; }
  .image-band-quote br { display: none; }
  .cred-list strong { font-size: 1.15rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .section-alt, .section { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .footer-base { flex-direction: column; gap: 6px; }
}

