/* Bumpcast visual update 4 (owner mockups, 21 Nov 2026). Presentation only. Loaded after visual-v3.css. */

/* ---------- 1. route preview card (always the dark "space" card, in light and dark themes) ---------- */
@media (min-width:981px){.hero-grid{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(28px,3.6vw,56px)}}
.hero-card.v4{--c-ink:#f4f8fc;--c-muted:#b4c6d6;--c-line:rgba(160,195,225,.16);
  display:flex;flex-direction:column;padding:0;overflow:hidden;color:var(--c-ink);border:1px solid #2c4560;border-radius:24px;
  background:radial-gradient(120% 80% at 70% 0%,#13294a 0%,#0b1a30 55%,#09152a 100%);box-shadow:0 30px 70px -45px rgba(2,8,20,.9)}
.hero-card.v4 .hc-stage{position:relative;min-height:clamp(300px,27vw,380px);overflow:hidden}
.hero-card.v4 .hero-globe-wrap{position:absolute;inset:-4% -6% -16% 34%;height:auto;margin:0;border:0;border-radius:0;background:none}
.hero-card.v4 .hero-globe-wrap canvas{width:100%;height:100%}
.hero-card.v4 .hc-copy{position:relative;z-index:2;max-width:min(330px,52%);padding:clamp(20px,2.6vw,32px) 0 24px clamp(20px,2.6vw,32px)}
.hero-card.v4 .hc-copy::before{content:"";position:absolute;inset:-40px -60px -40px -40px;z-index:-1;background:radial-gradient(closest-side,rgba(8,20,38,.78),rgba(8,20,38,0));pointer-events:none}
.hero-card.v4 .hc-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(190,215,240,.45);border-radius:999px;padding:6px 14px 6px 11px;font-size:14px;color:var(--c-ink);background:rgba(8,20,38,.45)}
.hero-card.v4 .hc-pill svg{width:17px;height:17px;fill:currentColor;transform:rotate(90deg)}
.hero-card.v4 .hc-pill .hc-v{border:0;padding:0;font-size:14px;color:inherit}
.hero-card.v4 .hc-flt{display:block;margin:18px 0 4px;font-size:clamp(32px,3.4vw,46px);line-height:1.04;font-weight:780;letter-spacing:-.03em;color:#fff}
.hero-card.v4 .hc-verdict{margin:0 0 14px;font-size:clamp(15px,1.25vw,18px);font-weight:450;color:#cddbe7}
.hero-card.v4 .hc-desc{margin:0;font-size:15px;line-height:1.6;color:var(--c-muted)}
.hero-card.v4 .earth-caption{position:absolute;right:16px;bottom:10px;z-index:2;margin:0;text-align:right;font-size:11px;color:#c0d3e2;text-shadow:0 1px 6px #04101f}
.hero-card.v4 .hc-facts{margin:0 clamp(18px,2.4vw,30px);padding:0;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--c-line);border-bottom:1px solid var(--c-line)}
.hero-card.v4 .hc-facts div{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:16px 10px 16px 14px;border-left:1px solid var(--c-line)}
.hero-card.v4 .hc-facts div:first-child{padding-left:0;border-left:0}
.hero-card.v4 .hc-facts div::before{content:"";grid-row:1/3;width:40px;height:40px;border-radius:11px;background:rgba(150,190,230,.1) center/22px no-repeat;border:1px solid rgba(160,200,235,.14)}
.hero-card.v4 .hc-facts div:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ebf7' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='5' cy='17' r='2'/%3E%3Cpath d='M19 3a3 3 0 0 0-3 3c0 2.2 3 5 3 5s3-2.8 3-5a3 3 0 0 0-3-3z'/%3E%3Cpath d='M7 17h3l6-5' stroke-dasharray='2 2.4'/%3E%3C/svg%3E")}
.hero-card.v4 .hc-facts div:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ebf7' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
.hero-card.v4 .hc-facts div:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ebf7' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5z'/%3E%3Cpath d='M3 12.5l9 5 9-5M3 16.5l9 5 9-5'/%3E%3C/svg%3E")}
.hero-card.v4 .hc-facts dt{font-size:13.5px;color:var(--c-muted)}
.hero-card.v4 .hc-facts dd{margin:0;font-size:clamp(15px,1.3vw,19px);font-weight:760;color:#fff;letter-spacing:-.01em;line-height:1.25}
.hero-card.v4 #heroSvg{margin:12px clamp(18px,2.4vw,30px) 0;width:auto;background:none;border-radius:0}
.hero-card.v4 #heroSvg .ax{fill:#b9cad8}
.hero-card.v4 #heroSvg .ph{fill:#c6d5e2;font-size:12.5px}
.hero-card.v4 #heroSvg .phn{fill:#fff}
.hero-card.v4 #heroSvg path.draw,.hero-card.v4 #heroSvg path[style*="stroke:var(--ink)"]{stroke:#f2f8ff!important;filter:drop-shadow(0 0 4px rgba(150,210,255,.45))}
.hero-card.v4 #heroSvg line[style*="var(--line)"]{stroke:rgba(170,200,230,.16)!important}
.hero-card.v4 #heroSvg line[style*="var(--muted)"]{stroke:rgba(190,215,235,.5)!important}
.hero-card.v4 .hc-bottom{display:flex;align-items:center;gap:18px;margin:14px clamp(18px,2.4vw,30px) 0;padding:16px 0 clamp(18px,2.4vw,26px);border-top:1px solid var(--c-line)}
.hero-card.v4 .hc-foot{flex:1;display:flex;gap:10px;align-items:flex-start;margin:0;font-size:13.5px;line-height:1.5;color:var(--c-muted)}
.hero-card.v4 .hc-foot::before{content:"i";flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1.5px solid #b9cad8;font:700 12px/1 Georgia,serif;color:#cfe0ec;margin-top:1px}
.hero-card.v4 .hc-bottom .btn{flex:none;min-height:50px;padding:12px 22px;border-radius:12px;font-size:16px;background:#e3f1f1;color:#0f2532;border:0}
.hero-card.v4 .hc-bottom .btn::after{content:"→";margin-left:8px;font-weight:700}
@media (max-width:620px){
  .hero-card.v4 .hc-stage{min-height:0;display:flex;flex-direction:column}
  .hero-card.v4 .hc-copy{max-width:none;padding:20px 20px 0}
  .hero-card.v4 .hc-flt{font-size:34px;margin-top:14px}
  .hero-card.v4 .hero-globe-wrap{position:relative;inset:auto;height:250px;margin:4px 0 0}
  .hero-card.v4 .earth-caption{position:static;text-align:center;padding:0 16px 8px}
  .hero-card.v4 .hc-facts div{grid-template-columns:1fr;padding:12px 6px 12px 10px}
  .hero-card.v4 .hc-facts div::before{display:none}
  .hero-card.v4 .hc-facts dd{font-size:15px;white-space:normal}
  .hero-card.v4 .hc-bottom{flex-direction:column;align-items:stretch}
}

/* ---------- 2. turbulence explainer ---------- */
[data-view="learn"] .sim.v4 .sim-grid{align-items:start;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
@media (max-width:980px){[data-view="learn"] .sim.v4 .sim-grid{grid-template-columns:1fr}}
[data-view="learn"] .sim.v4 .sim-grid>.sim-view{background:#172c45}
[data-view="learn"] .sim.v4 .sim-scene{position:absolute;inset:0;width:100%;height:100%;display:block}
.sim-scene .mug-body{fill:#f4f2ee}
.sim-scene .mug-shade{fill:#d9d6d0;opacity:.8}
.sim-scene .mug-handle{stroke:#ecebe6}
.sim-scene .mug-rim{fill:#fbfaf7}
.sim-scene .coffee{fill:#2a1a10}
.sim-scene .crema{fill:none;stroke:#6b4a33;stroke-width:1.2;opacity:.55}
.sim-scene .mug-shadow{fill:#1d2c40;opacity:.42}
.sim-scene .drops circle{fill:#3a2414}
.sim-scene .steam path{stroke:rgba(255,255,255,.55);stroke-width:3;stroke-linecap:round;stroke-dasharray:6 8;animation:simSteam 2.6s linear infinite}
.sim-scene .steam path+path{animation-delay:-1.3s}
@keyframes simSteam{to{stroke-dashoffset:-28}}
@media (prefers-reduced-motion:reduce){.sim-scene .steam path{animation:none}}
[data-view="learn"] .sim.v4 .sim-disclaimer{display:none}
[data-view="learn"] .sim.v4 .sim-metrics{gap:0}
[data-view="learn"] .sim.v4 .sim-metrics>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:2px 10px 2px 14px;border-right:0;border-left:1px solid rgba(168,197,221,.2);min-width:0}
[data-view="learn"] .sim.v4 .sim-metrics>div:first-child{padding-left:0;border-left:0}
[data-view="learn"] .sim.v4 .sim-metrics>div::before{content:"";width:24px;height:24px;background:center/contain no-repeat;margin-bottom:2px}
[data-view="learn"] .sim.v4 .sim-metrics>div:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8dce9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3l2 10h7l2 6M9 13l-1 6h10M5 21h14'/%3E%3C/svg%3E")}
[data-view="learn"] .sim.v4 .sim-metrics>div:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8dce9' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 10h13v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5zM17 12h1.5a2.5 2.5 0 0 1 0 5H16M8 3v3M11 2v4M14 3v3'/%3E%3C/svg%3E")}
[data-view="learn"] .sim.v4 .sim-metrics>div:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8dce9' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 17h18M5 17a7 7 0 0 1 14 0M12 8V6M10 6h4'/%3E%3C/svg%3E")}
[data-view="learn"] .sim.v4 .sim-metrics .name{font-size:12.5px;line-height:1.25}
[data-view="learn"] .sim.v4 .sim-metrics .value{font-size:clamp(14px,1.2vw,16px);line-height:1.3;text-wrap:balance}

/* ---------- 3. breathing guide ---------- */
#breathe.v4{padding-top:clamp(26px,3vw,40px);background-position:0% 100%}
#breathe.v4 .br-vib{font-size:13px;color:#d3e2ec;cursor:pointer}
#breathe.v4 .br-vib input{appearance:none;-webkit-appearance:none;flex:none;width:20px;height:20px;margin:0;border:1.5px solid rgba(160,235,230,.7);border-radius:6px;background:rgba(6,20,38,.6);display:grid;place-items:center;cursor:pointer}
#breathe.v4 .br-vib input::after{content:"";width:10px;height:6px;border:2px solid #0b2a3b;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px);opacity:0}
#breathe.v4 .br-vib input:checked{background:linear-gradient(140deg,#c9fefa,#74dce1);border-color:transparent}
#breathe.v4 .br-vib input:checked::after{opacity:1}
#breathe.v4 .br-vib input:focus-visible{outline:3px solid #8dfffb;outline-offset:2px}
#breathe.v4 .br-head{position:relative;z-index:3;text-align:center;margin:0 auto clamp(14px,2vw,26px);max-width:640px}
#breathe.v4 .br-head h2{display:inline-flex;align-items:center;gap:16px;margin:0 0 8px;font-size:clamp(30px,3.6vw,48px);font-weight:780;letter-spacing:-.035em;color:#f8fcff;line-height:1.1}
#breathe.v4 .br-head h2 svg{width:clamp(34px,3.4vw,48px);height:auto;fill:none;stroke:#8ef3e6;stroke-width:3.2;stroke-linecap:round}
#breathe.v4 .br-head p{margin:0;color:#c3d5e4;font-size:clamp(15px,1.3vw,18px)}
#l-coach>h2.br-dup{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#breathe.v4 .br-track{stroke:url(#brRing);stroke-width:2.4;opacity:.9;filter:drop-shadow(0 0 6px rgba(120,220,240,.35))}
#breathe.v4 .br-prog{stroke:#c8fff9;stroke-width:3}
#breathe.v4 .br-waves path{fill:rgba(120,190,235,.12)}
#breathe.v4 .br-waves path+path{fill:rgba(140,170,240,.12)}
#breathe.v4 .br-center::before{display:none}
#breathe.v4 .br-lungs{width:46px;height:40px;fill:none;stroke:#8fb2ea;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px}
#breathe.v4 .br-stage{overflow:visible;margin-top:30px;margin-bottom:30px}
#breathe.v4 .br-mark{position:absolute;z-index:4;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:14px;color:#e2eef7;line-height:1.1;pointer-events:none}
#breathe.v4 .br-mark i{font-style:normal;font-size:15px;letter-spacing:1px;color:#e9f6ff}
#breathe.v4 .br-mark.t{left:50%;top:-4%;transform:translate(-50%,-50%)}
#breathe.v4 .br-mark.b{left:50%;bottom:-4%;transform:translate(-50%,50%)}
#breathe.v4 .br-mark.l{left:-6%;top:50%;transform:translate(-50%,-50%)}
#breathe.v4 .br-mark.r{right:-6%;top:50%;transform:translate(50%,-50%)}
#breathe.v4 .br-lab{text-transform:none;letter-spacing:0;font-size:14px;font-weight:650;color:#c6d6e4}
#breathe.v4 .br-ctl .btn#breatheBtn{display:inline-flex;align-items:center;gap:12px;font-size:19px;min-width:220px}
#breathe.v4 .br-ctl .btn#breatheBtn::before{content:"";width:0;height:0;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent currentColor}
#breathe.v4 .br-ctl .btn#breatheBtn[data-icon="pause"]::before{width:5px;height:18px;border:0;border-left:5px solid currentColor;border-right:5px solid currentColor;box-sizing:content-box;width:4px}
@media (max-width:620px){#breathe.v4 .br-mark.l{left:2%}#breathe.v4 .br-mark.r{right:2%}#breathe.v4 .br-head h2{gap:10px}}

/* ---------- search form: aircraft size menu ---------- */
/* the open menu used the page's light text on the browser's white list; give the options their own colours */
form.search select{color-scheme:light dark;text-overflow:ellipsis;padding-right:26px!important;font-size:17px!important}
form.search select option{background:#ffffff;color:#14233b}
:root[data-theme="dark"] form.search select option{background:#152235;color:#edf3f8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) form.search select option{background:#152235;color:#edf3f8}}
form.search select option:checked{background:#cfe6ea;color:#0f2532}
/* give the aircraft menu the full width so "Regional jet (CRJ, E175)" fits; the button gets its own row */
form.search .f-ac{grid-column:1/-1!important;border-radius:0!important}
form.search .f-go{grid-column:1/-1!important;border-left:0!important}
/* breathing panel: never let the controls run off the edge. Two columns only when the panel has room for them;
   otherwise the guide sits above the controls. Long button labels wrap instead of pushing the column wider. */
#breathe.v4{container-type:inline-size}
#breathe.v4 .br-side-col{min-width:0;max-width:100%}
#breathe.v4 .br-seg{flex-wrap:nowrap;max-width:100%}
#breathe.v4 .br-seg button{flex:1 1 0;min-width:0;white-space:normal;overflow-wrap:anywhere;padding-left:8px;padding-right:8px}
#breathe.v4 .br-lead{overflow-wrap:break-word}
@container (max-width:900px){
  #breathe.v4 .br-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px;min-height:0}
  #breathe.v4 .br-stage{width:min(100%,300px);max-width:300px}
  #breathe.v4 .br-side-col{width:100%;max-width:560px;margin:0 auto;padding:18px 20px;background:rgba(4,17,32,.55);border:1px solid rgba(197,232,248,.08)}
  #breathe.v4 .br-side-col h3{text-align:left}
}
@container (max-width:900px){#breathe.v4 .br-ctl .btn#breatheBtn{min-width:0;width:100%;justify-content:center}}
#breathe.v4 .br-mark{text-shadow:0 1px 3px #031022,0 0 10px #031022}
