:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --paper-deep: #eee8db;
  --ink: #26291f;
  --muted: #747668;
  --green: #4b5940;
  --orange: #d77d52;
  --line: rgba(38, 41, 31, 0.17);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  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);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 8.3%;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.wordmark-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 37px;
}

.site-nav a,
.menu-toggle {
  color: #4f5148;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.section-shell {
  width: min(1080px, 83.4%);
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 740px;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  padding-top: 78px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 12px 0 0 4%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--orange);
}

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

.hero h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero h1 em,
.story-title h2 em,
.journey-title em,
.longing-copy h2 em,
.letter h2 em {
  color: var(--green);
  font-weight: 500;
}

.hero-intro {
  max-width: 365px;
  margin-bottom: 32px;
  color: #6b6d62;
  font-size: 13px;
  line-height: 1.9;
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.text-link span,
.back-link span {
  color: var(--orange);
  font-size: 17px;
  transition: transform 180ms ease;
}

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

.hero-art {
  position: relative;
  width: 100%;
  max-width: 485px;
  height: 495px;
  justify-self: end;
  overflow: hidden;
  background: #e9d8c3;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(155deg, #eedfcc 2%, #e8bb99 55%, #c77858 100%);
  content: "";
}

.sun {
  position: absolute;
  top: 19%;
  left: 53%;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: #f7e4c5;
  box-shadow: 0 0 70px rgba(255, 237, 200, 0.5);
  animation: sun-breathe 6s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  top: 10%;
  left: 36%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 249, 230, 0.32);
  border-radius: 50%;
}

.orbit-two {
  top: 5%;
  left: 28%;
  width: 310px;
  height: 310px;
  border-color: rgba(255, 249, 230, 0.2);
}

.hill {
  position: absolute;
  right: -15%;
  bottom: -19%;
  left: -12%;
  height: 62%;
  border-radius: 49% 51% 0 0 / 28% 30% 0 0;
  transform: rotate(-7deg);
}

.hill-back {
  bottom: -10%;
  left: 13%;
  height: 47%;
  background: #9b8268;
  transform: rotate(8deg);
}

.hill-front {
  background: #52604a;
}

.hero-note {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 7%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #60594a;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.3;
}

.note-sparkle {
  color: #f7f0df;
  font-size: 27px;
}

.art-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.scroll-cue {
  position: absolute;
  bottom: 49px;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 33px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue span::after {
  position: absolute;
  top: -100%;
  width: 1px;
  height: 100%;
  background: var(--orange);
  animation: scroll-line 1.7s ease-in-out infinite;
  content: "";
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 54px;
  color: #8c8d81;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.story {
  padding-top: 130px;
  padding-bottom: 150px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.section-number {
  color: #85867b;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 11%;
  margin-top: 67px;
  padding-left: 4%;
}

.story-title h2,
.journey-title,
.longing-copy h2,
.letter h2 {
  font-family: var(--serif);
  font-size: clamp(39px, 5.2vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.story-title h2 {
  margin-bottom: 19px;
}

.handwritten,
.signature {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.story-body {
  padding-top: 8px;
}

.story-body > p,
.longing-copy > p:not(.eyebrow) {
  color: #66685d;
  font-size: 12px;
  line-height: 2;
}

.story-body strong {
  color: var(--ink);
  font-weight: 600;
}

.bio-strip {
  display: grid;
  gap: 13px;
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.bio-strip div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
}

.bio-strip span {
  color: #85867b;
}

.bio-strip strong {
  text-align: right;
}

.journey {
  padding: 105px 0 125px;
  background: var(--paper-deep);
}

.journey-title {
  margin: 62px 0 71px 4%;
}

.timeline {
  margin-left: 4%;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 0.8fr;
  gap: 26px;
  padding: 32px 0 35px 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-marker {
  position: absolute;
  top: 39px;
  left: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--paper-deep);
}

.timeline-date {
  margin: 2px 0 0;
  color: #85867b;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.timeline-content h3 {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.timeline-content p {
  max-width: 440px;
  margin: 0;
  color: #6b6d62;
  font-size: 11px;
  line-height: 1.9;
}

.timeline-aside {
  align-self: center;
  justify-self: end;
  color: #85867b;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.longing {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  align-items: center;
  gap: 12%;
  padding-top: 145px;
  padding-bottom: 150px;
}

.longing-art {
  position: relative;
  max-width: 390px;
  height: 438px;
  background: #dedacb;
}

.window-frame {
  position: absolute;
  inset: 9% 14% 0;
  overflow: hidden;
  border: 12px solid #eee8db;
  border-bottom: 0;
  background: linear-gradient(180deg, #859094, #d3a37e 70%, #64705b);
}

.window-frame::before,
.window-frame::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #eee8db;
  content: "";
}

.window-frame::before {
  left: 50%;
}

.window-frame::after {
  top: 59%;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 10px;
}

.window-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #818f91 0%, #c99478 77%, #737a62 100%);
}

.window-land {
  position: absolute;
  right: -20%;
  bottom: -8%;
  left: -20%;
  height: 44%;
  border-radius: 50% 50% 0 0;
  background: #596450;
  transform: rotate(-9deg);
}

.window-moon {
  position: absolute;
  top: 22%;
  right: 20%;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background: #efdfc5;
  box-shadow: 0 0 38px rgba(255, 236, 198, 0.45);
}

.window-star {
  position: absolute;
  z-index: 1;
  color: #eee1c8;
  font-size: 12px;
}

.star-a {
  top: 15%;
  left: 27%;
}

.star-b {
  top: 34%;
  left: 73%;
  font-size: 8px;
}

.longing-art-caption {
  position: absolute;
  right: -47px;
  bottom: 17px;
  color: #65685c;
  font-size: 7px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.longing-copy .eyebrow {
  margin-bottom: 23px;
}

.longing-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(37px, 4.3vw, 54px);
}

.longing-copy .signature {
  display: inline-block;
  margin-top: 8px;
}

.letter {
  padding: 105px 0 110px;
  background: #e9e2d4;
  text-align: center;
}

.letter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter-flower {
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 24px;
  animation: slow-turn 18s linear infinite;
}

.letter .eyebrow {
  margin-bottom: 23px;
}

.letter h2 {
  margin-bottom: 19px;
  font-size: clamp(35px, 4.5vw, 57px);
}

.letter > .letter-inner > p:not(.eyebrow) {
  max-width: 415px;
  margin-bottom: 29px;
  color: #6b6d62;
  font-size: 11px;
  line-height: 1.9;
}

.back-link {
  border-bottom-color: var(--line);
}

.back-link:hover span {
  transform: translateY(-3px);
}

.site-footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 8.3%;
  color: #77796e;
  font-size: 9px;
}

.footer-wordmark {
  color: var(--ink);
  font-size: 11px;
}

.footer-wordmark .wordmark-mark {
  width: 24px;
  height: 24px;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.timeline-item:nth-child(2) {
  transition-delay: 90ms;
}

.timeline-item:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes sun-breathe {
  from {
    transform: scale(0.96);
    opacity: 0.88;
  }

  to {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes scroll-line {
  from {
    top: -100%;
  }

  to {
    top: 100%;
  }
}

@keyframes slow-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 800px) {
  .site-header {
    height: 74px;
    padding-inline: 6%;
  }

  .section-shell {
    width: 88%;
  }

  .hero {
    min-height: 680px;
    grid-template-columns: 1fr 0.85fr;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-art {
    height: 410px;
  }

  .story-grid {
    gap: 7%;
    padding-left: 0;
  }

  .longing {
    gap: 9%;
  }

  .longing-art {
    height: 380px;
  }

  .timeline {
    margin-left: 0;
  }

  .timeline-item {
    grid-template-columns: 0.7fr 1.6fr;
  }

  .timeline-aside {
    display: none;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    position: absolute;
  }

  .menu-toggle {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 10px;
  }

  .menu-icon {
    display: grid;
    gap: 5px;
  }

  .menu-icon i {
    width: 17px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

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

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

  .site-nav {
    position: absolute;
    top: 62px;
    right: 5%;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 140px;
    padding-bottom: 100px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(57px, 16vw, 82px);
  }

  .hero-intro {
    max-width: 330px;
  }

  .hero-art {
    width: 100%;
    max-width: none;
    height: min(108vw, 430px);
  }

  .sun {
    left: 50%;
    width: 100px;
    height: 100px;
  }

  .scroll-cue {
    bottom: 27px;
    left: 0;
  }

  .hero-index {
    right: 0;
    bottom: 38px;
  }

  .story {
    padding-top: 81px;
    padding-bottom: 92px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 17px;
  }

  .section-heading .eyebrow {
    font-size: 8px;
  }

  .section-number {
    padding-top: 2px;
    white-space: nowrap;
    font-size: 7px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 46px;
  }

  .story-title h2 {
    font-size: clamp(44px, 12vw, 61px);
  }

  .story-body {
    max-width: 500px;
  }

  .bio-strip div {
    font-size: 9px;
  }

  .journey {
    padding: 78px 0 85px;
  }

  .journey-title {
    margin: 48px 0 46px;
    font-size: clamp(45px, 12vw, 61px);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 26px 0 27px 19px;
  }

  .timeline-marker {
    top: 31px;
  }

  .timeline-content h3 {
    font-size: 21px;
  }

  .longing {
    grid-template-columns: 1fr;
    gap: 47px;
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .longing-art {
    width: 87%;
    height: min(106vw, 410px);
  }

  .longing-art-caption {
    right: -30px;
  }

  .longing-copy h2 {
    font-size: clamp(42px, 11vw, 56px);
  }

  .letter {
    padding: 81px 0 86px;
  }

  .letter h2 {
    font-size: clamp(36px, 9.5vw, 50px);
  }

  .site-footer {
    min-height: 120px;
    flex-wrap: wrap;
    gap: 11px 18px;
    padding: 24px 6%;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
