:root {
  --selv-ground: #F3EFFA;
  --selv-ink: #2D222F;
  --selv-green: #22772F;
  --selv-cloth: #E2CFC5;
  --selv-surface: #FBFAFC;
  --selv-seam: 180px;
  color-scheme: light;
  font-family: Oxygen, Arial, sans-serif;
  color: var(--selv-ink);
  background: var(--selv-ground);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.75; }
img, svg { max-width: 100%; }
a { color: var(--selv-green); text-decoration-thickness: 1px; text-underline-offset: .24em; transition: text-decoration-color 160ms ease, color 160ms ease; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--selv-ink); }
a:focus-visible { outline: 3px solid var(--selv-green); outline-offset: 6px; border-radius: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Maitree, Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(44px, 5.3vw, 78px); line-height: 1.08; letter-spacing: -.052em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 25px; line-height: 1.35; }
p + p { margin-top: 1.1em; }
.selv-skip { position: absolute; z-index: 50; left: 18px; top: -80px; background: var(--selv-surface); padding: 10px 20px; }
.selv-skip:focus { top: 12px; }
.selv-mast-tab { position: absolute; z-index: 5; top: 0; left: 0; width: 332px; min-height: 222px; padding: 11px 0 19px; background: var(--selv-surface); border-radius: 0 0 8px 0; }
.selv-name { color: var(--selv-ink); font: 500 36px/1.3 Maitree, Georgia, serif; letter-spacing: -.05em; text-decoration: none; }
.selv-mast-tab nav { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 16px; }
.selv-mast-tab nav a { display: flex; align-items: center; color: var(--selv-ink); font-size: 16px; line-height: 1.55; text-decoration: none; padding-right: 15px; }
.selv-mast-tab nav a:hover { color: var(--selv-green); text-decoration: underline; }
.selv-mast-tab nav a[aria-current="page"] { color: var(--selv-green); }
.selv-mark { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; stroke-width: 1.6; vertical-align: -.22em; margin-right: 10px; }
.selv-mark svg { display: block; width: 100%; height: 100%; }
/* Opaque curtains stop partway across a full-bleed coastal photograph. */
.selv-opening { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--selv-seam) minmax(0, 1fr); min-height: 870px; isolation: isolate; padding: 245px 0 66px; align-items: start; }
.selv-sea-underlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; z-index: -1; background: #D8D1DF; }
.selv-curtain-a { grid-column: 1; background: var(--selv-ground); padding: 35px clamp(34px, 4.1vw, 66px) 49px; border-radius: 0 8px 8px 0; }
.selv-curtain-b { grid-column: 3; background: var(--selv-ground); margin-top: 126px; padding: 31px 52px 36px 42px; border-radius: 8px 0 0 8px; }
.selv-topic-line { font-size: 16px; line-height: 1.45; color: var(--selv-green); margin-bottom: 23px; }
.selv-opening h1 { max-width: 510px; }
.selv-welcome { font-family: Maitree, Georgia, serif; font-size: 22px; line-height: 1.5; max-width: 510px; }
/* The mention is a broad cloth paragraph, with no control affordance. */
.selv-veil { margin: 24px -52px -36px -42px; padding: 30px 52px 34px 54px; background: var(--selv-cloth); -webkit-mask: url('veil-edge.svg') 0 0 / 100% 100% no-repeat; mask: url('veil-edge.svg') 0 0 / 100% 100% no-repeat; }
.selv-veil p { font-size: 17px; line-height: 1.6; text-align: left; }
.selv-veil strong { font-weight: 700; }
.selv-address { white-space: nowrap; }
.selv-paper-corner { position: absolute; z-index: 2; left: calc(50% + 90px - 150px + 22px); bottom: 22px; width: 150px; height: 179px; transform: rotate(-8deg); transform-origin: bottom right; }
.selv-paper-corner img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: 6px 8px 0 #E2CFC5, 12px 20px 28px #2D222F35; }
.selv-sliver-caption { position: absolute; bottom: 21px; left: 32px; max-width: 370px; font-size: 14px; line-height: 1.5; color: var(--selv-ink); padding: 9px 16px; background: var(--selv-surface); }
/* The seam carries through alternating, unequal reading curtains. */
.selv-chapter { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) var(--selv-seam) minmax(0, .85fr); }
.selv-chapter::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 47px; background: url('curtain-hem.svg') center top / 100% 47px no-repeat; z-index: 2; pointer-events: none; }
.selv-chapter-copy { grid-column: 1; padding: 104px clamp(36px, 5.2vw, 84px) 106px; background: var(--selv-surface); }
.selv-chapter-copy h2 { margin-bottom: 31px; max-width: 580px; }
.selv-chapter-copy p { max-width: 620px; }
.selv-outer-note { grid-column: 3; background: var(--selv-ground); padding: 100px 52px 90px 44px; }
.selv-note-hold { position: sticky; top: 48px; }
.selv-outer-note p { font: 400 27px/1.5 Maitree, Georgia, serif; max-width: 290px; }
.selv-outer-note .selv-mark { color: var(--selv-green); margin-bottom: 18px; width: 28px; height: 28px; }
.selv-chapter-digit { display: block; font: 400 200px/.95 Maitree, Georgia, serif; color: var(--selv-green); margin: -24px 0 28px -13px; letter-spacing: -.08em; }
.selv-chapter:nth-of-type(even) { grid-template-columns: minmax(0, .75fr) var(--selv-seam) minmax(0, 1.25fr); }
.selv-chapter:nth-of-type(even) .selv-chapter-copy { grid-column: 3; grid-row: 1; background: var(--selv-ground); }
.selv-chapter:nth-of-type(even) .selv-outer-note { grid-column: 1; grid-row: 1; background: var(--selv-cloth); padding-left: 6vw; }
.selv-chapter:nth-of-type(even) .selv-chapter-digit,
.selv-chapter:nth-of-type(even) .selv-outer-note .selv-mark { color: var(--selv-ink); }
.selv-chapter:last-child .selv-outer-note { background: var(--selv-surface); }
/* Inner-page photographs sit on an offset cloth mount. */
.selv-inner-opening { display: grid; grid-template-columns: minmax(0, 1fr) 255px; padding: 258px 6vw 64px; gap: 7vw; align-items: end; }
.selv-inner-opening h1 { max-width: 930px; font-size: clamp(40px, 4.5vw, 66px); }
.selv-inner-deck { margin-top: 26px; max-width: 760px; font-size: 21px; line-height: 1.65; }
.selv-bread { font-size: 15px; margin-bottom: 26px; }
.selv-margin-thought { font: 400 23px/1.5 Maitree, Georgia, serif; padding: 27px 0 0 26px; border-left: 4px solid var(--selv-green); transform: translateY(28px); position: relative; z-index: 1; }
.selv-margin-thought .selv-mark { display: block; width: 30px; height: 30px; margin-bottom: 18px; color: var(--selv-green); }
.selv-photo-band { margin: 0 0 40px 13vw; position: relative; isolation: isolate; }
.selv-photo-band::before { content: ""; position: absolute; z-index: -1; left: -42px; top: -21px; width: 145px; height: calc(100% - 22px); background: var(--selv-cloth); border-radius: 8px 0 0 8px; }
.selv-photo-band img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 54%; border-radius: 8px 0 0 8px; }
.selv-photo-band figcaption { font-size: 14px; padding: 14px 24px 12px; margin-left: 28px; background: var(--selv-surface); display: inline-block; transform: translateY(-18px); max-width: calc(100% - 56px); }
.selv-longread { padding: 8px 7vw 85px; }
.selv-fold { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); column-gap: 9vw; padding: 58px 0 76px; align-items: start; }
.selv-fold h2 { max-width: 370px; padding-top: 4px; position: sticky; top: 42px; }
.selv-fold-prose { max-width: 720px; }
.selv-fold:nth-child(even) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr); }
.selv-fold:nth-child(even) h2 { grid-column: 2; grid-row: 1; }
.selv-fold:nth-child(even) .selv-fold-prose { grid-column: 1; grid-row: 1; }
.selv-fold + .selv-fold { background: url('thin-hem.svg') left top / 100% 22px no-repeat; }
.selv-reading-next { background: var(--selv-cloth); padding: 62px 7vw; display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.selv-reading-next p { font: 400 31px/1.4 Maitree, Georgia, serif; max-width: 650px; letter-spacing: -.02em; }
.selv-reading-next a { color: var(--selv-ink); display: flex; align-items: center; font-size: 18px; text-decoration: none; padding: 12px 0; transition: transform 160ms ease; }
.selv-reading-next a:hover { transform: translateX(5px); text-decoration: underline; }
.selv-reading-next .selv-mark { width: 25px; height: 25px; flex-basis: 25px; margin-right: 15px; }
.selv-colophon { padding: 64px 7vw 33px; background: var(--selv-surface); }
.selv-footer-links { display: flex; flex-wrap: wrap; gap: 12px 29px; margin-bottom: 33px; }
.selv-colophon p { font-size: 16px; max-width: 720px; }
.selv-copyright { font-size: 14px !important; margin-top: 20px; }
.selv-missing-main { max-width: 950px; min-height: 70vh; padding: 280px 6vw 80px; }
.selv-missing-main p { margin-top: 25px; }
/* One photo arrival; words and the image are present from the first paint. */
@media (min-width: 1051px) {
  .selv-opening > .selv-sea-underlay { animation: selv-arrival 900ms ease-out both; }
}
@keyframes selv-arrival { from { opacity: .78; } to { opacity: 1; } }
@media (max-width: 1100px) and (min-width: 701px) {
  :root { --selv-seam: 125px; }
  .selv-opening { min-height: 900px; padding-top: 250px; }
  .selv-curtain-a { padding: 32px 28px 40px; }
  .selv-curtain-b { margin-top: 116px; padding: 28px 24px 0 28px; }
  .selv-welcome { font-size: 19px; }
  .selv-veil { margin: 22px -24px 0 -28px; padding: 25px 24px 30px 38px; }
  .selv-veil p { font-size: 16px; }
  .selv-paper-corner { left: calc(50% + 62.5px - 112px + 22px); width: 112px; height: 134px; }
  .selv-sliver-caption { left: 22px; max-width: 290px; }
  .selv-outer-note { padding: 100px 30px 65px; }
  .selv-outer-note p { font-size: 23px; }
  .selv-chapter-digit { font-size: 155px; }
  .selv-inner-opening { grid-template-columns: minmax(0, 1fr) 210px; gap: 35px; }
  .selv-margin-thought { font-size: 21px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; line-height: 1.72; }
  .selv-mast-tab { width: 100%; min-height: 85px; height: 85px; padding: 4px 0 6px; border-radius: 0 0 8px 8px; }
  .selv-name { font-size: 28px; line-height: 1.4; }
  .selv-mast-tab nav { flex-direction: row; flex-wrap: wrap; gap: 0 15px; margin-top: 0; padding: 0 15px 0 0; }
  .selv-mast-tab nav a { display: block; font-size: 14px; line-height: 1.8; padding: 0; }
  .selv-mast-tab .selv-mark { display: none; }
  .selv-opening { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .selv-curtain-a { order: 0; padding: 110px 22px 18px; border-radius: 0; }
  .selv-topic-line { font-size: 16px; margin-bottom: 11px; }
  .selv-opening h1 { font-size: 28px; line-height: 1.18; letter-spacing: -.035em; max-width: 360px; text-wrap: initial; }
  .selv-curtain-b { order: 1; padding: 0 22px 0; margin: 0; border-radius: 0; }
  .selv-welcome { font-family: Oxygen, Arial, sans-serif; font-size: 16px; line-height: 1.55; max-width: none; }
  .selv-veil { margin: 16px -22px 0; padding: 25px 24px 28px 33px; }
  .selv-veil p { font-size: 16px; line-height: 1.5; }
  .selv-opening > .selv-sea-underlay { position: static; z-index: 0; order: 2; height: 85px; min-height: 85px; width: 100%; margin: 0; border-radius: 8px; object-position: 50% 53%; }
  .selv-paper-corner { display: none; }
  .selv-sliver-caption { position: static; order: 3; width: auto; max-width: none; background: var(--selv-ground); padding: 9px 22px 28px; font-size: 13px; }
  .selv-chapter, .selv-chapter:nth-of-type(even) { display: flex; flex-direction: column; padding: 0; }
  .selv-chapter::before { display: none; }
  .selv-chapter > .selv-sea-underlay { display: none; }
  .selv-chapter-copy, .selv-chapter:nth-of-type(even) .selv-chapter-copy { padding: 44px 22px 31px; background: var(--selv-surface); }
  .selv-chapter-copy h2 { font-size: 30px; margin-bottom: 24px; }
  .selv-outer-note, .selv-chapter:nth-of-type(even) .selv-outer-note, .selv-chapter:last-child .selv-outer-note { padding: 21px 22px 38px; background: var(--selv-ground); }
  .selv-note-hold { position: static; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; }
  .selv-outer-note p { font-size: 22px; max-width: 290px; grid-column: 2; }
  .selv-outer-note .selv-mark { display: none; }
  .selv-chapter-digit { font-size: 76px; margin: -4px 0 0; grid-row: 1; grid-column: 1; }
  .selv-chapter + .selv-chapter { background: url('thin-hem.svg') top center / 100% 20px no-repeat; }
  .selv-inner-opening { padding: 120px 22px 42px; display: block; }
  .selv-bread { font-size: 14px; margin-bottom: 19px; }
  .selv-inner-opening h1 { font-size: 35px; line-height: 1.19; }
  .selv-inner-deck { font-size: 18px; margin-top: 21px; }
  .selv-margin-thought { font-size: 21px; margin: 28px 0 0 12px; padding: 0 0 0 16px; transform: none; }
  .selv-margin-thought .selv-mark { display: none; }
  .selv-photo-band { margin: 0 0 7px 22px; }
  .selv-photo-band::before { left: -22px; top: -12px; width: 70px; height: 166px; }
  .selv-photo-band img { height: 180px; border-radius: 8px 0 0 8px; }
  .selv-photo-band figcaption { padding: 10px 13px; margin-left: 15px; font-size: 13px; max-width: calc(100% - 30px); transform: translateY(-13px); }
  .selv-longread { padding: 5px 22px 48px; }
  .selv-fold, .selv-fold:nth-child(even) { display: block; padding: 42px 0 39px; }
  .selv-fold h2, .selv-fold:nth-child(even) h2 { position: static; font-size: 29px; padding: 0; margin-bottom: 23px; max-width: none; }
  .selv-reading-next { display: block; padding: 40px 22px; }
  .selv-reading-next p { font-size: 26px; }
  .selv-reading-next a { display: inline-flex; margin-top: 16px; }
  .selv-colophon { padding: 40px 22px 26px; }
  .selv-footer-links { gap: 12px 20px; }
  .selv-missing-main { padding: 125px 22px 65px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
