/* Lantern Routes — editorial travel magazine
   Palette: white / pine green / lantern amber / sand
   Type: Sora (display sans) + Source Serif 4 (body) — inverse of typical pairing */

:root {
  --white: #FFFFFF;
  --sand: #F5EFE3;
  --pine: #1F3D33;
  --pine-soft: #46615A;
  --amber: #DFA126;
  --amber-deep: #B57F14;
  --line: #E3DCCB;
  --max: 1120px;
  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--pine);
  background: var(--white);
}

/* ---------- header ---------- */
.site-header { background: var(--pine); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 42px; position: relative; flex-shrink: 0;
  background: var(--amber); border-radius: 50% 50% 46% 46% / 38% 38% 60% 60%;
}
.brand-mark::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 6px; background: var(--amber-deep); border-radius: 3px 3px 0 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px 9px; border-radius: inherit;
  border: 2px solid rgba(31,61,51,0.35);
}
.brand-text { font-family: var(--display); color: var(--white); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.brand-text small { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  font-family: var(--display); color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--pine); background: var(--amber); }
.site-nav a[aria-current="page"] { color: var(--pine); background: var(--white); }

.nav-toggle { display: none; font-family: var(--display); background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 8px 16px; font-size: 13px; cursor: pointer; }

@media (max-width: 740px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; z-index: 60;
    background: var(--pine); flex-direction: column; padding: 10px 20px 18px; gap: 6px;
  }
  .site-nav.open { display: flex; }
}
.site-header { position: sticky; top: 0; z-index: 50; }

/* ---------- hero ---------- */
.hero { background: var(--pine); color: var(--white); }
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 64px 28px 76px;
}
.hero-tag {
  font-family: var(--display); display: inline-block;
  background: var(--amber); color: var(--pine); font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.14; letter-spacing: -0.015em;
  max-width: 18ch;
}
.hero h1 .glow { color: var(--amber); }
.hero-lede { font-size: 19px; color: rgba(255,255,255,0.78); max-width: 56ch; margin-top: 22px; }

/* route badges row */
.route-line {
  max-width: var(--max); margin: 0 auto; padding: 0 28px 58px;
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
}
.route-stop { display: flex; align-items: center; }
.route-stop b {
  font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--white); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28); padding: 7px 15px; border-radius: 999px;
  white-space: nowrap;
}
.route-stop::after { content: ""; width: 34px; height: 1px; background: rgba(255,255,255,0.3); }
.route-stop:last-child::after { display: none; }
@media (max-width: 740px) { .route-stop::after { width: 14px; } }

/* ---------- index list (editorial rows, not cards) ---------- */
.index-head {
  max-width: var(--max); margin: 0 auto; padding: 58px 28px 8px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
}
.index-head h2 { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.index-head span { font-family: var(--display); font-size: 13px; color: var(--pine-soft); }

.story-list { max-width: var(--max); margin: 0 auto; padding: 10px 28px 70px; }
.story-row {
  display: grid; grid-template-columns: 120px 1fr 200px; gap: 26px; align-items: baseline;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--pine);
}
.story-row:first-child { border-top: 1px solid var(--line); }
.story-row:hover .story-title, .story-row:focus-visible .story-title { color: var(--amber-deep); }
.story-cat {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-deep);
}
.story-title {
  font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.32;
  letter-spacing: -0.01em; transition: color 0.15s ease;
}
.story-desc { font-size: 16px; color: var(--pine-soft); margin-top: 8px; }
.story-meta { font-family: var(--display); font-size: 12.5px; color: var(--pine-soft); text-align: right; }
@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; gap: 8px; }
  .story-meta { text-align: left; }
}

/* ---------- article ---------- */
.article-hero { background: var(--sand); }
.article-hero-inner { max-width: 780px; margin: 0 auto; padding: 52px 28px 46px; }
.breadcrumbs { font-family: var(--display); font-size: 13px; color: var(--pine-soft); margin-bottom: 24px; }
.breadcrumbs a { color: var(--pine); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--amber-deep); }
.article-hero-inner .story-cat { display: block; margin-bottom: 12px; }
.article-hero-inner h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.015em;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.18;
}
.article-meta { font-family: var(--display); font-size: 13.5px; color: var(--pine-soft); margin-top: 18px; }

.article-wrap { max-width: 780px; margin: 0 auto; padding: 46px 28px 84px; }
.article-body h2 {
  font-family: var(--display); font-weight: 700; font-size: 25px;
  letter-spacing: -0.01em; margin: 44px 0 14px; line-height: 1.3;
}
.article-body h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin: 30px 0 10px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 9px; }
.article-body a { color: var(--amber-deep); text-decoration-color: var(--amber); }
.article-body a:hover { color: var(--pine); }
.article-body strong { color: var(--pine); }

.lantern-tip {
  background: var(--sand); border-radius: 10px; padding: 20px 24px; margin: 26px 0;
  font-size: 17px; position: relative;
}
.lantern-tip::before {
  content: "◉"; color: var(--amber-deep); font-size: 15px; margin-right: 10px;
}
.lantern-tip strong { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep); }

/* ---------- related ---------- */
.related { border-top: 2px solid var(--pine); margin-top: 52px; padding-top: 30px; }
.related h2 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.related ul { list-style: none; }
.related li { margin-bottom: 12px; }
.related a { font-family: var(--display); color: var(--pine); text-decoration: none; font-weight: 600; font-size: 16.5px; border-bottom: 2px solid var(--amber); }
.related a:hover { color: var(--amber-deep); }

/* ---------- static pages ---------- */
.page-hero { background: var(--sand); }
.page-hero-inner { max-width: 780px; margin: 0 auto; padding: 52px 28px 40px; }
.page-hero-inner h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.015em; }
.page-updated { font-family: var(--display); font-size: 13.5px; color: var(--pine-soft); margin-top: 12px; }
.page-wrap { max-width: 780px; margin: 0 auto; padding: 42px 28px 84px; }
.page-wrap h2 { font-family: var(--display); font-size: 23px; font-weight: 700; margin: 36px 0 12px; letter-spacing: -0.01em; }
.page-wrap p { margin-bottom: 18px; }
.page-wrap ul { margin: 0 0 18px 24px; }
.page-wrap li { margin-bottom: 9px; }
.page-wrap a { color: var(--amber-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--pine); color: rgba(255,255,255,0.8); margin-top: 30px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 48px 28px 30px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-inner h2 { font-family: var(--display); font-size: 17px; color: var(--white); margin-bottom: 12px; font-weight: 700; }
.footer-inner p { font-size: 15px; max-width: 44ch; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-family: var(--display); color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--amber); }
.footer-base {
  max-width: var(--max); margin: 0 auto; padding: 18px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.18); font-family: var(--display);
  font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 740px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 100;
  max-width: 580px; margin: 0 auto;
  background: var(--white); color: var(--pine);
  border: 2px solid var(--pine); border-radius: 12px;
  padding: 18px 22px; display: none; gap: 16px; align-items: center;
  box-shadow: 0 14px 40px rgba(31,61,51,0.22);
  font-family: var(--display); font-size: 13.5px; line-height: 1.55;
}
.cookie-banner.show { display: flex; }
.cookie-banner a { color: var(--amber-deep); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--display); border: 2px solid var(--pine); background: var(--white); color: var(--pine);
  border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.cookie-btn.accept { background: var(--pine); color: var(--white); }
.cookie-btn.accept:hover { background: var(--amber); border-color: var(--amber); color: var(--pine); }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; } }

/* ---------- contact form ---------- */
.contact-form { display: grid; gap: 18px; max-width: 540px; margin-top: 14px; }
.contact-form label { font-family: var(--display); font-size: 13.5px; font-weight: 700; display: grid; gap: 7px; }
.contact-form input, .contact-form textarea {
  font-family: var(--body); font-size: 17px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--pine);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 1px; }
.contact-form button {
  font-family: var(--display); justify-self: start; background: var(--pine); color: var(--white);
  border: none; border-radius: 999px; padding: 13px 30px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.contact-form button:hover { background: var(--amber); color: var(--pine); }

:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--pine);
  font-family: var(--display); font-weight: 700;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- mobile refinements ---------- */
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-inner { padding: 0 18px; }
  .brand-text { font-size: 17px; }
  .hero-inner { padding: 44px 18px 54px; }
  .route-line { padding: 0 18px 44px; }
  .index-head { padding: 44px 18px 8px; }
  .story-list { padding: 8px 18px 56px; }
  .article-hero-inner,
  .page-hero-inner { padding: 40px 18px 34px; }
  .article-wrap,
  .page-wrap { padding: 36px 18px 64px; }
  .article-body h2 { font-size: 23px; }
  .footer-inner { padding: 40px 18px 26px; }
  .footer-base { padding: 16px 18px 24px; flex-direction: column; }
  .story-title { font-size: 20px; }
  .nav-toggle,
  .cookie-btn,
  .contact-form button { min-height: 44px; }
  .site-nav a { padding: 12px 14px; }
}


/* ---------- illustrations ---------- */
.hero-figure { margin-top: 34px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); line-height: 0; }
.hero-figure svg, .hero-figure img { width: 100%; height: auto; display: block; }

.story-thumb { line-height: 0; border-radius: 10px; overflow: hidden; background: var(--sand); }
.story-thumb img { width: 100%; height: auto; display: block; aspect-ratio: 400/260; object-fit: cover; }

/* article list gains a thumbnail column on wide screens */
.story-row { grid-template-columns: 132px 1fr 150px; }
.story-row .story-thumb { grid-row: span 2; align-self: center; }
@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; }
  .story-thumb { max-width: 100%; margin-bottom: 6px; }
}

.article-figure { margin: 0 0 8px; line-height: 0; border-radius: 12px; overflow: hidden; }
.article-figure img { width: 100%; height: auto; display: block; }
