/* The bootcamp hero landscape uses the catalogue's shared light/dark theme. */
.ct-exp-hero {
    --ct-map-surface: #fffdfd;
    --ct-map-land: #e9dff4;
    --ct-map-edge-light: #e2d2ee;
    --ct-map-edge-dark: #bda3d8;
    --ct-map-line: #c6b2d9;
    --ct-map-contour: #cab5dc;
    --ct-map-road-rim: #fdfaff;
    --ct-map-screen: #30243f;
    --ct-map-summit: #dcc8f1;
    --ct-map-leaf: #baa2d2;
    --ct-map-page: #fffbff;
    position: relative;
    isolation: isolate;
    overflow: clip;
    border-bottom: 1px solid var(--ct-line);
    background: radial-gradient(ellipse at 27% 54%, var(--ct-hero-glow), transparent 51%), linear-gradient(105deg, var(--ct-hero-surface), var(--ct-page));
}
[data-ct-lesson-theme="dark"] .ct-exp-hero {
    --ct-map-surface: #594268;
    --ct-map-land: #342540;
    --ct-map-edge-light: #37243f;
    --ct-map-edge-dark: #684683;
    --ct-map-line: #856395;
    --ct-map-contour: #88649e;
    --ct-map-road-rim: #c4a7df;
    --ct-map-screen: #21182d;
    --ct-map-summit: #805da2;
    --ct-map-leaf: #816392;
    --ct-map-page: #d5bfeb;
}
.ct-exp-overline { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding-top: 10px; gap: 12px 20px; flex-wrap: wrap; font-size: 10px; line-height: 1; color: var(--ct-muted); }
.ct-exp-overline nav { display: flex; gap: 12px; align-items: center; }
.ct-exp-overline nav a:hover { color: var(--ct-accent); }
.ct-exp-edition { display: flex; align-items: center; gap: 10px; font: 8px monospace; letter-spacing: 1.7px; }
.ct-exp-edition i { width: 5px; height: 5px; border-radius: 50%; background: var(--ct-accent); box-shadow: 0 0 0 4px var(--ct-soft); }
.ct-exp-edition > span { font: 17px/1 sans-serif; margin-left: 6px; color: var(--ct-accent); }
.ct-exp-hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.16fr); align-items: center; gap: 35px; padding-block: 0 16px; }
.ct-exp-copy { min-width: 0; padding-block: 10px; }
.ct-exp-copy h1 { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 750; color: var(--ct-accent); letter-spacing: .3px; }
.ct-exp-copy h1 svg { width: 20px; height: 20px; }
.ct-exp-copy .ct-exp-title { margin-top: 11px; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.22; letter-spacing: -2px; font-weight: 900; }
.ct-exp-title > span, .ct-exp-title > em { display: table; }
.ct-exp-title > em { position: relative; color: var(--ct-accent); }
.ct-exp-title svg { position: absolute; width: 91%; height: 11px; bottom: -5px; inset-inline-start: 3%; stroke: var(--ct-accent); stroke-width: 1.7; stroke-linecap: round; opacity: .48; }
.ct-exp-copy .ct-exp-lead { max-width: 440px; margin-top: 18px; color: var(--ct-muted); font-size: 12px; line-height: 2; }
.ct-exp-actions { display: flex; align-items: center; gap: 24px; margin-top: 21px; }
.ct-exp-actions > .ct-catalog-button { min-height: 47px; padding: 11px 19px; font-size: 12px; gap: 30px; border-radius: 10px; }
.ct-exp-actions > p { display: flex; gap: 14px; align-items: center; font-size: 10px; color: var(--ct-muted); }
.ct-exp-actions > p > span { display: flex; align-items: baseline; gap: 6px; }
.ct-exp-actions b { font: 20px monospace; color: var(--ct-accent); }
.ct-exp-actions i { height: 23px; width: 1px; background: var(--ct-line-strong); opacity: .7; }
.ct-exp-map { position: relative; min-width: 0; direction: ltr; width: 100%; isolation: isolate; }
.ct-exp-map-halo { position: absolute; width: 83%; height: 77%; left: 9%; top: 12%; background: radial-gradient(ellipse, var(--ct-hero-glow), transparent 70%); z-index: -1; }
.ct-exp-map-svg { width: 100%; height: 306px; display: block; overflow: visible; }
.ct-exp-map-caption { display: flex; justify-content: center; align-items: center; gap: 11px; margin-top: -2px; color: var(--ct-muted); font-size: 9px; }
.ct-exp-caption-line { width: 27px; height: 1px; background: var(--ct-line-strong); }
.ct-exp-map-caption b { font: 7px monospace; letter-spacing: 1px; border-left: 1px solid var(--ct-line-strong); padding-left: 11px; }
.ct-exp-stop-surface { stop-color: var(--ct-map-surface); }
.ct-exp-stop-land { stop-color: var(--ct-map-land); }
.ct-exp-stop-edge-light { stop-color: var(--ct-map-edge-light); }
.ct-exp-stop-edge-dark { stop-color: var(--ct-map-edge-dark); }
.ct-exp-map-edge { stroke: var(--ct-map-line); stroke-width: .8; }
.ct-exp-map-rim { stroke: var(--ct-map-surface); stroke-width: 1.2; opacity: .8; }
.ct-exp-contours { stroke: var(--ct-map-contour); stroke-width: .85; opacity: .65; }
.ct-exp-survey-grid { stroke: var(--ct-map-contour); stroke-width: .65; opacity: .25; }
.ct-exp-road-border { stroke: var(--ct-map-road-rim); }
.ct-exp-plinth-top { fill: var(--ct-map-surface); stroke: var(--ct-map-line); stroke-width: .7; }
.ct-exp-plinth-side { fill: var(--ct-map-edge-light); stroke: var(--ct-map-line); stroke-width: .7; }
.ct-exp-plinth-edge { stroke: var(--ct-map-line); stroke-width: .7; }
.ct-exp-stems { stroke: var(--ct-map-line); stroke-width: 2; stroke-linecap: round; }
.ct-exp-leaf { fill: var(--ct-map-leaf); }
.ct-exp-small-stones { fill: var(--ct-map-edge-dark); opacity: .75; }
.ct-exp-book-shadow { fill: var(--ct-map-edge-dark); opacity: .27; }
.ct-exp-book-page { fill: var(--ct-map-page); stroke: var(--ct-map-line); stroke-width: .65; }
.ct-exp-book-lines { stroke: #aa86c9; stroke-width: 1.2; stroke-linecap: round; }
.ct-exp-book-spine { stroke: #c4a9dc; stroke-width: 1; }
.ct-exp-laptop-base { fill: var(--ct-map-summit); stroke: #9674b9; stroke-width: .7; }
.ct-exp-laptop-keys { fill: #aa88ce; }
.ct-exp-laptop-trackpad { fill: #ddc6f1; }
.ct-exp-screen { fill: var(--ct-map-screen); }
.ct-exp-summit-side { fill: var(--ct-map-edge-dark); stroke: var(--ct-map-line); stroke-width: .7; }
.ct-exp-summit-top { fill: var(--ct-map-summit); stroke: #baa0d3; stroke-width: .7; }
.ct-exp-flag-foot { fill: #624485; opacity: .25; }
.ct-exp-flag-pole { stroke: #806392; stroke-width: 3.2; stroke-linecap: round; }
.ct-exp-flag-cap { fill: #b99bcf; stroke: #765b8a; stroke-width: .7; }
.ct-exp-map-label > path { stroke: var(--ct-line-strong); stroke-width: 1; stroke-linecap: round; }
.ct-exp-map-label > circle { fill: var(--ct-surface); stroke: var(--ct-line-strong); stroke-width: .9; }
.ct-exp-map-number { fill: var(--ct-accent); text-anchor: middle; font: 10px monospace; }
.ct-exp-map-step { fill: var(--ct-muted); text-anchor: middle; font: 650 12px 'Cairo', sans-serif; }
[dir="rtl"] .ct-exp-map-step { direction: rtl; }
.ct-exp-beacon { transform-box: fill-box; transform-origin: center; }
.ct-exp-beacon ellipse { stroke: #b694d6; stroke-width: 1.5; }
.ct-exp-map-sparks { stroke: var(--ct-accent); stroke-width: 1; stroke-linecap: round; opacity: .65; }
.ct-exp-map-sparks circle { fill: var(--ct-accent); stroke: none; }
.ct-exp-compass { stroke: var(--ct-line-strong); stroke-width: .8; }
.ct-exp-compass > path { fill: var(--ct-map-land); stroke: var(--ct-accent); }
.ct-exp-compass text { font: 8px monospace; fill: var(--ct-muted); text-anchor: middle; stroke: none; }
.ct-exp-route-flow { animation: ct-exp-travel 13s linear infinite; animation-play-state: paused; }
.ct-exp-flag-cloth { transform-origin: 496px 60px; animation: ct-exp-flag-wave 5s ease-in-out infinite; animation-play-state: paused; }
.ct-exp-beacon { animation: ct-exp-beacon-pulse 4.8s ease-out infinite; animation-play-state: paused; }
.ct-exp-map.ct-bc-animate :is(.ct-exp-route-flow,.ct-exp-flag-cloth,.ct-exp-beacon) { animation-play-state: running; }
@keyframes ct-exp-travel { to { stroke-dashoffset: -180; } }
@keyframes ct-exp-flag-wave { 0%,100% { transform: skewY(-2deg); } 50% { transform: skewY(3deg); } }
@keyframes ct-exp-beacon-pulse { 0% { scale: .55; opacity: 0; } 25% { opacity: .65; } 85%,100% { scale: 1.35; opacity: 0; } }
[dir="rtl"] .ct-exp-copy { text-align: right; }
[dir="ltr"] .ct-exp-copy .ct-exp-title { font-size: clamp(35px,3.6vw,49px); letter-spacing: -1.8px; }
@media (min-width: 1500px) { .ct-exp-map-svg { height: 320px; }.ct-exp-hero-grid { padding-block: 13px 28px; } }
@media (max-width: 1100px) {
    .ct-exp-hero-grid { gap: 12px; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); }
    .ct-exp-copy .ct-exp-title { font-size: 43px; }
    .ct-exp-map-svg { height: 291px; }
    .ct-exp-actions { gap: 15px; }
    .ct-exp-actions > p { gap: 9px; font-size: 9px; }
    .ct-exp-actions b { font-size: 17px; }
    .ct-exp-actions > .ct-catalog-button { padding-inline: 15px; gap: 17px; font-size: 11px; }
    .ct-exp-map-caption { font-size: 8px; }.ct-exp-map-caption b { font-size: 6px; }
}
@media (max-width: 800px) {
    .ct-exp-hero-grid { gap: 5px; }
    .ct-exp-copy .ct-exp-title { font-size: 37px; letter-spacing: -1px; }
    .ct-exp-copy .ct-exp-lead { font-size: 11px; margin-top: 15px; }
    .ct-exp-copy h1 { font-size: 10px; }
    .ct-exp-actions { flex-wrap: wrap; gap: 12px; margin-top: 15px; }
    .ct-exp-map-svg { height: 263px; }
    .ct-exp-map-caption b, .ct-exp-caption-line { display: none; }
    [dir="ltr"] .ct-exp-copy .ct-exp-title { font-size: 34px; letter-spacing: -1.2px; }
}
@media (max-width: 640px) {
    .ct-exp-overline { padding-top: 10px; font-size: 9px; }
    .ct-exp-edition { font-size: 6px; letter-spacing: .7px; gap: 7px; }
    .ct-exp-edition > span { font-size: 17px; margin-left: 0; }
    .ct-exp-hero-grid { grid-template-columns: minmax(0,1fr); gap: 2px; padding-block: 10px 12px; }
    .ct-exp-copy { padding: 0; }
    .ct-exp-copy h1 { font-size: 11px; }
    .ct-exp-copy h1 svg { width: 18px; height: 18px; }
    .ct-exp-copy .ct-exp-title { font-size: 38px; line-height: 1.13; letter-spacing: -1.4px; margin-top: 10px; }
    .ct-exp-title > span, .ct-exp-title > em { display: table; }
    .ct-exp-title svg { height: 7px; bottom: -6px; }
    .ct-exp-copy .ct-exp-lead { max-width: 470px; margin-top: 12px; font-size: 11px; line-height: 1.9; }
    .ct-exp-actions { margin-top: 13px; gap: 16px; flex-wrap: nowrap; }
    .ct-exp-actions > .ct-catalog-button { min-height: 44px; padding-inline: 15px; font-size: 11px; gap: 20px; }
    .ct-exp-actions > p { gap: 9px; font-size: 9px; }.ct-exp-actions > p > span { gap: 4px; }
    .ct-exp-actions b { font-size: 17px; }
    .ct-exp-map { width: min(100%,490px); justify-self: center; }
    .ct-exp-map-svg { height: auto; width: 100%; }
    .ct-exp-map-step { font-size: 18px; }
    .ct-exp-map-caption { font-size: 8px; margin-top: 0; }
    .ct-exp-map-caption b { display: block; font-size: 6px; }
    .ct-exp-map-caption .ct-exp-caption-line { display: block; width: 18px; }
    [dir="ltr"] .ct-exp-copy .ct-exp-title { font-size: 36px; line-height: 1.18; letter-spacing: -1.4px; }
}
@media (max-width: 360px) {
    .ct-exp-copy .ct-exp-title { font-size: 35px; }
    .ct-exp-copy .ct-exp-lead { font-size: 10.5px; }
    .ct-exp-actions { gap: 10px; }
    .ct-exp-actions > .ct-catalog-button { font-size: 10px; padding-inline: 11px; gap: 12px; }
    .ct-exp-actions > p { font-size: 8px; gap: 6px; }.ct-exp-actions b { font-size: 15px; }
    .ct-exp-map-caption { gap: 7px; font-size: 7px; }
    .ct-exp-map-caption b { display: none; }
    .ct-exp-edition { font-size: 5px; letter-spacing: .4px; }
    [dir="ltr"] .ct-exp-copy .ct-exp-title { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-exp-hero *, .ct-exp-hero *::before, .ct-exp-hero *::after { animation: none !important; transition: none !important; }
}
