/*
  iBan Mobility Houston.
  Type: Overpass, a typeface modelled on the US interstate highway signs.
  Colour: the official Old Glory blue and red, on bright white.
  The one bold element: services shown as interstate guide signs.
*/
@font-face {
  font-family: "Overpass";
  src: url("/fonts/overpass.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --glory-blue: #0a3161;
  --glory-red: #b31942;
  --white: #ffffff;
  --sky: #eef4fb;
  --steel: #4d5b70;
  --ink: #0c1b30;
  --line: #d6dfeb;
  --focus: #f2b705;
  --gutter: clamp(16px, 4vw, 40px);
  font-size: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Overpass", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--glory-blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--steel); max-width: 36em; }

/* Flag stripe: the thirteen-stripe rhythm in miniature, used once at the top. */
.stripes { height: 8px; background: repeating-linear-gradient(90deg, var(--glory-red) 0 40px, var(--white) 40px 80px); }

/* Header */
.topbar { background: var(--glory-blue); color: #dbe6f5; font-size: 0.82rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 6px 0; }
.topbar a { color: var(--white); font-weight: 700; }
header.site { background: var(--white); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name small { display: block; font-weight: 600; font-size: 0.78rem; color: var(--glory-red); margin-top: 4px; letter-spacing: 0; }
nav.main ul { display: flex; flex-wrap: wrap; gap: 2px 22px; list-style: none; margin: 0; padding: 0; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
nav.main a:hover { border-bottom-color: var(--line); }
nav.main a[aria-current="page"] { border-bottom-color: var(--glory-red); }

/* Buttons */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn { max-width: 100%; white-space: normal; text-align: center;

  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 8px;
  font: inherit; font-weight: 800; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn small { font-weight: 500; font-size: 0.8rem; opacity: 0.85; }
.btn-red { background: var(--glory-red); color: var(--white); }
.btn-red:hover { background: #95143a; }
.btn-blue { background: var(--glory-blue); color: var(--white); }
.btn-blue:hover { background: #072447; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: var(--white); color: var(--glory-blue); border-color: var(--glory-blue); }
.btn-line:hover { background: var(--sky); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the 12-second Houston film, muted, behind the headline */
.hero { position: relative; color: var(--white); background: var(--glory-blue); overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,49,97,.86) 0%, rgba(10,49,97,.55) 45%, rgba(10,49,97,.05) 78%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 9vw, 110px); }
.hero h1 { max-width: 11em; text-wrap: balance; }
.hero .lede { color: #e3ecf8; margin: 20px 0 30px; }
.hero-tools { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; display: flex; gap: 8px; }
.hero-tools button { font: inherit; font-weight: 700; font-size: 0.85rem; color: var(--white); background: rgba(10,49,97,.7); border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 8px 14px; cursor: pointer; }

/* Interstate guide signs: the signature element */
.signs { padding: clamp(48px, 7vw, 88px) 0; background: var(--sky); }
.signs h2 { margin-bottom: 10px; }
.signs .lede { margin-bottom: 36px; }
.sign-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sign {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--glory-blue); color: var(--white); text-decoration: none;
  border-radius: 14px; padding: 26px 26px 24px;
  box-shadow: inset 0 0 0 4px var(--glory-blue), inset 0 0 0 7px var(--white);
  transition: transform .2s ease;
}
.sign:hover { transform: translateY(-3px); }
.sign .tab { position: absolute; top: -16px; left: 26px; background: var(--glory-red); color: var(--white); font-weight: 800; font-size: 0.82rem; padding: 4px 12px; border-radius: 6px; box-shadow: 0 0 0 3px var(--white); }
.sign strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
.sign span.dest { font-size: 1.02rem; color: #dbe6f5; }
.sign .arrow { width: 46px; height: 46px; margin-top: auto; }

/* Photo features */
.feature { padding: clamp(56px, 8vw, 104px) 0; }
.feature .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.flip .wrap { grid-template-columns: 1fr 1.1fr; }
.feature.flip figure { order: 2; }
.feature figure { margin: 0; }
.feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.feature h2 { margin-bottom: 16px; }
.feature .lede { margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 4px; background: var(--glory-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Full-bleed Houston band */
.band { position: relative; color: var(--white); min-height: 440px; display: grid; align-items: end; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,49,97,.92) 0%, rgba(10,49,97,.35) 55%, rgba(10,49,97,0) 100%); }
.band .wrap { position: relative; z-index: 1; padding: 64px 0 56px; }
.band p { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; max-width: 14em; }
.band small { display: block; margin-top: 14px; font-size: 1.05rem; font-weight: 500; color: #dbe6f5; }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; border-top: 4px solid var(--glory-blue); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-size: 2.6rem; font-weight: 800; color: var(--glory-red); line-height: 1; margin-bottom: 10px; }
.steps strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--steel); }

/* Page heads */
.page-head { position: relative; color: var(--white); background: var(--glory-blue); overflow: hidden; }
.page-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,49,97,.9) 0%, rgba(10,49,97,.55) 55%, rgba(10,49,97,.15) 100%); }
.page-head .wrap { position: relative; z-index: 1; padding: clamp(56px, 9vw, 112px) 0; }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 12em; }
.page-head p { margin-top: 16px; font-size: 1.2rem; color: #e3ecf8; max-width: 32em; }

section.plain { padding: clamp(48px, 7vw, 88px) 0; }
section.tint { background: var(--sky); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trio h3 { margin-bottom: 8px; }
.trio p { color: var(--steel); }
.section-title { margin-bottom: 12px; }
.section-lede { color: var(--steel); max-width: 40em; margin-bottom: 32px; font-size: 1.08rem; }

/* Notices */
.notice { border-left: 6px solid var(--glory-blue); background: var(--sky); padding: 18px 22px; border-radius: 8px; }
.notice.alert { border-color: var(--glory-red); background: #fbeef2; }
.notice strong { display: block; margin-bottom: 2px; }
.fineprint { font-size: 0.9rem; color: var(--steel); }

/* Partner pitch */
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 2px solid var(--glory-blue); border-radius: 14px; overflow: hidden; }
.offer > div { padding: 30px; }
.offer > div + div { border-left: 2px solid var(--glory-blue); }
.offer h3 { margin-bottom: 14px; }
.cities { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.cities li { border: 2px solid var(--glory-blue); border-radius: 8px; padding: 10px 16px; font-weight: 800; }
.cities li.live { background: var(--glory-blue); color: var(--white); }
.cities li span { font-weight: 500; font-size: 0.85rem; display: block; }

/* Footer */
footer.site { background: var(--glory-blue); color: #cfdbec; padding: 48px 0 96px; font-size: 0.94rem; }
footer.site a { color: var(--white); }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h4, footer.site .foot-title { color: var(--white); margin: 0 0 10px; font-size: 1rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; display: grid; gap: 8px; }

@media (max-width: 900px) {
  .sign-row, .trio, .steps, .split, .offer { grid-template-columns: 1fr; }
  .offer > div + div { border-left: 0; border-top: 2px solid var(--glory-blue); }
  .feature .wrap, .feature.flip .wrap { grid-template-columns: 1fr; }
  .feature.flip figure { order: 0; }
  footer.site .cols { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(10,49,97,.8) 0%, rgba(10,49,97,.65) 60%, rgba(10,49,97,.5) 100%); }
  .topbar span:first-child { display: none; }
  nav.main ul { gap: 0 16px; }
  nav.main a { font-size: 0.95rem; }
  :root { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sign { transition: none; }
}

/* Flight search */
.flight-search { background: var(--white); border: 2px solid var(--glory-blue); border-radius: 14px; padding: 26px; box-shadow: 0 18px 40px rgba(10,49,97,.12); }
.fs-trip { display: flex; gap: 22px; margin-bottom: 16px; font-weight: 700; }
.fs-trip label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fs-trip input { width: 20px; height: 20px; accent-color: var(--glory-red); }
.fs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 10px; }
.fs-grid label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; color: var(--glory-blue); }
.fs-grid label[hidden] { display: none; }
.fs-grid input, .fs-grid select { font: inherit; font-weight: 600; min-height: 54px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
#fs-from, #fs-to { text-transform: uppercase; font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; }
.fs-error { color: var(--glory-red); font-weight: 700; margin-top: 10px; min-height: 1.4em; }
.hero-search { margin-top: clamp(-80px, -6vw, -40px); position: relative; z-index: 2; }
@media (max-width: 900px) { .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The jet over the skyline on the Flights page: one slow climb as the page opens. */
.page-head img.jet { position: absolute; inset: auto; z-index: 1; width: min(46vw, 620px); height: auto; right: 4vw; top: 14%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); animation: climb 2.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes climb { from { transform: translate(-60px, 40px) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) { .page-head img.jet { width: 62vw; top: 6%; right: -4vw; opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .page-head img.jet { animation: none; } }

.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Founder profile */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--glory-red); margin: 0 0 10px; }
.profile { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 28px; }
.profile > img { width: 220px; height: 275px; object-fit: cover; border-radius: 14px; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--glory-blue); }
.profile > div { flex: 1 1 340px; min-width: 0; }
.profile.card { background: var(--white); border: 2px solid var(--glory-blue); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.profile h3 { font-size: 1.6rem; margin: 0; color: var(--ink); }
.profile .role { color: var(--glory-red); font-weight: 700; margin: 6px 0 14px; }
.vision { font-size: 1.25rem; font-weight: 800; color: var(--glory-blue); margin: 18px 0 22px; }
.facts dt { font-weight: 800; color: var(--ink); margin-top: 18px; }
.facts dd { margin: 4px 0 0; color: var(--steel); line-height: 1.6; }

/* PayDsecure advert */
.paydsecure { background: radial-gradient(circle at 80% 30%, #3a0d1a 0, #0c1b30 60%); color: #f4f6fb; padding: clamp(56px, 8vw, 104px) 0; }
.paydsecure .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.paydsecure h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 14px; color: var(--white); }
.paydsecure .lede { color: #c9d3e6; }
.paydsecure .ticks li { color: var(--white); }
.paydsecure .eyebrow { color: #ff8fa6; }
.paydsecure .small { font-size: .86rem; color: #b4c0d6; margin-top: 18px; max-width: 46ch; }
.paydsecure figure { margin: 0; text-align: center; }
.paydsecure figure img { width: 100%; max-width: 500px; border-radius: 22px; box-shadow: 0 30px 80px rgba(179, 25, 66, .35); }

/* 1st Afrika Radio */
.radio { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: calc(100vw - 32px); }
.radio-panel { width: min(360px, calc(100vw - 32px)); background: var(--white); border: 2px solid var(--glory-blue); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(10, 49, 97, .3); }
.radio-panel.closed { height: 0; border: 0; box-shadow: none; }
.radio-panel iframe { display: block; width: 100%; border: 0; }
.radio-out { display: block; padding: 10px 14px; font-size: .84rem; font-weight: 700; }
.radio-btn { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 2px solid var(--white); background: var(--glory-blue); color: var(--white); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 30px rgba(10, 49, 97, .35); }
.radio-btn[aria-expanded="true"] .radio-icon { background: var(--glory-red); }
.radio-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.radio-words { line-height: 1.2; }
.radio-words strong { display: block; font-size: .84rem; }
.radio-words small { display: block; font-size: .74rem; color: #dbe6f5; }
@media (max-width: 900px) { .paydsecure .wrap { grid-template-columns: 1fr; } .profile > img { width: 180px; height: 225px; } }
@media print { .radio { display: none; } }

/* Launch status strip, shown until the first partner link is live */
.launch { background: #fff6d6; border-bottom: 2px solid #e8c547; color: var(--ink); font-size: .95rem; }
.launch .wrap { padding: 10px 0; }
.launch a { font-weight: 700; }
