:root {
  --after-ground: #FEF5DA;
  --after-ink: #232B27;
  --after-accent: #319D43;
  --after-support: #E6E2DC;
  --after-surface: #FFFFFF;
  --after-display: "Capriola", "Trebuchet MS", sans-serif;
  --after-reading: "Advent Pro", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--after-ground); color: var(--after-ink); font: 500 22px/1.5 var(--after-reading); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-color .15s, background-color .15s; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--after-display); font-weight: 400; }
h1 { font-size: clamp(38px, 4.05vw, 59px); line-height: 1.12; letter-spacing: -.05em; text-wrap: balance; }
h2 { font-size: 29px; line-height: 1.28; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.38; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.after-gutter { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.after-skip { position: absolute; left: 20px; top: -100px; z-index: 10; background: var(--after-ground); padding: 10px 18px; }
.after-skip:focus { top: 10px; }
.afterline { padding-block: 14px 16px; }
.afterline-top { display: flex; align-items: center; gap: 38px; min-height: 28px; }
.afterline a { text-decoration: none; }
.afterline-top a, .afterline-middle a { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; line-height: 1.4; padding-block: 2px; }
.afterline-top a:hover, .afterline-middle a:hover, .afterline a[aria-current="page"] { box-shadow: inset 0 -4px var(--after-accent); }
.afterline-top svg, .afterline-middle svg { width: 19px; height: 19px; stroke-width: 1.7; }
.afterline-middle { display: flex; justify-content: center; min-height: 28px; }
.afterline-name { display: block; width: fit-content; max-width: 100%; margin: 2px 0 0 auto; font: 400 clamp(28px, 3.5vw, 50px)/1.15 var(--after-display); letter-spacing: -.06em; text-align: right; }
.afterline-name:hover { text-decoration: underline; text-decoration-color: var(--after-accent); text-decoration-thickness: 4px; }
/* A coastal photograph fills the whole opening. The sand sheet has a folded edge. */
.after-opening { position: relative; background: var(--after-support) url("og-default.webp") center 64% / cover no-repeat; border-bottom: 9px solid var(--after-accent); }
.opening-sheet { position: relative; z-index: 1; }
.afterword-position { font-size: 21px; line-height: 1.35; padding-block: 18px; }
.opening-sheet > .afterword-position { padding: 15px 35px 16px; background: var(--after-ground); border-top: 3px solid var(--after-ink); }
.opening-copy { display: grid; grid-template-columns: minmax(0, 680px) 336px; justify-content: space-between; align-items: start; gap: 58px; }
.opening-statement { position: relative; background: var(--after-ground); padding: 18px 35px 55px; border-left: 12px solid var(--after-accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 58px) 100%, 0 100%); }
.opening-last { display: block; }
.opening-lead { max-width: 570px; margin-top: 22px; font-size: 25px; line-height: 1.3; }
.prescription-marginalia { padding: 20px 25px 20px 22px; background: var(--after-ground); color: var(--after-ink); font: 500 17px/1.35 var(--after-reading); }
.prescription-line { font: 400 16px/1.4 var(--after-display); margin-bottom: 13px; white-space: nowrap; }
.prescription-stanza { max-width: calc(100% - 4px); }
.prescription-stanza + .prescription-stanza { max-width: calc(100% - 23px); margin-top: 12px; }
.prescription-speck { display: block; font: 24px/20px var(--after-reading); margin-top: 8px; width: 12px; }
.shore-reserve { position: relative; width: min(1220px, calc(100% - 96px)); margin-inline: auto; height: 215px; }
.shore-panorama { height: 100%; }
.shore-tail { position: absolute; right: 26px; bottom: -38px; width: 72px; height: 133px; z-index: 2; background: var(--after-support) url("tide-panorama.webp") 96% 60% / auto 210px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); }
/* Two sequential reading measures retain a broad empty centre. */
.after-account { display: grid; grid-template-columns: minmax(0, 440px) minmax(100px, 1fr) minmax(0, 440px); margin-top: 112px; }
.after-measure { min-width: 0; }
.after-measure-first { grid-column: 1; grid-row: 1; }
.after-measure-later { grid-column: 3; grid-row: 2; margin-top: 30px; }
.after-section { position: relative; padding-bottom: 30px; margin-bottom: 48px; }
.after-section h2 { margin-bottom: 24px; }
.after-section p + p { margin-top: 20px; }
.after-section:first-child > p:first-of-type { font-size: 25px; line-height: 1.45; }
.after-section:nth-child(2) > p:first-of-type { margin-left: -30px; padding-left: 24px; border-left: 6px solid var(--after-accent); }
.after-section-mark { position: absolute; left: -51px; top: 1px; width: 30px; height: 30px; stroke-width: 1.5; }
.continuation-rule { display: block; height: 3px; width: calc(100% - 30px); background: var(--after-ink); margin-top: 34px; position: relative; }
.continuation-rule::after { content: ""; position: absolute; left: calc(100% + 17px); width: 13px; height: 3px; background: var(--after-accent); }
/* A second crop is a quiet visual companion to the first prose measure. */
.after-detail { position: sticky; top: 45px; grid-column: 3; grid-row: 1; justify-self: end; align-self: start; width: 82%; height: 385px; margin: 75px 22px 0 0; }
.after-detail::before { content: ""; position: absolute; inset: -20px -20px 20px 20px; background: var(--after-accent); }
.after-detail-photo { position: relative; height: 100%; background: var(--after-support) center / cover no-repeat; clip-path: polygon(0 0, 100% 0, 100% 78%, 73% 100%, 0 100%); }
.after-detail-tide-panorama .after-detail-photo { background-image: url("og-default.webp"); background-position: 78% center; }
.after-detail-tide-lines .after-detail-photo { background-image: url("tide-lines.webp"); }
.after-detail-groynes-distance .after-detail-photo { background-image: url("groynes-distance.webp"); }
.after-detail-kite-rest .after-detail-photo { background-image: url("kite-rest.webp"); }
.after-detail-water-between .after-detail-photo { background-image: url("water-between.webp"); }
.after-detail-folds-and-string .after-detail-photo { background-image: url("folds-and-string.webp"); }
.after-detail-tide-space .after-detail-photo { background-image: url("tide-space.webp"); }
.later-question { position: relative; margin: 20px 0 0; padding: 48px 50px 54px; background: var(--after-ink); color: var(--after-ground); box-shadow: 16px 16px 0 var(--after-accent); }
.later-question::before { content: ""; position: absolute; right: 0; top: 0; border-top: 34px solid var(--after-ground); border-left: 42px solid transparent; }
.later-question h2 { max-width: 1050px; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.22; }
.later-question p { max-width: 690px; margin-top: 24px; }
.later-question-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 25px; padding: 7px 0; }
.later-question-link:hover { background: var(--after-ground); color: var(--after-ink); box-shadow: 10px 0 var(--after-ground), -10px 0 var(--after-ground); }
.later-question-link svg { width: 24px; height: 24px; stroke-width: 1.7; }
/* Inner pages use an offset photographic band, rather than a document heading. */
.inner-head { position: relative; padding-bottom: 36px; border-top: 3px solid var(--after-ink); }
.inner-head-copy { position: relative; z-index: 1; }
.inner-head .afterword-position { max-width: 100%; padding-block: 20px 24px; }
.inner-opening { max-width: 820px; }
.inner-opening h1 { max-width: 810px; }
.inner-opening .opening-lead { max-width: 660px; }
.inner-breadcrumb { font-size: 17px; margin-top: 21px; line-height: 1.4; }
.inner-head-photo .inner-opening { width: 61%; padding: 18px 35px 36px 0; background: var(--after-ground); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 40px) 100%, 0 100%); }
.inner-head-photo .inner-opening h1 { font-size: clamp(37px, 3.8vw, 55px); }
.inner-head-photo .inner-breadcrumb { width: 58%; }
.inner-photo { position: absolute; right: 0; top: 65px; bottom: 20px; width: 47%; min-height: 225px; background: var(--after-support) center / cover no-repeat; border-bottom: 12px solid var(--after-accent); }
.inner-photo-tide-lines { background-image: url("tide-lines.webp"); }
.inner-photo-groynes-distance { background-image: url("groynes-distance.webp"); }
.inner-photo-kite-rest { background-image: url("kite-rest.webp"); }
.inner-photo-water-between { background-image: url("water-between.webp"); }
.inner-photo-folds-and-string { background-image: url("folds-and-string.webp"); }
.inner-photo-tide-space { background-image: url("tide-space.webp"); }
.source-entry { margin-top: 34px; }
.source-entry h3 { margin-bottom: 8px; }
.source-credit { font-size: 17px; margin-top: 8px; }
.source-note { margin-top: 14px; }
.after-footer { background: var(--after-support); border-top: 12px solid var(--after-accent); margin-top: 100px; padding-block: 40px 32px; font-size: 19px; }
.after-footer-note { max-width: 660px; }
.after-footer-nav { display: flex; gap: 12px 29px; flex-wrap: wrap; margin-top: 25px; }
.after-copyright { margin-top: 38px; font-family: var(--after-display); font-size: 23px; letter-spacing: -.04em; }
.not-found-account { min-height: 340px; max-width: 650px; padding-top: 40px; }
.not-found-account p { margin-top: 24px; }
@media (min-width: 1700px) {
  .after-opening { background-position: center 58%; }
  .shore-reserve { height: 275px; }
}
@media (max-width: 1100px) {
  .after-gutter { width: calc(100% - 64px); }
  .opening-copy { grid-template-columns: minmax(0, 1fr) 306px; gap: 30px; }
  .opening-statement { padding-inline: 24px; }
  .opening-statement h1 { font-size: 43px; }
  .opening-lead { font-size: 23px; }
  .prescription-marginalia { padding: 15px 18px; font-size: 16px; line-height: 21px; }
  .prescription-line { white-space: normal; }
  .shore-reserve { width: calc(100% - 64px); height: 190px; }
  .after-account { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); }
  .after-section-mark { position: static; display: block; margin-bottom: 15px; }
  .after-detail { height: 310px; }
  .inner-head-photo .inner-opening { width: 64%; }
  .inner-head-photo .inner-opening h1 { font-size: 39px; }
}
@media (max-width: 720px) {
  body { font-size: 20px; line-height: 1.48; }
  .after-gutter { width: calc(100% - 60px); }
  .afterline { height: 82px; padding-block: 5px 0; }
  .afterline-top { gap: 17px; min-height: 22px; }
  .afterline-top a { padding: 0; font-size: 16px; line-height: 20px; gap: 0; white-space: nowrap; }
  .afterline-top svg, .afterline-top i, .afterline-middle svg, .afterline-middle i { display: none; }
  .afterline-middle { margin-top: 0; min-height: 22px; }
  .afterline-middle a { padding: 0; font-size: 16px; line-height: 20px; }
  .afterline-name { margin-top: 2px; font-size: 24px; line-height: 29px; letter-spacing: -.06em; white-space: nowrap; }
  .after-opening { background-position: 74% bottom; background-size: auto 210px; border-bottom-width: 7px; }
  .opening-sheet { width: 100%; }
  .opening-sheet > .afterword-position { padding: 9px 30px 8px; font-size: 16px; line-height: 21px; border-top-width: 2px; }
  .opening-copy { display: block; position: relative; padding: 0 30px 22px; background: var(--after-ground); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 24px) 100%, 0 100%); }
  .opening-statement { padding: 5px 0 0; background: none; border-left: 0; clip-path: none; }
  .opening-statement h1, h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.052em; text-wrap: initial; }
  .opening-last { display: inline; }
  .opening-lead { font-size: 19px; line-height: 23px; margin-top: 12px; }
  .prescription-marginalia { margin-top: 17px; padding: 0; font-size: 16px; line-height: 21px; }
  .prescription-line { font-size: 16px; line-height: 21px; margin-bottom: 7px; white-space: nowrap; }
  .prescription-stanza { max-width: calc(100% - 3px); }
  .prescription-stanza + .prescription-stanza { max-width: calc(100% - 15px); margin-top: 7px; }
  .prescription-speck { margin-top: 2px; font-size: 22px; line-height: 17px; }
  .shore-reserve { width: calc(100% - 60px); height: 94px; }
  .shore-panorama { height: 94px; }
  .shore-tail { right: 8px; bottom: -23px; width: 38px; height: 73px; background-size: auto 130px; }
  .after-account { display: block; margin-top: 73px; }
  .after-measure-later { margin-top: 0; }
  .after-section { padding-bottom: 17px; margin-bottom: 39px; }
  .after-section h2 { font-size: 26px; margin-bottom: 19px; }
  .after-section-mark { position: relative; left: 0; top: 0; width: 27px; height: 27px; margin-bottom: 14px; }
  .after-section p + p { margin-top: 17px; }
  .after-section:first-child > p:first-of-type { font-size: 22px; line-height: 1.45; }
  .after-section:nth-child(2) > p:first-of-type { margin-left: 0; padding-left: 17px; border-left-width: 4px; }
  .continuation-rule { margin-top: 29px; }
  .after-detail { position: relative; top: auto; width: calc(100% - 22px); height: 180px; margin: 55px 0 54px; }
  .after-detail::before { inset: -12px -12px 12px 12px; }
  .after-detail-photo { clip-path: polygon(0 0, 100% 0, 100% 75%, 86% 100%, 0 100%); }
  .after-detail-tide-panorama .after-detail-photo { background-position: center 68%; }
  .later-question { margin-top: 4px; padding: 29px 23px 33px; box-shadow: 8px 8px 0 var(--after-accent); }
  .later-question::before { border-top-width: 22px; border-left-width: 27px; }
  .later-question h2 { font-size: 29px; line-height: 1.27; }
  .later-question p, .later-question-link { margin-top: 19px; }
  .later-question-link { gap: 9px; }
  .inner-head { padding-bottom: 0; border-top-width: 2px; }
  .inner-head .afterword-position { padding-block: 16px 11px; font-size: 17px; line-height: 23px; }
  .inner-opening, .inner-head-photo .inner-opening { max-width: 100%; width: 100%; padding: 12px 0 0; clip-path: none; }
  .inner-opening h1, .inner-head-photo .inner-opening h1 { font-size: 32px; line-height: 1.15; }
  .inner-breadcrumb, .inner-head-photo .inner-breadcrumb { width: 100%; font-size: 16px; margin-top: 15px; }
  .inner-photo { position: relative; top: auto; right: auto; bottom: auto; width: calc(100% - 30px); min-height: 0; height: 160px; margin: 28px 0 0 auto; border-bottom-width: 8px; }
  .source-entry { margin-top: 28px; }
  .source-entry h3 { font-size: 20px; }
  .after-footer { margin-top: 64px; padding-block: 30px 24px; border-top-width: 8px; }
  .after-footer-nav { gap: 13px 24px; }
  .after-copyright { font-size: 20px; margin-top: 31px; }
}
@media (max-width: 359px) {
  .after-gutter { width: calc(100% - 40px); }
  .afterline-name { font-size: 21px; }
  .afterline-top { gap: 12px; }
  .opening-sheet > .afterword-position { padding-inline: 20px; }
  .opening-copy { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
