/* editorial.css — Jong School visual redesign, layered on top of base.css + nav.css.
   Warm-paper editorial system: Fraunces for display, Lora for long-form body,
   Raleway for UI/labels. Blue from the school logo as the single accent, a sail-red
   as a rare second accent for kickers/tags. Built to sit ALONGSIDE the existing
   nav.css structure (same markup, restyled) so nav.js keeps working unchanged. */

:root {
	--paper: #f7f2e6;
	--paper-2: #efe6d0;
	--paper-3: #e7dbbd;
	--ink: #1f242c;
	--ink-soft: #565b52;
	--ink-faint: #8a8578;
	--rule: #ddd0ab;
	--accent: #1f8fc4;
	--accent-deep: #135c7d;
	--coral: #c1502f;
	--white: #fffdf8;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: 'Lora', Georgia, serif; margin: 0; }

/* ---------- Header / brand (compact — no top strip, hero sits right under nav) ---------- */
#header { background: var(--paper); border-bottom: 1px solid var(--rule); }
#sitename { padding: 12px 24px; max-width: 1160px; margin: 0 auto; }
.brand-row { display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
.brand-row img.brand-logo { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.brand-text { text-align: left; }
.brand-text .brand-name {
	font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 20px;
	letter-spacing: .01em; color: var(--ink); display: block; line-height: 1.1;
}
.brand-text .brand-sub {
	font-family: 'Raleway', sans-serif; font-size: 10.5px; letter-spacing: .1em;
	text-transform: uppercase; color: var(--accent-deep); display: block; margin-top: 2px;
}

#navigation { background: var(--paper); border-bottom: 1px solid var(--rule); }
.wsite-menu-item-wrap > a.wsite-menu-item {
	font-family: 'Raleway', sans-serif; color: var(--ink); font-weight: 600;
	letter-spacing: .08em;
}
.wsite-menu-item-wrap:hover, .wsite-menu-item-wrap.wsite-nav-current { background: var(--paper-2); }
.wsite-menu-item-wrap.wsite-nav-current > a.wsite-menu-item { color: var(--accent-deep); }
.wsite-menu-wrap { background: var(--white); border-color: var(--rule); }
.wsite-menu-subitem-wrap > a.wsite-menu-subitem { color: var(--ink-soft); font-family: 'Raleway', sans-serif; }
.wsite-menu-subitem-wrap:hover { background: var(--paper-2); }
#nav-toggle { color: var(--ink); border-color: var(--rule); }

/* ---------- Kicker / label utility ---------- */
.kicker {
	font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 12px;
	letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
	display: inline-block; margin-bottom: 10px;
}
.kicker.accent { color: var(--accent-deep); }

/* ---------- Hero ---------- */
.ed-hero { position: relative; overflow: hidden; }
.ed-hero img {
	width: 100%; height: min(72vh, 620px); object-fit: cover; display: block;
}
.ed-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(20,22,18,.82) 0%, rgba(20,22,18,.35) 45%, rgba(20,22,18,.05) 75%);
}
.ed-hero-copy {
	position: absolute; left: 0; right: 0; bottom: 0;
	max-width: 1160px; margin: 0 auto; padding: 0 24px 40px;
	color: var(--white);
}
.ed-hero-copy .kicker { color: #ffd7c4; }
.ed-hero-copy h1 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(30px, 5vw, 54px);
	line-height: 1.08; margin: 0 0 14px; max-width: 780px;
}
.ed-hero-links { display: flex; gap: 22px; flex-wrap: wrap; font-family: 'Raleway', sans-serif; }
.ed-hero-links a {
	color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .06em;
	text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 3px;
}
.ed-hero-links a:hover { border-color: var(--white); }

/* ---------- Shared section shell ---------- */
.ed-section { max-width: 1160px; margin: 0 auto; padding: 64px 24px; }
.ed-section.band { max-width: none; background: var(--paper-2); }
.ed-section.band > .ed-inner { max-width: 1160px; margin: 0 auto; padding: 64px 24px; }
.ed-section.tight { padding-top: 40px; padding-bottom: 40px; }

/* ---------- Featured story (lead editorial block) ---------- */
.ed-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.ed-feature img { width: 100%; height: 440px; object-fit: cover; border-radius: 2px; }
.ed-feature h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15; margin: 0 0 16px; color: var(--ink);
}
.ed-feature p.deck { font-size: 18px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 18px; }
.ed-feature .byline {
	font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: .05em;
	color: var(--ink-faint); text-transform: uppercase; margin-bottom: 18px;
}
.ed-more-link {
	font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .04em;
	color: var(--accent-deep); border-bottom: 1px solid var(--accent);
}

/* ---------- Kids highlight band ---------- */
.ed-kids { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.ed-kids img { width: 100%; height: 480px; object-fit: cover; border-radius: 2px; }
.ed-kids h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 3vw, 36px);
	line-height: 1.2; margin: 0 0 16px;
}
.ed-kids p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }

/* ---------- Three-up editorial grid ---------- */
.ed-grid-head { text-align: center; margin-bottom: 40px; }
.ed-grid-head h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(24px, 3vw, 32px); margin: 0;
}
.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ed-card { display: block; color: inherit; }
.ed-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 2px; margin-bottom: 16px; }
.ed-card h3 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 21px; margin: 0 0 8px; color: var(--ink);
}
.ed-card p { font-family: 'Raleway', sans-serif; font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ---------- Year strip (archive teaser) ---------- */
.year-strip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.year-strip-head h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 26px; margin: 0; }
.year-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; }
.year-chip { flex: none; width: 140px; text-align: center; }
.year-chip img { width: 140px; height: 100px; object-fit: cover; border-radius: 2px; display: block; margin-bottom: 8px; }
.year-chip span { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--ink); }

/* ---------- Footer ---------- */
#footer {
	background: var(--ink); color: var(--paper-2); text-align: left; padding: 0;
	font-family: 'Raleway', sans-serif;
}
.ed-footer-inner { max-width: 1160px; margin: 0 auto; padding: 48px 24px 30px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ed-footer-brand { display: flex; align-items: center; gap: 12px; }
.ed-footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.ed-footer-brand .n { font-family: 'Fraunces', Georgia, serif; font-size: 18px; display: block; }
.ed-footer-brand .s { font-size: 11px; opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
.ed-footer-meta { font-size: 12.5px; line-height: 1.9; opacity: .85; }
.ed-footer-meta a { color: var(--paper-2); }
.ed-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.12); text-align: center;
	font-size: 11px; opacity: .55; padding: 16px; letter-spacing: .04em;
}

/* ---------- Article template (editorial race/event story) ---------- */
.article-hero { position: relative; }
.article-hero img { width: 100%; height: min(58vh, 520px); object-fit: cover; display: block; }
.article-head { max-width: 760px; margin: 0 auto; padding: 44px 24px 0; text-align: center; }
.article-head h1 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(30px, 4.5vw, 46px);
	line-height: 1.1; margin: 10px 0 16px;
}
.article-head .deck { font-size: 19px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px; }
.article-head .byline {
	font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--ink-faint); padding-bottom: 26px; border-bottom: 1px solid var(--rule); margin-bottom: 0;
}
.article-body { max-width: 700px; margin: 0 auto; padding: 40px 24px 20px; font-size: 18px; line-height: 1.8; }
.article-body p { margin: 0 0 24px; }
.article-body p:first-of-type:first-letter {
	font-family: 'Fraunces', Georgia, serif; font-size: 64px; font-weight: 600; float: left;
	line-height: .8; padding: 6px 8px 0 0; color: var(--accent-deep);
}
.article-figure { max-width: 900px; margin: 40px auto; padding: 0 24px; }
.article-figure img { width: 100%; height: auto; border-radius: 2px; display: block; }
.article-figure figcaption {
	font-family: 'Raleway', sans-serif; font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; text-align: center;
}
.pull-quote {
	max-width: 620px; margin: 44px auto; padding: 0 24px; text-align: center;
	font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-style: italic;
	color: var(--accent-deep); line-height: 1.4;
}
.article-tags { max-width: 700px; margin: 0 auto; padding: 10px 24px 60px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
	font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--accent-deep); background: var(--paper-2);
	border: 1px solid var(--rule); border-radius: 20px; padding: 5px 13px;
}

/* ---------- Photo archive page ---------- */
.archive-intro { max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 24px 8px; }
.archive-intro h1 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(28px, 4vw, 42px); margin: 10px 0 16px;
}
.archive-intro p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.archive-note {
	font-family: 'Fraunces', Georgia, serif; font-size: 15px; color: var(--ink-faint);
	font-style: italic; border-top: 1px dashed var(--rule); margin-top: 18px; padding-top: 16px;
}

.filter-bar {
	position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule);
	padding: 16px 24px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.filter-chip {
	font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--rule);
	background: var(--white); color: var(--ink-soft); cursor: pointer;
}
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.year-jump {
	max-width: 1160px; margin: 0 auto; padding: 20px 24px 0; display: flex; gap: 16px;
	flex-wrap: wrap; justify-content: center; font-family: 'Raleway', sans-serif;
}
.year-jump a { font-size: 13px; font-weight: 700; color: var(--ink-faint); letter-spacing: .03em; }
.year-jump a:hover { color: var(--accent-deep); }

.year-block { max-width: 1160px; margin: 0 auto; padding: 56px 24px 0; scroll-margin-top: 70px; }
.year-block h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 30px; margin: 0 0 4px;
	display: inline-block; padding-right: 16px; border-bottom: 3px solid var(--accent);
}
.year-block .year-count { font-family: 'Raleway', sans-serif; font-size: 12px; color: var(--ink-faint); }
.photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 24px; }
.photo-card { display: block; }
.photo-card figure { margin: 0; }
.photo-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 2px; display: block; }
.photo-card figcaption { padding-top: 8px; }
.photo-card .cap-title { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink); display: block; }
.photo-card .cap-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.photo-card .cap-tags .tag { font-size: 10px; padding: 3px 9px; }
.photo-card.is-hidden { display: none; }
.archive-close { max-width: 1160px; margin: 0 auto; padding: 40px 24px 70px; text-align: center; }

/* ---------- Four-up grid variant (homepage: Races / Learn / Writing / Archive) ---------- */
.ed-grid.four-col { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ed-grid.four-col .ed-card img { height: 160px; }

/* ---------- Book feature band (dark, ties to footer; wide documentary photo on top) ---------- */
.book-feature { background: var(--ink); color: var(--paper-2); padding: 0; }
.book-feature img { width: 100%; height: min(52vh, 460px); object-fit: cover; display: block; filter: grayscale(8%); }
.book-feature .ed-inner {
	max-width: 720px; margin: 0 auto; padding: 48px 24px 60px; text-align: center;
}
.book-feature .kicker { color: #ffd7c4; }
.book-feature h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-style: italic;
	font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; margin: 0 0 14px; color: var(--white);
}
.book-feature p { font-size: 16.5px; line-height: 1.75; color: var(--paper-2); opacity: .92; margin: 0 0 16px; }
.book-feature .book-meta {
	font-family: 'Raleway', sans-serif; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--paper-2); opacity: .65; margin-bottom: 18px;
}
.book-feature .ed-more-link { color: #ffd7c4; border-color: rgba(255,215,196,.6); }

/* ---------- Writing hub: essay + press cards ---------- */
.writing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.writing-card { display: block; color: inherit; background: var(--white); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.writing-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.writing-card .wc-body { padding: 22px 24px 26px; }
.writing-card .kicker { margin-bottom: 8px; }
.writing-card h3 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; margin: 0 0 10px; color: var(--ink);
}
.writing-card p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press-card { display: block; color: inherit; position: relative; border-radius: 3px; overflow: hidden; height: 200px; }
.press-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.press-card:hover img { transform: scale(1.04); }
.press-card .press-overlay {
	position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,18,.88) 0%, rgba(20,22,18,.15) 65%);
	display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.press-card .press-outlet {
	font-family: 'Raleway', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: #ffd7c4; margin-bottom: 4px;
}
.press-card .press-title { font-family: 'Fraunces', Georgia, serif; font-size: 16px; color: var(--white); line-height: 1.3; }

.section-divider {
	max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px;
}
.section-divider h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 26px; margin: 0; white-space: nowrap; }
.section-divider .line { height: 1px; background: var(--rule); flex: 1; }

/* ---------- Learn page ---------- */
.learn-highlight {
	background: var(--white); border: 1px solid var(--rule); border-radius: 3px;
	max-width: 760px; margin: 0 auto; padding: 34px 36px;
}
.learn-highlight h3 {
	font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--accent-deep); margin: 0 0 14px;
}
.learn-highlight p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.learn-highlight p:last-child { margin-bottom: 0; }
.sponsor-callout {
	max-width: 760px; margin: 30px auto 0; text-align: center; font-family: 'Raleway', sans-serif;
	font-size: 14px; color: var(--ink-soft); background: var(--paper-2); border-radius: 3px; padding: 20px 24px;
}
.sponsor-callout strong { color: var(--ink); }

@media screen and (max-width: 860px) {
	.ed-feature, .ed-kids { grid-template-columns: 1fr; }
	.ed-feature img, .ed-kids img { height: 300px; }
	.book-feature img { height: 220px; }
	.ed-grid, .ed-grid.four-col, .writing-grid { grid-template-columns: 1fr; }
	.press-grid { grid-template-columns: repeat(2, 1fr); }
	.brand-row { flex-direction: row; text-align: left; }
	.brand-text { text-align: left; }
}
@media screen and (max-width: 560px) {
	.press-grid { grid-template-columns: 1fr; }
}

/* ---------- Inline real quotes, used in place of structural/meta copy ---------- */
.context-quote {
	font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 19px;
	color: var(--ink-soft); margin: 0 0 14px;
}
.context-quote span {
	font-family: 'Raleway', sans-serif; font-style: normal; font-size: 12px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-left: 6px;
}
.quote-attrib {
	font-family: 'Raleway', sans-serif; font-size: 12.5px; letter-spacing: .03em;
	color: var(--ink-faint); margin: -8px 0 22px !important;
}

/* ---------- Long-form multi-essay page (essays-and-interviews.html) ---------- */
.essay-head { max-width: 760px; margin: 0 auto; padding: 60px 24px 0; text-align: center; scroll-margin-top: 66px; }
.essay-head .kicker { display: block; margin-bottom: 12px; }
.essay-head h2 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15; margin: 0 0 14px;
}
.essay-head .byline {
	font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--ink-faint); padding-bottom: 24px; border-bottom: 1px solid var(--rule);
}
.article-body h3 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px;
	margin: 40px 0 16px; color: var(--ink);
}
.article-body .qa-q { font-style: italic; color: var(--ink); }
.prize-table {
	max-width: 700px; margin: 8px auto 40px; padding: 0 24px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-family: 'Raleway', sans-serif;
}
.prize-table h4 {
	font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 10px;
}
.prize-table ul { list-style: none; margin: 0; padding: 0; }
.prize-table li {
	display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px;
	border-bottom: 1px dashed var(--rule); color: var(--ink-soft);
}
.prize-table .total { margin-top: 10px; font-weight: 700; color: var(--ink); border-bottom: none; }
.essay-close {
	max-width: 700px; margin: 0 auto; padding: 0 24px 10px; text-align: right;
	font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 17px; color: var(--ink-soft);
}
.essay-end-rule { max-width: 700px; margin: 50px auto; padding: 0 24px; }
.essay-end-rule .line { height: 1px; background: var(--rule); }
@media screen and (max-width: 700px) {
	.prize-table { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Video page ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { display: block; color: inherit; }
.video-thumb {
	position: relative; display: block; border-radius: 3px; overflow: hidden;
	background: var(--ink); aspect-ratio: 16 / 9;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, opacity .3s; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: .85; }
.video-play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-play span {
	width: 56px; height: 56px; border-radius: 50%; background: rgba(20,22,18,.62);
	display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.video-card:hover .video-play span { background: var(--accent-deep); transform: scale(1.08); }
.video-play svg { width: 20px; height: 20px; fill: var(--white); margin-left: 3px; }
.video-card .vc-body { padding: 14px 2px 0; }
.video-card h3 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 17px; line-height: 1.3;
	margin: 0 0 4px; color: var(--ink);
}
.video-card .vc-meta {
	font-family: 'Raleway', sans-serif; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-faint);
	text-transform: uppercase;
}
@media screen and (max-width: 860px) {
	.video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 560px) {
	.video-grid { grid-template-columns: 1fr; }
}
