:root {
  --paper: #f3f0e6;
  --ink: #203d31;
  --accent: #c46943;
  --muted: #6d796c;
  --line: #cbd0be;
  --wash: #e0e7d5;
  --progress: 0;
  --travel: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
a,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(54px, 6.4vw, 108px);
}
h2 {
  font-size: clamp(42px, 5.2vw, 78px);
}
h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
em {
  font-weight: 400;
  color: var(--accent);
}
button {
  border: 0;
}
.site-nav {
  position: sticky;
  top: 94px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 78px;
  padding: 14px 5vw;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand {
  font:
    32px/1 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand svg {
  height: 30px;
  width: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 12px;
}
.navlinks a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 24px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}
.pill.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill.small {
  font-size: 11px;
  padding: 11px 20px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.hero {
  min-height: 720px;
  min-height: calc(100svh - 200px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  padding: 6vw 7vw 7vw;
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 580px;
}
.hero-copy h1 {
  margin: 24px 0;
}
.hero-copy p {
  max-width: 390px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-actions a:not(.pill) {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.hero-art {
  height: 100%;
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
  transform: translateY(calc(var(--travel) * -40px));
}
.island {
  width: 125%;
  max-width: none;
  filter: drop-shadow(0 28px 28px #334c2d14);
  transform: translateY(0);
  animation: levitate 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.art-label {
  position: absolute;
  bottom: 4%;
  left: 12%;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  z-index: 5;
}
.art-label span {
  display: block;
  font:
    italic 26px Georgia,
    serif;
  text-transform: none;
  letter-spacing: -0.04em;
  margin-top: 6px;
}
.orbit {
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotateX(62deg);
  z-index: 0;
}
.orbit:before {
  content: "";
  position: absolute;
  left: 13%;
  top: 13%;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.floating-note {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 12%;
  padding: 15px 18px;
  background: #fffdf4dd;
  border: 1px solid #fff;
  box-shadow: 0 12px 30px #1e42200c;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 11px;
  transform: rotate(5deg);
}
.floating-note b {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.tiny {
  font-size: 10px;
  color: var(--muted);
}
.hero-foot {
  position: absolute;
  bottom: 28px;
  left: 7vw;
  right: 7vw;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrollicon {
  display: inline-block;
  margin-right: 8px;
  animation: bob 2s infinite;
}
.benefits {
  padding: 35px 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  gap: 30px;
}
.benefit {
  display: flex;
  gap: 17px;
  align-items: center;
}
.benefit .num {
  font:
    italic 36px Georgia,
    serif;
  color: var(--accent);
}
.benefit b {
  font-size: 12px;
  display: block;
  font-weight: 500;
}
.benefit p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.chapter-intro {
  text-align: center;
  padding: 110px 20px 50px;
}
.chapter-intro .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.chapter-intro p {
  max-width: 450px;
  margin: 22px auto 0;
  color: var(--muted);
}
.growth-canvas {
  position: relative;
  aspect-ratio: 1.25;
  min-width: 0;
  display: grid;
  place-items: center;
}
.growth-canvas img {
  width: 115%;
  position: absolute;
  inset: 0 auto auto -7.5%;
  transition: opacity 0.1s;
  transform: scale(calc(0.95 + var(--progress) * 0.1))
    rotate(calc((var(--progress) - 0.5) * -3deg));
  filter: drop-shadow(0 28px 25px #1e3b2717);
}
.growth-canvas .grown {
  opacity: var(--progress);
}
.growth-canvas .ring {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: 50%;
  transform: rotateX(55deg) rotate(calc(var(--progress) * 90deg));
  top: 6%;
}
.steps {
  display: flex;
  gap: 6px;
  margin-top: 30px;
}
.steps span {
  width: 50px;
  height: 3px;
  background: var(--line);
  position: relative;
}
.steps span.active {
  background: var(--accent);
}
.growth-control {
  margin-top: 20px;
  width: 100%;
  max-width: 320px;
  accent-color: var(--accent);
}
.ticker {
  display: flex;
  gap: 45px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  font:
    italic 26px Georgia,
    serif;
}
.ticker span {
  animation: ticker 35s linear infinite;
}
.explore {
  padding: 100px 7vw;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 25px;
}
.section-head p {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.world-card {
  padding: 20px;
  background: color-mix(in srgb, var(--wash) 65%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.4s,
    background 0.4s;
}
.world-card:hover {
  transform: translateY(-8px);
  background: var(--wash);
}
.world-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
  transition: transform 0.6s;
}
.world-card:hover img {
  transform: scale(1.08) rotate(-3deg);
}
.world-card header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.world-card h3 {
  font:
    29px Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 12px 0 7px;
}
.world-card p {
  font-size: 12px;
  color: var(--muted);
}
.practice {
  margin: 0 7vw 100px;
  padding: 50px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}
.practice .eyebrow {
  color: #b6ccb0;
  margin-bottom: 20px;
}
.practice h2 {
  font-size: 52px;
}
.practice p {
  font-size: 13px;
  color: #c6d3c4;
  margin-top: 20px;
  max-width: 310px;
}
.quiz {
  padding: 26px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}
.quiz .tiny {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.quiz h3 {
  font:
    27px/1.2 Georgia,
    serif;
  margin: 20px 0;
}
.quiz button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  margin: 7px 0;
  font-size: 12px;
  transition: background 0.2s;
}
.quiz button:hover {
  background: var(--wash);
}
.quiz button.correct {
  background: #dce9c8;
  border-color: #7b925d;
}
.quiz button.wrong {
  background: #f3e0d1;
}
.quiz-feedback {
  font-size: 12px;
  min-height: 38px;
  padding-top: 9px;
  line-height: 1.5;
}
.ending {
  text-align: center;
  padding: 30px 20px 100px;
}
.ending h2 {
  max-width: 800px;
  margin: 25px auto;
}
.ending p {
  color: var(--muted);
  font-size: 13px;
  max-width: 380px;
  margin: 0 auto 28px;
}
.ending .eyebrow {
  justify-content: center;
}
.footer {
  padding: 35px 7vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.placeholder {
  min-height: 75vh;
  padding: 70px 8vw 100px;
  position: relative;
  overflow: hidden;
}
.placeholder .eyebrow {
  margin: 35px 0 20px;
}
.placeholder h1 {
  font-size: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 2;
}
.placeholder .desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 450px;
  margin: 25px 0 35px;
  position: relative;
  z-index: 2;
}
.placeholder .ghost {
  position: absolute;
  width: 50%;
  right: -8%;
  top: 100px;
  opacity: 0.18;
  pointer-events: none;
}
.placeholder .status {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.placeholder-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.placeholder-boxes section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.placeholder-boxes span {
  font:
    italic 26px Georgia,
    serif;
  color: var(--accent);
}
.placeholder-boxes h3 {
  font-size: 16px;
  margin: 14px 0;
}
.placeholder-boxes p {
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 16px 24px;
  background: #20372e;
  color: #fffdf3;
  border-radius: 12px;
  box-shadow: 0 15px 60px #0003;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: 0.3s;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.portal-circle {
  display: none;
}
.hero-number {
  display: none;
}
.journal-caption {
  display: none;
}
.phone-shell {
  display: none;
}
.hero-mini {
  display: none;
}

:root {
  --paper: #f3f0e6;
  --ink: #203d31;
  --accent: #c46943;
  --muted: #6d796c;
  --line: #cbd0be;
  --wash: #e0e7d5;
  --progress: 0;
  --travel: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
a,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(54px, 6.4vw, 108px);
}
h2 {
  font-size: clamp(42px, 5.2vw, 78px);
}
h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
em {
  font-weight: 400;
  color: var(--accent);
}
button {
  border: 0;
}
.site-nav {
  position: sticky;
  top: 94px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 78px;
  padding: 14px 5vw;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand {
  font:
    32px/1 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand svg {
  height: 30px;
  width: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 12px;
}
.navlinks a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 24px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}
.pill.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill.small {
  font-size: 11px;
  padding: 11px 20px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.hero {
  min-height: 720px;
  min-height: calc(100svh - 200px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  padding: 6vw 7vw 7vw;
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 580px;
}
.hero-copy h1 {
  margin: 24px 0;
}
.hero-copy p {
  max-width: 390px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-actions a:not(.pill) {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.hero-art {
  height: 100%;
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
  transform: translateY(calc(var(--travel) * -40px));
}
.island {
  width: 125%;
  max-width: none;
  filter: drop-shadow(0 28px 28px #334c2d14);
  transform: translateY(0);
  animation: levitate 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.art-label {
  position: absolute;
  bottom: 4%;
  left: 12%;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  z-index: 5;
}
.art-label span {
  display: block;
  font:
    italic 26px Georgia,
    serif;
  text-transform: none;
  letter-spacing: -0.04em;
  margin-top: 6px;
}
.orbit {
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotateX(62deg);
  z-index: 0;
}
.orbit:before {
  content: "";
  position: absolute;
  left: 13%;
  top: 13%;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.floating-note {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 12%;
  padding: 15px 18px;
  background: #fffdf4dd;
  border: 1px solid #fff;
  box-shadow: 0 12px 30px #1e42200c;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 11px;
  transform: rotate(5deg);
}
.floating-note b {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.tiny {
  font-size: 10px;
  color: var(--muted);
}
.hero-foot {
  position: absolute;
  bottom: 28px;
  left: 7vw;
  right: 7vw;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrollicon {
  display: inline-block;
  margin-right: 8px;
  animation: bob 2s infinite;
}
.benefits {
  padding: 35px 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  gap: 30px;
}
.benefit {
  display: flex;
  gap: 17px;
  align-items: center;
}
.benefit .num {
  font:
    italic 36px Georgia,
    serif;
  color: var(--accent);
}
.benefit b {
  font-size: 12px;
  display: block;
  font-weight: 500;
}
.benefit p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.chapter-intro {
  text-align: center;
  padding: 110px 20px 50px;
}
.chapter-intro .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.chapter-intro p {
  max-width: 450px;
  margin: 22px auto 0;
  color: var(--muted);
}
.growth-canvas {
  position: relative;
  aspect-ratio: 1.25;
  min-width: 0;
  display: grid;
  place-items: center;
}
.growth-canvas img {
  width: 115%;
  position: absolute;
  inset: 0 auto auto -7.5%;
  transition: opacity 0.1s;
  transform: scale(calc(0.95 + var(--progress) * 0.1))
    rotate(calc((var(--progress) - 0.5) * -3deg));
  filter: drop-shadow(0 28px 25px #1e3b2717);
}
.growth-canvas .grown {
  opacity: var(--progress);
}
.growth-canvas .ring {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: 50%;
  transform: rotateX(55deg) rotate(calc(var(--progress) * 90deg));
  top: 6%;
}
.steps {
  display: flex;
  gap: 6px;
  margin-top: 30px;
}
.steps span {
  width: 50px;
  height: 3px;
  background: var(--line);
  position: relative;
}
.steps span.active {
  background: var(--accent);
}
.growth-control {
  margin-top: 20px;
  width: 100%;
  max-width: 320px;
  accent-color: var(--accent);
}
.ticker {
  display: flex;
  gap: 45px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  font:
    italic 26px Georgia,
    serif;
}
.ticker span {
  animation: ticker 35s linear infinite;
}
.explore {
  padding: 100px 7vw;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 25px;
}
.section-head p {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.world-card {
  padding: 20px;
  background: color-mix(in srgb, var(--wash) 65%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.4s,
    background 0.4s;
}
.world-card:hover {
  transform: translateY(-8px);
  background: var(--wash);
}
.world-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
  transition: transform 0.6s;
}
.world-card:hover img {
  transform: scale(1.08) rotate(-3deg);
}
.world-card header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.world-card h3 {
  font:
    29px Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 12px 0 7px;
}
.world-card p {
  font-size: 12px;
  color: var(--muted);
}
.practice {
  margin: 0 7vw 100px;
  padding: 50px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}
.practice .eyebrow {
  color: #b6ccb0;
  margin-bottom: 20px;
}
.practice h2 {
  font-size: 52px;
}
.practice p {
  font-size: 13px;
  color: #c6d3c4;
  margin-top: 20px;
  max-width: 310px;
}
.quiz {
  padding: 26px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}
.quiz .tiny {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.quiz h3 {
  font:
    27px/1.2 Georgia,
    serif;
  margin: 20px 0;
}
.quiz button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  margin: 7px 0;
  font-size: 12px;
  transition: background 0.2s;
}
.quiz button:hover {
  background: var(--wash);
}
.quiz button.correct {
  background: #dce9c8;
  border-color: #7b925d;
}
.quiz button.wrong {
  background: #f3e0d1;
}
.quiz-feedback {
  font-size: 12px;
  min-height: 38px;
  padding-top: 9px;
  line-height: 1.5;
}
.ending {
  text-align: center;
  padding: 30px 20px 100px;
}
.ending h2 {
  max-width: 800px;
  margin: 25px auto;
}
.ending p {
  color: var(--muted);
  font-size: 13px;
  max-width: 380px;
  margin: 0 auto 28px;
}
.ending .eyebrow {
  justify-content: center;
}
.footer {
  padding: 35px 7vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.placeholder {
  min-height: 75vh;
  padding: 70px 8vw 100px;
  position: relative;
  overflow: hidden;
}
.placeholder .eyebrow {
  margin: 35px 0 20px;
}
.placeholder h1 {
  font-size: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 2;
}
.placeholder .desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 450px;
  margin: 25px 0 35px;
  position: relative;
  z-index: 2;
}
.placeholder .ghost {
  position: absolute;
  width: 50%;
  right: -8%;
  top: 100px;
  opacity: 0.18;
  pointer-events: none;
}
.placeholder .status {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.placeholder-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.placeholder-boxes section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.placeholder-boxes span {
  font:
    italic 26px Georgia,
    serif;
  color: var(--accent);
}
.placeholder-boxes h3 {
  font-size: 16px;
  margin: 14px 0;
}
.placeholder-boxes p {
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 16px 24px;
  background: #20372e;
  color: #fffdf3;
  border-radius: 12px;
  box-shadow: 0 15px 60px #0003;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: 0.3s;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.portal-circle {
  display: none;
}
.hero-number {
  display: none;
}
.journal-caption {
  display: none;
}
.phone-shell {
  display: none;
}
.hero-mini {
  display: none;
}

.m-path {
  position: relative;
  padding: 10vh 6vw 20vh;
}
.m-path .trail-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  margin-bottom: -100vh;
}
.m-path .trail {
  width: 100%;
  height: 100%;
}
.m-path .trail-line {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 2 14;
  stroke-linecap: round;
  opacity: 0.55;
}
.m-path .trail-marker {
  fill: var(--accent);
}
.m-path .trail-pulse {
  fill: none;
  stroke: var(--accent);
  opacity: 0.35;
}
.m-path .stops {
  position: relative;
  z-index: 1;
}
.m-path .stop {
  width: min(430px, 86vw);
  background: #fbf8eee6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 0 0 34vh;
  box-shadow: 0 14px 40px #203d3118;
  transition:
    transform 0.5s,
    opacity 0.5s;
  opacity: 0.55;
}
.m-path .stop.active {
  opacity: 1;
  transform: scale(1.02);
  border-color: var(--accent);
}
.m-path .stop-r {
  margin-left: auto;
}
.m-path .stop h2 {
  font:
    26px/1.15 Georgia,
    serif;
  margin: 8px 0;
}
.m-path .stop p {
  color: var(--muted);
  font-size: 14px;
}
.m-path .stop-visual {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--wash);
  margin-top: 12px;
}
.m-path .stop-visual .visual-kicker,
.m-path .stop-visual .visual-caption {
  display: none;
}
.m-path .trail-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}
.m-path .trail-rail button {
  border: 1px solid var(--line);
  background: #fffdf6dd;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 10px;
  cursor: pointer;
  color: var(--ink);
}
.m-path .trail-rail button span {
  display: none;
}
.m-path .trail-rail button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
/* Illustrations use one 600 x 400 artboard, fitted without cropping. */
.story .illustration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}
.story .vboard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%) scale(var(--fit, 1));
  transform-origin: center;
  color: #254a3a;
  font:
    15px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-align: left;
  --local: 0;
}
.story .vboard * {
  box-sizing: border-box;
}
.va-island {
  position: absolute;
  object-fit: contain;
  max-width: none;
}
.va-world-main {
  width: 470px;
  height: 300px;
  left: 66px;
  top: 4px;
  filter: drop-shadow(0 20px 14px #254a3a20);
}
.va-world-left {
  width: 205px;
  height: 150px;
  left: 6px;
  top: 208px;
  transform: rotate(-9deg);
}
.va-world-right {
  width: 210px;
  height: 160px;
  right: 0;
  top: 210px;
  transform: rotate(8deg);
}
.va-orbits {
  position: absolute;
  inset: 50px 60px 25px;
  border: 1px solid #254a3a22;
  border-radius: 50%;
  transform: rotate(-14deg);
}
.va-tag {
  position: absolute;
  background: #fffcef;
  border: 1px solid #254a3a22;
  padding: 9px 16px;
  border-radius: 24px;
  font-size: 13px;
  box-shadow: 0 7px 18px #254a3a0d;
  white-space: nowrap;
}
.va-tag-a {
  left: 254px;
  top: 277px;
  text-transform: capitalize;
}
.va-tag-b {
  left: 55px;
  top: 341px;
}
.va-tag-c {
  right: 46px;
  top: 345px;
}
.va-path-world {
  inset: 12px 0;
  width: 600px;
  height: 376px;
  opacity: 0.76;
}
.va-path-svg {
  position: absolute;
  inset: 0;
  width: 600px;
  height: 400px;
}
.va-path-a {
  left: 28px;
  top: 333px;
}
.va-path-b {
  left: 368px;
  top: 126px;
}
.va-card-shadow {
  position: absolute;
  left: 145px;
  top: 32px;
  width: 315px;
  height: 340px;
  background: #becda6;
  border-radius: 16px;
  transform: rotate(9deg);
}
.va-card {
  position: absolute;
  left: 130px;
  top: 24px;
  width: 325px;
  height: 350px;
  border: 1px solid #d5d6be;
  border-radius: 14px;
  background: #fffdf4;
  box-shadow: 0 18px 35px #254a3a25;
  transform: rotate(-4deg);
  padding: 22px;
}
.va-card header {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #60725d;
  border: 0;
  padding: 0;
}
.va-cells {
  height: 100px;
  margin: 17px -22px 17px;
  background: #e7efda;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.va-cells i {
  position: relative;
  display: block;
  width: 29px;
  height: 53px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #c9b650 6%,
    #afca64 20%,
    #599d6d 40%,
    #cfe6af 53%,
    #7daa83 58%,
    #dae9be 67%
  );
  transform: rotate(calc(var(--j) * 7deg - 20deg));
  box-shadow: 0 5px 9px #537e5622;
}
.va-card h3 {
  font:
    25px/1.05 Georgia,
    serif;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.va-card p {
  font-size: 11px;
  line-height: 1.55;
  color: #69785f;
  margin: 0 0 15px;
}
.va-card footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d5d6be;
  padding-top: 10px;
  font-size: 9px;
}
.va-stamp {
  position: absolute;
  right: 12px;
  bottom: 34px;
  border-radius: 50%;
  padding: 15px 20px;
  background: #e5d9b6;
  transform: rotate(-11deg);
  text-align: center;
  font-size: 12px;
}
.va-stamp em {
  font:
    17px Georgia,
    serif;
}
.va-question-mark {
  position: absolute;
  top: 0;
  left: 30px;
  font:
    260px Georgia,
    serif;
  color: #d2b392;
  opacity: 0.3;
  transform: rotate(-12deg);
}
.va-question {
  position: absolute;
  inset: 47px 78px 36px;
  background: #fffdf4;
  border: 1px solid #d5d6be;
  border-radius: 15px;
  box-shadow: 0 18px 35px #254a3a1a;
  transform: rotate(-3deg);
  padding: 28px;
}
.va-kicker {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #69785f;
}
.va-question h3 {
  font:
    27px/1.08 Georgia,
    serif;
  margin: 15px 0 22px;
  letter-spacing: -0.02em;
}
.va-option {
  display: block;
  border: 1px solid #d5d6be;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 12px;
  margin: 9px 0;
}
.va-correct {
  background: #e3ebce;
  border-color: #95af72;
}
.va-option b {
  float: right;
}
.va-spark {
  position: absolute;
  right: 32px;
  top: 18px;
  font:
    72px Georgia,
    serif;
  color: #c98155;
}
.va-memory-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #254a3a25;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
}
.va-o1 {
  width: 520px;
  height: 300px;
}
.va-o2 {
  width: 380px;
  height: 370px;
  transform: translate(-50%, -50%) rotate(29deg);
}
.va-o3 {
  width: 240px;
  height: 240px;
  background: #e6ecd4;
}
.va-memory {
  position: absolute;
  left: 205px;
  top: 105px;
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff9e4;
  border-radius: 50%;
  box-shadow: 0 15px 35px #254a3a1a;
  text-align: center;
  font:
    23px/1.15 Georgia,
    serif;
}
.va-memory svg {
  width: 32px;
  height: 40px;
  stroke: #557d56;
  fill: #d3ddaa;
  stroke-width: 1.2;
}
.va-memory em {
  font-size: 19px;
}
.va-return-a {
  left: 20px;
  top: 190px;
}
.va-return-b {
  right: 46px;
  top: 65px;
}
.va-return-c {
  right: 50px;
  bottom: 50px;
}
.va-seed-dot {
  position: absolute;
  left: 160px;
  top: 48px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c98155;
  box-shadow: 0 0 0 7px #c9815520;
}
.va-badge-world {
  inset: 40px 0 0;
  width: 600px;
  height: 355px;
  opacity: 0.4;
}
.va-award {
  position: absolute;
  background: radial-gradient(circle at 30% 20%, #fff2ca, #d6b76b 70%);
  border: 3px solid #ead7a0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 17px 28px #58492025;
  text-align: center;
  color: #6c532b;
}
.va-award-main {
  width: 225px;
  height: 225px;
  left: 188px;
  top: 76px;
  transform: rotate(-6deg);
  gap: 7px;
}
.va-award-main b {
  font:
    70px/1 Georgia,
    serif;
}
.va-award-main span {
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.13em;
}
.va-award-main small {
  font-size: 7px;
  letter-spacing: 0.15em;
  margin-top: 5px;
}
.va-award-ring {
  position: absolute;
  inset: 10px;
  border: 1px dashed #9d7e41;
  border-radius: 50%;
}
.va-award-a,
.va-award-b {
  width: 120px;
  height: 120px;
  top: 172px;
  gap: 5px;
}
.va-award-a {
  left: 45px;
  transform: rotate(-16deg);
}
.va-award-b {
  right: 45px;
  transform: rotate(15deg);
}
.va-award-a b,
.va-award-b b {
  font:
    40px Georgia,
    serif;
}
.va-award-a span,
.va-award-b span {
  font-size: 7px;
  letter-spacing: 0.1em;
}
/* Correct chrome offsets: no heading or artwork behind the two headers. */
:root {
  --chrome: 172px;
  --lab-h: 94px;
}
.site-nav {
  top: var(--lab-h) !important;
}
.story-stage {
  top: var(--chrome);
  height: calc(100svh - var(--chrome));
  min-height: 300px;
}
.story .steps button {
  font:
    12px/1.2 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.story .steps button span {
  height: auto;
  position: static;
  background: none;
  width: auto;
}
.story-copyline,
.mosaic-copy,
.museum-copy {
  align-self: center;
}
.m-pin .story-copyline,
.m-mosaic .mosaic-copy,
.m-museum .museum-copy {
  padding: 3vw 6vw;
}
.m-pin .story-copyline h2,
.m-mosaic .mosaic-copy h2,
.m-museum .museum-copy h2 {
  font-size: clamp(26px, 3vw, 44px);
}
.m-path .trail-stage {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
}
.m-path .trail {
  height: 100%;
  width: 100%;
}
.m-path .stop {
  opacity: 1;
  margin-bottom: 18vh;
  position: relative;
}
.m-path .stop-visual {
  height: 240px;
}
.m-path .trail-rail button {
  width: auto;
  min-width: 60px;
  border-radius: 8px;
  padding: 8px;
}
.m-path .stop {
  width: min(500px, 86vw);
}
@media (max-width: 960px) {
  .m-path .stop {
    width: 86vw;
  }
}
.signup {
  text-align: left;
}

.signup-label {
  display: block;
  margin: 0 0 8px;
  color: #344536;
  font-size: 13px;
  font-weight: 700;
}

.signup-row {
  display: flex;
  gap: 8px;
}

.signup-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d9cbb8;
  border-radius: 12px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.signup-row input:focus {
  outline: 3px solid #b5d2ac;
  outline-offset: 2px;
  border-color: #6e9f70;
}

.signup-row button {
  flex: none;
  min-height: 48px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--terra);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.signup-row button:hover {
  background: var(--terra-d);
}

.signup-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

.signup-note[data-state="error"] {
  color: #a74131;
}

.signup-note[data-state="pending"] {
  color: #925c39;
}

/* Stack the button under the input on very narrow screens. */
@media (max-width: 360px) {
  .signup-row {
    flex-direction: column;
  }
}

/* Honeypot: off-screen, never focusable. */
.signup-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-note[data-state="ok"] {
  color: var(--green);
}

/* Step 2: optional referral question. */
.attribution {
  margin-top: 20px;
  text-align: left;
}

.attribution .optional {
  color: var(--dim);
  font-weight: 400;
}

.attribution select,
.attribution input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 8px 0 0;
  padding: 11px 14px;
  border: 1px solid #d9cbb8;
  border-radius: 12px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.attribution select:focus,
.attribution input:focus {
  outline: 3px solid #b5d2ac;
  outline-offset: 2px;
  border-color: #6e9f70;
}

.attribution-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.attribution-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--terra);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.attribution-actions button:hover {
  background: var(--terra-d);
}

.attribution-actions button:disabled,
.signup-row button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.attribution-actions .link {
  min-height: 0;
  padding: 0;
  background: none;
  color: var(--dim);
  font-weight: 600;
  text-decoration: underline;
}

.attribution-actions .link:hover {
  background: none;
  color: var(--ink);
}

/* The display rules above would otherwise beat the hidden attribute. */
[hidden] {
  display: none !important;
}
/* Selected design: living-atlas opening, then the winding trail. */
:root {
  --chrome: 80px;
  --lab-h: 0px;
  --paper: #f3f0e6;
  --ink: #203d31;
  --accent: #c46943;
  --muted: #6d796c;
  --dim: var(--muted);
  --terra: var(--ink);
  --terra-d: #345b46;
  --green: #345b46;
}
html {
  scroll-padding-top: 100px;
}
[hidden] {
  display: none !important;
}
.site-nav {
  top: 0 !important;
}
.brand img {
  display: block;
}
.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 4vw;
  padding: 65px 6vw 80px;
  min-height: 700px;
  overflow: visible;
  max-width: 1800px;
  margin: auto;
}
.hero-copy {
  min-width: 0;
  max-width: none;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.4vw, 91px);
  overflow-wrap: normal;
}
.hero-copy h1 em {
  display: inline-block;
  white-space: nowrap;
}
.hero-copy p {
  max-width: 390px;
}
.hero-art {
  margin: 0;
  min-width: 0;
  min-height: 420px;
  transform: none;
  align-self: center;
}
.hero-art .island {
  width: 100%;
  max-width: 100%;
  height: auto;
  animation: none;
}
.floating-note {
  top: 0;
  right: 3%;
  transform: rotate(4deg);
}
.art-label {
  position: relative;
  left: auto;
  bottom: auto;
  justify-self: start;
  margin: 15px 0 0 12%;
  font-size: 10px;
}
.signup {
  margin-top: 26px;
  max-width: 430px;
}
.signup-label {
  font-size: 11px;
  font-weight: 400;
}
.signup-row {
  padding: 5px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fffdf5;
  gap: 0;
}
.signup-row input {
  border: 0;
  background: none;
  border-radius: 99px;
  padding: 10px 15px;
  font-size: 16px;
  min-width: 0;
}
.signup-row button {
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.hero-copy .signup-note {
  font-size: 12px;
}
.attribution {
  max-width: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf5;
}
.attribution .signup-note {
  margin-bottom: 14px;
}
.hero-actions {
  margin-top: 18px;
}
.m-path {
  background: #eef0e2;
  --accent: #c17a40;
  --wash: #dfe6cf;
  padding-top: 10vh;
}
.m-path .stop {
  width: min(500px, 86vw);
}
.m-path .stop-visual {
  height: 240px;
}
.m-path .trail-rail {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.m-path.in-view .trail-rail {
  opacity: 1;
  pointer-events: auto;
}
.m-path .trail-rail button {
  font-size: 11px;
  min-width: 62px;
  min-height: 36px;
}
.m-path .stop.world-intro {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
/* Keep the decorative trail behind the copy after removing the card. */
.world-intro > .tiny,
.world-intro > h2,
.world-intro > p {
  position: relative;
  background: #eef0e2;
}
.m-path .stop-visual.phone-visual {
  height: auto;
  min-height: 0;
  background: transparent;
  overflow: visible;
  display: grid;
  place-items: center;
  padding: 14px 0;
}
/* This wrapper reserves the complete rotated bounds, not the unrotated box. */
.phone-fit {
  position: relative;
  width: 292px;
  height: 620px;
}
.world-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg) scale(var(--phone-fit, 1));
  width: 292px;
  max-width: none;
  border: 7px solid #253b32;
  border-radius: 38px;
  background: #f2f3e6;
  box-shadow: 0 20px 35px #203d3126;
  overflow: hidden;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 19px 2px;
  font-size: 10px;
  font-weight: 600;
}
.phone-heading {
  padding: 12px 18px 0;
}
.phone-heading > span {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.phone-heading h3 {
  font:
    23px/1.1 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin-top: 6px;
}
.phone-world {
  position: relative;
  margin: 6px 4px 0;
  height: 435px;
}
.phone-world > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.theme-label {
  position: absolute;
  padding: 8px 11px;
  background: #fffdf2f2;
  border: 1px solid #c3ccb4;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 8px #203d3114;
  white-space: nowrap;
}
.theme-sport {
  top: 10%;
  left: 5%;
}
.theme-health {
  top: 31%;
  right: 1%;
}
.theme-relations {
  top: 53%;
  left: 1%;
}
.theme-mind {
  top: 76%;
  right: 0;
}
.phone-bottom {
  display: flex;
  justify-content: space-around;
  font-size: 14px;
  padding: 4px 16px 15px;
}
.phone-bottom span {
  font-size: 10px;
  align-self: center;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 120;
  background: #fff;
  padding: 14px;
}
.skip-link:focus {
  top: 10px;
}
figure {
  margin: 0;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 560px;
  width: 90vw;
  padding: 48px 35px;
}
dialog::backdrop {
  background: #15302588;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 44px;
  margin: 24px 0;
}
dialog p {
  margin: 20px 0;
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 30px;
  background: none;
}
.footer {
  gap: 20px;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 26px;
}
.va-path-world {
  opacity: 1;
}
@media (max-width: 1100px) {
  .navlinks {
    gap: 14px;
  }
  .hero-copy h1 {
    font-size: 5.2vw;
  }
  .hero {
    gap: 3vw;
    padding-inline: 5vw;
  }
  .hero-art {
    min-height: 320px;
  }
  .floating-note {
    font-size: 9px;
    padding: 10px;
    top: 0;
  }
  .floating-note b {
    font-size: 11px;
  }
}
@media (max-width: 960px) {
  .m-path .stop {
    width: 86vw;
  }
  .trail-rail {
    display: none !important;
  }
  .navlinks {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 7vw 45px;
    min-height: 0;
  }
  .hero-copy h1 {
    font-size: clamp(46px, 9.2vw, 78px);
    margin: 20px 0;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-copy h1 br:first-child {
    display: none;
  }
  .hero-art {
    min-height: 0;
    max-width: 680px;
    width: 100%;
  }
  .hero-art .island {
    width: 100%;
  }
  .floating-note {
    right: 0;
    top: 0;
  }
  .benefits {
    padding: 30px 7vw;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .chapter-intro {
    padding: 65px 7vw 35px;
  }
  .m-path {
    padding: 55px 7vw 60px;
  }
  .m-path .stop {
    width: 100%;
    padding: 22px;
    margin-bottom: 70px;
  }
  .m-path .stop:last-child {
    margin-bottom: 0;
  }
  .m-path .stop h2 {
    font-size: 25px;
  }
  .m-path .stop-visual {
    height: 240px;
  }
  .m-path .stop-visual.phone-visual {
    padding-inline: 0;
  }
  .ending {
    padding: 60px 7vw;
  }
  .footer {
    padding: 30px 7vw;
  }
  .footer nav {
    gap: 16px;
  }
  .art-label {
    margin-left: 5%;
  }
  .site-nav {
    min-height: 72px;
    padding: 14px 6vw;
  }
  .brand {
    font-size: 30px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .site-nav .pill {
    font-size: 11px;
    padding: 12px 18px;
  }
}
@media (max-width: 380px) {
  .signup-row {
    border-radius: 18px;
    flex-direction: column;
    gap: 6px;
  }
  .signup-row button {
    min-height: 44px;
  }
  .hero-copy h1 {
    font-size: 11.5vw;
  }
  .m-path .stop {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .m-path .trail-stage {
    display: none;
  }
  .m-path .stop {
    transform: none !important;
  }
}

/* Language switcher, signup privacy line, footer links. */
.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.lang-switch a[aria-current="true"] {
  border-color: var(--line);
  font-weight: 700;
}
.signup-legal {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.signup-legal a,
.footer nav a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer nav a:hover,
.signup-legal a:hover {
  color: var(--ink);
}

/* Privacy page. */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 7vw 80px;
  line-height: 1.65;
  font-size: 16px;
}
.legal h1 {
  font: 44px/1.1 Georgia, "Times New Roman", serif;
  margin: 0 0 8px;
}
.legal h2 {
  font: 22px/1.25 Georgia, "Times New Roman", serif;
  margin: 36px 0 8px;
}
.legal p,
.legal ul {
  margin: 0 0 14px;
}
.legal ul {
  padding-left: 22px;
}
.legal .legal-updated {
  color: var(--muted);
  font-size: 13px;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-copy .signup-legal {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

/* Keep the language switcher on small screens; only the section link goes. */
@media (max-width: 960px) {
  .navlinks {
    display: flex;
    gap: 0;
  }
  .navlinks > a {
    display: none;
  }
}

/* --- Themes showcase: the 24 learning themes as a compact word cloud --- */
.themes {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 7vw 30px;
  text-align: center;
}
.themes .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.theme-ticker {
  container-type: inline-size;
  margin: 38px -7vw 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.theme-row {
  list-style: none;
  margin: 0;
  padding: 0 7vw;
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: theme-drift 70s ease-in-out infinite alternate;
}
.theme-row:nth-child(2) {
  animation-duration: 90s;
  animation-direction: alternate-reverse;
}
.theme-row:nth-child(3) {
  animation-duration: 80s;
}
.theme-row li {
  margin: 0;
}
.theme-row li::after {
  content: "\00b7";
  font-style: normal;
  color: var(--accent, #c46943);
  margin: 0 0.6em;
}
.theme-pause {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.theme-wrap {
  position: relative;
}
.theme-pause-label {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.theme-pause:focus-visible ~ .theme-pause-label {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.theme-pause-label .when-paused,
.theme-pause:checked ~ .theme-pause-label .when-moving {
  display: none;
}
.theme-pause:checked ~ .theme-pause-label .when-paused {
  display: inline;
}
.theme-pause:checked ~ .theme-ticker .theme-row,
.theme-row:hover {
  animation-play-state: paused;
}
@keyframes theme-drift {
  to {
    transform: translateX(min(0px, calc(100cqw - 100%)));
  }
}
/* Reduced motion: no drift; the names wrap and all 24 stay readable. */
@media (prefers-reduced-motion: reduce) {
  .theme-pause-label {
    display: none;
  }
  .theme-ticker {
    margin: 38px 0 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .theme-row {
    animation: none;
    width: auto;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.1em;
    padding: 0 7vw;
  }
  .theme-row li::after {
    content: none;
  }
}
@media (max-width: 600px) {
  .themes {
    padding: 44px 6vw 16px;
  }
  .theme-ticker {
    margin-left: -6vw;
    margin-right: -6vw;
  }
  .theme-row {
    padding: 0 6vw;
    font-size: 21px;
  }
}

/* French headline is longer: let the italic line wrap. */
html[lang="fr"] .hero-copy h1 em {
  white-space: normal;
}
@media (min-width: 901px) {
  html[lang="fr"] .hero-copy h1 {
    font-size: clamp(44px, 4.3vw, 76px);
  }
}
