:root { --bone: #dde6dd; --bone-light: #e9efe9; --bone-deep: #bcc8bc; --paper: #eef3ee; --ink: #2c1f2a; --ink-soft: #564650; --ink-mute: #80757d; --moss: #7a4f64; --moss-soft: #a07585; --clay: #b76b46; --line: #b8c2b8; --line-soft: rgba(44, 31, 42, 0.09); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone); color: var(--ink);
  font-family: 'Inter', sans-serif; font-weight: 400;
  font-size: 16px; line-height: 1.7; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
  background-image: radial-gradient(rgba(44,31,42,0.022) 1px, transparent 1px), radial-gradient(rgba(44,31,42,0.014) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
}
.display { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--moss); color: var(--paper); }
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200; background: rgba(44,31,42,0.06);
}
.read-progress span {
  display: block; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--moss), var(--clay));
  transition: width 0.12s linear;
}

nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.6rem 3rem; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(221, 230, 221, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; }
.logo em { font-style: italic; font-weight: 300; color: var(--moss); }
.nav-right { display: flex; gap: 1.4rem; align-items: center; }
.back {
  font-size: 0.84rem; color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  padding-bottom: 2px;
}
.back:hover { color: var(--moss); border-color: var(--moss); transform: translateX(-3px); }
.lang-toggle {
  display: flex; align-items: center; gap: 0.3rem;
  border-right: 1px solid var(--line);
  padding-right: 1.4rem;
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.14em;
  color: var(--ink-mute);
  padding: 0.3rem 0.4rem;
  transition: color 0.2s;
}
.lang-toggle button.active { color: var(--ink); font-weight: 600; }
.lang-toggle .sep { color: var(--line); font-size: 0.7rem; }
@media (max-width: 720px) {
  nav { padding: 1.1rem 1.25rem; }
  .nav-right { gap: 0.7rem; }
  .lang-toggle { padding-right: 0; border-right: 0; }
  .back { display: none; }
}

.story-hero {
  padding: 9rem 2rem 3.4rem;
  max-width: 1180px; margin: 0 auto;
  text-align: center;
}
.story-tag {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss);
  margin-bottom: 2rem;
}
.story-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  margin-bottom: 1.6rem; max-width: 820px; margin-left: auto; margin-right: auto;
  letter-spacing: -0.02em;
}
.story-hero h1 i { font-style: italic; color: var(--moss); }
.story-meta {
  font-family: 'Inter', sans-serif; font-size: 0.78rem;
  color: var(--ink-mute); letter-spacing: 0.06em;
  margin-bottom: 3rem;
}
.story-hero-grid {
  position: relative; max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.36fr;
  gap: 1.2rem; align-items: end;
}
.story-hero-img {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden; border-radius: 4px;
  background: var(--bone-deep);
}
.story-hero-img img,
.story-hero-polaroid img,
.chapter-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.story-hero-polaroid {
  position: absolute; right: 8%; bottom: -2.2rem;
  width: min(260px, 28vw); aspect-ratio: 4/3;
  padding: 9px; background: #fbf7ef; border-radius: 6px;
  transform: rotate(2.5deg);
  box-shadow: 0 28px 56px -34px rgba(44,31,42,0.34);
}
.story-hero-polaroid img { border-radius: 3px; }
.story-hero-note {
  position: relative; z-index: 2; align-self: start;
  margin-top: 2.4rem; padding: 1.5rem 1.35rem;
  background: rgba(251,247,239,0.82);
  border: 1px solid rgba(44,31,42,0.08);
  border-radius: 6px; text-align: left;
  box-shadow: 0 22px 44px -34px rgba(44,31,42,0.28);
}
.story-hero-note span,
.chapter-card span,
.reflection-box span {
  display: block; margin-bottom: 0.65rem;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay);
}
.story-hero-note p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.35rem; line-height: 1.25; color: var(--ink);
}

.story-map {
  position: sticky; top: 76px; z-index: 80;
  max-width: 860px; margin: 1.2rem auto 0;
  padding: 0.58rem 0.9rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(233,239,233,0.86); backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft); border-radius: 999px;
  box-shadow: 0 18px 36px -32px rgba(44,31,42,0.28);
}
.story-map-btn {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.42rem;
  min-width: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  padding: 0.32rem 0.7rem 0.38rem; font: inherit;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.story-map-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(50% + 13px);
  right: calc(-50% + 13px);
  height: 1px;
  background: linear-gradient(90deg, rgba(183,107,70,0.34), rgba(122,79,100,0.14));
  pointer-events: none;
}
.story-map-btn span {
  width: 16px; height: 16px;
  border: 1px solid rgba(122,79,100,0.34);
  border-radius: 999px 999px 999px 3px;
  transform: rotate(-45deg);
  background: rgba(251,247,239,0.72);
  box-shadow: inset 0 0 0 4px rgba(233,239,233,0.72);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.story-map-btn strong {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap;
}
.story-map-btn:hover { transform: translateY(-1px); color: var(--ink); }
.story-map-btn.active {
  color: var(--ink);
  background: rgba(251,247,239,0.54);
}
.story-map-btn.active span {
  background: var(--clay);
  border-color: var(--clay);
  box-shadow: 0 0 0 5px rgba(183,107,70,0.12);
  transform: rotate(-45deg) scale(1.08);
}

.story-body {
  max-width: 1060px; margin: 5.2rem auto 4rem;
  padding: 0 2rem;
}
.story-chapter {
  position: relative;
  scroll-margin-top: 150px;
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 280px;
  gap: 2.2rem; align-items: start;
  padding: 4rem 0;
  border-top: 1px solid var(--line-soft);
}
.story-chapter:first-child { border-top: 0; padding-top: 0; }
.story-chapter--image { grid-template-columns: 76px 0.9fr 1.1fr; }
.story-chapter--final { grid-template-columns: 76px minmax(0, 1fr) 320px; }
.chapter-marker {
  position: sticky; top: 150px;
  min-height: 120px;
  display: flex; align-items: flex-start; justify-content: center;
}
.chapter-marker::before {
  content: '';
  width: 18px; height: 18px;
  margin-top: 0.35rem;
  border-radius: 999px 999px 999px 3px;
  transform: rotate(-45deg);
  background: var(--clay);
  box-shadow: 0 0 0 8px rgba(183,107,70,0.09);
}
.chapter-marker span {
  position: absolute;
  top: 2.8rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  white-space: nowrap;
}
.chapter-copy { max-width: 660px; }
.chapter-copy p,
.story-body p {
  font-size: 1.08rem; color: var(--ink-soft);
  margin-bottom: 1.4rem; line-height: 1.78;
}
.chapter-copy p em,
.story-body p em { font-style: italic; color: var(--ink); }
.chapter-copy p strong,
.story-body p strong { font-weight: 600; color: var(--ink); }
.chapter-card,
.reflection-box {
  position: sticky; top: 150px;
  padding: 1.4rem;
  background: rgba(251,247,239,0.72);
  border: 1px solid rgba(44,31,42,0.08);
  border-radius: 8px;
  box-shadow: 0 18px 38px -34px rgba(44,31,42,0.32);
}
.chapter-card strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; line-height: 1.05; color: var(--ink);
  margin-bottom: 0.7rem;
}
.chapter-card p,
.reflection-box p {
  font-size: 0.92rem; line-height: 1.58; color: var(--ink-soft); margin: 0;
}
.chapter-image {
  margin: 0; aspect-ratio: 4/5; overflow: hidden;
  padding: 9px; background: #fbf7ef; border-radius: 8px;
  transform: rotate(-1.2deg);
  box-shadow: 0 28px 54px -38px rgba(44,31,42,0.36);
}
.chapter-image img { border-radius: 4px; }
.story-body .pullquote {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--moss);
  border-left: 1px solid var(--moss);
  padding: 0.6rem 0 0.6rem 1.6rem;
  margin: 2.4rem 0;
  line-height: 1.4;
}
.reflection-options {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.1rem 0 1rem;
}
.reflection-options button {
  border: 1px solid rgba(122,79,100,0.22);
  background: rgba(238,243,238,0.68);
  color: var(--ink); border-radius: 999px;
  padding: 0.55rem 0.85rem; cursor: pointer;
  font: inherit; font-size: 0.82rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.reflection-options button:hover,
.reflection-options button.active {
  background: var(--moss); color: var(--paper); transform: translateY(-1px);
}
.reflection-box em {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-style: italic; color: var(--moss); font-size: 1.15rem; line-height: 1.35;
}

.story-closing {
  max-width: 720px; margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.story-closing p {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--moss);
  line-height: 1.4;
}

.comments {
  max-width: 760px; margin: 5rem auto;
  padding: 0 2rem;
}
.comments h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.comments h2 i { font-style: italic; color: var(--moss); }
.comments-intro {
  font-size: 0.96rem; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 2.4rem;
}
.comment-form {
  background: var(--paper);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  margin-bottom: 2.6rem;
}
.comment-form .field { margin-bottom: 1.2rem; }
.comment-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.comment-form label {
  display: block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 0.45rem;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  background: transparent; border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  font-family: inherit; font-size: 0.96rem; color: var(--ink);
  resize: vertical;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--moss);
}
.comment-form textarea { min-height: 95px; }
.comment-form button {
  background: var(--ink); color: var(--bone);
  border: none; cursor: pointer;
  padding: 0.85rem 1.9rem; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 500;
  margin-top: 0.4rem;
  transition: background 0.2s, transform 0.2s;
}
.comment-form button:hover { background: var(--moss); transform: translateY(-1px); }
.form-success {
  display: none;
  background: var(--moss); color: var(--paper);
  padding: 1rem 1.4rem; border-radius: 4px;
  font-size: 0.92rem;
  animation: fadeIn 0.4s ease;
}
.form-success.show { display: block; }
@keyframes fadeIn { from {opacity:0;transform:translateY(8px);} to {opacity:1;transform:none;} }

.comments-list { display: flex; flex-direction: column; }
.comment {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-soft);
}
.comment-meta {
  font-size: 0.82rem; color: var(--ink-mute);
  margin-bottom: 0.6rem;
}
.comment-meta strong { color: var(--ink); font-weight: 600; }
.comment p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.65; }
.no-comments {
  padding: 1.8rem 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.1rem; color: var(--ink-mute);
  text-align: center;
}
.comments-note {
  margin-top: 2rem;
  font-size: 0.78rem; color: var(--ink-mute);
  background: var(--bone-light);
  padding: 1rem 1.4rem;
  border-radius: 4px;
  border-left: 3px solid var(--moss);
  line-height: 1.55;
}

.related {
  max-width: 1100px; margin: 6rem auto 4rem;
  padding: 0 2rem;
}
.related h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.6rem; margin-bottom: 2rem; text-align: center;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.related-card {
  padding: 1.6rem 1.4rem; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 4px;
  transition: border-color 0.3s, transform 0.2s;
  cursor: pointer; display: block;
}
.related-card:hover { border-color: var(--moss); transform: translateY(-2px); }
.related-tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); margin-bottom: 0.6rem; }
.related-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.18rem; line-height: 1.3; color: var(--ink);
}

.story-cta {
  background: var(--ink); color: var(--bone);
  padding: 5rem 2rem;
  text-align: center;
}
.story-cta h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.story-cta h2 i { font-style: italic; color: var(--moss-soft); }
.story-cta p {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: 1.2rem; color: rgba(221, 230, 221, 0.75);
  margin-bottom: 2rem;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--bone); color: var(--ink);
  padding: 1rem 2rem; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-cta:hover { background: var(--moss); color: var(--bone); transform: translateY(-1px); }

footer {
  padding: 3rem 2rem 2.4rem; text-align: center;
  font-size: 0.82rem; color: var(--ink-mute);
}
footer a { color: var(--moss); border-bottom: 1px solid var(--moss); padding-bottom: 1px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  nav { padding: 1.2rem 1.4rem; }
  .story-hero { padding: 7rem 1.4rem 2rem; }
  .story-body { padding: 0 1.4rem; margin: 3rem auto; }
  .story-closing { padding: 2.4rem 1.4rem; margin: 3rem auto; }
  .comments, .related { padding: 0 1.4rem; }
  .comment-form { padding: 1.4rem; }
  .comment-form .field-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .story-cta { padding: 4rem 1.4rem; }
}

/* ── CTA polish (final pass) · tactile, not a default pill ── */
.btn-cta {
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.32);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, gap 0.35s ease;
}
.btn-cta:hover { transform: translateY(-2px); gap: 0.85rem; box-shadow: 0 22px 38px -18px rgba(0, 0, 0, 0.4); }
.btn-cta:active { transform: translateY(0); }
.comment-form button {
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}
.comment-form button:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(44, 31, 42, 0.5); }
@media (max-width: 720px) {
  .story-cta .btn-cta { width: 100%; justify-content: center; }
}

/* ── the chapter title settles in like soft ink ── */
.story-hero h1.reveal { filter: blur(8px); transition: opacity 1s ease, transform 1s ease, filter 1.1s ease; }
.story-hero h1.reveal.in { filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .story-hero h1.reveal { filter: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════
   CHRIS STORY · visual interactive chapter layout
   ═══════════════════════════════════════════════════════ */
.story-chapter .pullquote {
  border-left: 0;
  padding: 0;
  margin: 0;
  max-width: 9ch;
  text-align: left;
  color: var(--ink);
}
.story-chapter .pullquote::before {
  margin: 0 0 1.1rem;
}
.story-chapter .pullquote::after {
  display: none;
}

@media (max-width: 980px) {
  .story-hero-grid {
    grid-template-columns: 1fr;
  }
  .story-hero-note {
    max-width: 440px;
    margin: 0.8rem auto 0;
    text-align: center;
  }
  .story-hero-polaroid {
    display: none;
  }
  .story-map {
    top: 67px;
    max-width: calc(100% - 2rem);
    border-radius: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
  .story-map-btn {
    padding: 0.62rem 0.7rem;
  }
  .story-map-btn strong {
    font-size: 0.62rem;
  }
  .story-chapter,
  .story-chapter--image,
  .story-chapter--final {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 3rem 0;
  }
  .chapter-marker,
  .chapter-card,
  .reflection-box {
    position: static;
  }
  .chapter-marker {
    min-height: auto;
    justify-content: flex-start;
    align-items: center;
    gap: 0.7rem;
  }
  .chapter-marker::before {
    width: 14px;
    height: 14px;
    margin-top: 0;
    box-shadow: 0 0 0 6px rgba(183,107,70,0.08);
  }
  .chapter-marker span {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.68rem;
  }
  .chapter-copy {
    max-width: 100%;
  }
  .chapter-image {
    aspect-ratio: 16 / 10;
    transform: none;
    order: -1;
  }
  .story-chapter .pullquote {
    max-width: 100%;
    text-align: center;
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .story-chapter .pullquote::before {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .story-chapter { scroll-margin-top: 130px; }
  .story-map {
    position: relative;
    top: auto;
    margin-top: 0;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    gap: 0.25rem;
  }
  .story-map-btn {
    align-items: flex-start;
    padding: 0.7rem 0.8rem;
  }
  .story-map-btn:not(:last-child)::after {
    display: none;
  }
  .story-body {
    margin-top: 3rem;
  }
}
