@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f4f3eb;
  --sage: #e4e9df;
  --green: #203a32;
  --serif: "Cormorant Garamond", "Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: max(clamp(1.5rem, 6vw, 7rem), calc((100vw - 80rem) / 2));
}

* { box-sizing: border-box; }
html { background: var(--ivory); }
body { margin: 0; color: var(--green); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; font-weight: 400; }
h1, h2, .moment { font-family: var(--serif); }
::selection { color: var(--ivory); background: var(--green); }
main { width: 100%; }
section { position: relative; }
h1 span, h2 span { display: block; }
.artwork { overflow: hidden; }
.artwork img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 42rem;
  min-height: max(42rem, 96svh);
  padding: 10rem var(--gutter) 8rem;
  isolation: isolate;
  background: var(--green);
  color: var(--ivory);
  overflow: hidden;
}
.hero__art, .hero__wash { position: absolute; inset: 0; z-index: -1; }
.hero__art img { object-position: 50% 56%; }
/* Keep type legible on the bright water and if artwork cannot load. */
.hero__wash { background: linear-gradient(90deg, rgba(17, 37, 29, .65), rgba(17, 37, 29, .18)), rgba(17, 37, 29, .18); }
.wordmark { position: absolute; top: 2.5rem; left: var(--gutter); }
.wordmark img { display: block; width: 9rem; height: auto; }
h1 { max-width: 80rem; font-size: clamp(4.5rem, 9.8vw, 9rem); line-height: 1; letter-spacing: -.045em; }
.hero__rule { position: absolute; bottom: 0; left: var(--gutter); height: 3.5rem; width: 1px; background: rgba(244, 243, 235, .55); }

.moments { padding: clamp(6rem, 10vw, 10rem) var(--gutter); background: var(--ivory); }
.moments__composition { max-width: 74rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.moments__copy { display: flex; flex-direction: column; gap: clamp(2.5rem, 4vw, 4rem); }
.moment { font-size: clamp(2.25rem, 3.9vw, 3.5rem); line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
.moment--conversation { margin-left: 6%; font-size: clamp(2rem, 3.4vw, 3rem); }
.moment--presence { margin-left: 2%; }
.moments__image { aspect-ratio: 4 / 5; background: var(--sage); }
.moments__image img { object-position: 85% 50%; }

.return { padding: clamp(5rem, 8vw, 8rem) var(--gutter); background: var(--sage); }
.return__layout { max-width: 74rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.return__copy { grid-column: 2; grid-row: 1; width: 100%; }
.return__image { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; background: #cbd3c1; }
.return__image img { object-position: 20% 80%; transform: scale(1.32); transform-origin: 20% 80%; }
.return__rule { width: 2.5rem; height: 1px; margin: 0 0 2.5rem; background: #97a493; }
.return__preface { margin-bottom: 1.75rem; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.6; }
.return h2 { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -.035em; }

.closing { min-height: 37rem; min-height: max(37rem, 74svh); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6.5rem var(--gutter) 3rem; text-align: center; background: var(--ivory); }
.closing__mark { display: block; width: 4rem; height: 4rem; margin-bottom: 2.5rem; }
.closing h2 { font-size: clamp(3.4rem, 6.5vw, 6.5rem); line-height: 1.03; letter-spacing: -.035em; }
.closing__domain { margin-top: 5rem; font-size: .8125rem; line-height: 1.5; letter-spacing: .04em; }

/* Baseline content is readable before motion initializes and without JavaScript. */
@keyframes settle-in { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes water-drift { from { transform: scale(1.025); } to { transform: scale(1.045) translateY(-.2%); } }
@media (prefers-reduced-motion: no-preference) {
  .is-entering { animation: settle-in 900ms cubic-bezier(.2,.6,.3,1) both; }
  .hero__art.is-in-view img { animation: water-drift 30s ease-in-out infinite alternate; }
}

@media (max-width: 700px) {
  .hero { min-height: 36rem; min-height: max(36rem, 90svh); padding-top: 8rem; padding-bottom: 6rem; }
  .wordmark { top: 1.75rem; }
  .wordmark img { width: 8rem; }
  h1 { font-size: clamp(2.65rem, 11.5vw, 5rem); line-height: 1.04; letter-spacing: -.035em; }
  .hero__art img { object-position: 62% 50%; }
  .hero__wash { background: rgba(17, 37, 29, .5); }
  .hero__rule { height: 2.5rem; }
  .moments { padding-block: 5rem; }
  .moments__composition { display: flex; flex-direction: column; gap: 3rem; align-items: stretch; }
  .moments__copy { gap: 3.5rem; }
  .moment { max-width: 30rem; font-size: clamp(2rem, 7.8vw, 3rem); line-height: 1.18; letter-spacing: -.02em; }
  .moment--conversation { margin-left: 7%; max-width: 26rem; font-size: clamp(1.875rem, 7.3vw, 2.8rem); }
  .moment--presence { margin-left: 3%; }
  .moments__image { width: 90%; margin-left: auto; }
  .return { padding-block: 4.5rem; }
  .return__layout { display: flex; flex-direction: column; gap: 3rem; }
  .return__copy { text-align: center; }
  .return__image { width: 100%; }
  .return__rule { margin: 0 auto 2rem; }
  .return__preface { margin-bottom: 1.5rem; }
  .return h2 { font-size: clamp(2.65rem, 10vw, 4.6rem); }
  .closing { min-height: 32rem; min-height: max(32rem, 68svh); padding-top: 4.5rem; padding-bottom: 2.5rem; }
  .closing__mark { width: 3.5rem; height: 3.5rem; margin-bottom: 2rem; }
  .closing h2 { font-size: clamp(2.6rem, 10vw, 4.5rem); }
  .closing__domain { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
