@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #112b2c;
  --ink-soft: #3f5756;
  --forest: #0b5b4f;
  --forest-dark: #063f38;
  --mint: #a7e6cf;
  --lime: #d7f07f;
  --cream: #f7f4eb;
  --paper: #fffdf8;
  --line: rgba(17, 43, 44, 0.15);
  --white: #ffffff;
  --orange: #f49b62;
  --shadow: 0 24px 80px rgba(6, 63, 56, 0.12);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 248, .9);
  backdrop-filter: blur(18px);
  transition: border-color .2s, box-shadow .2s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(17, 43, 44, .06);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--lime);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.08em;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.brand-copy { line-height: 1.05; }
.brand-copy strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: .98rem;
  letter-spacing: -.025em;
}
.brand-copy span { color: var(--ink-soft); font-size: .67rem; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: .84rem;
  font-weight: 600;
}

.primary-nav a:not(.button) {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { background: #eaf3ed; color: var(--forest-dark); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(6,63,56,.2); }
.button-light { border-color: var(--white); background: var(--white); color: var(--forest-dark); }
.button-ghost { background: transparent; color: var(--forest); }
.button-lime { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .82rem; }
.button-arrow::after { content: "↗"; font-size: 1.05em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--forest);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }

h1, h2, h3, h4 {
  margin: 0 0 .65em;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.1rem, 7.4vw, 6.9rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.03em; }
h4 { font-size: 1rem; letter-spacing: -.02em; }

.lede { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.small { font-size: .9rem; }
.muted { color: var(--ink-soft); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 11vw, 148px) 0 72px;
  background:
    radial-gradient(circle at 77% 22%, rgba(215,240,127,.9) 0 8%, transparent 8.4%),
    radial-gradient(circle at 88% 52%, rgba(167,230,207,.55) 0 19%, transparent 19.4%),
    linear-gradient(150deg, #f7f4eb 0%, #fffdf8 58%, #e4f2e7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -18vw;
  bottom: -31vw;
  border: 1px solid rgba(11,91,79,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(11,91,79,.035), 0 0 0 105px rgba(11,91,79,.025);
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.hero h1 { max-width: 950px; }
.hero h1 .accent { color: var(--forest); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-note {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius-md);
  color: var(--white);
  background: rgba(6,63,56,.94);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-note .note-number { color: var(--lime); font: 800 3.2rem/1 "Manrope", sans-serif; letter-spacing: -.07em; }
.hero-note p { margin: 12px 0 0; color: rgba(255,255,255,.78); }

.page-hero { padding-block: clamp(76px, 10vw, 126px) 68px; }
.page-hero h1 { max-width: 1000px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero .lede { margin-top: 24px; }

.section { padding: clamp(76px, 9vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--forest-dark); color: var(--white); }
.section-dark .muted, .section-dark .lede { color: rgba(255,255,255,.68); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 46px; }
.section-head p { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(11,91,79,.35); box-shadow: var(--shadow); }
.card-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 56px;
  border-radius: 15px;
  color: var(--forest-dark);
  background: var(--mint);
  font: 800 1.1rem "Manrope", sans-serif;
}
.card p { margin-bottom: 20px; color: var(--ink-soft); }
.text-link { color: var(--forest); font-weight: 800; font-size: .88rem; }
.text-link::after { content: " →"; }

.feature-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.feature-panel {
  position: sticky;
  top: 110px;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}
.feature-panel .eyebrow { color: var(--lime); }
.feature-panel p { color: rgba(255,255,255,.75); }
.feature-list { display: grid; gap: 12px; }
.feature-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature-item:first-child { padding-top: 0; }
.feature-item p { margin: 0; color: var(--ink-soft); }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 26px; border-top: 2px solid var(--mint); background: rgba(255,255,255,.04); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 40px; color: var(--lime); font: 800 1rem "Manrope", sans-serif; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--forest); font: 800 clamp(2rem, 4vw, 3.4rem)/1 "Manrope", sans-serif; letter-spacing: -.06em; }
.stat span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: .9rem; }

.check-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--forest-dark); background: var(--mint); font-size: .74rem; font-weight: 800; }

.notice {
  padding: 24px 26px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff4eb;
  color: #67412c;
}
.notice strong { color: #4f2d1b; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq summary { position: relative; padding: 21px 56px 21px 22px; list-style: none; font-family: "Manrope", sans-serif; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--forest); font-size: 1.35rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); }

.cta-band { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 84px); border-radius: var(--radius-lg); color: var(--white); background: var(--forest); }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 300px; height: 300px; border: 45px solid rgba(215,240,127,.17); border-radius: 50%; }
.cta-band h2 { max-width: 780px; }
.cta-band p { max-width: 640px; color: rgba(255,255,255,.72); }
.cta-band .button { position: relative; z-index: 1; margin-top: 18px; }

.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(38px, 7vw, 82px); align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-card { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream); }
.contact-card a { display: block; margin-top: 8px; color: var(--forest); font-weight: 700; }

.enquiry-form { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #bcc8c3;
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(11,91,79,.1); }
.field small { color: var(--ink-soft); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox { display: flex; gap: 9px; align-items: flex-start; padding: 11px; border: 1px solid var(--line); border-radius: 10px; }
.checkbox input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--forest); }
.checkbox label { font-weight: 500; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--forest); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin: 20px 0 0; padding: 16px; border-radius: 11px; }
.form-status.is-visible { display: block; }
.form-status.success { color: #0b4d3f; background: #dff5e8; }
.form-status.error { color: #7a2f29; background: #fee8e4; }
.enquiry-form [aria-invalid="true"] { border-color: #c3463d; }

.search-shell { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.search-bar { display: flex; gap: 10px; }
.search-bar input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid #bcc8c3; border-radius: 999px; outline: none; }
.search-bar input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(11,91,79,.1); }
.search-meta { margin: 16px 0 0; color: var(--ink-soft); font-size: .9rem; }
.results { display: grid; gap: 14px; margin-top: 24px; }
.result { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.result-tag { display: inline-block; margin-bottom: 12px; padding: 4px 9px; border-radius: 999px; color: var(--forest); background: #e5f3ea; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.result p { color: var(--ink-soft); }
.result footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }

.admin-shell { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.admin-toolbar .field { min-width: 180px; }
.admin-login { max-width: 520px; margin-inline: auto; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.admin-table th, .admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--ink-soft); background: var(--cream); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.admin-table td { font-size: .87rem; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #f8fbf7; }
.status-pill { display: inline-block; padding: 4px 9px; border-radius: 999px; color: var(--forest); background: #e5f3ea; font-size: .72rem; font-weight: 800; }
.admin-detail { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-detail-grid .wide { grid-column: 1 / -1; }
.admin-detail dt { color: var(--ink-soft); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-detail dd { margin: 4px 0 0; white-space: pre-wrap; }

.site-footer { padding: 72px 0 30px; background: #092f2c; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 50px; }
.footer-brand p { max-width: 370px; color: rgba(255,255,255,.6); }
.footer-title { color: var(--mint); font: 800 .73rem "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { display: grid; gap: 9px; margin-top: 16px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .78rem; }
.footer-bottom p { margin: 0; max-width: 850px; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a:not(.button) { padding: 11px 13px; }
  .primary-nav .button { margin-top: 6px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 430px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy span { display: none; }
  .hero { padding-top: 72px; }
  .hero-grid, .section-head, .feature-grid, .split, .form-layout { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .cards, .steps, .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .feature-panel, .contact-aside { position: static; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .search-bar { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-grid .wide { grid-column: auto; }
  .cta-band { padding: 34px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
