.site-alignment-intro{padding:clamp(2rem,6vw,5rem) 0;background:linear-gradient(120deg,#101d2e,#17283c);color:#fff1d3}
.site-alignment-intro h1{margin:0 0 1rem;font-size:clamp(2rem,5vw,4rem);line-height:1.12}
.site-alignment-intro p,.site-alignment-notice p{max-width:70ch}
.site-alignment-links,.site-alignment-footer nav{display:flex;gap:.6rem 1.3rem;flex-wrap:wrap}
.site-alignment-links a,.site-alignment-footer a{color:#f4d48e;text-underline-offset:.2em}
.site-alignment-notice{padding:1rem 0;background:#142539;color:#f5eace;border-bottom:1px solid #43566d}
.site-alignment-archive>summary,.site-alignment-history-note{box-sizing:border-box;width:min(calc(100% - 2rem),72rem);margin:1.2rem auto;color:#f4d48e}
.site-alignment-archive>summary{padding:.9rem 1rem;border:1px solid #655d50;border-radius:.25rem;cursor:pointer}
.site-alignment-archive>summary:focus-visible,.site-alignment-links a:focus-visible,.site-alignment-footer a:focus-visible{outline:2px solid #f4d48e;outline-offset:3px}
.site-alignment-history-note{padding:0 1rem}
.site-alignment-footer{display:grid;gap:.8rem}.site-alignment-footer nav{padding-bottom:.7rem}

.site-journey {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.8rem;
  width: min(72rem, calc(100% - 2rem));
  margin: 2rem auto;
  padding: 1rem 0;
  border-top: 1px solid #46576b;
}
.site-journey a { min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; color: #ffe1a0; text-underline-offset: .2em; }
.site-journey a[rel="next"] { margin-inline-start: auto; }
.site-journey a span { color: #c7d3e1; font-size: .78rem; text-decoration: none; }
body[data-page="journal"] .journal-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 2.3rem;
  background: radial-gradient(ellipse at 75% 0, #233d4d 0, #122130 54%, #0e1723 100%);
  color: #f5f2e9;
}
body[data-page="journal"] .journal-hero h1 { font-size: clamp(2.55rem, 7vw, 5rem); }
body[data-page="journal"] .journal-hero .lead { max-width: 60ch; margin-bottom: 2rem; }
.journal-hero-current { max-width: 48rem; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #54677d; border-radius: .75rem; background: #131f2c; }
.journal-hero-current h2 { margin: .25rem 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.journal-hero-current > p:not(.eyebrow) { max-width: 60ch; }
.journal-hero-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; }
.journal-hero-links a { color: #ffe1a0; text-underline-offset: .2em; padding: .35rem 0; }
.waymorrow-journal-context { max-width: 72rem; margin: 1.75rem auto; padding-inline: 1rem; }
.waymorrow-journal-context summary { cursor: pointer; padding: .75rem 0; color: #ffe1a0; }
@media (max-width: 550px) {
  .site-journey { gap: .65rem; flex-direction: column; }
  .site-journey a[rel="next"] { margin-inline-start: 0; }
}

body[data-page="journal"] .site-header { background: #0c1725; border-color: #2a3649; }
body[data-page="journal"] .journal-hero-current .btn.primary { color: #171610; background: #edce8b; border-color: #edce8b; }
body[data-page="journal"] .journal-hero-current .btn.primary:hover { background: #f9e1a6; }

.story-opening,.story-ending { max-width: 64ch; color: #d6e0ed; line-height: 1.65; }
.os-page-hero .story-opening,.journal-hero .story-opening { font-size: clamp(1.02rem, 2.3vw, 1.24rem); }
.story-ending { margin-top: 1.5rem; }
.journal-hero .story-opening { margin-bottom: 2rem; }
.os-hero-copy .story-opening { margin: 0 0 .9rem; }

