.journal-home {
  --journal-deep: #4d5a3e;
  --journal-soft: #e9ecdf;
  --journal-muted: #545950;
}
.journal-home ::selection { background: var(--lime); color: var(--ink); }
.journal-home h2 { font-weight: 500; }
.journal-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "intro figure" "copy figure";
  grid-template-rows: 1fr auto;
  gap: 20px clamp(30px, 6vw, 96px);
  align-items: start;
  margin: 28px 0 clamp(52px, 6vw, 88px);
  padding: clamp(22px, 3vw, 48px);
  border-radius: 16px;
  background: var(--journal-soft);
}
.journal-hero-intro { grid-area: intro; align-self: end; }
.journal-masthead { color: var(--journal-deep); font-size: 13px; font-weight: 500; margin: 0 0 clamp(20px, 3.5vw, 48px); }
.journal-masthead span { margin-inline: 4px; }
.journal-hero h1 { font-size: clamp(36px, 4.2vw, 67px); line-height: 1.04; letter-spacing: -.038em; margin: 0; text-wrap: balance; }
.journal-hero h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.journal-lead { max-width: 37ch; color: var(--journal-muted); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.55; margin: 20px 0 0; }
.light-figure, .room-figure { margin: 0; min-width: 0; }
.light-figure { grid-area: figure; }
.light-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.26;
  max-height: 490px;
  border-radius: 10px;
  background: #b3a799;
}
.light-stage img, .room-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.light-stage img { object-position: center 44%; }
[data-portrait-series] .light-stage { aspect-ratio: 3 / 2; background: #d3d3c9; }
[data-portrait-series] .light-stage img { object-fit: contain; object-position: center; }
[data-portrait-series] .light-controls[hidden] { display: none; }
.light-stage-label, .room-label {
  position: absolute;
  border-radius: 5px;
  padding: 6px 9px;
  color: #fff;
  background: #222520;
  font-size: 12px;
}
.light-stage-label { bottom: 12px; left: 12px; }
.light-controls { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.light-controls button, .experiment-pair button {
  min-height: 44px;
  border: 1px solid #aab19b;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
}
.light-controls button:hover, .experiment-pair button:hover { border-color: var(--ink); }
.light-controls button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.journal-credit { display: block; margin-top: 9px; color: var(--journal-muted); font-size: 12px; line-height: 1.4; }
.light-copy { grid-area: copy; align-self: start; }
.light-copy .journal-lead { margin: 0 0 17px; }
.light-copy [data-light-note] { border-top: 1px solid #c5cbb7; margin: 0 0 12px; max-width: 40ch; padding-top: 12px; min-height: 65px; color: var(--journal-deep); line-height: 1.5; }
.journal-primary, .journal-text-link, .journal-next a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.journal-primary { padding: 10px 14px; border-radius: 8px; text-decoration: none; background: var(--lime); font-size: 14px; }
.journal-primary:hover { background: #c8e169; }
.journal-examples { margin-bottom: clamp(52px, 7vw, 96px); }
.journal-examples h2, .journal-experiment h2, .journal-next h2 { margin: 0 0 22px; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.027em; text-wrap: balance; }
.journal-examples-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 70px); }
.journal-examples h3 { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.room-stage { --reveal: 50%; aspect-ratio: 2 / 1; position: relative; overflow: hidden; border-radius: 10px; background: #baaf96; touch-action: pan-y; cursor: ew-resize; }
.room-stage img { pointer-events: none; }
.room-stage img { position: absolute; inset: 0; }
.room-after { clip-path: inset(0 0 0 var(--reveal)); }
.room-boundary { position: absolute; inset: 0 auto 0 var(--reveal); width: 2px; background: white; pointer-events: none; }
.room-label { top: 10px; pointer-events: none; }
.room-label-before { left: 10px; }
.room-label-after { right: 10px; }
.room-figure figcaption { color: var(--journal-muted); font-size: 13px; }
.room-figure label { display: block; margin: 10px 0 0; }
.room-figure input { width: 100%; min-height: 44px; margin: 0; accent-color: var(--journal-deep); cursor: ew-resize; }
.no-js .room-figure label, .no-js .room-figure input { display: none; }
.song-preview { display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: clamp(16px, 3vw, 38px); background: var(--journal-soft); border-radius: 10px; }
.song-story { font-size: clamp(19px, 2.1vw, 26px); line-height: 1.4; letter-spacing: -.016em; margin: 0 0 24px; }
.song-caption { color: var(--journal-muted); margin: 0 0 8px; font-size: 13px; }
.song-preview audio { width: 100%; height: 54px; }
.journal-text-link { font-size: 14px; margin-top: 6px; }
.journal-home .article-list { scroll-margin-top: 16px; }
.journal-home .toolbar { margin-bottom: 26px; }
.journal-experiment {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 5vw, 70px);
  align-items: center;
  margin: clamp(42px, 6vw, 80px) 0;
  padding: clamp(19px, 3.5vw, 44px);
  border-radius: 16px;
  color: #f6f7ee;
  background: #282f26;
}
.journal-experiment p { line-height: 1.52; margin: 0 0 10px; color: #e1e7d8; }
.journal-experiment .experiment-question { font-size: clamp(18px, 2.1vw, 25px); color: white; }
.experiment-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.experiment-pair button { padding: 4px; color: white; border-color: #687563; overflow: hidden; }
.experiment-pair button:hover { border-color: #e6efda; }
.experiment-pair button[aria-pressed="true"] { border-color: var(--lime); background: #424e3d; }
.experiment-pair img { width: 100%; height: auto; display: block; border-radius: 4px; }
.experiment-pair span { display: grid; min-height: 36px; place-items: center; }
.experiment-answer { padding: 12px 0 0; margin-top: 8px; border-top: 1px solid #687563; color: #e8f0df; line-height: 1.5; }
.no-js .experiment-pair button { pointer-events: none; }
.journal-next { border-top: 1px solid var(--line); padding: 34px 0 54px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px 32px; }
.journal-next p, .journal-next h2 { margin: 0; }
.journal-next ul { list-style: none; padding: 0; margin: 10px 0 0; }
.journal-next li + li { border-top: 1px solid var(--line); }
.journal-next a { justify-content: space-between; width: 100%; }
@media (max-width: 767px) {
  .journal-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "figure" "copy"; grid-template-rows: auto; margin-top: 16px; gap: 15px; padding: 17px; }
  .journal-hero h1 { font-size: clamp(31px, 7.5vw, 48px); }
  .journal-masthead { margin-bottom: 12px; }
  .light-stage { aspect-ratio: 1.11; }
  .light-copy [data-light-note] { min-height: 0; }
  .light-controls button { font-size: 13px; }
  .journal-examples-grid, .journal-experiment, .journal-next { grid-template-columns: minmax(0, 1fr); }
  .journal-home .toolbar .topics { flex-wrap: wrap; overflow: visible; }
}
