:root {
  --ink: #17342e;
  --forest: #163d34;
  --forest-2: #235a4c;
  --lime: #a2cf59;
  --lime-bright: #fff000;
  --cream: #f5f1e7;
  --paper: #fffcf5;
  --orange: #fff000;
  --blue: #215c84;
  --muted: #67746e;
  --line: rgba(22, 61, 52, .16);
  --radius: 1.5rem;
  --shadow: 0 24px 70px rgba(18, 52, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.4rem, 8vw, 7.6rem); max-width: 900px; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.75rem, 5.5vw, 5.25rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; line-height: 1.2; }

.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;
}
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 100; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem clamp(1rem, 3vw, 3rem);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255, 252, 245, .93); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand img { object-fit: contain; }
.site-header .brand { padding: .28rem .45rem; background: white; border-radius: .65rem; }
.brand .brand-logo { width: min(190px, 42vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.5vw, 1.5rem); }
.site-nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
.site-nav a:not(.nav-cta):hover { color: var(--forest-2); }
.nav-cta { border: 1px solid var(--forest); border-radius: 999px; padding: .65rem 1rem; }
.nav-cta:hover { background: var(--forest); color: white; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 8.5rem clamp(1.25rem, 7vw, 8rem) 3rem;
  background:
    radial-gradient(circle at 80% 22%, rgba(184, 218, 56, .32), transparent 24rem),
    linear-gradient(145deg, #fffdf7 10%, #ecf2dd 100%);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--forest-2); font-weight: inherit; }
.hero-lede { max-width: 690px; font-size: clamp(1.15rem, 2vw, 1.5rem); color: #41554f; }
.eyebrow { color: var(--forest-2); font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 50px; padding: .78rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-2); transform: translateY(-2px); }
.button-bright { background: var(--lime-bright); color: var(--forest); }
.button-bright:hover { background: white; transform: translateY(-2px); }
.button-light { background: var(--forest); color: white; }
.button-light:hover { background: var(--forest-2); }
.button-outline { border: 1px solid var(--forest); color: var(--forest); }
.button-outline:hover { background: rgba(22, 61, 52, .08); }
.text-link { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-link:hover { color: var(--forest-2); }
.hero-proof { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; gap: 1rem; margin-top: 5rem; }
.hero-proof div { border-top: 1px solid var(--line); padding-top: 1rem; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-family: "Newsreader", serif; font-size: 1.5rem; }
.hero-proof span { color: var(--muted); font-size: .82rem; }
.hero-orbit { position: absolute; border: 1px solid rgba(35, 90, 76, .14); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 55vw; height: 55vw; min-width: 560px; min-height: 560px; right: -18vw; top: 4vh; }
.orbit-two { width: 34vw; height: 34vw; min-width: 340px; min-height: 340px; right: -6vw; top: 15vh; }
.orbit-two::after { content: ""; position: absolute; left: 8%; top: 12%; width: 24px; height: 24px; background: var(--lime-bright); border-radius: 50%; box-shadow: 0 0 0 12px rgba(255,240,0,.16); }
.hero-leaves { position: absolute; z-index: 1; right: clamp(4rem, 12vw, 12rem); top: 18%; width: clamp(100px, 12vw, 170px); height: auto; padding: .55rem; background: white; border: 1px solid rgba(22,61,52,.08); border-radius: 1rem; box-shadow: 0 18px 40px rgba(18,52,45,.1); opacity: .94; transform: rotate(5deg); }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section-label { display: inline-block; padding-bottom: .35rem; border-bottom: 1px solid currentColor; color: var(--muted); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 3rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.about-copy { font-size: 1.05rem; color: #4d5e59; }
.about-copy .lead { color: var(--ink); font-size: 1.3rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; border-top: 1px solid var(--line); }
.values-grid article { padding: 2rem 2.5rem 1rem 0; }
.values-grid article + article { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.values-grid span { color: var(--forest-2); font-size: .75rem; font-weight: 700; }
.values-grid h3 { margin: .7rem 0 .4rem; }
.values-grid p { color: var(--muted); margin: 0; }

.current-project { background: var(--forest); color: white; }
.current-project .section-label, .current-project .section-heading > p { color: rgba(255,255,255,.66); }
.current-project .eyebrow { color: var(--lime-bright); }
.perseid-photo { margin: 0 0 2rem; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.perseid-photo img { width: 100%; height: clamp(340px, 56vw, 680px); object-fit: cover; object-position: center; }
.perseid-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: var(--radius); background: #f8f5e9; color: var(--ink); box-shadow: var(--shadow); }
.perseid-card h3 { font-family: "Newsreader", serif; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.perseid-intro, .perseid-mission { padding: clamp(2rem, 5vw, 5rem); }
.perseid-intro { position: relative; background: var(--forest-2); color: white; }
.perseid-intro > img { width: 92px; height: auto; margin-bottom: 2rem; border-radius: .7rem; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.perseid-intro > p { color: rgba(255,255,255,.74); }
.perseid-mission p { color: #52635d; }
.perseid-mission .eyebrow { color: var(--forest-2); }
.curriculum { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); margin-top: 2rem; padding: clamp(2.5rem, 5vw, 5rem); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.curriculum h3 { font-family: "Newsreader", serif; font-size: clamp(2rem, 3.3vw, 3.4rem); }
.curriculum > div:last-child p { color: rgba(255,255,255,.72); }
.curriculum .text-link:hover { color: var(--lime-bright); }

.projects { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 1.05rem; }
.project-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.project-image { min-height: 440px; display: grid; place-items: center; background: #fff; padding: clamp(2rem, 5vw, 5rem); }
.project-image img { width: 100%; max-height: 100%; object-fit: contain; }
.hardball-image { padding: 0; background: #dfd8bd; }
.hardball-image img { height: 100%; object-fit: cover; object-position: 64% center; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.project-copy h3 { font-family: "Newsreader", serif; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.project-copy p { color: var(--muted); }
.project-copy .text-link { margin-top: 1rem; align-self: flex-start; }
.project-belief { border-left: 2px solid var(--lime); padding-left: 1rem; }
.archive-note { margin: 1rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag { align-self: flex-start; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; margin-bottom: 1.2rem; color: var(--forest-2); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sponsorship { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 5rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--forest); color: white; border-radius: var(--radius); }
.sponsorship h3 { font-family: "Newsreader", serif; font-size: clamp(2rem, 3vw, 3rem); }
.sponsorship p { color: rgba(255,255,255,.72); }
.tag-light { color: var(--lime-bright); border-color: rgba(255,255,255,.25); }
.sponsor-project { display: flex; flex-direction: column; justify-content: center; padding: 1rem; background: rgba(255,255,255,.07); border-radius: 1rem; }
.sponsor-project img { width: 100%; margin-bottom: 1.5rem; }

.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--paper); padding: clamp(2rem, 4vw, 3.5rem); }
.person-monogram { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 2.5rem; border-radius: 50%; background: var(--lime-bright); color: var(--forest); font-family: "Newsreader", serif; font-size: 1.3rem; }
.person h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.person .role { color: var(--forest-2); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.person > p:last-child { color: var(--muted); max-width: 54ch; }

.contact { padding-top: 2rem; }
.contact-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: center; padding: clamp(2.5rem, 7vw, 7rem); background: var(--orange); color: #1d2e29; border-radius: var(--radius); }
.contact-panel h2 { max-width: 800px; }
.contact-panel > div:first-child > p:last-child { max-width: 650px; font-size: 1.12rem; }
.contact-action { padding-left: 2rem; border-left: 1px solid rgba(29,46,41,.25); }
.contact-action p { margin-bottom: 1.5rem; }
.contact-action a:not(.button) { font-weight: 700; text-underline-offset: .2em; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 3rem clamp(1.25rem, 7vw, 8rem); color: var(--muted); }
.site-footer p { margin: 0; font-size: .85rem; }
.brand-footer { color: var(--ink); }
.brand-footer .footer-wordmark { width: 210px; height: auto; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 74px; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .65rem .5rem; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: block; }
  .about-grid, .section-heading, .project-card, .perseid-card, .curriculum, .contact-panel { grid-template-columns: 1fr; }
  .project-card { min-height: auto; }
  .project-hardball .project-copy { order: 2; }
  .project-hardball .project-image { order: 1; }
  .project-image { min-height: 320px; }
  .sponsorship { grid-template-columns: 1fr; gap: 2rem; }
  .contact-action { padding: 2rem 0 0; border-left: 0; border-top: 1px solid rgba(29,46,41,.25); }
  .site-footer { grid-template-columns: 1fr; }
  .hero-leaves { right: 2rem; top: 14%; opacity: .32; }
}

@media (max-width: 620px) {
  .hero { padding-top: 7rem; }
  .hero-leaves { display: none; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 3rem; }
  .hero-proof div { display: grid; grid-template-columns: 1fr 1fr; }
  .values-grid, .people-grid { grid-template-columns: 1fr; }
  .values-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .project-image { min-height: 250px; padding: 2rem; }
  .hardball-image { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
