:root {
  --paper: #fffcf6;
  --white: #fff;
  --ink: #23241e;
  --muted: #55534b;
  --border: #e5ded1;
  --magenta: #a41364;
  --magenta-hover: #7d104d;
  --green: #4f6436;
  --blue: #22617b;
  --blue-light: #e8f4f8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--magenta-hover); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { font-family: var(--serif); letter-spacing: -.025em; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.65rem); }
section[id], article[id], main[id] { scroll-margin-top: 5.7rem; }
.shell { width: min(100% - 48px, 1192px); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 5; top: 12px; left: 12px; width: auto; height: auto; clip-path: none; background: var(--white); padding: 10px 15px; }
.site-header { border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; white-space: nowrap; color: var(--ink); }
.brand img { width: 45px; height: 40px; object-fit: contain; }
.brand strong { font: 700 1.28rem/1.2 var(--serif); letter-spacing: -.025em; }
.desktop-nav ul, .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 39px); }
.desktop-nav a, .mobile-nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
.desktop-nav a[aria-current], .mobile-nav a[aria-current], .desktop-nav a:hover, .mobile-nav a:hover { color: var(--magenta); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; min-height: 44px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 9px; font-weight: 650; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; z-index: 4; top: calc(100% + 8px); right: 0; width: max-content; min-width: 190px; padding: 9px 17px; border: 1px solid var(--border); border-radius: 10px; background: var(--paper); box-shadow: 0 12px 25px #29221a18; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-block: 18px 8px; color: var(--muted); font-size: .9rem; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(25px, 4.5vw, 72px); align-items: center; padding-block: 14px 36px; }
.context { margin-bottom: .75rem; color: var(--green); font-size: .88rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
h1 { color: var(--magenta); font: 400 clamp(2.65rem, 5.1vw, 5rem)/1.01 var(--serif); letter-spacing: -.055em; }
.intro { max-width: 47ch; margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.byline { margin-top: 1.15rem; color: var(--muted); font-size: .9rem; }
.hero-media { overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: var(--white); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.hero-media figcaption { padding: .45rem .8rem; color: var(--muted); font-size: .85rem; }
.section-nav-wrap { position: sticky; z-index: 2; top: 0; background: var(--paper); border-block: 1px solid var(--border); }
.section-nav { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-block: .55rem; }
.section-nav a, .pill-link, .action-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.section-nav a, .pill-link { border: 1px solid #b9d5df; border-radius: 7px; padding: .4rem .8rem; color: var(--blue); text-decoration: none; background: var(--white); }
.section-nav a:hover, .pill-link:hover { background: var(--blue-light); color: var(--blue); }
.guide-section { padding-block: clamp(29px, 5.5vw, 65px); }
.guide-section + .guide-section, .final-links { border-top: 1px solid var(--border); }
.guide-section h2 { margin-bottom: .9rem; }
.lead { max-width: 75ch; color: var(--muted); }
.transport-table { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.transport-table table { width: 100%; border-collapse: collapse; }
.transport-table th, .transport-table td { padding: .72rem 1rem; text-align: left; vertical-align: top; }
.transport-table thead { background: var(--blue-light); }
.transport-table tbody tr + tr { border-top: 1px solid var(--border); }
.transport-table tbody th { width: 22%; }
.transport-table tbody td:last-child { width: 30%; }
.route-callout { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.3rem; padding: clamp(16px, 3vw, 28px); border: 1px solid #bbdce8; border-radius: 12px; background: var(--blue-light); }
.route-callout p { max-width: 67ch; margin-top: .5rem; }
.route-callout .pill-link { flex: none; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.4rem; }
.mode-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: 13px; }
.mode-card > img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--blue-light); }
.card-body { padding: clamp(16px, 2.3vw, 26px); }
.card-body p { margin-top: .6rem; color: var(--muted); }
.action-link { margin-top: .45rem; }
.airport-band { padding-block: clamp(27px, 5vw, 57px); background: var(--blue-light); border-block: 1px solid #bbdce8; }
.airport-content { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 4vw, 60px); align-items: center; }
.airport-content img { width: 100%; height: auto; border-radius: 12px; aspect-ratio: 13 / 8; object-fit: cover; }
.airport-content h2 { margin-bottom: .8rem; }
.plain-list { margin-block: .75rem .3rem; padding-inline-start: 1.3rem; }
.plain-list li { margin-block: .45rem; }
.cdmx-callout { margin-top: 0; border-color: var(--border); background: var(--white); }
.cdmx-callout h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.questions details { border-top: 1px solid var(--border); }
.questions details:last-child { border-bottom: 1px solid var(--border); }
.questions summary { min-height: 44px; padding: .75rem 0; cursor: pointer; font-weight: 700; }
.questions details p { max-width: 75ch; padding-bottom: .9rem; color: var(--muted); }
.link-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (max-width: 800px) {
  section[id], article[id], main[id] { scroll-margin-top: 1rem; }
  .shell { width: min(100% - 32px, 1192px); }
  .bar { min-height: 66px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: 1fr; padding-block: 10px 23px; }
  .section-nav-wrap { position: static; }
}
@media (max-width: 640px) {
  .section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-nav a { font-size: .89rem; padding-inline: .55rem; }
  .transport-table th, .transport-table td { padding: .63rem .48rem; font-size: .89rem; overflow-wrap: anywhere; }
  .transport-table tbody th { width: 23%; }
  .transport-table tbody td:last-child { width: 34%; }
  .mode-grid, .airport-content { grid-template-columns: 1fr; }
  .route-callout { align-items: flex-start; flex-direction: column; }
  .route-callout .pill-link { max-width: 100%; }
}
