:root {
  --bg: #f5efe4;
  --bg-strong: #efe5d6;
  --paper: rgba(255, 252, 247, 0.82);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 34, 45, 0.12);
  --line-strong: rgba(17, 34, 45, 0.18);
  --text: #132531;
  --muted: #5b6975;
  --accent: #0f6d70;
  --accent-strong: #0a5052;
  --warm: #b67642;
  --shadow: 0 26px 60px rgba(14, 32, 45, 0.12);
  --shadow-soft: 0 18px 36px rgba(14, 32, 45, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 109, 112, 0.15), transparent 30%),
    radial-gradient(circle at top right, rgba(182, 118, 66, 0.12), transparent 26%),
    linear-gradient(180deg, #f7f1e7 0%, #f5efe4 30%, #f3eadc 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.anchor {
  position: relative;
  top: calc(var(--header-height) * -1);
  visibility: hidden;
}

.page-aura {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.75;
  z-index: 0;
}

.page-aura--one {
  width: 340px;
  height: 340px;
  left: -120px;
  top: 140px;
  background: rgba(15, 109, 112, 0.08);
}

.page-aura--two {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 460px;
  background: rgba(182, 118, 66, 0.08);
}

.site-shell {
  padding-top: calc(var(--header-height) + 18px);
}

.page-main {
  position: relative;
  z-index: 1;
  padding: 0 18px 56px;
}

.page-main--inner {
  padding-top: 12px;
}

.section-shell {
  width: min(var(--container), 100%);
  margin: 0 auto 22px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 251, 245, 0.84));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.section-shell--compact {
  padding-top: 28px;
  padding-bottom: 28px;
}

.section-shell--contact {
  padding-top: 32px;
}

.section-shell--journal {
  background:
    radial-gradient(circle at top right, rgba(15, 109, 112, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(182, 118, 66, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(246, 240, 232, 0.96));
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-heading--row {
  max-width: none;
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2,
.inner-hero h1,
.policy-page h1,
.article-hero h1,
.site-footer__title,
.featured-story__body h2,
.contact-card h2,
.form-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.section-link {
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.section-link:hover {
  transform: translateY(-2px);
  background: rgba(15, 109, 112, 0.08);
}

.richtext {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.richtext > *:first-child {
  margin-top: 0;
}

.richtext > *:last-child {
  margin-bottom: 0;
}

.richtext p,
.richtext ul,
.richtext ol,
.richtext blockquote,
.richtext object {
  margin: 0 0 16px;
}

.richtext ul,
.richtext ol {
  padding-left: 22px;
}

.richtext h2,
.richtext h3,
.richtext h4 {
  color: var(--text);
  margin: 26px 0 14px;
  font-size: 1.4rem;
}

.richtext a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 32, 45, 0.12);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0a5355 100%);
  color: #fff;
}

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

.button--wide {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 18px;
  right: 18px;
  z-index: 20;
  transition: top 0.26s ease, left 0.26s ease, right 0.26s ease;
}

.site-header__inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.74);
  border: 1px solid rgba(17, 34, 45, 0.08);
  box-shadow: 0 12px 34px rgba(15, 31, 42, 0.08);
  backdrop-filter: blur(20px);
  transition:
    background-color 0.26s ease,
    box-shadow 0.26s ease,
    border-radius 0.26s ease,
    width 0.26s ease,
    max-width 0.26s ease,
    padding 0.26s ease;
}

.site-header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 252, 248, 0.9);
  width: 100%;
  max-width: none;
  padding: 14px clamp(18px, 3vw, 30px);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 14px 30px rgba(15, 31, 42, 0.1);
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.site-brand__eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-brand__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  line-height: 0.9;
}

.site-nav__list {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav__list a,
.site-header__link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-header__link:hover {
  color: var(--text);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.site-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 24, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__panel {
  margin-left: auto;
  width: min(420px, 100%);
  min-height: 100%;
  padding: 26px 22px;
  background: linear-gradient(180deg, #fffdfa, #f4ede1);
  box-shadow: -12px 0 40px rgba(14, 32, 45, 0.12);
}

.mobile-nav__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.mobile-nav__eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.mobile-nav__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.mobile-nav__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mobile-nav__list a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-weight: 600;
}

.hero-section {
  overflow: hidden;
}

.hero-section__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.hero-summary {
  max-width: 640px;
  margin-top: 20px;
  font-size: 18px;
}

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

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 34, 45, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-portrait-card {
  position: relative;
  padding: 18px;
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(243, 233, 220, 0.92));
  border: 1px solid rgba(17, 34, 45, 0.08);
  box-shadow: var(--shadow);
}

.hero-portrait-card__media {
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  aspect-ratio: 0.88;
}

.hero-portrait-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-portrait-card__note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(17, 34, 45, 0.82);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(14, 32, 45, 0.22);
}

.hero-portrait-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-portrait-card__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.institution-grid,
.feature-grid,
.project-grid,
.post-grid,
.archive-grid,
.impact-card__stats,
.gallery-grid,
.contact-grid,
.science-grid {
  display: grid;
  gap: 18px;
}

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

.institution-card,
.feature-card,
.story-card,
.impact-card,
.project-card,
.science-card,
.post-card,
.contact-card,
.form-card,
.featured-story,
.archive-card,
.article-sidecard,
.policy-page {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.institution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  min-height: 180px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.institution-card:hover,
.project-card:hover,
.post-card:hover,
.archive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 109, 112, 0.24);
}

.institution-card__logo {
  height: 64px;
  display: flex;
  align-items: center;
}

.institution-card__logo img {
  max-height: 100%;
  width: auto;
}

.institution-card__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

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

.feature-card {
  padding: 24px;
}

.feature-card--contrast {
  background:
    radial-gradient(circle at top right, rgba(15, 109, 112, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(246, 250, 248, 0.98), rgba(236, 244, 241, 0.98));
  color: var(--text);
  border-color: rgba(15, 109, 112, 0.18);
}

.feature-card--contrast .feature-card__eyebrow,
.feature-card--contrast h3,
.feature-card--contrast .richtext,
.feature-card--contrast .document-list a {
  color: var(--text);
}

.feature-card--contrast .feature-card__eyebrow {
  color: var(--accent-strong);
}

.feature-card--contrast .richtext {
  color: var(--muted);
}

.feature-card--contrast .document-list a {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 109, 112, 0.14);
}

.feature-card--contrast .document-list a:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 109, 112, 0.22);
}

.feature-card__eyebrow,
.featured-story__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card h3,
.story-card h3,
.impact-card h3,
.project-card h3,
.science-card h3,
.post-card h3,
.archive-card h3,
.featured-story__body h2,
.article-sidecard h2 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
  font-family: "Cormorant Garamond", serif;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.section-heading > div,
.project-card__body,
.post-card__body,
.archive-card__body,
.featured-story__body,
.science-card__content,
.contact-card,
.form-card,
.feature-card,
.story-card,
.impact-card {
  min-width: 0;
}

.feature-card__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
}

.feature-card__footer--plain {
  border-top-color: var(--line);
}

.document-list,
.contact-card__links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.document-list a,
.contact-card__links a {
  display: block;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.45;
}

.feature-card:not(.feature-card--contrast) .document-list a,
.contact-card__links a {
  background: rgba(15, 109, 112, 0.06);
  border-color: rgba(15, 109, 112, 0.12);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
}

.story-card,
.impact-card,
.contact-card,
.form-card,
.article-sidecard {
  padding: 28px;
}

.story-card__head,
.impact-card__head {
  margin-bottom: 18px;
}

.impact-card {
  position: relative;
  overflow: hidden;
}

.impact-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(15, 109, 112, 0.16), transparent 62%);
}

.impact-card__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.impact-stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.impact-stat__value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 0.9;
  margin-bottom: 8px;
}

.impact-stat__label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.impact-card__quote,
.article-quote {
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(17, 34, 45, 0.92);
  color: rgba(255, 255, 255, 0.92);
}

.impact-card__quote p,
.article-quote p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

.impact-card__quote footer,
.article-quote footer {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

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

.project-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.project-card__logo {
  min-height: 118px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 109, 112, 0.08), rgba(182, 118, 66, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.project-card__body .richtext {
  font-size: 15px;
}

.science-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: stretch;
}

.science-card {
  padding: 26px;
}

.science-card__content {
  margin-bottom: 20px;
}

.science-card__links {
  display: grid;
  gap: 10px;
}

.science-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 109, 112, 0.06);
  border: 1px solid rgba(15, 109, 112, 0.12);
  font-size: 14px;
  line-height: 1.45;
}

.science-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.science-visual__frame {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 109, 112, 0.16), rgba(182, 118, 66, 0.16));
  box-shadow: var(--shadow-soft);
}

.science-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.post-card,
.archive-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.section-shell--journal .post-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 34, 45, 0.08);
  box-shadow: 0 18px 38px rgba(14, 32, 45, 0.08);
  height: 100%;
}

.journal-slider {
  position: relative;
}

.journal-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.journal-slider__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(17, 34, 45, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #182630;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

.journal-slider__nav:hover:not([disabled]) {
  transform: translateY(-2px);
  border-color: rgba(15, 109, 112, 0.22);
  background: rgba(255, 255, 255, 1);
}

.journal-slider__nav[disabled] {
  opacity: 0.42;
  cursor: default;
}

.journal-slider__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.journal-slider__viewport::-webkit-scrollbar {
  display: none;
}

.journal-slider__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: stretch;
  scroll-snap-align: start;
}

.journal-slider__slide--single {
  grid-template-columns: minmax(0, 1fr);
}

.journal-slider__card {
  min-width: 0;
}

.post-card__image,
.archive-card__image,
.featured-story__image {
  display: block;
  min-height: 240px;
  background: rgba(15, 109, 112, 0.08);
}

.section-shell--journal .post-card__image {
  background: linear-gradient(180deg, rgba(15, 109, 112, 0.06), rgba(182, 118, 66, 0.08));
}

.journal-slider__slide .post-card--featured .post-card__image {
  min-height: 320px;
}

.journal-slider__slide .post-card:not(.post-card--featured) .post-card__image {
  min-height: 220px;
}

.post-card__image img,
.archive-card__image img,
.featured-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body,
.archive-card__body,
.featured-story__body {
  padding: 22px;
}

.section-shell--journal .post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  min-height: 100%;
}

.post-card__meta,
.archive-card__meta,
.featured-story__meta,
.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.section-shell--journal .post-card__meta {
  margin-bottom: 0;
  color: rgba(91, 105, 117, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h3,
.archive-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.section-shell--journal .post-card h3 {
  margin-bottom: 0;
  color: #182630;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.02;
}

.journal-slider__slide .post-card--featured h3 {
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 0.98;
}

.post-card h3 a:hover,
.archive-card h3 a:hover,
.featured-story__body h2 a:hover {
  color: var(--accent-strong);
}

.post-card p,
.archive-card p,
.featured-story__body p,
.article-sidecard p,
.inner-hero__text,
.form-card__intro,
  .contact-card__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-shell--journal .post-card .richtext {
  font-size: 15px;
  line-height: 1.7;
}

.section-shell--journal .post-card .richtext p {
  color: #4f5d69;
}

.post-card__link,
.archive-card__link,
.article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.section-shell--journal .post-card__link {
  margin-top: auto;
  padding-top: 4px;
  color: #182630;
}

.section-shell--journal .post-card__link:hover {
  color: var(--accent-strong);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  align-items: start;
}

.contact-card__image {
  margin: 22px 0;
  border-radius: 24px;
  overflow: hidden;
}

.contact-card__image img {
  width: 100%;
  object-fit: cover;
}

.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(249,244,236,0.94));
}

.feedback-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-field,
.form-consent {
  display: grid;
  gap: 8px;
}

.form-field span,
.form-consent span {
  font-size: 13px;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 34, 45, 0.12);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(15, 109, 112, 0.36);
  box-shadow: 0 0 0 4px rgba(15, 109, 112, 0.08);
}

.form-field--area textarea {
  resize: vertical;
  min-height: 170px;
}

.form-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.form-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-consent a,
.footer-cookie__policy,
.site-footer__links a,
.site-footer__links--rich a,
.policy-page__content a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-result {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 109, 112, 0.08);
  border: 1px solid rgba(15, 109, 112, 0.14);
  font-size: 14px;
  line-height: 1.5;
}

.form-result[data-state="error"] {
  background: rgba(168, 51, 43, 0.08);
  border-color: rgba(168, 51, 43, 0.14);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 18px 22px;
}

.site-footer__inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 28px 34px 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(182, 118, 66, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(245, 237, 226, 0.98));
  color: var(--text);
  border: 1px solid rgba(17, 34, 45, 0.08);
  box-shadow: var(--shadow);
}

.site-footer__lead {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.site-footer__eyebrow {
  margin: 0;
  color: rgba(15, 109, 112, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer__title {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  color: #182630;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(17, 34, 45, 0.1);
  border-bottom: 1px solid rgba(17, 34, 45, 0.1);
}

.site-footer__label {
  margin-bottom: 12px;
  color: rgba(91, 105, 117, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__links a,
.site-footer__links--rich a {
  color: #182630;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links a:hover,
.site-footer__links--rich a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-footer__links--rich span {
  color: var(--muted);
  line-height: 1.65;
}

.footer-cookie {
  margin-top: 20px;
  padding-top: 4px;
}

.footer-cookie__line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-cookie__manage {
  padding: 0;
  border: 0;
  background: transparent;
  color: #182630;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-cookie__policy {
  color: #182630;
  font-weight: 600;
}

.footer-cookie__divider {
  color: rgba(17, 34, 45, 0.24);
}

.cookie-panel {
  margin-top: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  border: 1px solid rgba(17, 34, 45, 0.08);
  box-shadow: 0 18px 36px rgba(14, 32, 45, 0.08);
}

.cookie-panel[hidden] {
  display: none !important;
}

.cookie-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.cookie-panel__title {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  color: #182630;
}

.cookie-panel__close,
.policy-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cookie-panel__text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cookie-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(24, 38, 48, 0.03);
  border: 1px solid rgba(17, 34, 45, 0.08);
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.cookie-option--locked {
  opacity: 0.78;
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookie-btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #182630;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.cookie-btn--primary {
  background: #182630;
  border-color: #182630;
  color: #fff;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(17, 34, 45, 0.92);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 16px 34px rgba(14, 32, 45, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.policy-modal[hidden] {
  display: none !important;
}

.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 16, 22, 0.52);
}

.policy-modal__dialog {
  position: relative;
  width: min(960px, calc(100vw - 24px));
  margin: 24px auto;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  min-height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 60px rgba(14, 32, 45, 0.28);
}

.policy-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fffdfa;
}

.policy-modal__title {
  margin: 0;
  font-size: 1.3rem;
  font-family: "Cormorant Garamond", serif;
}

.policy-modal__frame {
  width: 100%;
  flex: 1;
  min-height: 0;
  border: 0;
}

.inner-hero {
  padding-top: 48px;
  padding-bottom: 48px;
}

.inner-hero__text {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  overflow: hidden;
}

.featured-story__image {
  min-height: 100%;
}

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

.article-layout {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
  align-items: center;
}

.article-hero__back {
  margin-top: 0;
  margin-bottom: 22px;
}

.article-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}

.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content-wrap {
  padding-top: 28px;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.article-content {
  padding: 8px 6px 0;
  font-size: 17px;
}

.article-content img {
  margin: 24px 0;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.article-content iframe,
.article-embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 20px;
}

.article-footer-copy {
  margin-top: 22px;
}

.gallery-block {
  margin-top: 28px;
}

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

.gallery-grid__item {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.04);
}

.policy-page {
  padding: 32px;
}

.policy-page__content {
  max-width: 860px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1180px) {
  .site-nav,
  .site-header__link,
  .site-header__cta {
    display: none;
  }

  .site-burger {
    display: inline-flex;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

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

  .feature-grid,
  .post-grid,
  .archive-grid,
  .project-grid,
  .science-grid,
  .contact-grid,
  .story-grid,
  .article-hero,
  .article-content-grid,
  .featured-story,
  .journal-slider__slide {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-portrait-card__media {
    aspect-ratio: 1.2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .page-main,
  .site-footer,
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header {
    top: 10px;
  }

  .site-header.is-scrolled {
    top: 0;
    left: 0;
    right: 0;
  }

  .site-header__inner,
  .section-shell,
  .site-footer__inner,
  .policy-page,
  .story-card,
  .impact-card,
  .contact-card,
  .form-card,
  .science-card,
  .article-sidecard {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-shell {
    border-radius: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-title,
  .section-heading h2,
  .inner-hero h1,
  .policy-page h1,
  .article-hero h1,
  .site-footer__title,
  .featured-story__body h2,
  .contact-card h2,
  .form-card h2 {
    font-size: clamp(1.9rem, 10.4vw, 3.25rem);
    line-height: 1;
  }

  .feature-card h3,
  .story-card h3,
  .impact-card h3,
  .project-card h3,
  .science-card h3,
  .post-card h3,
  .archive-card h3,
  .featured-story__body h2,
  .article-sidecard h2 {
    font-size: clamp(1.12rem, 6.5vw, 1.72rem);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .journal-slider__slide .post-card--featured h3 {
    font-size: clamp(1.38rem, 7.6vw, 2.08rem);
    line-height: 1.03;
  }

  .institution-card__name {
    font-size: clamp(0.94rem, 4.2vw, 1.08rem);
    line-height: 1.35;
  }

  .hero-summary,
  .inner-hero__text,
  .article-content {
    font-size: 16px;
  }

  .hero-portrait-card__note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .institution-grid,
  .impact-card__stats,
  .gallery-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .project-card__logo {
    min-height: 100px;
  }

  .post-card__image,
  .archive-card__image,
  .featured-story__image,
  .article-hero__media {
    min-height: 220px;
  }

  .journal-slider__viewport {
    grid-auto-columns: 100%;
  }

  .journal-slider__slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section-shell--journal .post-card__body {
    padding: 20px;
  }

  .science-visual__frame {
    min-height: 260px;
  }

  .cookie-panel__actions,
  .hero-actions,
  .section-heading--row {
    flex-direction: column;
    align-items: start;
  }

  .section-heading--row .section-link {
    width: 100%;
    justify-content: center;
  }

  .policy-modal__dialog {
    width: calc(100vw - 12px);
    margin: 6px auto;
    min-height: calc(100vh - 12px);
    max-height: calc(100vh - 12px);
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
