/* ==========================================================================
   Sense Sports Foundation — brand stylesheet
   Palette (matched to Sense Team Sports): navy + slate, coral primary,
   gold/sun accent, cream. Lato type. Friendly, warm, accessible.
   ========================================================================== */

:root {
  /* Sense Team Sports brand palette (matched from app.senseteamsports.com.au) */
  --ink: #1a1a1a; /* primary text & darkest */
  --navy: #0e2c40; /* deep dark sections */
  --navy-soft: #14425c;
  --slate: #33464e; /* header / footer slate */
  --coral: #e55939; /* brand coral — kept for reference; gold is the primary accent */
  --coral-bright: #f26a4c;
  --coral-deep: #c8482b;
  --sun: #b68b43; /* gold — PRIMARY accent (ties to the logo smile) */
  --sun-bright: #cda45c;
  --sun-deep: #8c6a2f; /* darker gold for text/links on light (AA contrast) */
  --sun-tint: rgba(182, 139, 67, 0.16);
  --sky: #3fa7e1;
  --cream: #fbf6ec;
  --cream-2: #f3e9d6;
  --muted: #5b564d;
  --white: #ffffff;
  --line: #ece0cb;

  /* Legacy aliases mapped onto the new palette (used throughout the file) */
  --black: var(--navy);
  --black-soft: var(--navy-soft);
  --gold: var(--sun);
  --gold-bright: var(--sun-bright);
  --gold-deep: var(--sun-deep);

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -28px rgba(14, 44, 64, 0.45);
  --shadow-sm: 0 10px 40px -16px rgba(14, 44, 64, 0.32);

  --font-head: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- Reset / base --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.1rem;
}

/* Justified body copy. Centred sections stay centred; small labels/notes
   keep their natural alignment. hyphens:auto keeps justified spacing tidy. */
main p {
  text-align: justify;
  hyphens: auto;
}
main .eyebrow,
main .hero-lead,
main .form-note,
main .placeholder-note,
main .loc-count,
main .loc-provider,
main .loc-state {
  text-align: inherit;
  hyphens: manual;
}
main .text-center p,
main .text-center .lead,
main .text-center .lead-emphasis {
  text-align: center;
}

a {
  color: var(--sun-deep);
  text-decoration-color: rgba(140, 106, 47, 0.45);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.4rem, var(--maxw));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}
.narrow-center {
  max-width: 720px;
  margin-inline: auto;
}
.text-center {
  text-align: center;
}
.text-gold {
  color: var(--gold);
}
.text-gold-dark {
  color: var(--gold-deep);
}
.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}
.btn-gold {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(182, 139, 67, 0.6);
}
.btn-gold:hover {
  background: var(--sun-bright);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--black-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* --- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(51, 70, 78, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand .logo {
  width: 132px;
  height: auto;
  display: block;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.primary-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0;
  position: relative;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--gold-bright);
}
.nav-cta {
  padding: 0.85rem 1.9rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy) 38%);
  color: var(--white);
  padding: clamp(4rem, 11vw, 8rem) 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% 30% auto -10%;
  height: 520px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(182, 139, 67, 0.34),
    transparent 60%
  );
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.hero-actions-center {
  justify-content: center;
}
.hero-foot {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.98rem;
  margin: 0;
}
.hero-foot strong {
  color: var(--gold-bright);
  font-weight: 600;
}
.hero-smile {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -10px;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.8rem;
}
.eyebrow-dark {
  color: var(--gold-deep);
}

/* --- Sections ------------------------------------------------------------- */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-cream {
  background: var(--cream);
}
.section-dark {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-title {
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
}
.section-dark .lead {
  color: rgba(255, 255, 255, 0.78);
}
.lead-emphasis {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.3rem;
}
.section-dark .lead-emphasis {
  color: var(--white);
}
.closing-line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin: 1.6rem 0 2rem;
}

/* --- Split layouts -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-reverse .split-text {
  order: 2;
}
.split-text p {
  color: var(--muted);
}
.section-dark .split-text p {
  color: rgba(255, 255, 255, 0.78);
}

/* Stat cards */
.stat-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-cards li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--gold-deep);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* --- Cards ---------------------------------------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card-feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
}
.card-feature p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}
.card-soft {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.card-soft p {
  color: var(--muted);
}
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sun-tint);
  color: var(--sun-bright);
  margin-bottom: 1.2rem;
}
.section-cream .icon-circle,
.icon-circle-lg {
  color: var(--sun);
  background: var(--sun-tint);
}
.icon-circle-lg {
  width: 80px;
  height: 80px;
}
.icon-circle-lg svg {
  width: 38px;
  height: 38px;
}

/* Quote block */
.quote-block {
  margin: 0;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.quote-block blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
}

/* Platform list */
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.platform-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  color: var(--white);
}
.platform-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Get involved grid ---------------------------------------------------- */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.involve-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}
.involve-card:hover {
  transform: translateY(-4px);
  border-color: var(--sun);
  background: rgba(182, 139, 67, 0.1);
}
.involve-card h3 {
  margin-bottom: 0.4rem;
}
.involve-card p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.2rem;
  flex: 1;
}
.involve-card h3,
.involve-card p,
.card-soft h3,
.card-soft p,
.card-feature h3,
.card-feature p,
.card-link h3,
.card-link p {
  text-align: left;
}
.involve-card-gold {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}
.involve-card-gold h3,
.involve-card-gold p {
  color: var(--ink);
}
.involve-card-gold .icon-circle {
  background: rgba(26, 26, 26, 0.12);
  color: var(--ink);
}
.involve-card-gold:hover {
  background: var(--sun-bright);
}
.card-arrow {
  font-size: 1.3rem;
  color: var(--gold-bright);
  align-self: flex-start;
}
.involve-card-gold .card-arrow {
  color: var(--ink);
}

/* --- Card links (other services) ----------------------------------------- */
.card-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.2s ease;
}
.card-link:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.card-link p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.card-link .card-arrow {
  color: var(--gold-deep);
}

/* --- Page hero (sub pages) ------------------------------------------------ */
.page-hero {
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy) 60%);
  color: var(--white);
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
}
.page-hero h1 {
  color: var(--white);
}
.page-hero .hero-lead {
  margin-bottom: 0;
}
.page-hero-tall {
  padding: clamp(4.5rem, 11vw, 8rem) 0;
}
.page-hero-gold {
  background: linear-gradient(160deg, var(--sun-bright) 0%, var(--sun) 100%);
  color: var(--ink);
}
.page-hero-gold h1 {
  color: var(--ink);
}
.page-hero-gold .hero-lead {
  color: rgba(26, 26, 26, 0.82);
}

/* --- Forms ---------------------------------------------------------------- */
.form-wrap {
  max-width: 680px;
  margin-inline: auto;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 1.2rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.req {
  color: var(--gold-deep);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea {
  resize: vertical;
}
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.form-note-center {
  text-align: center;
}

/* --- Contact -------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-aside {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.contact-aside h2 {
  font-size: 1.3rem;
}
.contact-aside hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.4rem 0;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

/* --- People / founders ---------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.founder--reverse {
  grid-template-columns: 1fr 300px;
}
.founder--reverse .founder-portrait {
  order: 2;
}
.founder-portrait {
  margin: 0;
  position: sticky;
  top: 96px;
}
.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.founder-role {
  color: var(--sun-deep);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.founder-bio h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.founder-bio p {
  color: var(--muted);
}
.placeholder-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* --- Locations ------------------------------------------------------------ */
.flag {
  font-size: 1.5rem;
}
.loc-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.loc-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sun-deep);
  display: inline-flex;
  pointer-events: none;
}
.loc-search-icon svg {
  width: 22px;
  height: 22px;
}
.loc-search input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.loc-search input:focus {
  outline: none;
  border-color: var(--sun);
}
.loc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.4rem 0 0.5rem;
}
.loc-chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.loc-chip:hover {
  border-color: var(--sun);
  color: var(--ink);
}
.loc-chip.is-active {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}
.loc-count {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.75rem 0 1.8rem;
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.loc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.loc-card[hidden] {
  display: none;
}
.loc-state {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun-deep);
  margin-bottom: 0.35rem;
}
.loc-card-head h3 {
  margin: 0 0 0.15rem;
}
.loc-provider {
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 1rem;
}
.loc-meta {
  margin: 0 0 1.3rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  flex: 1;
}
.loc-meta div {
  display: flex;
  gap: 0.4rem;
}
.loc-meta dt {
  font-weight: 700;
  color: var(--ink);
  flex: 0 0 auto;
}
.loc-meta dd {
  margin: 0;
  word-break: break-word;
}
.loc-signup {
  align-self: flex-start;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
}
.loc-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* NZ banner */
.nz-banner {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sun);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nz-banner h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}
.nz-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 460px;
}

/* CTA banner */
.cta-banner {
  margin-top: 3rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.3rem;
}
.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Resources ------------------------------------------------------------ */
.resource-feature {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.resource-feature .icon-circle-lg {
  margin: 0 auto 1.2rem;
}
.resource-cards {
  margin-top: 2rem;
}

/* --- Success mark --------------------------------------------------------- */
.success-mark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sun);
  color: var(--ink);
}

/* --- About / home page: uniform body text size across all sections --------
   The section intro paragraphs use .lead (larger); normalise them to the same
   size as the standard body/card text so every content box reads identically. */
.page-about .lead,
.page-about .lead-emphasis {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Newsletter / mailing list -------------------------------------------- */
.newsletter {
  background: var(--navy-soft);
  color: var(--white);
  padding: clamp(2.2rem, 5vw, 3rem) 0;
  border-top: 3px solid var(--sun);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.newsletter-copy h2 {
  color: var(--white);
  margin-bottom: 0.3rem;
}
.newsletter-copy p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 460px;
}
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--sun);
  background: var(--white);
}
.newsletter-form .btn {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }
  .newsletter-form .btn {
    width: 100%;
  }
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo {
  width: 150px;
}
.footer-tag {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}
.footer-nav h2,
.footer-contact h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--gold-bright);
}
.footer-other {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom {
  padding-top: 2rem;
}
.acknowledgement {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 760px;
}
.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem 1.6rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .primary-nav.open {
    transform: translateY(0);
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .primary-nav ul a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
  }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .split,
  .cards-3,
  .cards-2,
  .involve-grid,
  .contact-layout,
  .founder,
  .founder--reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-reverse .split-text {
    order: 0;
  }
  .founder--reverse .founder-portrait {
    order: 0;
  }
  .founder-portrait {
    position: static;
    max-width: 320px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 1rem;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .cta-banner,
  .nz-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .loc-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* --- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
