.jr-page {
  --jr-shell: #EFE7D7;
  --jr-sand: #D9C9B3;
  --jr-bark: #49392E;
  --jr-blue: #3D6B87;
  --jr-line: #49392e40;
  --jr-gutter: clamp(24px, 4.4vw, 80px);
  --jr-space: clamp(64px, 8vw, 140px);
  background: var(--jr-shell);
  color: var(--jr-bark);
  font-family: var(--nav-display);
  -webkit-font-smoothing: antialiased;
}
.jr-page main { overflow: clip; }
.jr-page main [id] { scroll-margin-top: 104px; }
.jr-page a { color: inherit; }
.jr-page [hidden] { display: none !important; }
.jr-page :focus-visible { outline: 2px solid var(--jr-blue); outline-offset: 6px; }
.jr-page .site-header { position: sticky; top: 0; height: 84px; background: var(--jr-shell); z-index: 20; color: var(--jr-bark); }
.jr-page .site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('/assets/navigation/nav-shell-plaster.webp') center / 1000px; opacity: .1; mix-blend-mode: multiply; }
.jr-page .site-header .brand-mark { width: 26px; height: 38px; }
.jr-page .nav-toggle { text-transform: none; letter-spacing: -.015em; font-size: 13px; }
.jr-page .nav-primary-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.jr-skip { position: fixed; top: 16px; left: 24px; z-index: 100; padding: 14px 20px; background: var(--jr-bark); color: var(--jr-shell) !important; transform: translateY(-160%); font-size: 14px; }
.jr-skip:focus { transform: none; }
.jr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.jr-masthead, .jr-cover, .jr-library { max-width: 1760px; margin-inline: auto; padding-inline: var(--jr-gutter); }

/* A publication masthead, set as one deliberate piece of type. */
.jr-masthead { padding-top: 24px; padding-bottom: 45px; }
.jr-masthead-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; }
.jr-masthead-line p { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.4; }
.jr-masthead-line p + p { font: 400 17px/1.4 var(--nav-reading); }
.jr-masthead h1 { margin: 0 0 30px -.055em; font-size: clamp(76px, 11.45vw, 192px); font-weight: 600; letter-spacing: -.079em; line-height: .92; white-space: nowrap; }
.jr-masthead-bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.jr-masthead-bottom > p { margin: 0; font: 400 clamp(20px, 1.8vw, 27px)/1.28 var(--nav-reading); letter-spacing: -.015em; }
.jr-browse { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; padding: 8px 0; font-size: 12px; font-weight: 600; text-decoration: none; }
.jr-browse svg { width: 20px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; transition: transform .3s; }
.jr-browse:hover svg { transform: translateY(4px); }

/* The cover has its own generous spread; nothing is trapped in a UI card. */
.jr-cover-link { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 4vw, 68px); text-decoration: none; }
.jr-cover-photo { position: relative; overflow: hidden; min-width: 0; height: clamp(460px, 43vw, 730px); margin: 0; background: var(--jr-sand); }
.jr-cover-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.jr-cover-photo::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#241c1480); pointer-events: none; }
.jr-cover-photo figcaption { position: absolute; z-index: 1; bottom: 20px; left: 24px; right: 24px; color: #fff; font: 400 15px/1.3 var(--nav-reading); text-shadow: 0 1px 10px #0008; }
.jr-cover-copy { min-width: 0; padding-bottom: 6px; }
.jr-story-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; font-size: 11px; font-weight: 500; line-height: 1.45; }
.jr-story-meta time { font: 400 15px/1.4 var(--nav-reading); }
.jr-cover-copy .jr-story-meta { display: block; }
.jr-cover-copy .jr-story-meta time { display: block; margin-top: 6px; }
.jr-cover h2 { margin: 25px 0 20px; font-size: clamp(31px, 3.3vw, 54px); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; }
.jr-cover-summary { max-width: 30ch; margin: 0 0 30px; font: 400 clamp(20px, 1.7vw, 26px)/1.37 var(--nav-reading); }
.jr-read { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; padding: 9px 0; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 600; line-height: 1.4; }
.jr-read svg { flex-shrink: 0; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.1; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.jr-cover-link:hover .jr-read svg, .jr-story-link:hover .jr-read svg { transform: translate(3px,-3px); }
.jr-cover-link:hover .jr-cover-photo img { transform: scale(1.025); }

/* Topic controls belong to the story index, with an ordinary all-story fallback. */
.jr-library { padding-top: var(--jr-space); padding-bottom: var(--jr-space); scroll-margin-top: 104px; }
.jr-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.jr-library-heading h2 { margin: 0; font-size: clamp(42px, 5.3vw, 83px); font-weight: 600; letter-spacing: -.06em; line-height: 1.03; }
.jr-library-heading p { margin: 0; font: 400 21px/1.35 var(--nav-reading); text-align: right; }
.jr-browse-bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 44px; border-block: 1px solid var(--jr-line); }
.jr-topics { min-width: 0; margin: 0; }
.jr-topics fieldset { display: flex; flex-wrap: wrap; gap: 0 clamp(21px, 2.7vw, 48px); margin: 0; padding: 0; border: 0; }
.jr-topics label { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.jr-topics input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.jr-topics span { display: inline-flex; align-items: center; min-height: 64px; padding: 12px 0; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; line-height: 1.4; }
.jr-topics input:checked + span { border-bottom-color: var(--jr-blue); color: var(--jr-blue); font-weight: 700; }
.jr-topics input:hover + span { color: var(--jr-blue); }
.jr-topics input:focus-visible { outline: none; }
.jr-topics input:focus-visible + span { outline: 2px solid var(--jr-blue); outline-offset: -5px; }
.jr-result-count { flex-shrink: 0; margin: 0; font: 400 17px/1.4 var(--nav-reading); }
.jr-story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(52px, 6vw, 94px) clamp(25px, 3.3vw, 56px); }
.jr-story { grid-column: span 4; min-width: 0; }
.jr-story[hidden] { display: none !important; }
.jr-story-link { display: block; height: 100%; text-decoration: none; }
.jr-story-photo { position: relative; margin: 0 0 23px; aspect-ratio: 1.24; overflow: hidden; background: var(--jr-sand); }
.jr-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.jr-story-link:hover .jr-story-photo img { transform: scale(1.035); }
.jr-story h3 { margin: 18px 0 13px; font-size: clamp(25px, 2.15vw, 35px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; text-wrap: pretty; }
.jr-story-summary { max-width: 42ch; margin: 0 0 18px; font: 400 20px/1.4 var(--nav-reading); }
.jr-story-source { margin: 0 0 11px; font-size: 11px; font-weight: 500; line-height: 1.5; }
.jr-story--wide { grid-column: span 6; }
.jr-story--wide .jr-story-photo { aspect-ratio: 1.45; }
.jr-story--wide h3 { max-width: 23ch; font-size: clamp(30px, 2.9vw, 47px); }
.jr-story--people .jr-story-photo { aspect-ratio: .88; }
.jr-story--people .jr-story-photo img { object-position: 50% 38%; }
.jr-story--note .jr-story-link { position: relative; display: flex; align-items: center; padding: clamp(25px, 3vw, 48px); min-height: 440px; background: var(--jr-bark); color: var(--jr-shell); isolation: isolate; }
.jr-story--note .jr-story-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('/assets/navigation/nav-shell-plaster.webp') center / 800px auto; opacity: .1; mix-blend-mode: screen; pointer-events: none; }
.jr-story--note .jr-story-meta { display: block; }
.jr-story--note .jr-story-meta time { display: block; margin-top: 8px; }
.jr-story--note h3 { margin-top: 36px; font-size: clamp(30px, 3vw, 46px); }
.jr-story--note a:focus-visible { outline-color: var(--jr-blue); }
.jr-story--ritual { grid-column: 1 / -1; position: relative; background: var(--jr-sand); isolation: isolate; }
.jr-story--ritual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('/assets/navigation/nav-shell-plaster.webp') center / 1000px auto; opacity: .18; mix-blend-mode: multiply; pointer-events: none; }
.jr-story--ritual .jr-story-link { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 5.7vw, 90px); }
.jr-story--ritual .jr-story-photo { margin: 0; height: 100%; min-height: 570px; aspect-ratio: auto; }
.jr-story--ritual .jr-story-copy { padding: 48px clamp(35px, 4.5vw, 70px) 48px 0; }
.jr-story--ritual .jr-story-meta { display: block; }
.jr-story--ritual .jr-story-meta time { display: block; margin-top: 7px; }
.jr-ritual-note { margin: 45px 0 18px; font: 400 23px/1.35 var(--nav-reading); }
.jr-story--ritual h3 { max-width: 17ch; margin-top: 0; font-size: clamp(36px, 3.5vw, 57px); line-height: 1.02; letter-spacing: -.055em; }
.jr-story--ritual .jr-story-summary { margin-top: 22px; font-size: 22px; }
.jr-story--ritual .jr-story-source { margin-top: 24px; }
.jr-story-grid > .jr-story:nth-last-child(-n+2) { grid-column: span 6; }
.jr-story-grid > .jr-story:nth-last-child(-n+2) .jr-story-photo { aspect-ratio: 1.65; }
.jr-library.is-filtered .jr-story { grid-column: span 6; }
.jr-library.is-filtered .jr-story--ritual { grid-column: span 6; background: transparent; }
.jr-library.is-filtered .jr-story--ritual::before { display: none; }
.jr-library.is-filtered .jr-story--ritual .jr-story-link { display: block; }
.jr-library.is-filtered .jr-story--ritual .jr-story-photo { height: auto; min-height: 0; aspect-ratio: 1.45; margin-bottom: 23px; }
.jr-library.is-filtered .jr-story--ritual .jr-story-copy { padding: 0; }
.jr-library.is-filtered .jr-story--ritual .jr-story-meta { display: flex; }
.jr-library.is-filtered .jr-story--ritual .jr-story-meta time { margin: 0; }
.jr-library.is-filtered .jr-ritual-note { display: none; }
.jr-library.is-filtered .jr-story--ritual h3 { max-width: none; margin-top: 18px; font-size: clamp(30px, 2.9vw, 47px); line-height: 1.08; }
.jr-library.is-filtered .jr-story--ritual .jr-story-summary { margin-top: 0; font-size: 20px; }
.jr-library.is-filtered .jr-story--ritual .jr-story-source { margin-top: 0; }

/* An invitation back into the collection, with no separate signup or new form. */
.jr-stay { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 44px; padding: clamp(65px, 8vw, 130px) var(--jr-gutter); background: var(--jr-blue); color: var(--jr-shell); isolation: isolate; }
.jr-stay::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('/assets/navigation/nav-shell-plaster.webp') center / 1100px auto; opacity: .08; mix-blend-mode: screen; pointer-events: none; }
.jr-stay p { margin: 0 0 24px; font: 400 23px/1.35 var(--nav-reading); }
.jr-stay h2 { margin: 0; font-size: clamp(54px, 6.5vw, 110px); font-weight: 600; letter-spacing: -.065em; line-height: .97; }
.jr-stay > a { display: inline-flex; justify-content: space-between; align-items: center; flex-shrink: 0; min-width: 220px; min-height: 60px; gap: 45px; padding: 14px 0; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 600; text-decoration: none; }
.jr-stay > a svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform .3s; }
.jr-stay > a:hover svg { transform: translate(4px,-4px); }
.jr-stay :focus-visible { outline-color: var(--jr-shell); }
.jr-page .site-footer { border-top: 0; }

@media (min-width: 761px) and (max-height: 800px) {
  .jr-masthead { padding-top: 10px; padding-bottom: 31px; }
  .jr-masthead-line { padding-bottom: 14px; }
  .jr-masthead h1 { font-size: clamp(76px, 10.9vw, 174px); margin-bottom: 22px; }
  .jr-masthead-bottom > p { font-size: 21px; }
  .jr-cover-photo { height: 470px; }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .jr-masthead h1 { animation: jr-type-arrival 900ms cubic-bezier(.22,1,.36,1) both; }
  .jr-cover-photo { animation: jr-cover-arrival 1200ms cubic-bezier(.22,1,.36,1) both; }
  @keyframes jr-type-arrival { from { clip-path: inset(0 0 100%); transform: translateY(12px); } to { clip-path: inset(0); transform: translateY(0); } }
  @keyframes jr-cover-arrival { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

}
@media (max-width: 1100px) {
  .jr-cover-link { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; }
  .jr-cover h2 { font-size: 36px; }
  .jr-cover-summary { font-size: 21px; margin-bottom: 22px; }
  .jr-cover-photo { height: 500px; }
  .jr-story-grid { column-gap: 28px; }
  .jr-story { grid-column: span 6; }
  .jr-story--ritual { grid-column: 1 / -1; }
  .jr-story--ritual .jr-story-photo { min-height: 520px; }
  .jr-story--ritual .jr-story-link { gap: 32px; }
  .jr-story--ritual h3 { font-size: 37px; }
  .jr-story--ritual .jr-story-copy { padding-right: 30px; }
  .jr-story--people .jr-story-photo { aspect-ratio: 1.24; }
  .jr-topics fieldset { column-gap: 22px; }
  .jr-topics span { font-size: 12px; }
  .jr-library-heading p { font-size: 19px; }
}
@media (max-width: 760px) {
  .jr-page { --jr-gutter: 24px; --jr-space: 64px; }
  .jr-page .site-header { height: 72px; }
  .jr-page main [id] { scroll-margin-top: 92px; }
  .jr-page .site-header .brand-mark { width: 23px; height: 34px; }
  .jr-masthead { padding-top: 19px; padding-bottom: 29px; }
  .jr-masthead-line { padding-bottom: 20px; }
  .jr-masthead-line p { font-size: 12px; }
  .jr-masthead-line p + p { max-width: 20ch; font-size: 15px; text-align: right; }
  .jr-masthead h1 { max-width: 10ch; margin: 0 0 24px -.045em; font-size: clamp(65px, 15.5vw, 108px); line-height: .94; letter-spacing: -.075em; white-space: normal; }
  .jr-masthead-bottom { align-items: start; }
  .jr-masthead-bottom > p { max-width: 28ch; font-size: 19px; line-height: 1.35; }
  .jr-masthead-bottom > p br { display: none; }
  .jr-browse { gap: 12px; font-size: 11px; flex-shrink: 0; max-width: 90px; align-self: end; }
  .jr-browse svg { width: 18px; flex-shrink: 0; }
  .jr-cover-link { display: block; }
  .jr-cover-photo { height: auto; aspect-ratio: 1.16; }
  .jr-cover-photo figcaption { left: 17px; bottom: 16px; font-size: 14px; }
  .jr-cover-copy { padding: 24px 0 0; }
  .jr-cover-copy .jr-story-meta { display: flex; }
  .jr-cover-copy .jr-story-meta time { margin-top: 0; }
  .jr-cover h2 { max-width: 19ch; margin: 20px 0 15px; font-size: 36px; letter-spacing: -.055em; line-height: 1.05; }
  .jr-cover-summary { max-width: 31ch; margin-bottom: 18px; font-size: 21px; }
  .jr-library { scroll-margin-top: 92px; }
  .jr-library-heading { display: block; padding-bottom: 27px; }
  .jr-library-heading h2 { font-size: 43px; margin-bottom: 17px; }
  .jr-library-heading p { font-size: 19px; text-align: left; }
  .jr-library-heading p br { display: none; }
  .jr-browse-bar { align-items: start; flex-direction: column; gap: 0; margin-bottom: 32px; padding-bottom: 14px; }
  .jr-topics { width: 100%; }
  .jr-topics fieldset { gap: 0 22px; }
  .jr-topics span { min-height: 49px; padding-block: 12px; font-size: 12px; }
  .jr-result-count { margin-top: 10px; font-size: 16px; }
  .jr-story-grid { display: flex; flex-direction: column; gap: 43px; }
  .jr-story-photo, .jr-story--wide .jr-story-photo, .jr-story--people .jr-story-photo, .jr-story-grid > .jr-story:nth-last-child(-n+2) .jr-story-photo { aspect-ratio: 1.35; margin-bottom: 20px; }
  .jr-story-meta { gap: 5px 12px; font-size: 11px; }
  .jr-story-meta time { font-size: 14px; }
  .jr-story h3, .jr-story--wide h3 { margin-top: 16px; font-size: 29px; line-height: 1.1; letter-spacing: -.045em; }
  .jr-story-summary { font-size: 20px; margin-bottom: 16px; }
  .jr-story--ritual { margin-inline: calc(-1 * var(--jr-gutter)); }
  .jr-story--ritual .jr-story-link { display: block; }
  .jr-story--ritual .jr-story-photo { aspect-ratio: 1.18; min-height: 0; height: auto; margin: 0; }
  .jr-story--ritual .jr-story-copy { padding: 30px var(--jr-gutter) 34px; }
  .jr-story--ritual .jr-story-meta { display: flex; }
  .jr-story--ritual .jr-story-meta time { margin: 0; }
  .jr-ritual-note { margin-top: 27px; font-size: 21px; }
  .jr-story--ritual h3 { margin-top: 0; max-width: 18ch; font-size: 38px; }
  .jr-story--ritual .jr-story-summary { margin-top: 20px; font-size: 21px; }
  .jr-library.is-filtered .jr-story--ritual { margin-inline: 0; }
  .jr-library.is-filtered .jr-story--ritual .jr-story-photo { aspect-ratio: 1.35; margin-bottom: 20px; }
  .jr-library.is-filtered .jr-story--ritual h3 { margin-top: 16px; font-size: 29px; line-height: 1.1; }
  .jr-story--note .jr-story-link { min-height: 0; padding: 32px 28px; }
  .jr-story--note h3 { margin-top: 28px; font-size: 34px; }
  .jr-stay { display: block; padding-block: 56px 61px; }
  .jr-stay p { max-width: 27ch; margin-bottom: 23px; font-size: 21px; }
  .jr-stay h2 { font-size: clamp(49px, 10vw, 73px); }
  .jr-stay > a { margin-top: 32px; min-width: 240px; max-width: 100%; font-size: 15px; }
}
@media (max-width: 360px) {
  .jr-page { --jr-gutter: 20px; }
  .jr-masthead-line p + p { max-width: 18ch; font-size: 14px; }
  .jr-masthead h1 { font-size: 63px; }
  .jr-masthead-bottom { gap: 16px; }
  .jr-masthead-bottom > p { font-size: 18px; }
  .jr-browse { max-width: 68px; gap: 8px; }
  .jr-cover-copy .jr-story-meta { display: block; }
  .jr-cover-copy .jr-story-meta time { margin-top: 5px; }
  .jr-cover h2 { font-size: 32px; }
  .jr-library-heading h2 { font-size: 38px; }
  .jr-topics fieldset { column-gap: 18px; }
  .jr-story-meta { display: block; }
  .jr-story-meta time { display: block; margin-top: 6px; }
  .jr-story h3, .jr-story--wide h3 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-page *, .jr-page *::before, .jr-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
