:root {
  --forest: #173f35;
  --forest-deep: #102f29;
  --sand: #e9ddc4;
  --sand-soft: #f1e9d8;
  --paper: #f8f5ef;
  --orange: #c95f2d;
  --orange-deep: #b04f22;
  --ink: #17312b;
  --muted: #5f6e66;
  --line: #d7d0c3;
  --focus: #f1b34f;
  --radius: 16px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2, .display { font-family: "Bitter", Georgia, serif; font-weight: 700; color: var(--forest); }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
.lede { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 40rem; }
.measure { max-width: 42rem; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: #fff; }
.section-forest h1, .section-forest h2, .section-forest h3 { color: #fff; }
.section-forest .lede, .section-forest .muted { color: #e5eee8; }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 + p { margin-top: 16px; }
.eyebrow {
  display: block; margin-bottom: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange);
}
.section-forest .eyebrow, .on-dark .eyebrow { color: var(--sand); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.text-link { font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--orange); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23,63,53,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.1); color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(233,221,196,.55);
  display: grid; place-items: center; color: var(--sand);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand img { height: 36px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 30px; } }
.footer-brand img { height: 44px; width: auto; display: block; }
.nav-links { display: none; list-style: none; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; color: #eef1e8; font-weight: 500; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { white-space: nowrap; }
@media (max-width: 480px) { .nav-actions .btn { display: none; } .brand span:last-child { font-size: 0.95rem; } }
.nav-toggle {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.12); padding: 10px 0 18px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a[aria-current="page"] { color: var(--sand); }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-deep); color: #fff; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 55%; filter: saturate(.92) contrast(1.03) brightness(.86); }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(16,47,41,.97) 0%, rgba(16,47,41,.9) 34%, rgba(16,47,41,.55) 56%, rgba(16,47,41,.12) 100%); }
.hero-inner { position: relative; display: grid; gap: 40px; padding-top: 88px; padding-bottom: 120px; min-height: 560px; align-content: center; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lede { color: #eef1e8; max-width: 34rem; margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-caption {
  position: absolute; left: 20px; bottom: 20px; max-width: 320px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(16,47,41,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
  font-size: 0.85rem; line-height: 1.5; color: #e9ddc4;
}
.hero-caption strong { color: #fff; display: block; }
@media (max-width: 640px) {
  .hero picture { position: relative; display: block; height: 340px; }
  .hero-photo { object-position: 50% 45%; filter: saturate(.95) contrast(1.02) brightness(.95); }
  .hero-mask { background: linear-gradient(180deg, rgba(16,47,41,0) 0, rgba(16,47,41,.1) 220px, rgba(16,47,41,.85) 320px, var(--forest-deep) 340px); }
  .hero-inner { padding-top: 8px; padding-bottom: 40px; min-height: 0; }
  .eyebrow { letter-spacing: .1em; font-size: .75rem; }
  .hero-caption { position: relative; left: auto; bottom: auto; margin: 0 20px 28px; max-width: none; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: .85fr 1.15fr; padding-top: 120px; padding-bottom: 140px; min-height: 640px; }
  .hero-inner > div { grid-column: 2; }
  .hero-caption { left: 32px; bottom: 28px; }
}
.hero-compact { }
.hero-compact .hero-inner { min-height: 0; padding-top: 72px; padding-bottom: 80px; grid-template-columns: 1fr; }
.hero-compact .hero-mask { background: linear-gradient(90deg, rgba(16,47,41,.96) 0%, rgba(16,47,41,.88) 55%, rgba(16,47,41,.55) 100%); }
.hero-compact .hero-photo { object-position: 70% 55%; }

/* Trust strip */
.strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.strip-list { list-style: none; display: grid; gap: 14px 28px; padding: 22px 0; grid-template-columns: 1fr; }
.strip-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 0.95rem; color: var(--forest); }
.strip-list svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 2px; }
@media (min-width: 640px) { .strip-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip-list { grid-template-columns: repeat(4, 1fr); } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card .icon { width: 26px; height: 26px; color: var(--orange); margin-bottom: 22px; }
.card p { color: var(--muted); }
.card-media { padding: 0; overflow: hidden; border: 1px solid var(--line); }
.card-media img { width: 100%; height: auto; aspect-ratio: 15 / 8; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.card-media .card-body { padding: 24px 26px 28px; }
.card-forest { background: var(--forest); color: #fff; border-color: var(--forest); }
.card-forest h3 { color: #fff; }
.card-forest p { color: #e5eee8; }
.card-forest .icon { color: var(--sand); }
.card-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.card-orange h3, .card-orange p { color: #fff; }
.card-orange .icon { color: #ffe8b8; }
.card-orange .text-link { color: #fff; }
.span-2 { grid-column: span 1; }
@media (min-width: 700px) { .span-2 { grid-column: span 2; } }
.card-list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
a.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.card-link:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 10px 24px rgba(16,47,41,.12); }
a.card-link .text-link { display: inline-block; margin-top: 14px; }
a.card-link:hover .text-link { color: var(--orange); }
.portal-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.text-link.on-dark { color: var(--sand); }
.text-link.on-dark:hover { color: #fff; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.card-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--orange); }
.card-forest .card-list li { color: #eef1e8; }
.card-forest .card-list svg { color: var(--sand); }

/* Feature split */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.spec-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.spec-list span:first-child { color: var(--muted); flex: none; white-space: nowrap; }
.spec-list span:last-child { font-weight: 600; text-align: right; }
.section-forest .spec-list, .section-forest .spec-list li { border-color: rgba(255,255,255,.18); }
.section-forest .spec-list span:first-child { color: #c4d0c9; }

/* Steps */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }
.steps li { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 700; color: var(--sand); line-height: 1; margin-bottom: 18px; font-family: "Bitter", Georgia, serif; }
.steps h3 { margin-bottom: 8px; font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
.section-sand .steps li { background: var(--paper); }
.section-sand .steps li::before { color: var(--line); }

/* Checklist columns */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--forest); font-weight: 700; transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
.faq-group { margin-top: 48px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 14px; }

/* Forms */
.panel { background: var(--paper); border-radius: var(--radius); padding: 26px; color: var(--ink); }
@media (min-width: 640px) { .panel { padding: 34px; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #c8c1b4; border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-feedback { margin-top: 14px; font-weight: 600; font-size: 0.95rem; display: none; }
.form-feedback.show { display: block; }
.form-feedback.ok { color: #1e6b45; }
.form-feedback.err { color: #a43e22; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: auto; }
.success { display: none; text-align: center; padding: 24px 0; }
.success.show { display: block; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: #dcebdc; color: var(--forest); display: grid; place-items: center; margin: 0 auto 18px; }
.success .tick svg { width: 28px; height: 28px; }
.enquiry-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; color: var(--sand); font-size: 0.92rem; }
.enquiry-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.contact-lines { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; }
.contact-lines svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--sand); }
.contact-lines a { color: #fff; }

/* Calculator */
.calc { display: grid; gap: 28px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 48px; } }
.calc-out { border-radius: var(--radius); background: var(--forest); color: #fff; padding: 30px; display: grid; gap: 22px; align-content: start; }
.calc-out .big { font-family: "Bitter", Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.calc-out .label { font-size: 0.9rem; color: #c4d0c9; margin-bottom: 6px; }
.calc-out .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.calc-out .row strong { display: block; font-size: 1.15rem; }
.calc-out small { color: #c4d0c9; font-size: 0.8rem; line-height: 1.5; }
.calc-out .row .label { margin-bottom: 4px; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; }
.cta-band .wrap { display: grid; gap: 20px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #ffe8b8; margin-top: 8px; }
.cta-band .btn-primary { background: var(--forest-deep); }
.cta-band .btn-primary:hover { background: #0b241f; }

/* Page intro (inner pages) */
.page-intro { background: var(--forest); color: #fff; padding: 64px 0 72px; }
.page-intro h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; }
.page-intro .lede { color: #eef1e8; margin-top: 18px; }
.page-intro .eyebrow { color: var(--sand); }

/* People */
.person { display: grid; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person .role { color: var(--orange); font-weight: 700; font-size: 0.95rem; }
.person .creds { list-style: none; margin-top: 16px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.person .creds li { display: flex; gap: 10px; align-items: flex-start; }
.person .creds svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--forest); }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3b4a44; }
.prose ul { padding-left: 1.2rem; margin: 12px 0; display: grid; gap: 6px; }
.prose .updated { color: var(--muted); font-size: 0.9rem; }
.placeholder { background: #fff3c4; border-bottom: 2px dashed var(--orange); padding: 0 3px; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #c4d0c9; }
.footer-grid { display: grid; gap: 36px; padding: 56px 0 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; display: flex; gap: 12px; align-items: center; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.site-footer p { font-size: 0.92rem; line-height: 1.6; }
.footer-cols h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-cols a { color: #e9ddc4; text-decoration: none; font-size: 0.95rem; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 36px; font-size: 0.85rem; line-height: 1.65; }
.footer-legal p + p { margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; color: #9fb0a8; }
