/* Locally hosted title font: showcase option 19. License: fonts/Manrope-OFL.txt. */
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #142f34;
  --muted: #587076;
  --paper: #fffefa;
  --canvas: #f4f6f4;
  --cream: #f1eee8;
  --line: #d7e0de;
  --teal: #0d6b72;
  --teal-dark: #074d53;
  --red: #d9363e;
  --red-dark: #aa2029;
  --yellow: #ffd21e;
  --focus: #1167d8;
  --shadow: 0 18px 45px rgb(21 48 52 / 12%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-180%); padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

/* Shared site header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(255 254 250 / 95%); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 36px; }
.brand { flex: 0 0 auto; color: var(--ink); font-size: 1.75rem; font-weight: 850; letter-spacing: -.045em; }
.brand span { color: var(--red); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.site-nav a { position: relative; padding: 12px 0; font-weight: 750; }
.site-nav a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 3px; border-radius: 3px; background: var(--red); content: ""; transform: scaleX(0); transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-block: 26px 18px; color: var(--muted); font-size: .84rem; font-weight: 760; letter-spacing: .025em; text-transform: uppercase; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { margin-right: 7px; color: #94a19f; content: "/"; }
.breadcrumb a:hover { color: var(--red); }

/* Shared in-page navigation */
.jump-nav { position: sticky; top: 108px; z-index: 10; display: flex; gap: 10px; align-items: center; margin: 22px 0 54px; padding: 12px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 28px rgb(21 48 52 / 9%); backdrop-filter: blur(12px); scrollbar-width: thin; }
.jump-nav--wrap { position: static; flex-wrap: wrap; }
.jump-nav strong { flex: 0 0 auto; padding-inline: 10px; }
.jump-nav a { flex: 0 0 auto; padding: 10px 14px; border-radius: 9px; color: var(--teal); font-weight: 780; }
.jump-nav a:hover, .jump-nav a.is-active { background: #e9f4f2; color: var(--teal-dark); }

.eyebrow { margin: 0 0 12px; color: #ffc653; font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px; border: 2px solid transparent; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; box-shadow: 0 7px 18px rgb(0 0 0 / 15%); transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-dark); }
.button--ghost { border-color: rgb(255 255 255 / 65%); background: rgb(255 255 255 / 8%); box-shadow: none; }
.button--ghost:hover { background: rgb(255 255 255 / 17%); }

/* Homepage */
.hero { position: relative; isolation: isolate; min-height: 440px; overflow: hidden; border-radius: var(--radius-lg); background: #123e43; box-shadow: var(--shadow); }
.hero::before { position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 78% 27%, transparent 0 12px, rgb(255 210 30 / 90%) 13px 17px, transparent 18px), radial-gradient(circle at 88% 66%, transparent 0 9px, rgb(217 54 62 / 95%) 10px 14px, transparent 15px), linear-gradient(127deg, transparent 0 67%, rgb(255 255 255 / 10%) 67.2% 68.2%, transparent 68.4%), linear-gradient(53deg, transparent 0 74%, rgb(255 255 255 / 8%) 74.2% 75.2%, transparent 75.4%), linear-gradient(135deg, #0b3940, #17656a); content: ""; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgb(10 47 53 / 98%) 0%, rgb(10 47 53 / 85%) 55%, rgb(10 47 53 / 18%) 100%); content: ""; }
.hero__content { width: min(690px, 72%); padding: 72px 64px; color: #fff; }
.hero h1 { max-width: 660px; margin: 0 0 18px; color: #fff; font-size: clamp(2.75rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -.055em; }
.hero__lede { margin: 0 0 28px; color: #edf5f3; font-size: 1.12rem; }
.section { margin-block: 64px; scroll-margin-top: 180px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.55rem); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); text-align: right; }
.decision-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.decision-card { display: flex; min-height: 220px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 24px rgb(21 48 52 / 7%); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.decision-card:hover { transform: translateY(-4px); border-color: #9fc9c5; box-shadow: 0 15px 30px rgb(21 48 52 / 13%); }
.decision-icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: #e8f3f2; color: var(--teal); font-size: 1.35rem; font-weight: 850; }
.decision-icon--airplane { width: 58px; height: 58px; margin-top: -5px; margin-bottom: 19px; }
.decision-icon--airplane svg { width: 31px; height: 31px; fill: currentColor; }
.decision-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.decision-card p { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.decision-card__cta { margin-top: auto; color: var(--red); font-weight: 800; }

.journey-panel { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); }
.journey-panel__main { padding: 42px; }
.journey-panel .eyebrow { color: var(--muted); }
.journey-panel h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.journey-panel__intro { color: var(--muted); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 25px; }
.route-card { display: flex; gap: 12px; align-items: center; padding: 15px; border-radius: 12px; background: #fff; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease; }
.route-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(21 48 52 / 9%); }
.line-badge { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .76rem; font-weight: 900; }
.line-badge--a { background: var(--red); }
.line-badge--c { background: var(--yellow); color: #172b2f; }
.journey-panel__aside { padding: 42px; background: var(--teal); color: #fff; }
.journey-panel__aside h3 { margin: 0 0 14px; font-size: 1.4rem; }
.essential-links { margin: 0 0 25px; padding: 0; list-style: none; }
.essential-links li { border-bottom: 1px solid rgb(255 255 255 / 20%); }
.essential-links a { display: block; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; }

/* Shared practical-guides footer */
.guide-footer { margin-top: 78px; padding: 70px 0 30px; background: #fff; border-top: 1px solid var(--line); }
.guide-footer .section-heading { margin-bottom: 25px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.guide-card__visual { position: relative; display: grid; height: 116px; place-items: center; isolation: isolate; background: var(--cream); color: #fff; font-size: 4rem; font-weight: 900; }
.guide-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guide-card__visual::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 35%); z-index: -1; }
.guide-card__visual span { text-shadow: 0 2px 5px rgb(0 0 0 / 70%); }
.guide-card__body { padding: 20px; }
.guide-card h3 { margin: 0 0 10px; }
.guide-card ul { margin: 0; padding: 0; list-style: none; }
.guide-card li + li { border-top: 1px solid #e8edeb; }
.guide-card a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--teal); font-weight: 750; }
.guide-card a::after { content: "→"; }
.guide-card a:hover { color: var(--red); }
.site-footer { padding: 30px 0; background: #fff; color: var(--muted); font-size: .88rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 25px; }

/* Detailed-guide template */
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.guide-hero__copy { padding: 58px; }
.guide-hero h1 { margin: 0 0 18px; color: #fff; font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 4rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em; word-spacing: .04em; }
.guide-hero__copy > p:last-child { max-width: 680px; margin-bottom: 0; color: #dcebea; font-size: 1.08rem; }
.guide-hero__aside { display: flex; flex-direction: column; justify-content: center; padding: 38px; background: var(--teal); }
.guide-hero__aside strong { margin-bottom: 12px; font-size: 1.05rem; }
.guide-hero__aside dl { margin: 0; }
.guide-hero__aside div { padding: 12px 0; border-top: 1px solid rgb(255 255 255 / 20%); }
.guide-hero__aside dt { color: #b9ddda; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-hero__aside dd { margin: 2px 0 0; font-weight: 750; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 54px; align-items: start; }
.article h2 { margin: 2.2em 0 .55em; scroll-margin-top: 180px; font-size: clamp(1.65rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.03em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.8em; font-size: 1.3rem; }
.article p, .article li { color: #39565b; }
.article p { max-width: 72ch; }
.article a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article .transit-symbol { display: inline-block; vertical-align: middle; }
.callout { margin: 30px 0; padding: 22px 24px; border-left: 5px solid var(--yellow); border-radius: 0 12px 12px 0; background: #fff9d9; }
.callout strong { display: block; margin-bottom: 5px; color: var(--ink); }
.step-list { display: grid; gap: 14px; margin: 20px 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-height: 54px; padding: 15px 18px 15px 68px; border: 1px solid var(--line); border-radius: 12px; background: #fff; counter-increment: steps; }
.step-list li::before { position: absolute; top: 12px; left: 14px; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; content: counter(steps); font-weight: 900; }
.side-card { position: sticky; top: 190px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 24px rgb(21 48 52 / 7%); }
.side-card h2 { margin: 0 0 11px; font-size: 1.2rem; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li + li { border-top: 1px solid var(--line); }
.side-card a { display: block; padding: 11px 0; color: var(--teal); font-weight: 750; }

@media (max-width: 920px) {
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-panel, .guide-hero { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 720px) {
  .guide-hero h1 { font-size: 2rem; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .site-header__inner { min-height: 72px; }
  .brand { font-size: 1.45rem; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 72px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border: 0; }
  .jump-nav { top: 82px; margin-bottom: 38px; }
  .jump-nav strong { display: none; }
  .hero { min-height: auto; }
  .hero__content { width: 100%; padding: 46px 26px; }
  .hero h1 { font-size: 2.8rem; }
  .section { margin-block: 48px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 9px; text-align: left; }
  .decision-grid, .route-grid, .guide-grid { grid-template-columns: 1fr; }
  .decision-card { min-height: 0; }
  .journey-panel__main, .journey-panel__aside, .guide-hero__copy, .guide-hero__aside { padding: 30px 24px; }
  .guide-footer { padding-top: 50px; }
  .site-footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Reusable article media, search and lightbox */
img { height: auto; }
.article-icon { display: inline-block; max-width: none; vertical-align: middle; }
.article-media-wrap { display: flow-root; }
.article-media-left { float: left; max-width: 45%; margin: 0 5px 5px 0; }
.article-heading-image { float: right; max-width: 45%; margin: 6px; }
.article-figure { margin: 28px 0; }
.article-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.lightbox-trigger { display: inline-block; margin-top: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.guide-hero__aside ul { margin: 0; padding-left: 20px; }
.guide-hero__aside a { display: inline-block; padding: 6px 0; text-decoration: underline; }
.article-next { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-search label { display: block; margin-bottom: 8px; font-weight: 750; }
.site-search div { display: flex; flex-wrap: wrap; gap: 10px; }
.site-search input[type=search] { min-width: 0; flex: 1; width: 100%; padding: 12px; border: 1px solid var(--muted); border-radius: 8px; font: inherit; }
.site-search button, .lightbox__close { padding: 12px 18px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; font: inherit; cursor: pointer; }
input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.author-card { display: flow-root; margin-block: 30px; padding: 20px; border-radius: 12px; background: var(--cream); }
.author-card img { float: left; width: 135px; margin: 0 20px 12px 0; }
.author-card p { margin-top: 0; }
.lightbox { max-width: 95vw; max-height: 95dvh; padding: 18px; border: 0; border-radius: 14px; background: var(--paper); }
.lightbox::backdrop { background: rgb(0 0 0 / 80%); }
.lightbox__close { display: block; margin: 0 0 12px auto; }
.lightbox__image { width: auto; height: auto; max-width: 85vw; max-height: 72dvh; object-fit: contain; margin: auto; }
.lightbox__caption { margin: 10px 0 0; }
.guide-card a { text-decoration: underline; text-underline-offset: 3px; }
.article, .site-footer { overflow-wrap: anywhere; }
@media (max-width: 420px) { .author-card img { float: none; margin-bottom: 18px; } }

/* Reusable article purchase illustration and coverage tables. */
.article-media-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.article-media-row .article-figure { margin-top: 0; }
.article-table-scroll, .article-embed-scroll { max-width: 100%; overflow-x: auto; }
.article-table { width: 100%; border-collapse: collapse; margin-block: 20px; }
.article-table th, .article-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table th { background: var(--teal); color: #fff; }
.article-table th a { color: inherit; }
.article-table tbody tr:nth-child(even) { background: var(--cream); }
@media (max-width: 720px) { .article-media-row { grid-template-columns: 1fr; } }
.article-table th:first-child, .article-table td:first-child { width: 1%; white-space: nowrap; }

/* Two-column reference tables with prose in both columns. */
.article-table--balanced th:first-child, .article-table--balanced td:first-child { width: 50%; white-space: normal; }

/* Inline transit symbols and source terminal-choice panels. */
.article .transport-icons { display: inline-flex; gap: .25rem; vertical-align: middle; }
.article .transport-icons img { width: 84px; height: 84px; margin: 0; }
.terminal-guide__intro { font-size: 1.5rem; margin-bottom: 20px; }
.article .terminal-guide h2 { font-size: 1.916667rem; margin: 20px 0 12px; }
.terminal-guide__prompt { font-size: 1.25rem; text-align: center; margin: 0 0 12px; }
.terminal-guide__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.terminal-guide__choices a { display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; font-size: 2.083333rem; background: #fffece; }
.terminal-guide__choices a + a { background: #cef9ca; }
@media (max-width: 480px) { .terminal-guide__choices a { font-size: 1.5rem; padding: .75rem; } }

/* Semantic directories preserve source link groups without layout tables. */
.directory-section { margin-block: 2.5rem; }
.directory-banner { display: block; max-width: 100%; height: auto; margin-block: 1rem; border-radius: var(--radius-md); }
.directory-section ul { padding-left: 1.25rem; list-style: none; }
.directory-section li { margin-block: .65rem; }
.directory-section li img { display: inline-block; vertical-align: middle; }
.directory-alert { color: #b00000; font-weight: 700; }
.directory-trademark { font-size: .65em; vertical-align: super; }

/* Embedded editorial documents retain their source height and fit narrow articles. */
.article-embed, .article iframe { display: block; max-width: 100%; border: 0; }

/* Coverage comparisons allow prose to wrap in every column. */
.article-table--coverage th:first-child,
.article-table--coverage td:first-child { width: auto; white-space: normal; }
.article-table--coverage, .article-table--fares { min-width: 36rem; }
.article { min-width: 0; }

/* Responsive replacements for source device-specific banner blocks. */
.device-banner--mobile { display: none; }
@media (max-width: 720px) {
  .device-banner--desktop { display: none; }
  .device-banner--mobile { display: block; }
}

/* Preserve the editorial video ratio as the article narrows. */
.article iframe.article-video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Station directories keep compact labels intact within a scrollable reference table. */
.article-table--directory { min-width: 40rem; overflow-wrap: normal; }
