/* ===========================================================================
   Nurtured By Nature — Interior content pages (template-page-*.php)
   Scoped under .nbn-page so it never collides with the homepage (.nbn-home),
   encounters (.nbn-encounter), blog (.nbn-blog), Astra, or plugin CSS. Reuses the
   GLOBAL primitives from layout.css (.nbn-wrap, .nbn-btn*, .nbn-script, .nbn-chev)
   and the brand tokens from style.css (:root --nbn-*). One stylesheet for every
   About / Conservation / Get-Involved / Visit / utility page.
   =========================================================================== */

.nbn-page {
  --ivory:     var(--nbn-ivory, #e7f4f5);
  --cream:     var(--nbn-cream, #fafdfd);
  --paper:     var(--nbn-paper, #ffffff);
  --teal:      var(--nbn-teal, #15b4d7);
  --teal-deep: var(--nbn-teal-deep, #007e9b);
  --teal-ink:  var(--nbn-teal-ink, #06414f);
  --gold:      var(--nbn-gold, #c89a3f);
  --gold-soft: var(--nbn-gold-soft, #e6c684);
  --coral:     var(--nbn-coral, #ff6a44);
  --ink:       var(--nbn-ink, #14272d);
  --muted:     var(--nbn-muted, #56676d);
  --line:      var(--nbn-line, #d4e6e6);
  --display:   var(--nbn-font-display, 'Archivo', sans-serif);
  --body:      var(--nbn-font-body, 'Mulish', sans-serif);

  font-family: var(--body); color: var(--ink); background: var(--ivory);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.nbn-page *, .nbn-page *::before, .nbn-page *::after { box-sizing: border-box; }
.nbn-page img { max-width: 100%; display: block; }
.nbn-page p { margin: 0 0 1rem; }
.nbn-page h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin: 0 0 .5em; }
.nbn-page h3 { font-size: 1.3rem; margin: 0 0 .4em; }

/* ---- Editorial primitives (scoped copies of the brand vocabulary) --------- */
.nbn-page .nbn-eyebrow {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 3px;
  font-size: 11.5px; font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.nbn-page .nbn-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.nbn-page .nbn-eyebrow--center { justify-content: center; }
.nbn-page .nbn-eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.nbn-page .nbn-eyebrow--light { color: var(--gold-soft); }
.nbn-page .nbn-sectionhead { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.nbn-page .nbn-cream { background: var(--cream); }
.nbn-page .nbn-ivory { background: var(--ivory); }
.nbn-page .nbn-paper { background: var(--paper); }

/* CSS-only entrance, guarded by reduced-motion (no JS dependency). */
@media (prefers-reduced-motion: no-preference) {
  .nbn-page .nbn-reveal {
    opacity: 0; transform: translateY(24px);
    animation: nbn-pg-rise .8s cubic-bezier(.16,.7,.2,1) forwards; animation-delay: var(--d, 0s);
  }
  @keyframes nbn-pg-rise { to { opacity: 1; transform: none; } }
}

/* =========================================================================
   HERO — interior, photo + scrim + gold frame (mirrors the encounter hero)
   ========================================================================= */
.nbn-page .pg-hero {
  position: relative; min-height: clamp(420px, 56vh, 540px);
  display: flex; align-items: flex-end; background: var(--teal-ink); color: #fff; overflow: hidden;
}
.nbn-page .pg-hero--tall { min-height: clamp(520px, 70vh, 660px); }
.nbn-page .pg-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--band); background-size: cover; background-position: center;
  animation: nbn-pg-kenburns 24s ease-in-out infinite alternate; will-change: transform;
}
@keyframes nbn-pg-kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.nbn-page .pg-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,49,60,.92) 0%, rgba(4,49,60,.55) 42%, rgba(4,49,60,.08) 76%, rgba(4,49,60,0) 100%),
    linear-gradient(0deg, rgba(4,49,60,.86) 0%, rgba(4,49,60,.16) 50%, rgba(4,49,60,.26) 100%);
}
.nbn-page .pg-hero__frame {
  position: absolute; inset: 22px; z-index: 2; pointer-events: none; border: 1px solid rgba(255,255,255,.26);
}
.nbn-page .pg-hero__frame::before, .nbn-page .pg-hero__frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold-soft);
}
.nbn-page .pg-hero__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.nbn-page .pg-hero__frame::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.nbn-page .pg-hero__inner { position: relative; z-index: 3; padding-block: 60px; max-width: 720px; }
.nbn-page .pg-hero__title {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -1px;
  margin-bottom: .35em; text-shadow: 0 6px 50px rgba(0,0,0,.55), 0 2px 10px rgba(0,0,0,.4);
}
/* Script accent — resonant closing word drops to its own line (supporting, not
   dominant; mirrors the homepage hero treatment in a warmer brass tone). */
.nbn-page .pg-hero__title .nbn-script {
  color: var(--gold-soft); font-size: 1.12em; line-height: .82; margin-top: .04em;
  text-shadow: 0 6px 44px rgba(0,0,0,.42), 0 2px 10px rgba(0,0,0,.35);
}
.nbn-page .pg-hero__sub {
  max-width: 580px; font-size: 1.18rem; color: #fff; margin-bottom: 1.7rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.nbn-page .pg-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Plain (no-photo) hero band for utility pages */
.nbn-page .pg-hero--plain { background: linear-gradient(150deg, var(--teal-deep), var(--teal-ink)); align-items: center; min-height: 340px; }
.nbn-page .pg-hero--plain .pg-hero__inner { padding-block: 72px; }

/* =========================================================================
   SECTION SCAFFOLD + PROSE
   ========================================================================= */
.nbn-page .pg-section { padding-block: 88px; }
.nbn-page .pg-section--tight { padding-block: 64px; }
.nbn-page .pg-prose { max-width: 780px; margin-inline: auto; }
/* Inside a split, the grid column already sets the measure — the standalone
   780px cap and auto centering would fight it. */
.nbn-page .pg-split .pg-prose { max-width: none; margin-inline: 0; }
.nbn-page .pg-prose.is-left { margin-inline: 0; }
.nbn-page .pg-prose h2 { margin-top: 1.6em; }
.nbn-page .pg-prose h2:first-child { margin-top: 0; }
.nbn-page .pg-prose h3 { margin-top: 1.4em; color: var(--teal-deep); }
.nbn-page .pg-prose p { color: var(--ink); }
.nbn-page .pg-prose ul, .nbn-page .pg-prose ol { margin: 0 0 1.2rem; padding-left: 1.2em; color: var(--ink); }
.nbn-page .pg-prose li { margin-bottom: .5rem; }
.nbn-page .pg-prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.nbn-page .pg-prose a:hover { color: var(--teal); }
.nbn-page .pg-prose blockquote {
  margin: 1.8rem 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold);
  font-size: 1.3rem; line-height: 1.45; color: var(--teal-ink); font-style: italic;
}
.nbn-page .pg-lede { font-size: 1.22rem; color: var(--ink); }
/* Centered pull-quote (the Mission statement). The shared blockquote rule hangs a
   gold rule off the left edge, which reads as misaligned inside a centered block,
   so this variant drops it and lets the quotation marks carry the attribution. */
.nbn-page .pg-prose blockquote.pg-quote {
  margin: 1.4rem auto 0; padding: 0; border-left: 0; max-width: 64ch; text-align: center;
}
/* Mission motto — the phrase the brand leads with, so it outranks the statement
   above it rather than trailing after it as a footnote. Flanking rules + the
   script word echo the "Nurtured by Nature" lockup in the header. */
.nbn-page .pg-motto {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.4vw, 22px);
  margin: 2.2rem 0 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem); line-height: 1.1; color: var(--teal-ink);
}
.nbn-page .pg-motto::before,
.nbn-page .pg-motto::after {
  content: ""; flex: 0 0 auto; width: clamp(24px, 7vw, 68px); height: 2px; background: var(--gold);
}
.nbn-page .pg-motto .nbn-script { color: var(--gold); font-size: 1.18em; }

/* =========================================================================
   SPLIT — text + media / aside
   ========================================================================= */
.nbn-page .pg-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.nbn-page .pg-split--aside { grid-template-columns: 1.5fr 1fr; align-items: start; }
.nbn-page .pg-split--rev .pg-split__media { order: -1; }
.nbn-page .pg-split__media img { width: 100%; border-radius: 4px; box-shadow: var(--nbn-shadow, 0 22px 60px -28px rgba(10,61,73,.38)); }

/* Info / facts card (hours, address, specs) — same shape as encounter specs */
.nbn-page .pg-info {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 30px 12px; box-shadow: var(--nbn-shadow-sm, 0 10px 30px -18px rgba(10,61,73,.3));
}
.nbn-page .pg-info h3 { font-size: .82rem; letter-spacing: 1.6px; color: var(--gold); margin-bottom: 18px; }
.nbn-page .pg-info dl { margin: 0; }
.nbn-page .pg-info div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.nbn-page .pg-info div:first-of-type { border-top: 0; }
.nbn-page .pg-info dt { color: var(--muted); font-size: .92rem; }
.nbn-page .pg-info dd { margin: 0; font-family: var(--display); font-weight: 700; text-align: right; color: var(--ink); }

/* =========================================================================
   STAT STRIP
   ========================================================================= */
.nbn-page .pg-stats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; text-align: center; }
.nbn-page .pg-statblock { min-width: 190px; position: relative; padding-top: 18px; }
.nbn-page .pg-statblock::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 3px; background: var(--gold); }
.nbn-page .pg-stat { font-family: var(--display); font-weight: 800; line-height: 1; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--teal-deep); margin-bottom: .4rem; letter-spacing: -1px; }
.nbn-page .pg-statlabel { color: var(--muted); margin: 0; letter-spacing: .3px; }
.nbn-page .pg-stats__sep { width: 1px; height: 64px; background: var(--line); }

/* =========================================================================
   CARDS — generic 3-up (values, projects, roles)
   ========================================================================= */
.nbn-page .pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nbn-page .pg-cards--2 { grid-template-columns: repeat(2, 1fr); }
.nbn-page .pg-cards--4 { grid-template-columns: repeat(4, 1fr); }
.nbn-page .pg-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 32px 28px; position: relative; }
.nbn-page .pg-card::before { content: ""; position: absolute; top: 0; left: 32px; width: 36px; height: 2px; background: var(--gold); }
.nbn-page .pg-card h3 { font-size: 1.15rem; }
.nbn-page .pg-card p { color: var(--muted); margin: 0; }
.nbn-page .pg-card--media { padding: 0; overflow: hidden; }
.nbn-page .pg-card--media::before { display: none; }
.nbn-page .pg-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.nbn-page .pg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nbn-page .pg-card--media:hover .pg-card__media img { transform: scale(1.05); }
.nbn-page .pg-card__body { padding: 26px 26px 30px; }

/* =========================================================================
   STEPS — numbered (how to volunteer, how it works)
   ========================================================================= */
.nbn-page .pg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: pg-step; }
.nbn-page .pg-step { position: relative; padding-top: 14px; }
.nbn-page .pg-step::before { counter-increment: pg-step; content: counter(pg-step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 8px; }
.nbn-page .pg-step h3 { font-size: 1.1rem; }
.nbn-page .pg-step p { color: var(--muted); margin: 0; }

/* =========================================================================
   DONATION TIERS (donate page)
   ========================================================================= */
.nbn-page .pg-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nbn-page .pg-tier { border: 1px solid var(--line); border-radius: 4px; padding: 28px 22px; text-align: center; background: var(--paper); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.nbn-page .pg-tier:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 50px -30px rgba(10,61,73,.45); }
.nbn-page .pg-tier__amt { font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: var(--teal-deep); margin-bottom: .5rem; }
.nbn-page .pg-tier__impact { color: var(--muted); font-size: .95rem; margin: 0; }

/* =========================================================================
   FAQ — native <details> accordion (no JS)
   ========================================================================= */
.nbn-page .pg-faq__list { max-width: 820px; margin: 0 auto; }
.nbn-page .pg-q { border-bottom: 1px solid var(--line); padding: 6px 0; }
.nbn-page .pg-q > summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; font-size: 1rem; color: var(--ink);
}
.nbn-page .pg-q > summary::-webkit-details-marker { display: none; }
.nbn-page .pg-q > summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 1.4rem; color: var(--teal-deep); }
.nbn-page .pg-q[open] > summary::after { content: "\2212"; }
.nbn-page .pg-q__a { padding: 0 44px 20px 0; color: var(--muted); }
.nbn-page .pg-q__a p:last-child { margin-bottom: 0; }

/* =========================================================================
   CONTACT — compact, single-fold layout (no photo hero)
   ========================================================================= */
.nbn-contact .ct-shell { display: flex; align-items: flex-start; padding-block: 72px 96px; }
.nbn-contact .ct-grid {
  width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.nbn-contact .ct-title { font-size: clamp(2.6rem, 5.2vw, 3.9rem); letter-spacing: -1px; line-height: 1.12; margin-bottom: .4em; }
.nbn-contact .ct-script {
  font-family: var(--nbn-font-script, 'Sacramento', cursive); font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--teal-deep); font-size: 1.32em; line-height: 1;
}
.nbn-contact .ct-lede { font-size: 1.18rem; color: var(--ink); max-width: 34ch; margin-bottom: 1.5rem; }
.nbn-contact .ct-faq { font-size: .98rem; color: var(--muted); max-width: 40ch; }
.nbn-contact .ct-faq a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.nbn-contact .ct-faq a:hover { color: var(--teal); }

/* Card — gold corner-frame motif (mirrors the interior hero frame) */
.nbn-contact .ct-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 46px 46px 40px; box-shadow: 0 40px 80px -48px rgba(4, 49, 60, .55);
}
.nbn-contact .ct-card__frame { position: absolute; inset: 13px; pointer-events: none; border: 1px solid var(--line); }
.nbn-contact .ct-card__frame::before, .nbn-contact .ct-card__frame::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid var(--gold); }
.nbn-contact .ct-card__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.nbn-contact .ct-card__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.nbn-contact .ct-card__head { position: relative; margin-bottom: 8px; }
.nbn-page .pg-methods { display: grid; gap: 18px; position: relative; }
.nbn-page .pg-method { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); }
.nbn-page .pg-method:first-child { border-top: 0; }
.nbn-page .pg-method dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; font-size: .76rem; color: var(--gold); }
.nbn-page .pg-method dd { margin: 0; font-size: 1.05rem; color: var(--ink); }
.nbn-page .pg-method dd > a:not(.pg-iconlink) { color: var(--teal-deep); text-decoration: none; }
.nbn-page .pg-method dd > a:not(.pg-iconlink):hover { color: var(--teal); }

/* Circular brand-icon link (email + socials) */
.nbn-page .pg-iconlink {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--teal-deep); background: var(--cream);
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}
.nbn-page .pg-iconlink svg { width: 19px; height: 19px; }
.nbn-page .pg-iconlink:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.nbn-page .pg-method dd > .pg-iconlink { margin-top: 6px; }
.nbn-page .pg-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Contact card — compact horizontal rows (label left, value/icons right) */
.nbn-contact .ct-card { padding: 30px 38px 24px; }
.nbn-contact .ct-card__head { margin-bottom: 4px; }
.nbn-contact .pg-methods { gap: 0; }
.nbn-contact .pg-method { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.nbn-contact .pg-method dt { flex: none; }
.nbn-contact .pg-method dd { text-align: right; font-size: 1rem; overflow-wrap: anywhere; }
.nbn-contact .pg-method dd > .pg-iconlink { margin-top: 0; }
.nbn-contact .pg-iconlink { width: 38px; height: 38px; }
.nbn-contact .pg-iconlink svg { width: 17px; height: 17px; }
.nbn-contact .pg-iconlink--lg { width: 52px; height: 52px; }
.nbn-contact .pg-iconlink--lg svg { width: 24px; height: 24px; }
.nbn-contact .pg-socials { flex-wrap: nowrap; justify-content: flex-end; gap: 8px; margin-top: 0; }

/* =========================================================================
   CTA BAND — closing call to action over teal
   ========================================================================= */
.nbn-page .pg-cta { background: linear-gradient(150deg, var(--teal-deep), var(--teal-ink)); color: #fff; text-align: center; }
.nbn-page .pg-cta__inner { max-width: 760px; margin-inline: auto; }
.nbn-page .pg-cta h2 { color: #fff; }
.nbn-page .pg-cta h2 .nbn-script { color: var(--gold-soft); }
.nbn-page .pg-cta p { color: rgba(255,255,255,.9); font-size: 1.12rem; margin-bottom: 1.8rem; }
.nbn-page .pg-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   VOLUNTEER APPLICATION — multi-step form (inc/volunteer-form.php)
   ========================================================================= */
.nbn-page .pg-formwrap {
  background: var(--paper, #fff); border: 1px solid var(--line, #e4ded3);
  border-radius: 4px; padding: 28px 26px;
  box-shadow: 0 24px 50px -34px rgba(10, 61, 73, .4);
}

/* Tab strip. Numbers stay visible on small screens; names drop away. */
.nbn-page .nbn-vform__tabs {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  margin: 0 0 22px; padding: 0 0 16px; border-bottom: 1px solid var(--line, #e4ded3);
  counter-reset: none;
}
.nbn-page .nbn-vform__tabs li { margin: 0; padding: 0; }
.nbn-page .nbn-vform__tabs li::before { content: none; }
.nbn-page .nbn-vform__tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 0; padding: 6px 10px; border-radius: 3px;
  font-family: inherit; font-size: .84rem; color: var(--muted, #6b6257);
  transition: color .2s ease, background-color .2s ease;
}
.nbn-page .nbn-vform__tab:hover { color: var(--teal-deep); }
.nbn-page .nbn-vform__tabnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid currentColor; font-size: .78rem; font-weight: 700;
}
.nbn-page .nbn-vform__tab.is-active { color: var(--teal-deep); font-weight: 700; }
.nbn-page .nbn-vform__tab.is-active .nbn-vform__tabnum {
  background: var(--teal-deep); border-color: var(--teal-deep); color: #fff;
}
.nbn-page .nbn-vform__tab.is-done .nbn-vform__tabnum {
  background: var(--gold); border-color: var(--gold); color: #fff;
}

/* Steps. Without JS every step is visible, which is a working long form. */
.nbn-page .nbn-vform.is-tabbed .nbn-vform__step { display: none; }
.nbn-page .nbn-vform.is-tabbed .nbn-vform__step.is-active { display: block; }
.nbn-page .nbn-vform__blurb { margin: 0 0 18px; color: var(--muted, #6b6257); font-size: .95rem; }

.nbn-page .nbn-vform__field { margin-bottom: 16px; }
.nbn-page .nbn-vform__field label {
  display: block; margin-bottom: 5px; font-size: .84rem; font-weight: 600;
  letter-spacing: .2px; color: var(--teal-ink);
}
.nbn-page .nbn-vform__req { color: var(--gold); }
.nbn-page .nbn-vform__hint { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted, #6b6257); }
.nbn-page .nbn-vform__field input[type="text"],
.nbn-page .nbn-vform__field input[type="email"],
.nbn-page .nbn-vform__field input[type="tel"],
.nbn-page .nbn-vform__field input[type="date"],
.nbn-page .nbn-vform__field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line, #e4ded3); border-radius: 3px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nbn-page .nbn-vform__field input:focus,
.nbn-page .nbn-vform__field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 126, 155, .14);
}
.nbn-page .nbn-vform__field textarea { resize: vertical; min-height: 96px; }

/* Confirmation checkboxes read as statements, so the label wraps the control. */
.nbn-page .nbn-vform__field--check label {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; font-weight: 400; font-size: .92rem; cursor: pointer;
  color: var(--ink); line-height: 1.45;
}
.nbn-page .nbn-vform__field--check input { margin-top: .25em; width: 16px; height: 16px; }

/* -------------------------------------------------------------------------
   Choice fields — radio / checkbox groups (inc/event-form.php)
   A fieldset so the question is announced with each choice, restyled to sit
   flush with the plain fields above and below it.
   ------------------------------------------------------------------------- */
.nbn-page .nbn-vform__field--group {
  border: 0; margin: 0 0 18px; padding: 0; min-width: 0;
}
.nbn-page .nbn-vform__field--group legend {
  display: block; float: none; width: 100%; padding: 0; margin-bottom: 5px;
  font-size: .84rem; font-weight: 600; letter-spacing: .2px; color: var(--teal-ink);
}
.nbn-page .nbn-vform__field--group .nbn-vform__hint { margin: 0 0 8px; }

/* Two columns once there is room, so an eight-option list is not a long scroll. */
.nbn-page .nbn-vform__options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 6px 18px; margin-top: 6px;
}
/*
 * Scoped under --group on purpose. The generic `.nbn-vform__field label` rule
 * makes labels block-level headings, and it would otherwise outrank a bare
 * .nbn-vform__option, flattening every choice row.
 */
.nbn-page .nbn-vform__field--group .nbn-vform__option {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  margin: 0; padding: 7px 9px; border-radius: 3px; cursor: pointer;
  font-weight: 400; font-size: .92rem; letter-spacing: normal;
  color: var(--ink); line-height: 1.45;
  transition: background-color .18s ease;
}
.nbn-page .nbn-vform__field--group .nbn-vform__option:hover { background: rgba(0, 126, 155, .05); }
.nbn-page .nbn-vform__field--group .nbn-vform__option input {
  margin-top: .2em; width: 16px; height: 16px; accent-color: var(--teal-deep);
}
/* Keyboard focus has to be visible on the row, not just the 16px control. */
.nbn-page .nbn-vform__field--group .nbn-vform__option input:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}

/* A date is a short value; a full-width box overstates it. */
.nbn-page .nbn-vform__field input[type="date"] { max-width: 220px; }

.nbn-page .nbn-vform__nav {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line, #e4ded3);
}
.nbn-page .nbn-vform__progress { margin-left: auto; font-size: .8rem; color: var(--muted, #6b6257); }
.nbn-page .nbn-vform__nav .nbn-btn[hidden] { display: none; }

.nbn-page .nbn-vform__errors {
  margin-bottom: 20px; padding: 14px 16px; border-radius: 3px;
  border-left: 3px solid #c0392b; background: rgba(192, 57, 43, .06); font-size: .9rem;
}
.nbn-page .nbn-vform__errors p { margin: 0 0 6px; }
.nbn-page .nbn-vform__errors ul { margin: 0; padding-left: 18px; color: var(--muted, #6b6257); }

.nbn-page .nbn-vform__done {
  padding: 30px 26px; border-radius: 4px; text-align: center;
  border: 1px solid var(--line, #e4ded3); background: var(--paper, #fff);
}
.nbn-page .nbn-vform__done h3 { margin: 0 0 10px; color: var(--teal-deep); }
.nbn-page .nbn-vform__done p { margin: 0; color: var(--muted, #6b6257); }

@media (max-width: 560px) {
  .nbn-page .nbn-vform__tabname { display: none; }
  .nbn-page .nbn-vform__tabs { gap: 4px; }
  .nbn-page .nbn-vform__nav { justify-content: space-between; }
  .nbn-page .nbn-vform__progress { order: -1; margin-left: 0; width: 100%; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .nbn-page .pg-split, .nbn-page .pg-split--aside { grid-template-columns: 1fr; gap: 36px; }
  .nbn-page .pg-split--rev .pg-split__media { order: 0; }
  .nbn-page .pg-cards, .nbn-page .pg-steps { grid-template-columns: 1fr 1fr; }
  .nbn-page .pg-cards--4, .nbn-page .pg-tiers { grid-template-columns: 1fr 1fr; }
  .nbn-page .pg-stats__sep { display: none; }
  .nbn-contact .ct-grid { grid-template-columns: 1fr; gap: 36px; }
  .nbn-contact .ct-shell { min-height: 0; padding-block: 48px; }
}
@media (max-width: 560px) {
  .nbn-page { font-size: 16px; }
  .nbn-page .pg-section { padding-block: 60px; }
  .nbn-page .pg-cards, .nbn-page .pg-cards--2, .nbn-page .pg-cards--4,
  .nbn-page .pg-steps, .nbn-page .pg-tiers { grid-template-columns: 1fr; }
  .nbn-page .pg-hero__cta { flex-direction: column; align-items: stretch; }
  .nbn-page .pg-hero__cta .nbn-btn { justify-content: center; }
}
