:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --paper-warm: #f0ede5;
  --paper-bright: #fbfaf7;
  --ink: #203531;
  --muted: #66736d;
  --ocean: #173b3a;
  --ocean-deep: #102e30;
  --sea-glass: #789084;
  --sand: #d9cdb5;
  --line: rgba(32, 53, 49, 0.15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --shell: min(1200px, calc(100% - 80px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--sand);
  color: var(--ocean-deep);
}

:focus-visible {
  outline: 2px solid #a97642;
  outline-offset: 5px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(74px, 9vw, 120px);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper-bright);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: white;
}

.navigation {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.wordmark-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.08em;
}

.wordmark-copy {
  display: grid;
  line-height: 1.35;
}

.wordmark-copy strong {
  font-size: 13px;
  font-weight: 550;
}

.wordmark-copy > span {
  opacity: 0.75;
  font-size: 11px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-menu > a {
  opacity: 0.88;
  font-size: 12px;
  transition: opacity 180ms ease;
}

.site-menu > a:hover {
  opacity: 1;
}

.site-menu .menu-contact {
  margin-left: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  align-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 76svh, 690px);
  overflow: hidden;
  align-items: center;
  background: var(--ocean-deep);
  color: white;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("./assets/images/research/mangrove-coastline-blue-carbon.webp");
  background-position: center 56%;
  background-size: cover;
  transform: scale(1.025);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 29, 30, 0.83), rgba(10, 29, 30, 0.35) 62%, rgba(10, 29, 30, 0.14)),
    linear-gradient(0deg, rgba(10, 29, 30, 0.41), transparent 32%),
    linear-gradient(180deg, rgba(10, 29, 30, 0.37), transparent 24%);
}

.hero-layout {
  position: relative;
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: space-between;
}

.hero-copy {
  width: min(850px, 100%);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 6.1vw, 76px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.hero h1 em,
.contact h2 em {
  color: #dce5da;
  font-weight: 400;
}

.hero-description {
  max-width: 545px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(14px, 1.6vw, 17px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  padding: 11px 21px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--paper-bright);
  color: var(--ocean-deep);
}

.button-light:hover {
  background: var(--sand);
}

.button-dark {
  background: var(--ocean);
  color: white;
}

.button-dark:hover {
  background: var(--ocean-deep);
}

.button-outline {
  border-color: rgba(32, 53, 49, 0.32);
}

.button-outline:hover {
  border-color: var(--ocean);
  background: var(--ocean);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
}

.text-link span,
.button span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.button:hover span {
  transform: translate(2px, -2px);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.92);
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 32px;
  display: grid;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.introduction-grid,
.feature-grid,
.students-grid {
  display: grid;
  align-items: center;
}

.introduction-grid {
  grid-template-columns: 188px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
}

.portrait-frame {
  position: relative;
  width: 180px;
  height: 180px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.portrait {
  width: 166px;
  height: 166px;
  aspect-ratio: 1 / 1;
  background: var(--paper-warm);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 29%;
}

.portrait-note {
  max-width: 180px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.portrait-note span {
  margin-inline: 4px;
}

.introduction-copy h2,
.section-heading h2,
.feature-copy h2,
.students-copy h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(37px, 4.6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.introduction-copy > p:not(.eyebrow),
.feature-copy > p:not(.eyebrow),
.students-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.affiliation {
  display: flex;
  margin-block: 35px 27px;
  align-items: center;
  gap: 14px;
}

.affiliation-rule {
  width: 1px;
  height: 43px;
  background: var(--sea-glass);
}

.affiliation > div {
  display: grid;
  line-height: 1.55;
}

.affiliation strong {
  font-size: 12px;
  font-weight: 600;
}

.affiliation > div > span {
  color: var(--muted);
  font-size: 11px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}

.research-metrics {
  display: grid;
  margin-top: clamp(78px, 10vw, 115px);
  padding-top: 27px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 16px;
  border-top: 1px solid var(--line);
}

.metric-item {
  display: grid;
  gap: 2px;
}

.metric-item strong {
  color: var(--ocean);
  font-family: var(--serif);
  font-size: clamp(27px, 4vw, 39px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.metric-item > span {
  color: var(--muted);
  font-size: 10px;
}

.metrics-note {
  margin: 3px 0 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
}

.stories {
  background: var(--paper-bright);
}

.section-heading {
  display: flex;
  margin-bottom: 65px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-note {
  width: min(340px, 100%);
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.feature-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(34px, 6vw, 76px);
}

.project-feature + .project-feature {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.feature-copy h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 1.18;
}

.feature-copy > p:not(.eyebrow) {
  max-width: 510px;
}

.project-details {
  display: grid;
  margin-block: 22px 18px;
  padding-block: 16px;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-details > div {
  display: grid;
  gap: 4px;
}

.project-details span {
  color: var(--muted);
  font-size: 10px;
}

.project-details strong {
  font-size: 11px;
  font-weight: 550;
}

.feature-visual {
  position: relative;
  margin: 0;
}

.feature-visual img {
  width: min(100%, 255px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 4px;
  object-fit: contain;
}

.project-kob-visual img {
  max-width: 205px;
}

.feature-visual figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}

.project-collaboration {
  color: var(--muted);
  font-size: 11px;
}

.field-gallery {
  padding-top: 0;
}

.field-gallery-grid {
  display: grid;
  width: min(850px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.field-gallery-card {
  min-width: 0;
  margin: 0;
  grid-column: auto;
}

.field-gallery-card-wide {
  grid-column: auto;
}

.field-gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: var(--paper-warm);
  border-radius: 3px;
  object-fit: contain;
}

.field-gallery-card figcaption {
  display: grid;
  padding-top: 10px;
  gap: 3px;
}

.field-gallery-card figcaption span {
  color: var(--muted);
  font-size: 10px;
}

.field-gallery-card figcaption strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.funding {
  padding-top: 0;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.funding-card {
  display: flex;
  padding: 25px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.funding-card-featured {
  min-height: 260px;
}

.funding-card-compact {
  min-height: 165px;
}

.funding-period {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 10px;
}

.funding-card h3 {
  max-width: 455px;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.funding-card > p {
  max-width: 420px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
}

.funding-source {
  display: flex;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.funding-source > span {
  color: var(--muted);
  font-size: 10px;
}

.funding-source > strong {
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}

.finding {
  padding-block: clamp(74px, 10vw, 112px);
  background: var(--ocean);
  color: white;
}

.finding-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.finding-number {
  margin: 0;
  color: var(--sand);
  font-family: var(--serif);
  font-size: clamp(82px, 14vw, 148px);
  letter-spacing: -0.085em;
  line-height: 1;
}

.finding-number span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.55em;
}

.finding-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.finding-copy > p:not(.eyebrow) {
  max-width: 555px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.finding-copy .text-link {
  margin-top: 7px;
}

.publication-count {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.publication {
  display: grid;
  padding-block: 16px;
  grid-template-columns: 78px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.publication:last-child {
  border-bottom: 1px solid var(--line);
}

.publication-year {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.publication-year span {
  color: var(--sea-glass);
  font-size: 10px;
}

.publication-journal {
  color: var(--muted);
  font-size: 11px;
}

.publication-main h3 {
  max-width: 750px;
  margin-block: 5px 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.38;
}

.publication-main > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.publication-link {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.publication-link:hover {
  background: var(--ocean);
  color: white;
}

.academic-path {
  padding-top: 0;
}

.academic-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: clamp(65px, 10vw, 128px);
}

.academic-intro h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(37px, 4.6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.academic-intro > p:not(.eyebrow),
.academic-interests > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.academic-interests {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.academic-interests > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 550;
}

.academic-interests > p {
  font-size: 11px;
}

.timeline-item {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-period {
  color: var(--muted);
  font-size: 10px;
}

.timeline-item h3 {
  margin: 4px 0 1px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.timeline-item > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.students {
  background: var(--paper-warm);
}

.students-grid {
  grid-template-columns: 0.87fr 1.13fr;
  gap: clamp(65px, 11vw, 140px);
}

.students-copy .button {
  margin-top: 14px;
}

.student-project {
  position: relative;
  display: block;
  padding-block: 25px;
  border-top: 1px solid var(--line);
}

.student-project:nth-of-type(2) {
  border-bottom: 1px solid var(--line);
}

.student-level {
  color: var(--muted);
  font-size: 10px;
}

.student-project h3 {
  max-width: 410px;
  margin-block: 8px 5px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.student-project > p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.student-arrow {
  position: absolute;
  top: 29px;
  right: 4px;
  transition: transform 180ms ease;
}

.student-project:hover .student-arrow {
  transform: translate(2px, -2px);
}

.student-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.outreach-list {
  border-bottom: 1px solid var(--line);
}

.outreach-item {
  display: grid;
  padding-block: 17px;
  grid-template-columns: 114px minmax(0, 1fr) 25px;
  align-items: start;
  gap: 17px;
  border-top: 1px solid var(--line);
}

.outreach-date,
.outreach-kind {
  color: var(--muted);
  font-size: 10px;
}

.outreach-main h3 {
  margin: 3px 0 4px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.outreach-main p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.outreach-arrow {
  justify-self: end;
  color: var(--sea-glass);
  transition: transform 180ms ease;
}

a.outreach-item:hover .outreach-arrow {
  transform: translate(2px, -2px);
}

.field-notes {
  background: var(--paper);
}

.bluesky-account {
  display: flex;
  margin-bottom: 30px;
  padding-block: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bluesky-account-copy {
  display: grid;
  gap: 2px;
}

.bluesky-label {
  color: var(--muted);
  font-size: 10px;
}

.bluesky-handle {
  font-size: 13px;
  font-weight: 550;
}

.bluesky-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.bluesky-consent {
  display: grid;
  max-width: 780px;
  padding: clamp(28px, 5vw, 48px);
  grid-column: 1 / -1;
  justify-items: start;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.bluesky-consent .eyebrow {
  margin-bottom: 13px;
}

.bluesky-consent h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.bluesky-consent > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.bluesky-consent-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.bluesky-consent-actions button {
  cursor: pointer;
}

.bluesky-consent-actions button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.bluesky-post,
.bluesky-placeholder {
  display: flex;
  min-height: 255px;
  padding: 22px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.bluesky-post {
  transition:
    border-color 200ms ease,
    transform 220ms var(--ease);
}

.bluesky-post:hover {
  border-color: rgba(32, 53, 49, 0.34);
  transform: translateY(-3px);
}

.bluesky-post-header {
  display: flex;
  margin-bottom: 17px;
  align-items: center;
  gap: 10px;
}

.bluesky-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-warm);
  object-fit: cover;
}

.bluesky-byline {
  display: grid;
  min-width: 0;
  line-height: 1.45;
}

.bluesky-byline strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bluesky-byline span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bluesky-post-text {
  margin-bottom: 17px;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-line;
}

.bluesky-post-text a {
  color: var(--ocean);
  text-decoration: underline;
  text-decoration-color: rgba(23, 59, 58, 0.35);
  text-underline-offset: 3px;
}

.bluesky-media {
  display: block;
  width: 100%;
  margin-bottom: 17px;
  overflow: hidden;
  background: var(--paper-warm);
}

.bluesky-media img {
  width: 100%;
  max-height: 240px;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.bluesky-external {
  display: grid;
  margin-bottom: 17px;
  padding: 12px;
  gap: 4px;
  border: 1px solid var(--line);
}

.bluesky-external strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.bluesky-external span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bluesky-post-footer {
  display: flex;
  margin-top: auto;
  padding-top: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.bluesky-post-footer time {
  color: var(--muted);
  font-size: 10px;
}

.bluesky-post-link {
  font-size: 10px;
  font-weight: 550;
}

.bluesky-placeholder {
  justify-content: center;
  gap: 17px;
}

.bluesky-placeholder span {
  display: block;
  height: 10px;
  background: var(--paper-warm);
  animation: bluesky-pulse 1.35s ease-in-out infinite alternate;
}

.bluesky-placeholder span:first-child {
  width: 46%;
}

.bluesky-placeholder span:nth-child(2) {
  width: 92%;
}

.bluesky-placeholder span:last-child {
  width: 72%;
}

.bluesky-message {
  padding: 24px;
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  color: var(--muted);
  font-size: 13px;
}

.bluesky-message a,
.bluesky-noscript a {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bluesky-footnote,
.bluesky-noscript {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 10px;
}

@keyframes bluesky-pulse {
  from {
    opacity: 0.52;
  }

  to {
    opacity: 1;
  }
}

.contact {
  background: var(--ocean-deep);
  color: white;
}

.contact-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 7vw, 81px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.contact-details {
  padding-bottom: 6px;
}

.contact-email {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-details > p {
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
}

.social-links a:hover {
  color: white;
}

.site-footer {
  padding-block: 22px;
  background: #0c2627;
  color: rgba(255, 255, 255, 0.69);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-layout p,
.footer-layout a {
  margin: 0;
  font-size: 10px;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 21px;
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
  color: white;
}

.legal-page {
  min-height: 100vh;
}

.legal-page .site-header {
  position: relative;
  background: var(--ocean-deep);
}

.legal-main {
  min-height: calc(100vh - 161px);
}

.legal-hero {
  padding-top: clamp(76px, 11vw, 132px);
  padding-bottom: clamp(54px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(50px, 8vw, 88px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 1.06;
}

.legal-hero > .shell > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  padding-block: clamp(64px, 9vw, 115px);
  grid-template-columns: minmax(170px, 245px) minmax(0, 760px);
  align-items: start;
  gap: clamp(42px, 8vw, 130px);
}

.legal-aside {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 11px;
}

.legal-aside p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-aside a {
  color: var(--muted);
  font-size: 11px;
}

.legal-aside a:hover {
  color: var(--ocean);
}

.legal-content section + section {
  margin-top: 47px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 15px;
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.82;
}

.legal-content p:last-child,
.legal-content address:last-child {
  margin-bottom: 0;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--ocean);
  text-decoration: underline;
  text-decoration-color: rgba(23, 59, 58, 0.35);
  text-underline-offset: 3px;
}

.legal-content ul {
  margin: 12px 0 18px;
  padding-left: 19px;
}

.legal-content li + li {
  margin-top: 5px;
}

.legal-callout {
  padding: 19px 22px;
  border-left: 2px solid var(--sea-glass);
  background: var(--paper-bright);
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

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

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 52px, 760px);
  }

  .site-menu {
    gap: 18px;
  }

  .site-menu > a {
    font-size: 11px;
  }

  .site-menu .menu-contact {
    margin-left: 0;
  }

  .introduction-grid,
  .students-grid,
  .academic-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(215px, 0.85fr);
    gap: 26px;
  }

  .portrait-wrap {
    justify-self: center;
  }

  .introduction-copy,
  .feature-copy,
  .students-copy {
    max-width: 650px;
  }

  .feature-visual {
    max-width: 620px;
  }

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

  .bluesky-feed {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .funding-grid {
    grid-template-columns: 1fr;
  }

  .field-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 17px;
  }

  .field-gallery-card,
  .field-gallery-card-wide {
    grid-column: auto;
  }

  .bluesky-post,
  .bluesky-placeholder {
    min-height: 200px;
  }

  .finding-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .publication {
    grid-template-columns: 70px minmax(0, 1fr) 32px;
    gap: 16px;
  }

  .contact-layout {
    align-items: start;
    flex-direction: column;
    gap: 34px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 38px);
  }

  .navigation {
    min-height: 82px;
  }

  .menu-toggle {
    position: relative;
    z-index: 12;
    display: grid;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-menu {
    position: fixed;
    z-index: 11;
    inset: 0;
    display: flex;
    padding: 112px 30px 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: var(--ocean-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-menu > a {
    padding-block: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    font-family: var(--serif);
    font-size: 24px;
  }

  .site-menu .menu-contact {
    margin-top: 15px;
    border-radius: 0;
    text-align: center;
  }

  .hero {
    min-height: min(660px, 88svh);
  }

  .hero h1 {
    font-size: clamp(37px, 8.4vw, 56px);
  }

  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-caption {
    right: 0;
    bottom: 18px;
  }

  .section-heading {
    margin-bottom: 39px;
    align-items: start;
    flex-direction: column;
    gap: 19px;
  }

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

  .profile-links {
    gap: 13px 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .field-gallery-card figcaption strong {
    font-size: 13px;
  }

  .publication {
    grid-template-columns: 1fr 34px;
    gap: 7px 13px;
  }

  .publication-year {
    display: flex;
    align-items: center;
    gap: 9px;
    grid-column: 1 / -1;
  }

  .publication-main {
    grid-column: 1;
  }

  .publication-link {
    width: 34px;
    height: 34px;
  }

  .publication-main h3 {
    font-size: 16px;
  }

  .outreach-item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 4px 12px;
  }

  .outreach-date {
    grid-column: 1 / -1;
  }

  .outreach-main {
    grid-column: 1;
  }

  .outreach-main h3 {
    font-size: 16px;
  }

  .contact-email {
    font-size: 14px;
  }

  .bluesky-account {
    align-items: start;
    flex-direction: column;
  }

  .bluesky-handle {
    font-size: 12px;
  }

  .bluesky-consent-actions {
    align-items: start;
    flex-direction: column;
  }

  .footer-layout {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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