@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --logo-green: #95a67f;
  --brand: #1e2620;
  --brand-dark: #121614;
  --brand-mid: #2d3830;
  --accent: #95a67f;
  --accent-hover: #7f9269;
  --accent-soft: #eef1ea;
  --highlight: #b5c4a5;
  --ink: #1e2620;
  --text: #2d3530;
  --text-muted: #5c665c;
  --text-light: #8a948a;
  --surface: #ffffff;
  --bg: #f6f7f4;
  --bg-dark: #121614;
  --border: #dde3d8;
  --max-w: 1200px;
  --radius: 6px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.header-top {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.header-top-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 0.45rem 0;
}

.header-top a:hover { color: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 132px;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.brandmark-wrap {
  --brand-logo-w: 140px;
  width: var(--brand-logo-w);
  height: calc(var(--brand-logo-w) * 240 / 510);
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

.brandmark-wrap .brandmark {
  width: var(--brand-logo-w);
  margin-top: calc(var(--brand-logo-w) * -121 / 510);
  display: block;
}

@media (min-width: 768px) {
  .brandmark-wrap { --brand-logo-w: 160px; }
}

.brandmark-wrap--footer {
  --brand-logo-w: 112px;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--logo-green);
  max-width: 9.5rem;
  align-self: center;
}

@media (min-width: 480px) {
  .brand-name { font-size: 1.05rem; max-width: 11rem; }
}

@media (min-width: 768px) {
  .brand-name { font-size: 1.2rem; max-width: 13rem; }
}

@media (min-width: 1100px) {
  .brand-name { font-size: 1.28rem; max-width: none; white-space: nowrap; }
}

@media (max-width: 479px) {
  .container { width: min(100% - 1.5rem, var(--max-w)); }

  .header-top-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .header-inner {
    min-height: auto;
    gap: 0.65rem;
    padding: 0.55rem 0;
  }

  .brand { gap: 0.55rem; min-width: 0; }

  .brandmark-wrap { --brand-logo-w: 92px; }

  .brand-name {
    font-size: 0.8rem;
    max-width: 8.25rem;
    line-height: 1.2;
  }

  .menu-toggle {
    flex-shrink: 0;
    padding: 0.5rem 0.65rem;
  }

  .hero-bb { min-height: clamp(340px, 62vh, 500px); }

  .hero-bb-inner { padding: 2rem 0.75rem 2.5rem; }

  .hero-bb h1 {
    max-width: none;
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
  }

  .hero-bb-lead { font-size: 0.95rem; }

  .hero-btns { flex-direction: column; }

  .hero-btns .btn { width: 100%; }

  .page-hero-inner { padding: 2rem 0.75rem; }

  .page-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2rem); }

  .intro-band { padding: 2.5rem 0; }

  .section { padding: 2.5rem 0; }

  .footer-brand .brand { align-items: center; }

  .brandmark-wrap--footer { --brand-logo-w: 84px; }
}

@media (max-width: 359px) {
  .brandmark-wrap { --brand-logo-w: 80px; }

  .brand-name {
    font-size: 0.74rem;
    max-width: 7rem;
  }
}

.brand-name--footer {
  color: var(--logo-green);
  max-width: 11rem;
  align-self: center;
}

@media (min-width: 768px) {
  .brand-name--footer { font-size: 0.95rem; max-width: 13rem; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}

.nav-link:hover { color: var(--accent); }

.nav-link.is-active {
  color: var(--brand);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.nav-mobile.is-open { display: flex; }

.nav-mobile .nav-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--brand-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-dark {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-dark:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
}

.btn-text {
  padding: 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.btn-text:hover { color: var(--accent-hover); }

.btn-text::after {
  content: ' →';
}

/* ── Hero (B&B full-bleed) ── */
.hero-bb {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-bb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-bb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 22, 20, 0.82) 0%, rgba(18, 22, 20, 0.45) 55%, rgba(18, 22, 20, 0.2) 100%);
}

.hero-bb-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .hero-bb-inner { padding: 3rem 2rem 3.5rem; }
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero-bb h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-accent {
  font-style: italic;
  color: var(--accent);
}

.hero-bb-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ── Page hero (inner) ── */
.page-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.page-hero--plain {
  min-height: auto;
  background: var(--brand-dark);
}

.page-hero--plain::after { display: none; }

.page-hero--icon {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 55%, #3a4a3e 100%);
  min-height: 220px;
}

.page-hero--icon::after { display: none; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 22, 20, 0.88) 0%, rgba(18, 22, 20, 0.5) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.75rem 1.25rem;
}

@media (min-width: 768px) {
  .page-hero-inner { padding: 2.75rem 2rem; }
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0.65rem 0 0;
  max-width: 38rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ── Dark intro band ── */
.intro-band {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0;
}

.intro-band h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--highlight);
}

.intro-band p {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.intro-band p + p { margin-top: 1rem; }

.about-story h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--highlight);
}

.about-details-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .about-details-grid { grid-template-columns: repeat(3, 1fr); }
}

.about-details h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-details p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-details a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-details a:hover { color: var(--accent-hover); }

/* ── Sections ── */
.section {
  padding: 4rem 0;
}

.section--muted {
  background: var(--bg);
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ── Capability cards (B&B style) ── */
.cap-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cap-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cap-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .cap-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.cap-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cap-card:hover {
  box-shadow: 0 16px 40px rgba(30, 38, 32, 0.1);
  transform: translateY(-2px);
}

.cap-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.cap-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.cap-card-icon svg {
  width: 72px;
  height: 72px;
}

.cap-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.cap-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}

.cap-card p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.cap-card .btn-text {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ── Value props ── */
.value-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.value-card .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight);
}

.value-card h3 {
  margin: 0.45rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}

.value-card p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── News / insights ── */
.news-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-card:hover {
  box-shadow: 0 10px 28px rgba(30, 38, 32, 0.08);
}

.news-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.news-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.news-card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.4;
}

.news-card p {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Process ── */
.process-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.process-card h3 {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}

.process-card p {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Quote form ── */
.quote-section {
  background: var(--bg);
}

.quote-wrap,
.contact-wrap {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .quote-wrap,
  .contact-wrap { grid-template-columns: 1.2fr 1fr; }
}

.contact-section {
  background: var(--bg);
}

.contact-info {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
}

.contact-info-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.contact-info-list li {
  display: grid;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-info-list a {
  color: var(--brand);
  font-weight: 600;
  line-height: 1.5;
}

.contact-info-list a:hover { color: var(--accent-hover); }

.contact-info-list span:not(.contact-label) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.field-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

.contact-form-card .form-grid {
  margin-top: 0;
}

.quote-intro h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.quote-intro p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.quote-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.quote-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quote-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(30, 38, 32, 0.06);
}

.quote-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
}

.quote-card .subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.field {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(149, 166, 127, 0.25);
}

textarea.field { resize: vertical; min-height: 100px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-label input { margin-top: 0.15rem; accent-color: var(--accent); }

.success-msg {
  padding: 0.85rem;
  font-size: 0.875rem;
  color: var(--brand);
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}

.hidden { display: none !important; }

/* ── CTA band (B&B style) ── */
.bb-cta {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0;
}

.bb-cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .bb-cta-inner { grid-template-columns: 1fr auto; }
}

.bb-cta h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.bb-cta p {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 3.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.photo-credit {
  margin-top: 0.35rem;
  font-size: 0.7rem;
}

.photo-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}
