:root {
  --green-950: #1d3315;
  --green-800: #31551f;
  --green-700: #416f28;
  --green-500: #78a936;
  --green-300: #b8d77e;
  --green-100: #edf5df;
  --cream: #fbf8ef;
  --paper: #ffffff;
  --ink: #253022;
  --muted: #687064;
  --line: #dfe5d9;
  --duck-blue: #008fc9;
  --owl-orange: #d87522;
  --shadow: 0 20px 50px rgba(29, 51, 21, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--green-950);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid rgba(49, 85, 31, 0.1);
}

.header-inner {
  width: var(--page);
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 176px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--green-950);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:not(.nav-cta):hover,
nav a:not(.nav-cta):focus-visible {
  color: var(--green-700);
}

.nav-cta {
  padding: 11px 19px;
  color: white;
  background: var(--green-800);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 85% 10%, rgba(184, 215, 126, 0.34), transparent 28%),
    linear-gradient(135deg, #f7f1df 0%, #f2f6e7 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 94px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.card-kicker,
.setting-type {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--green-950);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.5vw, 5.65rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: #4f5d4b;
  font-size: 1.22rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 51, 21, 0.12);
}

.button-primary {
  color: white;
  background: var(--green-800);
}

.button-secondary {
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--green-300);
}

.enquiry-card {
  position: relative;
  padding: 38px;
  color: white;
  background: var(--green-800);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(49, 85, 31, 0.22);
}

.enquiry-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 19px;
  pointer-events: none;
}

.enquiry-card > * {
  position: relative;
}

.enquiry-card .card-kicker {
  color: var(--green-300);
}

.enquiry-card h2 {
  margin-bottom: 14px;
  color: white;
  font-size: 2.2rem;
}

.enquiry-card p:not(.card-kicker) {
  color: #e9f2e4;
}

.enquiry-card a {
  color: white;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.62;
}

.hero-shape-one {
  width: 290px;
  height: 290px;
  right: -120px;
  bottom: -130px;
  background: var(--green-300);
}

.hero-shape-two {
  width: 84px;
  height: 84px;
  left: 5%;
  top: 10%;
  border: 18px solid rgba(120, 169, 54, 0.2);
}

.quick-facts {
  color: white;
  background: var(--green-950);
}

.quick-facts-inner {
  width: var(--page);
  min-height: 124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.fact {
  padding: 22px 7%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.fact + .fact {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.fact strong {
  color: var(--green-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.25;
}

.fact span {
  color: #dce5d7;
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.section-heading {
  width: var(--page);
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.settings {
  background: var(--paper);
}

.settings-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.setting-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.setting-card-ducks {
  border-top: 8px solid var(--duck-blue);
}

.setting-card-owls {
  border-top: 8px solid var(--owl-orange);
}

.setting-logo {
  min-height: 190px;
  padding: 24px;
  display: grid;
  place-items: center;
  background: #fcfcf8;
  border-bottom: 1px solid var(--line);
}

.setting-logo img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.setting-content {
  padding: 38px;
}

.setting-content > p:not(.setting-type) {
  color: var(--muted);
}

.setting-card-ducks .setting-type {
  color: #0079aa;
}

.setting-card-owls .setting-type {
  color: #b55b12;
}

.details-list {
  margin: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.details-list div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.details-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
  font-weight: 700;
}

.button-blue {
  color: white;
  background: var(--duck-blue);
}

.button-orange {
  color: white;
  background: var(--owl-orange);
}

.text-link,
.ofsted-link {
  color: var(--green-800);
  font-weight: 800;
}

.ofsted-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.92rem;
}

.downloads {
  background: var(--cream);
}

.download-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  min-height: 290px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(29, 51, 21, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: var(--green-300);
  box-shadow: 0 20px 42px rgba(29, 51, 21, 0.12);
  transform: translateY(-4px);
}

.download-file {
  width: fit-content;
  margin-bottom: 24px;
  padding: 5px 10px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.download-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.download-card strong {
  color: var(--green-800);
  font-size: 0.9rem;
}

.funding {
  color: white;
  background: var(--green-800);
}

.funding-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 9vw, 120px);
}

.funding .eyebrow {
  color: var(--green-300);
}

.funding h2 {
  max-width: 480px;
  color: white;
}

.funding-copy {
  color: #e8f0e4;
  font-size: 1.08rem;
}

.funding-copy p:last-of-type {
  margin-bottom: 28px;
}

.button-light {
  color: var(--green-950);
  background: white;
}

.contact {
  background: var(--green-100);
}

.contact-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.contact-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-panel {
  padding: 42px;
  background: white;
  border: 1px solid rgba(49, 85, 31, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-panel address {
  margin-bottom: 24px;
  color: var(--muted);
  font-style: normal;
}

.contact-lines {
  border-top: 1px solid var(--line);
}

.contact-lines a,
.contact-lines p {
  margin: 0;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  color: var(--green-700);
}

.contact-lines span {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer {
  padding: 34px 0;
  color: #dbe5d6;
  background: #152710;
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-inner img {
  width: 180px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8rem;
}

.footer-note {
  color: var(--green-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem !important;
  font-style: italic;
  text-align: right;
}

:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 82px;
  }

  .brand img {
    width: 142px;
  }

  nav {
    gap: 18px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-inner,
  .funding-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .enquiry-card {
    max-width: 580px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }

  .contact-inner {
    max-width: 680px;
  }

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

  .footer-note {
    display: none;
  }
}

@media (max-width: 580px) {
  :root {
    --page: min(100% - 28px, 1160px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 124px;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 54px 0 60px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

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

  .enquiry-card,
  .setting-content,
  .contact-panel {
    padding: 28px;
  }

  .quick-facts-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .fact {
    padding: 16px 0;
  }

  .fact + .fact {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .setting-logo {
    min-height: 166px;
  }

  .setting-logo img {
    width: 140px;
    height: 140px;
  }

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

  .download-card {
    min-height: 0;
    padding: 26px;
  }

  .details-list div,
  .contact-lines a,
  .contact-lines p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
