:root {
  --rp-ground: #A8C8D4;
  --rp-ink: #0F1F27;
  --rp-green: #1B7F3B;
  --rp-white: #FFFFFF;
  --rp-max: 1240px;
  --rp-body: "Overpass", Arial, sans-serif;
  --rp-display: "MuseoModerno", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--rp-white); color: var(--rp-ink); font: 400 20px/1.75 var(--rp-body); }
img { display: block; max-width: 100%; height: auto; color: var(--rp-ink); font: 400 18px/1.6 var(--rp-body); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-underline-offset 180ms ease, text-decoration-thickness 180ms ease; }
a:hover { text-decoration-thickness: 2px; text-underline-offset: .32em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
::selection { background: var(--rp-green); color: var(--rp-white); }
h1, h2, h3, .rp-name { font-family: var(--rp-display); font-weight: 400; letter-spacing: normal; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(48px, 6.3vw, 90px); line-height: 1.13; text-wrap: balance; }
h2 { font-size: clamp(32px, 3vw, 43px); line-height: 1.25; text-wrap: balance; }
h3 { font-size: 30px; line-height: 1.3; }
p + p { margin-top: 1.15em; }
.rp-skip { position: absolute; z-index: 5; left: 20px; top: -100px; padding: 12px 20px; background: var(--rp-white); color: var(--rp-ink); }
.rp-skip:focus { top: 18px; }
.rp-measure { width: min(var(--rp-max), calc(100% - 80px)); margin-inline: auto; }

/* A printer's slug, with the two purposes given a whole line of their own. */
.rp-masthead { padding-block: 24px 20px; }
.rp-is-home .rp-masthead { min-height: 26svh; background: var(--rp-ground); }
.rp-name { display: block; width: 100%; font-size: clamp(46px, 7.4vw, 106px); line-height: 1.15; text-decoration: none; padding-block: 3px 15px; border-block: 1px solid var(--rp-ink); }
.rp-name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .08em; }
.rp-description { font-size: 19px; line-height: 1.5; padding-top: 11px; }
.rp-purposes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; padding-top: 20px; }
.rp-purposes a { display: flex; gap: 14px; align-items: flex-start; width: fit-content; min-height: 44px; font-size: 19px; line-height: 1.5; text-decoration: none; }
.rp-purposes a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.rp-symbol { display: inline-block; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 3px; stroke-width: 1.5; }
.rp-about-line { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-top: 4px; font-size: 18px; line-height: 1.5; }

/* All of the words come first. Photography starts on the next beat. */
.rp-home-opening { display: flex; flex-direction: column; min-height: 74svh; background: var(--rp-ground); }
.rp-opening-copy { padding-block: 26px 48px; }
.rp-opening-copy h1 { max-width: 1240px; }
.rp-written-status { font-size: clamp(25px, 2.45vw, 35px); line-height: 1.45; margin-top: 34px; max-width: 1160px; }
.rp-scope { position: relative; padding-inline: .24em; box-decoration-break: clone; -webkit-box-decoration-break: clone; white-space: nowrap; }
.rp-scope::before, .rp-scope::after { content: ""; position: absolute; width: .14em; top: .08em; bottom: .04em; border-block: 1px solid currentColor; }
.rp-scope::before { left: 0; border-left: 1px solid currentColor; }
.rp-scope::after { right: 0; border-right: 1px solid currentColor; }
.rp-owner-field { background: var(--rp-green); color: var(--rp-white); margin-top: auto; padding-block: 32px 37px; }
.rp-owner-lines { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.rp-owner-lines h2 { font-size: 32px; max-width: 20ch; }
.rp-owner-lines p { font-size: 21px; line-height: 1.65; max-width: 740px; }
.rp-second-beat { padding-top: 36px; }
.rp-second-beat img { width: 100%; height: auto; aspect-ratio: 1240 / 460; object-fit: cover; }
.rp-caption { width: min(700px, 100%); margin: 20px auto 0; font-size: 18px; line-height: 1.65; }

/* The headline overhangs a narrow account; the next account opens out. */
.rp-account { padding-block: 100px; }
.rp-account h2 { margin-bottom: 30px; }
.rp-account h3 { margin-block: 44px 22px; }
.rp-account--claim { width: min(660px, calc(100% - 80px)); margin-left: max(40px, calc((100% - 1240px) / 2 + 430px)); }
.rp-account--claim > h2 { width: calc(100% + 190px); margin-left: -190px; font-size: clamp(38px, 3.5vw, 50px); }
.rp-account--claim .rp-prose > p:first-child { font-size: 25px; line-height: 1.6; }
.rp-account--wide { width: min(1120px, calc(100% - 80px)); margin-inline: auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 80px; }
.rp-account--wide > h2 { grid-column: 1; align-self: start; position: sticky; top: 32px; }
.rp-account--wide > .rp-prose { grid-column: 2; }
.rp-prose > p:first-child { font-size: 23px; line-height: 1.65; }
.rp-interval { background: var(--rp-green); color: var(--rp-white); padding-block: 52px 64px; }
.rp-interval h2 { display: flex; align-items: center; gap: 14px; font: 400 20px/1.5 var(--rp-body); margin-bottom: 24px; }
.rp-interval .rp-symbol { margin: 0; }
.rp-interval p { font-family: var(--rp-body); font-size: clamp(32px, 4.15vw, 60px); line-height: 1.28; max-width: 1220px; }

/* Inner pages use the white of an open page, with headings in the margin. */
.rp-breadcrumb { font-size: 18px; line-height: 1.5; margin-bottom: 24px; }
.rp-inner-opening { padding-block: 42px 58px; }
.rp-inner-opening h1 { max-width: 1170px; font-size: clamp(42px, 5.25vw, 75px); }
.rp-inner-deck { max-width: 800px; margin: 30px 0 0 auto; font-size: 26px; line-height: 1.55; }
.rp-status-tag { display: flex; align-items: center; gap: 12px; width: fit-content; padding: 7px 14px; margin-top: 30px; background: var(--rp-green); color: var(--rp-white); font-size: 18px; line-height: 1.6; }
.rp-status-tag .rp-symbol { margin: 0; flex-basis: 20px; width: 20px; height: 20px; }
.rp-article { padding-bottom: 36px; }
.rp-section { display: grid; grid-template-columns: 300px minmax(0, 700px); column-gap: 80px; max-width: 1080px; margin: 0 0 0 auto; padding-block: 58px 38px; border-top: 1px solid var(--rp-ink); }
.rp-section > h2 { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: sticky; top: 32px; font-size: 34px; }
.rp-section-mark { display: block; width: 30px; height: 30px; margin: 0 0 19px; color: var(--rp-green); }
.rp-section > p, .rp-section > h3 { grid-column: 2; }
.rp-section > p:first-of-type { font-size: 22px; line-height: 1.65; }
.rp-section > h3 { margin-block: 30px 18px; }
.rp-inner-photo { grid-column: 1 / -1; justify-self: end; width: min(1060px, calc(100vw - 80px)); margin-block: 44px 8px; }
.rp-inner-photo img { width: 100%; aspect-ratio: 1060 / 340; object-fit: cover; }
.rp-inner-photo .rp-caption { max-width: 700px; }
.rp-article--references .rp-section > p { padding-left: 22px; text-indent: -22px; }
.rp-end-note { max-width: 700px; margin: 34px 0 0 auto; font-size: 18px; }
.rp-end-note a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.rp-end-note .rp-symbol { margin: 0; }
.rp-footer { margin-top: 48px; padding-block: 20px 34px; border-top: 1px solid var(--rp-ink); }
.rp-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; margin-bottom: 32px; font-size: 18px; line-height: 1.5; }
.rp-footer-links a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
.rp-footer-statement { max-width: 800px; font-size: 19px; line-height: 1.65; }
.rp-copyright { font-size: 18px; margin-top: 24px; }
.rp-not-found { padding-block: 70px 100px; max-width: 850px; }
.rp-not-found p { margin-top: 30px; }

@media (max-width: 1100px) {
  .rp-owner-lines { gap: 40px; }
  .rp-account--claim { margin-inline: auto; }
  .rp-account--claim > h2 { width: calc(100% + 80px); margin-left: -80px; }
  .rp-account--wide { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
  .rp-section { grid-template-columns: 250px minmax(0, 1fr); column-gap: 48px; }
  .rp-section > h2 { font-size: 31px; }
}
@media (max-width: 800px) {
  .rp-name { font-size: clamp(44px, 7.1vw, 76px); }
  .rp-owner-lines { gap: 24px; grid-template-columns: 1fr; }
  .rp-owner-lines h2 { max-width: 28ch; }
  .rp-account--claim > h2 { width: 100%; margin-left: 0; }
  .rp-account--wide { grid-template-columns: 1fr; gap: 0; max-width: 700px; }
  .rp-account--wide > h2 { position: static; }
  .rp-account--wide > .rp-prose { grid-column: 1; }
  .rp-section { display: block; max-width: 700px; margin-inline: auto; }
  .rp-section > h2 { position: static; margin-bottom: 26px; font-size: 34px; }
  .rp-section-mark { margin-bottom: 16px; }
  .rp-inner-photo { width: calc(100% + 40px); max-width: none; margin-left: -20px; }
  .rp-inner-photo .rp-caption { width: calc(100% - 40px); }
}
@media (max-width: 600px) {
  body { font-size: 19px; line-height: 1.75; }
  .rp-measure { width: calc(100% - 40px); }
  .rp-masthead { padding-block: 20px 12px; }
  .rp-name { font-size: 42px; line-height: 1.12; padding-block: 7px 13px; }
  .rp-description { font-size: 18px; line-height: 1.5; max-width: 32ch; }
  .rp-purposes { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  .rp-purposes a { font-size: 18px; line-height: 1.5; gap: 12px; }
  .rp-about-line { margin-top: 8px; }
  .rp-opening-copy { padding-block: 19px 34px; }
  h1 { font-size: clamp(32px, 9.23vw, 43px); line-height: 1.17; text-wrap: pretty; }
  .rp-written-status { font-size: 25px; line-height: 1.45; margin-top: 28px; }
  .rp-owner-field { padding-block: 29px 32px; }
  .rp-owner-lines { gap: 20px; }
  .rp-owner-lines h2 { font-size: 29px; }
  .rp-owner-lines p { font-size: 19px; line-height: 1.75; }
  .rp-second-beat { padding-top: 36px; }
  .rp-second-beat img { aspect-ratio: 1240 / 460; }
  .rp-caption { margin-top: 16px; font-size: 18px; line-height: 1.6; }
  .rp-account { padding-block: 60px; }
  .rp-account--claim, .rp-account--wide { width: calc(100% - 40px); margin-inline: auto; }
  .rp-account--claim > h2 { font-size: 34px; }
  .rp-account h2 { margin-bottom: 25px; }
  .rp-account--claim .rp-prose > p:first-child, .rp-prose > p:first-child { font-size: 21px; line-height: 1.65; }
  .rp-interval { padding-block: 35px 42px; }
  .rp-interval h2 { font-size: 19px; margin-bottom: 22px; }
  .rp-interval p { font-size: 31px; line-height: 1.4; }
  .rp-inner-opening { padding-block: 24px 42px; }
  .rp-inner-opening h1 { font-size: 36px; line-height: 1.2; text-wrap: pretty; }
  .rp-inner-deck { font-size: 22px; line-height: 1.6; margin-top: 24px; }
  .rp-status-tag { font-size: 18px; padding: 6px 11px; margin-top: 26px; }
  .rp-status-tag .rp-symbol { display: none; }
  .rp-section { padding-block: 34px 32px; }
  .rp-section > h2 { font-size: 32px; }
  .rp-section > p:first-of-type { font-size: 20px; }
  .rp-inner-photo { margin-block: 30px 0; }
  .rp-inner-photo img { aspect-ratio: 1060 / 340; }
  .rp-article--references .rp-section > p { padding-left: 0; text-indent: 0; }
  .rp-footer-links { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .rp-footer { margin-top: 30px; padding-top: 18px; }
  .rp-footer-statement { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; animation: none; }
}
