:root {
  --ink: #14231f;
  --ink-soft: #1d3a2f;
  --pounamu: #2f6b56;
  --pounamu-light: #e3ede8;
  --ready: #f7931a;
  --ready-deep: #d97706;
  --parchment: #f6f3ea;
  --paper: #fffcf7;
  --slate: #5b6560;
  --rule: #ddd8c8;
  --sky: #dce8ef;
  --max: 1160px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(20, 35, 31, 0.12);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { display: block; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.brand-text .nz { color: var(--ready); }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ready-deep); }
.nav-action {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(720px, 88vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/ai-ready-nz/ai-ready-nz-hero.png");
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 35, 31, 0.86) 0%, rgba(20, 35, 31, 0.62) 42%, rgba(20, 35, 31, 0.16) 100%),
    linear-gradient(0deg, rgba(20, 35, 31, 0.56) 0%, rgba(20, 35, 31, 0) 36%);
}
.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 150px) 0 clamp(84px, 14vh, 135px);
  color: #fff;
}
.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ready);
}
.hero h1 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.88;
  font-weight: 700;
}
.hero-lede {
  margin: 24px 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 700 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ready);
  color: #fff;
}
.btn-primary:hover { background: var(--ready-deep); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.intro-band {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.intro-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(44px, 8vw, 78px) 0;
}
.section,
.journey,
.join-section,
.diagnostic-callout {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}
.section,
.join-section {
  padding: clamp(56px, 8vw, 92px) 0;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  font-weight: 700;
}
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.15;
}
p { margin: 0; }
.body-large {
  margin-top: 18px;
  color: var(--slate);
  font-size: 1.08rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.pillar {
  min-height: 214px;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.pillar span {
  display: block;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ready-deep);
}
.pillar p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 0.95rem;
}
.journey-band {
  background: var(--ink);
  color: #fff;
}
.journey {
  padding: clamp(56px, 8vw, 88px) 0;
}
.journey .section-heading { margin-bottom: 32px; }
.journey h2 { max-width: 680px; }
.journey-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}
.journey-list li {
  counter-increment: journey;
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}
.journey-list li::before {
  content: counter(journey, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ready);
}
.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}
.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.partner-list span {
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: var(--ink-soft);
  font-weight: 700;
}
.diagnostic-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(44px, 7vw, 84px);
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid rgba(47, 107, 86, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--pounamu-light), var(--sky));
}
.diagnostic-callout p:not(.section-kicker) {
  max-width: 58ch;
  margin-top: 12px;
  color: var(--ink-soft);
}
.join-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 74px);
  border-top: 1px solid var(--rule);
}
.join-copy p:not(.section-kicker) {
  margin-top: 18px;
  color: var(--slate);
  font-size: 1.05rem;
}
.steward-note {
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--ready);
  background: var(--paper);
  color: var(--ink-soft);
}
.join-form {
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 700;
}
.field label span { color: var(--ready-deep); }
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}
textarea {
  resize: vertical;
  min-height: 118px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(247, 147, 26, 0.24);
  border-color: var(--ready);
}
.form-status {
  min-height: 24px;
  margin: 4px 0 14px;
  color: var(--slate);
  font-weight: 700;
}
.form-status.is-error { color: #b91c1c; }
.form-status.is-success { color: var(--pounamu); }
.form-submit { width: 100%; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.site-footer {
  padding: 28px 18px 42px;
  border-top: 1px solid var(--rule);
  color: var(--slate);
  text-align: center;
  font-size: 0.92rem;
}
.site-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
}

@media (max-width: 920px) {
  .nav-links a:not(.nav-action) { display: none; }
  .intro-grid,
  .split-section,
  .join-section {
    grid-template-columns: 1fr;
  }
  .pillar-grid,
  .journey-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-bar { padding: 12px 16px; }
  .brand-text { font-size: 1.05rem; }
  .nav-action {
    padding: 8px 10px;
    font-size: 0.86rem;
  }
  .hero {
    min-height: 82vh;
    align-items: end;
  }
  .hero-media { background-position: 58% center; }
  .hero::after {
    background: linear-gradient(0deg, rgba(20, 35, 31, 0.94) 0%, rgba(20, 35, 31, 0.72) 48%, rgba(20, 35, 31, 0.18) 100%);
  }
  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 58px;
  }
  .hero h1 { font-size: clamp(3.6rem, 22vw, 6.2rem); }
  .hero-actions,
  .diagnostic-callout {
    align-items: stretch;
    flex-direction: column;
  }
  .btn { width: 100%; }
  .intro-grid,
  .section,
  .journey,
  .join-section,
  .diagnostic-callout {
    width: calc(100% - 28px);
  }
  .pillar-grid,
  .journey-list,
  .form-row {
    grid-template-columns: 1fr;
  }
  .pillar,
  .journey-list li {
    min-height: auto;
  }
}
