:root {
  --paper: #f3f0e7;
  --paper-deep: #e6e0d2;
  --paper-muted: #ece8dd;
  --ink: #20231f;
  --ink-soft: #5f625c;
  --green: #315843;
  --green-deep: #223f31;
  --sage: #9eae9c;
  --sage-light: #c6d0c1;
  --clay: #b9814f;
  --clay-deep: #9b6840;
  --line: rgba(32, 35, 31, 0.18);
  --line-light: rgba(243, 240, 231, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Base */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

#about,
#research,
#community,
#experience,
#photography,
#recognition,
#contact {
  scroll-margin-top: 5rem;
}

::selection {
  background: var(--green);
  color: var(--paper);
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  position: fixed;
  text-transform: uppercase;
  top: -6rem;
  transition: top 160ms ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.section-space {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.eyebrow,
.section-label,
.micro-label,
.footer-meta,
.metric-label,
.fiction-label,
.hero-visual figcaption,
.image-coordinate {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title,
.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 0.98;
}

.section-aside,
.research-kicker {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 28rem;
}

.demo-note,
.photo-source-note {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Navigation */

.site-header {
  background: rgba(243, 240, 231, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.navbar-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: var(--serif);
  font-size: 1.05rem;
  gap: 0.75rem;
  letter-spacing: 0.01em;
}

.navbar-brand:hover,
.navbar-brand:focus,
.nav-link:hover,
.nav-link:focus {
  color: var(--green);
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 2rem;
}

.nav-link {
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding-inline: 0 !important;
  text-transform: uppercase;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(49, 88, 67, 0.2);
}

/* Buttons and links */

.btn-portfolio {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 0;
  color: #fff;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.95rem 1.4rem;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn-portfolio:hover,
.btn-portfolio:focus {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-portfolio-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green-deep);
}

.btn-portfolio-light:hover,
.btn-portfolio-light:focus {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "\2192";
  margin-left: 0.6rem;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus::after {
  transform: translateX(0.25rem);
}

.text-link-light {
  color: var(--paper);
}

/* Hero */

.hero-section {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.35vw, 6.35rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.92;
  max-width: 12ch;
}

.hero-intro {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.21rem);
  max-width: 38rem;
}

.hero-visual {
  aspect-ratio: 4 / 5;
  background: var(--green-deep);
  box-shadow: 1.2rem 1.2rem 0 var(--paper-deep);
  isolation: isolate;
  max-width: 35rem;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  background-image: linear-gradient(rgba(243, 240, 231, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 240, 231, 0.16) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
  inset: 0;
  opacity: 0.48;
  position: absolute;
}

.hero-photo-frame {
  bottom: 14%;
  left: 13%;
  overflow: hidden;
  position: absolute;
  right: 6%;
  top: 8%;
  z-index: 1;
}

.hero-photo-frame::after {
  background: linear-gradient(160deg, transparent 45%, rgba(34, 63, 49, 0.35));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-photo-frame img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.hero-visual:hover .hero-photo-frame img {
  transform: scale(1.025);
}

.hero-orbit {
  background: var(--clay);
  border-radius: 50%;
  height: 19%;
  left: 2%;
  position: absolute;
  top: 17%;
  width: 23%;
  z-index: 2;
}

.field-note {
  background: var(--paper);
  border-left: 0.35rem solid var(--clay);
  bottom: 8%;
  display: flex;
  flex-direction: column;
  left: 5%;
  padding: 1.15rem;
  position: absolute;
  transform: rotate(-2.5deg);
  width: 60%;
  z-index: 3;
}

.field-note span {
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-note strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
}

.hero-visual figcaption {
  bottom: 1.5rem;
  color: var(--paper);
  position: absolute;
  right: 1.25rem;
  writing-mode: vertical-rl;
  z-index: 2;
}

/* About */

.about-section {
  border-bottom: 1px solid var(--line);
}

.about-section p:not(.section-label) {
  color: var(--ink-soft);
  max-width: 47rem;
}

.about-section .about-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.35;
}

/* Research */

.research-section {
  background: var(--paper-muted);
}

.research-heading {
  max-width: 15ch;
}

.research-intro {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.research-intro h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.4rem;
  max-width: 18ch;
}

.research-intro p:not(.micro-label),
.method-copy {
  color: var(--ink-soft);
}

.research-question {
  background: var(--green-deep);
  color: var(--paper);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.research-question .micro-label {
  color: var(--sage-light);
}

.research-question p:last-child {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.method-block {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.site-profile {
  background: var(--paper);
  border-top: 0.25rem solid var(--green);
  padding: 1.35rem;
}

.site-profile span {
  color: var(--clay-deep);
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.site-profile h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.site-profile p {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.measurements > span:not(.micro-label) {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
}

.chart-row {
  margin-bottom: 0;
}

.chart-panel {
  background: var(--paper);
  border: 1px solid rgba(32, 35, 31, 0.1);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.chart-heading {
  margin-bottom: 1.8rem;
}

.chart-heading h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0;
}

.chart-takeaway {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
  max-width: 11rem;
  text-align: right;
}

.chart-wrap {
  height: 19rem;
  position: relative;
  width: 100%;
}

.chart-wrap-wide {
  height: 22rem;
}

.chart-annotation {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
}

.data-details {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  padding-block: 1.5rem;
}

.data-details summary {
  color: var(--green);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

.data-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--line);
  color: var(--ink);
  font-size: 0.78rem;
}

.data-table caption {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding-top: 0;
}

.findings-block {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.finding-item {
  border-top: 1px solid var(--green);
  padding-top: 1.35rem;
}

.finding-item > span {
  color: var(--clay-deep);
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 2.4rem;
}

.finding-item h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.finding-item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.research-section > .container > .demo-note {
  margin-top: 3rem;
}

/* Community */

.community-section {
  border-bottom: 1px solid var(--line);
}

.engagement-panel {
  background: var(--paper-muted);
  border: 1px solid transparent;
  transition: border-color 180ms ease, transform 180ms ease;
}

.engagement-panel:hover {
  border-color: var(--green);
  transform: translateY(-0.2rem);
}

.engagement-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.engagement-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
  width: 100%;
}

.engagement-panel:hover .engagement-image img {
  transform: scale(1.025);
}

.engagement-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.engagement-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0;
}

.engagement-content > p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.metric-label {
  background: var(--green);
  color: var(--paper);
  line-height: 1.3;
  max-width: 8.5rem;
  padding: 0.55rem 0.65rem;
  text-align: center;
}

.editorial-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding-left: 0;
}

.editorial-list li {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  padding: 0.75rem 0.5rem 0.75rem 0;
}

/* Field experience */

.experience-section {
  background: var(--green-deep);
  color: var(--paper);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.experience-image {
  min-height: 43rem;
  overflow: hidden;
  position: relative;
}

.experience-image::after {
  background: linear-gradient(90deg, transparent 60%, rgba(34, 63, 49, 0.5));
  content: "";
  inset: 0;
  position: absolute;
}

.experience-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-coordinate {
  background: var(--paper);
  bottom: 2rem;
  color: var(--green-deep);
  left: 2rem;
  padding: 0.65rem 0.85rem;
  position: absolute;
  z-index: 2;
}

.experience-content {
  max-width: 40rem;
  padding: clamp(3rem, 7vw, 6rem);
}

.section-label-light {
  color: var(--sage-light);
}

.experience-content h2 {
  font-family: var(--serif);
  font-size: clamp(2.55rem, 4.7vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 2rem;
}

.program-label {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.28rem;
}

.fiction-label {
  color: var(--sage-light);
}

.experience-content > p:not(.section-label, .program-label, .fiction-label) {
  color: rgba(243, 240, 231, 0.72);
}

.learning-list {
  list-style: none;
  padding-left: 0;
}

.learning-list li {
  border: 1px solid var(--line-light);
  color: var(--paper);
  font-size: 0.72rem;
  padding: 0.4rem 0.7rem;
}

.experience-stats {
  border-bottom: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.experience-stat {
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
}

.experience-stats .col-md-4:last-child .experience-stat {
  border-right: 0;
}

.experience-stat strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  text-transform: none;
}

.experience-stat span {
  color: rgba(243, 240, 231, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Photography */

.photography-section {
  background: var(--paper-muted);
}

.photography-heading {
  max-width: 15ch;
}

.gallery-item {
  background: var(--green-deep);
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  background: linear-gradient(0deg, rgba(32, 35, 31, 0.52), transparent 38%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: filter 250ms ease, transform 700ms ease;
  width: 100%;
}

.gallery-item:hover img {
  filter: saturate(0.88);
  transform: scale(1.025);
}

.gallery-item figcaption {
  bottom: 1rem;
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0.14em;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.gallery-feature,
.gallery-portrait {
  height: 35rem;
}

.gallery-square,
.gallery-wide {
  height: 25rem;
}

.gallery-portrait-short,
.gallery-feature-short {
  height: 30rem;
}

/* Recognition */

.recognition-section {
  border-bottom: 1px solid var(--line);
}

.recognition-item {
  border-top: 1px solid var(--line);
  margin-inline: 0;
  padding-block: 1.6rem;
  transition: padding-inline 180ms ease;
}

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

.recognition-item:hover {
  padding-inline: 0.5rem;
}

.award-number,
.recognition-item time {
  color: var(--clay-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recognition-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0;
}

.recognition-item p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Closing and footer */

.contact-section {
  background: var(--green-deep);
  color: var(--paper);
}

.contact-title {
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  margin-inline: auto;
  max-width: 14ch;
}

.contact-copy {
  color: rgba(243, 240, 231, 0.72);
  max-width: 37rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.footer-meta {
  color: rgba(243, 240, 231, 0.72);
}

.footer-meta-muted {
  color: rgba(243, 240, 231, 0.45);
  font-size: 0.6rem;
}

/* Responsive refinements */

@media (max-width: 1199.98px) {
  .nav-link {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(3.35rem, 6vw, 5.3rem);
  }

  .chart-wrap {
    height: 21rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }

  .nav-link {
    font-size: 0.68rem;
    padding-block: 0.55rem;
  }

  .hero-visual {
    margin-inline: auto;
    max-width: 36rem;
  }

  .research-question {
    max-width: 42rem;
  }

  .chart-takeaway {
    max-width: 14rem;
  }

  .experience-image {
    min-height: 34rem;
  }

  .experience-image::after {
    background: linear-gradient(0deg, rgba(34, 63, 49, 0.45), transparent 50%);
  }

  .experience-content {
    max-width: 48rem;
  }

  .gallery-feature,
  .gallery-portrait {
    height: 32rem;
  }

  .gallery-portrait {
    margin-top: 0;
  }

  .gallery-portrait-short,
  .gallery-feature-short {
    height: 27rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 2.25rem;
  }

  .row.g-5 {
    --bs-gutter-x: 2.25rem;
  }

  .section-space {
    padding-block: 5.5rem;
  }

  .hero-section {
    padding-block: 4.5rem 5.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.65rem);
    line-height: 0.94;
  }

  .hero-title br {
    display: none;
  }

  .hero-visual {
    aspect-ratio: 1 / 1.16;
    box-shadow: 0.75rem 0.75rem 0 var(--paper-deep);
  }

  .section-title,
  .contact-title {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .method-block {
    padding-block: 3.5rem;
  }

  .measurements .micro-label {
    flex-basis: 100%;
  }

  .chart-panel {
    padding: 1.25rem;
  }

  .chart-wrap,
  .chart-wrap-wide {
    height: 20rem;
  }

  .chart-takeaway {
    max-width: none;
    text-align: left;
  }

  .finding-item > span {
    margin-bottom: 1.2rem;
  }

  .editorial-list {
    grid-template-columns: 1fr;
  }

  .experience-stat {
    border-bottom: 1px solid var(--line-light);
    border-right: 0;
  }

  .experience-stats .col-md-4:last-child .experience-stat {
    border-bottom: 0;
  }

  .gallery-feature,
  .gallery-portrait,
  .gallery-square,
  .gallery-wide,
  .gallery-portrait-short,
  .gallery-feature-short {
    height: 26rem;
  }

  .recognition-item {
    padding-block: 1.4rem;
  }

  .recognition-item:hover {
    padding-inline: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: clamp(2.95rem, 14.5vw, 4rem);
  }

  .hero-photo-frame {
    left: 10%;
  }

  .hero-orbit {
    height: 16%;
    width: 20%;
  }

  .field-note {
    bottom: 7%;
    padding: 0.9rem;
    width: 67%;
  }

  .chart-wrap,
  .chart-wrap-wide {
    height: 18rem;
  }

  .engagement-content .metric-label {
    max-width: 7.25rem;
  }

  .experience-image {
    min-height: 28rem;
  }

  .experience-content {
    padding: 3rem 1.25rem;
  }

  .image-coordinate {
    bottom: 1rem;
    left: 1rem;
  }

  .gallery-feature,
  .gallery-portrait,
  .gallery-square,
  .gallery-wide,
  .gallery-portrait-short,
  .gallery-feature-short {
    height: 22rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
