/* ==========================================================================
   Journal, scroll-told (preview). Pairs with journal-v2.html / journal-v2.js on
   top of site.css and scroll-kit.css. Static stack without JS or reduced motion;
   the held-and-covered entries are CSS sticky on wide, tall screens only.
   ========================================================================== */
.jr { --sk-h1: clamp(64px, 11vw, 200px); --sk-h1-phone: 20vw; }
.jr .sk-hero h1 { letter-spacing: -.065em; line-height: .86; margin: 22px 0 clamp(30px, 6svh, 60px); }
.jr .sk-hero h1 span { display: block; }
.jr h2 { letter-spacing: -.065em; }
.jr .sk-jump { width: min(300px, 100%); }
.jr .sk-link { align-items: center; border-bottom: 1px solid currentColor; display: inline-flex; padding-bottom: 4px; width: max-content; }
.jr .sk-link:hover { opacity: .7; }

.jn-head { background: var(--paper); padding: clamp(90px, 12vw, 180px) var(--pad) clamp(60px, 8vw, 120px); }
.jn-head h2 { font-size: clamp(64px, 11.2vw, 210px); line-height: .8; margin: 24px 0 0; }
.jn-head h2 em { color: var(--terracotta); }

.jn-stack { background: var(--ink); }
.jn { color: var(--ink); display: block; min-height: 100vh; min-height: 100svh; overflow: clip; }
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) and (min-height: 640px) {
  .jn:not(.jn--last) { height: 100vh; height: 100svh; position: sticky; top: 0; }
  .jn + .jn { margin-top: 36svh; }
  .jn--last { height: 100vh; height: 100svh; }
}
.jn[data-tone='ivory'] { --ghost: var(--coral); background: var(--ivory); }
.jn[data-tone='soft'] { --ghost: var(--apricot); background: var(--soft); }
.jn[data-tone='apricot'] { --ghost: var(--coral); background: var(--apricot); }
.jn[data-tone='terracotta'] { --ghost: var(--coral); background: var(--terracotta); color: var(--ivory); }
.jn--last { position: relative; z-index: 2; }

.jn__in { align-items: stretch; box-sizing: border-box; column-gap: clamp(20px, 3vw, 52px); display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(0, 1fr); height: 100%; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 3svh) var(--pad) clamp(30px, 6svh, 64px); position: relative; }
.jn__fig { grid-column: 1 / 6; grid-row: 1; margin: 0; min-height: 0; overflow: hidden; }
.jn--rev .jn__fig { grid-column: 8 / 13; }
.jn__fig a { display: block; height: 100%; }
.jn__fig img { height: 100%; object-fit: contain; object-position: left center !important; width: 100%; }
.jn--rev .jn__fig img { object-position: right center !important; }
.jn__copy { align-self: end; grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 1; }
.jn--rev .jn__copy { grid-column: 1 / 7; }
.jn__meta { display: flex; font-family: var(--mono); font-size: 12px; gap: 24px; letter-spacing: .045em; line-height: 1.5; text-transform: uppercase; }
.jn h2 { font-size: clamp(50px, min(5.8vw, 9.5svh), 116px); line-height: .86; margin: 16px 0 clamp(16px, 3svh, 30px); }
.jn h2 a { color: inherit; text-decoration: none; }
.jn h2 a:hover { opacity: .7; }
.jn p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; margin: 0 0 clamp(18px, 3svh, 30px); max-width: 40ch; }
.jn a { color: inherit; }
.jn[data-tone='terracotta'] a:focus-visible { outline-color: var(--paper); }
.jn__n { color: var(--ghost); font-family: var(--serif); font-size: clamp(150px, 24vw, 420px); letter-spacing: -.07em; line-height: .7; opacity: .6; pointer-events: none; position: absolute; right: var(--pad); top: calc(var(--nav-h) + 3svh); }
.jn--rev .jn__n { left: calc(var(--pad) + 40vw); right: auto; }

@media (max-width: 900px), (max-height: 639px) {
  .jn { height: auto; position: relative; }
  .jn + .jn { margin-top: 0; }
}
@media (max-width: 900px) {
  .jn__in { display: flex; flex-direction: column; gap: 26px; min-height: 0; padding: 62px var(--pad) 58px; }
  .jn__fig, .jn--rev .jn__fig { grid-column: auto; }
  .jn__fig a { height: auto; }
  .jn__fig img { height: auto; max-height: 78svh; object-position: left top !important; width: auto; max-width: 100%; }
  .jn__copy, .jn--rev .jn__copy { grid-column: auto; }
  .jn h2 { font-size: clamp(44px, 12.5vw, 96px); }
  .jn__n { font-size: 40vw; left: auto !important; right: var(--pad); top: 40px; }
}

.jn-quote { background: var(--soft); padding: clamp(110px, 16vw, 260px) var(--pad); }
.jn-quote blockquote { font-size: clamp(44px, 6.4vw, 124px); letter-spacing: -.055em; line-height: .96; margin: 28px 0 0; max-width: 16ch; }
.jn-quote blockquote em { color: var(--terracotta); }
