/* =========================================================
   Hi Buffalo Airport — "Great Lakes Aviation Editorial"
   Premium airport travel publication design system.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0B2033;          /* deep aviation navy */
  --lakeblue-dark: #123A52; /* dark lake blue */
  --buffalo-blue: #17627E;  /* buffalo blue */
  --ice: #BFDCE5;           /* ice blue */
  --pale-sky: #E8F1F4;      /* pale winter sky */
  --amber: #F1A847;         /* warm amber */
  --ivory: #FAF8F3;         /* warm ivory */
  --charcoal: #17252D;
  --slate: #657783;

  --white: #FFFFFF;
  --border: #DCE3E1;
  --border-strong: #C3D0CE;
  --border-dark: rgba(255,255,255,0.14);

  --font-heading: "Century Gothic", "Avenir Next", "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-editorial: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(11, 32, 51, 0.10);
  --shadow-md: 0 10px 30px rgba(11, 32, 51, 0.14);
  --shadow-lg: 0 24px 60px rgba(11, 32, 51, 0.22);

  --container: 1400px;
  --container-narrow: 1080px;
  --gap: clamp(1rem, 2vw, 1.75rem);

  --space-section: clamp(4rem, 8vw, 8rem);
  --space-section-tight: clamp(3rem, 5vw, 4.5rem);

  --z-header: 50;
  --z-mobile-nav: 60;
  --z-skip: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--buffalo-blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-top: 0; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 1.8em; }
p { margin: 0 0 1.15em; max-width: 68ch; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: 0.4em; }
table { max-width: none; }
hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
em.editorial, .editorial-accent {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--buffalo-blue);
}

/* ---------- Focus states ---------- */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: var(--z-skip);
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  transition: top 150ms ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-section-tight); }
.section--white { background: var(--white); }
.section--ivory { background: var(--ivory); }
.section--pale { background: var(--pale-sky); }
.section--navy { background: linear-gradient(165deg, var(--navy) 0%, var(--lakeblue-dark) 100%); color: var(--ice); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--ice); }
.section--navy a:not(.btn) { color: var(--amber); }
.section--navy a:not(.btn):hover { color: var(--white); }
.section--border-top { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); display: inline-block; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--amber); }
.section-intro { max-width: 62ch; color: var(--slate); font-size: 1.05rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--split {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem;
}

/* ---------- Subtle textures ---------- */
.texture-grain {
  position: relative;
}
.texture-grain::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; padding: 0.7rem 1.3rem;
  border-radius: 9px; font-weight: 700; font-size: 0.92rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  font-family: var(--font-body);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn svg { width: 15px; height: 15px; transition: transform 160ms ease; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #F5BC6E; color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--ice); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.section--navy .btn-secondary { border-color: rgba(191,220,229,0.55); color: var(--white); }
.section--navy .btn-secondary:hover { background: var(--ice); border-color: var(--ice); color: var(--navy); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--buffalo-blue); padding-inline: 0.2rem; }
.btn-ghost:hover { color: var(--navy); }
.btn-sm { min-height: 38px; padding: 0.5rem 1rem; font-size: 0.84rem; }
.btn-header {
  min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.84rem;
  background: transparent; border: 1.5px solid var(--amber); color: var(--navy);
}
.btn-header:hover { background: var(--amber); color: var(--navy); }

/* ---------- Header (two-level) ---------- */
.top-strip {
  background: var(--navy); color: var(--ice);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.top-strip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 18%, transparent 40%, var(--amber) 62%, transparent 85%);
  opacity: 0.55;
}
.top-strip__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.5rem; flex-wrap: wrap;
}
.top-strip a { color: var(--amber); text-decoration: none; }
.top-strip a:hover { color: var(--white); text-decoration: underline; }
.top-strip__reviewed { color: rgba(191,220,229,0.75); font-weight: 500; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 0.65rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.05rem; letter-spacing: -0.01em; }
.brand__tag { font-size: 0.66rem; color: var(--slate); font-weight: 600; letter-spacing: 0.03em; }

.nav-desktop { display: none; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
  .nav-desktop a {
    color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.88rem;
    padding: 0.5rem 0.1rem; border-bottom: 2px solid transparent; letter-spacing: 0.01em;
  }
  .nav-desktop a:hover, .nav-desktop a:focus-visible { border-bottom-color: var(--amber); }
  .nav-desktop details { position: relative; }
  .nav-desktop summary {
    cursor: pointer; list-style: none; color: var(--navy); font-weight: 600; font-size: 0.88rem;
    padding: 0.5rem 0.1rem; display: flex; align-items: center; gap: 0.35rem;
  }
  .nav-desktop summary::-webkit-details-marker { display: none; }
  .nav-desktop details ul {
    position: absolute; top: 100%; left: 0; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 0.5rem; min-width: 258px; display: grid; gap: 0.1rem; z-index: var(--z-header);
  }
  .nav-desktop details ul a { padding: 0.55rem 0.7rem; border-radius: var(--radius-sm); display: block; border-bottom: none; }
  .nav-desktop details ul a:hover { background: var(--pale-sky); }
}
.header-cta { display: none; }
@media (min-width: 960px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); background: var(--white); cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; color: var(--navy); }

.nav-mobile {
  position: fixed; inset: 0; z-index: var(--z-mobile-nav);
  background: var(--navy); color: var(--white);
  display: none; flex-direction: column; padding: 1.25rem; overflow-y: auto;
}
.nav-mobile[data-open="true"] { display: flex; }
.nav-mobile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.nav-mobile__close { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--white); cursor: pointer; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.nav-mobile a {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.05rem;
  padding: 0.85rem 0.4rem; display: block; border-bottom: 1px solid rgba(255,255,255,0.1); min-height: 44px;
}
.nav-mobile__section-label { color: var(--amber); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; margin: 1.1rem 0 0.3rem 0.4rem; }
body[data-nav-open="true"] { overflow: hidden; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.8rem; color: var(--slate); padding-block: 0.9rem; background: var(--ivory); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--border-strong); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--buffalo-blue); }
.breadcrumb [aria-current="page"] { color: var(--charcoal); font-weight: 600; }

/* =========================================================
   HOMEPAGE HERO — asymmetric editorial hero
   ========================================================= */
.hero {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: stretch;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr; width: 100%;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 43% 57%; min-height: 84vh; }
}
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  padding-left: max(clamp(1.25rem, 4vw, 3.5rem), env(safe-area-inset-left));
}
.hero__buf-bg {
  position: absolute; top: 50%; left: clamp(-1rem, 2vw, 2rem); transform: translateY(-50%);
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(9rem, 24vw, 20rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(191,220,229,0.16);
  z-index: 1; pointer-events: none; user-select: none; white-space: nowrap;
}
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 0.4em; }
.hero p.lede { color: var(--ice); font-size: 1.12rem; max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.7rem; }
.hero__note {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1.6rem; font-size: 0.82rem; color: rgba(191,220,229,0.75); max-width: 40ch;
}
.hero__note svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--amber); }

.hero__media {
  position: relative; min-height: 320px; overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy) 0%, rgba(11,32,51,0.55) 14%, rgba(11,32,51,0) 45%);
}
@media (min-width: 980px) {
  .hero__media { min-height: 100%; }
  .hero__media::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(11,32,51,0.35) 10%, rgba(11,32,51,0) 38%); }
}

.hero__locator {
  position: absolute; z-index: 3; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem);
  display: none; text-align: right; color: var(--white);
  font-family: var(--font-heading); letter-spacing: 0.03em;
}
@media (min-width: 980px) { .hero__locator { display: block; } }
.hero__locator .code { font-size: 1.9rem; font-weight: 700; display: block; }
.hero__locator .place { font-size: 0.78rem; font-weight: 500; color: var(--ice); font-family: var(--font-body); display: block; margin-top: 0.15rem; }
.hero__locator .region { font-size: 0.7rem; color: rgba(191,220,229,0.7); font-family: var(--font-body); display: block; }

.hero__route {
  position: absolute; z-index: 3; left: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem);
  display: none; max-width: 260px;
}
@media (min-width: 1180px) { .hero__route { display: block; } }

/* ---------- Info rail ---------- */
.info-rail-wrap { position: relative; z-index: 4; }
.info-rail {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: clamp(-3.5rem, -5vw, -4.5rem);
  display: grid; grid-template-columns: repeat(2, 1fr);
  position: relative; overflow: hidden;
}
@media (min-width: 860px) { .info-rail { grid-template-columns: repeat(4, 1fr); } }
.info-rail::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent 70%);
}
.info-rail__item {
  padding: 1.35rem 1.4rem; border-right: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
  min-width: 0;
}
.info-rail__item:nth-child(2n) { border-right: none; }
@media (min-width: 860px) {
  .info-rail__item:nth-child(2n) { border-right: 1px solid var(--border-dark); }
  .info-rail__item:last-child { border-right: none; }
  .info-rail__item { border-bottom: none; }
}
.info-rail__label {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--amber);
}
.info-rail__label svg { width: 13px; height: 13px; flex-shrink: 0; }
.info-rail__value {
  font-family: var(--font-heading); font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 700;
  color: var(--white); margin-top: 0.3rem; line-height: 1.25; overflow-wrap: break-word;
}

/* =========================================================
   CARD VARIANTS
   ========================================================= */

/* 1. Image-led feature card */
.feature-card {
  position: relative; display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-md); min-height: 420px;
}
.feature-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; z-index: 0; }
.feature-card:hover .feature-card__img { transform: scale(1.02); }
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(11,32,51,0.92) 0%, rgba(11,32,51,0.55) 42%, rgba(11,32,51,0.05) 75%);
}
.feature-card__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--white); }
.feature-card__tag {
  align-self: flex-start; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.28rem 0.65rem; border-radius: var(--radius-pill); margin-bottom: 0.9rem;
}
.feature-card h3 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.5rem; }
.feature-card p { color: var(--ice); font-size: 0.96rem; max-width: 46ch; margin-bottom: 1rem; }
.feature-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--white); font-size: 0.92rem; }
.feature-card__link svg { width: 15px; height: 15px; transition: transform 220ms ease; }
.feature-card:hover .feature-card__link svg { transform: translateX(4px); }

/* 2. Dark route card */
.route-card2 {
  display: block; text-decoration: none; color: var(--white);
  background: linear-gradient(165deg, var(--lakeblue-dark), var(--navy));
  border-radius: var(--radius-md); padding: 1.6rem; position: relative; overflow: hidden;
  min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.route-card2:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.route-card2__num { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; color: var(--amber); letter-spacing: 0.05em; }
.route-card2 h3 { color: var(--white); font-size: 1.2rem; margin: 0.6rem 0 0.4rem; }
.route-card2 p { color: var(--ice); font-size: 0.88rem; margin-bottom: 0.9rem; }
.route-card2__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.86rem; color: var(--white); }
.route-card2__link svg { width: 14px; height: 14px; transition: transform 220ms ease; }
.route-card2:hover .route-card2__link svg { transform: translateX(4px); }

/* 3. Pale information card */
.info-card {
  display: block; text-decoration: none; color: var(--charcoal);
  background: var(--pale-sky); border: 1px solid #D3E5EA;
  border-radius: var(--radius-md); padding: 1.6rem;
  transition: border-color 220ms ease, transform 220ms ease;
}
.info-card:hover { border-color: var(--buffalo-blue); transform: translateY(-3px); }
.info-card__num { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; color: var(--buffalo-blue); letter-spacing: 0.05em; }
.info-card h3 { color: var(--navy); font-size: 1.15rem; margin: 0.55rem 0 0.4rem; }
.info-card p { color: var(--slate); font-size: 0.9rem; margin-bottom: 0.9rem; }
.info-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.86rem; color: var(--buffalo-blue); }
.info-card__link svg { width: 14px; height: 14px; transition: transform 220ms ease; }
.info-card:hover .info-card__link svg { transform: translateX(4px); }

/* 4. Numbered destination card (itinerary board) — plus wide-card and stack-card variants further below */
.dest-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--white);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md); padding: 1.7rem; position: relative;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.dest-card:hover { border-color: var(--amber); background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.dest-card__num {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.2px var(--amber); line-height: 1; margin-bottom: 0.8rem;
}
.dest-card__mode { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ice); font-weight: 700; margin-bottom: 0.5rem; }
.dest-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.dest-card p { color: var(--ice); font-size: 0.88rem; margin-bottom: 1rem; }
.dest-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.86rem; color: var(--amber); }
.dest-card__link svg { width: 14px; height: 14px; transition: transform 220ms ease; }
.dest-card:hover .dest-card__link svg { transform: translateX(4px); }

/* Legacy simple guide card (used for related-guide lists on interior pages) */
.guide-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: var(--charcoal);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.guide-card:hover, .guide-card:focus-visible { border-color: var(--buffalo-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-card__icon { width: 34px; height: 34px; color: var(--buffalo-blue); }
.guide-card h3 { margin: 0; font-size: 1.08rem; color: var(--navy); }
.guide-card p { margin: 0; color: var(--slate); font-size: 0.92rem; }
.guide-card__link { margin-top: auto; font-weight: 700; color: var(--buffalo-blue); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.guide-card__link svg { width: 14px; height: 14px; transition: transform 220ms ease; }
.guide-card:hover .guide-card__link svg { transform: translateX(4px); }

.card-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Compact stacked photo-top card (always vertical, used in narrow columns) */
.stack-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color 220ms ease, box-shadow 220ms ease;
}
.stack-card:hover { border-color: var(--buffalo-blue); box-shadow: var(--shadow-md); }
.stack-card__media { position: relative; height: 42%; min-height: 110px; overflow: hidden; }
.stack-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.stack-card:hover .stack-card__media img { transform: scale(1.02); }
.stack-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.stack-card__tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--buffalo-blue); margin-bottom: 0.45rem; }
.stack-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.stack-card p { color: var(--slate); font-size: 0.86rem; margin-bottom: 0.8rem; }
.stack-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.84rem; color: var(--buffalo-blue); }
.stack-card__link svg { width: 13px; height: 13px; transition: transform 220ms ease; }
.stack-card:hover .stack-card__link svg { transform: translateX(3px); }

/* ---------- Featured row (parking + hotels/transportation) ---------- */
.featured-row { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .featured-row { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
}
.featured-row__stack { display: grid; gap: var(--gap); grid-template-rows: 1fr 1fr; }

/* ---------- Mixed editorial grid rows ---------- */
.mixed-row { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-bottom: var(--gap); }
@media (min-width: 900px) { .mixed-row--a { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 900px) { .mixed-row--b { grid-template-columns: 1.6fr 1fr 1fr; } }
.wide-card {
  display: grid; grid-template-columns: 1fr; text-decoration: none; color: inherit;
  background: var(--navy); border-radius: var(--radius-md); overflow: hidden; color: var(--white);
  transition: box-shadow 220ms ease;
}
@media (min-width: 700px) { .wide-card { grid-template-columns: 1fr 1fr; } }
.wide-card:hover { box-shadow: var(--shadow-lg); }
.wide-card__media { position: relative; min-height: 220px; overflow: hidden; }
.wide-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.wide-card:hover .wide-card__media img { transform: scale(1.02); }
.wide-card__body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; }
.wide-card__tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); margin-bottom: 0.6rem; }
.wide-card h3 { color: var(--white); font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 0.5rem; }
.wide-card p { color: var(--ice); margin-bottom: 1rem; }
.wide-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.9rem; color: var(--white); }
.wide-card__link svg { width: 15px; height: 15px; transition: transform 220ms ease; }
.wide-card:hover .wide-card__link svg { transform: translateX(4px); }

/* =========================================================
   SIGNATURE ROUTE-PLANNING SECTION
   ========================================================= */
.route-board { position: relative; }
.route-board__line { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.route-board__line svg { width: 100%; max-width: 640px; height: auto; }
.route-board__grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 780px) { .route-board__grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   SPLIT-SCREEN PARKING SECTION
   ========================================================= */
.split-section { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split-section { grid-template-columns: 1fr 1fr; } }
.split-section__panel { background: var(--navy); color: var(--white); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.split-section__panel h2 { color: var(--white); }
.split-section__panel p { color: var(--ice); }
.split-section__media { position: relative; min-height: 340px; }
.split-section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-section__overlap {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.5rem; max-width: 300px;
}
.split-section__overlap-label { margin: 0 0 0.8rem; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); }
.split-section__overlap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.split-section__overlap li { margin: 0; display: flex; align-items: baseline; gap: 0.55rem; font-size: 0.9rem; color: var(--charcoal); }
.split-section__overlap li strong { color: var(--navy); flex-shrink: 0; }
.split-section__overlap li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 0.4em; }

/* =========================================================
   HOTEL EDITORIAL SECTION
   ========================================================= */
.hotel-editorial { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hotel-editorial { grid-template-columns: 1.1fr 1fr; } }
.hotel-editorial__media { position: relative; }
.hotel-editorial__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16/11; object-fit: cover; box-shadow: var(--shadow-md); }
.hotel-editorial__tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.3rem 0 1.6rem; }
.tag-pill {
  display: inline-flex; align-items: center; background: var(--white); border: 1px solid var(--border-strong);
  color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}

/* =========================================================
   CANADIAN TRAVELER SECTION
   ========================================================= */
.canada-section { position: relative; overflow: hidden; color: var(--white); }
.canada-section__bg { position: absolute; inset: 0; z-index: 0; }
.canada-section__bg img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 21/9; }
.canada-section__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,32,51,0.88) 0%, rgba(18,58,82,0.82) 55%, rgba(23,98,126,0.75) 100%);
}
.canada-section__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 6rem); }
.canada-section h2 { color: var(--white); }
.canada-section .reminder-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.9rem; max-width: 46ch; }
.canada-section .reminder-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ice); font-size: 0.94rem; }
.canada-section .reminder-list svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 0.15em; }

/* =========================================================
   TERMINAL PREVIEW SECTION
   ========================================================= */
.terminal-preview { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .terminal-preview { grid-template-columns: 1fr 1.05fr; } }
.terminal-preview__points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.terminal-preview__points li { display: flex; gap: 0.9rem; align-items: flex-start; }
.terminal-preview__points .num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pale-sky); color: var(--buffalo-blue); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.terminal-preview__points strong { color: var(--navy); display: block; font-size: 0.98rem; }
.terminal-preview__points span { color: var(--slate); font-size: 0.88rem; }

/* ---------- Figures / content photos ---------- */
figure { margin: 1.8rem 0; }
figure img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
figcaption { margin-top: 0.6rem; }
.content-photo { border-radius: var(--radius-md); box-shadow: var(--shadow-md); width: 100%; height: auto; object-fit: cover; margin: 1.8rem 0 0.5rem; aspect-ratio: 16/10; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--lakeblue-dark));
  color: var(--white); padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: 50%; right: -2rem; transform: translateY(-50%);
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(6rem, 16vw, 12rem);
  color: transparent; -webkit-text-stroke: 1.2px rgba(191,220,229,0.14);
  pointer-events: none; user-select: none;
}
.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p.lede { color: var(--ice); max-width: 66ch; font-size: 1.05rem; position: relative; z-index: 1; }

/* ---------- In-article content cards (hotel category, route consideration) ---------- */
.hotel-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.4rem; }
.hotel-card__category { display: inline-block; background: var(--pale-sky); color: var(--lakeblue-dark); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); margin-bottom: 0.6rem; }
.hotel-card h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.hotel-card__location { color: var(--slate); font-size: 0.88rem; margin-bottom: 0.7rem; }
.hotel-card ul { padding-left: 1.1em; margin-bottom: 0.8rem; font-size: 0.92rem; }
.hotel-card__note { font-size: 0.85rem; color: var(--slate); font-style: italic; margin-bottom: 0; }

.route-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--buffalo-blue); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.route-card h3 { margin: 0 0 0.35rem; margin-top: 0; font-family: var(--font-heading); color: var(--navy); font-size: 1.02rem; }

/* ---------- Quick answer / callouts ---------- */
.quick-answer {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--buffalo-blue);
  border-radius: var(--radius-md); padding: 1.3rem 1.5rem; margin: 1.7rem 0 2rem; box-shadow: var(--shadow-sm);
}
.quick-answer__label { font-weight: 700; color: var(--buffalo-blue); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 0.5rem; display: block; }
.quick-answer p:last-child { margin-bottom: 0; }

.tip-panel { background: var(--pale-sky); border: 1px solid #D3E5EA; border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.tip-panel__label { font-weight: 700; color: var(--buffalo-blue); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; display: block; }

.warning-note { background: #FBF1E4; border: 1px solid #EDCE9F; border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.warning-note__label { font-weight: 700; color: #92590C; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; display: block; }

.callout-banner {
  background: linear-gradient(150deg, var(--navy), var(--lakeblue-dark)); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; margin-block: 2.5rem;
}
.callout-banner h2, .callout-banner h3 { color: var(--white); margin-top: 0; }
.callout-banner p { color: var(--ice); }

.source-card { background: var(--white); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin-top: 2.5rem; font-size: 0.92rem; color: var(--slate); }
.source-card strong { color: var(--charcoal); }

.byline-block { display: flex; align-items: center; gap: 0.7rem; margin: 1.2rem 0 1.8rem; font-size: 0.88rem; color: var(--slate); }
.byline-block__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--pale-sky); color: var(--buffalo-blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading); flex-shrink: 0; }
.update-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 0.3rem 0.75rem; font-size: 0.76rem; font-weight: 600; color: var(--navy); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; border-radius: var(--radius-md); border: 1px solid var(--border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; max-width: none; background: var(--white); }
table.compare caption { text-align: left; padding: 0.9rem 1rem 0; font-weight: 700; color: var(--navy); }
table.compare th, table.compare td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: top; }
table.compare thead th { background: var(--navy); color: var(--white); font-family: var(--font-heading); font-weight: 700; }
table.compare tbody tr:nth-child(even) { background: var(--ivory); }
table.compare tbody tr:hover { background: var(--pale-sky); }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.2rem 1.1rem; margin-bottom: 0.7rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 0.95rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--buffalo-blue); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1rem; margin: 0; color: var(--charcoal); }

/* ---------- Forms ---------- */
.form-field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-field label { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select { min-height: 44px; padding: 0.65rem 0.85rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; background: var(--white); color: var(--charcoal); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--slate); background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem; margin-bottom: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--ice); position: relative; overflow: hidden; }
.footer-route { position: absolute; right: -40px; top: -20px; opacity: 0.12; width: 340px; pointer-events: none; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; position: relative; z-index: 1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.footer-grid h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--ice); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-brand__name { font-family: var(--font-heading); color: var(--white); font-size: 1.25rem; font-weight: 700; }
.footer-brand__line { font-family: var(--font-editorial); font-style: italic; color: var(--ice); font-size: 0.98rem; margin-top: 0.9rem; max-width: 34ch; }
.footer-disclaimer { border-top: 1px solid var(--border-dark); padding-block: 1.4rem; font-size: 0.82rem; color: var(--ice); position: relative; z-index: 1; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; justify-content: space-between; font-size: 0.8rem; color: var(--slate); position: relative; z-index: 1; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.9rem 1.3rem; margin: 0; padding: 0; }
.footer-bottom a { color: #93A9B4; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.error-page .code { font-family: var(--font-heading); font-size: clamp(3rem, 10vw, 6rem); color: var(--buffalo-blue); font-weight: 700; margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: var(--slate); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.stack { display: grid; gap: 0.85rem; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 979px) {
  .hero { min-height: auto; }
  .hero__media { order: -1; min-height: 46vh; }
  .hero__buf-bg { font-size: clamp(6rem, 30vw, 9rem); top: auto; bottom: -0.2em; left: 50%; transform: translateX(-50%); }
  .hero__copy { text-align: left; padding-top: 2.25rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .info-rail { grid-template-columns: repeat(2, 1fr); margin-top: -2rem; }
}
