:root {
  --paper: #eee9df;
  --paper-deep: #dfd7c9;
  --ink: #342f2b;
  --ink-soft: #665f58;
  --dark: #312d29;
  --white: #f7f2e9;
  --accent: #f7f2e9;
  --line: rgba(52, 47, 43, 0.24);
  --page-width: 480px;
  --gutter: 24px;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --italic: "Literata", Georgia, "Times New Roman", serif;
  --handwritten: "Bad Script", "Segoe Print", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #26231f;
}

body {
  margin: 0;
  color: var(--ink);
  background: #26231f;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.page-shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.38);
}

.paper {
  position: relative;
  isolation: isolate;
  background-color: var(--paper);
  background-image: url("assets/images/background.jpg");
  background-position: center top;
  background-size: 100% auto;
}

.paper::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(238, 233, 223, 0.13);
  pointer-events: none;
}

.button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 19px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button__icon,
.text-link__icon {
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.button__icon {
  width: 21px;
  height: 21px;
}

.button:active {
  transform: translateY(1px);
}

.cta-price {
  margin-top: 10px;
  color: rgba(247, 242, 233, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.35;
  text-align: center;
}

.button--light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button--dark {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.button--accent {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero__image {
  height: 140%;
}

.hero__image {
  object-fit: cover;
  object-position: center right;
  filter: contrast(1.01);
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(23, 20, 18, 0.34) 0%, transparent 26%),
    linear-gradient(180deg, transparent 43%, rgba(23, 20, 18, 0.78) 100%);
}

.hero__title-wrap,
.hero__bottom {
  position: relative;
  z-index: 1;
}

.hero__title-wrap {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  padding-inline: var(--gutter);
}

.hero__kicker {
  margin-bottom: 7px;
  font-family: var(--italic);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.hero__title {
  font-size: clamp(42px, 15vw, 68px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.hero__description {
  max-width: 390px;
  margin-bottom: 18px;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42);
}

.hero__bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 var(--gutter) max(36px, calc(env(safe-area-inset-bottom) + 24px));
}

.story {
  padding: 44px var(--gutter) 70px;
}

.story__prototype-copy {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  font-weight: 500;
}

.story__reveal {
  margin: 24px 0 44px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.story__cta {
  margin-top: 28px;
}

.collage {
  --collage-gap: 8px;
  --collage-half-gap: 4px;

  position: relative;
  aspect-ratio: 0.94;
}

.photo {
  position: absolute;
  overflow: hidden;
}

.photo img {
  height: 100%;
  object-fit: cover;
  filter: contrast(1.01);
}

.photo--flowers {
  top: 12.5%;
  bottom: calc(39% + var(--collage-half-gap));
  left: 0;
  width: 38%;
}

.photo--bed {
  top: 0;
  bottom: calc(52% + var(--collage-half-gap));
  left: calc(38% + var(--collage-gap));
  right: 0;
}

.photo--summer {
  top: calc(61% + var(--collage-half-gap));
  bottom: 0;
  left: 0;
  width: 64%;
}

.photo--field {
  top: calc(48% + var(--collage-half-gap));
  left: calc(64% + var(--collage-gap));
  right: 0;
  bottom: 0;
}

.collage__handwritten-note {
  position: absolute;
  z-index: 2;
  top: 48%;
  right: 0;
  width: 66%;
  color: rgba(43, 38, 34, 0.96);
  font-family: var(--handwritten);
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  transform: rotate(-3deg);
  pointer-events: none;
  font-style: italic;
}

.program {
  padding: 44px var(--gutter) 70px;
  color: var(--white);
  background: var(--dark);
}

.program__heading {
  margin: 0 0 34px;
}

.program__intro {
  max-width: 390px;
  margin-top: 16px;
  color: rgba(247, 242, 233, 0.61);
  font-family: var(--italic);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.faq__title {
  font-size: clamp(44px, 12vw, 58px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.program__title {
  font-size: clamp(44px, 12vw, 58px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.lessons {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson {
  display: flex;
  gap: 18px;
  padding: 0;
}

.lesson__icon {
  margin-top: 2px;
  width: 32px;
  height: 32px;
  color: rgba(247, 242, 233, 0.66);
}

.lesson__icon-image {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lesson__title {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lesson__description {
  max-width: 340px;
  color: rgba(247, 242, 233, 0.66);
  font-size: 15px;
  line-height: 1.42;
}

.program-format {
  margin-top: 44px;
}

.program-format__title {
  margin-bottom: 30px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.program-format__list {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.program-format__item {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: start;
  gap: 12px;
  padding: 0;
  color: rgba(247, 242, 233, 0.76);
  font-size: 15px;
  line-height: 1.42;
}

.program-format__item::before {
  width: 5px;
  height: 5px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.author {
  background: var(--paper);
}

.author__image-wrap {
  position: relative;
  overflow: hidden;
}

.author__image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.author__copy {
  padding: 0 var(--gutter) 70px;
  position: relative;
  margin-top: -44px;
}

.author__title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 10vw, 44px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.author__copy > p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.52;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link__icon {
  width: 16px;
  height: 16px;
}

.faq {
  padding: 44px var(--gutter) 70px;
  background: #fff;
}

.faq__title {
  margin: 0 0 43px;
  font-family: var(--sans);
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  min-height: 74px;
  padding: 22px 56px 22px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 28px;
  text-align: center;
  content: "+";
  color: var(--ink);
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 390px;
  padding: 0 52px 24px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.faq summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.final-cta {
  display: flex;
  padding: 44px var(--gutter) 70px;
  color: var(--white);
  background: var(--dark);
}

.final-cta__content {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.final-cta__intro {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.5;
}

.final-cta__quote {
  margin: 0 0 32px;
}

.final-cta__quote-start {
  font-size: clamp(32px, 9vw, 40px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.8;
  text-transform: uppercase;
}

.final-cta__title {
  margin: 0;
  font-family: var(--italic);
  font-size: clamp(20px, 7vw, 28px);
  letter-spacing: -0.035em;
  line-height: 1;
  font-weight: 500;
  font-style: italic;
}

.footer {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 23px var(--gutter) max(24px, env(safe-area-inset-bottom));
  color: rgba(247, 242, 233, 0.58);
  background: var(--dark);
  border-top: 1px solid rgba(247, 242, 233, 0.18);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer a {
  text-decoration: none;
}

@media (hover: hover) {
  .button--light:hover {
    color: var(--white);
    background: transparent;
  }

  .button--dark:hover {
    color: var(--dark);
    background: transparent;
  }

  .button--accent:hover {
    color: var(--white);
    background: transparent;
  }

  .text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
  }
}

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

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