:root {
  --screen-ground: #e4f8f5;
  --screen-ink: #282f20;
  --screen-leaf: #507128;
  --screen-lilac: #d6c6eb;
  --screen-white: #fafcfc;
  --screen-book: 'Gentium Book Plus', Georgia, serif;
  --screen-title: 'Krona One', 'Arial Black', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--screen-white); color: var(--screen-ink); font: 21px/1.55 var(--screen-book); }
img { display: block; max-width: 100%; }
a { color: var(--screen-leaf); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 160ms ease, background-color 160ms ease; }
a:hover { color: var(--screen-ink); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--screen-leaf); outline-offset: 6px; background-color: var(--screen-ground); }
::selection { background: var(--screen-lilac); color: var(--screen-ink); }
h1, h2, h3 { font-family: var(--screen-title); font-weight: 400; overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(36px, 3.3vw, 48px); line-height: 1.23; letter-spacing: -1.2px; }
.ssn-glyph { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; vertical-align: -.2em; color: var(--screen-leaf); }
.ssn-skip { position: absolute; z-index: 10; top: 8px; left: 16px; padding: 10px 18px; background: var(--screen-white); transform: translateY(-160%); }
.ssn-skip:focus { transform: translateY(0); }

/* A real two-row window menu, with no pretend browser controls. */
.ssn-window { width: calc(100% - 96px); max-width: 1280px; margin: 24px auto; padding: 0 24px 16px; border: 1.5px solid var(--screen-leaf); background: var(--screen-white); }
.ssn-window nav { display: flex; gap: 34px; align-items: center; min-height: 43px; }
.ssn-window nav a { display: inline-flex; align-items: center; gap: 9px; padding: 3px 5px; margin-left: -5px; color: var(--screen-ink); font-size: 18px; text-decoration: none; }
.ssn-window nav a:hover, .ssn-window nav a[aria-current] { background: var(--screen-ground); box-shadow: 0 3px 0 var(--screen-leaf); }
.ssn-window nav .ssn-glyph { width: 18px; height: 18px; }
.ssn-mast-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 9px; }
.ssn-wordmark { font: 22px/1.4 var(--screen-title); color: var(--screen-ink); text-decoration: none; }
.ssn-wordmark:hover { color: var(--screen-leaf); }
.ssn-mast-bottom p { margin: 0; font-size: 18px; }

/* The apartment fills the opening; every word stays on opaque paper. */
.ssn-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 650px; padding: 40px 64px 56px; background: var(--screen-ground); }
.ssn-hero-panel { position: relative; z-index: 1; width: min(720px, 60%); margin-left: auto; padding: 40px 44px; background: var(--screen-white); box-shadow: 16px 16px 0 var(--screen-lilac); }
.ssn-hero h1 { max-width: 640px; }
.ssn-introduction { max-width: 700px; font-size: 25px; line-height: 1.4; margin: 22px 0 0; }
.ssn-hero .ssn-introduction { font-size: 24px; margin-top: 20px; }
.ssn-hero-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ssn-hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; animation: ssn-light-settles 1200ms ease-out both; }
.ssn-panorama { width: 100%; height: 180px; overflow: hidden; margin: 0 0 72px; }
.ssn-panorama img { width: 100%; height: 100%; object-fit: cover; }
.ssn-promise { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; margin: 26px 0 0; padding: 0; cursor: default; }
.ssn-caption-no { color: var(--screen-leaf); font: italic 20px/1.45 var(--screen-book); }
.ssn-promise p { margin: 0; font-size: 19px; line-height: 1.45; }

/* Wide reading gutters and headings that live beside their own passages. */
.ssn-opening { width: calc(100% - 128px); max-width: 1160px; margin: 64px auto 36px; }
.ssn-article-open h1 { max-width: 1060px; font-size: clamp(36px, 3.3vw, 48px); }
.ssn-article-open .ssn-introduction { margin-top: 24px; }
.ssn-article-band { width: 100%; height: 220px; margin: 42px 0 70px; overflow: hidden; }
.ssn-article-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.ssn-prose { position: relative; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 700px); column-gap: 86px; max-width: 1086px; width: calc(100% - 128px); margin: 88px auto; }
.ssn-prose h2 { position: sticky; align-self: start; top: 32px; grid-row: 1 / span 8; font-size: 24px; line-height: 1.42; letter-spacing: -.5px; margin: 0; padding: 0 0 0 34px; }
.ssn-prose h2 > .ssn-glyph { position: absolute; left: 0; top: 5px; width: 21px; height: 21px; }
.ssn-prose h2 > span:last-child { display: block; }
.ssn-prose p { grid-column: 2; margin: 0 0 22px; }
.ssn-prose p:last-child { margin-bottom: 0; }
.ssn-section-no { display: block; font: 88px/1 var(--screen-book); letter-spacing: -5px; color: var(--screen-leaf); margin: -8px 0 21px -5px; }
.ssn-prose h2:has(.ssn-section-no) { padding-left: 0; }
.ssn-prose h2:has(.ssn-section-no) > .ssn-glyph { left: 104px; top: 28px; width: 28px; height: 28px; }
.ssn-home > .ssn-prose:first-of-type { margin-top: 82px; }

/* Full photographs with captions slipping over alternate edges. */
.ssn-photo { position: relative; width: calc(100% - 128px); max-width: 1216px; display: flex; flex-direction: column; margin: 100px auto; }
.ssn-frame { position: relative; padding: 14px; background: var(--screen-ground); box-shadow: 18px 18px 0 var(--screen-lilac); }
.ssn-frame img { width: 100%; height: auto; aspect-ratio: 50 / 19; object-fit: cover; background: var(--screen-white); font-size: 16px; }
.ssn-photo-offset .ssn-frame { transform: translateX(22px); }
.ssn-photo figcaption { position: relative; z-index: 2; align-self: flex-end; width: min(640px, 72%); margin: -42px -18px 0 0; padding: 22px 28px; font-size: 21px; line-height: 1.4; background: var(--screen-white); box-shadow: 8px 8px 0 var(--screen-ground); }
.ssn-caption-first figcaption { order: -1; align-self: flex-start; margin: 0 0 -36px -24px; box-shadow: -8px -8px 0 var(--screen-lilac); }
.ssn-frame-marked::before, .ssn-frame-marked::after, .ssn-crop::before, .ssn-crop::after { content: ''; position: absolute; z-index: 1; width: 32px; height: 32px; pointer-events: none; border-color: var(--screen-leaf); border-style: solid; }
.ssn-frame-marked::before { left: -9px; top: -9px; border-width: 3px 0 0 3px; }
.ssn-frame-marked::after { right: -9px; top: -9px; border-width: 3px 3px 0 0; }
.ssn-crop::before { left: -9px; bottom: -9px; border-width: 0 0 3px 3px; }
.ssn-crop::after { right: -9px; bottom: -9px; border-width: 0 3px 3px 0; }

/* A comparison spread with one raised, offset sheet, not a stack of boxes. */
.ssn-spread { position: relative; margin: 0 0 100px; padding: 64px 0 72px; background: var(--screen-lilac); }
.ssn-spread-inside { max-width: 1280px; width: calc(100% - 128px); margin: 0 auto; }
.ssn-spread h2 { position: relative; max-width: 940px; margin: 0 0 20px; padding-left: 52px; font-size: 32px; line-height: 1.35; letter-spacing: -.6px; }
.ssn-spread h2 .ssn-glyph { position: absolute; left: 0; top: 6px; width: 32px; height: 32px; color: var(--screen-ink); }
.ssn-spread-lead { margin: 0 0 36px 52px; max-width: 760px; font-size: 24px; }
.ssn-comparison { position: relative; border-collapse: collapse; table-layout: fixed; width: calc(100% - 12px); font-size: 20px; line-height: 1.45; background: var(--screen-white); box-shadow: 12px 12px 0 var(--screen-leaf); }
.ssn-comparison th, .ssn-comparison td { text-align: left; vertical-align: top; padding: 24px 22px; border-bottom: 1px solid var(--screen-lilac); }
.ssn-comparison thead { background: var(--screen-ground); }
.ssn-comparison thead th { font-size: 18px; font-weight: 400; padding-top: 15px; padding-bottom: 15px; border-bottom: 0; }
.ssn-comparison th:first-child { width: 18%; }
.ssn-comparison th:nth-child(2) { width: 25%; }
.ssn-comparison th:nth-child(3) { width: 29%; }
.ssn-comparison tbody th { font: 16px/1.5 var(--screen-title); padding-top: 28px; }
.ssn-comparison tbody tr:last-child > * { border-bottom: 0; }
.ssn-spread-after { max-width: 940px; font-size: 20px; margin: 34px 0 0 52px; }
.ssn-spread a { color: var(--screen-ink); }
.ssn-spread a:focus-visible { background: var(--screen-white); }

.ssn-reading-list { max-width: 1086px; width: calc(100% - 128px); margin: 78px auto; }
.ssn-reading-list h2 { max-width: 760px; font-size: 28px; line-height: 1.4; margin: 0 0 34px; }
.ssn-source { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 700px); gap: 86px; border-top: 2px solid var(--screen-ground); padding: 28px 0; }
.ssn-source h3 { font: 700 23px/1.4 var(--screen-book); margin: 0; }
.ssn-source p { margin: 0; font-size: 20px; }
.ssn-footer { padding: 44px 0 32px; margin-top: 100px; background: var(--screen-ground); border-top: 12px solid var(--screen-lilac); }
.ssn-footer-inside { max-width: 1280px; width: calc(100% - 128px); margin: auto; display: grid; grid-template-columns: minmax(0, 740px) auto; gap: 28px 60px; }
.ssn-footer p { margin: 0; font-size: 19px; }
.ssn-footer nav { display: grid; grid-template-columns: auto auto; align-content: start; gap: 8px 30px; }
.ssn-footer nav a { font-size: 19px; }
.ssn-footer small { display: block; grid-column: 1 / -1; font-size: 16px; }
.ssn-lost { min-height: 44vh; }

@keyframes ssn-light-settles {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .ssn-hero { padding-right: 48px; padding-left: 48px; }
  .ssn-hero-panel { width: min(720px, 72%); padding: 36px; }
  .ssn-hero h1 { font-size: 40px; }
  .ssn-prose, .ssn-source { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); column-gap: 48px; }
  .ssn-prose, .ssn-reading-list, .ssn-opening, .ssn-photo, .ssn-spread-inside { width: calc(100% - 96px); }
  .ssn-comparison th, .ssn-comparison td { padding: 20px 14px; font-size: 18px; }
  .ssn-comparison tbody th { font-size: 14px; overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  body { font-size: 19px; line-height: 1.55; }
  .ssn-window { width: calc(100% - 36px); margin: 16px auto 18px; padding: 0 13px 12px; }
  .ssn-window nav { gap: 0; justify-content: space-between; min-height: 37px; }
  .ssn-window nav a { font-size: 16px; gap: 4px; padding: 5px 2px; margin-left: -2px; }
  .ssn-window nav .ssn-glyph { width: 15px; height: 15px; }
  .ssn-mast-bottom { padding-top: 7px; }
  .ssn-wordmark { font-size: 15px; line-height: 1.5; }
  .ssn-mast-bottom p { display: none; }
  .ssn-hero { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .ssn-hero-panel { width: 100%; margin: 0; padding: 18px 20px 26px; box-shadow: none; }
  h1, .ssn-article-open h1 { font-size: 34px; line-height: 1.22; letter-spacing: -.8px; }
  .ssn-introduction, .ssn-hero .ssn-introduction { margin-top: 17px; font-size: 21px; line-height: 1.35; }
  .ssn-promise { grid-template-columns: 23px minmax(0, 1fr); gap: 9px; margin: 22px 0 0; }
  .ssn-promise p { font-size: 17px; line-height: 1.42; }
  .ssn-caption-no { font-size: 17px; }
  .ssn-hero-scene { position: relative; inset: auto; order: 2; width: 100%; height: 218px; }
  .ssn-panorama { height: 112px; margin-bottom: 42px; }
  .ssn-opening { width: calc(100% - 40px); margin: 36px auto 28px; }
  .ssn-article-open .ssn-introduction { margin-top: 18px; }
  .ssn-article-band { height: 138px; margin: 28px 0 42px; }
  .ssn-prose { display: block; width: calc(100% - 40px); margin: 48px auto; }
  .ssn-home > .ssn-prose:first-of-type { margin-top: 45px; }
  .ssn-prose h2 { position: relative; top: auto; font-size: 23px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 21px; padding-left: 30px; }
  .ssn-prose h2 > .ssn-glyph { top: 5px; width: 19px; height: 19px; }
  .ssn-prose p { margin-bottom: 20px; }
  .ssn-section-no { font-size: 68px; letter-spacing: -3px; margin-bottom: 12px; }
  .ssn-prose h2:has(.ssn-section-no) > .ssn-glyph { top: 20px; left: 82px; width: 23px; height: 23px; }
  .ssn-photo { width: calc(100% - 48px); margin: 62px auto; }
  .ssn-frame { padding: 8px; box-shadow: 9px 9px 0 var(--screen-lilac); }
  .ssn-frame img { aspect-ratio: 1.65; }
  .ssn-photo-offset .ssn-frame { transform: translateX(5px); }
  .ssn-photo figcaption { width: calc(100% - 12px); font-size: 18px; line-height: 1.4; margin: -16px -8px 0 0; padding: 16px; box-shadow: 5px 5px 0 var(--screen-ground); }
  .ssn-caption-first figcaption { margin: 0 0 -12px -8px; box-shadow: -5px -5px 0 var(--screen-lilac); }
  .ssn-frame-marked::before, .ssn-frame-marked::after, .ssn-crop::before, .ssn-crop::after { width: 21px; height: 21px; }
  .ssn-frame-marked::before, .ssn-crop::before { left: -6px; }
  .ssn-frame-marked::after, .ssn-crop::after { right: -6px; }
  .ssn-spread { margin: 0 0 52px; padding: 34px 0 42px; }
  .ssn-spread-inside { width: calc(100% - 40px); }
  .ssn-spread h2 { padding-left: 0; font-size: 25px; line-height: 1.4; }
  .ssn-spread h2 .ssn-glyph { position: static; display: block; width: 27px; height: 27px; margin-bottom: 12px; }
  .ssn-spread-lead { font-size: 21px; line-height: 1.4; margin: 0 0 25px; }
  .ssn-comparison { display: block; width: calc(100% - 6px); box-shadow: 6px 6px 0 var(--screen-leaf); }
  .ssn-comparison tbody { display: block; }
  .ssn-comparison thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; }
  .ssn-comparison tr { display: block; padding: 24px 20px; border-top: 3px solid var(--screen-lilac); }
  .ssn-comparison tr:first-child { border-top: 0; }
  .ssn-comparison th, .ssn-comparison td { display: block; width: 100%; border: 0; padding: 0; font-size: 19px; }
  .ssn-comparison th:first-child { width: 100%; font-size: 19px; margin-bottom: 18px; }
  .ssn-comparison td + td { margin-top: 19px; }
  .ssn-comparison td::before { content: attr(data-note); display: block; font-size: 16px; font-style: italic; color: var(--screen-leaf); margin-bottom: 3px; }
  .ssn-spread-after { font-size: 18px; margin: 27px 0 0; }
  .ssn-reading-list { width: calc(100% - 40px); margin: 48px auto; }
  .ssn-reading-list h2 { font-size: 24px; margin-bottom: 24px; }
  .ssn-source { grid-template-columns: 1fr; gap: 12px; padding: 23px 0; }
  .ssn-source h3 { font-size: 22px; }
  .ssn-source p { font-size: 19px; }
  .ssn-footer { margin-top: 60px; padding: 30px 0 25px; border-top-width: 8px; }
  .ssn-footer-inside { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 23px; }
  .ssn-footer p, .ssn-footer nav a { font-size: 17px; }
  .ssn-footer nav { grid-template-columns: auto auto; justify-content: start; gap: 10px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
