:root {
  --paper: #f7f1e6;
  --paper-soft: #fbf7ee;
  --paper-deep: #eadfcf;
  --ink: #22302b;
  --muted: #66756b;
  --sage: #6f876f;
  --sage-dark: #506b56;
  --river: #8eb8bb;
  --river-soft: #dbeceb;
  --flax: #d8bf85;
  --clay: #c78f78;
  --line: rgba(70, 84, 73, 0.18);
  --shadow: 0 24px 60px rgba(66, 57, 42, 0.13);
  --radius: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Optima, Candara, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  background:
    linear-gradient(rgba(247, 241, 230, 0.62), rgba(247, 241, 230, 0.84)),
    url("paper-texture.png") center / 980px auto repeat,
    var(--paper);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 15% 8%, rgba(142, 184, 187, 0.18), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(216, 191, 133, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.88), rgba(247, 241, 230, 0.62));
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(65, 76, 67, 0.15);
  border-radius: 999px;
  background: rgba(252, 248, 239, 0.86);
  box-shadow: 0 10px 26px rgba(80, 70, 50, 0.09);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(80, 107, 86, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(80, 107, 86, 0.55) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(80, 107, 86, 0.55) 48% 52%, transparent 53%),
    radial-gradient(circle, rgba(216, 191, 133, 0.75), rgba(255, 255, 255, 0) 54%);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(111, 135, 111, 0.12);
  outline: none;
}

.section-shell {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: clamp(26px, 4vw, 60px);
  min-height: 720px;
  padding: clamp(74px, 10vw, 130px) 0 96px;
}

.hero-art {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
  mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
}

.hero::after {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 241, 230, 0.98) 0%, rgba(247, 241, 230, 0.82) 34%, rgba(247, 241, 230, 0.18) 74%),
    linear-gradient(180deg, rgba(247, 241, 230, 0.1) 42%, var(--paper) 100%);
}

.hero-copy {
  align-self: center;
  max-width: 610px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 650px;
  font-size: clamp(4rem, 8vw, 8.2rem);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.7rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
}

p {
  margin: 0;
}

.hero-subtitle {
  max-width: 610px;
  margin-top: 18px;
  color: #2f4038;
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.18;
}

.hero-body {
  max-width: 580px;
  margin-top: 22px;
  color: #4c5f55;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #fffaf0;
  background: var(--sage-dark);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #405a47;
}

.button.secondary {
  color: var(--sage-dark);
  border-color: rgba(80, 107, 86, 0.28);
  background: rgba(251, 247, 238, 0.72);
}

.hero-card,
.paper-panel,
.active-card,
.question-strip,
.rhythm-grid article,
.daily-card,
.print-copy,
.forget-note {
  border: 1px solid rgba(70, 84, 73, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 253, 247, 0.86), rgba(255, 253, 247, 0.78)),
    url("paper-texture.png") center / 760px auto;
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
}

.hero-card ol,
.card-questions {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.hero-card li:first-child {
  border-top: 0;
}

.hero-card span,
.hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.hero-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto clamp(28px, 5vw, 58px);
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
}

.compass-section {
  padding: 34px 0 96px;
}

.compass-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.compass-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(70, 84, 73, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 191, 133, 0.45) 0 8%, transparent 9%),
    linear-gradient(rgba(255, 253, 247, 0.82), rgba(255, 253, 247, 0.78)),
    url("paper-texture.png") center / 850px auto;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}

.compass-map::before,
.compass-map::after {
  position: absolute;
  content: "";
  background: rgba(70, 84, 73, 0.15);
}

.compass-map::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.compass-map::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.compass-point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 28px;
  border: 0;
  color: var(--ink);
  font: inherit;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

.compass-point.is-active {
  background: rgba(142, 184, 187, 0.16);
}

.compass-point:hover:not(.is-active),
.compass-point:focus-visible:not(.is-active) {
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(80, 107, 86, 0.42);
}

.compass-point:focus-visible {
  outline: none;
}

.compass-point strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

.compass-point small {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.25;
  overflow-wrap: normal;
}

.point-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--sage-dark);
}

.point-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.active-card {
  padding: clamp(26px, 4vw, 42px);
}

.active-card h3 {
  margin-bottom: 18px;
}

.active-card > p:not(.card-kicker) {
  color: #4c5f55;
  font-size: 1.08rem;
}

.active-card dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.active-card dt {
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.active-card dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.flow-section,
.daily-section,
.reflection-section,
.print-section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.paper-panel {
  padding: clamp(28px, 5vw, 62px);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split-panel p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.flow-list div:last-child {
  border-bottom: 0;
}

.flow-list span,
.strip-number {
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.flow-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 500;
}

.question-river {
  display: grid;
  gap: 18px;
  padding: 30px 0 70px;
}

.question-strip {
  display: grid;
  grid-template-columns: 70px minmax(260px, 0.95fr) minmax(260px, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}

.question-strip:nth-child(2) {
  background:
    linear-gradient(rgba(236, 246, 244, 0.78), rgba(255, 253, 247, 0.8)),
    url("paper-texture.png") center / 760px auto;
}

.question-strip:nth-child(3) {
  background:
    linear-gradient(rgba(251, 242, 221, 0.8), rgba(255, 253, 247, 0.82)),
    url("paper-texture.png") center / 760px auto;
}

.question-strip:nth-child(4) {
  background:
    linear-gradient(rgba(247, 232, 223, 0.78), rgba(255, 253, 247, 0.82)),
    url("paper-texture.png") center / 760px auto;
}

.question-strip h2 {
  max-width: 520px;
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
  line-height: 1.12;
}

.question-strip > p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.rhythm-grid article {
  min-height: 290px;
  padding: clamp(24px, 3vw, 34px);
}

.rhythm-grid h3 {
  margin-top: 26px;
}

.rhythm-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.rhythm-grid strong {
  display: block;
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.22;
}

.sun-icon,
.day-icon,
.moon-icon {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(80, 107, 86, 0.2);
  border-radius: 50%;
}

.sun-icon {
  background: radial-gradient(circle, var(--flax) 0 22%, transparent 24%), conic-gradient(from 0deg, transparent 0 8%, rgba(216, 191, 133, 0.8) 8% 12%, transparent 12% 20%);
}

.day-icon {
  background: radial-gradient(circle, rgba(199, 143, 120, 0.85) 0 24%, transparent 25%), radial-gradient(circle, rgba(216, 191, 133, 0.24), transparent 58%);
}

.moon-icon {
  background: radial-gradient(circle at 65% 42%, var(--paper-soft) 0 20%, transparent 21%), radial-gradient(circle at 50% 50%, #8eb8bb 0 28%, transparent 29%);
}

.reflection-section {
  display: grid;
  gap: 18px;
}

.reflection-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.reflection-panel p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

blockquote {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-left: 3px solid var(--flax);
  color: #31463d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.18;
  background: rgba(255, 253, 247, 0.58);
}

.forget-note {
  padding: clamp(24px, 4vw, 42px);
}

.forget-note h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.forget-note p {
  max-width: 830px;
  margin-top: 14px;
  color: var(--muted);
}

.prompt-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--ink) !important;
}

.print-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: stretch;
}

.daily-card {
  padding: clamp(26px, 4vw, 46px);
}

.daily-card-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.daily-card-header h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.card-questions {
  display: grid;
  margin-top: 8px;
}

.card-questions li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.card-questions strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.card-questions span {
  color: #4c5f55;
}

.journal-prompt {
  margin-top: 28px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(142, 184, 187, 0.16);
}

.journal-prompt strong {
  color: var(--sage-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-prompt p {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.22;
}

.print-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 34px);
}

.print-copy p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.closing {
  padding: 60px 0 70px;
  text-align: center;
}

.closing p {
  max-width: 780px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.08;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
  }

  .hero-card {
    max-width: 560px;
  }

  .compass-layout,
  .split-panel,
  .reflection-panel,
  .print-layout {
    grid-template-columns: 1fr;
  }

  .compass-map {
    width: min(640px, 100%);
    max-width: min(640px, 100%);
    margin: 0 auto;
  }

  .compass-point {
    padding: 24px 18px;
  }

  .compass-point small {
    max-width: 128px;
  }

  .question-strip {
    grid-template-columns: 54px 1fr;
  }

  .question-strip > p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links {
    justify-content: space-between;
    gap: 2px;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    padding: 8px 7px;
    font-size: 0.82rem;
    text-align: center;
  }

  .section-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 241, 230, 0.98) 0%, rgba(247, 241, 230, 0.72) 54%, var(--paper) 100%);
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-card {
    padding: 20px;
  }

  .compass-section {
    padding-bottom: 64px;
  }

  .compass-map {
    border-radius: 18px;
    aspect-ratio: auto;
  }

  .compass-map::before,
  .compass-map::after {
    display: none;
  }

  .compass-point {
    min-height: 154px;
    padding: 18px 12px;
  }

  .compass-point small {
    font-size: 0.84rem;
  }

  .point-icon {
    width: 34px;
    height: 34px;
  }

  .flow-section,
  .daily-section,
  .reflection-section,
  .print-section {
    padding: 56px 0;
  }

  .paper-panel,
  .active-card,
  .question-strip,
  .rhythm-grid article,
  .daily-card,
  .print-copy,
  .forget-note {
    border-radius: 10px;
  }

  .question-strip {
    grid-template-columns: 1fr;
  }

  .question-strip > p {
    grid-column: auto;
  }

  .strip-number {
    font-size: 1.05rem;
  }

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

  .rhythm-grid article {
    min-height: 0;
  }

  .daily-card-header {
    display: block;
  }

  .daily-card-header h2 {
    margin-top: 6px;
  }

  .card-questions li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .compass-map {
    grid-template-columns: 1fr;
  }

  .compass-point {
    min-height: 128px;
    border-top: 1px solid var(--line);
  }

  .compass-point:first-child {
    border-top: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .hero,
  .compass-section,
  .flow-section,
  .question-river,
  .daily-section,
  .reflection-section,
  .print-section .section-heading,
  .print-copy,
  .closing,
  .site-footer {
    display: none !important;
  }

  .section-shell,
  .print-section,
  .print-layout {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .daily-card {
    box-shadow: none;
    border: 1px solid #999;
    background: #fff;
    page-break-inside: avoid;
  }
}
