:root {
  --bg: #fffaf3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #1b1e2f;
  --muted: #5e6274;
  --line: rgba(27, 30, 47, 0.1);
  --blue: #3d7ff3;
  --yellow: #ffcf4d;
  --red: #ff6d60;
  --green: #2eb48f;
  --shadow: 0 28px 80px rgba(34, 36, 57, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(61, 127, 243, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 207, 77, 0.22), transparent 26%),
    linear-gradient(180deg, #fffaf6 0%, #f7f8ff 44%, #fef8ee 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.92));
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--blue);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.hero h1,
.legacy-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading h2,
.legacy-copy h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(255, 250, 243, 0.72);
  border-bottom: 1px solid rgba(27, 30, 47, 0.06);
}

.header-inner,
.hero-grid,
.story-grid,
.impact-grid,
.profile-grid,
.contact-grid,
.footer-inner,
.legacy-panel {
  display: grid;
  gap: 1.5rem;
}

.header-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 94px;
}

.brand-logo {
  width: 176px;
}

.site-nav {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary,
.nav-cta {
  color: white;
  background: linear-gradient(135deg, var(--blue), #2a57ce);
}

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

.button:hover,
.nav-cta:hover,
.site-nav a:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 3rem;
  height: 3rem;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 1.45rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 4.25rem 0 3rem;
}

.page-hero {
  padding: 4.25rem 0 3rem;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.85rem);
  max-width: 10.5ch;
}

.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  max-width: 12ch;
}

.hero-text,
.story-copy p,
.legacy-copy p,
.contact-copy p,
.impact-card p,
.path-card p,
.profile-card p,
.contact-card p,
.gallery-item figcaption,
.footer-meta p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  font-size: 1.09rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-facts,
.pathways-grid,
.gallery-grid,
.contact-cards {
  display: grid;
  gap: 1rem;
}

.hero-facts {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.hero-facts div,
.impact-card,
.path-card,
.profile-card,
.criteria-card,
.contact-card,
.gallery-item,
.legacy-panel {
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 1rem;
  border-radius: 22px;
}

.hero-facts strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  color: var(--blue);
}

.hero-facts span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.hero-photo-card,
.hero-badge {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  inset: 0 3rem 5rem 0;
}

.hero-photo-accent {
  right: 0;
  bottom: 0;
  width: 16rem;
  height: 16rem;
  border: 8px solid rgba(255, 255, 255, 0.85);
}

.hero-badge {
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: 17rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 207, 77, 0.96), rgba(255, 109, 96, 0.96));
  color: #2c1e18;
}

.hero-badge span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-badge strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.impact-strip {
  padding: 1rem 0 0;
}

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

.quick-access-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
}

.quick-card {
  padding: 1.7rem;
  border-radius: 30px;
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.quick-card h2,
.quick-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.quick-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.quick-card h3 {
  font-size: 1.7rem;
}

.quick-card p {
  color: var(--muted);
  line-height: 1.7;
}

.quick-card-soft {
  background:
    radial-gradient(circle at top right, rgba(255, 207, 77, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(247, 248, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 30, 47, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(61, 127, 243, 0.28);
}

.impact-card,
.path-card,
.profile-card,
.criteria-card,
.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.spotlight-card,
.doc-card,
.transparency-panel,
.governance-panel {
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.impact-label {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-weight: 800;
}

.transparency-panel {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(61, 127, 243, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 248, 255, 0.95));
}

.transparency-summary {
  padding: 1.4rem;
  border-radius: 26px;
  background: linear-gradient(140deg, #1c2751, #2a57ce);
  color: white;
}

.summary-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.transparency-summary strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
}

.transparency-summary p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.transparency-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.transparency-points div {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.transparency-points span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.transparency-points strong {
  display: block;
  color: var(--ink);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.spotlight-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.document-hub {
  display: grid;
  gap: 1.5rem;
}

.hub-toolbar,
.document-summary,
.document-table-wrap,
.empty-state {
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hub-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 30px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-chip {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 1px solid rgba(27, 30, 47, 0.1);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-chip.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #2a57ce);
}

.search-box {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 600;
}

.search-box input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0 1rem;
  border: 1px solid rgba(27, 30, 47, 0.12);
  border-radius: 18px;
  background: white;
  font: inherit;
  color: var(--ink);
}

.search-box input:focus {
  outline: 2px solid rgba(61, 127, 243, 0.22);
  border-color: rgba(61, 127, 243, 0.35);
}

.document-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 30px;
}

.summary-card {
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 248, 255, 0.94), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(27, 30, 47, 0.06);
}

.summary-kicker {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.summary-card strong {
  display: block;
  font-size: 2rem;
  color: var(--ink);
}

.summary-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.document-table-wrap {
  overflow: hidden;
  border-radius: 30px;
}

.document-table-head,
.document-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) 0.9fr 0.55fr 0.55fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.document-table-head {
  padding: 1rem 1.25rem;
  background: #f5f7fd;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.document-row {
  padding: 1.25rem;
  border-top: 1px solid rgba(27, 30, 47, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.document-row[hidden] {
  display: none;
}

.document-main h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.document-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.doc-pill,
.doc-year {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.doc-pill {
  background: rgba(61, 127, 243, 0.12);
  color: var(--blue);
}

.doc-year {
  background: rgba(46, 180, 143, 0.12);
  color: var(--green);
}

.document-year-cell,
.document-format-cell {
  font-weight: 700;
  color: var(--ink);
}

.document-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.document-actions-cell .button {
  min-height: 2.9rem;
  padding: 0 1rem;
}

.empty-state {
  padding: 2rem;
  border-radius: 28px;
  text-align: center;
}

.empty-state strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
}

.empty-state p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.governance-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 207, 77, 0.24), transparent 26%),
    linear-gradient(140deg, rgba(61, 127, 243, 0.1), rgba(46, 180, 143, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.governance-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.governance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.story-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.story-copy p + p,
.legacy-copy p + p {
  margin-top: 1rem;
}

.legacy-panel {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 207, 77, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(61, 127, 243, 0.08), rgba(46, 180, 143, 0.08)),
    rgba(255, 255, 255, 0.88);
}

.legacy-quote {
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(140deg, #1b1e2f, #263250);
  color: white;
}

.legacy-quote p {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  line-height: 1.4;
}

.legacy-quote span {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.pathways-grid {
  grid-template-columns: repeat(4, 1fr);
}

.path-card:nth-child(1) h3 {
  color: var(--blue);
}

.path-card:nth-child(2) h3 {
  color: var(--yellow);
}

.path-card:nth-child(3) h3 {
  color: var(--green);
}

.path-card:nth-child(4) h3 {
  color: var(--red);
}

.path-card h3,
.contact-card h3,
.criteria-card h3 {
  margin: 0 0 0.7rem;
}

.profile-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.criteria-card ul {
  padding-left: 1.15rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.gallery-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.gallery-item {
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 19rem;
  object-fit: cover;
}

.gallery-large {
  grid-row: span 2;
}

.gallery-large img {
  height: 100%;
  min-height: 39rem;
}

.gallery-item figcaption {
  padding: 1rem 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-cards {
  grid-template-columns: repeat(2, 1fr);
}

.site-footer {
  padding: 1rem 0 2.2rem;
}

.footer-inner {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.footer-meta {
  justify-self: end;
  max-width: 28rem;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-utility {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.footer-utility a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-utility a:hover {
  color: var(--ink);
}

.gallery-page-hero .page-hero-grid {
  align-items: stretch;
}

.gallery-hero-panel,
.gallery-hub,
.gallery-category-card,
.photo-card {
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.gallery-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 30px;
}

.gallery-hero-stat {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(61, 127, 243, 0.08), rgba(255, 255, 255, 0.94));
}

.gallery-hero-stat span,
.gallery-results-bar p,
.gallery-category-meta span,
.gallery-search-field span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-hero-stat strong,
.gallery-category-meta strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.24rem;
  line-height: 1.3;
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-category-card {
  position: relative;
  min-height: 21rem;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.gallery-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 26, 0.02), rgba(9, 12, 26, 0.82));
}

.gallery-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-category-meta {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  color: white;
}

.gallery-category-meta span {
  color: rgba(255, 255, 255, 0.74);
}

.gallery-category-meta strong {
  color: white;
}

.gallery-hub {
  display: grid;
  gap: 1.4rem;
  padding: 1.5rem;
  border-radius: 32px;
}

.gallery-toolbar,
.gallery-results-bar {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}

.gallery-hub-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gallery-toolbar-controls {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
}

.gallery-filter-list,
.gallery-results-bar {
  flex-wrap: wrap;
}

.gallery-filter-list {
  display: flex;
  gap: 0.65rem;
}

.gallery-chip {
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(27, 30, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.gallery-chip.is-active,
.gallery-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 127, 243, 0.35);
  background: rgba(61, 127, 243, 0.12);
  color: var(--ink);
}

.gallery-search-field {
  display: grid;
  gap: 0.45rem;
  min-width: min(100%, 20rem);
}

.gallery-search-field input {
  width: 100%;
  min-height: 3.1rem;
  padding: 0 1rem;
  border: 1px solid rgba(27, 30, 47, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  color: var(--ink);
}

.gallery-search-field input:focus {
  outline: 2px solid rgba(61, 127, 243, 0.24);
  outline-offset: 2px;
}

.gallery-reset {
  cursor: pointer;
}

.photo-masonry {
  column-count: 3;
  column-gap: 1rem;
  margin-top: 1.5rem;
}

.photo-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  border-radius: 24px;
  overflow: hidden;
  break-inside: avoid;
}

.photo-card-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.photo-card img {
  width: 100%;
  height: auto;
}

.photo-card figcaption {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1rem 1.1rem;
}

.photo-card .photo-category {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.photo-card .photo-caption {
  color: var(--muted);
  line-height: 1.55;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(100%, 1080px);
  max-height: calc(100vh - 3rem);
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.lightbox-figure figcaption {
  margin-top: 0.9rem;
  color: white;
  text-align: center;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.contact-page-panel,
.location-card,
.map-frame {
  border: 1px solid rgba(27, 30, 47, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.contact-page-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.location-grid {
  display: grid;
  gap: 1.4rem;
}

.location-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.25rem;
  padding: 1.35rem;
  border-radius: 30px;
}

.location-copy h3 {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.location-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.location-copy a {
  color: inherit;
}

.location-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.map-frame {
  min-height: 20rem;
  overflow: hidden;
  border-radius: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .header-inner,
  .hero-grid,
  .page-hero-grid,
  .impact-grid,
  .quick-access-grid,
  .spotlight-grid,
  .document-summary,
  .story-grid,
  .legacy-panel,
  .pathways-grid,
  .profile-grid,
  .gallery-grid,
  .contact-grid,
  .contact-cards,
  .governance-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(27, 30, 47, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .document-table-head {
    display: none;
  }

  .document-row {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-row: auto;
  }

  .gallery-large img {
    min-height: 22rem;
  }

  .footer-meta {
    justify-self: start;
  }

  .gallery-toolbar,
  .gallery-results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-toolbar-controls {
    justify-items: stretch;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .photo-masonry {
    column-count: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(1180px, calc(100vw - 1.25rem));
  }

  .section {
    padding: 4.4rem 0;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .page-hero {
    padding-top: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.4rem);
  }

  .brand-logo {
    width: 150px;
  }

  .hero-visual {
    min-height: 27rem;
  }

  .hero-photo-main {
    inset: 0 1.5rem 4rem 0;
  }

  .hero-photo-accent {
    width: 10.5rem;
    height: 10.5rem;
  }

  .hero-badge {
    left: 0.75rem;
    right: 4rem;
    max-width: none;
  }

  .gallery-item img {
    height: 15rem;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gallery-hub {
    padding: 1.1rem;
  }

  .gallery-category-card {
    min-height: 17rem;
  }

  .photo-masonry {
    column-count: 1;
  }

  .lightbox {
    padding: 1rem;
  }
}
