/* ===================================================
   CSS Custom Properties
   =================================================== */
:root {
  --color-bg:             #ffffff;
  --color-text:           #000000;
  --color-red:            #cd2e3a;
  --color-blue:           #0f64cd;
  --color-teal:           #008080;
  --color-border:         #e8e8e8;
  --color-muted:          #666666;
  --color-row-hover:      #fafafa;
  --color-update-bg:      #fff8e1;
  --color-update-border:  #f0b429;
  --color-callout-bg:     #f0f7ff;
  --color-callout-border: #0f64cd;
  --color-facebook-bg:    #f5f7ff;
  --color-facebook-border:#c5d0f0;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-ui:      'Poppins', system-ui, -apple-system, sans-serif;

  --header-height:        72px;
  --header-height-shrunk: 52px;
  --max-width:            1280px;
  --container-pad:        clamp(20px, 5vw, 60px);
}

/* ===================================================
   Reset and Base
   =================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.875;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   Typography
   =================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 0.6em; }
h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 0.5em; }

p {
  margin-bottom: 1.25em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--color-red);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

/* ===================================================
   Layout
   =================================================== */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}

/* ===================================================
   Fixed Header
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-shrunk {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.25s ease;
}

.site-header.is-shrunk .header-inner {
  height: var(--header-height-shrunk);
}

/* ===================================================
   Site Logo
   =================================================== */
.site-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--color-teal);
}

.site-logo:hover {
  color: var(--color-red);
}

.site-logo:hover span {
  color: var(--color-red);
}

/* ===================================================
   Jump List
   =================================================== */
.jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.jump-list a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.jump-list a:hover {
  color: var(--color-text);
  border-color: var(--color-text);
  background: transparent;
}

/* ===================================================
   Hero
   =================================================== */
.page-hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--color-border);
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75em;
}

.page-hero h1 {
  margin-bottom: 0.4em;
}

.hero-sub {
  font-size: 20px;
  color: var(--color-muted);
  margin-bottom: 0.6em;
}

.hero-meta {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ===================================================
   Content Sections
   =================================================== */
.main-content {
  padding: 0;
}

.content-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.content-section:last-child {
  border-bottom: none;
}

.lead {
  font-size: 20px;
  color: var(--color-muted);
  margin-bottom: 1.5em;
}

/* ===================================================
   Update Note Boxes (January 2026 alerts)
   =================================================== */
.update-note {
  background: var(--color-update-bg);
  border-left: 4px solid var(--color-update-border);
  padding: 16px 20px;
  margin: 28px 0;
  border-radius: 0 3px 3px 0;
  font-size: 17px;
  line-height: 1.7;
}

.update-note strong:first-child {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
  color: #7a4f00;
}

.update-note strong {
  font-weight: 600;
  color: #7a4f00;
}

/* ===================================================
   Callout Boxes
   =================================================== */
.callout {
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 3px;
  font-size: 17px;
  line-height: 1.7;
}

.callout--warning {
  background: var(--color-callout-bg);
  border-left: 4px solid var(--color-callout-border);
}

.callout strong {
  font-weight: 600;
}

/* ===================================================
   Stats Table (Section 2)
   =================================================== */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.stats-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.stats-table td:first-child {
  width: 55%;
}

.stats-table tbody tr:hover td {
  background: var(--color-row-hover);
}

.stats-table .row--emergency td {
  color: var(--color-red);
}

/* ===================================================
   Itinerary Table (Section 5)
   =================================================== */
.itinerary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.itinerary-table th {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-muted);
}

.itinerary-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.itinerary-table tbody td:first-child {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
  color: var(--color-muted);
  white-space: nowrap;
}

.itinerary-table tbody td:last-child {
  text-align: right;
  color: var(--color-teal);
  font-weight: 600;
  white-space: nowrap;
}

.itinerary-table tbody tr:hover td {
  background: var(--color-row-hover);
}

/* ===================================================
   Segment Blocks (Section 3)
   =================================================== */
.segment {
  margin: 40px 0;
  padding-top: 8px;
}

.segment:first-of-type {
  margin-top: 24px;
}

.segment h3 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
  margin-bottom: 16px;
  color: var(--color-text);
}

/* ===================================================
   Season List (Section 4)
   =================================================== */
.season-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.season-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.season-list li:last-child {
  border-bottom: none;
}

.season-list li strong {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  padding-top: 4px;
  font-weight: 400;
}

.season-list li span {
  font-size: 17px;
  line-height: 1.75;
}

/* ===================================================
   Notes List (Section 9 — accommodation bullets)
   =================================================== */
.notes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25em;
}

.notes-list li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.notes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

.notes-list li:last-child {
  border-bottom: none;
}

/* ===================================================
   Mistakes List (Section 12)
   =================================================== */
.mistakes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mistakes-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.mistakes-list li:last-child {
  border-bottom: none;
}

.mistakes-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text);
}

/* ===================================================
   Resources Table (Section 13)
   =================================================== */
.resources-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.resources-table th {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-muted);
}

.resources-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.resources-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  width: 30%;
  min-width: 160px;
}

.resources-table td a {
  color: var(--color-blue);
  font-weight: 600;
}

.resources-table tbody tr:hover td {
  background: var(--color-row-hover);
}

/* ===================================================
   Facebook Note
   =================================================== */
.facebook-note {
  background: var(--color-facebook-bg);
  border: 1px solid var(--color-facebook-border);
  border-radius: 3px;
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
}

/* ===================================================
   Disclaimer
   =================================================== */
.disclaimer {
  font-size: 15px;
  color: var(--color-muted);
  font-style: italic;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  line-height: 1.6;
}

.disclaimer + .disclaimer {
  border-top: none;
  padding-top: 0;
  margin-top: 4px;
}

/* ===================================================
   Images
   =================================================== */
figure {
  margin: 0;
}

.hero-img {
  margin: 32px 0 28px;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.hero-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-img {
  margin: 32px 0;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.section-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-img figcaption {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--color-muted);
  padding: 8px 2px 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-img img { height: 260px; }
  .section-img img { height: 220px; }
}

@media (max-width: 480px) {
  .hero-img img { height: 200px; }
  .section-img img { height: 180px; }
}

/* ===================================================
   Footer
   =================================================== */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer p {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--color-red);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  font-size: 12px !important;
  opacity: 0.75;
}

/* ===================================================
   Responsive — 768px
   =================================================== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .content-section {
    padding: 40px 0;
  }

  .season-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .season-list li strong {
    font-size: 11px;
  }

  .stats-table td:first-child {
    width: auto;
  }
}

/* ===================================================
   Responsive — 480px
   =================================================== */
@media (max-width: 480px) {
  .content-section {
    padding: 32px 0;
  }

  .segment {
    margin: 28px 0;
  }

  .hero-sub {
    font-size: 18px;
  }

  .itinerary-table tbody td:last-child {
    white-space: normal;
  }
}
