/* ============================================================
   A1 Administration Solutions — bespoke styles
   Forest green + warm gold + cream. Te Kūiti / King Country.
   Te reo respectful, native-plant package palette.
   ============================================================ */

:root {
  --bg: #f8f5ee;
  --bg-soft: #efe9da;
  --bg-dark: #1f3a2a;
  --bg-darker: #142519;
  --line: rgba(31, 58, 42, 0.12);
  --line-strong: rgba(31, 58, 42, 0.22);
  --forest: #1f3a2a;
  --forest-2: #2d5a40;
  --gold: #c7b646;
  --gold-soft: rgba(199, 182, 70, 0.12);
  --kowhai: #f0c645;
  --pohutukawa: #b1372d;
  --manuka: #f6e9d0;
  --whanau: #6b8454;
  --kaumatua: #8a6f3a;
  --text: #1f3a2a;
  --text-2: #4a5648;
  --text-dim: #7c8475;
  --text-on-dark: #f5efe1;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --container: 1240px;
  --r: 6px;
  --r-lg: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); }
.reo { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); }
.inline-link { color: var(--forest-2); border-bottom: 1px solid var(--forest-2); }
.inline-link:hover { color: var(--gold); border-color: var(--gold); }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  padding: 16px 32px;
  background: rgba(248, 245, 238, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--gold);
  font-weight: 700; font-size: 17px;
  font-family: var(--serif); font-style: italic;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 14px; color: var(--text); letter-spacing: 0.01em; }
.brand-loc { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--gold); }
.nav-primary { display: none; gap: 28px; font-size: 14px; }
.nav-primary a { color: var(--text-2); transition: color .2s; }
.nav-primary a:hover { color: var(--forest); }
.nav-primary .nav-cta {
  padding: 10px 20px; background: var(--forest); color: var(--bg);
  border-radius: var(--r); font-weight: 600;
  transition: background .2s;
}
.nav-primary .nav-cta:hover { background: var(--gold); color: var(--bg-dark); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: 0; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }
.mobile-menu {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 25;
  display: flex; flex-direction: column;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px 32px;
}
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu .mobile-cta { color: var(--gold); }
@media (min-width: 980px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .nav-primary { display: flex; justify-content: flex-end; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* HERO */
.hero {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 32px clamp(80px, 9vw, 130px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(199, 182, 70, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 88% 78%, rgba(31, 58, 42, 0.10) 0%, transparent 50%);
}
.hero-inner { max-width: var(--container); margin: 0 auto; position: relative; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px;
  color: var(--forest); margin: 0 0 28px; font-weight: 600;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 28px; color: var(--text);
  max-width: 940px;
}
.hero-title .reo { display: inline-block; font-size: 0.6em; opacity: 0.92; margin-bottom: 10px; }
.hero-title em { font-family: var(--serif); font-weight: 500; color: var(--gold); }
.hero-sub {
  max-width: 720px; font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-2); margin: 0 0 36px; line-height: 1.65;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.cta-primary, .cta-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: var(--r);
  font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .15s, color .15s, transform .15s;
}
.cta-primary { background: var(--forest); color: var(--bg); }
.cta-primary:hover { background: var(--forest-2); transform: translateY(-1px); }
.cta-ghost { color: var(--forest); border: 1px solid var(--forest); }
.cta-ghost:hover { background: var(--forest); color: var(--bg); }
.hero-strip {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-top: 32px; border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-strip li { display: flex; flex-direction: column; gap: 4px; }
.hero-strip strong { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--forest); font-style: italic; }
.hero-strip span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }

/* SECTION HEADS */
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head--left { margin-left: 0; margin-right: 0; text-align: left; max-width: none; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px;
  color: var(--gold); margin: 0 0 16px; font-weight: 600;
}
.section-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 20px; color: var(--text);
}
.section-blurb { font-size: 17px; color: var(--text-2); margin: 0; line-height: 1.6; }
.lede { font-size: 19px; color: var(--text); line-height: 1.6; font-weight: 400; }

/* WHO WE HELP */
.who { padding: clamp(72px, 9vw, 120px) 32px; max-width: var(--container); margin: 0 auto; }
.who-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.who-card {
  padding: 32px; border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.who-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(31,58,42,0.06); }
.who-icon { font-size: 28px; margin: 0 0 16px; line-height: 1; }
.who-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 12px; color: var(--forest); letter-spacing: -0.01em; }
.who-card p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* SERVICES */
.services { padding: clamp(72px, 9vw, 120px) 32px; background: var(--forest); color: var(--text-on-dark); }
.services .section-title, .services .lede { color: var(--text-on-dark); }
.services .section-eyebrow { color: var(--gold); }
.services .section-blurb { color: rgba(245, 239, 225, 0.85); }
.services .section-title em { color: var(--gold); }
.service-list {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service {
  padding: 28px; border: 1px solid rgba(245, 239, 225, 0.15);
  border-radius: var(--r-lg);
  background: var(--bg-darker);
  position: relative;
  transition: border-color .2s, background .2s;
}
.service:hover { border-color: var(--gold); background: rgba(199, 182, 70, 0.06); }
.service-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; color: var(--gold); margin: 0 0 12px; line-height: 1; }
.service h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin: 0 0 12px; color: var(--text-on-dark); letter-spacing: -0.01em; line-height: 1.3; }
.service p { color: rgba(245, 239, 225, 0.78); font-size: 14px; margin: 0; line-height: 1.6; }

/* PACKAGES */
.packages { padding: clamp(72px, 9vw, 120px) 32px; }
.package-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.package {
  padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.package:hover { border-color: var(--gold); transform: translateY(-3px); }
.package--feature { background: var(--gold-soft); border-color: var(--gold); }
.pkg-eyebrow {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-soft); color: var(--text-dim);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px; margin: 0 0 16px; align-self: flex-start;
}
.package--feature .pkg-eyebrow { background: var(--gold); color: var(--bg-dark); }
.package h3 {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 26px; margin: 0 0 14px; color: var(--forest); letter-spacing: -0.01em; line-height: 1.2;
}
.package p { color: var(--text-2); font-size: 14px; margin: 0; line-height: 1.6; }

/* TOOLS */
.tools { padding: clamp(64px, 8vw, 100px) 32px; background: var(--bg-soft); }
.tools-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.tools .section-eyebrow { margin-bottom: 16px; }
.tools .section-title { margin-bottom: 18px; }
.tools .section-title em { color: var(--gold); }

/* ABOUT */
.about { padding: clamp(72px, 9vw, 120px) 32px; }
.about-inner { max-width: var(--container); margin: 0 auto; }
.about-grid {
  display: grid; gap: 48px; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 72px; } }
.about-body p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.about-card {
  padding: 32px; border: 2px solid var(--gold); border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(199,182,70,0.08), transparent);
}
.aside-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; margin: 0 0 16px; font-weight: 600; }
.aside-name { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 4px; color: var(--forest); font-style: italic; }
.aside-role { color: var(--text-dim); font-size: 14px; margin: 0 0 24px; }
.aside-email a { color: var(--forest-2); border-bottom: 1px solid var(--forest-2); }
.aside-postal { color: var(--text); font-size: 15px; margin: 16px 0; line-height: 1.6; }
.aside-cta {
  display: inline-block; margin-top: 16px; padding: 12px 22px;
  background: var(--forest); color: var(--bg); border-radius: var(--r);
  font-weight: 600; font-size: 14px;
  transition: background .2s;
}
.aside-cta:hover { background: var(--gold); color: var(--bg-dark); }

/* CONTACT STRIP */
.contact-strip {
  padding: clamp(72px, 9vw, 120px) 32px;
  background: var(--forest); color: var(--text-on-dark);
  text-align: center;
}
.contact-strip .section-eyebrow { color: var(--gold); }
.contact-strip-inner { max-width: 760px; margin: 0 auto; }
.contact-strip-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 16px 0 18px; color: var(--text-on-dark);
}
.contact-strip-title em { color: var(--gold); font-family: var(--serif); font-style: italic; }
.contact-strip-blurb { font-size: 17px; color: rgba(245, 239, 225, 0.82); margin: 0 0 32px; }
.contact-strip-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-strip .cta-ghost { color: var(--text-on-dark); border-color: rgba(245,239,225,0.4); }
.contact-strip .cta-ghost:hover { background: rgba(245,239,225,0.08); border-color: var(--gold); color: var(--gold); }

/* FOOTER */
.footer { padding: 56px 32px 24px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--gold);
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 17px;
  margin: 0 0 12px;
}
.footer-name { font-weight: 600; font-size: 16px; margin: 0 0 6px; }
.footer-tag { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.5; }
.footer-tag em { font-family: var(--serif); color: var(--gold); }
.footer-eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px;
  color: var(--gold); margin: 0 0 14px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col li, .footer-col a { color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--forest); }
.footer-base {
  max-width: var(--container); margin: 36px auto 0;
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
}
.footer-fineprint a { color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 700px) {
  .topbar { padding: 12px 18px; gap: 12px; }
  .hero { padding-left: 18px; padding-right: 18px; padding-top: 56px; padding-bottom: 56px; }
  .who, .services, .packages, .tools, .about, .contact-strip { padding-left: 18px; padding-right: 18px; }
  .footer { padding-left: 18px; padding-right: 18px; }
  .footer-base { flex-direction: column; gap: 10px; }
}
