:root {
  --rag-ground: #F4E7FB;
  --rag-ink: #222C1C;
  --rag-accent: #507D31;
  --rag-support: #E2D1C1;
  --rag-surface: #FFFFFF;
  --rag-link: #34521F;
  --rag-reading: "Alike", Georgia, serif;
  --rag-display: "Ovo", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--rag-ink); background: var(--rag-ground); font: 18px/1.64 var(--rag-reading); }
::selection { background: var(--rag-accent); color: white; }
a { color: var(--rag-link); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .16s, text-decoration-thickness .16s; }
a:hover { color: var(--rag-ink); text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--rag-accent); outline-offset: 6px; background: var(--rag-surface); color: var(--rag-ink); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--rag-display); font-weight: 400; text-wrap: balance; }
p + p { margin-top: 1em; }
.rag-glyph { width: 24px; height: 24px; flex: 0 0 auto; }
.rag-skip { position: absolute; z-index: 8; left: 20px; top: -100px; padding: 8px 16px; background: var(--rag-surface); }
.rag-skip:focus { top: 10px; }

/* Three words, three unequal pauses; the dots are never controls. */
.rag-mast { border-top: 8px solid var(--rag-accent); background: var(--rag-ground); }
.rag-mast-inside { width: min(1328px, calc(100% - 112px)); margin: auto; padding: 14px 0 13px; }
.rag-name { display: inline-block; font: 38px/1.12 var(--rag-display); color: var(--rag-ink); text-decoration: none; }
.rag-wayfinding { display: grid; grid-template-columns: 228px 310px 160px; margin-top: 14px; align-items: start; }
.rag-way { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.rag-way a { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; line-height: 1.2; text-decoration: none; }
.rag-way a .rag-glyph { width: 18px; height: 18px; }
.rag-way a:hover, .rag-way a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.rag-way a:hover .rag-glyph { transform: translateY(-2px); }
.rag-nav-dot { color: var(--rag-accent); width: 9px; height: 9px; margin-left: 27px; }
.rag-way:nth-child(2) .rag-nav-dot { width: 17px; height: 17px; }
.rag-way:nth-child(3) .rag-nav-dot { width: 12px; height: 12px; }

/* The essay begins on a sand shoreline band, cut away to the lake. */
.rag-opening { width: min(1280px, calc(100% - 112px)); margin: 38px auto 0; }
.rag-opening h1 { font-size: 54px; line-height: 1.06; letter-spacing: -.6px; }
.rag-home-opening { position: relative; isolation: isolate; width: 100%; min-height: 670px; margin: 0; background: var(--rag-ground); }
.rag-hero-panel { position: relative; z-index: 2; width: min(990px, 69%); padding: 36px 86px 40px max(56px, calc((100vw - 1328px) / 2)); background: var(--rag-support); border-radius: 0 0 155px 0; border-bottom: 10px solid var(--rag-accent); box-shadow: 13px 15px 0 -5px var(--rag-accent); }
.rag-hero-panel h1 { max-width: 850px; }
.rag-arrival { display: flex; flex-direction: column; gap: 20px; margin-top: 21px; }
.rag-welcome { max-width: 690px; font-size: 20px; line-height: 1.5; }
.rag-mention { max-width: 810px; padding: 0; margin: 0; color: var(--rag-ink); background: var(--rag-support); font: 16px/1.48 var(--rag-reading); cursor: text; }
.rag-mention p { margin: 0; }
.rag-mention strong { font-weight: 700; }
.rag-mention-pause { display: flex; align-items: center; height: 18px; margin: 0; }
.rag-mention-pause svg { width: 70px; height: 6px; color: var(--rag-accent); }
.rag-aperture { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.rag-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scaleX(-1); }
.rag-oval-gap { position: absolute; right: 6%; bottom: 65px; width: 134px; height: 76px; border-radius: 50%; background: var(--rag-ground); box-shadow: 12px 12px 0 -5px var(--rag-accent); }
.rag-reed { position: absolute; z-index: 3; width: 5px; height: 176px; background: var(--rag-accent); left: 32px; bottom: -31px; transform: rotate(-17deg); transform-origin: bottom center; border-radius: 60%; pointer-events: none; }
.rag-reed::before { content: ""; position: absolute; width: 13px; height: 58px; top: -24px; left: -4px; background: var(--rag-accent); border-radius: 50%; }
.rag-reed::after { content: ""; position: absolute; width: 9px; height: 80px; top: 48px; left: 10px; background: var(--rag-accent); border-radius: 100% 0 100% 0; transform: rotate(28deg); transform-origin: bottom; }
.rag-opening-pause { width: 330px; height: auto; margin: 88px auto 108px; }

/* A vertical ellipsis of whole essays, with blank space doing the joining. */
.rag-essay-stream { padding: 0 0 180px; }
.rag-field { position: relative; width: min(1110px, calc(100% - 160px)); margin: 0 auto 0 max(50px, calc((100% - 1280px) / 2)); padding: 120px 0; border-radius: 50%; background: var(--rag-surface); box-shadow: 18px 22px 0 -8px var(--rag-accent); }
.rag-field + .rag-field { margin-top: 180px; }
.rag-field:nth-child(2) { width: min(1180px, calc(100% - 112px)); margin-left: auto; margin-right: max(50px, calc((100% - 1320px) / 2)); padding: 132px 0; background: var(--rag-support); box-shadow: -20px 23px 0 -9px var(--rag-accent); }
.rag-field:nth-child(3) { width: min(1060px, calc(100% - 200px)); margin-left: auto; margin-right: auto; }
.rag-field-mark { position: absolute; top: 15px; right: 17%; display: grid; place-items: center; width: 72px; height: 72px; border: 5px solid var(--rag-ground); border-radius: 50%; background: var(--rag-accent); color: white; transform: rotate(8deg); }
.rag-field:nth-child(2) .rag-field-mark { left: 16%; right: auto; top: 5px; width: 88px; height: 88px; transform: rotate(-8deg); }
.rag-field:nth-child(3) .rag-field-mark { width: 62px; height: 62px; }
.rag-field-mark .rag-glyph { width: 29px; height: 29px; }
.rag-measure { width: 59%; max-width: 660px; margin: 0 auto; }
.rag-measure h2 { font-size: 40px; line-height: 1.14; margin-bottom: 26px; }
.rag-measure h3 { font-size: 26px; line-height: 1.25; margin-top: 24px; margin-bottom: 12px; }
.rag-measure p { font-size: 18px; line-height: 1.68; }
.rag-end { position: relative; width: 100%; padding: 72px max(56px, calc((100% - 900px) / 2)) 86px; background: var(--rag-support); border-top: 12px solid var(--rag-accent); }
.rag-end h2 { max-width: 900px; font-size: 46px; line-height: 1.13; margin-bottom: 26px; }
.rag-end p { max-width: 900px; }
.rag-end-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: -116px 0 34px; border: 6px solid var(--rag-ground); border-radius: 50%; background: var(--rag-accent); color: white; }
.rag-end-icon .rag-glyph { width: 30px; height: 30px; }

/* Inner-page photographs sit beneath a reading strip, with an oval open end. */
.rag-inner-opening { padding-top: 3px; }
.rag-inner-opening h1 { max-width: 1100px; font-size: 52px; }
.rag-intro-layout { position: relative; display: grid; grid-template-columns: 1.04fr 1fr; gap: 0; align-items: center; margin-top: 32px; padding-bottom: 20px; }
.rag-intro-layout .rag-welcome { position: relative; z-index: 1; margin-right: -65px; padding: 30px 48px 32px 0; background: var(--rag-ground); border-bottom: 8px solid var(--rag-accent); border-radius: 0 0 75px 0; font-size: 21px; }
.rag-photo-band { height: 300px; margin: 0 -24px 0 0; border-radius: 0 50% 50% 0; overflow: hidden; box-shadow: 12px 16px 0 -6px var(--rag-accent); }
.rag-photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rag-intro-no-photo { display: block; max-width: 840px; }
.rag-intro-no-photo .rag-welcome { margin: 0; padding-top: 12px; }
.rag-crumb { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; font-size: 16px; }
.rag-crumb span[aria-hidden] { width: 8px; height: 8px; border-radius: 50%; background: var(--rag-accent); }

.rag-colophon { padding: 48px 56px 35px; border-bottom: 16px solid var(--rag-accent); }
.rag-foot-inside { width: min(1280px, 100%); margin: 0 auto; }
.rag-foot-links { display: flex; flex-wrap: wrap; gap: 15px 30px; margin-bottom: 36px; }
.rag-foot-links a { font-size: 17px; }
.rag-footer-words { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 50px; align-items: flex-end; font-size: 16px; }
.rag-footer-words p { max-width: 620px; }
.rag-copyright { white-space: nowrap; }
.rag-lost { min-height: 430px; max-width: 820px; margin: 60px auto 90px; padding: 0 24px; }
.rag-lost h1 { font-size: 48px; line-height: 1.12; margin-bottom: 25px; }
.rag-lost p { margin-top: 22px; }

@media (min-width: 1600px) {
  .rag-home-opening { min-height: 720px; }
  .rag-hero-panel { width: calc((100% - 1440px) / 2 + 990px); }
}

@media (max-width: 1050px) {
  .rag-mast-inside, .rag-opening { width: calc(100% - 64px); }
  .rag-home-opening { width: 100%; min-height: 730px; }
  .rag-hero-panel { width: 76%; padding: 30px 55px 42px 32px; border-bottom-right-radius: 105px; }
  .rag-opening h1 { font-size: 44px; }
  .rag-welcome { font-size: 18px; }
  .rag-field, .rag-field:nth-child(2), .rag-field:nth-child(3) { width: calc(100% - 84px); margin-left: auto; margin-right: auto; padding: 130px 0; }
  .rag-measure { width: 65%; }
  .rag-measure h2 { font-size: 34px; }
  .rag-intro-layout .rag-welcome { font-size: 19px; padding-right: 35px; margin-right: -45px; }
  .rag-photo-band { height: 290px; margin-right: 0; }
}

@media (max-width: 650px) {
  body { font-size: 17px; line-height: 1.6; }
  .rag-mast { height: 80px; border-top-width: 5px; }
  .rag-mast-inside { width: calc(100% - 40px); padding: 7px 0 0; }
  .rag-name { font-size: 22px; line-height: 1.1; white-space: nowrap; }
  .rag-wayfinding { grid-template-columns: 139px 121px 1fr; margin-top: 7px; }
  .rag-way { gap: 3px; }
  .rag-way a { font-size: 16px; line-height: 1.15; gap: 5px; }
  .rag-way a .rag-glyph { width: 14px; height: 14px; }
  .rag-nav-dot { width: 6px; height: 6px; margin-left: 19px; }
  .rag-way:nth-child(2) .rag-nav-dot { width: 10px; height: 10px; }
  .rag-way:nth-child(3) .rag-nav-dot { width: 8px; height: 8px; }
  .rag-opening { width: calc(100% - 40px); margin-top: 24px; }
  .rag-opening h1, .rag-inner-opening h1 { font-size: 28px; line-height: 1.1; letter-spacing: -.15px; text-wrap: initial; }
  .rag-home-opening { width: 100%; margin: 0; min-height: 0; display: flex; flex-direction: column; }
  .rag-hero-panel { width: 100%; padding: 19px 20px 24px; border: 0; border-radius: 0; box-shadow: none; }
  .rag-hero-panel::after { content: ""; position: absolute; left: 0; right: 31%; bottom: -9px; height: 9px; background: var(--rag-accent); border-radius: 0 0 100% 0; }
  .rag-arrival { gap: 15px; margin-top: 13px; }
  .rag-welcome { font-size: 16px; line-height: 1.4; }
  .rag-mention { font-size: 16px; line-height: 1.4; max-width: 100%; }
  .rag-mention-pause { height: 18px; }
  .rag-aperture { position: relative; width: 100%; height: 130px; }
  .rag-hero-photo { transform: none; object-position: 43% 56%; }
  .rag-oval-gap { width: 58px; height: 33px; right: 14%; bottom: 34px; box-shadow: 7px 7px 0 -3px var(--rag-accent); }
  .rag-reed { height: 86px; width: 3px; bottom: -12px; left: 16px; }
  .rag-reed::before { width: 7px; height: 30px; top: -12px; left: -2px; }
  .rag-reed::after { width: 5px; height: 40px; top: 22px; left: 5px; }
  .rag-opening-pause { width: 210px; margin: 52px auto 72px; }
  .rag-essay-stream { padding-bottom: 100px; }
  .rag-field, .rag-field:nth-child(2), .rag-field:nth-child(3) { width: calc(100% - 40px); border-radius: 50px; padding: 46px 23px 43px; box-shadow: 9px 13px 0 -4px var(--rag-accent); }
  .rag-field:nth-child(2) { box-shadow: -9px 13px 0 -4px var(--rag-accent); }
  .rag-field + .rag-field { margin-top: 100px; }
  .rag-field-mark, .rag-field:nth-child(2) .rag-field-mark, .rag-field:nth-child(3) .rag-field-mark { top: -27px; right: 20%; left: auto; width: 53px; height: 53px; border-width: 4px; }
  .rag-field:nth-child(2) .rag-field-mark { left: 19%; right: auto; width: 63px; height: 63px; }
  .rag-field-mark .rag-glyph { width: 23px; height: 23px; }
  .rag-measure { width: 100%; max-width: none; }
  .rag-measure h2 { font-size: 29px; line-height: 1.16; margin-bottom: 23px; }
  .rag-measure h3 { font-size: 23px; line-height: 1.2; }
  .rag-measure p { font-size: 17px; line-height: 1.64; }
  .rag-end { padding: 49px 25px 54px; border-top-width: 9px; }
  .rag-end h2 { font-size: 32px; }
  .rag-end-icon { width: 62px; height: 62px; margin: -88px 0 26px; }
  .rag-end-icon .rag-glyph { width: 25px; height: 25px; }
  .rag-intro-layout { display: flex; flex-direction: column; align-items: stretch; margin-top: 12px; padding: 0; }
  .rag-intro-layout .rag-welcome { margin: 0 0 -18px; padding: 12px 15px 24px 0; font-size: 17px; border-bottom-width: 6px; border-bottom-right-radius: 50px; }
  .rag-photo-band { width: 100%; height: 180px; border-radius: 0 0 50% 0; box-shadow: 9px 11px 0 -5px var(--rag-accent); }
  .rag-intro-no-photo .rag-welcome { margin-bottom: 0; }
  .rag-crumb { margin-bottom: 19px; font-size: 16px; }
  .rag-colophon { padding: 38px 25px 28px; border-bottom-width: 10px; }
  .rag-foot-links { gap: 13px 22px; margin-bottom: 30px; }
  .rag-footer-words { display: block; }
  .rag-footer-words p { font-size: 16px; }
  .rag-copyright { margin-top: 22px; white-space: normal; }
  .rag-lost { margin-top: 50px; }
  .rag-lost h1 { font-size: 32px; }
}

@media (max-width: 370px) {
  .rag-wayfinding { grid-template-columns: 128px 109px 1fr; }
  .rag-name { font-size: 21px; }
  .rag-way a .rag-glyph { display: none; }
  .rag-nav-dot { margin-left: 0; }
}

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