@import url("/assets/shared/common.css");

:root {
  --paper: #e9e1c8;
  --paper-light: #f8f3e4;
  --ink: #173d31;
  --muted: #596b5e;
  --accent: #e66f3f;
  --accent-dark: #b94b28;
  --teal: #17636a;
  --line: #cfc5a6;
  --white: #fffaf0;
  --leaf: #5e7c3f;
  --lime: #c6d66a;
  --river: #8ec9c0;
  --shadow: 0 24px 60px rgba(23, 61, 49, 0.12);
}

body {
  background:
    radial-gradient(circle at 8% 14%, rgba(198, 214, 106, 0.22), transparent 24rem),
    linear-gradient(115deg, rgba(23, 99, 106, 0.035) 25%, transparent 25%) 0 0 / 34px 34px,
    var(--paper-light);
}

.site-header {
  background: rgba(248, 243, 228, 0.96);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 6rem;
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  border: 1.5rem solid rgba(23, 99, 106, 0.06);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-title {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 5.6rem);
}

.hero-lead {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-art {
  position: relative;
  padding: 1.1rem 1.1rem 1.3rem;
  border: 1px solid rgba(23, 61, 49, 0.22);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.postcard-note {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  z-index: 1;
  padding: 0.45rem 0.8rem;
  color: var(--paper-light);
  background: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.art-caption {
  max-width: 48ch;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: "Lora", serif;
  font-size: 0.86rem;
  font-style: italic;
}

.prep-section {
  border-block: 1px solid rgba(23, 61, 49, 0.12);
  background: rgba(255, 250, 240, 0.82);
}

.prep-layout,
.rhythm-layout,
.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.section-intro h2,
.section-heading h2,
.rhythm-copy h2,
.verify-card h2,
.roadmap h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
}

.section-intro > p:last-child,
.section-heading > p,
.rhythm-copy > p:last-child,
.verify-card > div > p:last-child {
  color: var(--muted);
}

.prep-list,
.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.prep-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.prep-list > li > span,
.topic-number {
  color: var(--accent-dark);
  font-family: "Lora", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.prep-list h3,
.prep-list p {
  margin: 0;
}

.prep-list p {
  margin-top: 0.3rem;
  color: var(--muted);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: 3rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.topic-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid rgba(23, 61, 49, 0.18);
  background: var(--white);
  box-shadow: var(--shadow);
}

.topic-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(198, 214, 106, 0.35);
  content: "";
}

.topic-orchard::after {
  border-radius: 45% 55% 35% 65%;
  background: rgba(94, 124, 63, 0.2);
}

.topic-home::after {
  border-radius: 0;
  background: rgba(230, 111, 63, 0.16);
  transform: rotate(28deg);
}

.status-label {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topic-number {
  display: block;
  margin-top: 2.2rem;
}

.topic-card h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.2rem;
}

.topic-card p:not(.status-label) {
  margin: 0;
  color: var(--muted);
}

.topic-card a {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.rhythm-section {
  background: var(--leaf);
  color: white;
}

.rhythm-layout {
  align-items: center;
}

.rhythm-copy .eyebrow {
  color: var(--lime);
}

.rhythm-copy > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.rhythm-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rhythm-board div {
  min-height: 160px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.rhythm-board strong,
.rhythm-board span {
  display: block;
}

.rhythm-board strong {
  color: var(--lime);
  font-family: "Lora", serif;
  font-size: 1.55rem;
}

.rhythm-board span {
  margin-top: 2.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.verify-section {
  background: var(--paper-light);
}

.verify-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.verify-mark {
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 2rem;
  font-weight: 800;
}

.roadmap-section {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(23, 61, 49, 0.06) 50%, transparent 50.3%),
    var(--paper-light);
}

.roadmap-list li {
  position: relative;
  padding: 0 0 1.8rem 3.8rem;
  counter-increment: steps;
}

.roadmap-list {
  counter-reset: steps;
}

.roadmap-list li::before {
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  color: white;
  background: var(--teal);
  content: counter(steps, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 800;
}

.roadmap-list strong,
.roadmap-list span {
  display: block;
}

.roadmap-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.page-hero {
  background:
    radial-gradient(circle at 88% 24%, rgba(198, 214, 106, 0.32), transparent 22rem),
    linear-gradient(135deg, var(--paper-light), var(--paper));
}

@media (max-width: 900px) {
  .hero-grid,
  .prep-layout,
  .section-heading,
  .rhythm-layout,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(100%, 650px);
    margin-inline: auto;
  }

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

  .topic-card {
    min-height: 270px;
  }

  .roadmap-section {
    background: var(--paper-light);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 3.7rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 3.9rem);
  }

  .hero-art {
    padding: 0.65rem;
  }

  .postcard-note {
    right: 0.6rem;
  }

  .rhythm-board,
  .verify-card {
    grid-template-columns: 1fr;
  }

  .rhythm-board div {
    min-height: 125px;
  }

  .rhythm-board span {
    margin-top: 1rem;
  }
}
