:root {
  --snow-ground: #E0FAF5;
  --walking-ink: #272727;
  --cold-accent: #229696;
  --deep-teal: #126969;
  --quiet-seam: #D3DEDC;
  --paper-light: #FFFFFF;
  --title-face: 'Girassol', Georgia, serif;
  --reading-face: 'Judson', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--snow-ground); color: var(--walking-ink); font-family: var(--reading-face); font-size: 22px; line-height: 1.5; }
body, h1, h2, h3, p, figure { margin-block-start: 0; }
::selection { background: var(--quiet-seam); color: var(--walking-ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover { color: var(--deep-teal); text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--walking-ink); outline-offset: 5px; background: var(--snow-ground); }
img, svg { max-width: 100%; }
svg { vertical-align: middle; }
figure { margin: 0; }
.cjc-skip-walk { position: absolute; top: 10px; left: 24px; transform: translateY(-180%); z-index: 10; padding: 8px 18px; background: var(--paper-light); }
.cjc-skip-walk:focus { transform: translateY(0); }
.cjc-boundary { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

/* Three reading paths form an outer L beside the central open bracket. */
.cjc-masthead { position: relative; padding-top: 34px; padding-bottom: 28px; min-height: 146px; }
.cjc-name-key { position: relative; display: flex; align-items: center; justify-content: center; width: max-content; max-width: 100%; margin-inline: auto; min-height: 84px; padding: 12px 32px; font-family: var(--title-face); font-size: 38px; line-height: 1.12; text-decoration: none; white-space: nowrap; }
.cjc-name-key::before, .cjc-name-key::after { content: ''; position: absolute; pointer-events: none; width: 32px; height: 32px; border: 4px solid var(--cold-accent); }
.cjc-name-key::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cjc-name-key::after { right: 0; bottom: 0; border-top: 0; border-left: 0; }
.cjc-paths { position: absolute; top: 5px; left: calc(50% - 426px); display: grid; grid-template-columns: max-content max-content; gap: 10px 28px; font-size: 18px; line-height: 1.25; }
.cjc-paths a { display: flex; gap: 8px; align-items: center; text-decoration: none; min-height: 30px; }
.cjc-paths a:last-child { grid-column: 1; }
.cjc-paths a:hover, .cjc-paths a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cjc-paths i, .cjc-paths svg { width: 17px; height: 17px; flex: 0 0 17px; }

/* Full-bleed winter street, stepped mint sheet, broad teal spine.
   The image's missing lower-right square stays empty. */
.cjc-walk-in { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr minmax(540px, 50%); align-items: start; min-height: 700px; padding: 38px max(48px, calc((100vw - 1280px) / 2)) 112px 0; }
.cjc-winter-square { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--quiet-seam); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 88px), calc(100% - 88px) calc(100% - 88px), calc(100% - 88px) 100%, 0 100%); }
.cjc-winter-square img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 35% 34%; animation: cjc-cold-settle 1000ms ease-out both; }
.cjc-opening-panel { position: relative; grid-column: 2; padding: 34px 40px 54px; background: var(--snow-ground); border-left: 10px solid var(--cold-accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 52px 100%, 52px calc(100% - 36px), 0 calc(100% - 36px)); }
.cjc-opening-panel > .cjc-open-key { width: 35px; height: 35px; border-width: 5px; margin: 0 0 24px; }
.cjc-walk-in h1 { margin: 0; max-width: 660px; font-family: var(--title-face); font-size: clamp(52px, 4.6vw, 70px); font-weight: 400; line-height: 1.035; letter-spacing: -.018em; text-wrap: pretty; }
.cjc-opening-lead { max-width: 560px; margin-top: 27px; padding-right: 8px; font-size: 23px; line-height: 1.36; }
.cjc-opening-lead p { margin: 0; }
.cjc-home-reading { padding-top: 66px; }
.cjc-opening-bridge { position: relative; max-width: 900px; margin: 0 0 76px auto; padding: 0 46px 0 90px; font-size: 27px; line-height: 1.45; }
.cjc-opening-bridge p { margin-bottom: 0; }
.cjc-opening-bridge > .cjc-open-key { position: absolute; top: 6px; left: -132px; width: 140px; height: 140px; border-width: 17px; }

/* Continuous perforated sheet: three unequal holes, complete rectangular essays,
   and two photographs projecting past the sheet's edge. */
.cjc-safety-sheet { position: relative; background: var(--paper-light); padding: 74px 64px 64px; border-top: 12px solid var(--cold-accent); }
.cjc-safety-sheet::before { content: ''; position: absolute; left: 0; top: -36px; width: 92px; height: 24px; background: var(--cold-accent); }
.cjc-perforation { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: start; }
.cjc-owner-essay { position: relative; }
.cjc-window-marker { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; margin-bottom: 26px; color: var(--deep-teal); border-left: 4px solid var(--cold-accent); border-top: 4px solid var(--cold-accent); }
.cjc-window-marker svg, .cjc-window-marker i { width: 28px; height: 28px; }
.cjc-owner-essay h2 { max-width: 540px; margin: 0 0 27px; font-family: var(--title-face); font-size: 48px; font-weight: 400; line-height: 1.1; text-wrap: pretty; }
.cjc-owner-essay p { margin-bottom: 25px; }
.cjc-cut-window { display: block; aspect-ratio: 1; background: var(--snow-ground); }
.cjc-cut-window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cjc-window-documented { position: relative; width: min(100% + 44px, 414px); max-width: none; justify-self: end; margin: 66px -100px 0 0; border: 12px solid var(--snow-ground); box-shadow: -18px 18px 0 var(--quiet-seam); }
.cjc-perforation-unknown { grid-template-columns: 1fr 1.3fr; }
.cjc-perforation-unknown .cjc-owner-essay { grid-column: 2; grid-row: 1; }
.cjc-window-unknown { grid-column: 1; grid-row: 1; width: 292px; max-width: calc(100% + 36px); margin: 90px 0 0 -100px; border: 10px solid var(--paper-light); box-shadow: 18px 18px 0 var(--cold-accent); }
.cjc-window-person { width: 188px; justify-self: end; margin: 105px 14px 0 0; border-top: 12px solid var(--quiet-seam); border-left: 12px solid var(--quiet-seam); }
.cjc-seam { position: relative; max-width: 840px; margin: 38px auto 94px; padding: 32px 0 0; border-top: 6px solid var(--quiet-seam); font-size: 24px; }
.cjc-seam p { max-width: 730px; margin: 0; }
.cjc-open-key { display: block; width: 62px; height: 62px; border: 8px solid var(--cold-accent); clip-path: polygon(0 0, 100% 0, 100% 44%, 81% 44%, 81% 19%, 19% 19%, 19% 81%, 44% 81%, 44% 100%, 0 100%); }
.cjc-seam .cjc-open-key { position: absolute; right: -42px; top: -36px; width: 62px; height: 62px; background: var(--paper-light); }
.cjc-closing-gap { display: flex; justify-content: flex-end; padding: 44px 0; }
.cjc-closing-gap .cjc-open-key { width: 112px; height: 112px; border-width: 14px; }

/* Smaller photo bands use the same cut sheet. All text has an opaque ground. */
.cjc-inner-entry { position: relative; padding-top: 14px; }
.cjc-breadcrumb { position: relative; z-index: 1; font-size: 18px; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.cjc-breadcrumb span + span::before { content: '/'; margin-right: 12px; }
.cjc-inner-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; align-items: end; padding: 22px 0 30px; border-top: 8px solid var(--cold-accent); }
.cjc-inner-heading h1 { font-family: var(--title-face); font-weight: 400; font-size: clamp(46px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.012em; text-wrap: pretty; margin: 0; }
.cjc-inner-heading p { font-size: 25px; line-height: 1.4; margin: 0; }
.cjc-inner-entry-photo { display: grid; grid-template-columns: minmax(0, 1fr); }
.cjc-inner-entry-photo .cjc-breadcrumb { grid-area: 1 / 1; }
.cjc-inner-entry-photo .cjc-inner-heading { position: relative; z-index: 1; grid-area: 2 / 1; display: block; align-self: start; width: min(820px, 75%); margin: 48px 0 72px; padding: 30px 40px 44px; background: var(--snow-ground); border-top: 0; border-left: 8px solid var(--cold-accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
.cjc-inner-entry-photo .cjc-inner-heading h1 { font-size: clamp(43px, 4.2vw, 60px); }
.cjc-inner-entry-photo .cjc-inner-heading p { margin-top: 20px; max-width: 680px; font-size: 24px; }
.cjc-street-band { grid-area: 2 / 1; position: relative; width: 100vw; margin-inline: calc(50% - 50vw); background: var(--quiet-seam); overflow: hidden; min-height: 390px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) calc(100% - 48px), calc(100% - 48px) 100%, 0 100%); }
.cjc-street-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cjc-reading-sheet { background: var(--paper-light); margin-top: 64px; padding: 64px 64px 26px; border-top: 12px solid var(--quiet-seam); }
.cjc-reading-intro { max-width: 760px; margin: 0 0 62px auto; font-size: 24px; }
.cjc-reading-intro p { margin-bottom: 24px; }
.cjc-essay-seam { position: relative; display: grid; grid-template-columns: 1fr 1.75fr; gap: 72px; margin-bottom: 64px; padding-top: 32px; border-top: 5px solid var(--quiet-seam); }
.cjc-essay-seam::before { content: ''; position: absolute; left: -64px; top: -5px; width: 32px; height: 32px; border-top: 5px solid var(--cold-accent); border-left: 5px solid var(--cold-accent); }
.cjc-essay-seam h2 { position: sticky; top: 30px; align-self: start; margin: 0; max-width: 320px; font-family: var(--title-face); font-size: 36px; font-weight: 400; line-height: 1.16; text-wrap: pretty; }
.cjc-essay-words { max-width: 735px; }
.cjc-essay-words p { margin-bottom: 24px; }
.cjc-essay-words p:last-child { margin-bottom: 0; }
.cjc-service-route { margin: 0 0 24px; }
.cjc-service-route dt { font-weight: 700; }
.cjc-service-route dd { margin: 7px 0 0 22px; }
.cjc-essay-seam:target { border-top-color: var(--cold-accent); }
.cjc-reading-end { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 38px; padding-block: 28px; border-block: 4px solid var(--cold-accent); }
.cjc-reading-end a { display: inline-flex; gap: 12px; align-items: center; }
.cjc-reading-end svg, .cjc-reading-end i { width: 20px; height: 20px; }

.cjc-ground-footer { padding-top: 58px; padding-bottom: 32px; }
.cjc-footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.cjc-footer-name { font-family: var(--title-face); font-size: 35px; line-height: 1.2; margin-bottom: 20px; }
.cjc-footer-thought { max-width: 430px; font-size: 20px; }
.cjc-reading-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 35px; align-content: start; font-size: 20px; }
.cjc-reading-paths a { width: max-content; max-width: 100%; padding-block: 3px; }
.cjc-copyright { font-size: 17px; margin: 48px 0 0; border-top: 4px solid var(--quiet-seam); padding-top: 18px; }
.cjc-missing-page { padding: 50px 0 100px; max-width: 850px; }
.cjc-missing-page .cjc-open-key { margin-bottom: 28px; }
.cjc-missing-page h1 { font-family: var(--title-face); font-size: 62px; line-height: 1.12; font-weight: 400; }

@keyframes cjc-cold-settle { from { transform: scale(1.025); } to { transform: scale(1); } }

@media (max-width: 1100px) {
  .cjc-boundary { width: calc(100% - 64px); }
  .cjc-masthead { padding-top: 52px; min-height: 160px; }
  .cjc-paths { left: 0; top: 5px; }
  .cjc-walk-in { grid-template-columns: 1fr minmax(490px, 58%); padding-right: 32px; min-height: 680px; }
  .cjc-opening-panel { padding: 30px 30px 50px; }
  .cjc-walk-in h1 { font-size: 55px; }
  .cjc-opening-lead { font-size: 22px; }
  .cjc-opening-bridge { max-width: 80%; padding: 0 0 0 38px; }
  .cjc-opening-bridge > .cjc-open-key { left: -120px; width: 100px; height: 100px; border-width: 12px; }
  .cjc-safety-sheet, .cjc-reading-sheet { padding-inline: 40px; }
  .cjc-perforation { gap: 50px; }
  .cjc-owner-essay h2 { font-size: 41px; }
  .cjc-window-documented { margin-right: -48px; width: min(100% + 10px, 350px); }
  .cjc-window-unknown { margin-left: -48px; max-width: 100%; }
  .cjc-window-person { width: 160px; margin-right: 0; }
  .cjc-seam .cjc-open-key { right: -15px; width: 49px; height: 49px; border-width: 6px; top: -28px; }
  .cjc-seam { padding-right: 26px; }
  .cjc-inner-heading { gap: 40px; }
  .cjc-inner-entry-photo .cjc-inner-heading { width: 85%; }
  .cjc-essay-seam { gap: 42px; }
  .cjc-essay-seam::before { left: -40px; width: 24px; height: 24px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  body { font-size: 20px; line-height: 1.5; }
  .cjc-boundary { width: calc(100% - 48px); }
  .cjc-masthead { min-height: 0; height: 82px; padding: 0; display: flex; flex-direction: column; align-items: center; }
  .cjc-paths { position: static; display: flex; flex-wrap: nowrap; justify-content: center; gap: 20px; height: 32px; font-size: 16px; line-height: 1; }
  .cjc-paths a { min-height: 32px; gap: 5px; }
  .cjc-paths i, .cjc-paths svg { width: 14px; height: 14px; flex-basis: 14px; }
  .cjc-name-key { width: 100%; min-height: 43px; padding: 6px 12px; font-size: clamp(19px, 5.75vw, 27px); line-height: 1.15; }
  .cjc-name-key::before, .cjc-name-key::after { width: 18px; height: 18px; border-width: 3px; }
  .cjc-walk-in { display: block; min-height: 0; padding: 24px 24px 214px; }
  .cjc-winter-square { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
  .cjc-winter-square img { object-position: 30% 50%; }
  .cjc-opening-panel { border-left-width: 6px; padding: 24px 22px 46px; clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 30px calc(100% - 24px), 0 calc(100% - 24px)); }
  .cjc-opening-panel > .cjc-open-key { width: 28px; height: 28px; border-width: 4px; margin-bottom: 20px; }
  .cjc-walk-in h1 { font-size: clamp(35px, 10.25vw, 54px); line-height: 1.07; letter-spacing: -.012em; }
  .cjc-opening-lead { padding: 0; margin-top: 23px; font-size: 21px; line-height: 1.38; }
  .cjc-home-reading { padding-top: 38px; }
  .cjc-opening-bridge { max-width: 100%; padding: 0; font-size: 23px; margin-bottom: 46px; }
  .cjc-opening-bridge > .cjc-open-key { position: static; width: 48px; height: 48px; border-width: 6px; margin-bottom: 24px; }
  .cjc-safety-sheet { padding: 34px 0 40px; border-top-width: 8px; }
  .cjc-safety-sheet::before { width: 64px; height: 16px; top: -24px; }
  .cjc-perforation, .cjc-perforation-unknown { display: flex; flex-direction: column; gap: 12px; }
  .cjc-owner-essay { padding-inline: 22px; }
  .cjc-window-marker { width: 42px; height: 42px; margin-bottom: 21px; }
  .cjc-window-marker i, .cjc-window-marker svg { width: 24px; height: 24px; }
  .cjc-owner-essay h2 { font-size: 35px; line-height: 1.12; margin-bottom: 23px; }
  .cjc-owner-essay p { margin-bottom: 22px; }
  .cjc-cut-window { margin: 0; max-width: calc(100% - 44px); flex-shrink: 0; }
  .cjc-window-documented { width: 242px; align-self: flex-end; border-width: 8px; box-shadow: -12px 12px 0 var(--quiet-seam); }
  .cjc-window-unknown { width: 204px; margin-left: 0; border-width: 8px; box-shadow: 12px 12px 0 var(--cold-accent); }
  .cjc-window-person { width: 152px; margin-left: 22px; align-self: flex-start; }
  .cjc-seam { margin: 44px 22px 48px; padding: 23px 0 0; font-size: 21px; }
  .cjc-seam .cjc-open-key { display: none; }
  .cjc-closing-gap { padding: 28px 0 18px; justify-content: flex-start; }
  .cjc-closing-gap .cjc-open-key { width: 64px; height: 64px; border-width: 8px; }
  .cjc-inner-entry { padding-top: 24px; }
  .cjc-breadcrumb { font-size: 16px; gap: 9px; margin-bottom: 24px; }
  .cjc-breadcrumb span + span::before { margin-right: 9px; }
  .cjc-inner-heading { display: block; padding-top: 24px; border-top-width: 6px; }
  .cjc-inner-heading h1 { font-size: 40px; line-height: 1.1; margin-bottom: 23px; }
  .cjc-inner-heading p { font-size: 22px; }
  .cjc-inner-entry-photo .cjc-inner-heading { width: 100%; margin: 24px 0 102px; padding: 25px 22px 46px; border-left-width: 6px; }
  .cjc-inner-entry-photo .cjc-inner-heading h1 { font-size: 38px; margin-bottom: 0; }
  .cjc-inner-entry-photo .cjc-inner-heading p { font-size: 21px; line-height: 1.4; margin-top: 22px; }
  .cjc-street-band { min-height: 300px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
  .cjc-reading-sheet { margin-top: 36px; padding: 30px 22px 1px; border-top-width: 8px; }
  .cjc-reading-intro { font-size: 21px; margin-bottom: 36px; }
  .cjc-essay-seam { display: block; margin-bottom: 39px; padding-top: 24px; }
  .cjc-essay-seam::before { left: -22px; width: 14px; height: 20px; border-width: 4px; }
  .cjc-essay-seam h2 { position: static; max-width: 100%; font-size: 31px; line-height: 1.16; margin-bottom: 22px; }
  .cjc-essay-words p { margin-bottom: 22px; }
  .cjc-reading-end { font-size: 18px; align-items: flex-start; gap: 18px; padding-block: 24px; }
  .cjc-reading-end a { gap: 7px; }
  .cjc-reading-end svg, .cjc-reading-end i { width: 17px; height: 17px; flex: 0 0 17px; }
  .cjc-ground-footer { padding-top: 40px; padding-bottom: 30px; }
  .cjc-footer-grid { display: block; }
  .cjc-footer-name { font-size: 29px; margin-bottom: 16px; }
  .cjc-footer-thought { font-size: 19px; margin-bottom: 30px; }
  .cjc-reading-paths { font-size: 18px; gap: 9px 24px; }
  .cjc-copyright { font-size: 16px; margin-top: 34px; }
  .cjc-missing-page { padding-top: 38px; padding-bottom: 50px; }
  .cjc-missing-page h1 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cjc-winter-square img { animation: none; }
}
