:root {
  --ink: #132019;
  --muted: #60716a;
  --forest: #0b5d45;
  --leaf: #2f8f64;
  --gold: #d49a24;
  --clay: #a95535;
  --navy: #14233a;
  --mist: #f4f7f1;
  --paper: #fffdf8;
  --line: rgba(19, 32, 25, 0.14);
  --shadow: 0 24px 70px rgba(20, 35, 58, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: white;
  background: linear-gradient(180deg, rgba(8, 18, 13, 0.82), rgba(8, 18, 13, 0.18));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 74px;
  height: 42px;
  border: 1px solid rgba(212, 154, 36, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: #050505;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

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

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.site-nav a[aria-current="page"] {
  color: #102118;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 34%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 23, 16, 0.86) 0%, rgba(6, 23, 16, 0.63) 38%, rgba(6, 23, 16, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 23, 16, 0.58), rgba(6, 23, 16, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: 150px clamp(22px, 7vw, 86px) clamp(72px, 12vw, 128px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 9vw, 7.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #102118;
  background: var(--gold);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.button.text-button {
  width: fit-content;
  margin-top: 12px;
  color: white;
  background: var(--forest);
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 150px clamp(20px, 7vw, 86px) 72px;
  color: white;
  background:
    linear-gradient(120deg, rgba(7, 28, 20, 0.94), rgba(20, 35, 58, 0.78)),
    url("/assets/images/school-outreach.jpg") center / cover;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3.4rem, 9vw, 7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.gallery-count {
  width: fit-content;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.stats-band {
  background: var(--navy);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1220px;
  margin: 0 auto;
}

.stats-grid article {
  min-height: 150px;
  padding: 30px clamp(18px, 3vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  max-width: 250px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 4vw, 42px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.section-copy p,
.agenda-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.portrait-panel {
  position: relative;
}

.portrait-panel img {
  width: 100%;
  min-height: 560px;
  max-height: 760px;
  object-fit: cover;
  object-position: 58% 28%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
  border-radius: 8px;
  padding: 18px;
  color: white;
  background: rgba(10, 28, 21, 0.82);
  backdrop-filter: blur(10px);
}

.profile-note span {
  color: rgba(255, 255, 255, 0.76);
}

.compact {
  padding-top: 40px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 950px;
}

.section-lede {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.muted-section {
  max-width: none;
  padding-right: max(20px, calc((100vw - 1220px) / 2 + 42px));
  padding-left: max(20px, calc((100vw - 1220px) / 2 + 42px));
  background: var(--mist);
}

.feature-grid,
.quiet-grid,
.principles-grid,
.priority-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(19, 32, 25, 0.08);
}

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

.feature-card div {
  padding: 24px;
}

.feature-card p,
.quiet-card p,
.principle-card p,
.priority-card p {
  color: var(--muted);
  line-height: 1.65;
}

.quiet-grid,
.priority-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quiet-card,
.principle-card,
.priority-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}

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

.principle-card {
  background: var(--mist);
}

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

.priority-card {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 1)),
    linear-gradient(135deg, rgba(47, 143, 100, 0.16), rgba(212, 154, 36, 0.12));
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--mist);
  color: #26453a;
  font-weight: 750;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.impact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(19, 32, 25, 0.08);
}

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

.impact-card div {
  padding: 24px;
}

.impact-card p,
.service-item p,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.agenda {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1220px) / 2 + 42px));
  padding-left: max(20px, calc((100vw - 1220px) / 2 + 42px));
  color: white;
  background:
    linear-gradient(135deg, rgba(11, 93, 69, 0.96), rgba(20, 35, 58, 0.96)),
    url("/assets/images/school-outreach.jpg") center / cover;
}

.agenda h2,
.agenda p {
  color: white;
}

.agenda-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-item {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.service-item p {
  color: rgba(255, 255, 255, 0.76);
}

.timeline-section {
  padding-bottom: 80px;
}

.home-journey {
  padding-top: clamp(58px, 8vw, 104px);
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--clay);
  font-weight: 900;
}

.gallery-section {
  padding: 86px clamp(20px, 4vw, 42px);
  background: var(--mist);
}

.gallery-section .section-heading,
.gallery {
  max-width: 1220px;
  margin-right: auto;
  margin-left: auto;
}

.section-cta {
  max-width: 1220px;
  margin: 28px auto 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 16px;
}

.gallery figure {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #dfe7df;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  color: white;
  font-weight: 760;
  background: linear-gradient(0deg, rgba(8, 18, 13, 0.82), rgba(8, 18, 13, 0));
}

.gallery-page-section {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 42px);
  background: var(--mist);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1380px;
  margin: 0 auto;
}

.gallery-grid figure {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #dfe7df;
  box-shadow: 0 14px 34px rgba(19, 32, 25, 0.08);
}

.gallery-grid figure:nth-child(9n + 1),
.gallery-grid figure:nth-child(9n + 6) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px;
  color: white;
  font-weight: 760;
  background: linear-gradient(0deg, rgba(8, 18, 13, 0.84), rgba(8, 18, 13, 0));
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 6vw, 80px);
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) clamp(20px, 4vw, 42px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: white;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2b3d35;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(19, 32, 25, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(212, 154, 36, 0.32);
  border-color: var(--gold);
}

.contact-form .button {
  width: 100%;
  border-radius: 8px;
}

.contact-phone {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  border-radius: 999px;
  padding: 0 18px;
  color: #102118;
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: #101912;
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 10px;
    background: rgba(9, 24, 17, 0.96);
  }

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

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero img {
    object-position: 70% 30%;
  }

  .stats-grid,
  .split,
  .agenda,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .impact-grid,
  .service-grid,
  .feature-grid,
  .quiet-grid,
  .priority-grid,
  .gallery,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure:first-child {
    grid-row: auto;
  }

  .gallery-grid figure:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-content {
    padding-top: 126px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .contact-form,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .portrait-panel img {
    min-height: 440px;
  }
}
