:root {
  --ink: #26332c;
  --deep: #244b3d;
  --jade: #4c7564;
  --sage: #9bad8c;
  --cream: #f5f0e5;
  --paper: #fbfaf6;
  --gold: #d99e55;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  position: absolute;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(38, 51, 44, 0.13);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.brand small {
  font-size: 11px;
  margin-top: 2px;
  letter-spacing: 0.25em;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
nav a:hover {
  color: var(--jade);
}
.nav-cta {
  border: 1px solid var(--deep);
  border-radius: 99px;
  padding: 10px 18px;
}
.hero {
  min-height: 760px;
  height: 100vh;
  max-height: 930px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f6f0e3 0%, #f1e9d9 48%, #e6eddf 100%);
  display: flex;
  align-items: center;
  padding: 100px 8vw 60px;
}
.hero-copy {
  width: 54%;
  position: relative;
  z-index: 3;
}
.eyebrow,
.section-kicker {
  font-family: system-ui, sans-serif;
  color: var(--jade);
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.24em;
}
.eyebrow span {
  display: inline-block;
  width: 36px;
  border-top: 1px solid var(--jade);
  vertical-align: middle;
  margin-right: 12px;
}
h1 {
  font-weight: 500;
  margin: 24px 0;
  font-size: clamp(50px, 6vw, 88px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}
h1 em {
  color: var(--deep);
  font-style: normal;
}
.hero-intro {
  max-width: 610px;
  font-size: 18px;
  line-height: 2;
  color: #56635b;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}
.button {
  padding: 15px 24px;
  border-radius: 99px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  transition: 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--deep);
  color: white;
}
.button.quiet {
  border-bottom: 1px solid #6f7d73;
  border-radius: 0;
  padding-inline: 4px;
}
.hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 88%;
  overflow: hidden;
}
.sun {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  position: absolute;
  right: 21%;
  top: 10%;
  background: rgba(224, 177, 104, 0.62);
  box-shadow: 0 0 90px 30px rgba(224, 177, 104, 0.18);
}
.mountain {
  position: absolute;
  bottom: -12%;
  transform: rotate(45deg);
  border-radius: 80px 0 30px 0;
}
.mountain-back {
  width: 500px;
  height: 500px;
  right: -45px;
  background: #a6b598;
  opacity: 0.62;
}
.mountain-front {
  width: 440px;
  height: 440px;
  right: 230px;
  bottom: -26%;
  background: #4d725f;
}
.path {
  position: absolute;
  width: 140px;
  height: 600px;
  background: #eee5d0;
  bottom: -250px;
  right: 36%;
  border-radius: 50%;
  transform: rotate(22deg);
  opacity: 0.85;
}
.tree {
  position: absolute;
  bottom: 12%;
  width: 130px;
  height: 230px;
}
.tree i {
  position: absolute;
  bottom: 0;
  left: 62px;
  height: 145px;
  border-left: 5px solid #385646;
  transform: rotate(4deg);
}
.tree b,
.tree b:before,
.tree b:after {
  position: absolute;
  width: 110px;
  height: 70px;
  border-radius: 50%;
  background: #6c8a72;
  content: "";
}
.tree b {
  top: 10px;
  left: 16px;
}
.tree b:before {
  left: -35px;
  top: 38px;
}
.tree b:after {
  left: 35px;
  top: 42px;
}
.tree-a {
  right: 8%;
  transform: scale(1.2);
}
.tree-b {
  left: 10%;
  bottom: 5%;
  transform: scale(0.8);
}
.seal {
  position: absolute;
  right: 7%;
  top: 28%;
  background: #a9513f;
  color: #f7ebdb;
  padding: 14px 10px;
  line-height: 1.4;
  font-size: 16px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.scroll-note {
  position: absolute;
  bottom: 25px;
  left: 8vw;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #788278;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
}
.glow-one {
  width: 240px;
  height: 240px;
  background: #fff;
  left: -80px;
  top: 20%;
}
.glow-two {
  width: 200px;
  height: 200px;
  background: #d0b77e;
  right: 34%;
  bottom: -90px;
}
.manifesto {
  padding: 130px 8vw;
  max-width: 1250px;
  margin: auto;
}
.manifesto blockquote {
  margin: 26px 0 65px;
  font-size: clamp(35px, 4.5vw, 62px);
  line-height: 1.5;
  font-weight: 400;
}
mark {
  background: linear-gradient(transparent 62%, #e8d5a5 62%);
  color: var(--deep);
}
.manifesto-grid {
  margin-left: 38%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.manifesto-grid p {
  line-height: 2;
  color: #5d6961;
  margin: 0;
}
.stories {
  padding: 120px 6vw;
  background: #e8ecdf;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  max-width: 1320px;
  margin: auto auto 48px;
}
.section-heading h2,
.learn h2,
.begin h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 500;
  margin: 10px 0;
}
.section-heading > p {
  max-width: 470px;
  line-height: 1.8;
  color: #667068;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: auto;
}
.story-card {
  background: var(--paper);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}
.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(46, 65, 54, 0.12);
}
.story-visual {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.story-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.story-card:hover .story-thumbnail {
  transform: scale(1.04);
}
.story-visual:has(.story-thumbnail)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 37, 29, 0.28), transparent 48%);
  pointer-events: none;
}
.story-visual:has(.story-thumbnail) .story-number {
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}
.visual-1 {
  background: linear-gradient(135deg, #d9c597, #f0e5c5);
}
.visual-2 {
  background: linear-gradient(145deg, #b8c5ad, #e2dbc0);
}
.visual-3 {
  background: linear-gradient(145deg, #75917e, #d5d5af);
}
.visual-4 {
  background: linear-gradient(145deg, #d6ad6f, #8da28d);
}
.visual-5 {
  background: linear-gradient(145deg, #9b7668, #d9c9a6);
}
.visual-6 {
  background: linear-gradient(145deg, #78928c, #d8d2a9);
}
.story-number {
  position: absolute;
  left: 22px;
  top: 18px;
  font: 12px system-ui;
  letter-spacing: 0.2em;
}
.story-symbol {
  position: absolute;
  font-size: 100px;
  right: 25px;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.65);
}
.story-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.story-tag {
  font: 700 11px system-ui;
  letter-spacing: 0.18em;
  color: var(--jade);
}
.story-body h3 {
  font-size: 27px;
  margin: 8px 0 14px;
  font-weight: 500;
}
.story-body > p:not(.story-tag) {
  line-height: 1.9;
  color: #687269;
}
.story-body footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #dedfd7;
  color: var(--deep);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.read-story,
.share-story {
  border: 0;
  background: none;
  padding: 0;
  color: var(--deep);
  font:
    700 13px system-ui,
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.read-story b {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.read-story:hover b {
  transform: translateX(5px);
}
.story-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(22, 42, 32, 0.35);
}
.story-dialog::backdrop {
  background: rgba(25, 43, 34, 0.72);
  backdrop-filter: blur(4px);
}
.dialog-inner {
  padding: 65px clamp(28px, 7vw, 76px) 55px;
  overflow: auto;
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd0c7;
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.story-dialog h2 {
  margin: 12px 0 16px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
}
.dialog-lead {
  color: var(--jade);
  font-size: 18px;
  line-height: 1.8;
}
.dialog-content {
  margin-top: 30px;
}
.dialog-content p {
  font-size: 17px;
  line-height: 2;
  margin: 0 0 20px;
  color: #536158;
}
.story-dialog blockquote {
  margin: 38px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #d7dbd2;
  color: var(--deep);
  font-size: 22px;
  line-height: 1.7;
}
.dialog-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.share-story {
  padding: 11px 18px;
  border: 1px solid var(--deep);
  border-radius: 99px;
}
.copy-status {
  font: 12px system-ui;
  color: var(--jade);
}
.share-warmth {
  padding: 95px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background: #f1e7d2;
}
.share-warmth h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.45;
  font-weight: 500;
  margin: 12px 0 18px;
}
.share-warmth > div:first-child {
  max-width: 850px;
}
.share-warmth p:last-child {
  color: #667068;
  line-height: 1.8;
}
.guestbook {
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  background: #dfe7dc;
}
.guestbook-mark {
  width: 105px;
  height: 105px;
  border: 1px solid rgba(36, 75, 61, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--deep);
  font-size: 50px;
}
.guestbook-copy {
  max-width: 760px;
}
.guestbook h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.4;
  font-weight: 500;
  margin: 10px 0 18px;
}
.guestbook-copy > p:not(.section-kicker) {
  color: #5f6d64;
  line-height: 1.9;
  margin: 0;
}
.guestbook .guestbook-safety {
  margin-top: 18px !important;
  color: var(--deep) !important;
  font:
    700 12px system-ui,
    sans-serif;
  letter-spacing: 0.08em;
}
.guestbook-button {
  background: var(--deep);
  color: white;
  white-space: nowrap;
}
.share-site-wrap {
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.share-site {
  border: 0;
  background: var(--deep);
  color: white;
  cursor: pointer;
  white-space: nowrap;
}
.site-share-status {
  min-height: 18px;
  font:
    12px system-ui,
    sans-serif;
  color: var(--jade);
}
.dialog-open {
  overflow: hidden;
}
.learn {
  padding: 130px 8vw;
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 10%;
  background: var(--paper);
}
.learn-intro > p:last-child {
  line-height: 2;
  color: #687269;
  max-width: 430px;
}
.path-list article {
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  gap: 18px;
  border-top: 1px solid #ccd0c8;
  padding: 25px 0;
  align-items: start;
}
.path-list article:last-child {
  border-bottom: 1px solid #ccd0c8;
}
.path-list span {
  color: var(--gold);
  font: 13px system-ui;
}
.path-list h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}
.path-list p {
  margin: 0;
  line-height: 1.7;
  color: #687269;
}
.path-list b {
  color: var(--jade);
}
.path-list a {
  display: block;
}
.path-list a article {
  transition: 0.25s ease;
}
.path-list a:hover article {
  padding-left: 14px;
  color: var(--deep);
  background: linear-gradient(90deg, rgba(155, 173, 140, 0.12), transparent);
}
.article-page {
  background: linear-gradient(135deg, #f6f0e3, #eef1e8);
  min-height: 100vh;
}
.article-page .site-header {
  position: relative;
  background: rgba(251, 250, 246, 0.72);
}
.article-wrap {
  width: min(860px, 88vw);
  margin: 0 auto;
  padding: 90px 0 110px;
}
.article-number {
  color: var(--gold);
  font:
    600 12px system-ui,
    sans-serif;
  letter-spacing: 0.22em;
}
.article-wrap h1 {
  font-size: clamp(44px, 7vw, 76px);
  margin: 18px 0 26px;
}
.article-lead {
  font-size: 21px;
  line-height: 1.9;
  color: var(--jade);
  padding-bottom: 34px;
  border-bottom: 1px solid #ccd0c8;
}
.article-content {
  max-width: 700px;
  margin: 45px auto 0;
}
.article-content h2 {
  font-size: 30px;
  font-weight: 500;
  color: var(--deep);
  margin: 44px 0 14px;
}
.article-content p,
.article-content li {
  font-size: 17px;
  line-height: 2;
  color: #536158;
}
.article-content blockquote {
  margin: 46px 0;
  padding: 26px 30px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.5);
  font-size: 23px;
  line-height: 1.7;
  color: var(--deep);
}
.article-nav {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #ccd0c8;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    600 14px system-ui,
    sans-serif;
  color: var(--deep);
}
.johnson-signature {
  margin: 44px 0;
  color: var(--deep);
  font:
    italic 25px Georgia,
    serif;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 42px 0;
}
.about-values div {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.55);
  border-top: 2px solid var(--gold);
}
.about-values strong {
  display: block;
  color: var(--deep);
  font-size: 19px;
  margin-bottom: 8px;
}
.about-values span {
  color: #687269;
  line-height: 1.7;
  font-size: 14px;
}
.begin {
  background: var(--deep);
  color: white;
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 35px;
}
.begin .section-kicker {
  color: #bdcbbf;
}
.begin h2 {
  margin: 8px 0;
}
.begin-mark {
  font-size: 55px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.button.light {
  background: #f2ead8;
  color: var(--deep);
}
.site-footer {
  padding: 55px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #687269;
}
.site-footer > p:nth-child(2) {
  text-align: center;
}
.site-footer > p:last-child {
  text-align: right;
}
.footer-brand {
  color: var(--ink);
}
@media (max-width: 900px) {
  nav a:not(.nav-cta) {
    display: none;
  }
  .hero {
    min-height: 760px;
    height: auto;
    padding: 130px 7vw 80px;
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-art {
    opacity: 0.35;
    width: 80%;
    height: 65%;
  }
  .hero-intro {
    max-width: 85%;
  }
  .manifesto {
    padding: 90px 7vw;
  }
  .manifesto-grid {
    margin-left: 0;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-card {
    min-height: auto;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .learn {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .begin {
    grid-template-columns: 90px 1fr;
  }
  .begin .button {
    grid-column: 2;
  }
  .begin-mark {
    width: 80px;
    height: 80px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }
  .site-footer > p:last-child,
  .site-footer > p:nth-child(2) {
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .share-warmth {
    display: block;
    padding: 75px 7vw;
  }
  .share-site-wrap {
    align-items: flex-start;
    margin-top: 30px;
  }
}
@media (max-width: 900px) {
  .guestbook {
    grid-template-columns: 90px 1fr;
    padding: 75px 7vw;
  }
  .guestbook-mark {
    width: 80px;
    height: 80px;
  }
  .guestbook-button {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 72px;
    padding: 0 5vw;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand strong {
    font-size: 16px;
  }
  .nav-cta {
    padding: 9px 12px;
    font-size: 12px;
  }
  .hero {
    padding-inline: 6vw;
    min-height: 720px;
  }
  h1 {
    font-size: 46px;
  }
  .hero-intro {
    font-size: 16px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-art {
    width: 120%;
    right: -45%;
    opacity: 0.28;
  }
  .manifesto blockquote {
    font-size: 32px;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stories {
    padding: 85px 5vw;
  }
  .story-body {
    padding: 25px;
  }
  .learn {
    padding: 85px 6vw;
  }
  .path-list article {
    grid-template-columns: 35px 1fr 15px;
  }
  .begin {
    padding: 75px 6vw;
    display: block;
  }
  .begin-mark {
    margin-bottom: 25px;
  }
  .begin .button {
    margin-top: 20px;
  }
  .site-footer {
    padding: 45px 5vw;
  }
  .dialog-inner {
    padding: 58px 25px 36px;
  }
  .story-dialog h2 {
    font-size: 36px;
  }
  .dialog-content p {
    font-size: 16px;
  }
  .story-dialog blockquote {
    font-size: 19px;
  }
}
@media (max-width: 560px) {
  .guestbook {
    display: block;
    padding: 70px 6vw;
  }
  .guestbook-mark {
    margin-bottom: 25px;
  }
  .guestbook-button {
    margin-top: 28px;
  }
  .guestbook h2 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  .article-nav {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .story-card,
  .story-thumbnail {
    transition: none;
  }
}

/* Step 18 — homepage story thumbnails */

.story-link {
  text-decoration: none;
}

/* Step 17 — article illustrations */
.article-figure {
  margin: 38px 0 48px;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(36, 75, 61, 0.14);
}
.article-figure figcaption {
  margin-top: 13px;
  color: #738078;
  font:
    500 13px/1.75 system-ui,
    sans-serif;
  text-align: center;
}
.article-figure-wide {
  margin-left: calc((700px - min(860px, 88vw)) / 2);
  margin-right: calc((700px - min(860px, 88vw)) / 2);
}
@media (max-width: 760px) {
  .article-figure {
    margin: 28px 0 38px;
  }
  .article-figure img {
    border-radius: 12px;
  }
  .article-figure-wide {
    margin-left: 0;
    margin-right: 0;
  }
  .article-figure figcaption {
    text-align: left;
  }
}

/* Step 12: approved visitor voices */
.approved-voices {
  padding: 105px 8vw;
  background: #f7f3e9;
}
.voice-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.voice-card {
  background: rgba(255, 255, 255, 0.72);
  border-top: 3px solid var(--gold);
  padding: 30px;
  box-shadow: 0 12px 35px rgba(46, 65, 54, 0.06);
}
.voice-card blockquote {
  margin: 0;
  color: #536158;
  font-size: 17px;
  line-height: 1.95;
}
.voice-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d9ddd4;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font:
    700 12px system-ui,
    sans-serif;
  color: var(--deep);
}
.voice-meta time {
  font-weight: 500;
  color: #7a837c;
}
.voice-empty {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed #b8c1b5;
  color: #687269;
  text-align: center;
  line-height: 1.8;
}
.voice-grid:not(:empty) + .voice-empty {
  display: none;
}
@media (max-width: 760px) {
  .approved-voices {
    padding: 75px 6vw;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 13: visitor voice carousel — approved data stays in approved-guestbook.js */
.voice-grid.voice-carousel {
  display: block;
  max-width: 900px;
}
.voice-carousel .voice-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.45;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.voice-carousel .voice-card.voice-card-active {
  opacity: 1;
  transform: none;
}
.voice-controls {
  max-width: 900px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.voice-arrow,
.voice-dot {
  border: 1px solid #c8cfc5;
  background: rgba(255, 255, 255, 0.65);
  color: var(--deep);
  cursor: pointer;
}
.voice-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 17px;
}
.voice-arrow:hover {
  background: #fff;
}
.voice-dots {
  display: flex;
  gap: 8px;
}
.voice-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
}
.voice-dot.active {
  background: var(--deep);
  border-color: var(--deep);
}
.voice-count {
  min-width: 42px;
  margin-left: 4px;
  font:
    600 11px system-ui,
    sans-serif;
  color: #7a837c;
}
.voice-arrow:focus-visible,
.voice-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .voice-carousel .voice-card {
    min-height: 220px;
    padding: 25px;
  }
  .voice-controls {
    margin-top: 15px;
  }
}

/* Step 14 — story category navigator */
.story-categories {
  padding: 85px 6vw 34px;
  background: #e8ecdf;
}
.category-intro {
  max-width: 1120px;
  margin: 0 auto;
}
.category-intro h2 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 500;
  color: var(--deep);
}
.category-intro > p:last-child {
  max-width: 720px;
  line-height: 1.9;
  color: #687269;
}
.category-chips {
  max-width: 1120px;
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-chip {
  appearance: none;
  border: 1px solid #b9c4b8;
  background: rgba(255, 255, 255, 0.55);
  color: var(--deep);
  padding: 11px 17px;
  border-radius: 999px;
  font:
    700 13px system-ui,
    sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}
.category-chip:hover,
.category-chip:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}
.category-chip.active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}
.category-status {
  max-width: 1120px;
  margin: 16px auto 0;
  font:
    600 12px system-ui,
    sans-serif;
  color: #758078;
}
.story-card.is-hidden {
  display: none;
}
.stories {
  padding-top: 55px;
}
@media (max-width: 560px) {
  .story-categories {
    padding: 70px 5vw 22px;
  }
  .category-chips {
    gap: 9px;
  }
  .category-chip {
    padding: 10px 13px;
    font-size: 12px;
  }
  .stories {
    padding-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-chip {
    transition: none;
  }
}

/* Step 15 — single article reading experience */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: rgba(36, 75, 61, 0.08);
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 0.08s linear;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -10px 0 24px;
  color: #7a837c;
  font:
    600 12px system-ui,
    sans-serif;
  letter-spacing: 0.03em;
}
.article-tools {
  margin: 48px 0 8px;
  padding: 24px 0;
  border-top: 1px solid #d7dbd3;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-share {
  appearance: none;
  border: 1px solid var(--deep);
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  padding: 11px 18px;
  font:
    700 13px system-ui,
    sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
}
.article-share:hover {
  background: var(--deep);
  color: #fff;
}
.article-share-status {
  font:
    600 12px system-ui,
    sans-serif;
  color: var(--jade);
}
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(36, 75, 61, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 50;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.article-content > p:first-of-type::first-letter {
  float: left;
  font-size: 3.25em;
  line-height: 0.82;
  padding: 0.12em 0.12em 0 0;
  color: var(--gold);
  font-family: Georgia, serif;
}
.article-content h2 {
  scroll-margin-top: 90px;
}
@media (max-width: 560px) {
  .reading-progress {
    height: 3px;
  }
  .article-wrap {
    padding-top: 65px;
  }
  .article-meta {
    margin-top: -4px;
  }
  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
  .article-tools {
    margin-top: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress span,
  .back-to-top,
  .article-share {
    transition: none;
  }
}

/* Step 21 — elders & dreams */
.legacy-dreams{padding:90px 6vw;background:#f3eee2}.legacy-dreams>.section-heading{max-width:1120px;margin:0 auto 34px}.legacy-dream-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.legacy-dream-grid article{height:100%;padding:34px;border:1px solid rgba(36,75,61,.16);border-radius:22px;background:rgba(255,255,255,.58);transition:.22s ease}.legacy-dream-grid article:hover{transform:translateY(-3px);border-color:var(--jade)}.legacy-dream-grid span{font:700 12px system-ui,sans-serif;color:var(--jade);letter-spacing:.14em}.legacy-dream-grid h3{font-size:25px;margin:12px 0}.legacy-dream-grid p{line-height:1.9;color:#606c64}.legacy-dream-grid b{display:inline-block;margin-top:12px;color:var(--deep);font:700 13px system-ui,sans-serif}.history-note,.coming-story{margin:30px 0;padding:22px 24px;border-radius:18px;background:#eef1e8;border-left:4px solid var(--jade)}.history-note.soft{background:#f5f0e5}.history-note strong,.history-note span{display:block}.history-note strong{margin-bottom:8px}.history-note span{line-height:1.8}.history-confirmed{font:650 14px system-ui,sans-serif;color:var(--jade)}.dream-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:34px 0}.dream-grid article{padding:22px;border:1px solid #d9ddd5;border-radius:16px;background:#fff}.dream-grid span{font:700 12px system-ui,sans-serif;color:var(--gold)}.dream-grid h3{margin:9px 0;font-size:19px}.dream-grid p{font-size:15px;line-height:1.75;margin:0}.coming-story h3{font-size:25px;margin:6px 0 8px}.coming-story p:last-child{margin-bottom:0}
@media(max-width:780px){.legacy-dream-grid,.dream-grid{grid-template-columns:1fr}.legacy-dreams{padding:68px 5vw}.site-header nav a:not(.nav-cta){display:none}}

/* Step 21 — Dream Archive: present → imagined future */
.dream-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 12px}.dream-photo-card{margin:0}.dream-photo-card img{display:block;width:100%;height:auto;border-radius:18px}.dream-photo-card figcaption{margin-top:10px;font-size:.95rem;line-height:1.6;color:#5e625d}.dream-note{font-size:.9rem;color:#6b6f69;margin-top:14px}.dream-quote{font-size:1.08rem}.dream-story-title{margin-top:36px}@media(max-width:680px){.dream-photo-pair{grid-template-columns:1fr;gap:24px}}
.dream-photo-feature{max-width:760px;margin:24px auto 14px}.dream-photo-feature img{box-shadow:0 18px 44px rgba(18,39,33,.18)}

.history-photo{margin:1.5rem 0 1.75rem}.history-photo img{display:block;width:100%;height:auto;border-radius:18px}.history-photo figcaption{margin-top:.65rem;color:#66736d;font-size:.92rem;line-height:1.7}
