/* Escaype uses the existing Field Notes tokens in both themes. */
.escaype { padding-block:68px 56px; border-top:1px solid var(--rule); }
.escaype figure { margin:0; }
.escaype img { display:block; width:100%; height:auto; }
.esc-heading { display:grid; grid-template-columns:3fr 2fr; align-items:end; gap:60px; margin-bottom:36px; }
.esc-heading h2 { font:500 clamp(32px,3.5vw,48px)/1.12 var(--font-display); letter-spacing:-.035em; margin:0; }
.esc-heading>p { max-width:300px; font-size:17px; line-height:1.65; margin:0 0 3px; color:var(--muted); }
.esc-observations { display:grid; grid-template-columns:3fr 2fr; gap:40px; align-items:center; }
.esc-map { min-width:0; }
.esc-map-controls { display:flex; gap:20px; border-bottom:1px solid var(--rule); margin-bottom:12px; }
.esc-map-controls[hidden],.esc-map figure[hidden] { display:none; }
.esc-map-controls button { min-height:44px; padding:8px 0; border:0; border-bottom:2px solid transparent; background:none; color:var(--muted); cursor:pointer; font:11px var(--font-mono); }
.esc-map-controls button[aria-pressed=true] { color:var(--accent); border-bottom-color:var(--accent); }
.esc-map-controls button:hover { color:var(--accent); }
.esc-map img { border-radius:3px; }
.esc-map figcaption { font:10px/1.6 var(--font-mono); color:var(--muted); padding-top:10px; }
.esc-map figure+figure { margin-top:20px; }
.esc-map:has(.esc-map-controls:not([hidden])) figure { margin-top:0; }
.esc-example-forecast { text-align:center; margin:0 0 22px; }
.esc-example-forecast .eyebrow { display:block; margin:0 0 9px; }
.esc-example-forecast strong { display:block; font:500 26px var(--font-display); }
.esc-example-forecast>span:last-child { display:block; margin-top:8px; font:10px/1.7 var(--font-mono); color:var(--muted); }
.esc-skies { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.esc-skies img { border-radius:3px; }
.esc-skies figcaption { font:500 16px/1.4 var(--font-display); padding-top:10px; }
.esc-skies figcaption span { display:block; font:9px var(--font-mono); margin-bottom:5px; color:var(--muted); }
.esc-caption { font-size:13px; margin:22px 0 6px; }
.esc-footnote { font-size:10px; line-height:1.6; color:var(--muted); margin:0; max-width:340px; }
.esc-pipeline { background:#1B1A18; color:#EDEAE3; margin-top:48px; padding:32px; border-radius:3px; }
.esc-pipeline .eyebrow { color:#9A958B; margin-bottom:10px; }
.esc-pipeline h3 { font:500 30px/1.2 var(--font-display); margin:0 0 10px; letter-spacing:-.02em; }
.esc-pipeline header>p:last-child { font-size:12px; line-height:1.7; color:#bcb7ad; margin:0; }
.esc-steps { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); list-style:none; padding:0; margin:32px 0 0; gap:22px; }
.esc-steps li { position:relative; border-top:1px solid #555149; padding-top:22px; }
.esc-steps li:not(:last-child)::after { content:'→'; position:absolute; right:-16px; top:-11px; color:#bcb7ad; font:16px var(--font-mono); }
.esc-steps svg { width:42px; height:36px; fill:none; stroke:currentColor; stroke-width:1.3; stroke-linejoin:round; stroke-linecap:round; margin-bottom:16px; }
.esc-steps h4 { font:500 15px/1.35 var(--font-body); margin:0 0 10px; }
.esc-steps p { font-size:11px; line-height:1.75; color:#bcb7ad; margin:0; }
.esc-outcomes { display:grid; grid-template-columns:1fr 1fr; gap:64px; padding-block:40px 32px; }
.esc-outcomes .eyebrow { margin-bottom:12px; }
.esc-outcomes h3 { font:14px/1.5 var(--font-body); margin:0; }
.esc-outcomes h3 strong { display:block; font:500 48px/1.1 var(--font-display); letter-spacing:-.04em; margin-bottom:6px; }
.esc-outcomes article>p:last-child { font-size:12px; line-height:1.75; color:var(--muted); max-width:380px; margin:0; }
.esc-overhead,.esc-accuracy { margin:24px 0 20px; }
.esc-overhead>div,.esc-accuracy>div { display:grid; grid-template-columns:60px 1fr; align-items:center; gap:14px; margin:12px 0; font:10px var(--font-mono); color:var(--muted); }
.esc-outcomes i { display:block; height:9px; background:var(--text); }
.esc-outcomes div>div:first-child i { opacity:.3; }
.esc-overhead>div:last-child i { width:15%; }
.esc-accuracy>div:first-child i { width:60%; }
.esc-accuracy>div:last-child i { width:90%; }
.esc-more { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid var(--rule); padding-top:20px; font:10px/1.6 var(--font-mono); color:var(--muted); }
.esc-more .read-more { font-size:12px; }
/* Low-specificity defaults for shared HTML hooks; P2/P4 own their final behavior. */
:where(.read-more) { background:transparent; color:inherit; font:inherit; border:1px solid currentColor; border-radius:3px; padding:10px 16px; min-height:44px; cursor:pointer; width:fit-content; margin-top:12px; }
:where(.read-more):hover { color:var(--accent,#E07A5B); }
:where(.terrain-labels) button { position:absolute; left:0; top:0; font:10px var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:#dfe4e7; background:#10161bd9; border:1px solid #4b565e; padding:6px 9px 6px 20px; white-space:nowrap; pointer-events:auto; cursor:pointer; }
:where(.terrain-labels) button::before { content:''; position:absolute; left:8px; top:50%; width:5px; height:5px; margin-top:-2.5px; border-radius:50%; background:#ff3548; opacity:.45; }
:where(.terrain-labels) button.on { color:#fff; border-color:#ff3548; }
:where(.terrain-labels) button.on::before { opacity:1; }
@keyframes esc-step { from { opacity:.35; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:no-preference) {
  .esc-steps.is-playing li { animation:esc-step .65s cubic-bezier(.2,.7,.2,1) both; }
  .esc-steps.is-playing li:nth-child(2) { animation-delay:.18s; }
  .esc-steps.is-playing li:nth-child(3) { animation-delay:.36s; }
  .esc-steps.is-playing li:nth-child(4) { animation-delay:.54s; }
  .esc-steps.is-playing li:nth-child(5) { animation-delay:.72s; }
  .esc-steps.is-playing li:nth-child(6) { animation-delay:.9s; }
}
@media(max-width:1000px) {
  .esc-heading,.esc-observations { gap:28px; }
  .esc-steps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
  .esc-steps li:nth-child(3)::after { content:'↓'; }
}
@media(max-width:760px) {
  .escaype { padding-block:40px; }
  .esc-heading,.esc-observations { grid-template-columns:1fr; gap:24px; }
  .esc-heading { margin-bottom:20px; }
  .esc-heading>p { font-size:15px; max-width:290px; }
  .esc-evenings { padding-top:14px; }
  .esc-pipeline { padding:24px; margin-top:32px; }
  .esc-pipeline h3 { font-size:27px; }
  .esc-steps { grid-template-columns:1fr; gap:0; margin-top:28px; }
  .esc-steps li { display:grid; grid-template-columns:40px 1fr; column-gap:18px; padding:0 0 28px; border-top:0; }
  .esc-steps li:last-child { padding-bottom:0; }
  .esc-steps svg { width:36px; grid-row:1 / 3; margin:0; }
  .esc-steps li:not(:last-child)::after { content:''; top:45px; bottom:10px; left:18px; right:auto; width:1px; background:#555149; }
  .esc-steps h4 { font-size:15px; margin-bottom:6px; }
  .esc-steps p { font-size:12px; }
  .esc-outcomes { grid-template-columns:1fr; gap:30px; padding-top:32px; }
  .esc-outcomes article+article { border-top:1px solid var(--rule); padding-top:28px; }
  .esc-outcomes h3 strong { font-size:44px; }
  .esc-more { gap:12px; }
  :where(.terrain-labels) button { font-size:9px; padding:5px 7px 5px 17px; }
}
