@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #26201c;
  --paper: #f3eee6;
  --paper-80: rgba(243, 238, 230, 0.8);
  --sand: #cfc3b4;
  --stone: #a89a8a;
  --mist: #e8dfd3;
  --rule: rgba(243, 238, 230, 0.12);
  --rule-strong: rgba(243, 238, 230, 0.35);
  --underline: rgba(243, 238, 230, 0.5);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1248px;
  --gutter: clamp(20px, 6.67vw, 96px);
  --section-space: clamp(88px, 9.7vw, 140px);
  --split-gap: clamp(48px, 6.67vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--sand);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: rgba(243, 238, 230, 0.25);
  color: var(--paper);
}

:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--night);
}

.skip-link:focus {
  top: 12px;
}

/* Type */

.eyebrow {
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
}

.display {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.56vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.h2 {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.61vw, 3.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 440px;
  color: var(--sand);
  font-size: 16px;
  line-height: 1.6;
}

.wordmark {
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.link-cta {
  align-self: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--underline);
  color: var(--paper);
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: border-color 0.3s var(--ease);
}

.link-cta:hover {
  border-bottom-color: var(--paper);
}

.photo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo--step {
  aspect-ratio: 600 / 680;
}

.photo--tall {
  aspect-ratio: 600 / 740;
}

/* Nav */

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav__link {
  display: none;
  color: var(--paper-80);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--paper);
}

.nav__cta {
  padding-block: 10px;
  border-bottom: 1px solid var(--paper);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 760px) {
  .nav__link {
    display: inline;
  }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  max-width: none;
  object-fit: cover;
}

/* Keep the mat and cup in view when the screen is taller than wide. */
@media (max-aspect-ratio: 1 / 1) {
  .hero__image {
    object-position: 78% 50%;
  }
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(42, 28, 20, 0.5) 0%, rgba(42, 28, 20, 0) 20%),
    linear-gradient(90deg, rgba(42, 28, 20, 0.9) 0%, rgba(42, 28, 20, 0.66) 40%, rgba(42, 28, 20, 0) 72%);
}

@media (max-width: 759px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(42, 28, 20, 0.5) 0%, rgba(42, 28, 20, 0) 20%),
      linear-gradient(90deg, rgba(42, 28, 20, 0.9) 0%, rgba(42, 28, 20, 0.66) 60%, rgba(42, 28, 20, 0.3) 100%);
  }
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(24px, 3.9vw, 56px) clamp(40px, 5vw, 72px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  max-width: 600px;
}

.hero__top {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.eyebrow--hero {
  color: rgba(232, 223, 211, 0.65);
}

.hero__intro {
  max-width: 440px;
  color: var(--mist);
  font-size: 17px;
  line-height: 1.6;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__note {
  color: rgba(232, 223, 211, 0.65);
  font-size: 14px;
}

/* Sections */

.section {
  padding-block: var(--section-space);
  background: var(--night);
}

.section--rule {
  border-top: 1px solid var(--rule);
}

.section--rhythm {
  background: #332a25;
}

.section--about {
  --about-quiet: #e2d8ca;
  background: #877163;
}

.section--prices {
  background: #4d2c16;
}

.lead--quiet {
  color: var(--stone);
}

/* The rhythm */

.rhythm__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: clamp(72px, 8.33vw, 120px);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 8.33vw, 120px);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step .photo {
  order: -1;
}

.step__copy,
.split__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vw, 40px);
}

@media (min-width: 900px) {
  .step {
    display: grid;
    grid-template-columns: minmax(0, 552fr) minmax(0, 600fr);
    align-items: center;
    gap: var(--split-gap);
  }

  .step .photo {
    order: 0;
  }

  .step--flip {
    grid-template-columns: minmax(0, 600fr) minmax(0, 552fr);
  }

  .step--flip .photo {
    order: -1;
  }
}

/* Keepsake and sessions */

.split {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 900px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 600fr) minmax(0, 552fr);
    align-items: center;
    gap: var(--split-gap);
  }

  .split--sessions {
    grid-template-columns: minmax(0, 552fr) minmax(0, 600fr);
  }
}

.sessions {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.option {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option__line,
.option__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.option__title {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.option__meta {
  color: var(--stone);
  font-size: 13px;
}

.option__meta p:last-child {
  text-align: right;
}

.option__desc {
  color: var(--stone);
  font-size: 14px;
  line-height: 1.6;
}

.sessions__foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* About */

.about__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: clamp(64px, 7.8vw, 112px);
}

.about__eyebrow,
.about__small {
  color: var(--paper);
}

.statement {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.89vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.036em;
}

.statement__quiet {
  color: var(--about-quiet);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.photo--portrait {
  aspect-ratio: 460 / 600;
}

.about__story {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 440px;
  color: var(--paper);
}

.about__story .about__quiet {
  color: var(--about-quiet);
}

.about__small {
  font-size: 14px;
}

.about__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
  margin: 0;
}

.about__detail figcaption {
  font-size: 13px;
  line-height: 1.5;
}

.photo--detail {
  aspect-ratio: 280 / 360;
}

@media (min-width: 900px) {
  .about__head {
    display: grid;
    grid-template-columns: minmax(0, 460fr) minmax(0, 724fr);
    gap: 64px;
  }

  .about__body {
    display: grid;
    grid-template-columns: minmax(0, 460fr) minmax(0, 380fr) minmax(0, 280fr);
    align-items: start;
    gap: 64px;
  }

  .about__detail {
    padding-top: 240px;
  }
}

/* Footer */

.footer {
  padding-block: 40px 48px;
  border-top: 1px solid var(--rule);
  background: #382719;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.footer__links {
  color: var(--stone);
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer__links a {
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--paper);
}

/* Legal pages */

.legal {
  padding-block: clamp(48px, 7vw, 96px) var(--section-space);
}

.legal .h2 {
  margin: 24px 0 48px;
}

.legal h3 {
  margin: 40px 0 12px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.4px;
}

.legal p {
  max-width: 64ch;
}

.legal p + p {
  margin-top: 12px;
}

/* Scroll reveal: content stays visible without JS and with reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
