/* Mobile keeps its image-first composition. The desktop override below restores
   the approved full-width cinematic banner while the video is being produced. */
.masthead{min-height:0;overflow:visible;background:radial-gradient(ellipse at 93% 0%,#243e5138,transparent 60%),#061720;isolation:isolate}
.masthead:after{display:none}.masthead .site-header{position:relative;z-index:10}.masthead .desktop-nav{margin-right:0}
.masthead .hero-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.62fr) 310px;grid-template-areas:"copy scene swap";gap:22px;align-items:center;min-height:420px;height:auto;padding:22px 0 36px}
.masthead .hero-copy{grid-area:copy;position:relative;max-width:none;min-width:0;align-self:center;padding:0;z-index:auto}
.masthead .hero-copy h1{font-size:clamp(27px,2.65vw,43px);line-height:1.12;letter-spacing:-1.3px;text-shadow:none;text-wrap:balance}
.masthead .hero-copy p{font-size:16px;line-height:1.65;max-width:305px;margin-top:16px;text-align:left;text-wrap:pretty;text-shadow:none;color:#b9d0df}
.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.masthead .explore-button{min-width:0;min-height:46px;margin:0;padding:11px 17px;font-size:14px;gap:18px}
.masthead .hero-scene{grid-area:scene;position:relative;inset:auto;z-index:auto;margin:0;display:block;width:100%;height:auto;min-width:0;aspect-ratio:16/9;overflow:visible;pointer-events:auto;isolation:isolate}
/* The interim panorama has extra empty cornfield on the left. This fixed framing
   centers the ship and preserves the entire cow, independent of viewport width. */
.hero-poster{display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:52% center;border-radius:0;mask-image:none;-webkit-mask-image:none}
.still-saucer{position:absolute;left:32.4%;top:2%;width:35.2%;height:auto;pointer-events:none}
.still-beam{position:absolute;left:50%;top:32%;height:28%;width:7%;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#a6d5ff50 45%,#d5f0ff80 50%,#a6d5ff50 55%,transparent);clip-path:polygon(44% 0,56% 0,100% 100%,0 100%);pointer-events:none}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:3px;opacity:0}.video-playing .hero-poster{visibility:hidden}.video-playing .hero-video{opacity:1}
.masthead .swap-panel{grid-area:swap;position:relative;align-self:center;width:100%;min-width:0;margin:0;padding:18px 15px 13px;z-index:auto;backdrop-filter:none}
.masthead .swap-heading{flex-wrap:nowrap;gap:8px;margin-bottom:18px}.masthead .swap-heading h2{font-size:16px}
.masthead .chain-select{min-width:0;min-height:32px;padding-left:7px;gap:5px;flex-shrink:0}.masthead .chain-select select{max-width:72px;min-width:0;font-size:12px;padding:6px 2px}.masthead .chain-select .chain-dot{width:13px;height:13px}.masthead .chain-select .chain-dot.base:after{top:5.5px}
.masthead .field-label{font-size:13px;margin-bottom:7px}.masthead .swap-field{height:47px}.masthead .swap-direction{width:31px;height:31px;margin:9px auto;font-size:22px}.masthead .swap-submit{min-height:43px;margin-top:16px}.masthead .swap-note{font-size:10px;line-height:1.5;margin-top:9px}
.cow-hint{position:absolute;left:80%;top:61.5%;width:7%;height:11%;border:0;border-radius:20%;background:transparent;cursor:help}.cow-hint:focus-visible{outline:1px dashed #cbecff;outline-offset:2px;background:#b5e2ff10}
.masthead .motion-toggle{position:absolute;top:auto;bottom:5%;right:3%;min-height:32px;min-width:32px;font-size:10px;padding:6px 9px;z-index:2}.masthead .motion-toggle span{display:inline}
.mobile-swap-toggle{min-height:46px;gap:8px;font-size:13px;white-space:nowrap}
@media(min-width:1650px){.masthead .hero-layout{grid-template-columns:minmax(0,.72fr) minmax(0,1.68fr) 324px;gap:28px;min-height:450px;padding-block:25px 40px}.masthead .hero-copy h1{font-size:43px}.masthead .hero-copy p{font-size:17px}}
@media(min-width:961px) and (max-width:1150px){.masthead .hero-layout{grid-template-columns:minmax(0,.78fr) minmax(0,1.62fr) 272px;gap:15px;padding-block:24px 32px;min-height:395px}.masthead .hero-copy h1{font-size:27px;letter-spacing:-.8px}.masthead .hero-copy p{font-size:14px;line-height:1.6}.masthead .explore-button{font-size:13px;padding-inline:12px;gap:12px}.masthead .swap-panel{padding:15px 12px 12px}.masthead .swap-heading h2{font-size:14px}.masthead .preview-badge{font-size:9px;margin-left:1px;padding-inline:4px}.masthead .chain-select{padding-left:5px;gap:4px}.masthead .chain-select select{max-width:65px;font-size:11px}.masthead .swap-heading{gap:5px}}
/* Compact desktop/tablet: artwork and copy share the left; swap stays right. */
@media(min-width:721px) and (max-width:960px){.masthead .hero-layout{grid-template-columns:minmax(0,1fr) 272px;grid-template-areas:"scene swap" "copy swap";gap:18px 25px;min-height:0;padding-block:20px 32px}.masthead .hero-copy h1{font-size:32px;letter-spacing:-.9px}.masthead .hero-copy p{font-size:14px;max-width:360px;margin-top:10px}.hero-actions{margin-top:16px}.masthead .swap-panel{padding:15px 12px 12px}.masthead .swap-heading h2{font-size:14px}.masthead .preview-badge{font-size:9px;margin-left:1px;padding-inline:4px}.masthead .chain-select select{max-width:65px;font-size:11px}.masthead .swap-heading{gap:5px}}
/* Mobile: complete scene first; controls never cover its subjects. */
@media(max-width:720px){.masthead .site-header{height:62px}.masthead .desktop-nav{display:none;position:absolute;right:0;top:58px;height:auto;background:#071c29f5;border:1px solid #426075;padding:10px 18px;border-radius:6px}.masthead .desktop-nav.open{display:flex}.masthead .mobile-menu{display:inline-flex}.masthead .hero-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"scene" "copy" "swap";gap:0;min-height:0;padding:8px 0 26px}.masthead .hero-scene{height:auto;aspect-ratio:16/9;width:100%}.masthead .hero-copy{padding-top:20px}.masthead .hero-copy h1{font-size:32px;letter-spacing:-.8px;max-width:none}.masthead .hero-copy p{font-size:14px;max-width:100%;line-height:1.5;margin-top:11px}.hero-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;margin-top:18px;gap:10px}.masthead .explore-button{font-size:13px;min-height:44px;padding:10px 13px;gap:10px}.mobile-swap-toggle{min-height:44px;padding:10px 12px;font-size:13px}.masthead .swap-panel{margin-top:18px;padding:16px;max-width:100%}.masthead .swap-heading h2{font-size:16px}.masthead .swap-heading{margin-bottom:15px}.masthead .swap-field{height:44px}.masthead .swap-direction{width:29px;height:29px;margin:8px auto;font-size:20px}.masthead .swap-submit{min-height:44px;margin-top:13px}.masthead .motion-toggle span{display:none}.cow-hint{min-width:22px;min-height:22px}.masthead .brand>span{font-size:12px;letter-spacing:3px}.masthead .brand svg{width:44px;height:34px}.masthead .header-actions .icon-button{width:40px;height:40px}}
@media(max-width:360px){.masthead .hero-copy h1{font-size:29px}.masthead .hero-copy p{font-size:13px}.masthead .brand>span{font-size:10px;letter-spacing:2.5px}.masthead .brand small{font-size:10px}.masthead .hero-actions{gap:7px}.masthead .explore-button{font-size:12px;padding-inline:8px;gap:6px;white-space:nowrap;letter-spacing:-.15px}.mobile-swap-toggle{font-size:12px;padding-inline:8px;gap:6px}.masthead .swap-heading h2{font-size:15px}.masthead .preview-badge{font-size:9px;margin-left:1px;padding-inline:4px}.masthead .chain-select select{max-width:61px;font-size:11px}}

/* One outpainted photograph fills the whole banner, including the foreground.
   Preserve its natural shallow focus without blurred wings or color fades. */
@media(min-width:721px){
  .masthead{overflow:hidden;background:#061720}
  .masthead:after{display:none}
  .masthead .hero-layout{position:static;width:calc(100% - 64px);max-width:none;grid-template-columns:minmax(0,1fr) clamp(240px,19vw,300px);grid-template-areas:"copy swap";gap:24px;align-items:start;min-height:clamp(470px,36vw,700px);padding:40px 0 60px}
  .masthead .hero-copy{max-width:28vw;align-self:start;padding:24px 0 0;z-index:2}
  .masthead .hero-copy h1{font-size:clamp(30px,2.7vw,49px);line-height:1.12;letter-spacing:-1.3px;text-shadow:0 2px 24px #03111acc;text-wrap:nowrap}
  .masthead .hero-copy p{font-size:clamp(14px,1.14vw,17px);max-width:300px;text-shadow:0 2px 18px #000;color:#c9deea}
  .masthead .hero-scene{position:absolute;inset:83px 0 0;z-index:0;width:100%;height:auto;aspect-ratio:auto;overflow:hidden}
  .hero-poster{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:52% center;border-radius:0}
  .hero-video{object-fit:cover;object-position:center;border-radius:0}
  .masthead .swap-panel{align-self:start;z-index:2;backdrop-filter:none;background:linear-gradient(225deg,#a7d8ff12,transparent 35%),#06131ef5}
  .cow-hint{left:69.6%;top:21.3vw;width:5.6%;height:3.8vw;z-index:2}
  .masthead .hero-scene:after{display:none}
}
@media(min-width:721px) and (max-width:1200px){
  .masthead .hero-layout{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) 210px;padding-top:30px}
  .masthead .hero-copy{max-width:28vw;padding-top:22px}.masthead .hero-copy h1{font-size:clamp(25px,2.7vw,32px);letter-spacing:-1px}.masthead .hero-copy p{font-size:14px;max-width:240px;margin-top:13px}
  .masthead .hero-actions{margin-top:20px}.masthead .swap-panel{padding:15px 12px 12px}.masthead .swap-heading h2{font-size:14px}.masthead .preview-badge{font-size:9px;margin-left:1px;padding-inline:4px}.masthead .chain-select select{max-width:65px;font-size:11px}.masthead .swap-heading{gap:5px}
}
@media(min-width:1050px) and (max-width:1500px){.masthead .swap-heading .preview-badge{display:block;width:max-content;margin:5px 0 0}.masthead .swap-heading{align-items:center}}
@media(min-width:721px) and (max-width:1049px){
  .cow-hint{left:67.2%;top:18.7vw;width:5%;height:3.5vw}
  .masthead .hero-layout{grid-template-columns:minmax(0,1fr) 200px;min-height:470px;padding-top:24px}
  .masthead .hero-copy{padding-top:24px;max-width:29vw}.masthead .hero-copy h1{font-size:clamp(24px,2.75vw,29px)}
  .masthead .hero-copy p{max-width:240px}.masthead .hero-actions{margin-top:14px}
  .masthead .swap-heading{position:relative;padding-top:28px}.masthead .swap-heading h2{position:absolute;top:0;left:0}.masthead .chain-select{margin-left:auto}
}
@media(min-width:721px) and (max-width:800px){
  .masthead .hero-scene,.masthead:after{top:65px}.masthead .hero-layout{width:calc(100% - 36px);padding-top:215px}.masthead .hero-copy{max-width:45vw;padding-top:12px}.masthead .hero-copy h1{font-size:32px}
}
@media(min-width:801px) and (max-width:960px){.masthead .hero-layout{padding-top:230px}.masthead .hero-copy{max-width:44vw}.masthead .hero-copy h1{font-size:32px}}
@media(min-width:2000px){.masthead .hero-layout{min-height:32vw;padding-top:5vw}.masthead .hero-copy{padding-top:2vw}}

/* All animated objects share the original photographic panorama's coordinates. */
.cinematic-canvas{display:block;position:absolute;top:0;left:0;pointer-events:none;will-change:transform}
.cinematic-ready .hero-poster,.cinematic-ready .still-saucer,.cinematic-ready .still-beam{visibility:hidden}
.saucer-trigger{position:absolute;z-index:3;padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.saucer-trigger:focus-visible{outline:1px dashed #c5ecff;outline-offset:5px;background:#a6dfff08}
.masthead .hero-scene .motion-toggle{z-index:4;left:24px;right:auto;bottom:14px;top:auto;background:#061720b8;border:1px solid #b6dcf342;color:#c6dfed;backdrop-filter:blur(8px);min-height:36px;font-size:12px}
.masthead .hero-scene .motion-toggle span{display:inline}
.masthead > .motion-toggle{z-index:4;left:24px;right:auto;bottom:14px;top:auto;background:#061720d9;border:1px solid #b6dcf36b;color:#d9edf9;backdrop-filter:blur(8px);min-height:36px;font-size:12px}
@media(max-width:720px){.masthead .hero-scene{overflow:hidden}.masthead .hero-scene .motion-toggle{left:8px;bottom:7px;min-height:30px;padding:5px 7px;font-size:11px}.masthead .hero-scene .motion-toggle span{display:none}}
@media(max-width:720px){.masthead > .motion-toggle{top:80px;bottom:auto;right:22px;left:auto;min-height:32px;padding:6px 8px}.masthead > .motion-toggle span{display:none}}
/* Tablets use the complete scene above expandable controls, avoiding a crop
   that would push the cow behind the right-hand form in a narrow viewport. */
@media(min-width:721px) and (max-width:960px){
  .masthead .hero-layout{position:relative;width:calc(100% - 40px);grid-template-columns:minmax(0,1fr);grid-template-areas:"scene" "copy" "swap";gap:0;min-height:0;padding:8px 0 26px}
  .masthead .hero-scene{position:relative;inset:auto;aspect-ratio:16/9;width:100%;height:auto;overflow:hidden}
  .masthead .hero-copy{max-width:none;padding:20px 0 0}.masthead .hero-copy h1{font-size:36px}.masthead .hero-copy p{max-width:none;font-size:16px}
  .masthead .hero-actions{justify-content:flex-start;gap:18px;margin-top:18px}
  .masthead .swap-panel{margin-top:20px;max-width:460px;padding:20px}
  .masthead .swap-heading{position:static;padding-top:0}.masthead .swap-heading h2{position:static;font-size:16px}.masthead .chain-select{margin-left:0}
  .masthead > .motion-toggle{top:94px;bottom:auto;right:32px;left:auto}
}
@media(prefers-reduced-motion:reduce){.cinematic-canvas{display:none!important}.cinematic-ready .hero-poster,.cinematic-ready .still-saucer,.cinematic-ready .still-beam{visibility:visible}.saucer-trigger{display:none!important}}

/* Crop surplus foreground, reserving a desktop viewport budget for both
   flagship cards. Short laptops use a tighter form, not smaller type or a
   collapsed directory. The full-width photographic image remains unchanged. */
@media(min-width:961px){
  .masthead .hero-layout{min-height:clamp(404px,calc(100svh - 321px),644px);padding:clamp(16px,calc(10svh - 54px),60px) 0 24px}
  .masthead .hero-copy{padding-top:clamp(48px,calc(10svh - 24px),76px)}
}
@media(min-width:961px) and (max-height:800px){
  .masthead .swap-panel{padding:13px 12px 11px}
  .masthead .swap-heading{margin-bottom:12px}
  .masthead .swap-field{height:42px}
  .masthead .swap-direction{width:27px;height:27px;margin:6px auto}
  .masthead .swap-submit{margin-top:12px;min-height:39px}
  .masthead .swap-note{margin-top:7px}
  .flagship-section{padding-top:24px;padding-bottom:26px}
  .flagship-section .section-heading{margin-bottom:18px}
}
/* Slightly fuller controls, brought inward without changing the approved scene. */
@media(min-width:1201px){
 .masthead .hero-layout{width:calc(100% - clamp(72px,6vw,144px));grid-template-columns:minmax(0,1fr) clamp(226px,19.3vw,330px)}
 .masthead .hero-copy{max-width:30vw}
 .masthead .hero-copy h1{font-size:clamp(35px,2.95vw,53px)}
 .masthead .hero-copy p{font-size:clamp(16px,1.2vw,18px);max-width:325px}
 .masthead .explore-button{font-size:15px;min-height:48px;padding-inline:20px}
 .masthead .swap-panel{padding:20px 17px 15px}
 .masthead .swap-heading h2{font-size:18px}
 .masthead .swap-field{height:49px}
 .masthead .swap-note{font-size:11px}
}
@media(min-width:961px) and (max-width:1200px){
 .masthead .hero-layout{width:calc(100% - 56px);grid-template-columns:minmax(0,1fr) 220px}
 .masthead .hero-copy h1{font-size:clamp(29px,2.85vw,34px)}
}
@media(min-width:961px) and (max-height:800px){
 .masthead .swap-panel{padding:15px 14px 12px}
 .masthead .swap-field{height:44px}
}
