/* ============================================================
   Mulwaree Online — design system
   Australian palette · Uluru red, sky blue, gunmetal grey.
   Typography · Poppins.
   ============================================================ */

:root {
  /* === GREEN-FORWARD PALETTE === */
  --paper:        #f4efe6;   /* warm cream — body bg */
  --paper-deep:   #ebe3d2;
  --rule:         #d8d2c2;

  --forest:       #0D2B22;   /* deep forest — hero, dark sections, headings */
  --forest-soft:  #1a3d31;   /* slightly lifted for hover/tier accent */
  --sage:         #3D5C50;   /* muted sage — body text, secondary nav */
  --mint:         #5DCAA5;   /* logo green — primary accent */
  --mint-deep:    #1D9E75;   /* deeper mint for buttons/links on light bg */

  --sky-pale:     #BDE1F7;   /* coastal sky — accent stripe, secondary CTAs */
  --sky:          #7ba8c4;

  --uluru:        #B8451F;   /* punctuation accent — rare, for emphasis */

  --accent:       var(--mint-deep);

  /* === TYPOGRAPHY === */
  --display: "Bricolage Grotesque", "Poppins", system-ui, -apple-system, sans-serif;
  --body:    "Poppins", system-ui, -apple-system, sans-serif;
  --mono:    "Poppins", ui-monospace, monospace;

  /* === LAYOUT === */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(93, 202, 165, 0.04) 0, transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(189, 225, 247, 0.05) 0, transparent 55%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
  line-height: 1.04;
  color: var(--forest);
  font-variation-settings: "wdth" 100, "opsz" 24;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--mint-deep);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 98, "opsz" 48;
}
h2 em { font-style: normal; color: var(--mint-deep); }

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.2em; }
p.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--sage);
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-deep);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "—— ";
  letter-spacing: 0;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

section { padding: clamp(60px, 9vw, 130px) 0; position: relative; z-index: 2; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  border-bottom: 3px solid var(--mint);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  font-family: var(--display);
  text-decoration: none;
  color: var(--paper);
  display: flex;
  align-items: center;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mint-deep);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.75);
  letter-spacing: -0.005em;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--mint); }
.nav-links a.active { color: var(--paper); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--mint);
}

.nav-cta {
  background: var(--mint);
  color: var(--forest) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--paper) !important; color: var(--forest) !important; }
.nav-cta::after { display: none !important; }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 2px;
  background: var(--paper);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--mint-deep);
  color: var(--paper);
}
.btn-primary:hover { background: var(--mint-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-ghost:hover { background: var(--forest); color: var(--paper); }
.btn-arrow::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow::after { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(70px, 10vw, 130px);
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}
.hero::before {
  /* subtle texture — soft mint/sky tints in opposite corners */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(93, 202, 165, 0.08), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(189, 225, 247, 0.06), transparent 50%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; color: var(--paper); }
.hero h1 em { color: var(--mint); }
.hero .eyebrow { color: var(--mint); }
.hero .lede { max-width: 52ch; margin-top: 1.5rem; color: rgba(244, 239, 230, 0.78); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
}
.hero-meta dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 4px;
  font-weight: 600;
}
.hero-meta dd {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
}
.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 14px; }

/* hero buttons need different treatment on dark bg */
.hero .btn-primary { background: var(--mint); color: var(--forest); }
.hero .btn-primary:hover { background: var(--paper); color: var(--forest); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(244, 239, 230, 0.4); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }

/* ---------- generic blocks ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 60px;
}
.card {
  background: var(--paper);
  padding: 40px 36px;
  position: relative;
  transition: background 0.3s ease;
}
.card:hover { background: var(--paper-deep); }
.card-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mint-deep);
  margin-bottom: 24px;
  display: block;
  font-weight: 600;
}
.card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sage);
  margin: 0;
}

/* ---------- pricing block ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 44px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier--featured {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.tier--featured h3,
.tier--featured .price { color: var(--paper); }
.tier-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--mint-deep);
  color: var(--paper);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  align-self: flex-start;
  font-weight: 600;
}
.tier h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.tier .price {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 18px 0 8px;
}
.tier .price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--sage);
  letter-spacing: 0;
  display: inline-block;
  margin-left: 4px;
}
.tier--featured .price small { color: rgba(244, 239, 230, 0.6); }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  font-size: 15px;
  flex: 1;
}
.tier li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px dashed var(--rule);
  position: relative;
}
.tier--featured li { border-color: rgba(244, 239, 230, 0.15); }
.tier li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--mint-deep);
  font-weight: 600;
}
.tier--featured li::before { color: var(--mint); }
.tier li:last-child { border-bottom: 0; }
.tier .btn {
  align-self: stretch;
  justify-content: center;
}
.tier--featured .btn-primary { background: var(--uluru); }
.tier--featured .btn-primary:hover { background: var(--paper); color: var(--forest); }

/* ---------- callout / impact band ---------- */
.band {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.band h2 { color: var(--paper); }
.band h2 em { color: var(--mint); }
.band p { color: rgba(244, 239, 230, 0.8); }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(93, 202, 165, 0.22), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(189, 225, 247, 0.18), transparent 50%);
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.stat {
  padding: 30px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.18);
}
.stat-num {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--paper);
  display: block;
}
.stat-num em { color: var(--mint-deep); font-style: normal; }
.stat-label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
  font-weight: 500;
}

/* ---------- form ---------- */
.form-wrap {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(32px, 5vw, 60px);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--forest);
  padding: 10px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--forest);
  outline: none;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 14px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--mint-deep); }
.field input::placeholder, .field textarea::placeholder { color: rgba(61, 92, 80, 0.4); }
.form-status {
  margin-top: 18px;
  font-size: 14px;
  min-height: 22px;
  font-weight: 500;
}
.form-status.ok { color: var(--mint-deep); }
.form-status.err { color: #b03030; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest);
  color: rgba(244, 239, 230, 0.7);
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}
.site-footer h4 {
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a {
  color: rgba(244, 239, 230, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--mint); }
.footer-brand {
  font-family: var(--display);
  font-size: 26px;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  font-variation-settings: "wdth" 95;
}
.footer-brand em { color: var(--mint-deep); font-style: normal; font-weight: 500; }
.footer-tagline { font-size: 14px; line-height: 1.6; max-width: 38ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  font-weight: 500;
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  padding: clamp(80px, 11vw, 140px) 0 clamp(50px, 7vw, 80px);
  background: var(--forest);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(93, 202, 165, 0.08), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(189, 225, 247, 0.06), transparent 50%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 18ch; color: var(--paper); }
.page-head h1 em { color: var(--mint); }
.page-head .eyebrow { color: var(--mint); }
.page-head .lede { color: rgba(244, 239, 230, 0.78); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    padding: 40px var(--gutter);
    gap: 28px;
    align-items: flex-start;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 22px; font-weight: 600; }
  .nav-cta { font-size: 16px !important; padding: 12px 22px; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- entrance reveal ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal > * { opacity: 0; animation: rise 0.8s ease forwards; }
.reveal > *:nth-child(1) { animation-delay: 0.05s; }
.reveal > *:nth-child(2) { animation-delay: 0.18s; }
.reveal > *:nth-child(3) { animation-delay: 0.31s; }
.reveal > *:nth-child(4) { animation-delay: 0.44s; }
.reveal > *:nth-child(5) { animation-delay: 0.57s; }
.reveal > *:nth-child(6) { animation-delay: 0.70s; }
