/* LoungeMapper — navy + gold premium directory */
:root {
  --navy-900: #08152d;
  --navy-800: #0d1f3c;
  --navy-700: #14294a;
  --navy-600: #1e355d;
  --navy-500: #2d4a78;
  --gold-700: #a87f29;
  --gold-600: #c89b3c;
  --gold-500: #d8b15a;
  --gold-100: #f5e8c5;
  --paper: #faf7f0;
  --paper-2: #f3ede0;
  --paper-3: #ebe3d2;
  --ink: #14181f;
  --ink-2: #2a2f3a;
  --ink-3: #4a5060;
  --ink-4: #6b7180;
  --line: rgba(13,31,60,0.12);
  --line-2: rgba(13,31,60,0.07);
  --shadow-sm: 0 1px 2px rgba(13,31,60,0.06);
  --shadow-md: 0 6px 24px rgba(13,31,60,0.08);
  --shadow-lg: 0 16px 48px rgba(13,31,60,0.14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-700); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--gold-600);
  color: var(--navy-900); padding: 8px 14px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 720px) { .wrap { padding: 0 18px; } }

/* ---- Header ---- */
.site-header {
  background: var(--navy-900);
  color: #fff;
  border-bottom: 3px solid var(--gold-600);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: var(--gold-500); }
.brand-mark { width: 36px; height: 36px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: -0.01em; color: #fff;
}
.brand-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-500); margin-top: 2px; font-weight: 500;
}
.nav-primary { display: flex; gap: 28px; }
.nav-primary a {
  color: #f3ede0; font-weight: 500; font-size: 15px; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: all .15s ease;
}
.nav-primary a:hover { color: var(--gold-500); border-bottom-color: var(--gold-600); }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .nav-primary { gap: 18px; flex-wrap: wrap; font-size: 14px; }
  .brand-tag { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative; isolation: isolate;
  min-height: 540px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy-900);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.85) contrast(1.05); opacity: 0.55;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 0%, rgba(200,155,60,0.25), transparent 60%),
    linear-gradient(180deg, rgba(8,21,45,0.6) 0%, rgba(8,21,45,0.92) 100%);
  z-index: -1;
}
.hero-inner {
  padding: 80px 24px 90px;
  max-width: 880px;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; margin: 0 0 18px;
}
.eyebrow.gold { color: var(--gold-500); }
.hero-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px); color: #e7dfcb; max-width: 640px;
  margin: 0 0 32px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-weight: 600; font-size: 15px;
  border-radius: 4px; border: 2px solid transparent; cursor: pointer;
  transition: all .15s ease; letter-spacing: 0.01em;
}
.btn-gold { background: var(--gold-600); color: var(--navy-900); border-color: var(--gold-600); }
.btn-gold:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }

.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(245,232,197,0.18);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--serif); font-weight: 600; font-size: 32px;
  color: var(--gold-500); line-height: 1;
}
.hero-stats span {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #c5bba3; margin-top: 6px;
}

/* ---- Page hero (interior pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff; padding: 56px 0 60px;
  border-bottom: 3px solid var(--gold-600);
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.015em;
  text-wrap: balance;
}
.page-hero .page-sub {
  font-size: 17px; color: #d6cfb9; max-width: 720px; margin: 0;
}
.page-hero .eyebrow a { color: var(--gold-500); }
.page-hero .eyebrow a:hover { color: var(--gold-100); }

.airport-hero-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.airport-iata-big {
  font-family: var(--serif); font-weight: 700; font-size: 64px;
  color: var(--gold-500); line-height: 1;
  background: rgba(200,155,60,0.12);
  border: 2px solid var(--gold-600);
  padding: 12px 20px; border-radius: 6px;
}

/* ---- Section ---- */
.site-main { background: var(--paper); }
.section { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 48px 0; } }

.section-title {
  font-family: var(--serif); font-weight: 600; font-size: 28px;
  margin: 56px 0 24px; color: var(--navy-900); letter-spacing: -0.01em;
  position: relative; padding-bottom: 12px;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; background: var(--gold-600);
}
.section-title:first-child { margin-top: 0; }

.lede {
  font-size: 18px; line-height: 1.7; color: var(--ink-2);
  margin: 0 0 32px; max-width: 760px;
}

/* ---- Two-column layout (content + sidebar) ---- */
.content-with-sidebar {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .content-with-sidebar { grid-template-columns: 1fr; gap: 36px; }
}

/* ---- Cards ---- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 22px;
  display: block; transition: all .18s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.card-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-bottom: 28px;
}
.card-grid.two-col { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.hub-card { padding: 22px 22px 20px; }
.hub-iata {
  font-family: var(--serif); font-weight: 700; font-size: 32px;
  color: var(--gold-700); line-height: 1; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.hub-name {
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  color: var(--navy-900); line-height: 1.25; margin-bottom: 6px;
}
.hub-meta { font-size: 13px; color: var(--ink-4); letter-spacing: 0.02em; }

.airport-card .airport-iata {
  font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--gold-700);
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.hub-badge {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; padding: 3px 8px; border-radius: 3px;
  background: var(--navy-900); color: var(--gold-500);
}
.airport-name {
  font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--navy-900);
  line-height: 1.3; margin-bottom: 4px;
}
.airport-meta { font-size: 12px; color: var(--ink-4); }

.program-card .program-eyebrow,
.program-card-lg .program-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 600; margin-bottom: 10px;
}
.program-name {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: var(--navy-900); margin: 0 0 10px; line-height: 1.2;
}
.program-short {
  font-size: 14px; color: var(--ink-3); line-height: 1.55;
  margin: 0 0 16px;
}
.program-card-lg { padding: 28px; }
.mini-list {
  list-style: none; padding: 0; margin: 0 0 16px;
  font-size: 13px; color: var(--ink-3);
}
.mini-list li { padding: 4px 0; border-bottom: 1px dashed var(--line-2); }
.mini-list li:last-child { border-bottom: 0; }

.guide-card { padding: 24px; }
.guide-cat {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 600; display: block; margin-bottom: 10px;
}
.guide-title {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--navy-900); line-height: 1.25; margin: 0 0 10px;
}
.guide-excerpt {
  font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0 0 16px;
}

.card-cta {
  font-size: 13px; color: var(--gold-700); font-weight: 600;
  letter-spacing: 0.02em;
}
.card:hover .card-cta { color: var(--navy-900); }

.link-more {
  display: inline-block; margin-top: 8px; font-weight: 600;
  color: var(--navy-700); border-bottom: 2px solid var(--gold-600);
  padding-bottom: 2px;
}
.link-more:hover { color: var(--navy-900); }

/* ---- State grid ---- */
.state-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.state-tile {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; transition: all .15s ease;
}
.state-tile:hover {
  border-color: var(--gold-500); background: var(--paper-2);
  color: var(--navy-900);
}
.state-name { font-weight: 500; color: var(--navy-900); font-size: 14px; }
.state-count {
  font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums;
  background: var(--paper-3); padding: 2px 8px; border-radius: 12px;
}

/* ---- Lounge list rows ---- */
.lounge-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 28px; }
.lounge-row {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 22px; transition: all .15s ease;
}
.lounge-row:hover {
  border-color: var(--gold-500); transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.lounge-row-main { flex: 1; min-width: 0; }
.lounge-row-main h3 {
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  color: var(--navy-900); margin: 0 0 4px; line-height: 1.3;
}
.lounge-meta { font-size: 13px; color: var(--ink-4); margin: 0 0 4px; }
.lounge-amen { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.lounge-row-cta {
  text-align: right; display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end; flex-shrink: 0;
}
.program-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--navy-900); color: var(--gold-500);
  padding: 4px 10px; border-radius: 3px;
}
@media (max-width: 600px) {
  .lounge-row { flex-direction: column; align-items: flex-start; }
  .lounge-row-cta { text-align: left; align-items: flex-start; }
}

/* ---- Fact strip ---- */
.fact-strip {
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  background: var(--line); border-radius: 6px; overflow: hidden;
  margin: 0 0 32px;
}
.fact-strip > div {
  background: #fff; padding: 16px 18px; display: flex; flex-direction: column;
}
.fact-strip span {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 6px;
}
.fact-strip strong {
  font-family: var(--serif); font-weight: 500; font-size: 15px;
  color: var(--navy-900); line-height: 1.3;
}

/* ---- Pill list ---- */
.pill-list {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 32px;
  list-style: none;
}
.pill-list li {
  background: var(--paper-2); padding: 6px 14px; border-radius: 20px;
  font-size: 13px; color: var(--navy-700); border: 1px solid var(--line-2);
}

/* ---- Amenity list ---- */
.amenity-list {
  display: grid; gap: 8px 24px; padding: 0; margin: 16px 0 32px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  list-style: none;
}
.amenity-list li {
  position: relative; padding-left: 22px; line-height: 1.5;
  font-size: 15px; color: var(--ink-2);
}
.amenity-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--gold-600);
  transform: rotate(45deg);
}

/* ---- Prose / article ---- */
.prose p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose p:first-child { font-size: 19px; color: var(--ink); }
.article p { font-size: 17.5px; line-height: 1.78; color: var(--ink-2); max-width: 70ch; }
.article p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 600; font-size: 64px;
  float: left; line-height: 1; padding: 6px 12px 0 0; color: var(--gold-700);
}

/* ---- Sidebar ---- */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.sidebar-card {
  padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 6px;
}
.sidebar-card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 17px;
  color: var(--navy-900); margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-600); display: inline-block;
}
.sidebar-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 600; margin: -4px 0 12px;
}
.recommended-list, .link-list {
  list-style: none; padding: 0; margin: 0;
}
.recommended-list li, .link-list li {
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px; line-height: 1.45;
}
.recommended-list li:last-child, .link-list li:last-child { border-bottom: 0; }
.recommended-list a, .link-list a {
  color: var(--navy-700); font-weight: 500;
}
.recommended-list a:hover, .link-list a:hover { color: var(--gold-700); }

.sidebar-recommended {
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  border-color: var(--gold-500);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-900); color: #c5bba3; margin-top: 80px;
  padding: 60px 0 30px; border-top: 3px solid var(--gold-600);
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.foot-col h4 {
  font-family: var(--serif); font-weight: 600; color: var(--gold-500);
  font-size: 15px; margin: 0 0 14px; letter-spacing: 0.02em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; font-size: 14px; }
.foot-col a { color: #d6cfb9; }
.foot-col a:hover { color: var(--gold-500); }
.foot-brand .brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 22px; color: #fff;
  display: block; margin-bottom: 10px;
}
.foot-brand p { font-size: 14px; line-height: 1.55; color: #a89f87; max-width: 280px; }
.foot-recommended .recommended-list a { color: #d6cfb9; }
.foot-recommended .recommended-list li { border-bottom-color: rgba(245,232,197,0.12); }
.foot-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(245,232,197,0.12);
  font-size: 13px; color: #8a8270;
}
.foot-base a { color: #c5bba3; }
.foot-base a:hover { color: var(--gold-500); }

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .sidebar { display: none; }
  body { background: #fff; }
}
