/* ============================================================
   NDÈNÀOWÒ ENVIRONMENTAL LTD — SHARED STYLESHEET
   naowo.ca
   ============================================================ */

/* ── 1. FONTS ─────────────────────────────────────────────── */

@font-face {
  font-family: 'Charis SIL';
  src: url('fonts/CharisSIL-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131,          /* ı */
    U+0141, U+0142,  /* Ł ł */
    U+012E, U+012F,  /* Į į */
    U+01EA, U+01EB,  /* Ǫ ǫ */
    U+0300,          /* combining grave */
    U+0328;          /* combining ogonek */
}

@font-face {
  font-family: 'Charis SIL';
  src: url('fonts/CharisSIL-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131, U+0141, U+0142,
    U+012E, U+012F,
    U+01EA, U+01EB,
    U+0300, U+0328;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/NotoSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/NotoSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/NotoSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/NotoSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ── 2. DESIGN TOKENS ─────────────────────────────────────── */

:root {
  /* Colours */
  --colour-forest:   #0d2c1c;   /* structure, headings, header bg */
  --colour-sky:      #0b4c6f;   /* interaction, links, hover states */
  --colour-white:    #ffffff;   /* ground, backgrounds */
  --colour-offwhite: #f5f4f0;   /* section alt backgrounds */
  --colour-mist:     #e8e6e0;   /* borders, dividers */
  --colour-text:     #1a1a1a;   /* body copy */
  --colour-text-muted: #4a4a4a; /* secondary text */
  --colour-overlay:  rgba(13, 44, 28, 0.12); /* hero overlay */
  --colour-caption:  rgba(13, 44, 28, 0.80); /* photo credit overlay */

  /* Typography */
  --font-serif: 'Charis SIL', Georgia, 'Times New Roman', serif;
  --font-sans:  'Noto Sans', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  2.75rem;    /* 44px */
  --text-5xl:  3.5rem;     /* 56px */

  --leading-tight:  1.35;
  --leading-snug:   1.35;
  --leading-normal: 1.65;
  --leading-loose:  1.8;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: var(--space-6);

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Header height — used for sticky offset */
  --header-height: 52px;
}


/* ── 3. RESET & BASE ──────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--colour-text);
  background-color: var(--colour-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--colour-sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--colour-forest);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--colour-sky);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--colour-forest);
}

p {
  line-height: var(--leading-normal);
}

address {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ── 4. ACCESSIBILITY ─────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--colour-sky);
  color: var(--colour-white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ── 5. LAYOUT UTILITIES ──────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text-center {
  text-align: center;
}


/* ── 6. TYPOGRAPHY UTILITIES ──────────────────────────────── */

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--colour-forest);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}


/* ── 7. BUTTONS ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn:focus-visible {
  outline: 3px solid var(--colour-sky);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--colour-forest);
  border-color: var(--colour-forest);
  color: var(--colour-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #0a2016;
  border-color: #0a2016;
  color: var(--colour-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--colour-forest);
  color: var(--colour-forest);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--colour-forest);
  color: var(--colour-white);
}

.btn-sm {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}


/* ── 8. SITE HEADER ───────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--colour-forest);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-block: 0.5rem;
}

.site-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  width: 140px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

/* Logo text (replaces logo image in header) */
.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: var(--leading-tight);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 0.4em;
  align-items: baseline;
}

.logo-text-name {
  color: #ffffff;
}

.logo-text-suffix {
  color: rgba(255,255,255,0.65);
}

@media (max-width: 767px) {
  .logo-text {
    font-size: 0.9rem;
  }
  .logo-text-suffix {
    display: none;
  }
}

/* ── Navigation ── */

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--colour-white);
  background-color: rgba(255,255,255,0.12);
  outline: none;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--colour-white);
  background-color: rgba(255,255,255,0.18);
  font-weight: 600;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--space-3);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: rgba(255,255,255,0.12);
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--colour-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--colour-forest);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: var(--space-1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--transition-base),
      opacity var(--transition-base);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: var(--space-4);
    font-size: var(--text-base);
  }

  /* Hamburger X state */
  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}


/* ── 9. PAGE HERO ─────────────────────────────────────────── */

.page-hero {
  background-color: #143d2a;
  padding: var(--space-16) 0 var(--space-12);
}

.page-hero-content {
  color: var(--colour-white);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--colour-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.page-hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.80);
  max-width: 640px;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: var(--text-4xl);
  }
}


/* ── 10. HOME HERO ────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 720px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  font-size: 0.875rem;
  color: #ffffff;
  background: rgba(13, 44, 28, 0.55);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-photo-credit {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  font-size: 0.7rem;
  color: #ffffff;
  background: rgba(13, 44, 28, 0.55);
  padding: 3px 8px;
  border-radius: 2px;
  font-family: var(--font-sans);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--colour-overlay);
}

.hero-content {
  padding: var(--space-20) 0;
  color: var(--colour-white);
  max-width: 700px;
}

.hero-flag {
  margin-bottom: var(--space-6);
}

.flag-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.40));
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--colour-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: var(--leading-snug);
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: var(--text-5xl);
  }
}

/* Hero centered layout (home page) */
.hero-content--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  max-width: none;
}

.hero-logo-img {
  width: 310px;
  height: auto;
  animation: hero-logo-reveal 900ms ease-out both;
}

@keyframes hero-logo-reveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: #ffffff;
  font-size: 1.625rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  animation: hero-tagline-reveal 800ms ease-out 400ms both;
}

@keyframes hero-tagline-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-hero-outline {
  background: rgba(255,255,255,0.9);
  color: var(--colour-forest);
  border: none;
  font-weight: 600;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus-visible {
  background: #ffffff;
  color: var(--colour-forest);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

@media (max-width: 767px) {
  .hero-logo-img {
    width: 220px;
  }
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 2rem;
  }
}

/* ── Hero Caribou ── */

.hero-hawk {
  position: absolute;
  top: 12%;
  left: 3%;
  width: 11px;
  height: auto;
  pointer-events: none;
  fill: rgba(0,0,0,0.78);
  will-change: transform;
  animation: hawk-traverse 450s linear 1 forwards;
}

@keyframes hawk-traverse {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(9vw,  -2vh); }
  18%  { transform: translate(17vw,  1.5vh); }
  28%  { transform: translate(26vw, -2.5vh); }
  38%  { transform: translate(35vw,  1vh); }
  50%  { transform: translate(46vw, -2vh); }
  60%  { transform: translate(55vw,  2vh); }
  72%  { transform: translate(66vw, -1.5vh); }
  84%  { transform: translate(77vw,  1.8vh); }
  100% { transform: translate(92vw, -0.5vh); }
}

@media (max-width: 767px) {
  .hero-hawk {
    width: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hawk {
    display: none;
  }
}

/* Beadwork-inspired decorative band */
.beadwork-band {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #d4a843, #e85d3a, #2b8a3e, #2980b9, #d4a843);
  flex-shrink: 0;
}


/* ── 11. POSITIONING ─────────────────────────────────────── */

.positioning {
  padding: var(--space-16) 0;
}

.positioning-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.positioning-statement {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--colour-text);
}

@media (min-width: 768px) {
  .positioning-statement {
    font-size: var(--text-xl);
  }
}


/* ── 12. MARQUEE ──────────────────────────────────────────── */

.marquee-section {
  background-color: var(--colour-forest);
  padding: var(--space-5) 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
}

.marquee-list {
  display: flex;
  gap: var(--space-8);
  padding-right: var(--space-8);
  animation: marquee-scroll 42s linear infinite;
  flex-shrink: 0;
}

.marquee-list li {
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: var(--space-8);
  position: relative;
}

.marquee-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.4em;
  color: rgba(255,255,255,0.40);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-list {
    animation: none;
    flex-wrap: wrap;
  }
  .marquee-list[aria-hidden="true"] {
    display: none;
  }
  .marquee-section {
    overflow: visible;
  }
  .marquee-track {
    overflow: visible;
    width: auto;
  }
}


/* ── 13. SERVICE TILES ────────────────────────────────────── */

.services-preview {
  padding: var(--space-20) 0;
}

.service-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 540px) {
  .service-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .service-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background-color: var(--colour-white);
  border: 1px solid var(--colour-mist);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--colour-sky);
  outline: none;
}

.service-tile:focus-visible {
  outline: 3px solid var(--colour-sky);
  outline-offset: 2px;
}

.tile-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tile-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tile-title {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--colour-forest);
  margin-bottom: var(--space-2);
}

.tile-desc {
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  line-height: var(--leading-normal);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-8);
}


/* ── 14. OWNERSHIP STRIP ─────────────────────────────────── */

.ownership-strip {
  background-color: var(--colour-white);
  border-top: 1px solid var(--colour-mist);
  border-bottom: 1px solid var(--colour-mist);
  padding: var(--space-16) 0;
}

.ownership-inner {
  text-align: center;
}

.ownership-desc {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  font-size: var(--text-md);
  color: var(--colour-text-muted);
}

.ownership-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.ownership-logo-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.ownership-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.ownership-logo-caption {
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  font-weight: 500;
}

.ownership-plus {
  font-size: var(--text-3xl);
  color: var(--colour-mist);
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767px) {
  .ownership-logos {
    flex-direction: column;
  }
}


/* ── 15. CERTIFICATIONS ──────────────────────────────────── */

.certifications {
  background-color: var(--colour-offwhite);
  padding: var(--space-16) 0;
}

.certifications-inner {
  text-align: center;
}

.cert-desc {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  color: var(--colour-text-muted);
}

.cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.cert-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.cert-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.cert-figure figcaption {
  font-size: var(--text-xs);
  color: var(--colour-text-muted);
  font-weight: 500;
  text-align: center;
  max-width: 120px;
}


/* ── 16. CTA BANNER ──────────────────────────────────────── */

.cta-banner {
  background-color: var(--colour-forest);
  padding: var(--space-20) 0;
}

.cta-inner {
  text-align: center;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--colour-white);
  margin-bottom: var(--space-4);
}

.cta-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.90);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-contact {
  color: var(--colour-white);
  font-size: var(--text-md);
  margin-bottom: var(--space-6);
}

.cta-contact a {
  color: var(--colour-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-contact a:hover,
.cta-contact a:focus-visible {
  color: var(--colour-white);
  text-decoration-thickness: 2px;
}

.cta-banner .btn-primary {
  background-color: var(--colour-white);
  border-color: var(--colour-white);
  color: var(--colour-forest);
}

.cta-banner .btn-primary:hover,
.cta-banner .btn-primary:focus-visible {
  background-color: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.90);
  color: var(--colour-forest);
}

@media (min-width: 768px) {
  .cta-heading {
    font-size: var(--text-3xl);
  }
}


/* ── 17. ABOUT PAGE ──────────────────────────────────────── */

.about-section {
  padding: var(--space-20) 0;
}

.about-section--alt {
  background-color: var(--colour-offwhite);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-grid--reverse {
    direction: rtl;
  }

  .about-grid--reverse > * {
    direction: ltr;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-text p {
  font-size: var(--text-base);
  color: var(--colour-text);
  line-height: var(--leading-loose);
}

.about-img-wrap {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Chief Monfwi quote strip */
.chief-quote {
  background-color: var(--colour-offwhite);
  padding: var(--space-16) 0;
  text-align: center;
}

.chief-quote-inner {
  max-width: 780px;
  margin-inline: auto;
}

.chief-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: var(--leading-loose);
  color: var(--colour-text);
  margin: 0 0 var(--space-4);
  border: none;
  padding: 0;
}

.chief-quote-attribution {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  .chief-quote-text {
    font-size: var(--text-2xl);
  }
}

/* Ownership cards on about page */
.ownership-about-intro {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  font-size: var(--text-md);
  color: var(--colour-text-muted);
}

.ownership-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .ownership-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.ownership-card {
  background-color: var(--colour-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--colour-mist);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.ownership-card-logo {
  display: flex;
  align-items: center;
}

.ownership-card-logoimg {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.ownership-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--colour-forest);
  margin-bottom: var(--space-3);
}

.ownership-card-body p {
  font-size: var(--text-base);
  color: var(--colour-text);
  line-height: var(--leading-loose);
}

/* Government logos */
.govt-logos-section {
  text-align: center;
  padding: var(--space-12) 0 var(--space-4);
  border-top: 1px solid var(--colour-mist);
}

.govt-logos-note {
  font-size: var(--text-base);
  color: var(--colour-text-muted);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: var(--leading-loose);
}

.govt-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.govt-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
}


/* ── 18. SERVICES PAGE ───────────────────────────────────── */

/* Sub-nav */
.services-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background-color: var(--colour-offwhite);
  border-bottom: 1px solid var(--colour-mist);
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.subnav-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subnav-list::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  display: block;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--colour-text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.subnav-link:hover,
.subnav-link:focus-visible {
  color: var(--colour-sky);
  border-bottom-color: var(--colour-sky);
  outline: none;
}

.subnav-link.is-active {
  color: var(--colour-forest);
  border-bottom-color: var(--colour-forest);
  font-weight: 600;
}

/* Services page intro */
.services-page-intro {
  background-color: var(--colour-offwhite);
  padding: var(--space-12) 0;
  text-align: center;
  border-bottom: 1px solid var(--colour-mist);
}

.services-intro-text {
  font-size: var(--text-md);
  color: var(--colour-text-muted);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  line-height: var(--leading-loose);
}

.services-intro-subheading {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--colour-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.services-intro-list {
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.services-intro-list li {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  font-weight: 500;
}

.services-intro-list li + li::before {
  content: '\00B7';
  color: var(--colour-mist);
  padding: 0 var(--space-3);
  font-size: var(--text-base);
}

@media (max-width: 767px) {
  .services-intro-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .services-intro-list li + li::before {
    display: none;
  }
}

/* Service sections */
.service-section {
  padding: var(--space-20) 0;
  scroll-margin-top: calc(var(--header-height) + 56px);
}

.service-section--alt {
  background-color: var(--colour-offwhite);
}

.service-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 768px) {
  .service-section-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
  }

  .service-section-grid--reverse {
    direction: rtl;
  }

  .service-section-grid--reverse > * {
    direction: ltr;
  }
}

.service-section-img-wrap {
  flex-shrink: 0;
}

.service-section-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-section-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--colour-forest);
  margin-bottom: var(--space-4);
}

.service-section-intro {
  font-size: var(--text-md);
  color: var(--colour-text-muted);
  margin-bottom: var(--space-6);
  line-height: var(--leading-loose);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--colour-text);
  line-height: var(--leading-normal);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--colour-forest);
  flex-shrink: 0;
}

/* Photo credit overlays */
.photo-credit-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(13, 44, 28, 0.55);
  color: #ffffff;
  font-size: 0.7rem;
  font-family: var(--font-sans);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}


/* ── 19. TEAM PAGE ───────────────────────────────────────── */

.team-section {
  padding: var(--space-20) 0;
}

.team-intro {
  font-size: var(--text-md);
  color: var(--colour-text-muted);
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
  text-align: center;
  line-height: var(--leading-loose);
}

/* Director cards */
.director-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--colour-mist);
  align-items: start;
}

.director-card:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .director-card {
    grid-template-columns: 320px 1fr;
    gap: var(--space-16);
  }

  .director-card--alt {
    grid-template-columns: 1fr 320px;
  }

  .director-card--alt .director-portrait-wrap {
    order: 2;
  }

  .director-card--alt .director-body {
    order: 1;
  }
}

.director-portrait-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}

.director-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.director-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.director-name {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--colour-forest);
  margin-bottom: 0;
}

.director-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--colour-text-muted);
  letter-spacing: 0.08em;
  margin-top: calc(-1 * var(--space-2));
}

.director-bio {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.director-bio p {
  font-size: var(--text-base);
  color: var(--colour-text);
  line-height: var(--leading-loose);
}

.director-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.director-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--colour-sky);
  text-decoration: none;
  font-weight: 500;
}

.director-contact-link:hover,
.director-contact-link:focus-visible {
  color: var(--colour-forest);
  text-decoration: underline;
}

.contact-icon {
  font-size: var(--text-base);
  width: 20px;
  flex-shrink: 0;
}

.director-registry {
  margin-top: var(--space-2);
}

.director-registry-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--colour-sky);
  font-weight: 500;
}

.director-registry-link:hover,
.director-registry-link:focus-visible {
  color: var(--colour-forest);
}


/* ── 20. CONTACT PAGE ────────────────────────────────────── */

.contact-section {
  padding: var(--space-20) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-16);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-2);
}

.contact-address-block {
  font-size: var(--text-base);
  color: var(--colour-text);
  line-height: var(--leading-loose);
}

.contact-email-link,
.contact-website-link {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--colour-sky);
  text-decoration: none;
}

.contact-email-link:hover,
.contact-email-link:focus-visible,
.contact-website-link:hover,
.contact-website-link:focus-visible {
  color: var(--colour-forest);
  text-decoration: underline;
}

/* Director cards on contact page */
.contact-director-cards {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.contact-director-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  transition: transform var(--transition-fast);
}

.contact-director-card:hover,
.contact-director-card:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.contact-director-card:focus-visible {
  outline: 3px solid var(--colour-sky);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

.contact-director-portrait {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--colour-mist);
  box-shadow: var(--shadow-sm);
}

.contact-director-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--colour-forest);
  text-align: center;
  line-height: var(--leading-tight);
}

.contact-director-role {
  font-size: var(--text-xs);
  color: var(--colour-text-muted);
  text-align: center;
}

/* Form */
.contact-form-wrap .section-title {
  margin-bottom: var(--space-3);
}

.contact-form-desc {
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  margin-bottom: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--colour-text);
}

.required-mark {
  color: #c0392b;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--colour-text);
  background-color: var(--colour-white);
  border: 1.5px solid var(--colour-mist);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  appearance: none;
}

.form-input:hover,
.form-textarea:hover {
  border-color: #b0afa9;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--colour-sky);
  box-shadow: 0 0 0 3px rgba(11, 76, 111, 0.15);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #c0392b;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: var(--text-xs);
  color: #c0392b;
  font-weight: 500;
  min-height: 1em;
}

/* Honeypot */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.form-submit-btn {
  padding: var(--space-4) var(--space-10);
}

.form-status {
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-status.is-success {
  color: var(--colour-forest);
}

.form-status.is-error {
  color: #c0392b;
}


/* ── 21. CREDITS PAGE ────────────────────────────────────── */

.credits-section {
  padding: var(--space-20) 0;
}

.credits-container {
  max-width: 960px;
}

.credits-intro {
  font-size: var(--text-md);
  color: var(--colour-text-muted);
  margin-bottom: var(--space-10);
  line-height: var(--leading-loose);
  max-width: 700px;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-10);
  font-size: var(--text-sm);
}

.credits-table th {
  background-color: var(--colour-forest);
  color: var(--colour-white);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-4);
  text-align: left;
}

.credits-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--colour-mist);
  color: var(--colour-text);
  vertical-align: middle;
}

.credits-table tr:last-child td {
  border-bottom: none;
}

.credits-table tr:nth-child(even) td {
  background-color: var(--colour-offwhite);
}

.credits-thumb-cell {
  width: 100px;
  min-width: 80px;
}

.credits-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.credits-note {
  font-size: var(--text-sm);
  color: var(--colour-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background-color: var(--colour-offwhite);
  border-left: 3px solid var(--colour-forest);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Responsive table */
@media (max-width: 640px) {
  .credits-table {
    display: block;
    overflow-x: visible;
  }

  .credits-table thead {
    display: none;
  }

  .credits-table tbody {
    display: block;
  }

  .credits-table tr {
    display: block;
    padding: var(--space-4);
    border-bottom: 1px solid var(--colour-mist);
    margin-bottom: var(--space-2);
  }

  .credits-table td {
    display: block;
    border-bottom: none;
    padding: var(--space-2) 0;
  }

  .credits-thumb {
    width: 100%;
    height: 180px;
    margin-bottom: var(--space-3);
  }

  .credits-thumb-cell {
    width: auto;
  }
}


/* ── 22. SITE FOOTER ─────────────────────────────────────── */

.site-footer {
  background-color: var(--colour-forest);
  color: rgba(255,255,255,0.88);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-company-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #ffffff;
}

.footer-location {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-territory {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-territory-link {
  color: inherit;
  text-decoration: none;
}

.footer-territory-link:hover {
  color: rgba(255,255,255,0.75);
}

.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav li {
  display: flex;
  align-items: center;
}

.footer-nav li + li::before {
  content: '\00B7';
  color: rgba(255,255,255,0.3);
  padding: 0 var(--space-3);
  font-size: var(--text-base);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
}

@media (max-width: 767px) {
  .footer-nav a {
    font-size: var(--text-xs);
  }

  .footer-nav li + li::before {
    padding: 0 var(--space-2);
  }
}

.footer-cert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-cert-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(100deg) brightness(1.2) opacity(0.85);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-credits-link a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-credits-link a:hover,
.footer-credits-link a:focus-visible {
  color: #ffffff;
}


/* ── 23. REVEAL ANIMATIONS ───────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-child:nth-child(1) { transition-delay: 0ms; }
.reveal-child:nth-child(2) { transition-delay: 80ms; }
.reveal-child:nth-child(3) { transition-delay: 160ms; }
.reveal-child:nth-child(4) { transition-delay: 240ms; }
.reveal-child:nth-child(5) { transition-delay: 320ms; }
.reveal-child:nth-child(6) { transition-delay: 400ms; }
.reveal-child:nth-child(7) { transition-delay: 480ms; }
.reveal-child:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}