/* =========================================================
   Elpusfly: concept airline website (brand identity by VOREK)
   ========================================================= */

:root {
  --red: #E1283D;
  --red-deep: #b81d38;
  --wine: #6d173f;
  --navy: #000323;
  --ink: #000107;
  --peri: #D8DEF9;
  --peri-soft: #EDEFFC;
  --blush: #F9D5D8;
  --white: #ffffff;
  --muted: #545a7a;
  --line: rgba(0, 3, 35, .12);
  --grad: linear-gradient(160deg, #E1283D 0%, #a51b3b 38%, #4a1040 68%, #000323 100%);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--navy); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.on-red :focus-visible, .on-dark :focus-visible { outline-color: var(--white); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.bg-peri { background: var(--peri); }
.bg-soft { background: var(--peri-soft); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-red { background: var(--red); color: var(--white); }

.h-xl { font-size: clamp(2.7rem, 7.4vw, 6.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; max-width: 56ch; }
.muted { color: var(--muted); }
.bg-navy .muted, .on-dark .muted { color: rgba(216, 222, 249, .72); }
.kicker { display: block; margin-bottom: 18px; font-size: .95rem; font-weight: 500; color: var(--red); }
.bg-navy .kicker, .bg-red .kicker { color: var(--blush); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head .lead { justify-self: start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: translate .35s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 14px 30px -14px rgba(225, 40, 61, .8); }
.btn-red:hover { background: #c81f34; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--peri); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #121640; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: rgba(0, 3, 35, .06); }
.on-dark .btn-line:hover, .bg-navy .btn-line:hover, .bg-red .btn-line:hover { background: rgba(255, 255, 255, .1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: translate .35s var(--ease); }
.link-arrow:hover svg { translate: 4px 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), translate .45s var(--ease);
}
.site-header.is-scrolled { background: rgba(0, 3, 35, .9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(216, 222, 249, .1); }
.site-header.is-hidden { translate: 0 -100%; }
.nav { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.brand svg { width: 34px; height: auto; fill: currentColor; }
.nav-links { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a:not(.btn) { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color .25s; }
.nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .12); }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .16); }
.nav-links .btn { min-height: 44px; margin-left: 10px; padding: 0 20px; }
.nav-links .btn[aria-current] { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: translate .3s var(--ease), rotate .3s var(--ease), opacity .2s; }
.menu-btn span + span { margin-top: 5px; }
.menu-open .menu-btn span:first-child { translate: 0 3.5px; rotate: 45deg; }
.menu-open .menu-btn span:last-child { translate: 0 -3.5px; rotate: -45deg; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center; background: var(--red); color: var(--white); padding: 120px 0 170px; min-height: min(800px, 94svh); }
.tiles {
  position: absolute; z-index: -1; inset: -8% auto -8% -6%; width: 64%;
  display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr); grid-auto-rows: 1fr;
  transform: skewX(-14deg); transform-origin: bottom left;
  background: linear-gradient(100deg, #4a1040 0%, #8e1a3f 45%, transparent 100%);
}
.tiles i { display: block; aspect-ratio: 1; background: var(--c, transparent); }
.tiles::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--red) 99%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { margin-left: 44%; max-width: 680px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 40ch; }

/* ---------- Boarding-pass card (search + results + pass) ---------- */
.pass-wrap { filter: drop-shadow(0 30px 40px rgba(0, 3, 35, .22)); }
.pass {
  --stub: 300px; --notch: 15px;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  background: var(--white); color: var(--navy); border-radius: 26px;
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.pass-main { padding: 26px 30px 28px; min-width: 0; }
.pass-stub {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 26px 28px 28px; background: var(--peri-soft); border-radius: 0 26px 26px 0;
  background-image: linear-gradient(var(--peri) 50%, transparent 0); background-size: 2px 14px; background-repeat: repeat-y; background-position: 0 0;
}
.search-wrap { position: relative; z-index: 2; margin-top: -110px; }
.trip-type { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--peri-soft); }
.trip-type label { position: relative; cursor: pointer; }
.trip-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.trip-type span { display: block; padding: 7px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background-color .25s, color .25s; }
.trip-type input:checked + span { background: var(--navy); color: var(--white); }
.trip-type input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; margin-bottom: 12px; }
.fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: .82rem; font-weight: 500; color: var(--muted); }
.fld select, .fld input, .fld textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--white); font-size: 1rem; font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
.fld select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000323' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; text-overflow: ellipsis; }
.fld select:hover, .fld input:hover, .fld textarea:hover { border-color: rgba(0, 3, 35, .3); }
.fld select:focus, .fld input:focus, .fld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(216, 222, 249, .9); }
.fld.is-off { opacity: .45; }
.swap { width: 46px; height: 46px; margin-bottom: 3px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; transition: rotate .45s var(--ease), border-color .2s, background-color .2s; }
.swap:hover { border-color: var(--navy); background: var(--peri-soft); }
.swap.spin { rotate: 180deg; }
.swap svg { width: 20px; height: 20px; }
.stub-codes { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stub-codes b { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.stub-codes small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.stub-codes > span:last-child { text-align: right; }
.stub-plane { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--red); }
.stub-plane::before, .stub-plane::after { content: ""; flex: 1; height: 0; border-top: 2px dashed rgba(0, 3, 35, .22); }
.stub-plane svg { width: 22px; height: 22px; flex: none; }
.stub-note { font-size: .85rem; color: var(--muted); }
.pass-stub .btn { width: 100%; }
.form-msg { min-height: 1.4em; margin-top: 10px; font-size: .9rem; font-weight: 500; color: var(--red-deep); }

/* ---------- Home: destinations ---------- */
.dest-section { padding-top: clamp(80px, 9vw, 120px); }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 230px;
  padding: 24px; border-radius: var(--radius); background: var(--white); text-decoration: none; overflow: hidden;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease);
}
.route-card:hover { translate: 0 -4px; box-shadow: 0 24px 40px -26px rgba(0, 3, 35, .45); }
.route-card .code { font-size: clamp(3.2rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.route-card h3 { font-size: 1.2rem; }
.route-card p { font-size: .92rem; color: var(--muted); }
.route-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: .92rem; font-weight: 500; }
.route-card .meta span:last-child { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.route-card .meta svg { width: 16px; height: 16px; transition: translate .35s var(--ease); }
.route-card:hover .meta svg { translate: 4px 0; }
.route-card .flag { position: absolute; right: 0; top: 0; width: 84px; height: 84px; display: grid; grid-template-columns: repeat(3, 1fr); transform: skewX(-14deg); transform-origin: top right; }
.route-card .flag i:nth-child(odd) { background: var(--red); }
.route-card .flag i:nth-child(1), .route-card .flag i:nth-child(5) { background: var(--wine); }
.route-card .flag i:nth-child(9) { background: var(--blush); }
.route-card .flag i:nth-child(7) { background: transparent; }
.route-card { padding-right: 96px; }
.route-card .meta { margin-right: -72px; }
.route-card.is-feature { background: var(--navy); color: var(--white); }
.route-card.is-feature p { color: rgba(216, 222, 249, .75); }
.route-card.is-feature .meta { border-color: rgba(216, 222, 249, .25); }
.route-card.is-feature .meta span:last-child { color: var(--blush); }
.dest-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Home: experience teaser ---------- */
.exp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: #1a1d3d; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.exp-split .photo { aspect-ratio: 4 / 5; }
.cabins { margin: 40px 0 36px; padding: 0; list-style: none; }
.cabins li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid rgba(216, 222, 249, .2); }
.cabins li:last-child { border-bottom: 1px solid rgba(216, 222, 249, .2); }
.cabins b { font-weight: 600; font-size: 1.08rem; }
.cabins span { color: rgba(216, 222, 249, .78); }

/* ---------- Home: feed ---------- */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feed figure { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 1; background: var(--peri); }
.feed img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.feed figure:hover img { scale: 1.04; }

/* ---------- Home: app ---------- */
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) minmax(0, .82fr); gap: 16px; align-items: stretch; }
.app-copy { padding: clamp(8px, 2vw, 24px) clamp(0px, 3vw, 40px) 0 0; display: flex; flex-direction: column; gap: 22px; }
.app-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.app-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.app-list .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--red); }
.app-list .ico svg { width: 22px; height: 22px; }
.app-list b { display: block; font-weight: 600; }
.app-list span { color: var(--muted); font-size: .95rem; }
.app-grid .photo { min-height: 420px; }
.notif {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 18px; background: rgba(8, 10, 44, .82); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .85rem; line-height: 1.35;
}
.notif .app-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--red); display: grid; place-items: center; }
.notif .app-ico svg { width: 24px; fill: var(--white); }
.notif b { display: block; font-weight: 600; }
.notif time { align-self: start; color: rgba(255, 255, 255, .6); font-size: .78rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--red); color: var(--white); padding-block: clamp(80px, 10vw, 130px); }
.cta .tiles { width: 46%; inset: -20% -4% -20% auto; transform-origin: top right; background: linear-gradient(260deg, #4a1040 0%, #8e1a3f 45%, transparent 100%); }
.cta .tiles::after { background: linear-gradient(270deg, transparent 50%, var(--red) 99%); }
.cta h2 { max-width: 15ch; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page heroes ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 170px 0 clamp(80px, 9vw, 120px); color: var(--white); background: var(--navy); }
.page-hero.is-red { background: var(--red); }
.page-hero.is-red .tiles { width: 56%; inset: -10% -6% -10% auto; transform-origin: top right; background: linear-gradient(260deg, #4a1040 0%, #8e1a3f 45%, transparent 100%); }
.page-hero.is-red .tiles::after { background: linear-gradient(270deg, transparent 62%, var(--red) 99%); }
.page-hero.is-red .wrap > * { max-width: 680px; }
.page-hero h1 { max-width: 14ch; margin-bottom: 24px; }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.page-hero.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.page-hero.has-photo .photo { aspect-ratio: 5 / 6; }

/* ---------- Destinations page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dest-count { margin-bottom: 22px; color: var(--muted); font-weight: 500; }
.route-card[hidden] { display: none; }
.dest-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.dest-banner .photo { aspect-ratio: 16 / 10; }
.hub { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.hub p { color: rgba(216, 222, 249, .8); }

/* ---------- Experience page ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); -webkit-overflow-scrolling: touch; }
.cabin-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.cabin-table th, .cabin-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cabin-table thead th { font-size: 1.15rem; font-weight: 600; padding-top: 26px; }
.cabin-table thead th small { display: block; margin-top: 4px; font-size: .85rem; font-weight: 400; color: var(--muted); }
.cabin-table tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.cabin-table tbody tr:last-child > * { border-bottom: 0; }
.cabin-table .col-biz { background: rgba(225, 40, 61, .06); }
.cabin-table thead .col-biz { color: var(--red-deep); }
.journey { display: grid; gap: clamp(48px, 7vw, 88px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.journey li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; counter-increment: step; }
.journey li:nth-child(even) .photo { order: 2; }
.journey .photo { aspect-ratio: 4 / 3; }
.journey .step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 600; }
.journey .step-n::before { content: counter(step); }
.journey h3 { margin-bottom: 14px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(216, 222, 249, .2); }
.extra { padding: 32px 28px 34px 0; border-bottom: 1px solid rgba(216, 222, 249, .2); }
.extra svg { width: 40px; height: 40px; margin-bottom: 22px; stroke: var(--blush); }
.extra h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -.01em; }
.extra p { color: rgba(216, 222, 249, .75); font-size: .96rem; }

/* ---------- About page ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.tablist { display: grid; gap: 6px; }
.tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border: 0; border-radius: 18px; background: transparent; text-align: left; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; cursor: pointer; color: rgba(0, 3, 35, .4); transition: background-color .3s, color .3s; }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { background: var(--white); color: var(--navy); }
.tab svg { width: 22px; height: 22px; opacity: 0; translate: -6px 0; transition: opacity .3s, translate .35s var(--ease); color: var(--red); }
.tab[aria-selected="true"] svg { opacity: 1; translate: 0 0; }
.tabpanel { padding-top: 10px; }
.tabpanel p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.45; letter-spacing: -.01em; max-width: 30ch; }
.tabpanel.is-in p { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; translate: 0 12px; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 26px 24px 0 0; }
.facts dt { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; background: #12153a; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 3, 35, .72); color: var(--white); font-size: .82rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.g-wall { grid-column: span 4; grid-row: span 2; }
.g-totem { grid-column: span 2; grid-row: span 2; }
.g-tote { grid-column: span 2; grid-row: span 2; }
.g-hat { grid-column: span 2; grid-row: span 2; }
.g-poster { grid-column: span 2; grid-row: span 2; }
.g-binder { grid-column: span 3; grid-row: span 2; }
.g-shelter { grid-column: span 3; grid-row: span 2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.help-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.help-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.help-list b { display: block; font-weight: 600; }
.help-list span { color: var(--muted); font-size: .95rem; }
.form-card { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); }
.form-card form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fld textarea { min-height: 140px; resize: vertical; }
.fld .error { min-height: 0; font-size: .86rem; color: var(--red-deep); font-weight: 500; }
.fld.has-error input, .fld.has-error textarea, .fld.has-error select { border-color: var(--red); }
.form-note { font-size: .88rem; color: var(--muted); }
.sent { display: none; text-align: left; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .sent { display: grid; gap: 16px; justify-items: start; }
.sent .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); }
.sent .tick svg { width: 26px; height: 26px; }

/* ---------- Booking page ---------- */
.book-hero { padding: 130px 0 0; background: var(--navy); color: var(--white); }
.book-hero h1 { margin-bottom: 12px; }
.book-hero .lead { color: rgba(216, 222, 249, .8); margin-bottom: 34px; }
.book-hero .pass-wrap { position: relative; z-index: 2; margin-bottom: -70px; }
.book-body { padding: 120px 0 clamp(80px, 10vw, 120px); background: var(--peri-soft); min-height: 60vh; }
.steps-nav { display: flex; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps-nav li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--white); color: var(--muted); font-weight: 500; font-size: .95rem; }
.steps-nav li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--peri); color: var(--navy); font-weight: 600; font-size: .85rem; }
.steps-nav li.is-current { background: var(--navy); color: var(--white); }
.steps-nav li.is-current span { background: var(--red); color: var(--white); }
.steps-nav li.is-done span { background: var(--navy); color: var(--white); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.date-btn { flex: none; min-width: 104px; padding: 10px 14px; border: 1.5px solid transparent; border-radius: 16px; background: var(--white); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s; }
.date-btn:hover { border-color: rgba(0, 3, 35, .3); }
.date-btn b { display: block; font-weight: 600; }
.date-btn small { color: var(--muted); font-size: .82rem; }
.date-btn[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.date-btn[aria-pressed="true"] small { color: rgba(216, 222, 249, .8); }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.results { display: grid; gap: 14px; }
.flight { --stub: 240px; --notch: 13px; }
.flight .pass-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px 28px; }
.flight .pass-stub { padding: 20px 24px; justify-content: center; gap: 12px; }
.f-end b { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.f-end span { font-weight: 600; }
.f-end small { display: block; color: var(--muted); font-size: .85rem; }
.f-end.to { text-align: right; }
.f-end sup { color: var(--red); font-weight: 600; font-size: .7em; margin-left: 2px; }
.f-line { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: .88rem; color: var(--muted); }
.f-track { position: relative; width: 100%; height: 22px; display: flex; align-items: center; }
.f-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(0, 3, 35, .2); }
.f-track::after { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--navy); box-shadow: calc(100cqw - 8px) 0 0 var(--navy); }
.f-track { container-type: inline-size; }
.f-track .stop { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--white); border: 2px solid var(--red); }
.f-track svg { position: relative; margin-inline: auto; width: 22px; height: 22px; color: var(--red); background: var(--white); padding: 0 2px; box-sizing: content-box; }
.f-track.has-stop svg { margin-left: 22%; }
.f-line .num { font-weight: 600; color: var(--navy); }
.price small { display: block; color: var(--muted); font-size: .82rem; }
.price b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.flight .btn { min-height: 46px; width: 100%; }
.flight.is-picked .pass-main, .flight.is-picked .pass-stub { box-shadow: inset 0 0 0 2px var(--red); }
.book-step[hidden] { display: none; }
.pax-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; align-items: start; }
.summary { padding: 26px; border-radius: var(--radius); background: var(--navy); color: var(--white); display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(216, 222, 249, .16); }
.summary dt { color: rgba(216, 222, 249, .7); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .total dd { font-size: 1.5rem; }
.back-link { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.empty { padding: 34px; border-radius: var(--radius); background: var(--white); }
.empty h2 { font-size: 1.5rem; margin-bottom: 8px; }

/* The issued boarding pass (matches the brand board) */
.bp-stage { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bp { --notch: 18px; --cut: calc(100% - 142px); position: relative; border-radius: 22px; overflow: hidden; background: #FFF8F8; color: var(--navy); filter: drop-shadow(0 36px 40px rgba(0, 3, 35, .25));
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut, 72%), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut, 72%), #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 var(--cut, 72%), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut, 72%), #0000 98%, #000) right / 51% 100% no-repeat; }
.bp-wrap { filter: drop-shadow(0 36px 40px rgba(0, 3, 35, .25)); }
.bp-wrap .bp { filter: none; }
.bp-top { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px; background: linear-gradient(100deg, #000323 0%, #4a1040 45%, var(--red) 100%); color: var(--white); }
.bp-top .brand { font-size: 1.5rem; }
.bp-body { padding: 24px 26px 0; }
.bp-route { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.bp-route b { display: block; font-size: 2.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.bp-route small { font-size: .82rem; color: var(--muted); }
.bp-route > span:last-child { text-align: right; }
.bp-route svg { width: 26px; height: 26px; color: var(--red); }
.bp-bar { display: grid; grid-template-columns: 1.4fr .7fr 1fr; padding: 7px 12px; border-radius: 4px; background: linear-gradient(90deg, #000323, #4a1040 55%, var(--red)); color: var(--white); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.bp-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 18px 12px; padding: 12px 12px 0; }
.bp-bar { column-gap: 12px; }
.bp-grid b { overflow-wrap: anywhere; }
.bp-grid > div:nth-child(n+4) { grid-column: span 1; }
.bp-grid small { display: block; font-size: .74rem; color: var(--muted); }
.bp-grid b { font-weight: 600; font-size: .98rem; }
.bp-perf { margin: 26px 18px 0; border-top: 2px dashed rgba(225, 40, 61, .55); }
.bp-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px 26px; }
.bp-gate small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.bp-gate b { font-size: 2.2rem; font-weight: 600; line-height: 1; }
.bp-qr { width: 96px; height: 96px; }
.bp-copy h2 { margin-bottom: 16px; }
.bp-copy p { margin-bottom: 26px; }
.bp-copy .cta-actions { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(216, 222, 249, .8); padding: clamp(64px, 8vw, 96px) 0 34px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.foot-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot-tag { max-width: 30ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(216, 222, 249, .14); font-size: .9rem; }
.foot-base a { color: var(--white); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; align-items: center; }
.nf .stub-codes { max-width: 420px; margin-bottom: 30px; color: var(--white); }
.nf .stub-codes small { color: rgba(255, 255, 255, .75); }
.nf .stub-plane { color: var(--white); }
.nf .stub-plane::before, .nf .stub-plane::after { border-color: rgba(255, 255, 255, .45); }

/* =========================================================
   HOME v2 (layout after the user's reference) + shared header/footer
   ========================================================= */
h1, h2, h3, h4, .h-xl { font-weight: 500; }
.nav { position: relative; }
.nav-links { flex: 1; justify-content: center; margin: 0; }
.nav-links li:last-child { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
body:has(.page-hero.is-red) .site-header:not(.is-scrolled) .nav-links .btn-red { background: var(--white); color: var(--navy); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-sm svg { width: 16px; height: 16px; }

/* Hero: photo + frosted search card */
.p-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: min(820px, 100svh); padding: 130px 0 80px; color: var(--white); background: var(--navy); }
.p-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 3, 35, .9) 0%, rgba(0, 3, 35, .6) 55%, rgba(0, 3, 35, .4) 100%), linear-gradient(0deg, rgba(0, 3, 35, .75), transparent 45%); }
.p-hero > img.hero-bg { object-position: 62% 50%; }
.p-hero > video.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.p-hero > video.hero-video.is-playing { opacity: 1; }
@media (max-width: 820px) { .p-hero > video.hero-video { object-position: 68% 50%; } }
.ph > img.hero-bg { object-position: 70% 50%; }
.ph > img.hero-bg[src*="hero-wing"] { object-position: 58% 60%; }
@media (max-width: 820px) { .ph > img.hero-bg[src*="hero-wing"] { object-position: 82% 55%; } }
/* About: people photo, so the text sits along the bottom and leaves the faces clear */
.ph.is-people { min-height: min(820px, 96svh); }
.ph.is-people > img.hero-bg { object-position: 50% 28%; }
.ph.is-people:has(.hero-bg)::before { background: linear-gradient(0deg, rgba(0, 3, 35, .95) 0%, rgba(0, 3, 35, .72) 26%, rgba(0, 3, 35, .12) 58%, rgba(0, 3, 35, .3) 100%); }
.ph.is-people { padding-bottom: clamp(40px, 5vw, 64px); }
.ph.is-people h1 { max-width: none; font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.ph.is-people .kicker { margin-bottom: 12px; }
.ph.is-people .lead { max-width: 60ch; }
@media (max-width: 820px) {
  .ph.is-people { min-height: min(720px, 92svh); }
  .ph.is-people > img.hero-bg { object-position: 52% 30%; }
  .ph.is-people:has(.hero-bg)::before { background: linear-gradient(0deg, rgba(0, 3, 35, .97) 0%, rgba(0, 3, 35, .8) 38%, rgba(0, 3, 35, .15) 70%, rgba(0, 3, 35, .35) 100%); }
}
.ph:has(.hero-bg)::before { background: linear-gradient(90deg, rgba(0, 3, 35, .8) 0%, rgba(0, 3, 35, .42) 50%, rgba(0, 3, 35, .12) 100%), linear-gradient(0deg, rgba(0, 3, 35, .55), transparent 40%); }
@media (max-width: 820px) { .ph > img.hero-bg { object-position: 78% 50%; } .ph:has(.hero-bg)::before { background: linear-gradient(180deg, rgba(0, 3, 35, .45) 0%, rgba(0, 3, 35, .7) 55%, rgba(0, 3, 35, .9) 100%); } }
.p-hero:has(.hero-bg)::before { background: linear-gradient(90deg, rgba(0, 3, 35, .82) 0%, rgba(0, 3, 35, .45) 50%, rgba(0, 3, 35, .2) 100%), linear-gradient(0deg, rgba(0, 3, 35, .6), transparent 40%); }
@media (max-width: 820px) { .p-hero > img.hero-bg { object-position: 68% 50%; } .p-hero:has(.hero-bg)::before { background: linear-gradient(180deg, rgba(0, 3, 35, .55) 0%, rgba(0, 3, 35, .75) 60%, rgba(0, 3, 35, .9) 100%); } }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.p-hero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 26px; }
.p-hero .sub { color: rgba(255, 255, 255, .82); max-width: 44ch; }
.p-hero .sub b { display: block; margin-bottom: 6px; color: var(--white); font-weight: 500; font-size: 1.1rem; }
.glass { padding: 30px 26px 26px; border-radius: 24px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.glass h2 { font-size: 1.45rem; line-height: 1.3; text-align: center; margin-bottom: 20px; letter-spacing: -.015em; }
.pill-fld { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; margin-bottom: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); transition: border-color .2s, background-color .2s; }
.pill-fld:hover { border-color: rgba(255, 255, 255, .6); }
.pill-fld:focus-within { border-color: var(--white); background: rgba(255, 255, 255, .16); }
.pill-fld > svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.pill-fld > span { flex: none; font-size: .85rem; opacity: .7; }
.pill-fld select, .pill-fld input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; color: inherit; font-size: .95rem; font-weight: 500; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pill-fld option, .pill-fld optgroup { color: var(--navy); }
.pill-fld input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .8; cursor: pointer; }
.pill-fld.caret::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; rotate: 45deg; translate: 0 -2px; opacity: .75; pointer-events: none; }
.glass .btn { width: 100%; margin-top: 6px; }
.glass .form-msg { margin-top: 8px; min-height: 0; text-align: center; color: #ffd0d5; }
.pill-light .pill-fld { border-color: var(--line); background: var(--white); color: var(--navy); }
.pill-light .pill-fld:hover { border-color: rgba(0, 3, 35, .3); }
.pill-light .pill-fld:focus-within { border-color: var(--navy); background: var(--white); }
.pill-light .pill-fld input::-webkit-calendar-picker-indicator { filter: none; }
.pill-light .pill-fld > svg { color: var(--red); opacity: 1; }
.pill-light .form-msg { color: var(--red-deep); }

/* Statement with photos set into the text */
.statement { padding-block: clamp(72px, 9vw, 120px); background: var(--peri-soft); text-align: center; }
.statement p { max-width: 960px; margin-inline: auto; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.38; letter-spacing: -.02em; }
.statement .dim { color: rgba(0, 3, 35, .34); }
.chip-img { display: inline-block; width: 2.3em; height: 1.05em; margin: 0 .12em; border-radius: 999px; overflow: hidden; vertical-align: -.14em; background: var(--peri); }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }

/* Intro: photo trio + numbers */
.intro-top, .intro-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.intro-top { align-items: center; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio .photo { aspect-ratio: 3 / 4; border-radius: 14px; }
.intro-top h2 { margin-bottom: 28px; }
.intro-bottom { margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.intro-bottom h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -.01em; }
.intro-bottom p { color: var(--muted); font-size: .96rem; max-width: 52ch; }
.stat-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.stat-split h3 { padding-bottom: 16px; border-bottom: 1.5px solid var(--navy); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .84rem; color: var(--muted); }
.stats dd { margin: 0; font-size: 1.65rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }

/* Showcase slider */
.show-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.show-copy h2 { margin-bottom: 16px; }
.show-copy p { color: var(--muted); margin-bottom: 28px; max-width: 40ch; }
.icon-row { display: flex; gap: 10px; }
.icon-row a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); transition: background-color .25s, translate .3s var(--ease); }
.icon-row a:hover { background: var(--red); translate: 0 -2px; }
.icon-row svg { width: 19px; height: 19px; }
.slides { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #12153a; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 20px; }
.slider-bar h3 { font-size: 1.25rem; margin-bottom: 6px; letter-spacing: -.01em; }
.slider-bar p { color: var(--muted); font-size: .95rem; max-width: 46ch; }
.slider-ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.slider-ctrl button { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.slider-ctrl button:hover { border-color: var(--navy); }
.slider-ctrl button[data-next] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slider-ctrl button[data-next]:hover { background: var(--red); border-color: var(--red); }
.slider-ctrl svg { width: 18px; height: 18px; }
.slider-ctrl [data-count] { min-width: 4.6em; text-align: center; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Services */
.services { background: var(--peri-soft); text-align: center; }
.services h2 { max-width: 18ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); text-align: left; }
.svc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.svc-ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); }
.svc-ico svg { width: 22px; height: 22px; }
.svc-head h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.svc p { color: var(--muted); font-size: .95rem; }

/* Live departures */
.status-top, .status-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.status-top { align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.status-top .photo { aspect-ratio: 16 / 7; border-radius: 16px; }
.status-body { align-items: start; }
.departures { margin: 0; padding: 0; list-style: none; counter-reset: dep; }
.dep { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px 28px; padding: 26px 0; border-top: 1px solid var(--line); counter-increment: dep; }
.dep:last-child { border-bottom: 1px solid var(--line); }
.dep h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -.015em; }
.dep h3::before { content: counter(dep, decimal-leading-zero) ". "; }
.dep p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; max-width: 38ch; }
.dep-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-content: start; font-size: .9rem; }
.dep-meta small { display: block; color: var(--muted); font-size: .8rem; }
.dep-meta b { font-weight: 600; }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #e2f5e9; color: #17643a; }
.status-pill.is-boarding { background: var(--blush); color: var(--red-deep); }
.status-pill.is-delayed { background: #fff0d4; color: #845400; }
.status-form { position: sticky; top: 100px; padding: 26px; border-radius: 22px; background: var(--peri-soft); }
.status-form h3 { font-size: 1.15rem; margin-bottom: 6px; letter-spacing: -.01em; }
.status-form > p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.status-form .btn { margin-top: 6px; }

/* Travel guides (dark) */
.stories { background: var(--navy); color: var(--white); text-align: center; }
.stories h2 { max-width: 20ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 28px 24px; overflow: hidden; border-radius: 18px; color: var(--white); text-decoration: none; }
.story img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 3, 35, .1) 25%, rgba(0, 3, 35, .9)); }
.story:hover img { scale: 1.05; }
.story h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -.01em; }
.story p { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.stories .btn { margin-top: clamp(36px, 5vw, 56px); }

/* Footer (all pages) */
.site-footer { background: var(--white); color: var(--navy); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 40px; }
.foot-mail { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -.02em; text-decoration: none; transition: color .25s; }
.foot-mail:hover { color: var(--red); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.foot-nav a { font-weight: 500; text-decoration: none; transition: color .25s; }
.foot-nav a:hover { color: var(--red); }
.foot-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px 48px; margin-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-mid p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.news-form { justify-self: end; width: min(100%, 440px); }
.news-row { display: flex; padding: 4px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .2s; }
.news-row:focus-within { border-color: var(--navy); }
.news-form.has-error .news-row { border-color: var(--red); }
.news-row input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; outline: none; font-size: .95rem; }
.news-row .btn { min-height: 44px; padding: 0 20px; }
.news-note { min-height: 1.4em; margin-top: 8px; font-size: .86rem; color: var(--muted); }
.site-footer .foot-base { margin-top: 24px; padding-top: 0; border-top: 0; color: var(--muted); }
.site-footer .foot-base a { color: var(--navy); }

/* Inner pages: photo header + soft bands (reference style) */
.bg-peri { background: var(--peri-soft); }
.ph { display: grid; align-items: end; min-height: min(640px, 82svh); padding: 170px 0 clamp(64px, 8vw, 104px); background: var(--navy); }
.ph > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 3, 35, .9) 0%, rgba(0, 3, 35, .62) 55%, rgba(0, 3, 35, .4) 100%), linear-gradient(0deg, rgba(0, 3, 35, .7), transparent 50%); }
.ph h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.035em; max-width: 14ch; }
.ph .lead { color: rgba(255, 255, 255, .84); }
.ph.has-card .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.ph .kicker { color: var(--blush); }
.route-card { background: var(--peri-soft); }
.route-card .flag { display: none; }
.route-card { padding-right: 24px; }
.route-card .meta { margin-right: 0; }
.statement.is-compact { padding-block: clamp(56px, 7vw, 96px); }
.cta-soft { background: var(--peri-soft); text-align: center; }
.cta-soft h2 { max-width: 16ch; margin: 0 auto 16px; }
.cta-soft .lead { margin: 0 auto 30px; }
.cta-soft .cta-actions { justify-content: center; }
.book-hero { position: relative; isolation: isolate; }
.book-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.book-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 3, 35, .9), rgba(0, 3, 35, .58)); }
.ph.nf { min-height: 100svh; align-items: center; }
.facts { border-top: 1.5px solid var(--navy); }

@media (max-width: 960px) {
  .ph.has-card .wrap { grid-template-columns: minmax(0, 1fr); }
  .p-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .glass { max-width: 520px; }
  .intro-top, .intro-bottom, .show-grid, .status-top, .status-body, .foot-mid { grid-template-columns: minmax(0, 1fr); }
  .status-top .photo { order: 2; }
  .status-form { position: static; }
  .news-form { justify-self: start; }
  .svc-grid, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story { min-height: 300px; }
}
@media (max-width: 820px) {
  .nav-links { justify-content: center; }
  .nav-links li:last-child { position: static; translate: none; }
  .p-hero { padding: 110px 0 56px; min-height: 0; }
  .ph { min-height: 0; padding: 130px 0 56px; }
  .ph.nf { min-height: 100svh; }
}
@media (max-width: 540px) {
  .stat-split, .dep { grid-template-columns: minmax(0, 1fr); }
  .slider-bar { flex-direction: column; gap: 14px; }
  .glass { padding: 24px 18px 20px; }
  .trio { gap: 8px; }
}

/* =========================================================
   MOTION (only when html.motion is set, i.e. reduced motion is off)
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* The one orchestrated moment: the hero's tile wall assembles, then the headline rises */
.motion .tiles i { opacity: 0; scale: .2; rotate: -24deg; }
.motion .tiles.is-built i { opacity: 1; scale: 1; rotate: 0deg; transition: opacity .5s var(--ease), scale .8s var(--ease), rotate .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.motion .rise { opacity: 0; translate: 0 28px; }
.motion .is-ready .rise, .motion .rise.is-in { opacity: 1; translate: 0 0; transition: opacity .9s var(--ease), translate 1s var(--ease); transition-delay: var(--rd, 0s); }

/* Quiet scroll reveals */
.motion .rv { opacity: 0; translate: 0 24px; }
.motion .rv.is-in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .9s var(--ease); transition-delay: var(--rd, 0s); }

/* ---- Premium layer (motion.js) ---- */
/* Header drops in on load (backwards fill only, so hide-on-scroll still works afterwards) */
.motion .site-header { animation: head-in 1s var(--ease) .1s backwards; }
@keyframes head-in { from { translate: 0 -100%; opacity: 0; } }

/* Headlines: words rise from behind a mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .wi { display: inline-block; }
.motion .split .wi { translate: 0 110%; }
.motion .split.is-in .wi { translate: 0 0; transition: translate 1.05s cubic-bezier(.2, .8, .1, 1); transition-delay: calc(var(--wi, 0) * 55ms + var(--rd, 0s) + .05s); }

/* Header photo / video: settles from a slow zoom, then moves slower than the page */
.motion .p-hero > img, .motion .p-hero > video, .motion .ph > img { translate: 0 var(--hy, 0px); animation: hero-settle 2.8s cubic-bezier(.2, .7, .1, 1) both; will-change: translate, scale; }
@keyframes hero-settle { from { scale: 1.16; } to { scale: 1.04; } }
.motion .p-hero > .wrap, .motion .ph:not(.nf) > .wrap { translate: 0 calc(var(--hp, 0) * -70px); opacity: calc(1 - var(--hp, 0) * .85); }

/* Photo frames wipe open, the photo inside settles, then drifts with the scroll */
.motion .photo, .motion .gallery figure, .motion .story, .motion .slides { clip-path: inset(100% 0 0 0 round 18px); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
.motion .photo.is-in, .motion .gallery figure.is-in, .motion .story.is-in, .motion .slides.is-in { clip-path: inset(0 0 0 0 round 18px); }
.motion .photo.rv, .motion .gallery figure.rv, .motion .story.rv { opacity: 1; translate: none; }
.motion .photo > img, .motion .gallery figure > img { scale: 1.12; translate: 0 calc(var(--pp, 0) * -4%); transition: scale 1.8s cubic-bezier(.2, .7, .1, 1); }
.motion .photo:not(.is-in) > img, .motion .gallery figure:not(.is-in) > img { scale: 1.35; }
.motion .story:not(.is-in) img { scale: 1.3; }
.motion .story img { transition: scale 1.8s cubic-bezier(.2, .7, .1, 1); }
.motion .story.is-in:hover img { scale: 1.05; transition-duration: .9s; }
.motion .gallery figcaption { opacity: 0; translate: 0 8px; transition: opacity .6s .9s, translate .6s .9s; }
.motion .gallery figure.is-in figcaption { opacity: 1; translate: 0 0; }

/* Slider: the active photo slowly settles */
.motion .slide.is-on img { animation: kb 8s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes kb { from { scale: 1.12; } to { scale: 1; } }

/* Statement: the small photos pop into the line one after another */
.motion .statement .chip-img { scale: .3; opacity: 0; }
.motion .statement .is-in .chip-img { scale: 1; opacity: 1; transition: scale .8s cubic-bezier(.3, 1.4, .5, 1), opacity .4s; }
.motion .statement .is-in .chip-img:nth-of-type(1) { transition-delay: .35s; }
.motion .statement .is-in .chip-img:nth-of-type(2) { transition-delay: .55s; }
.motion .statement .is-in .chip-img:nth-of-type(3) { transition-delay: .75s; }

/* Stats underline draws in */
.motion .stat-split h3 { border-bottom-color: transparent; background: linear-gradient(var(--navy), var(--navy)) left bottom / 0 1.5px no-repeat; transition: background-size 1.2s cubic-bezier(.7, 0, .2, 1) .2s; }
.motion .stat-split.is-in h3 { background-size: 100% 1.5px; }

/* Buttons lean toward the cursor */
.magnetic { translate: var(--mx, 0px) var(--my, 0px); transition: translate .45s cubic-bezier(.2, .8, .2, 1), background-color .3s, color .3s, box-shadow .3s; }

/* Light follows the cursor on the frosted search card */
.glass { position: relative; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 60%); transition: opacity .5s; }
.glass.is-lit::after { opacity: 1; }

/* Live "Boarding" dot */
.status-pill.is-boarding::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.motion .status-pill.is-boarding::before { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Plane flies across the stub when the route changes */
.stub-plane svg.fly { animation: fly .7s var(--ease); }
@keyframes fly { 0% { translate: -40px 0; opacity: 0; } 60% { opacity: 1; } 100% { translate: 0 0; } }
.flight { animation: card-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; translate: 0 18px; } }
.bp-wrap.is-new { animation: pass-in 1s var(--ease) both; }
@keyframes pass-in { from { opacity: 0; translate: 0 40px; rotate: -3deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  @view-transition { navigation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-copy { margin-left: 34%; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pass { --stub: 260px; }
  .app-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app-copy { grid-column: 1 / -1; padding-right: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flight { --stub: 210px; }
}

@media (max-width: 820px) {
  .nav .brand { position: relative; z-index: 2; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 100px var(--gutter) 40px; background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav-links a:not(.btn) { font-size: 1.8rem; font-weight: 600; padding: 12px 8px; }
  .nav-links .btn { margin: 20px 0 0; min-height: 56px; }
  .site-header.is-hidden { translate: 0 0; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { padding: 120px 0 150px; min-height: 0; }
  .tiles { width: 120%; inset: -6% -10% auto -20%; height: 62%; }
  .tiles::after { background: linear-gradient(180deg, transparent 30%, var(--red) 96%); }
  .hero-copy { margin-left: 0; padding-top: 34vw; }
  .sec-head, .exp-split, .page-hero.has-photo .wrap, .dest-banner, .tabs, .contact-grid, .pax-card, .bp-stage { grid-template-columns: minmax(0, 1fr); }
  .sec-head { align-items: start; }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .journey li:nth-child(even) .photo { order: 0; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g-wall, .gallery .g-binder, .gallery .g-shelter { grid-column: 1 / -1 !important; }
  .page-hero.has-photo .photo { aspect-ratio: 4 / 3; }
  .cta .tiles { width: 110%; inset: auto -20% -10% -20%; height: 50%; transform-origin: bottom left; }
  .cta .tiles::after { background: linear-gradient(0deg, transparent 30%, var(--red) 96%); }
  .page-hero.is-red .tiles { width: 110%; inset: auto -20% -10% -20%; height: 45%; transform-origin: bottom left; }
  .page-hero.is-red .tiles::after { background: linear-gradient(0deg, transparent 20%, var(--red) 96%); }
  .page-hero.is-red { padding-bottom: 44vw; }
  .tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { justify-content: center; padding: 12px; font-size: 1.05rem; }
  .tab svg { display: none; }
  .bp-stage { justify-items: center; }
  .bp-copy { justify-self: stretch; }

  /* Boarding pass card: stub moves underneath, perforation runs across */
  .pass {
    grid-template-columns: minmax(0, 1fr);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cutpx, calc(100% - 184px)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% var(--cutpx, calc(100% - 184px)), #0000 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--notch) at 0 var(--cutpx, calc(100% - 184px)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% var(--cutpx, calc(100% - 184px)), #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .pass-stub { border-radius: 0 0 26px 26px; background-image: linear-gradient(90deg, var(--peri) 50%, transparent 0); background-size: 14px 2px; background-repeat: repeat-x; }
  .search .pass-stub { height: 184px; gap: 14px; }
  .flight .pass-stub { height: 96px; flex-direction: row; align-items: center; justify-content: space-between; }
  .flight { --cutpx: calc(100% - 96px); }
  .flight .btn { width: auto; }
  .flight .pass-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; padding: 20px; }
}

@media (max-width: 540px) {
  .nav { height: 68px; }
  .brand { font-size: 1.3rem; }
  .brand svg { width: 30px; }
  .fields { gap: 10px; }
  .fld input[type="date"] { min-width: 0; padding-inline: 10px 6px; font-size: .9rem; }
  .fld input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 0; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero { padding-bottom: 130px; }
  .routes .route-card { min-height: 0; }
  .swap { justify-self: end; margin: -6px 4px -6px 0; rotate: 90deg; width: 42px; height: 42px; position: relative; z-index: 1; }
  .swap.spin { rotate: 270deg; }
  .pass-main { padding: 20px 18px 22px; }
  .pass-stub { padding: 20px 18px; }
  .search-wrap { margin-top: -100px; }
  .routes, .feed { grid-template-columns: minmax(0, 1fr); }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .route-card { min-height: 200px; }
  .cabins li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-grid .photo { min-height: 0; aspect-ratio: 1; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .extra { padding-right: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .flight .pass-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; padding: 18px 16px; }
  .f-end b { font-size: 1.35rem; }
  .flight .pass-stub { padding: 14px 16px; }
  .price b { font-size: 1.35rem; }
  .bp-route b { font-size: 2rem; }
  .bp-body { padding: 20px 18px 0; }
  .bp-foot { padding: 18px 20px 22px; }
}

@media print {
  .site-header, .site-footer, .book-hero, .steps-nav, .bp-copy { display: none !important; }
  .book-body { padding: 0; background: none; }
}
