/* Editorial pages share a grid and motion language, not identical compositions. */
.editorial-page { --page-ink: #f3f5fa; --page-muted: #a2aaba; background: #07090e; overflow-x: clip; }
.editorial-page main { overflow: clip; }
.editorial-page .ep-wrap { width: min(1100px,calc(100% - 4rem)); margin-inline: auto; }
.ep-kicker { display: block; color: #8faed6; font-size: .68rem; letter-spacing: .17em; line-height: 1.7; font-weight: 500; text-transform: uppercase; }
.ep-hero { padding: 11rem 0 6rem; position: relative; }
.ep-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; }
.ep-hero h1 { font-size: clamp(3.5rem,6.8vw,6.8rem); line-height: 1; font-weight: 500; letter-spacing: -.07em; margin: 1.8rem 0; }
.ep-hero h1 span { display: block; }
.ep-hero h1 .ep-soft { color: #909bab; }
.ep-lead { color: #aab4c3; line-height: 1.85; font-size: 1.05rem; max-width: 510px; }
.ep-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.ep-orbital { position: relative; aspect-ratio: 1; display: grid; place-items: center; min-width: 0; }
.ep-orbital::before { content: ''; position: absolute; inset: 8%; background: radial-gradient(circle,#35567b38,transparent 70%); }
.ep-orbital-ring { position: absolute; inset: 5%; border: 1px solid #7291b944; border-radius: 50%; transform: rotate(-28deg) scaleY(.77); }
.ep-orbital-ring:nth-child(2) { inset: 16%; transform: rotate(35deg) scaleY(.8); }
.ep-orbital-ring:nth-child(3) { inset: 28%; transform: rotate(-15deg); }
.ep-orbital-ring::after { content: ''; position: absolute; width: 7px; height: 7px; left: 16%; top: 11%; border-radius: 50%; background: #9dbbdf; box-shadow: 0 0 20px #9dbbdf; }
.ep-orbital-center { font-size: clamp(4rem,10vw,9rem); font-weight: 400; letter-spacing: -.1em; z-index: 1; }
.ep-orbital-caption { position: absolute; bottom: 0; font-size: .6rem; letter-spacing: .16em; color: #99a6b8; }
.ep-rail { display: flex; gap: 2rem; justify-content: space-between; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; padding: 1.5rem 0; color: #a4aebc; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.ep-section { padding: 7rem 0; }
.ep-section h2 { font-size: clamp(2.5rem,4.8vw,4.5rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 500; margin: 1.5rem 0; }
.ep-light { background: #f8fafc; color: #0f172a; }
.ep-light h1, .ep-light h2, .ep-light h3, .ep-light h4 { color: #0f172a; }
.ep-light .ep-kicker { color: #0284c7; font-weight: 600; }
.ep-section-intro { max-width: 650px; }
.ep-section-intro > p { color: #a2adbc; line-height: 1.8; }
.ep-light .ep-section-intro > p { color: #334155; font-size: 1.05rem; }
.ep-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; }
.ep-boundary article { border-top: 1px solid #aeb7c4; padding-top: 1.5rem; }
.ep-light .ep-boundary article { border-top-color: #cbd5e1; }
.ep-index { font: 500 .68rem/1.5 var(--font-sans); letter-spacing: .1em; color: #6b7e97; }
.ep-light .ep-index { color: #475569; font-weight: 600; }
.ep-boundary h3 { margin: 1.5rem 0 1rem; font-size: 1.7rem; font-weight: 500; letter-spacing: -.035em; }
.ep-light .ep-boundary h3 { color: #0f172a; }
.ep-boundary p { color: #526073; line-height: 1.85; }
.ep-light .ep-boundary p { color: #334155; }
.ep-boundary ul { padding-left: 1.1rem; margin-top: 1.5rem; color: #526073; line-height: 2; }
.ep-light .ep-boundary ul { color: #334155; }
.ep-note { border-left: 2px solid #7493bb; padding-left: 1.25rem; font-size: .85rem; color: #64748a; line-height: 1.75; margin-top: 3rem; }
.ep-light .ep-note { border-left-color: #0284c7; color: #334155; background: rgba(2,132,199,0.06); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; }
.ep-details { margin-top: 3rem; }
.ep-details details { border-top: 1px solid #303948; padding: 0; }
.ep-details details:last-child { border-bottom: 1px solid #303948; }
.ep-light .ep-details details { border-top-color: #cbd5e1; }
.ep-light .ep-details details:last-child { border-bottom-color: #cbd5e1; }
.ep-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; font-size: clamp(1.1rem,2vw,1.5rem); cursor: pointer; }
.ep-light .ep-details summary { color: #0f172a; font-weight: 600; }
.ep-details summary::-webkit-details-marker { display:none; }
.ep-details summary::after { content: '+'; font-weight: 300; color: #9ab5d8; font-size: 1.8rem; margin-left: 2rem; }
.ep-light .ep-details summary::after { color: #0284c7; font-weight: 600; }
.ep-details details[open] summary::after { content: '−'; }
.ep-details details p { color: #a2adbc; max-width: 710px; padding-bottom: 1.8rem; line-height: 1.9; }
.ep-light .ep-details details p,
.ep-light .ep-details details ul,
.ep-light .ep-details details li,
.ep-light .ep-details details div { color: #1e293b !important; max-width: 760px; font-size: 1rem; line-height: 1.85; }
.ep-light .ep-details details strong,
.ep-light .ep-details details b { color: #0f172a !important; font-weight: 700; }
.ep-light .ep-details details a { color: #0284c7 !important; text-decoration: underline; font-weight: 500; }
.ep-light .ep-details details a:hover { color: #0369a1 !important; }
.ep-text-link { color: inherit; display: inline-flex; gap: 2rem; text-decoration: none; padding: .6rem 0; border-bottom: 1px solid #71829a; margin-top: 1.5rem; font-size: .9rem; }
.ep-text-link span { transition: transform .35s var(--ui-ease); }
.ep-text-link:hover span { transform: translate(4px,-3px); }
.ep-close { padding: 6rem 0; text-align: center; border-top: 1px solid #293140; background: radial-gradient(ellipse at 50% 100%,#25395655,transparent 75%); }
.ep-close h2 { font-size: clamp(2.8rem,5.5vw,5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.06em; margin: 1.5rem 0; }
.ep-close p { color: #a4adbc; max-width: 540px; margin: auto; line-height: 1.8; }
.ep-close .ep-actions { justify-content: center; }
.ep-source-visual { border: 1px solid #3e4d62; border-radius: 20px; overflow: hidden; background: linear-gradient(140deg,#182332,#0b1019); transform: rotate(-3deg); box-shadow: 0 30px 100px #0005; }
.ep-source-top { padding: 1rem 1.5rem; border-bottom: 1px solid #ffffff15; display: flex; justify-content: space-between; color: #93a7c3; font-size: .68rem; }
.ep-source-body { padding: 2.5rem; }
.ep-code-mark { font-size: 5rem; line-height: 1; color: #d3e3fb; letter-spacing: -.12em; margin-bottom: 2rem; }
.ep-source-body p { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.4; }
.ep-source-body small { display: block; margin-top: 1rem; color: #98a9c0; line-height: 1.7; }
.ep-paths { margin-top: 3rem; }
.ep-path { display: grid; grid-template-columns: 60px 1fr 1.2fr 32px; gap: 2rem; padding: 2rem 0; border-top: 1px solid #b7c0cb; text-decoration: none; color: inherit; align-items: baseline; }
.ep-path:last-child { border-bottom: 1px solid #b7c0cb; }
.ep-path h3 { font-size: 1.6rem; letter-spacing: -.035em; font-weight: 500; }
.ep-path p { font-size: .92rem; line-height: 1.8; color: #526073; }
.ep-path .ep-arrow { transition: transform .35s var(--ui-ease); font-size: 1.4rem; }
.ep-path:hover .ep-arrow { transform: translate(5px,-5px); }
.ep-process { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3.5rem; }
.ep-process article { border-top: 1px solid #354153; padding-top: 1.5rem; }
.ep-process h3 { font-size: 1.5rem; font-weight: 500; margin: 1.4rem 0 1rem; letter-spacing: -.035em; }
.ep-process p { color: #a2adbc; line-height: 1.85; font-size: .92rem; }
.ep-mission { font-size: clamp(1.8rem,3.4vw,3.2rem); letter-spacing: -.04em; line-height: 1.35; max-width: 960px; }
.ep-mission strong { font-weight: 500; color: #567499; }
.ep-values { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5rem; }
.ep-value-row { display: grid; grid-template-columns: 40px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid #303948; }
.ep-value-row h3 { font-weight: 500; font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 1rem; }
.ep-value-row p { color: #a2adbc; line-height: 1.85; }
.ep-creator { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center; }
.ep-monogram { display: grid; place-items: center; aspect-ratio: 1; font-size: clamp(5rem,11vw,10rem); letter-spacing: -.11em; font-weight: 400; background: #e0e5ed; border: 1px solid #c4cfde; border-radius: 50%; max-width: 340px; color: #465b78; }
.ep-creator p { color: #526073; line-height: 1.9; }
.ep-roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ep-roadmap p { color: #a2adbc; line-height: 1.85; margin-top: 1.5rem; }
.ep-roadmap .ep-status { display: inline-block; font-size: .65rem; color: #bac9df; border: 1px solid #3b4a5e; border-radius: 99px; padding: .5rem .8rem; margin-top: 1.5rem; }
@media(max-width:850px) {
 .editorial-page .ep-wrap { width: calc(100% - 3rem); }
 .ep-hero { padding-top: 9rem; padding-bottom: 4rem; }
 .ep-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
 .ep-hero h1 { font-size: clamp(3.6rem,10vw,5.5rem); }
 .ep-orbital { max-width: 400px; width: 100%; margin: auto; }
 .ep-source-visual { max-width: 500px; transform: none; }
 .ep-section { padding: 4rem 0; }
 .ep-boundary,.ep-values,.ep-creator,.ep-roadmap { grid-template-columns: 1fr; gap: 2.5rem; }
 .ep-process { grid-template-columns: 1fr; gap: 1rem; }
 .ep-path { grid-template-columns: 32px 1fr 25px; gap: 1rem; }
 .ep-path p { grid-column: 2; }
 .ep-path .ep-arrow { grid-column: 3; grid-row: 1; }
 .ep-monogram { max-width: 230px; width: 100%; }
 .ep-rail { gap: 1rem; flex-wrap: wrap; font-size: .6rem; }
}
@media(prefers-reduced-motion:reduce) {
 .editorial-page *, .editorial-page *::before, .editorial-page *::after { animation: none !important; transition: none !important; }
}

.ep-creator-photo { object-fit: cover; object-position: center; width: 100%; height: auto; }

/* Wider desktop chapters; small screens retain their compact reading flow. */
@media(min-width:1100px) {
 .editorial-page .ep-wrap { width: min(1240px,calc(100% - 6rem)); }
 .ep-hero { min-height: 88svh; display: grid; align-items: center; padding-block: 10rem 5rem; }
 .ep-section { min-height: 76svh; display: grid; align-items: center; padding-block: clamp(7rem,12vh,10rem); }
 .ep-lead { font-size: 1.15rem; }
 .ep-boundary p,.ep-value-row p,.ep-creator p,.ep-roadmap p { font-size: 1.05rem; }
 .ep-source-body { padding: 3.5rem; }
 .ep-monogram { max-width: 400px; }
}

.ep-close.ep-light { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.ep-close.ep-light .ep-kicker { color: #0284c7; font-weight: 600; }
.ep-close.ep-light p { color: #334155; }

/* About hero uses the actual Orbit identity. */
.ep-brand-visual { display: grid; place-items: center; min-width: 0; padding: clamp(1rem, 3vw, 3rem); }
.ep-brand-logo { display: block; width: min(100%, 380px); height: auto; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 900px) { .ep-brand-logo { width: min(65vw, 280px); } }

/* Keep the About introduction balanced at intermediate widths as well as phones. */
.about-hero .ep-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.about-hero .ep-hero-grid > div { min-width: 0; }
.about-hero .ep-brand-visual { padding: 0; }
.about-hero .ep-brand-logo { width: min(100%, 420px); border-radius: 50%; }
.about-hero h1 { font-size: clamp(3rem, 5.7vw, 6.2rem); text-wrap: balance; }
@media (max-width: 900px) {
 .about-hero .ep-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
 .about-hero .ep-brand-logo { width: min(58vw, 280px); }
 .about-hero .ep-brand-visual { padding-block: .5rem; }
 .editorial-page .about-hero h1 { font-size: clamp(2.65rem, 7.7vw, 4.7rem); }
}
