:root {
  --paper: #f6f4ee;
  --paper-strong: #efece3;
  --forest: #1f3b2f;
  --forest-soft: #2f5445;
  --line: #d7d2c5;
  --button: #244738;
  --button-hover: #1d3a2e;
  --focus: #8ba37a;
  --card: rgba(255, 255, 255, 0.62);
  --shadow: rgba(25, 41, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--forest);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(246, 244, 238, 0.94)),
    url("./assets/topo-texture.svg");
  background-size: cover, 700px;
  background-attachment: fixed, fixed;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--button);
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.nav-wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}

.brand-icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--forest-soft);
}

.brand-mark {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 0.9rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--forest-soft);
  text-decoration: none;
  font-size: 0.88rem;
}

main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  padding: 5.25rem 0 3.25rem;
}

.hero-layout {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.hero-copy {
  max-width: 46ch;
}

.hero-photo-wrap {
  margin: 0;
  border-radius: 1rem;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 16px 30px -24px var(--shadow);
  background: rgba(255, 255, 255, 0.5);
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  color: var(--forest-soft);
}

.credibility-line {
  margin: -0.4rem 0 0.95rem;
  font-size: 0.83rem;
  color: var(--forest-soft);
  letter-spacing: 0.015em;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 7vw, 3.1rem);
  max-width: 18ch;
}

.hero-subtext {
  margin: 1rem 0 0;
  max-width: 45ch;
  font-size: 1.02rem;
}

.hero-cta,
.contact-cta {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section {
  padding: 2.8rem 0;
}

.section h2 {
  font-size: clamp(1.45rem, 4.4vw, 2rem);
  margin-bottom: 0.95rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.work-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 10px 18px -16px var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-tile:hover,
.work-tile:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 22px -16px var(--shadow);
}

.work-tile h3 {
  font-size: 1.14rem;
  margin-bottom: 0.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.62rem 1rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 2.65rem;
}

.button-primary {
  background: var(--button);
  color: #fff;
}

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

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-footer {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.8rem 1rem 2rem;
  color: var(--forest-soft);
  font-size: 0.92rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
}

.last-updated {
  margin: 0;
}

@media (min-width: 48rem) {
  .nav-wrap {
    padding: 0.95rem 1rem;
  }

  .nav-links a {
    font-size: 0.92rem;
  }

  .hero {
    padding: 6.75rem 0 4rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: center;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-photo {
    min-height: 24rem;
    aspect-ratio: auto;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .work-tile {
    padding: 1.2rem;
  }
}

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

  .work-tile {
    transition: none;
  }
}
.simple-page-main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-hero {
  padding: 5.25rem 0 1.5rem;
}

.page-lead {
  margin: 1rem 0 0;
  max-width: 62ch;
}

.gallery-note {
  margin: 0.25rem 0 1rem;
  color: var(--forest-soft);
  font-size: 0.95rem;
}

.photo-grid {
  --gallery-columns: 2;
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.photo-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.photo-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 22px -18px var(--shadow);
  overflow: hidden;
  padding: 0.12rem;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0.82rem;
  transition: transform 220ms ease;
  cursor: zoom-in;
}

.photo-card:hover img,
.photo-card:focus-within img {
  transform: scale(1.015);
}

@media (min-width: 48rem) {
  .page-hero {
    padding: 6.25rem 0 2rem;
  }

  .photo-grid {
    --gallery-columns: 3;
  }
}

@media (min-width: 70rem) {
  .photo-grid {
    --gallery-columns: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-card img {
    transition: none;
  }
}
.tile-link {
  display: block;
  color: var(--forest);
  text-decoration: none;
}

.tile-link .tile-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest-soft);
}

.tile-link .tile-cta::after {
  content: "->";
  margin-left: 0.35rem;
  transition: transform 180ms ease;
}

.tile-link:hover .tile-cta::after,
.tile-link:focus-visible .tile-cta::after {
  transform: translateX(3px);
}

.research-layout {
  display: grid;
  gap: 0.95rem;
}

.research-card {
  margin: 0;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 18px -16px var(--shadow);
}

.research-card h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
}

.research-card p {
  margin: 0;
}

.research-card p + p {
  margin-top: 0.9rem;
}

.research-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.research-card li + li {
  margin-top: 0.35rem;
}

@media (min-width: 48rem) {
  .research-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .tile-link .tile-cta::after {
    transition: none;
  }
}
.cursor-garden-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}

.cursor-garden {
  position: fixed;
  width: 18px;
  height: 18px;
  display: block;
  color: #2f5445;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--grow-rot, 0deg)) scale(var(--grow-scale, 1));
  animation: cursorGrowFade 560ms ease-out forwards;
  filter: drop-shadow(0 1px 1px rgba(19, 36, 28, 0.16));
}

.cursor-garden svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cursor-garden--vine {
  width: 22px;
  height: 22px;
  color: #3f6a58;
}

.cursor-garden--tree {
  color: #2a4f40;
}

@keyframes cursorGrowFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) rotate(var(--grow-rot, 0deg)) scale(0.35);
  }

  18% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -88%) rotate(var(--grow-rot, 0deg)) scale(calc(var(--grow-scale, 1) * 1.18));
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-garden-layer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-garden {
    animation: none;
  }
}
.figure-section {
  padding-top: 0;
}

.research-figure-panel {
  margin: 0;
}

.research-figure-placeholder {
  width: 100%;
  aspect-ratio: 1.618 / 1;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(239, 236, 227, 0.78)),
    repeating-linear-gradient(25deg, rgba(47, 84, 69, 0.08) 0, rgba(47, 84, 69, 0.08) 1px, transparent 1px, transparent 14px);
  box-shadow: 0 12px 22px -18px var(--shadow);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
}

.research-figure-placeholder p {
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 2.8vw, 1.3rem);
}

.research-figure-placeholder .figure-hint {
  margin-top: 0.35rem;
  color: var(--forest-soft);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

.research-figure-panel figcaption {
  margin-top: 0.55rem;
  color: var(--forest-soft);
  font-size: 0.9rem;
}

.research-figure-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  display: block;
}
.soundtrack-section {
  margin-top: -0.2rem;
  margin-bottom: 0.8rem;
}

.soundtrack-shell {
  margin: 0;
  position: sticky;
  top: 4.4rem;
  z-index: 14;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(246, 244, 238, 0.96);
  box-shadow: 0 10px 20px -18px var(--shadow);
  overflow: hidden;
}

.soundtrack-button {
  cursor: pointer;
  list-style: none;
  padding: 0.72rem 0.9rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.72);
}

.soundtrack-button::-webkit-details-marker {
  display: none;
}

.soundtrack-button::after {
  content: " +";
  color: var(--forest-soft);
}

.soundtrack-shell[open] .soundtrack-button::after {
  content: " -";
}

.soundtrack-player {
  padding: 0 0.75rem 0.7rem;
}

.soundtrack-player iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 0.65rem;
}

.soundtrack-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--forest-soft);
}

@media (min-width: 48rem) {
  .soundtrack-shell {
    max-width: 32rem;
    top: 5rem;
  }
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 16, 13, 0.78);
  backdrop-filter: blur(2px);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox-frame {
  position: relative;
  max-width: min(96vw, 72rem);
  max-height: 92vh;
}

.photo-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 24px 45px -28px rgba(0, 0, 0, 0.55);
}

.photo-lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(14, 21, 17, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}
