:root {
  --ground: #F9F6DC;
  --ink: #2A2A2A;
  --accent: #1F8989;
  --support: #DEDDD3;
  --surface: #FFFFFF;
  --body: "Schibsted Grotesk", Arial, sans-serif;
  --display: "Lobster Two", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: background-color 160ms, text-decoration-color 160ms; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; background: var(--surface); }
::selection { background: var(--support); color: var(--ink); }
.skip-reading { position: absolute; top: 12px; left: 20px; z-index: 10; padding: 10px 16px; background: var(--surface); transform: translateY(-160%); }
.skip-reading:focus { transform: translateY(0); }
.masthead { padding: 23px max(40px, calc((100vw - 1312px) / 2)) 22px; position: relative; }
.masthead::after { content: ""; position: absolute; bottom: 32px; left: max(49%, calc((100vw - 180px) / 2)); right: 64px; height: 3px; background: var(--support); }
.name-ledge { width: max-content; max-width: 100%; }
.site-name { display: block; width: max-content; max-width: 100%; padding: 0 20px 7px 0; border-bottom: 4px solid var(--accent); font: 700 33px/1.12 var(--display); text-decoration: none; }
.site-name:hover { border-bottom-color: var(--ink); }
.underslung { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 8px; }
.underslung a { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; padding: 2px 0 2px 8px; font-size: 16px; line-height: 1.4; text-decoration: none; }
.underslung a:nth-child(2) { margin-right: 24px; }
.underslung a:nth-child(3) { margin-right: 49px; }
.underslung a:hover span, .underslung a[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.underslung a:hover { background: var(--surface); }
.nav-symbol, .context-symbol, .reading-symbol { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; }
.nav-symbol { width: 18px; height: 18px; }
i > svg { width: 100%; height: 100%; }

/* A gallery wall becomes a reading ledge, rather than a card on a photograph. */
.opening-picture { position: relative; display: flex; align-items: flex-end; min-height: 480px; padding-top: 250px; }
.panorama { position: absolute; inset: 0; background: var(--support); overflow: hidden; }
.panorama img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 51%; animation: gallery-settle 900ms ease-out both; }
.panorama::after { content: ""; position: absolute; bottom: -1px; right: 4%; width: 14%; height: 19px; background: var(--ground); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.title-ledge { position: relative; z-index: 1; width: min(1120px, 83%); padding: 26px 70px 26px max(40px, calc((100vw - 1312px) / 2)); background: var(--ground); clip-path: polygon(0 0, 94% 0, 94% 18px, 100% 18px, 100% 100%, 0 100%); border-top: 7px solid var(--accent); }
.opening h1 { max-width: 1010px; margin: 0; font: 400 clamp(48px, 5vw, 74px)/1.05 var(--display); letter-spacing: -0.015em; }
.opening h1 .parenthesis { font-size: 0.76em; white-space: nowrap; }
.opening .lead { max-width: 560px; margin: 25px max(64px, calc((100vw - 1312px) / 2)) 43px auto; padding-left: 22px; border-left: 3px solid var(--accent); text-align: right; font-size: 20px; line-height: 1.6; }
.horizon-mark { display: block; height: 12px; width: min(87%, 1250px); margin: 0 auto; position: relative; }
.horizon-mark::before, .horizon-mark::after { position: absolute; content: ""; height: 3px; top: 4px; background: var(--accent); }
.horizon-mark::before { left: 0; width: 76%; }
.horizon-mark::after { left: 79%; right: 0; }
.quiet-intro { width: min(1210px, calc(100% - 100px)); margin: 23px auto 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 16px; }
.crumbs li + li::before { content: "/"; margin-right: 14px; }
.quiet-intro h1 { max-width: 1040px; font: 400 clamp(44px, 4.7vw, 68px)/1.1 var(--display); margin: 0 0 22px; }
.quiet-intro .lead { max-width: 550px; margin: 0 0 35px auto; font-size: 20px; text-align: right; }
.gallery-window { width: min(1320px, calc(100% - 80px)); margin: 0 40px 39px auto; position: relative; }
.gallery-window img { width: 100%; height: 245px; object-fit: cover; border-radius: 6px; background: var(--support); box-shadow: 10px 10px 0 var(--support); }
.gallery-window figcaption { position: relative; width: min(620px, 73%); margin: -31px 30px 0 auto; background: var(--ground); border-left: 5px solid var(--accent); font-size: 16px; padding: 16px 22px 7px; }

/* Uneven context above a broad, low shelf; a thought continues beneath it. */
.benches { padding-top: 13px; counter-reset: reading-shelf; }
.reading-bench { margin: 54px auto 0; }
.context-air { display: grid; grid-template-columns: 1.05fr 0.9fr 1fr; align-items: end; gap: 8%; width: min(1110px, calc(100% - 170px)); margin: 0 auto 23px; }
.context-thought { padding-top: 11px; border-top: 2px solid var(--support); position: relative; }
.context-thought:nth-child(1) { padding-bottom: 34px; }
.context-thought:nth-child(2) { padding-bottom: 76px; }
.context-thought:nth-child(3) { padding-bottom: 11px; }
.reading-bench:nth-child(even) .context-thought:nth-child(1) { padding-bottom: 69px; }
.reading-bench:nth-child(even) .context-thought:nth-child(2) { padding-bottom: 14px; }
.reading-bench:nth-child(even) .context-thought:nth-child(3) { padding-bottom: 42px; }
.context-symbol { width: 29px; height: 29px; margin: 0 0 12px; color: var(--ink); }
.context-thought p { margin: 0; font-size: 16px; line-height: 1.6; }
.context-thought strong { display: block; font-weight: 600; margin-bottom: 6px; }
.shelf { counter-increment: reading-shelf; width: calc(100% - 96px); max-width: 1312px; margin: 0 auto; background: var(--surface); padding: 33px 48px 39px; position: relative; box-shadow: 10px 11px 0 var(--support), 10px 17px 0 var(--accent); border-top: 6px solid var(--accent); }
.shelf::before { content: counter(reading-shelf, decimal-leading-zero); position: absolute; left: 29px; top: -48px; padding: 0 12px 0 8px; background: var(--ground); color: var(--accent); font: 400 88px/1 var(--display); }
.shelf::after { content: ""; position: absolute; height: 6px; width: 17%; top: -6px; right: 3%; background: var(--surface); border-right: 35px solid var(--accent); }
.shelf h2 { font: 400 clamp(33px, 3.1vw, 45px)/1.18 var(--display); margin: 0 0 28px 91px; max-width: 950px; }
.shelf-prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 7%; row-gap: 20px; }
.shelf-prose p { margin: 0; }
.shelf-prose p:nth-child(3):last-child { grid-column: 1 / -1; max-width: 86ch; }
.reflection { max-width: 760px; width: calc(100% - 170px); margin: 47px 12% 0 auto; padding: 0 0 31px 27px; border-left: 3px solid var(--support); }
.reflection p { margin: 0; }
.opening ~ .benches .reading-bench:first-child .reflection { max-width: 760px; margin-left: 11%; margin-right: auto; border-left: 0; padding-left: 0; font: 400 clamp(27px, 2.5vw, 36px)/1.35 var(--display); }
.source-room { width: min(1130px, calc(100% - 150px)); margin: 24px auto 48px; }
.source-room > h2 { font: 400 43px/1.2 var(--display); margin: 0 0 27px; }
.source-shelf { padding: 23px 0 27px; display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 7%; border-top: 3px solid var(--support); }
.source-shelf h3 { font: 600 20px/1.4 var(--body); margin: 0 0 8px; }
.source-shelf p { margin: 0; }
.source-shelf .publication { font-size: 16px; }
.source-closing { max-width: 790px; margin: 39px auto; }
.reading-room { margin-top: 30px; padding: 33px 0 43px; background: var(--support); }
.reading-room .room-inner { width: min(1180px, calc(100% - 100px)); margin: auto; }
.reading-room h2 { max-width: 650px; font: 400 44px/1.15 var(--display); margin: 28px 0 30px; }
.reading-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 48px; list-style: none; margin: 0; padding: 0; }
.reading-choices li { border-top: 2px solid var(--ink); padding-top: 18px; }
.reading-symbol { width: 25px; height: 25px; display: flex; margin-bottom: 12px; }
.reading-choices a { display: inline-block; padding: 4px 0; font-weight: 500; }
.reading-choices a:hover { background: var(--ground); }
.reading-choices span { display: block; font-size: 16px; max-width: 28ch; margin-top: 4px; }
.companion-footer { width: min(1180px, calc(100% - 100px)); margin: 0 auto; padding: 35px 0 31px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px 9%; font-size: 16px; }
.footer-voice { max-width: 55ch; margin: 0; }
.footer-links { display: flex; justify-content: flex-end; align-items: start; gap: 20px; flex-wrap: wrap; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 2px solid var(--accent); }
.not-found { min-height: 52vh; width: min(1000px, calc(100% - 100px)); margin: 40px auto 70px; }
.not-found h1 { font: 400 62px/1.15 var(--display); max-width: 800px; }
.not-found p { max-width: 610px; }

@keyframes gallery-settle {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

@media (min-width: 1700px) {
  .opening-picture { min-height: 560px; padding-top: 300px; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .title-ledge { width: 91%; padding-right: 48px; }
  .context-air { width: calc(100% - 110px); gap: 6%; }
  .shelf { width: calc(100% - 64px); padding-right: 30px; padding-left: 30px; }
  .shelf h2 { margin-left: 94px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.65; }
  .masthead { padding: 21px 20px 25px; }
  .masthead::after { display: none; }
  .name-ledge { width: 100%; }
  .site-name { width: 100%; padding: 0 0 6px; font-size: clamp(25px, 7.1vw, 30px); }
  .underslung { gap: 0; margin-top: 7px; height: 81px; }
  .underslung a { min-height: 27px; height: 27px; padding: 0; font-size: 15px; }
  .underslung a:nth-child(2), .underslung a:nth-child(3) { margin-right: 0; }
  .opening-picture { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
  .title-ledge { order: 0; width: 100%; clip-path: none; border: 0; padding: 13px 20px 26px; }
  .opening h1 { font-size: clamp(39px, 10.9vw, 57px); line-height: 1.1; }
  .opening h1 .parenthesis { white-space: normal; }
  .panorama { order: 1; position: relative; height: 120px; flex: 0 0 120px; }
  .panorama img { object-position: center; }
  .panorama::after { height: 11px; left: 16%; right: auto; width: 37%; }
  .opening .lead { max-width: none; margin: 23px 20px 32px 38px; padding-left: 16px; font-size: 18px; text-align: right; }
  .horizon-mark { width: calc(100% - 40px); }
  .quiet-intro { width: calc(100% - 40px); margin-top: 14px; }
  .crumbs { margin-bottom: 28px; font-size: 16px; }
  .quiet-intro h1 { font-size: 42px; }
  .quiet-intro .lead { font-size: 18px; margin: 0 0 28px 24px; }
  .gallery-window { width: calc(100% - 40px); margin: 0 20px 29px; }
  .gallery-window img { height: 156px; box-shadow: 6px 6px 0 var(--support); }
  .gallery-window figcaption { width: calc(100% - 20px); margin: -17px 0 0 auto; padding: 12px 14px 0; }
  .benches { padding-top: 4px; }
  .reading-bench { margin-top: 35px; }
  .context-air { display: flex; flex-direction: column; align-items: stretch; width: calc(100% - 64px); margin-bottom: 39px; gap: 23px; }
  .context-thought, .context-thought:nth-child(n), .reading-bench:nth-child(even) .context-thought:nth-child(n) { display: grid; grid-template-columns: 28px 1fr; gap: 15px; padding: 10px 0 0; width: 100%; }
  .context-thought:nth-child(2) { margin-left: 16px; width: calc(100% - 16px); }
  .context-thought:nth-child(3) { width: calc(100% - 12px); }
  .context-symbol { width: 25px; height: 25px; margin: 2px 0 0; }
  .context-thought p { font-size: 16px; }
  .context-thought strong { margin-bottom: 3px; }
  .shelf { width: calc(100% - 40px); padding: 38px 20px 28px; box-shadow: 6px 7px 0 var(--support), 6px 11px 0 var(--accent); }
  .shelf::before { font-size: 63px; top: -35px; left: 12px; padding: 0 10px 0 6px; }
  .shelf h2 { font-size: 33px; margin: 0 0 22px; }
  .shelf-prose { display: block; }
  .shelf-prose p + p { margin-top: 18px; }
  .reflection, .opening ~ .benches .reading-bench:first-child .reflection { width: calc(100% - 64px); margin: 33px auto 0; padding: 0 0 23px 17px; }
  .opening ~ .benches .reading-bench:first-child .reflection { padding-left: 0; font-size: 28px; }
  .source-room { width: calc(100% - 40px); margin: 25px auto 30px; }
  .source-room > h2 { font-size: 34px; }
  .source-shelf { display: block; padding: 20px 0; }
  .source-shelf > p { margin-top: 12px; }
  .source-shelf h3 { font-size: 19px; }
  .reading-room { padding: 27px 0 32px; margin-top: 20px; }
  .reading-room .room-inner { width: calc(100% - 40px); }
  .reading-room h2 { font-size: 34px; margin-top: 22px; }
  .reading-choices { grid-template-columns: 1fr; gap: 26px; }
  .reading-choices li { padding-top: 14px; }
  .reading-choices span { max-width: 36ch; margin-top: 2px; }
  .reading-symbol { margin-bottom: 6px; }
  .companion-footer { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 24px; padding-top: 31px; }
  .footer-links { justify-content: flex-start; gap: 13px 25px; }
  .not-found { width: calc(100% - 40px); }
  .not-found h1 { font-size: 44px; }
}

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