:root {
  --paper: #f5efe4;
  --paper-soft: #fbf7ef;
  --forest: #13382f;
  --forest-2: #244c3f;
  --charcoal: #262824;
  --muted: #6f7166;
  --sand: #c9a16a;
  --sand-soft: #e5cfaa;
  --sage: #aeb8a3;
  --line: rgba(19, 56, 47, 0.14);
  --shadow: 0 24px 70px rgba(38, 40, 36, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(229, 207, 170, 0.38), transparent 28rem),
    linear-gradient(180deg, var(--paper-soft), var(--paper) 40%, #efe5d5);
  color: var(--charcoal);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(251, 247, 239, 0.82);
  box-shadow: 0 16px 46px rgba(38, 40, 36, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(19, 56, 47, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(38, 40, 36, 0.72);
  font-size: 0.91rem;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-nav a:hover {
  color: var(--forest);
  background: rgba(19, 56, 47, 0.08);
}

.site-nav .nav-button {
  margin-left: 4px;
  color: var(--paper-soft);
  background: var(--forest);
  box-shadow: 0 10px 30px rgba(19, 56, 47, 0.2);
}

.site-nav .nav-button:hover {
  color: #fff;
  background: #0e2b25;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 10px;
  background: var(--paper-soft);
}

main,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

section {
  scroll-margin-top: 110px;
}

.hero {
  min-height: min(760px, calc(88vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: clamp(32px, 6vw, 74px);
  padding: clamp(54px, 8vw, 86px) 0 56px;
}

.quiet-label {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
}

h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(38, 40, 36, 0.72);
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
}

.button-row,
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-row {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffaf2;
  background: var(--forest);
  box-shadow: 0 18px 42px rgba(19, 56, 47, 0.23);
}

.button.primary:hover {
  background: #0d2c25;
}

.button.secondary {
  color: var(--forest);
  border-color: rgba(19, 56, 47, 0.17);
  background: rgba(255, 255, 255, 0.46);
}

.button.secondary:hover {
  border-color: rgba(19, 56, 47, 0.28);
  box-shadow: 0 16px 36px rgba(38, 40, 36, 0.08);
}

.hero-art {
  position: relative;
  isolation: isolate;
  width: min(100%, 470px);
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 38px;
  background: rgba(255, 252, 245, 0.48);
  box-shadow: var(--shadow);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.hero-art::before {
  width: 62%;
  aspect-ratio: 1;
  right: -18%;
  top: -11%;
  background: rgba(201, 161, 106, 0.2);
  filter: blur(2px);
}

.hero-art::after {
  width: 58%;
  aspect-ratio: 1;
  left: -13%;
  bottom: -16%;
  background: rgba(174, 184, 163, 0.28);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.96);
}

.path-line {
  position: absolute;
  inset: auto 10% 9% 10%;
  height: 46%;
  border-right: 2px solid rgba(255, 250, 242, 0.66);
  border-bottom: 2px solid rgba(255, 250, 242, 0.38);
  border-radius: 50%;
  transform: rotate(-9deg);
  pointer-events: none;
}

.content-pair,
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: center;
  padding: clamp(78px, 11vw, 138px) 0;
  border-top: 1px solid var(--line);
}

.reflection-copy,
.about-copy {
  color: rgba(38, 40, 36, 0.74);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.reflection-copy p,
.about-copy p {
  margin: 0 0 24px;
}

.soft-path {
  margin-top: 36px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.55);
  border: 1px solid rgba(19, 56, 47, 0.1);
}

.soft-path svg {
  width: 100%;
  height: auto;
  fill: none;
}

.soft-path path {
  stroke: var(--sand);
  stroke-width: 8;
  stroke-linecap: round;
  opacity: 0.42;
}

.soft-path circle {
  fill: var(--forest);
  opacity: 0.62;
}

.watch,
.themes,
.letter,
.prompt-section,
.final-cta {
  padding: clamp(78px, 11vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 38px;
}

.centered {
  text-align: center;
}

.video-card {
  display: grid;
  gap: 24px;
  justify-items: center;
  max-width: 910px;
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 56, 47, 0.08), rgba(19, 56, 47, 0.58));
}

.video-placeholder img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.9);
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: #fffaf2;
  text-align: center;
}

.video-overlay p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.play-button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  position: relative;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 17px solid var(--forest);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.theme-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(19, 56, 47, 0.1);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.58);
  box-shadow: 0 18px 48px rgba(38, 40, 36, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.theme-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 161, 106, 0.5);
  box-shadow: 0 24px 60px rgba(38, 40, 36, 0.1);
}

.theme-card span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
}

.theme-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.letter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 7vw, 74px);
  align-items: center;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 34px;
  color: #fffaf2;
  background:
    linear-gradient(135deg, rgba(19, 56, 47, 0.94), rgba(36, 76, 63, 0.9)),
    url("assets/youtube-header.png") center / cover;
  box-shadow: var(--shadow);
}

.letter-panel h2,
.letter-panel .quiet-label {
  color: #fffaf2;
}

.letter-panel .quiet-label {
  opacity: 0.72;
}

.letter-panel p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.76);
}

.signup-form {
  display: grid;
  gap: 12px;
}

.signup-form label {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 999px;
  outline: 0;
  color: #fffaf2;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.signup-form input::placeholder {
  color: rgba(255, 250, 242, 0.48);
}

.signup-form input:focus {
  border-color: rgba(255, 250, 242, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 250, 242, 0.1);
}

.signup-form .button {
  min-height: 54px;
  background: var(--sand);
  color: var(--forest);
  box-shadow: none;
}

.form-message {
  min-height: 28px;
  margin: 0;
  color: #fffaf2;
  font-weight: 700;
}

.question-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(19, 56, 47, 0.1);
  border-radius: 30px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.88), rgba(238, 225, 202, 0.58)),
    rgba(255, 252, 245, 0.66);
  box-shadow: 0 18px 52px rgba(38, 40, 36, 0.08);
}

.question-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 5vw, 48px);
  color: var(--sand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.question-meta span:last-child {
  height: 1px;
  background: rgba(19, 56, 47, 0.13);
}

.question-card p {
  max-width: 630px;
  margin: 0 0 34px;
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
}

.question-action {
  display: flex;
  justify-content: flex-start;
}

.about-image {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer h2 {
  font-size: 2.1rem;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--forest);
  font-weight: 700;
}

.section-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(19, 56, 47, 0.12);
    border-radius: 26px;
    background: rgba(251, 247, 239, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

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

  .site-nav a,
  .site-nav .nav-button {
    margin: 0;
    padding: 13px 16px;
  }

  .hero,
  .content-pair,
  .about,
  .letter-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-art {
    max-width: 560px;
    justify-self: start;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-card {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 46px 0 56px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.45rem);
  }

  .button,
  .form-row .button {
    width: 100%;
  }

  .content-pair,
  .about,
  .watch,
  .themes,
  .letter,
  .prompt-section,
  .final-cta {
    padding: 68px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .theme-card {
    min-height: auto;
  }

  .theme-card span {
    margin-bottom: 34px;
  }

  .letter-panel,
  .question-card {
    border-radius: 26px;
  }

  .question-card {
    padding: 28px;
  }

  .form-row {
    display: grid;
  }

  .video-overlay p {
    font-size: 2rem;
  }

  .play-button {
    width: 56px;
    height: 56px;
  }

  .play-button::after {
    left: 23px;
    top: 18px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
