/* flyjetloop.com */
:root {
  --ink: #0A3447;
  --teal: #13799B;
  --cyan: #6BC5DA;
  --paper: #F6F8FA;
  --white: #ffffff;
  --line: #DDE3EA;
  --line-soft: #E3E8EE;
  --text-2: #3B5563;
  --text-3: #587080;
  --on-dark: #F6F8FA;
  --on-dark-2: #C3DEE6;
  --on-dark-3: #9CC6D3;
  --dark-line: #2F6680;
  --green: #2E7D64;
  --green-text: #256A54;
  --green-bg: #E6F3EE;
  --amber: #B9822E;
  --amber-text: #8A5A12;
  --visa-bg: #FFF5E6;
  --visa-text: #7A4508;
  --red-text: #9A3B22;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--cyan); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.5px; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--text-3); }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header.on-dark { color: var(--on-dark); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; font-size: 15px; }
.nav-links a { padding: 12px 0; text-decoration: none; color: var(--text-2); }
.on-dark .nav-links a { color: var(--on-dark-2); }
.nav-links a[aria-current="page"] { font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; }
.on-dark .nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 600; text-decoration: none; }
.on-dark .nav-cta { border-color: #3A7892; color: var(--on-dark); }
.menu-btn { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: flex-end; }
.dark-band { background: var(--ink); color: var(--on-dark); }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid var(--teal); background: var(--teal); color: #fff; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: #0F6A88; border-color: #0F6A88; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.input { min-height: 52px; padding: 0 16px; border-radius: var(--radius); border: 1px solid #C7D6DD; background: #fff; font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.on-dark .input { background: transparent; border-color: var(--dark-line); color: var(--on-dark); }
select.input { padding-right: 36px; }
.field-label { font-size: 13px; color: var(--text-3); }
.on-dark .field-label { color: var(--on-dark-3); }
.link-arrow { font-weight: 600; font-size: 16px; }

/* Hero */
.hero { position: relative; overflow-x: clip; overflow-y: visible; min-height: 780px; display: flex; flex-direction: column; }
.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-body { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; padding-top: 72px; padding-bottom: 56px; }
.hero-copy { position: relative; z-index: 1; max-width: 540px; display: flex; flex-direction: column; gap: 20px; }
.hero .search { position: relative; z-index: 2; }
.hero h1 { font-size: 80px; line-height: 0.98; letter-spacing: -1.5px; }
.hero p { font-size: 19px; line-height: 1.55; color: var(--on-dark-2); }
.map-grid { fill: none; stroke: #1B4A5E; stroke-width: 1; }
.map-base { fill: none; stroke: #3A8BA6; stroke-width: 1.2; opacity: 0.6; }
.map-flow { fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1 11; animation: jlflow 8s linear infinite; }
.map-dot { offset-rotate: 0deg; animation: jlfly 6s cubic-bezier(.45,0,.25,1) infinite; }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: jlpulse 2.8s ease-out infinite; }
.map-city { fill: var(--on-dark); font: 600 15px var(--sans); }
.map-meta { fill: var(--on-dark-3); font: 13px var(--sans); }
.map-note { fill: #6F9DAD; font: 12px var(--sans); }
@keyframes jlflow { to { stroke-dashoffset: -240; } }
@keyframes jlfly { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes jlpulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .map-flow, .map-pulse { animation: none !important; }
  .map-dot { animation: none !important; opacity: 0; }
}

.route-list { display: none; flex-direction: column; margin: 0 0 20px; padding: 0; list-style: none; position: relative; z-index: 1; }
.route-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #1E5A70; font-size: 15px; }
.route-list li span:last-child { color: var(--on-dark-3); text-align: right; }

/* Search panel */
.search { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); padding: 0 10px 10px 28px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line-soft); margin-right: 18px; }
.tab { min-height: 56px; padding: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; font: inherit; font-size: 16px; font-weight: 500; color: var(--text-3); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.search-row { display: flex; flex-wrap: wrap; align-items: stretch; }
.sf { position: relative; flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-right: 1px solid var(--line-soft); min-width: 0; }
.sf:first-child { padding-left: 0; }
.sf.wide { flex: 2 1 240px; }
.sf.last { border-right: 0; }
.sf input { border: 0; outline: none; padding: 0; font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); background: transparent; width: 100%; min-height: 28px; }
.sf input:focus-visible { outline: none; }
.sf:focus-within { background: linear-gradient(to top, var(--teal) 0, var(--teal) 2px, transparent 2px); }
.sf input[type="date"] { font-size: 17px; }
.sf .check { flex-direction: row; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.search-submit { flex: 0 0 auto; margin-top: 10px; min-height: 64px; padding: 0 40px; }
.form-error { color: var(--red-text); font-size: 14px; padding: 8px 0 0; }

/* Autocomplete */
.ac-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(10,52,71,0.35); min-width: 260px; }
.ac-list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--paper); }
.ac-list .ac-code { color: var(--text-3); font-size: 14px; }

/* Sections */
.section { padding: 120px 0 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.section h2 { font-size: 54px; letter-spacing: -1px; }
.lede { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 480px; }
.split { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.split > * { flex: 1 1 420px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }

/* Emission bars */
.bar { position: relative; height: 5px; background: var(--line-soft); border-radius: 3px; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.bar-tick { position: absolute; top: -5px; width: 2px; height: 15px; background: var(--ink); }
.co2-low { color: var(--green-text); } .fill-low { background: var(--green); }
.co2-high { color: var(--amber-text); } .fill-high { background: var(--amber); }
.co2-mid { color: #4A5B6D; } .fill-mid { background: #7D8EA0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card.dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.card-art { position: relative; height: 280px; }
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-art h3 { position: absolute; left: 28px; bottom: 20px; font-size: 56px; letter-spacing: -1px; line-height: 1; }
.card-body { padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 6px; }
.card-body strong { font-size: 18px; }
.card-body span { font-size: 15px; color: var(--text-3); }
.card.dark .card-body span { color: var(--on-dark-3); }
.tag-sample { position: absolute; top: 16px; left: 16px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--ink); font-size: 12px; font-weight: 600; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 32px; }
.link-grid a { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-top: 1px solid #C9D3DE; text-decoration: none; }
.link-grid strong { font-size: 19px; }
.link-grid span { font-size: 15px; color: var(--text-3); }

.ad-slot { margin: 80px auto 0; max-width: 970px; min-height: 90px; }

/* Signup band */
.signup { margin-top: 80px; padding: 80px 0; }
.signup .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.signup h2 { font-size: 48px; }
.signup p { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); max-width: 460px; margin-top: 16px; }
.signup-form { flex: 1 1 440px; display: flex; flex-direction: column; gap: 8px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .input { flex: 1 1 240px; width: auto; }
.form-msg { font-size: 14px; min-height: 20px; }
.on-dark .form-msg { color: var(--on-dark-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 56px 0 64px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 30px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: var(--text-3); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; min-width: 140px; }
.footer-col strong { font-weight: 600; }

/* Page header (inner pages) */
.page-head { padding-bottom: 48px; }
.page-head h1 { font-size: 56px; letter-spacing: -1px; line-height: 1.02; }
.page-head .sub { font-size: 17px; color: var(--on-dark-3); margin-top: 8px; }
.page-head-row { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Results */
.results-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 40px; padding-bottom: 72px; }
.results-aside { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; gap: 32px; }
.results-main { flex: 999 1 640px; min-width: 0; }
.passport-box { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 12px; background: #EEF5F7; }
.passport-box .title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.passport-box .hint { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.filter { margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.filter:first-of-type { border-top: 0; padding-top: 0; }
.filter legend { padding: 0 0 10px; font-size: 15px; font-weight: 600; float: left; width: 100%; }
.filter label { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; }
.filter input { width: 18px; height: 18px; accent-color: var(--teal); }
.follow { padding: 24px; border-radius: 12px; background: #EEF5F7; display: flex; flex-direction: column; gap: 10px; }
.follow h2 { font-size: 24px; }
.follow p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.sort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.sort button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 72px; padding: 0 24px; border: 0; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--text-2); cursor: pointer; text-align: left; }
.sort button span { font-size: 14px; font-weight: 400; color: var(--text-3); }
.sort button[aria-pressed="true"] { font-weight: 600; color: var(--ink); background: #EEF5F7; box-shadow: inset 0 -2px 0 var(--ink); }
.results-intro { margin: 24px 0 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 720px; }
.fare { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.fare-info { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.fare-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.fare-airline { flex: 0 0 160px; display: flex; flex-direction: column; gap: 4px; }
.fare-airline strong { font-size: 16px; }
.fare-tag { font-size: 13px; font-weight: 600; color: var(--teal); }
.fare-tag.green { color: var(--green-text); }
.fare-times { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.fare-times .t { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; }
.fare-times .t sup { font-size: 13px; color: var(--text-3); margin-left: 2px; }
.fare-times .d { font-size: 14px; color: var(--text-3); }
.fare-co2 { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.fare-buy { flex: 0 0 220px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line-soft); }
.fare-price { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.fare-sub { font-size: 13px; color: var(--text-3); margin-top: -4px; }
.fare-buy .btn { min-height: 48px; padding: 0 16px; font-size: 15px; }
.visa-note { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 10px; background: var(--visa-bg); font-size: 15px; }
.visa-note svg { flex: 0 0 auto; }
.visa-note .vt { display: flex; flex-direction: column; gap: 2px; }
.visa-note strong { color: var(--visa-text); }
.visa-note .vd { color: #7A5A2A; }
.visa-note small { font-size: 13px; color: #7A5A2A; }
.visa-note.ok { background: var(--green-bg); }
.visa-note.ok strong { color: #1E5E48; }
.visa-note.ok .vd { color: #2F6B57; }
.visa-note.info { background: #EEF5F7; }
.visa-note.info strong { color: var(--ink); }
.visa-note.info .vd { color: var(--text-2); }
.state { padding: 48px 0; color: var(--text-2); font-size: 17px; }
.skeleton { height: 120px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(90deg, #EEF2F5 0, #F6F8FA 40%, #EEF2F5 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 6px; margin: 12px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.fineprint { margin-top: 24px; font-size: 13px; line-height: 1.55; color: var(--text-3); max-width: 760px; }
.edit-search { margin-top: 28px; }

/* Journeys */
.journey-hero { position: relative; overflow: hidden; min-height: 600px; display: flex; flex-direction: column; }
.journey-hero h1 { font-size: 132px; line-height: 0.9; letter-spacing: -3px; }
.journey-hero .kicker { font-size: 16px; color: var(--on-dark-3); }
.journey-hero p { font-size: 20px; line-height: 1.5; color: var(--on-dark-2); max-width: 560px; margin-top: 8px; }
.page-hero { min-height: 480px; }
.page-hero h1 { font-size: 104px; }
.page-hero .body { padding-top: 48px; }
.contour { position: relative; overflow: hidden; }
.contour > :not(.journey-map) { position: relative; z-index: 1; }
.contour .site-header { z-index: 5; }
.journey-hero .body { width: 100%; position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding-bottom: 64px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 1px solid #C9D3DE; border-bottom: 1px solid #C9D3DE; }
.facts div { padding: 20px 0 20px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 14px; color: var(--text-3); }
.facts dd { margin: 0; font-size: 19px; font-weight: 600; }
.journey-layout { display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; padding-top: 64px; }
.journey-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.journey-lede { font-family: var(--serif); font-size: 30px; line-height: 1.35; max-width: 680px; }
.days h2, .included h2 { font-size: 40px; margin-bottom: 16px; }
.day { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.day:last-child { border-bottom: 1px solid var(--line); }
.day .n { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--teal); }
.day strong { display: block; font-size: 18px; }
.day span { font-size: 16px; color: var(--text-3); }
.included ul { margin: 0; padding: 0 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 32px; font-size: 17px; }
.book-panel { flex: 1 1 360px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 48px -28px rgba(10,52,71,0.3); }
.book-panel h2 { font-size: 32px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.pay-option[aria-pressed="true"] { border: 1.5px solid var(--ink); }
.pay-option .dot { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #9AA9B8; }
.pay-option[aria-pressed="true"] .dot { border: 6px solid var(--teal); }
.pay-option .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pay-option .txt strong { font-size: 16px; }
.pay-option .txt span { font-size: 14px; color: var(--text-3); }
.pay-option .amt { font-family: var(--serif); font-size: 26px; }
.book-note { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.notice { padding: 12px 16px; border-radius: 10px; background: var(--visa-bg); color: var(--visa-text); font-size: 14px; }

/* Visas */
.visa-hero { padding-bottom: 96px; }
.visa-hero .wrap.split { margin-top: 64px; }
.visa-hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -1.5px; }
.visa-hero p { font-size: 19px; line-height: 1.55; color: var(--on-dark-2); max-width: 480px; margin-top: 20px; }
.visa-form { max-width: 520px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 28px 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.visa-form label { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.visa-form label:last-of-type { margin-bottom: 20px; }
.visa-form select { border: 0; padding: 0; font: inherit; font-size: 20px; font-weight: 600; color: var(--ink); background: transparent; min-height: 32px; }
.visa-result { display: flex; flex-direction: column; gap: 22px; }
.visa-result h2 { font-size: 48px; }
.visa-result .headline { font-family: var(--serif); font-size: 28px; line-height: 1.35; max-width: 640px; }
.service { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.service .txt { display: flex; flex-direction: column; gap: 2px; }
.service strong { font-size: 16px; font-weight: 600; }
.service .txt span { font-size: 14px; color: var(--text-2); }
.service .pill { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.service:hover .pill { background: var(--ink); color: #fff; border-color: var(--ink); }
.checklist label { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist input { width: 20px; height: 20px; accent-color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }

/* Journal */
.masthead h1 { font-size: 112px; line-height: 0.9; letter-spacing: -3px; }
.masthead p { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 400px; }
.post-list a { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.post-list a strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.post-list a span { font-size: 14px; color: var(--text-3); }
.news { padding: 72px 0; margin-top: 96px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 40px; }
.news-grid a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid #1E5A70; text-decoration: none; color: var(--on-dark); }
.news-grid a span:first-child { font-size: 18px; line-height: 1.4; }
.news-grid a span:last-child { font-size: 13px; color: var(--on-dark-3); }
.empty-journal { padding: 32px; border: 1px dashed #C9D3DE; border-radius: 12px; color: var(--text-2); font-size: 17px; line-height: 1.6; }

/* Prose pages */
.prose { max-width: 720px; padding: 64px 0 96px; }
.prose h1 { font-size: 56px; margin-bottom: 24px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose p + p { margin-top: 16px; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open .nav { flex-wrap: wrap; }
  .site-header.open .nav-links { display: flex; flex-direction: column; gap: 0; width: 100%; order: 3; padding-bottom: 16px; }
  .site-header.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .on-dark.open .nav-links a { border-bottom-color: #1E5A70; }
  .site-header.open .nav-links a[aria-current="page"] { border-bottom-width: 1px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav { min-height: 72px; }
  .logo img { height: 24px; }
  .hero { min-height: 0; }
  .hero-map { position: relative; inset: auto; height: 200px; margin: 4px -20px 0; width: calc(100% + 40px); }
  .hero-map .map-city, .hero-map .map-meta, .hero-map .map-note { display: none; }
  .route-list { display: block; position: relative; height: 46px; overflow: hidden; border-top: 1px solid #1E5A70; cursor: pointer; }
  .route-list li { position: absolute; inset: 0; align-items: center; border-top: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
  .route-list li.on { opacity: 1; transform: none; }
  .hero-body { padding-top: 24px; padding-bottom: 32px; gap: 0; }
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: 52px; letter-spacing: -0.5px; }
  .hero p { font-size: 17px; }
  .hero-search-wrap { margin-top: 8px; }
  .search { padding: 0 16px 16px; }
  .tabs { margin-right: 0; }
  .sf, .sf:first-child { flex: 1 1 100%; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .sf.half { flex: 1 1 50%; }
  .sf.half + .sf.half { padding-left: 16px; border-left: 1px solid var(--line-soft); }
  .search-submit { width: 100%; margin-top: 14px; min-height: 56px; }
  .section { padding-top: 64px; }
  .section h2 { font-size: 34px; }
  .split { gap: 32px; }
  .panel { padding: 24px; }
  .card-art { height: 200px; }
  .card-art h3 { font-size: 40px; }
  .signup { padding: 48px 0; }
  .signup h2 { font-size: 32px; }
  .page-head { padding-bottom: 28px; }
  .page-head h1 { font-size: 36px; }
  .results-aside { display: contents; }
  .results-aside > * { flex: 1 1 100%; order: 2; }
  .results-aside > .passport-box { order: 0; }
  .results-layout { gap: 0 32px; padding-top: 0; }
  .results-layout > .filter { margin-top: 32px; }
  .results-aside > .follow { margin: 32px 0 0; }
  .results-main { order: 1; margin-bottom: 8px; }
  .passport-box { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; border-radius: 0; margin: 0 -20px; padding: 14px 20px; }
  .passport-box .input { width: auto; flex: 0 1 200px; min-height: 44px; }
  .passport-box .hint { display: none; }
  .sort { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 0; border-left: 0; border-right: 0; margin: 0 -20px; }
  .sort button { padding: 0 12px; min-height: 64px; font-size: 15px; }
  .fare { gap: 14px; padding: 22px 0; }
  .fare-info { flex-basis: 100%; gap: 14px; }
  .fare-top { gap: 10px; }
  .fare-airline { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .fare-times { flex-basis: auto; }
  .fare-times .t { font-size: 24px; }
  .fare-co2 { flex-basis: 100%; }
  .fare-buy { flex: 1 1 100%; padding-left: 0; border-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: center; }
  .fare-price { font-size: 30px; }
  .fare-sub { margin-top: 0; text-align: right; }
  .fare-buy .btn { grid-column: span 2; }
  .fare-buy.has-visa .btn { grid-column: span 1; }
  .fare-buy.has-visa .btn-outline { order: 3; }
  .fare-buy.has-visa .btn-book { order: 4; }
  .visa-note { align-items: flex-start; padding: 12px 14px; font-size: 14px; }
  .journey-hero { min-height: 520px; }
  .journey-hero h1 { font-size: 64px; letter-spacing: -1px; }
  .page-hero { min-height: 400px; }
  .page-hero h1 { font-size: 52px; }
  .journey-hero p { font-size: 18px; }
  .journey-lede { font-size: 22px; }
  .days h2, .included h2 { font-size: 28px; }
  .journey-layout { gap: 40px; padding-top: 28px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .book-panel { max-width: none; padding: 20px; }
  .visa-hero h1 { font-size: 42px; }
  .visa-hero .wrap.split { margin-top: 24px; }
  .visa-result h2 { font-size: 34px; }
  .visa-result .headline { font-size: 22px; }
  .masthead h1 { font-size: 60px; letter-spacing: -1px; }
  .post-list a strong { font-size: 22px; }
  .news { padding: 40px 0; margin-top: 56px; }
  .prose h1 { font-size: 40px; }
}

/* Custom select arrow, inset from the edge */
select.input, .visa-form select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230A3447' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 12px 8px;
}
select.input { background-position: right 16px center; padding-right: 44px; }
.visa-form select { background-position: right 6px center; padding-right: 32px; }

/* Date picker with fares */
.date-btn { border: 0; background: transparent; padding: 0; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); text-align: left; min-height: 28px; width: 100%; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-btn.empty { color: #8FA3AD; font-weight: 500; }
.date-btn:focus-visible { outline: none; }
.cal-pop { position: absolute; z-index: 60; width: 364px; background: #fff; color: var(--ink); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: 0 24px 64px rgba(10, 52, 71, 0.22); padding: 18px 16px 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-size: 16px; font-weight: 600; }
.cal-nav { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-2); text-align: center; padding: 4px 0 6px; }
.cal-day { border: 0; background: transparent; border-radius: 10px; min-height: 48px; padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; color: var(--ink); cursor: pointer; }
.cal-day .n { font-size: 15px; font-weight: 600; line-height: 1.1; }
.cal-day .p { font-size: 10.5px; line-height: 1.2; min-height: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cal-day.low .p { color: #0E7C5A; font-weight: 700; }
.cal-day.between { background: #EEF5F7; border-radius: 0; }
.cal-day.start { box-shadow: inset 0 0 0 1.5px var(--teal); }
.cal-day:hover:not(:disabled) { background: #E3EFF3; }
.cal-day:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.cal-day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cal-day[aria-pressed="true"] .p { color: var(--cyan); }
.cal-day:disabled { color: #C3CED4; cursor: default; }
.cal-day:disabled .p { visibility: hidden; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 1.4; color: var(--text-2); }
.cal-clear { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
@media (max-width: 640px) {
  .cal-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; border-radius: 20px 20px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 48px rgba(10, 52, 71, 0.28); }
}
