/* July Corner memorial. All selectors stay inside the feature namespace. */
.jc {
	--jc-ink: var(--ink, var(--text, #141416));
	--jc-line: var(--line, var(--rule, #d8d6d8));
	--jc-muted: var(--muted, #66646b);
	--jc-accent: var(--accent, #C62836);
	--jc-surface: var(--surface, #fff);
	--jc-canvas: var(--canvas, #faf9f7);
	--jc-chip: #eeedf0;
	--m0: #eeedf0;
	--m1: #f6dcdf;
	--m2: #eaa9af;
	--m3: #da6873;
	--m4: #C62836;
	--m5: #7a1420;
	--m-stroke: #fff;
	color: var(--jc-ink);
	background: var(--jc-canvas);
	font-family: var(--font-ui, Inter, sans-serif);
}

html[data-render-theme="dark"] .jc {
	--jc-chip: #29292d;
	--m0: #29292d;
	--m1: #3d2328;
	--m2: #6b2a33;
	--m3: #9c2f3c;
	--m4: #d23a48;
	--m5: #ff7a85;
	--m-stroke: #141416;
}

html[data-render-theme="dark"] .jc-story h3,
html[data-render-theme="dark"] .brand-copy em { color: #F06470; }

.jc-shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.jc a { color: inherit; text-decoration: none; }
.jc a:hover { color: var(--jc-accent); }
.jc a:focus-visible, .jc button:focus-visible, .jc select:focus-visible, .jc input:focus-visible { outline: 3px solid var(--jc-accent); outline-offset: 3px; }
.jc .serif { font-family: var(--font-editorial, "IBM Plex Serif", serif); }
.jc .eyebrow { color: var(--jc-muted); font-size: 11px; font-weight: 750; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.jc .red-line { display: inline-block; width: 22px; height: 2px; margin: 0 8px 3px 0; background: var(--jc-accent); }
.jc-landing { padding: 28px 0 8px; }
.jc-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; align-items: center; padding-block: 34px 42px; }
.jc-hero h1 { max-width: 680px; margin: 14px 0 18px; font-size: clamp(38px, 5vw, 66px); font-weight: 600; line-height: 1.13; letter-spacing: -.035em; }
.jc-hero h1 em { color: var(--jc-accent); font-style: normal; }
.jc-lede { max-width: 64ch; margin: 0 0 22px; color: var(--jc-muted); font-size: 16px; line-height: 1.8; }
.jc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0; border-top: 2px solid var(--jc-ink); padding-top: 14px; }
.jc-stats div { display: flex; flex-direction: column; gap: 4px; }
.jc-stats strong { font-family: var(--font-editorial, serif); font-size: 27px; line-height: 1.1; }
.jc-stats span { color: var(--jc-muted); font-size: 11px; }
.jc-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.jc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: var(--jc-accent); color: #fff !important; font-size: 14px; font-weight: 650; }
.jc-button:hover { background: #9f1e2a; }
.jc-text-link { border-bottom: 1px solid var(--jc-accent); font-weight: 650; }
.jc-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.jc-tile { position: relative; display: block; overflow: hidden; background: var(--jc-chip); aspect-ratio: 200 / 243; }
.jc-face, .jc-face img { display: block; width: 100%; height: 100%; }
.jc-face { transition: opacity .9s ease; }
.jc-face img, .jc-card img, .jc-on-card img, .jc-timeline-faces img { width: 100%; aspect-ratio: 200 / 243; object-fit: cover; filter: grayscale(1); transition: filter .3s ease, opacity .9s ease; }
.jc-tile:hover img, .jc-tile:focus-visible img, .jc-card:hover img, .jc-card:focus-visible img, .jc-on-card:hover img, .jc-timeline-faces a:hover img { filter: none; }
.jc-cap { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 3px; padding: 22px 7px 6px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 78%)); font-size: 10px; line-height: 1.25; }
.jc-cap b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-cap i { font-size: 9px; font-style: normal; opacity: .85; }
.jc-wall-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; color: var(--jc-muted); font-size: 12px; }
.jc-pause { border: 0; padding: 5px 8px; color: var(--jc-ink); background: transparent; cursor: pointer; font: inherit; font-weight: 650; }
.jc-spot { border-block: 1px solid var(--jc-line); background: var(--jc-surface); }
.jc-spot-inner { padding-block: 28px; }
.jc-spot h2 { margin: 5px 0; font-size: 30px; }
.jc-spot p:not(.eyebrow) { max-width: 76ch; color: var(--jc-muted); line-height: 1.75; }
.jc-spot a { border-bottom: 1px solid var(--jc-accent); font-weight: 650; }
.jc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.jc-section-head h1, .jc-section-head h2 { margin: 5px 0 0; font-size: clamp(27px, 3vw, 38px); }
.jc-onthisday { padding-block: 38px; }
.jc-on-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.jc-on-card { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.jc-on-card img { background: var(--jc-chip); }
.jc-on-card b { margin-top: 5px; line-height: 1.4; }
.jc-on-card span { color: var(--jc-muted); font-size: 12px; }
.jc-mapsec { padding-block: 42px; border-top: 1px solid var(--jc-line); }
.jc-map-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr); gap: 32px; align-items: start; }
.jc-map-box { position: relative; width: 100%; min-height: 360px; }
.jc-map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.jc-map-svg path { fill: currentColor; stroke: var(--m-stroke); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: opacity .2s ease, stroke .2s ease, stroke-width .2s ease; }
.jc-map-svg .m0 { color: var(--m0); }
.jc-map-svg .m1 { color: var(--m1); }
.jc-map-svg .m2 { color: var(--m2); }
.jc-map-svg .m3 { color: var(--m3); }
.jc-map-svg .m4 { color: var(--m4); }
.jc-map-svg .m5 { color: var(--m5); }
.jc-map-svg a:hover path, .jc-map-svg a:focus-visible path, .jc-map-svg a.sel path { stroke: var(--jc-ink); stroke-width: 3; }
.jc-map-svg:has(a.sel) a:not(.sel) path { opacity: .55; }
.jc-map-svg text { fill: var(--jc-ink); font: 700 17px var(--font-ui, Inter, sans-serif); pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.jc-map-svg text.on-dark { fill: #fff; }
.jc-map-svg text.on-light { fill: #201c20; }
.jc-legend { display: flex; align-items: center; gap: 0; margin: 4px 0 18px; flex-wrap: wrap; color: var(--jc-muted); font-size: 11px; }
.jc-legend span { display: flex; min-width: 50px; flex-direction: column; gap: 5px; }
.jc-legend i { display: block; height: 12px; background: var(--m0); }
.jc-legend .m1 { background: var(--m1); }.jc-legend .m2 { background: var(--m2); }.jc-legend .m3 { background: var(--m3); }.jc-legend .m4 { background: var(--m4); }.jc-legend .m5 { background: var(--m5); }
.jc-map-panel { min-height: 150px; padding: 14px 0 18px; border-top: 2px solid var(--jc-ink); }
.jc-map-panel h3 { margin: 4px 0; font-size: 23px; }
.jc-map-panel .jc-panel-count { color: var(--jc-accent); font: 700 42px/1.1 var(--font-editorial, serif); }
.jc-map-panel p { color: var(--jc-muted); font-size: 13px; line-height: 1.6; }
.jc-panel-faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin-block: 12px; }
.jc-panel-faces img { width: 100%; aspect-ratio: 200 / 243; object-fit: cover; filter: grayscale(1); }
.jc-panel-faces a:hover img, .jc-panel-faces a:focus-visible img { filter: none; }
.jc-top-label { margin: 20px 0 4px; }
.jc-rank { margin: 8px 0 0; padding: 0; border-top: 2px solid var(--jc-ink); list-style: none; }
.jc-rank li { border-bottom: 1px solid var(--jc-line); }
.jc-rank a { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; padding: 8px 0; font-size: 13px; }
.jc-rank a > span:first-child { color: var(--jc-muted); font-size: 11px; }
.jc-rank a > span:nth-child(3) { color: var(--jc-muted); }
.jc-rank-bar { grid-column: 2 / 4; display: block; height: 4px; margin-top: -7px; background: var(--jc-chip); }
.jc-rank-bar em { display: block; height: 100%; background: var(--jc-accent); }
.jc-map-note { margin-top: 14px; color: var(--jc-muted); font-size: 11px; line-height: 1.6; }
.jc-teaser { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; margin-block: 34px; padding-block: 28px; border-block: 1px solid var(--jc-line); }
.jc-teaser h2 { margin: 8px 0 14px; font-size: clamp(25px, 3vw, 37px); line-height: 1.25; }
.jc-teaser-copy > a { border-bottom: 1px solid var(--jc-accent); font-weight: 650; }
.jc-teaser-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.jc-teaser-wall .jc-tile { aspect-ratio: 200 / 243; }
.jc-browse-page, .jc-detail, .jc-timeline-page { padding-block: 26px 58px; }
.jc-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--jc-muted); font-size: 13px; }
.jc-crumb a { border-bottom: 1px solid var(--jc-line); }
.jc-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.jc-filters input, .jc-filters select { min-width: 0; min-height: 42px; border: 1px solid var(--jc-line); padding: 8px 11px; color: var(--jc-ink); background: var(--jc-canvas); font: inherit; font-size: 14px; }
.jc-filters input { flex: 1 1 220px; }
.jc-filters button { min-height: 42px; padding: 8px 18px; border: 0; color: #fff; background: var(--jc-accent); font: inherit; font-weight: 650; cursor: pointer; }
.jc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.jc-card { min-width: 0; }
.jc-card img { display: block; background: var(--jc-chip); }
.jc-card b { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; }
.jc-card span { display: block; margin-top: 4px; color: var(--jc-muted); font-size: 12px; }
.jc-empty { padding-block: 48px; text-align: center; }
.jc-empty a { border-bottom: 1px solid var(--jc-accent); }
.jc-pagination { margin-top: 26px; }
.jc-d-head { display: grid; gap: 22px; align-items: end; }
.jc-d-head .jc-portrait { display: block; width: 100%; max-width: 300px; aspect-ratio: 385 / 467; object-fit: cover; filter: none; }
.jc-d-head h1 { margin: 8px 0 3px; font-size: clamp(32px, 5vw, 54px); line-height: 1.15; }
.jc-name-en { margin: 0; color: var(--jc-muted); font-size: 16px; }
.jc-later { max-width: 62ch; margin-top: 14px; padding-left: 12px; border-left: 3px solid var(--jc-accent); color: var(--jc-accent); font-weight: 650; }
.jc-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0 0; border-top: 2px solid var(--jc-ink); }
.jc-strip div { min-width: 0; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--jc-line); }
.jc-strip dt { color: var(--jc-muted); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.jc-strip dd { margin: 5px 0 0; font-size: 14px; line-height: 1.5; }
.jc-d-body { display: grid; gap: 38px; margin-top: 34px; }
.jc-story-wrap > h2 { margin-bottom: 17px; }
.jc-story { max-width: 68ch; font-family: var(--font-editorial, "IBM Plex Serif", serif); font-size: 17px; line-height: 1.85; }
.jc-story p { margin: 0 0 1.05em; }
.jc-story h3 { margin: 1.8em 0 .6em; color: var(--jc-accent); font: 750 13px/1.5 var(--font-ui, Inter, sans-serif); letter-spacing: .06em; }
html[lang="en"] .jc-story { font-family: var(--font-en, Inter, sans-serif); font-size: 16px; }
.jc-story-fallback { color: var(--jc-muted); font-size: 13px; }
.jc-voices { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--jc-line); }
.jc-voices blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 2px solid var(--jc-accent); font-family: var(--font-editorial, serif); font-size: 16px; line-height: 1.75; white-space: pre-line; }
.jc-side > section { margin-bottom: 25px; padding-top: 12px; border-top: 2px solid var(--jc-ink); }
.jc-side h2 { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.jc-glance { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13px; }
.jc-glance dt { color: var(--jc-muted); }.jc-glance dd { margin: 0; white-space: pre-line; }
.jc-day ul { margin: 0; padding-left: 19px; }.jc-day li { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.jc-src { color: var(--jc-muted); font-size: 12px; line-height: 1.65; }.jc-src a { display: inline-block; min-height: 24px; color: var(--jc-ink); border-bottom: 1px solid var(--jc-accent); line-height: 24px; }
.jc-nav-pn { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--jc-line); font-size: 13px; font-weight: 650; }
.jc-same-dist { margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--jc-line); }
.jc-same-dist .jc-section-head > a { border-bottom: 1px solid var(--jc-accent); }
.jc-timeline-head { max-width: 760px; padding-bottom: 24px; }
.jc-timeline-head h1 { margin: 8px 0 14px; font-size: clamp(32px, 4.7vw, 52px); }
.jc-timeline-head > p:last-child { color: var(--jc-muted); line-height: 1.8; }
.jc-month-index { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; padding: 9px 0; background: var(--jc-canvas); }
.jc-month-index a { padding: 7px 12px; border: 1px solid var(--jc-line); background: var(--jc-surface); font-size: 13px; }
.jc-timeline-day { display: grid; gap: 18px; padding-block: 22px; border-top: 1px solid var(--jc-line); scroll-margin-top: 60px; }
.jc-timeline-day h2 { margin: 4px 0; font-family: var(--font-editorial, serif); font-size: 24px; }
.jc-timeline-day ul { margin: 0 0 16px; padding-left: 20px; }
.jc-timeline-day li { margin-bottom: 7px; line-height: 1.7; }
.jc-timeline-faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.jc-timeline-faces a { font-size: 11px; line-height: 1.35; }
.jc-timeline-faces img { display: block; margin-bottom: 4px; background: var(--jc-chip); }
.jc-more-faces { display: flex; align-items: center; justify-content: center; min-height: 60px; background: var(--jc-chip); }
.jc-timeline-later { margin-top: 28px; padding: 22px; background: var(--jc-surface); border-top: 3px solid var(--jc-accent); }
.jc-timeline-later h2 { margin: 5px 0 12px; font-size: 28px; }
.jc-timeline-later > p:not(.eyebrow) { color: var(--jc-muted); line-height: 1.7; }

@media (min-width: 620px) {
	.jc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.jc-d-head { grid-template-columns: 260px 1fr; }
	.jc-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.jc-timeline-day { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (min-width: 760px) {
	.jc-d-body { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (min-width: 980px) {
	.jc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
	.jc-hero { grid-template-columns: 1fr; gap: 28px; }
	.jc-map-wrap { grid-template-columns: 1fr; }
	.jc-map-box { width: min(100%, 530px); margin-inline: auto; }
	.jc-on-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.jc-teaser { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
	.jc-shell { width: calc(100% - 32px); }
	.jc-landing { padding-top: 8px; }
	.jc-hero { padding-block: 25px 30px; }
	.jc-hero h1 { font-size: clamp(36px, 11vw, 48px); }
	.jc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jc-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jc-on-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jc-map-svg text { font-size: 26px; }
	.jc-filters { display: grid; grid-template-columns: 1fr 1fr; }
	.jc-filters input, .jc-filters button { grid-column: 1 / -1; }
	.jc-grid { gap: 15px 10px; }
	.jc-d-head { gap: 18px; }
	.jc-d-head .jc-portrait { max-width: 240px; }
	.jc-strip { gap: 0 8px; }
	.jc-timeline-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.jc-timeline-later { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.jc *, .jc *::before, .jc *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
