@charset "UTF-8";
@import url("home.css");

/* Secondary-page entry point: load after main.css and opt in with
   body class="home inner-page". The existing .home class is the Hybrid
   theme hook: import its palette, type, spacing, header, navigation,
   buttons, cards, footer and breakpoints rather than copying those rules.
   Nothing here is loaded by index.html. Add page-specific classes as needed. */
.inner-page main { overflow-wrap: break-word; }
.inner-page .brand-txt { max-width: 215px; }
.inner-page .brand-txt b { font-size: 21px; line-height: 1.15; }
.inner-page .brand-txt span { font-size: 9px; }
.inner-page .pagehead { isolation: isolate; background: var(--soil); }
.inner-page .pagehead img.bg { opacity: .8; object-position: center 58%; z-index: -2; }
.inner-page .pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 32, 27, .9), rgba(10, 32, 27, .3)),
    linear-gradient(0deg, rgba(10, 32, 27, .4), transparent);
}
.inner-page .pagehead .inner { padding-block: clamp(55px, 7vw, 96px); }
.inner-page .pagehead h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.025em; margin-bottom: 24px; }
.inner-page .pagehead p { font-size: clamp(14px, 1.4vw, 17px); line-height: 1.85; }
.inner-page .crumbs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; font-family: var(--body); font-size: 11px; letter-spacing: .025em; color: var(--gravel); }
.inner-page .crumbs a { padding-block: 8px; }
.inner-page .crumbs a:hover { color: var(--salt); }
.inner-page .crumbs > [aria-hidden] { color: var(--khulan); }
.inner-page .split > *, .inner-page .orgchart > * { min-width: 0; }
.inner-page .about-history p:not(.eyebrow) { font-size: 15px; line-height: 1.95; }
.inner-page .about-history .lede { font-size: 18px; line-height: 1.8; border-left: 2px solid var(--khulan); padding-left: 22px; margin-block: 26px; }
.inner-page .history-visual { align-self: center; }
.inner-page .map-card { padding: clamp(16px, 2vw, 28px); background: var(--gravel); border: 1px solid var(--line-soft); }
.inner-page .map-card img { background: var(--salt); }
.inner-page .gallery { gap: 24px; }
.inner-page .gallery figure { min-width: 0; }
.inner-page .gallery figure img { aspect-ratio: auto; height: auto; object-fit: contain; background: var(--salt); }
.inner-page .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; align-items: start; }
.inner-page .archive-gallery figure { padding: 18px; background: var(--salt); border: 1px solid var(--line-soft); }
.inner-page .archive-gallery figure:first-child { grid-column: 1 / -1; padding: 0 0 18px; }
.inner-page .archive-gallery figure:first-child figcaption { margin-inline: 18px; }
.inner-page .mission { background: var(--soil); color: var(--salt); position: relative; }
.inner-page .mission .wrap { text-align: center; max-width: 1000px; }
.inner-page .mission .eyebrow { color: var(--khulan); justify-content: center; font-weight: 400; font-size: 11px; margin-bottom: 30px; }
.inner-page .mission .eyebrow::after { display: none; }
.inner-page .mission-statement { font-family: var(--display); font-weight: 500; font-size: clamp(25px, 3.3vw, 42px); line-height: 1.45; text-wrap: pretty; }
.inner-page .organization-section h2 { max-width: 24ch; margin-bottom: 38px; }
.inner-page .orgchart { gap: 24px; }
.inner-page .unit { padding: clamp(24px, 3vw, 40px); background: var(--gravel); border: 0; border-top: 2px solid var(--khulan); }
.inner-page .unit h3 { font: 600 clamp(22px, 2.2vw, 29px)/1.2 var(--display); text-transform: none; letter-spacing: 0; margin-bottom: 25px; }
.inner-page .ticks { gap: 14px; font-size: 14px; }
.inner-page .organization-note { margin-block: 34px; background: var(--gravel); line-height: 1.9; }
.inner-page .activity-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; align-items: start; }
.inner-page .lightbox figcaption { color: rgba(250, 250, 247, .8); }
.inner-page .btn.solid { background: var(--khulan); border-color: var(--khulan); color: var(--ink); }
.inner-page .btn.solid:hover { background: var(--gravel); }
/* Activity cards reuse the Hybrid palette and shared page shell. */
.activities-page .activity-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
  align-items: start;
}
.activities-page .activity-cards .activity-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  min-width: 0;
  background: var(--gravel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--khulan);
}
.activities-page .activity-card > div { padding: clamp(22px, 3vw, 36px); }
.activities-page .activity-card figure { min-width: 0; }
.activities-page .activity-card figure img { aspect-ratio: auto; object-fit: contain; }
.activities-page .activity-card figcaption { margin-inline: 22px; }
.activities-page .activity-card .meta { font: 11px/1.7 var(--body); letter-spacing: .025em; color: #78613e; margin-bottom: 16px; }
.activities-page .activity-card h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.25; margin-bottom: 22px; }
.activities-page .activity-card p:not(.meta) { font-size: 14px; line-height: 1.9; }
.activities-page .activity-card > div > :last-child { margin-bottom: 0; }
.activities-page .activities-note { margin-top: 38px; background: var(--gravel); line-height: 1.9; }
@media (max-width: 859px) {
  .activities-page .activity-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .inner-page .pagehead h1 { animation: home-enter .8s both; }
}
@media (min-width: 1151px) and (max-width: 1280px) {
  .inner-page .masthead .wrap { gap: 16px; }
  .inner-page .brand-txt { max-width: 175px; }
  .inner-page .brand-txt b { font-size: 18px; }
  .inner-page .nav a, .inner-page .nav .sub-btn { padding-inline: 7px; font-size: 11px; }
}
@media (max-width: 859px) {
  .inner-page .history-visual { max-width: 650px; width: 100%; }
  .inner-page .about-history h2 { max-width: 25ch; }
}
@media (max-width: 540px) {
  .inner-page .brand { min-width: 0; flex-shrink: 1; }
  .inner-page .brand-txt { max-width: 175px; }
  .inner-page .brand-txt b { font-size: 17px; }
  .inner-page .brand-txt span { font-size: 8px; letter-spacing: .02em; }
  .inner-page .navtoggle { flex-shrink: 0; }
  .inner-page .nav .sub { min-width: 0; }
  .inner-page .nav a { white-space: normal; }
  .inner-page .pagehead h1 { font-size: clamp(40px, 11vw, 58px); }
  .inner-page .about-history .lede { font-size: 17px; }
  .inner-page .archive-gallery, .inner-page .activity-gallery { grid-template-columns: 1fr; }
  .inner-page .gallery figcaption { font-size: 11px; }
}
