.contact-section {
  background: #e9eeea
}

.contact-inner {
  display: grid;
  gap: 2rem
}

.contact-inner h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  letter-spacing: -.06em;
  line-height: 1.08
}

.contact-inner p {
  max-width: 30rem;
  color: #4d5c52
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem
}

.contact-links a {
  font-size: 1.1rem;
  font-weight: 700;
  text-underline-offset: .3em
}

.contact-links span {
  padding-left: .3rem
}

@media(min-width:48rem) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end
  }
}

.portfolio-section {
  background: #fff
}

.project {
  display: grid;
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid #dedfda
}

.project-copy {
  padding: 1rem 0
}

.project-index {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 750;
  color: #607068
}

.project h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: 1.2rem 0
}

.project-copy>p:not(.project-index) {
  max-width: 30rem;
  color: #555e58
}

.project-copy .contribution {
  font-size: .87rem;
  margin-top: 2rem
}

.contribution strong {
  color: #26332d
}

.project-slideshow {
  margin: 0
}

.placeholder-art {
  aspect-ratio: 16/10;
  background: #eef1eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  color: #4c5b52;
  text-align: center
}

.placeholder-art span {
  font-size: 3rem;
  color: #a2b2a4;
  line-height: 1;
  margin-bottom: 1rem
}

.placeholder-art strong {
  font-size: .92rem
}

.placeholder-art small {
  font-size: .8rem
}

.placeholder-alt {
  background: #f2eeef
}

.placeholder-alt span {
  color: #c2a8b1
}

.project-slideshow .slideshow-caption {
  font-size: .78rem;
  color: #4e5d54
}

.project-slideshow .slideshow-toggle {
  display: none
}

.project-slideshow .slideshow-stage {
  box-shadow: none;
  border: 1px solid #e3e6e0
}

.project-slideshow .slideshow-controls {
  max-width: 16rem;
  margin-left: auto
}

.project-slideshow .slideshow-dot {
  width: .85rem;
  height: .85rem
}

@media(min-width:48rem) {
  .project {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center
  }
}

.experience-section {
  background: #fff
}

.experience-label {
  padding: .9rem 0;
  border-bottom: 1px solid #cfd5cf;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 750;
  color: #59655d
}

.role {
  display: grid;
  gap: .3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid #e3e6e1
}

.role-date {
  font-size: .8rem;
  font-weight: 700;
  color: #5c6860;
  margin: 0
}

.role h3 {
  font-size: 1.2rem;
  letter-spacing: -.025em;
  margin: 0 0 .2rem
}

.role-company {
  font-weight: 700;
  color: #587065;
  font-size: .88rem
}

.role p:last-child {
  max-width: 45rem;
  color: #525b55;
  margin-bottom: 0
}

.experience-aside {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 0
}

.experience-aside h3 {
  font-size: 1rem
}

.experience-aside p {
  color: #525b55;
  font-size: .94rem
}

.skills-section {
  background: #f2f3ee
}

.skills-grid {
  display: grid;
  gap: 1px;
  background: #d9dfd8;
  border: 1px solid #d9dfd8
}

.skills-grid article {
  background: #f8f9f5;
  padding: 1.7rem;
  min-height: 13rem
}

.skills-grid article span {
  display: block;
  color: #68796d;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 2rem
}

.skills-grid h3 {
  font-size: 1.1rem;
  letter-spacing: -.02em
}

.skills-grid p {
  font-size: .92rem;
  color: #555e58;
  margin: 0
}

@media(min-width:48rem) {
  .role {
    grid-template-columns: 1fr 2fr;
    gap: 3rem
  }

  .experience-aside {
    grid-template-columns: 1fr 1fr;
    gap: 4rem
  }

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

:root {
  color-scheme: light;
  --color-bg: #f8f8f5;
  --color-surface: #fff;
  --color-text: #262827;
  --color-muted: #555c59;
  --color-border: #dedfda;
  --color-primary: #283e3b;
  --color-primary-contrast: #fff;
  --color-accent: #4b605a;
  --color-focus: #995b91;
  --container: 76rem
}

html {
  scroll-padding-top: 7rem
}

body {
  background: var(--color-bg);
  line-height: 1.65
}

a {
  color: #294c47
}

button {
  font: inherit
}

section[id] {
  scroll-margin-top: 7rem
}

.container {
  max-width: 76rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem)
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  background: none;
  border: 0;
  z-index: 50;
  pointer-events: none
}

.header-inner {
  pointer-events: auto;
  width: calc(100% - 2rem);
  max-width: 76rem;
  padding: .55rem .8rem .55rem 1rem;
  border: 1px solid #e3e3dc;
  border-radius: 1rem;
  background: rgba(255, 255, 252, .97);
  box-shadow: 0 10px 35px rgba(36, 42, 38, .1);
  min-height: 4.2rem
}

.brand {
  font-size: .88rem;
  letter-spacing: -.02em;
  gap: .7rem
}

.brand-mark {
  font-size: 1.45rem;
  line-height: 1;
  color: #303733;
  font-weight: 800
}

.brand-mark span {
  color: #ae6a86
}

.nav-link {
  font-size: .84rem;
  font-weight: 600;
  padding: .65rem .75rem
}

.nav-toggle {
  width: auto;
  height: auto;
  gap: .65rem;
  padding: .45rem .7rem;
  border-radius: .5rem;
  font-size: .85rem;
  font-weight: 650
}

.site-nav {
  padding-top: .8rem
}

.nav-list {
  gap: .1rem
}

.site-main {
  min-height: 0
}

.skip-link {
  z-index: 100
}

.site-footer {
  padding: 2.5rem 0;
  background: #f2f2ed
}

.footer-note {
  margin: 0
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -.055em;
  line-height: 1.08;
  margin: 0
}

.section-heading p {
  max-width: 36rem;
  color: var(--color-muted);
  margin: 0
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .16em;
  color: #52615c;
  font-weight: 750;
  text-transform: uppercase
}

.section-number {
  display: block;
  margin-bottom: 1rem;
  color: #65716a;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase
}

.text-link {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em
}

.button {
  background: #293d39;
  color: white;
  border-radius: 100px;
  padding: .85rem 1.35rem;
  font-size: .87rem
}

.button-secondary {
  background: #fff;
  color: #293d39;
  border: 1px solid #cfd5d0
}

.muted {
  color: var(--color-muted)
}

@media(min-width:48rem) {
  .header-inner {
    padding-inline: 1.35rem
  }

  .site-nav {
    padding: 0
  }

  .nav-list {
    gap: .15rem
  }

  .section-heading {
    grid-template-columns: 1fr 1fr;
    align-items: end
  }

  .section-heading p {
    justify-self: end
  }

  .section-heading .section-number {
    grid-column: 1/-1;
    margin-bottom: 0
  }
}

@media(max-width:47.99rem) {
  .header-inner {
    align-items: center
  }

  .brand-name {
    max-width: 13rem;
    line-height: 1.2
  }

  .site-nav {
    flex-basis: 100%
  }

  .nav-link {
    padding: .75rem
  }

  .nav-list {
    padding-bottom: .3rem
  }
}

.overview-content {
  display: grid;
  gap: 2rem;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem)
}

.overview-copy h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  letter-spacing: -.06em;
  line-height: 1.05
}

.overview-copy p {
  max-width: 35rem;
  color: #555c59
}

.overview-copy .overview-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #2d3531
}

.timeline-figure {
  margin: 0;
  background: white;
  border: 1px solid #dedfda;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 15px 45px rgba(30, 40, 34, .06)
}

.timeline-figure img {
  display: block;
  width: 100%;
  height: auto
}

.timeline-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  padding: .9rem .2rem 0;
  font-size: .8rem;
  color: #555c59
}

.timeline-summary {
  margin: 0;
  max-width: 34rem;
  font-size: .9rem;
  color: #555c59
}

@media(min-width:48rem) {
  .overview-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem;
    align-items: start
  }

  .timeline-figure {
    grid-column: 2;
    grid-row: 1/3
  }

  .timeline-summary {
    grid-column: 1
  }
}

.timeline-figure [data-timeline-open] {
  cursor: zoom-in;
}

body.timeline-lightbox-open {
  overflow: hidden;
}

.timeline-lightbox {
  width: min(64rem, calc(100% - 2rem));
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  box-sizing: border-box;
  margin: auto;
  padding: 1rem;
  border: 0;
  border-radius: .75rem;
  background: #f5f5f1;
  color: #242825;
  overflow: auto;
}

.timeline-lightbox::backdrop {
  background: rgba(15, 24, 21, .8);
}

.timeline-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.timeline-lightbox-toolbar h2 {
  margin: 0;
  font-size: 1.15rem;
}

.timeline-lightbox-toolbar button {
  flex-shrink: 0;
  padding: .6rem 1rem;
}

.timeline-lightbox > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 12rem);
  object-fit: contain;
  margin: 0 auto 1rem;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 41rem;
  display: flex;
  align-items: center;
  background: #f0f1ed
}

.hero-art {
  position: absolute;
  inset: -15vh 0;
  overflow: hidden;
  background: linear-gradient(125deg, #f5f5f1 20%, #eeefed 80%)
}

.art-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .68
}

.art-orb-one {
  width: 35rem;
  height: 35rem;
  right: 3%;
  top: 15%;
  background: linear-gradient(135deg, #e9bbc3, #e8d7b7 38%, #c3dcd0 70%, #d4cae4)
}

.art-orb-two {
  width: 24rem;
  height: 24rem;
  right: 21%;
  top: 32%;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .36)
}

.art-orb-three {
  width: 18rem;
  height: 18rem;
  right: -3%;
  bottom: 8%;
  background: rgba(245, 245, 241, .65)
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 9rem;
  padding-bottom: 5rem
}

.hero-content h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  letter-spacing: -.075em;
  line-height: .99;
  max-width: 12ch;
  margin: 1.2rem 0 1.7rem
}

.hero-period {
  color: #a56b87
}

.hero-intro {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  max-width: 29rem;
  color: #3f4b46
}

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

.hero-note {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: #58645e;
  margin: 4.2rem 0 0
}

.hero-note span {
  padding: 0 .5rem;
  color: #a67688
}

@keyframes hero-drift {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(50vh)
  }
}

@media(max-width:47.99rem) {
  .hero-banner {
    min-height: 40rem
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 10vw, 4.3rem)
  }

  .art-orb-one {
    right: -75%;
    top: 20%
  }

  .art-orb-two {
    right: -55%;
    top: 35%
  }

  .hero-content {
    padding-top: 9rem
  }

  .hero-intro {
    max-width: 22rem
  }
}

@media(prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior: smooth
  }

  @supports(animation-timeline:scroll()) {
    .hero-art {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh
    }
  }
}
