/* Approved homepage finishing pass. Scoped to the public homepage component. */
.upsvo-home-v2{--home-bg:#F4F0E8;--home-surface:#FFFCF7;--home-ink:#2B1A12;--home-muted:#65564A;--home-gold:#A66B00;--home-accent:#D4A307;--home-dark:#191D1B}
.upsvo-home-v2.homepage-network,.upsvo-home-v2.homepage-destinations{background:var(--home-bg);color:var(--home-ink)}
.upsvo-home-v2 .home-card{background:var(--home-surface);color:var(--home-ink)}

/* High-contrast header lockup; other logos retain their original appearance. */
.upsvo-home-v2.site-header{background:var(--home-surface);color:var(--home-ink);border-bottom:1px solid rgba(166,107,0,.18)}
.upsvo-home-v2.site-header .header-row{min-height:84px;gap:24px}
.upsvo-home-v2.site-header .homepage-brand{display:inline-flex;flex:0 1 330px;align-items:center;width:min(330px,32vw);max-width:330px;min-width:0}
.upsvo-home-v2.site-header .homepage-brand img{display:block;width:100%;height:auto;max-height:59px;object-fit:contain;filter:none}
.upsvo-home-v2.site-header nav a{color:var(--home-ink)}
.upsvo-home-v2.site-header .header-actions .icon-button{color:var(--home-ink)}
/* At tablet widths the full navigation cannot fit beside the identity and CTAs.
   Keep the actions reachable and let the existing accessible toggle control the links. */
@media(max-width:1200px){
  .upsvo-home-v2.site-header .header-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand toggle" "actions actions" "nav nav";align-items:center;min-height:0;gap:8px 12px;padding-block:12px}
  .upsvo-home-v2.site-header .homepage-brand{grid-area:brand;width:min(330px,100%);max-width:100%;flex-basis:auto}
  .upsvo-home-v2.site-header #menu-toggle{grid-area:toggle;display:inline-flex;align-items:center;justify-content:center;justify-self:end;min-width:44px;min-height:44px;border:1px solid rgba(166,107,0,.28);border-radius:8px;background:#FFFCF7;color:var(--home-ink)}
  .upsvo-home-v2.site-header nav{grid-area:nav;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px 18px;width:100%;min-width:0;margin:0;padding-top:4px}
  .upsvo-home-v2.site-header nav[hidden]{display:none!important}
  .upsvo-home-v2.site-header .header-actions{grid-area:actions;display:flex;justify-content:flex-end;flex-wrap:wrap;width:100%;min-width:0;margin:0}
  .upsvo-home-v2.site-header .header-actions .button{flex:0 1 auto}
}
@media(max-width:760px){.upsvo-home-v2.site-header .header-row{min-height:70px;gap:10px}.upsvo-home-v2.site-header .homepage-brand{flex-basis:300px;width:min(82vw,330px);max-width:calc(100% - 52px)}.upsvo-home-v2.site-header .homepage-brand img{max-height:56px}}

/* Stable night still is decoded under the single-play hero film. */
.upsvo-home-v2 .home-hero{position:relative;isolation:isolate;background:#1e1b17 url('./images/hero-ksdf-night.png?ver=homepage-finish-v3-20261027') 64% 50%/cover no-repeat}
.upsvo-home-v2 .hero-still{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:64% 50%}
.upsvo-home-v2 #hero-video{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:64% 50%;opacity:0;transition:opacity 1s ease;background:transparent}
.upsvo-home-v2 #hero-video.is-fading{opacity:0!important}
.upsvo-home-v2 .home-hero[data-video-state="playing"] #hero-video:not(.is-fading){opacity:1}
.upsvo-home-v2 .home-hero-shade{z-index:2;background:linear-gradient(90deg,rgba(20,13,8,.82) 0%,rgba(20,13,8,.55) 35%,rgba(20,13,8,0) 68%)}
.upsvo-home-v2 .hero-copy{z-index:3}
.upsvo-home-v2 .hero-controls{z-index:4}
.upsvo-home-v2 .hero-controls .media-control{min-width:148px}
.upsvo-home-v2 .film-still{display:block;width:100%;max-height:78vh;object-fit:contain}
.upsvo-home-v2 .film-still[hidden]{display:none}
.film-dialog .film-screen{position:relative;aspect-ratio:16/9;background:#100d0b;overflow:hidden}
.film-dialog .film-screen #hero-video{position:static;inset:auto;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;opacity:1;z-index:auto;transition:none}
.film-dialog .film-still{display:block;width:100%;max-height:78vh;object-fit:contain}
.film-dialog .film-still[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.upsvo-home-v2 #hero-video{transition:none}}

/* Realtime Operations: four true counts in one ivory rail. */
.upsvo-home-v2.homepage-network{padding:28px 0 36px}
.upsvo-home-v2 .network-header{align-items:center;margin-bottom:18px}
.upsvo-home-v2 .network-header h2,.upsvo-home-v2 .section-heading h2{color:var(--home-ink);font-size:clamp(28px,3vw,40px);line-height:1.12;margin:0}
.upsvo-home-v2 .network-header .eyebrow,.upsvo-home-v2 .section-heading .eyebrow{color:var(--home-gold);font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.upsvo-home-v2 .network-header p:not(.eyebrow){display:none}
.upsvo-home-v2 .network-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 16px;padding:14px 10px;border:1px solid rgba(166,107,0,.16);border-radius:14px;background:#FFFCF7;box-shadow:0 8px 24px rgba(43,26,18,.06)}
.upsvo-home-v2 .network-total{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;align-items:center;min-width:0;padding:8px 20px;border-right:1px solid rgba(166,107,0,.22)}
.upsvo-home-v2 .network-total:last-child{border-right:0}
.upsvo-home-v2 .network-total dt{display:contents;color:var(--home-muted);font-size:16px;font-weight:600;line-height:1.3}
.upsvo-home-v2 .network-total__icon{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#F4E8C8}
.upsvo-home-v2 .network-total__icon img{display:block;width:30px;height:30px;object-fit:contain}
.upsvo-home-v2 .network-total dd{grid-column:2;grid-row:2;margin:3px 0 0;color:var(--home-ink);font-size:32px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}
.upsvo-home-v2 .summary-freshness{min-height:0;margin:0 0 14px;color:var(--home-muted);font-size:12px;line-height:1.4}
.upsvo-home-v2 .network-total dd[title]{cursor:help}
@media(max-width:900px){.upsvo-home-v2 .network-total{padding:8px 12px;column-gap:9px}}
@media(max-width:640px){.upsvo-home-v2 .network-totals{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.upsvo-home-v2 .network-total{padding:12px 8px;border-right:0}.upsvo-home-v2 .network-total:nth-child(odd){border-right:1px solid rgba(166,107,0,.22)}.upsvo-home-v2 .network-total:nth-child(-n+2){border-bottom:1px solid rgba(166,107,0,.22)}.upsvo-home-v2 .network-total dd{font-size:30px}.upsvo-home-v2 .network-total dt{font-size:15px}}

/* Map and Wire share a row; Wire scrolls within the map's height. */
.upsvo-home-v2 .operations-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);align-items:stretch}
.upsvo-home-v2 .map-card{background:var(--home-surface);color:var(--home-ink)}
.upsvo-home-v2 .map-legend{color:#F5F1E9;background:#191D1B;border-radius:0 0 8px 8px;padding:9px 12px}
.upsvo-home-v2 .map-legend span{color:#F5F1E9}
.upsvo-home-v2 .map-help{color:var(--home-muted)}
.upsvo-home-v2 .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.upsvo-home-v2 .mina-wire{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;height:683px;min-height:0;max-height:683px;overflow:hidden;padding:18px;background:#191D1B;color:#F5F1E9;border:1px solid #343a35;border-radius:12px;box-shadow:0 12px 30px rgba(24,29,27,.14)}
.upsvo-home-v2 .mina-wire header{border-bottom:1px solid #41473E}
.upsvo-home-v2 .mina-wire header h3{margin:0;color:#FFFCF7;font-size:25px}
.upsvo-home-v2 .mina-wire .mina-wire__subtitle{margin:3px 0 0;color:#C8C1B5;font-size:14px}
.upsvo-home-v2 .mina-wire .text-button{color:#FFD56B}
.upsvo-home-v2 .mina-wire .wire-state{color:#C8C1B5}
.upsvo-home-v2 .mina-wire .wire-list{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-color:#6a6048 #232825}
.upsvo-home-v2 .mina-wire .wire-list li{grid-template-columns:minmax(0,1fr);gap:5px;border-bottom:1px solid #41473E}
.upsvo-home-v2 .mina-wire .wire-list time{grid-column:1;color:#C8C1B5;font-size:12px}
.upsvo-home-v2 .mina-wire .wire-list strong{color:#F5F1E9;font-size:15px}
.upsvo-home-v2 .mina-wire .wire-list small{color:#D6D0C5;font-size:13px}
.upsvo-home-v2 .mina-wire .wire-list img{grid-column:1!important;grid-row:auto!important;width:44px!important;height:44px!important;object-fit:cover;border-radius:7px}
.upsvo-home-v2 .mina-wire .wire-more{border-color:#6a6048;background:#232825;color:#F5F1E9}
.upsvo-home-v2 .mina-wire .wire-link{color:#FFD56B;border-top:1px solid #41473E}
@media(max-width:900px){.upsvo-home-v2 .operations-grid{grid-template-columns:minmax(0,1fr)}.upsvo-home-v2 .mina-wire{height:520px;min-height:360px;max-height:520px}}

/* Full-resolution destination masters; all labels stay in HTML. */
.upsvo-home-v2.homepage-destinations{padding:40px 0;background:#F4F0E8}
.upsvo-home-v2 .section-heading{margin-bottom:20px}
.upsvo-home-v2 .section-heading>p:not(.eyebrow){color:var(--home-muted);font-size:16px}
.upsvo-home-v2 .airport-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.upsvo-home-v2 .airport-photo{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;background:#e5ded3}
.upsvo-home-v2 .airport-photo--ksdf{object-position:50% 48%}
.upsvo-home-v2 .airport-photo--kont{object-position:50% 43%}
.upsvo-home-v2 .airport-photo--eddk{object-position:50% 42%}
.upsvo-home-v2 .airport-photo--panc{object-position:50% 45%}
.upsvo-home-v2 .airport-body h3{color:var(--home-ink)}
.upsvo-home-v2 .airport-body p{color:var(--home-muted)}
.upsvo-home-v2 .airport-role{color:var(--home-gold)}
.upsvo-home-v2 .destination-action .button-outline-light{color:var(--home-ink);border-color:var(--home-gold)}
@media(max-width:1100px){.upsvo-home-v2 .airport-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.upsvo-home-v2 .airport-grid{grid-template-columns:minmax(0,1fr)}}
