﻿:root {
  --paper: #fff9ef;
  --cream: #fffdf7;
  --ink: #1d3440;
  --body: #2f3f46;
  --muted: #647176;
  --red: #f05a3d;
  --red-dark: #c9432e;
  --blue: #2185b9;
  --blue-soft: #e4f4fb;
  --green: #54ad46;
  --green-soft: #e9f6e3;
  --orange: #f79432;
  --yellow: #ffc943;
  --yellow-soft: #fff3c8;
  --line: rgba(29, 52, 64, 0.14);
  --shadow: 0 18px 44px rgba(29, 52, 64, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18px 18px, rgba(33, 133, 185, 0.06) 1.5px, transparent 2px) 0 0 / 36px 36px,
    var(--paper);
  color: var(--body);
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 400;
}

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

a {
  color: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 112px;
  height: 72px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
}

.site-nav a,
.services-toggle {
  padding: 10px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--body);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.services-toggle:hover,
.services-toggle:focus-visible,
.services-toggle[aria-current="page"] {
  background: var(--green-soft);
  outline: none;
}

.site-nav .nav-button {
  margin-left: 4px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 0 var(--red-dark);
}

.nav-dropdown {
  position: relative;
}

.services-toggle::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.16em) rotate(45deg);
}

.services-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  display: none;
  min-width: 230px;
  padding: 12px;
  border: 3px solid var(--orange);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.services-menu a {
  display: block;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-dropdown:hover .services-menu,
.nav-dropdown:focus-within .services-menu,
.nav-dropdown.is-open .services-menu {
  display: block;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fredoka", Arial, sans-serif;
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
}

h1 {
  max-width: 920px;
  color: var(--red);
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  line-height: 1.02;
}

h2 {
  color: var(--blue);
  font-size: clamp(1.65rem, 2.7vw, 2.65rem);
}

h3 {
  color: var(--green);
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
}

p {
  margin: 0;
}

p + p,
h2 + p,
h3 + p,
.copy-block p + p {
  margin-top: 16px;
}

h1 + p {
  margin-top: 24px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--red-dark);
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section {
  padding: clamp(36px, 4.5vw, 64px) clamp(18px, 6vw, 84px);
}

.section + .section {
  padding-top: clamp(20px, 3vw, 38px);
}

.clean-hero,
.page-hero {
  padding: clamp(32px, 4vw, 58px) clamp(18px, 6vw, 84px);
}

.clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: min(760px, calc(100vh - 98px));
}

.hero-copy p:not(.eyebrow),
.page-hero > p,
.copy-block,
.director p,
.content-card p,
.calm-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.director-copy {
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-family: "Fredoka", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 0 var(--red-dark);
}

.button.secondary {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(33, 133, 185, 0.18);
}

.hero-illustration {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 64px);
}

.hero-illustration img {
  width: min(460px, 100%);
  max-height: 440px;
  object-fit: contain;
}

.intro-grid,
.two-column,
.director,
.contact-layout,
.feature-story,
.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro-grid,
.two-column {
  grid-template-columns: 1fr;
  gap: 18px;
}

.intro-grid > div:first-child,
.two-column > div:first-child {
  max-width: 920px;
}

.intro-grid .copy-block,
.two-column .copy-block,
.two-column .calm-panel {
  max-width: 1100px;
  width: 100%;
}

.intro-grid .copy-block,
.two-column .copy-block {
  font-size: 1.12rem;
}

.intro-grid .copy-block {
  padding-left: clamp(18px, 2.4vw, 28px);
  text-align: left;
}

.copy-block,
.calm-panel,
.content-card,
form,
.area-card {
  border: 3px solid var(--red);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.area-card:nth-child(2),
.content-card:nth-child(2) {
  border-color: var(--blue);
}

.area-card:nth-child(3),
.content-card:nth-child(3) {
  border-color: var(--orange);
}

.area-card:nth-child(4) {
  border-color: var(--green);
}

.area-card:nth-child(2) h3,
.area-card:nth-child(2) a {
  color: var(--blue);
}

.area-card:nth-child(3) h3,
.area-card:nth-child(3) a {
  color: var(--orange);
}

.area-card:nth-child(4) h3,
.area-card:nth-child(4) a {
  color: var(--green);
}

.copy-block,
.calm-panel,
.content-card,
form {
  padding: clamp(22px, 4vw, 36px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 20px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.area-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 22px;
}

.logo-frame,
.page-logo {
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: 8px;
  background: transparent;
}

.logo-frame {
  height: 150px;
  margin-bottom: 18px;
}

.logo-frame img {
  width: 190px;
  height: 128px;
  object-fit: contain;
}

.area-card p {
  color: var(--muted);
  flex: 1;
  margin-top: 12px;
}

.area-card:first-child h3,
.area-card:first-child a {
  color: var(--red-dark);
}

.area-card a {
  margin-top: 18px;
  color: var(--red-dark);
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
}

.mission-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--green);
}

.mission-pair article {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.mission-pair h2,
.team h1,
.team h2,
.team h3 {
  color: var(--cream);
}

.mission-pair .eyebrow {
  color: #fff3c8;
}

.portrait-card {
  overflow: hidden;
  border: 3px solid var(--blue);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.feature-image {
  overflow: hidden;
  border: 3px solid var(--green);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.feature-image.wide-image img {
  aspect-ratio: 16 / 10;
}

.reverse-feature {
  background: linear-gradient(180deg, rgba(228, 244, 251, 0.54), rgba(255, 249, 239, 0));
}

.news-strip,
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue-soft);
}

.news-strip .button {
  min-height: 42px;
  padding: 8px 20px;
  font-size: 0.98rem;
}

.page-hero {
  background: linear-gradient(180deg, var(--cream), rgba(255, 249, 239, 0));
  min-height: 190px;
}

.page-hero.compact {
  min-height: 150px;
  padding-bottom: clamp(20px, 3vw, 34px);
}

.page-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 30px;
}

.page-hero > p:not(.eyebrow) + p {
  margin-top: 12px;
}

.page-hero + .section {
  padding-top: clamp(18px, 2.5vw, 30px);
}

.page-hero h1 {
  max-width: 860px;
}

.page-logo {
  width: min(260px, 64vw);
  height: 180px;
  margin-bottom: 26px;
  justify-items: start;
}

.page-logo img {
  width: 230px;
  height: 150px;
  object-fit: contain;
  object-position: left center;
  transform: translateX(-48px);
}

.blue-page {
  background: linear-gradient(180deg, var(--blue-soft), rgba(255, 249, 239, 0));
}

.green-page {
  background: linear-gradient(180deg, var(--green-soft), rgba(255, 249, 239, 0));
}

.contact-centres-hero {
  min-height: auto;
  padding-bottom: clamp(18px, 3vw, 32px);
}

.contact-centres-hero .page-logo {
  margin-bottom: 14px;
}

.contact-centres-hero > p:not(.eyebrow) {
  max-width: 930px;
}

.contact-tags {
  padding-top: 8px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.content-card h2 {
  color: var(--red);
}

.content-card:nth-child(2) h2 {
  color: var(--blue);
}

.content-card:nth-child(3) h2 {
  color: var(--orange);
}

.news-feature time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
  font-style: italic;
}

.news-list {
  display: grid;
  gap: 26px;
  padding-top: 24px;
}

.post-tile {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  overflow: hidden;
  border: 4px solid var(--red);
  border-radius: 42px;
  background: var(--cream);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-tiles {
  display: grid;
  gap: 26px;
}

.home-tile {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border: 4px solid var(--blue);
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-tile.yellow-tile {
  border-color: var(--yellow);
}

.home-tile.orange-tile {
  border-color: var(--orange);
}

.home-tile.image-first {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.home-tile-copy {
  padding: clamp(28px, 5vw, 64px);
}

.home-tile-copy h2 {
  margin-bottom: 18px;
  color: var(--blue);
}

.yellow-tile .home-tile-copy h2 {
  color: var(--orange);
}

.orange-tile .home-tile-copy h2 {
  color: var(--orange);
}

.tile-kicker {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
}

.home-tile-copy p:not(.tile-kicker) {
  color: #111;
  font-weight: 500;
}

.home-tile-image {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(14px, 2vw, 22px);
  background: #fff;
}

.home-tile-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}

.jobs-intro .copy-block {
  max-width: 1120px;
}

.role-section {
  padding-top: clamp(14px, 2vw, 28px);
  display: grid;
  gap: 26px;
}

.role-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  overflow: hidden;
  border: 4px solid var(--orange);
  border-radius: 36px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.role-main,
.role-details {
  padding: clamp(28px, 5vw, 56px);
}

.role-main {
  border-right: 4px solid var(--orange);
}

.role-main .button {
  margin-top: 22px;
}

.role-details {
  background: var(--yellow-soft);
}

.role-details h2 {
  color: var(--orange);
}

.role-tile.blue-role {
  border-color: var(--blue);
}

.role-tile.blue-role .role-main {
  border-color: var(--blue);
}

.role-tile.blue-role .role-details {
  background: var(--blue-soft);
}

.role-tile.blue-role .role-details h2 {
  color: var(--blue);
}

.application-section {
  padding-top: clamp(18px, 3vw, 34px);
}

.application-form {
  max-width: 980px;
}

.post-tile:hover,
.post-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(29, 52, 64, 0.16);
  outline: none;
}

.post-tile.blue-border {
  border-color: var(--blue);
}

.post-tile.green-border {
  border-color: var(--green);
}

.post-tile.orange-border {
  border-color: var(--orange);
}

.post-tile.orange-border .post-meta,
.post-tile.orange-border .post-content p,
.post-tile.orange-border h2 {
  color: var(--orange);
}

.fostering-layout {
  gap: clamp(36px, 5vw, 72px);
  padding-top: clamp(18px, 3vw, 34px);
}

.post-image {
  overflow: hidden;
  min-height: 280px;
  background: var(--blue-soft);
}

.post-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.post-image.portrait-news img {
  height: 100%;
  min-height: 0;
  object-position: center 22%;
}

.post-image.portrait-news {
  align-self: center;
  height: 320px;
  min-height: 320px;
  margin: clamp(18px, 3vw, 28px);
  border-radius: 28px;
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 42px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 600;
}

.post-content p {
  color: var(--green);
  font-size: 1.06rem;
  font-weight: 500;
}

.read-more,
.back-link {
  color: var(--red-dark);
  font-weight: 600;
}

.article-hero {
  padding-bottom: 34px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  text-decoration: none;
}

.article-layout {
  display: grid;
  gap: 28px;
}

.article-image,
.article-body {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.article-body {
  color: var(--muted);
}

.article-portrait {
  max-width: 520px;
  margin: 0 auto;
}

.article-portrait img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.q-and-a-story {
  background: linear-gradient(180deg, rgba(228, 244, 251, 0.52), rgba(255, 249, 239, 0));
}

.q-and-a-story .copy-block {
  max-width: 980px;
  margin: 0 auto;
}

.q-and-a-story h3 {
  margin-top: 32px;
  color: var(--blue);
}

.panel-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 18px;
}

.tag-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-panel span {
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--cream);
  border: 3px solid var(--green);
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
}

.tick-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #fff;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid rgba(29, 52, 64, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(33, 133, 185, 0.18);
}

.form-note {
  min-height: 1.5em;
  color: #2f7d2e;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr);
  gap: 10px 34px;
  align-items: end;
  padding: 34px clamp(18px, 6vw, 84px);
  border-top: 8px solid var(--orange);
  background: var(--cream);
  color: var(--body);
}

.site-footer img {
  width: 136px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-end;
  align-self: center;
  text-align: right;
}

.site-footer a {
  color: var(--blue);
  font-family: "Fredoka", Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--red);
  outline: none;
}

.footer-brand p,
.footer-contact,
.footer-contact address {
  color: var(--muted);
  font-style: normal;
}

.footer-contact {
  display: grid;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-items: end;
  text-align: right;
}

.copyright {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clean-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .services-toggle {
    border-radius: 8px;
  }

  .services-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown {
    width: 100%;
  }

  .services-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .nav-dropdown:hover .services-menu {
    display: none;
  }

  .nav-dropdown.is-open .services-menu,
  .nav-dropdown:focus-within .services-menu {
    display: block;
  }

  .intro-grid,
  .two-column,
  .director,
  .contact-layout,
  .feature-story,
  .news-feature,
  .mission-pair,
  .card-grid.two,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .news-strip,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-tile {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .home-tile,
  .home-tile.image-first {
    grid-template-columns: 1fr;
  }

  .home-tile.image-first .home-tile-image {
    order: 2;
  }

  .home-tile.image-first .home-tile-copy {
    order: 1;
  }

  .role-tile {
    grid-template-columns: 1fr;
  }

  .role-main {
    border-right: 0;
    border-bottom: 4px solid var(--orange);
  }

  .role-tile.blue-role .role-main {
    border-bottom-color: var(--blue);
  }

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

  .site-footer nav,
  .footer-contact,
  .copyright {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .brand img {
    width: 98px;
    height: 62px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .logo-frame {
    height: 132px;
  }
}

