/* ============================================================
   Child Safety Alliance Australia — Stylesheet
   Version: 1.0

   Colour palette (locked, per CSAA_WEBSITE_SYSTEM.md):
     --navy:       #1F2A37  Primary / structure
     --soft-white: #F7F9FB  Background
     --sage:       #7A9E9F  Secondary
     --sand:       #E6E1D9  Secondary / alternating sections
     --gold:       #C7A45A  Accent / CTA emphasis
     --charcoal:   #2B2B2B  Body text
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --navy:       #1F2A37;
  --white:      #FFFFFF;
  --soft-white: #F7F9FB;
  --sage:       #7A9E9F;
  --sand:       #E6E1D9;
  --gold:       #C7A45A;
  --gold-dark:  #b5924a;
  --charcoal:   #2B2B2B;

  --font: 'Inter', Arial, sans-serif;

  --container-max:    1160px;
  --container-narrow: 980px;
  --section-v:        64px;
  --radius:           4px;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Layout Utilities ------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-v);
  padding-bottom: var(--section-v);
}

/* Prose utilities */
.prose {
  max-width: 100%;
  margin-left: 0;
}

.prose-centred {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, p {
  text-align: left;
}

.cta-inner h1,
.cta-inner h2,
.cta-inner h3,
.cta-inner h4,
.cta-inner p {
  text-align: center;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.text-gold {
  color: var(--gold);
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Primary — navy bg, white text */
.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #162030;
  border-color: #162030;
}

/* Secondary — navy outline */
.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--navy);
  color: var(--white);
}

/* Gold — accent CTA */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* White outline — for use on navy backgrounds */
.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover,
.btn-outline-white:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* Small variant */
.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* Focus */
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid rgba(31, 42, 55, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 44px;
  width: auto;
  max-width: 240px;
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
}
.main-nav a:hover {
  color: var(--navy);
}

/* Contact button inside nav — override to white text */
.main-nav .btn-primary {
  color: var(--white);
}

/* Mobile toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
}

/* Section header shared pattern */
.section-header {
  margin-bottom: 56px;
  max-width: 620px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--charcoal);
  opacity: 0.8;
  margin: 0;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  background-color: var(--navy);
  padding: 72px 0 72px;
}

.hero-content {
  max-width: 860px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   2. TRUST STRIP
   ============================================================ */
.trust-strip {
  background-color: var(--soft-white);
  border-bottom: 1px solid var(--sand);
  padding: 20px 0;
}

.trust-container {
  display: flex;
  justify-content: center;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-items li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: center;
  padding: 4px 24px;
  border-right: 1px solid rgba(43, 43, 43, 0.2);
}

.trust-items li:last-child {
  border-right: none;
}

/* ============================================================
   3. PROBLEM FRAMING
   ============================================================ */
.problem-section {
  background-color: var(--soft-white);
}

.problem-section h2 {
  margin-bottom: 40px;
  line-height: 1.25;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--charcoal);
  opacity: 0.75;
  margin-bottom: 40px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.problem-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.problem-list strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.problem-quote {
  margin-top: 40px;
  margin-bottom: 24px;
  padding-left: 28px;
  border-left: 3px solid var(--gold);
}

.problem-quote p {
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}

.problem-closing {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ============================================================
   4. SERVICES
   ============================================================ */
.services-section {
  background-color: var(--sand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-featured {
  border-color: var(--gold);
  border-width: 2px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-icon {
  display: flex;
  align-items: flex-start;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.article-date {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  color: var(--charcoal);
  opacity: 0.55;
  margin: 0;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
}
.card-link:hover,
.card-link:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ============================================================
   5. WHO WE WORK WITH
   ============================================================ */
.who-section {
  background-color: var(--soft-white);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sector-grid li {
  background-color: var(--white);
  padding: 22px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
}

.who-closing {
  margin-top: 36px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
}

/* ============================================================
   6. WHY CHOOSE CSAA
   ============================================================ */
.why-section {
  background-color: var(--navy);
}

.why-section .section-header h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 72px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 88px;
  font-feature-settings: "tnum";
}

.why-item h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.9375rem;
  color: rgba(247, 249, 251, 0.85);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   7. PROCESS
   ============================================================ */
.process-section {
  background-color: var(--soft-white);
}

.process-steps {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand);
}
.process-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  padding-top: 2px;
  font-feature-settings: "tnum";
}

.step-content h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--charcoal);
  max-width: none;
  margin: 0;
  line-height: 1.7;
}

/* Approach grid — two-column layout for "How We Approach the Work" */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}

.approach-grid h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.approach-grid p {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   8. STORY / SCENARIO
   ============================================================ */
.story-section {
  background-color: var(--white);
}

.story-inner {
  border-left: 4px solid var(--sage);
  padding-left: 36px;
}

.story-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}

.story-section h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  margin-bottom: 28px;
  line-height: 1.3;
}

.story-body {
  margin-bottom: 0;
}

.story-body p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 20px;
}
.story-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   9. CALL TO ACTION
   ============================================================ */
.cta-section {
  background-color: var(--navy);
  padding: 96px 0;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-secondary {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-contact-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-contact-link:hover,
.cta-contact-link:focus-visible {
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-logo {
  max-height: 44px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   SECTION BACKGROUND UTILITIES
   ============================================================ */

.section-white {
  background-color: var(--soft-white);
}

.section-white + .section-white {
  border-top: 1px solid rgba(43, 43, 43, 0.08);
}

.section-top-divider {
  border-top: 1px solid var(--sand);
}

.section-sand {
  background-color: var(--sand);
}

.section-sage {
  background-color: var(--sage);
}

.section-sage h2 {
  color: var(--white);
}

.section-sage .svc-bullet-list li {
  color: rgba(255, 255, 255, 0.9);
}

.section-sage p {
  color: rgba(255, 255, 255, 0.85);
}

.section-navy {
  background-color: var(--navy);
}

.section-navy h2 {
  color: var(--white);
}

.section-navy .svc-bullet-list li {
  color: rgba(247, 249, 251, 0.85);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-body-copy {
  margin-top: 28px;
}

.about-body-copy p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-body-copy p:last-child {
  margin-bottom: 0;
}

/* Person section */
.about-person-section {
  background-color: var(--sand);
}

.about-person-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.img-placeholder {
  background-color: #E6E1D9;
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(43, 43, 43, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 16px;
}

.about-person-text h2 {
  margin-bottom: 28px;
}

.about-person-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-person-text p:last-child {
  margin-bottom: 0;
}

/* What We Believe */
.belief-section {
  background-color: var(--navy);
}

.belief-inner h2 {
  color: var(--white);
  margin-bottom: 28px;
}

.belief-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.belief-inner p:last-child {
  margin-bottom: 0;
}

/* About CTA */
.about-cta-section {
  background-color: var(--soft-white);
}

.about-cta-section h2 {
  color: var(--navy);
  margin-bottom: 20px;
}

.about-cta-section p {
  font-size: 1.0625rem;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 40px;
}

.about-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */

.svc-bullet-list {
  list-style-type: disc !important;
  padding-left: 2rem;
  border: none;
  margin: 0;
}

.svc-bullet-list li {
  display: list-item !important;
  margin-bottom: 0.5rem;
}

.svc-bullet-list li:last-child {
  margin-bottom: 0;
}

.svc-scenario-block {
  background-color: var(--sand);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-top: 32px;
}

.svc-scenario-block p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.svc-scenario-block p:last-child {
  margin-bottom: 0;
}

.svc-scenario-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 0;
}

/* Multiple scenario blocks with labels */
.svc-scenario-group {
  margin-top: 28px;
}

.svc-scenario-group + .svc-scenario-group {
  margin-top: 40px;
}

.svc-scenario-group .svc-scenario-block {
  margin-top: 0;
}

.svc-scenario-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.contact-intro-text p:last-child {
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-detail-item a {
  color: var(--navy);
  text-decoration: none;
}
.contact-detail-item a:hover,
.contact-detail-item a:focus-visible {
  text-decoration: underline;
}

.contact-form-wrap {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--white);
  border: 1px solid rgba(43, 43, 43, 0.4);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--charcoal);
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%232B2B2B' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-submit {
  width: 100%;
}

/* ============================================================
   ARTICLE
   ============================================================ */

.article-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.875rem;
  color: rgba(247, 249, 251, 0.7);
  margin-top: 1rem;
}

.article-body {
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.article-body em {
  font-style: italic;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.article-back {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.article-back:hover {
  text-decoration: underline;
}

/* ============================================================
   CONTACT SUCCESS
   ============================================================ */

.contact-success {
  display: none;
  padding: 2rem;
  background-color: var(--sand);
  border-left: 4px solid var(--gold);
  margin-top: 1.5rem;
}

.contact-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-success p {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.contact-success a {
  color: var(--navy);
  text-decoration: none;
}

.contact-success a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-person-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-v: 64px;
  }

  .nav-logo {
    height: 36px;
    max-width: 180px;
  }

  /* Show hamburger, hide nav */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--sand);
    padding: 12px 24px 24px;
    z-index: 99;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav li a {
    display: block;
    padding: 11px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--sand);
    width: 100%;
  }

  .main-nav li:last-child a {
    border-bottom: none;
    margin-top: 12px;
    display: inline-block;
    width: auto;
  }

  /* Trust strip stack */
  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .trust-items li {
    border-right: none;
    padding: 0;
  }

  /* Services single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Sectors two columns */
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why single column */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Hero stacked CTAs */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* CTA stacked */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Footer nav two columns */
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About person single column */
  .about-person-grid {
    grid-template-columns: 1fr;
  }

  .img-placeholder {
    max-width: 100%;
  }

  /* About CTA stacked */
  .about-cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Contact intro single column */
  .contact-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Approach grid single column */
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 479px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}
