/* ---------- Fonts ---------- */
/* ---------- Tokens ---------- */
:root {
  --navy: #1F3A2E;
  --navy-soft: #2C5040;
  --navy-deep: #172C22;
  --gold: #A88A4A;
  --gold-light: #C1A468;
  --charcoal: #1D1F21;
  --ivory: #F4EEE2;
  --stone: #D8D2C4;
  --ink: #1F3A2E;
  --muted: #4A5A50;
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); text-wrap: balance; }
p { line-height: 1.65; margin: 0 0 1em; color: var(--muted); font-size: 1.02rem; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A6234;
  margin-bottom: 0.75em;
}
.eyebrow-light { color: var(--gold-light); }

.center { text-align: center; }
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: #14261D;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline-light {
  border-color: rgba(244,238,226,0.5);
  color: var(--ivory);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-line {
  color: var(--navy);
  border-color: rgba(27,67,50,0.25);
}
.btn-line:hover { border-color: var(--navy); }
.btn-ghost-light {
  color: var(--ivory);
  border-color: rgba(244,238,226,0.35);
}
.btn-ghost-light:hover { border-color: var(--ivory); }
.btn-block { width: 100%; text-align: center; border: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(244,238,226,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { flex-shrink: 0; margin-right: 8px; }
.logo img { height: 58px; width: auto; display: block; }
.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav > ul > li > a {
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  padding: 8px 0;
}
.main-nav > ul > li > a:hover { opacity: 1; color: var(--gold-light); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-soft);
  border-radius: 10px;
  padding: 10px;
  min-width: 240px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ivory);
  font-size: 0.9rem;
  opacity: 0.85;
}
.dropdown li a:hover { background: rgba(184,147,61,0.15); opacity: 1; }
.nav-cta { white-space: nowrap; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: all 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  display: flex;
  align-items: flex-start;
  min-height: 66vh;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
}
.hero-gap {
  height: 80px;
  background: var(--stone);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(31,58,46,0.89) 0%, rgba(31,58,46,0.83) 35%, rgba(31,58,46,0.57) 65%, rgba(31,58,46,0.35) 100%);
}
.hero-content {
  position: relative;
  margin: 0;
  max-width: 660px;
  padding: 64px 24px 110px clamp(24px, 6vw, 96px);
}
.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
  margin-bottom: 0.45em;
  color: var(--ivory);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 480px;
  color: var(--ivory);
  opacity: 0.9;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }
.btn-line-light {
  color: var(--ivory);
  border-color: rgba(244,238,226,0.4);
}
.btn-line-light:hover { border-color: var(--ivory); }
.hero-qualify {
  margin: 1.6em 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31,58,46,0.38);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  background: var(--navy);
  color: var(--ivory);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 16px 32px rgba(27,67,50,0.25);
}
.hero-badge strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-badge span { font-size: 0.78rem; opacity: 0.85; }

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--navy);
  color: var(--ivory);
  padding: 36px 0 36px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
}
.stat span { font-size: 0.85rem; opacity: 0.8; }
.stat-footnote {
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.5;
  margin: 18px 0 0;
  color: var(--ivory);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--stone); }
.lead { font-size: 1.22rem; line-height: 1.6; }
.text-link {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-inner.reverse .split-image { order: 1; position: relative; }
.split-inner.reverse .split-text { order: 2; }
.split-image { position: relative; }
.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-image img { filter: saturate(0.72) contrast(1.03); }
.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(31,58,46,0.34) 0%, rgba(31,58,46,0.52) 100%);
  border-radius: var(--radius);
  pointer-events: none;
}
.value-list li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(27,67,50,0.1);
  position: relative;
  color: var(--muted);
}
.value-list li:last-child { border-bottom: 1px solid rgba(27,67,50,0.1); }
.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.value-list strong { color: var(--navy); }

/* ---------- Process (timeline) ---------- */
.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(184,147,61,0.4) 0 10px, transparent 10px 20px);
}
.timeline-step {
  padding: 0 20px;
  text-align: center;
}
.timeline-marker {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.timeline-body h3 { font-size: 1.1rem; }
.timeline-body p { font-size: 0.92rem; }

/* ---------- Services (rows) ---------- */
.services-rows { margin-top: 48px; }
.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(27,67,50,0.1);
  align-items: baseline;
}
.services-rows .service-row:last-child { border-bottom: 1px solid rgba(27,67,50,0.1); }
.service-row h3 { font-size: 1.2rem; margin: 0; }
.service-row p { margin: 0; }

/* ---------- Funding ---------- */
.funding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.funding-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 36px;
  border: 2px solid transparent;
  position: relative;
}
.funding-grid .funding-card:first-child {
  border-color: var(--gold);
}
.funding-tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.funding-price { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.funding-note {
  font-size: 0.78rem;
  opacity: 0.7;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(31,58,46,0.1);
}
.funding-footnote {
  margin-top: 40px;
}
.funding-footnote p {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.funding-card ul { margin-top: 18px; }
.funding-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}
.funding-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; }
.faq-item {
  border-top: 1px solid rgba(27,67,50,0.12);
  padding: 6px 0;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid rgba(27,67,50,0.12); }
.faq-more { margin-top: 28px; }
.faq-more a {
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  position: relative;
  font-weight: 700;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---------- Contact ---------- */
.contact-section {
  background: var(--stone);
  color: var(--ink);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.contact-info h2 { color: var(--navy); }
.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 1.2em;
}
.services-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(27,67,50,0.1);
  color: var(--muted);
}
.contact-form-wrap {
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-wrap .contact-form input,
.contact-form-wrap .contact-form textarea,
.contact-form-wrap .contact-form select {
  background: rgba(244,238,226,0.06);
  border-color: rgba(244,238,226,0.2) !important;
  color: var(--ivory);
}
.contact-form-wrap .contact-form select option {
  background: var(--navy);
  color: var(--ivory);
}
.contact-form-wrap .contact-form .consent { color: rgba(244,238,226,0.7); }
.contact-form-wrap .contact-form h3 { color: var(--ivory); }
.contact-form-wrap .contact-form p { color: rgba(244,238,226,0.75); }
.contact-form h3 { color: var(--navy); }
.contact-form p { font-size: 0.9rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 14px 0 6px;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(27,67,50,0.15);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea {
  resize: vertical;
  line-height: 1.5;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C1A468' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.field { min-width: 0; }
.field-hint {
  font-size: 0.76rem !important;
  margin: 6px 0 0;
  opacity: 0.65;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(244,238,226,0.35); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 16px 0 20px;
}
.contact-form .consent input { margin-top: 3px; }
.contact-form .btn { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(244,238,226,0.8);
  padding: 64px 0 32px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.site-footer p, .site-footer a { color: inherit; }
.footer-mark { width: auto; height: 96px; margin-bottom: 26px; }
.site-footer h3 { color: var(--ivory); font-size: 1.2rem; margin-bottom: 0.4em; }
.social-list { display: flex; gap: 12px; margin: 20px 0; }
.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244,238,226,0.2);
  font-size: 0.75rem;
  text-transform: uppercase;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-legal {
  font-size: 0.76rem;
  opacity: 0.82;
  margin: -0.4em 0 0;
  max-width: 620px;
}
.footer-bottom {
  padding-top: 24px;
  width: 100%;
  border-top: 1px solid rgba(244,238,226,0.1);
  font-size: 0.85rem;
  color: rgba(244,238,226,0.78);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { display: block; padding: 12px 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(244,238,226,0.04);
    display: none;
    max-width: 100%;
  }
  .has-dropdown:hover .dropdown { display: block; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-inner,
  .split-inner,
  .contact-inner,
  .funding-grid { grid-template-columns: 1fr; }
  .split-inner.reverse .split-image,
  .split-inner.reverse .split-text { order: initial; }
  .hero-media { margin-top: 40px; }
  .hero-badge { left: 16px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }

  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { display: none; }

  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .header-inner { gap: 16px; }
  .hero { padding-top: 40px; }
  .hero-badge {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}


/* ---------- Funding: dark treatment, carries the core pitch ---------- */
.funding-section {
  background: var(--navy);
  color: var(--ivory);
}
.funding-section h2 { color: var(--ivory); }
.funding-section .lead { color: rgba(244,238,226,0.82); }
.funding-section .eyebrow { color: var(--gold-light); }
.funding-card {
  background: var(--ivory);
  border: 1px solid rgba(31,58,46,0.10);
}
.funding-grid .funding-card:first-child {
  border: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.funding-card h3 { color: var(--navy); }
.funding-price { color: var(--gold-deep, #7A6234) !important; }
.funding-card li { color: var(--muted); }
.funding-note {
  color: rgba(31,58,46,0.55);
  border-top-color: rgba(31,58,46,0.12) !important;
}
.funding-footnote p { color: var(--ivory) !important; }

/* ---------- Services: give the rows presence ---------- */
.service-row {
  border-top-color: rgba(31,58,46,0.14);
  padding: 30px 0;
  transition: background 0.18s ease;
}
.service-row h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}
.service-row p { font-size: 1rem; margin: 0; }

/* ---------- Timeline: bigger markers, clearer steps ---------- */
.timeline-marker {
  width: 60px;
  height: 60px;
  font-size: 1.05rem;
  border: 2px solid var(--gold);
}
.timeline-body h3 { font-size: 1.25rem; }
.timeline-body p { font-size: 0.97rem; }

/* ---------- Value list: more room to breathe ---------- */
.value-list li { font-size: 1rem; padding: 16px 0 16px 28px; }

/* ---------- FAQ: larger tap targets, clearer questions ---------- */
.faq-item summary { font-size: 1.06rem; padding: 20px 40px 20px 0; }
.faq-item p { font-size: 1rem; }

/* ---------- Statement block: left-aligned, breaks the centred rhythm ---------- */
.statement {
  max-width: 980px;
}
.statement h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  max-width: 16ch;
  margin-bottom: 0.5em;
}
.statement .lead {
  max-width: 58ch;
}
@media (max-width: 700px) {
  .statement h2 { max-width: none; }
  .statement h2 br { display: none; }
}

/* ---------- Services as cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.services-grid > * { grid-column: span 2; }
.services-grid > *:nth-child(4),
.services-grid > *:nth-child(5) { grid-column: span 3; }
.service-card {
  background: var(--ivory);
  border: 1px solid rgba(31,58,46,0.10);
  border-radius: 14px;
  padding: 30px 26px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,138,74,0.5);
  box-shadow: 0 14px 30px rgba(31,58,46,0.10);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(168,138,74,0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 23px; height: 23px; }
.service-card h3 {
  font-size: 1.16rem;
  color: var(--navy);
  margin: 0 0 0.45em;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.text-link-sm { color: var(--gold-light); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-page h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 0.2em;
}
.legal-page h2 {
  font-size: 1.3rem !important;
  margin: 2.2em 0 0.6em;
  color: var(--navy);
}
.legal-updated { font-size: 0.9rem; opacity: 0.7; margin-bottom: 2.4em; }
.legal-list { margin: 0 0 1.2em; }
.legal-list li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--muted);
  line-height: 1.6;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.legal-placeholder {
  background: rgba(168,138,74,0.10);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}
.legal-back { margin-top: 3em; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Services: colour + depth ---------- */
.services-grid { gap: 22px; }
.service-card {
  background: #FBF8F1;
  border-color: rgba(31,58,46,0.09);
}
/* lead service carries the brand colour so the grid isn't flat beige */
.service-card-feature {
  background: var(--navy);
  border-color: var(--navy);
  position: relative;
  overflow: hidden;
}
.service-card-feature::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: rgba(193,164,104,0.10);
  pointer-events: none;
}
.service-card-feature h3 { color: var(--ivory); }
.service-card-feature p { color: rgba(244,238,226,0.80); }
.service-card-feature .service-icon {
  background: rgba(193,164,104,0.22);
  color: var(--gold-light);
}
.service-card-feature:hover { border-color: var(--gold); }

/* photo card sits in the grid alongside the text cards */
.service-photo {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 210px;
}
.service-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.service-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,58,46,0.15) 0%, rgba(31,58,46,0.72) 100%);
}
.service-photo span {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  color: var(--ivory);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 1;
  line-height: 1.4;
}

/* CTA card fills the grid and turns dead space into a conversion point */
.service-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 30px 26px;
  background: linear-gradient(150deg, var(--gold) 0%, #96793E 100%);
  color: var(--navy);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(168,138,74,0.32);
}
.service-cta-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}
.service-cta-head {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}
.service-cta-go {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* photo-backed service card, same tint language as the hero */
.service-card-photo {
  position: relative;
  isolation: isolate;
  border: none;
  overflow: hidden;
}
.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: none;
  transform: scale(1.02);
}
.service-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31,58,46,0.28) 0%, rgba(31,58,46,0.55) 42%, rgba(31,58,46,0.86) 100%);
}
.service-card-photo::after { display: none; }

/* dark photo cards other than the feature card */
.service-card-dark {
  border-color: transparent;
}
.service-card-dark h3 { color: var(--ivory); }
.service-card-dark p { color: rgba(244,238,226,0.82); }
.service-card-dark .service-icon {
  background: rgba(193,164,104,0.22);
  color: var(--gold-light);
}
.service-card-dark:hover { border-color: transparent; }

/* photo cards need more height so the image has room to read */
.service-card-photo { min-height: 260px; display: flex; flex-direction: column; }
.service-card-photo h3 { margin-top: auto; }
/* text shadow keeps copy legible over the lighter wash */
.service-card-dark h3,
.service-card-feature h3 { text-shadow: 0 1px 12px rgba(10,20,15,0.55); }
.service-card-dark p,
.service-card-feature p { text-shadow: 0 1px 10px rgba(10,20,15,0.5); }

/* services closing CTA */
.services-cta { margin-top: 44px; }
.services-cta p {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.1em;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > *,
  .services-grid > *:nth-child(4),
  .services-grid > *:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* funding section polish */
:root { --gold-deep: #7A6234; }
.funding-section .lead {
  font-size: 1.15rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.funding-card { padding: 34px 32px 30px; }
.funding-tag {
  top: -14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.funding-section h2 { text-wrap: balance; }
@media (max-width: 640px) { .funding-section h2 br { display: none; } }

/* Why Hawthorne: give the four points real weight */
.split-lead {
  font-size: 1.02rem;
  margin-bottom: 1.8em;
  max-width: 46ch;
}
.why-section .value-list li {
  padding: 18px 0 18px 34px;
  font-size: 1rem;
  line-height: 1.6;
}
.why-section .value-list li::before {
  top: 26px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(168,138,74,0.16);
}
.why-section .value-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
}
.why-section .split-inner { gap: 72px; align-items: center; }
.why-section .split-image img { height: 480px; }

/* ---------- Motion ----------
   Elements are visible by default. The .js-anim class is only added by
   inline script, so a JS failure leaves the page fully readable.        */
.js-anim [data-rise] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--rise-delay, 0ms);
  will-change: opacity, transform;
}
.js-anim [data-rise].is-in {
  opacity: 1;
  transform: none;
}
/* header settles once you leave the hero */
.site-header { transition: box-shadow 300ms ease, background-color 300ms ease; }
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(10,20,15,0.30);
  background: var(--navy-deep);
}

@media (prefers-reduced-motion: reduce) {
  .js-anim [data-rise] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .site-header { transition: none; }
  html { scroll-behavior: auto !important; }
}


/* ---- Service add-on labels ----
   Battery storage and EV charging are specified alongside a solar project,
   not sold on their own, and maintenance is a PPA inclusion rather than a
   service line. The label says so at a glance. */
.svc-addon {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
}


/* Four add-on cards sit two-up. The old 6-column rules were built for a
   3-then-2 layout of five cards. */
.services-grid { grid-template-columns: repeat(2, 1fr); }
.services-grid > *,
.services-grid > *:nth-child(4),
.services-grid > *:nth-child(5) { grid-column: span 1; }

/* Sector links in the footer sit under the main footer nav. */
.footer-sectors {
  margin-top: 10px;
  opacity: 0.75;
  font-size: 0.92rem;
}

/* CTA buttons need breathing room above, or they crowd the line of copy
   directly above them while the section padding leaves a big gap below. */
.services-cta p,
.funding-footnote p { margin-bottom: 0; }
.services-cta .btn,
.funding-footnote .btn { margin-top: 34px; }

/* ---------- Sectors ---------- */
.sectors-section { background: var(--stone); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.sector-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid rgba(31,58,46,0.10);
  border-radius: 14px;
  padding: 26px 24px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sector-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,138,74,0.5);
  box-shadow: 0 14px 30px rgba(31,58,46,0.10);
}
.sector-card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0 0 0.5em;
}
.sector-card p {
  font-size: 0.93rem;
  margin: 0 0 18px;
}
.sector-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7A6234;
}
.sector-card:hover .sector-more { color: var(--navy); }
.sector-footnote { margin-top: 34px; }
.sector-footnote p { margin: 0; }

@media (max-width: 900px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sector-grid { grid-template-columns: 1fr; }
}

/* The h1 bottom margin left only ~7px before the lead paragraph. */
.legal-page h1 { margin-bottom: 0.34em; }
.legal-page .lead { margin-top: 0; }
.funding-more { margin: 14px 0 0; }

/* Visible breadcrumb trail, matching the BreadcrumbList schema. */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.breadcrumb a { color: #7A6234; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { opacity: 0.45; margin: 0 6px; }
