@font-face {
  font-family: Instrument Serif;
  src: url('/assets/instrument-serif.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url('/assets/dm-sans-regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url('/assets/dm-sans-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --ink: #182622;
  --green: #213b34;
  --mint: #c4d7cc;
  --cream: #f7f0de;
  --rust: #9b4322;
  --muted: #53635b;
  --line: #cbd1c5;
  --serif: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 Roboto, 'DM Sans', system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #c15930; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font: 400 2.1rem/1 var(--serif); }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; padding: .7rem; background: var(--cream); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.top, footer { background: var(--green); color: var(--cream); }
.top-inner, nav, .brand { display: flex; align-items: center; }
.top-inner { min-height: 76px; justify-content: space-between; gap: 18px; }
.brand { gap: 10px; font: 1.75rem/1 var(--serif); white-space: nowrap; text-decoration: none; }
.brand img { width: 45px; height: auto; }
nav { gap: clamp(12px, 3vw, 30px); flex-wrap: wrap; }
nav a { font-size: .875rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  margin-block: 24px 20px;
  min-height: 400px;
  overflow: hidden;
  color: var(--cream);
  background: var(--green);
  border-radius: 22px;
}
.hero-copy { align-self: center; padding: clamp(26px, 5.5vw, 68px); }
.eyebrow { color: #b9ddca; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: .45rem 0 .9rem; font-size: clamp(3.8rem, 7.5vw, 7.1rem); letter-spacing: -.035em; line-height: .89; }
.hero-copy > p:last-of-type { color: #e7eee8; max-width: 34ch; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 10px 27px; margin-top: 22px; color: var(--ink); background: #b9ddca; font-weight: 700; border-radius: 40px; text-decoration: none; }
.button:hover { background: #e1eee4; }
.hero-visual { position: relative; min-width: 0; min-height: 400px; margin: 0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-sign {
  position: absolute;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--mint);
  border-radius: 10px;
  background: var(--green);
  color: var(--cream);
}
.hero-sign img { width: clamp(52px, 7vw, 78px); height: auto; }
.hero-sign p { font: 400 clamp(1.4rem, 2.9vw, 2.25rem)/1 var(--serif); }

.activities { padding-block: 0 10px; }
.activities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.activity-card { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; padding: 14px 20px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf6; }
.activity-visual { display: grid; place-items: center; width: 100%; height: 110px; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.activity-visual img { width: auto; height: auto; max-height: 100%; }
.club .activity-visual { background: #3b5952; }
.club .activity-visual img { width: min(70%, 174px); }
.school .activity-visual { background: #c4d7cc; }
.school .activity-visual img { max-height: 96px; }
.events .activity-visual { background: #edccae; }
.events .activity-visual img { max-height: 100px; }
.activities h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); }
.activities p { margin-block: .6rem .4rem; max-width: 32ch; color: var(--muted); }
.activities a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; }
.story { display: grid; grid-template-columns: .85fr 1fr; gap: 30px; padding-block: 64px; border-bottom: 1px solid var(--line); }
.story-copy { max-width: 62ch; }
.story p + p { margin-top: .9rem; }
.story h2, .team > h2 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.team { padding-block: 48px 64px; }
.team-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; align-items: start; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: var(--mint); }
.person h3 { margin-top: 9px; }
.role { color: var(--muted); font-size: .9rem; margin-top: 4px; }
summary { cursor: pointer; font-weight: 700; }
.person summary { display: list-item; padding-block: 11px; min-height: 44px; font-size: .9rem; }
.person details p { margin-bottom: 8px; }
.team-gallery { margin-top: 26px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; max-height: 580px; object-fit: contain; background: var(--mint); }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(220px, .65fr); padding-block: 36px; gap: 28px; }
.footer-inner h2 { margin-bottom: 14px; }
dl { margin: 0 0 12px; }
dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #ffffff40; padding-block: 5px; }
dd { margin: 0; white-space: nowrap; }
footer a { display: inline-block; padding-block: 5px; }

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { align-items: start; justify-content: center; gap: 3px; padding-block: 8px; flex-direction: column; }
  .brand img { width: 34px; }
  nav a { padding-block: 8px; }
  .hero { grid-template-columns: 1fr; margin-block: 14px 16px; min-height: 0; border-radius: 15px; }
  .hero-copy { padding: 22px 20px; }
  .hero-visual { min-height: clamp(225px, 55vw, 315px); }
  .activities-grid, .story, .footer-inner { grid-template-columns: 1fr; }
  .activity-card { display: grid; grid-template-columns: clamp(80px, 25vw, 115px) minmax(0, 1fr); column-gap: 13px; padding: 12px; }
  .activity-visual { grid-row: 1 / span 3; height: 100%; min-height: 88px; margin: 0; }
  .activity-visual img { max-width: 90%; }
  .activities p { margin-block: .35rem 0; }
  .story { gap: 14px; padding-block: 38px; }
  .team { padding-block: 34px 40px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 12px; }
  .footer-inner { gap: 16px; }
}
