/* ============================================================
   StampPath Travel Notes: the blog at /blog/ (English only)
   Julia's old travel blog design ("Salt"), chosen 2026-10-03 (option 2).
   Fonts are served from stamppath.com: no Google request (GDPR).
   Fraunces, Plus Jakarta Sans, Caveat: SIL Open Font License 1.1, see fonts/OFL.txt
   ============================================================ */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/fonts/fraunces-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url('/static/fonts/fraunces-italic-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/fonts/plus-jakarta-sans-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/static/fonts/caveat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf7f2; --bg-soft: #f1ece1; --card: #ffffff; --border: #e4dfd2; --border-strong: #d2cbb9;
  --text: #1f2a2e; --text-soft: #5a6166; --text-mute: #7d8489;
  --accent: #6b8e6e; --accent-hover: #52735a; --accent-bg: #edf2ea; --secondary: #a88e6f;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --script: 'Caveat', cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--accent); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--card); padding: 8px 12px; }

/* Header: transparent over the photo on the front page, sticky cream on articles */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border); }
.site-header-inner { max-width: 1280px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { color: var(--text-soft); white-space: nowrap; }
.site-nav a:hover { color: var(--accent); }
.over-hero { position: absolute; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; }
.over-hero .brand, .over-hero .site-nav a { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* Front page */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 760px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #6f6a5f; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 32px 80px; }
.hero h1 { font-family: var(--serif); font-variation-settings: "opsz" 144; font-size: clamp(44px, 7vw, 88px); line-height: 1; font-weight: 500; margin: 0 0 16px; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p { max-width: 540px; font-size: 17px; line-height: 1.6; margin: 0; color: rgba(255,255,255,.92); }
.hero .credit { position: absolute; bottom: 14px; right: 20px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); z-index: 2; }
.hero .credit a { color: inherit; }

.about { max-width: 1100px; margin: 96px auto 80px; padding: 0 32px; display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; scroll-margin-top: 90px; }
.portrait { width: 320px; aspect-ratio: 4/5; background: var(--accent-bg); position: relative; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--script); font-size: 120px; color: var(--accent); }
.kicker { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hover); margin-bottom: 14px; }
.about h2 { font-family: var(--serif); font-size: 36px; margin: 0 0 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.about p { font-size: 16px; margin: 0 0 14px; }
.about p.soft { color: var(--text-soft); font-size: 15px; }
.signature { font-family: var(--script); font-size: 28px; color: var(--accent); margin-top: 4px; }

.section-label { max-width: 1100px; margin: 80px auto 28px; padding: 0 32px; scroll-margin-top: 90px; }
.section-label .kicker { color: var(--secondary); margin-bottom: 8px; }
.section-label h2 { font-family: var(--serif); font-size: 36px; margin: 0; font-weight: 500; letter-spacing: -.02em; }
.section-label p { color: var(--text-soft); margin: 8px 0 0; font-size: 15px; }

.posts { max-width: 1100px; margin: 28px auto 60px; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.card { color: inherit; display: flex; flex-direction: column; transition: transform .25s; }
.card:hover { transform: translateY(-3px); color: inherit; }
.card:hover h3 { color: var(--accent-hover); }
.card-img { aspect-ratio: 4/5; background: var(--bg-soft); position: relative; margin-bottom: 18px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--text); font-size: 10px; font-weight: 700; padding: 5px 10px; letter-spacing: .1em; text-transform: uppercase; }
.card .meta { font-size: 11px; color: var(--text-mute); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.01em; color: var(--text); transition: color .15s; }
.card p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.55; }
.draft-flag { position: absolute; top: 14px; right: 14px; background: #b85a3a; color: #fff; font-size: 10px; font-weight: 700; padding: 5px 10px; letter-spacing: .1em; text-transform: uppercase; }

/* Article page */
.post-hero { max-width: 1100px; margin: 32px auto 0; padding: 0 32px; }
.post-hero figure { margin: 0; }
.post-hero-img { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--bg-soft); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.credit-tag { position: absolute; bottom: 16px; right: 16px; background: rgba(255,255,255,.95); color: var(--text-soft); font-size: 10px; font-weight: 700; padding: 5px 11px; letter-spacing: .1em; text-transform: uppercase; }
.credit-tag a { color: inherit; }
.post-header { max-width: 720px; margin: 40px auto 0; padding: 0 32px; }
.crumbs { font-size: 11px; color: var(--text-mute); font-weight: 600; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--accent); }
.post-header h1 { font-family: var(--serif); font-variation-settings: "opsz" 144; font-size: clamp(34px, 4.8vw, 50px); line-height: 1.1; margin: 0 0 20px; font-weight: 500; letter-spacing: -.025em; }
.lede { color: var(--text-soft); font-size: 19px; font-style: italic; line-height: 1.55; margin: 0 0 8px; font-family: var(--serif); }
.tags { font-size: 11px; color: var(--text-mute); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; margin-top: 24px; }
.tags .tag { color: var(--accent-hover); border: 1px solid var(--accent); padding: 2px 7px; font-size: 10px; }
.paid-note { font-size: 13px; color: var(--text-soft); font-style: italic; margin: 16px 0 0; }

.prose { max-width: 720px; margin: 32px auto 60px; padding: 0 32px; font-size: 17px; line-height: 1.72; }
.prose h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 56px 0 14px; letter-spacing: -.02em; line-height: 1.2; scroll-margin-top: 90px; }
.prose h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 32px 0 8px; line-height: 1.3; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0 22px; }
.prose li { margin-bottom: 10px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(107,142,110,.45); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 700; }

.facts { background: var(--card); border: 1px solid var(--border); padding: 26px 28px; margin: 36px 0; }
.prose .facts h2 { margin: 0 0 16px; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-hover); font-weight: 700; }
.facts dl { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 12px 24px; margin: 0; font-size: 15px; line-height: 1.5; }
.facts dt { font-weight: 600; color: var(--text-soft); }
.facts dd { margin: 0; }
.facts a { text-decoration: none; font-weight: 600; }

.toc { border-left: 2px solid var(--border-strong); padding: 2px 0 2px 20px; margin: 0 0 36px; font-size: 15px; }
.toc strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--text-mute); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 4px; }
.toc a { text-decoration: none; }

.tip { border-left: 2px solid var(--secondary); padding: 4px 0 4px 22px; margin: 32px 0; }
.tip strong.tip-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: #8a7154; margin-bottom: 6px; font-weight: 700; }
.tip p:last-child { margin-bottom: 0; }

.photo { margin: 36px 0; }
/* height: auto, or the img's height attribute wins over aspect-ratio (a 656 x 900 crop, 2026-10-04) */
.photo img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.photo figcaption { font-size: 12px; color: var(--text-mute); margin-top: 8px; }
.photo figcaption a { color: inherit; }
.photo-pair .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-pair .pair img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }

.passports { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 28px; }
.passport-group { background: var(--card); border: 1px solid var(--border); padding: 18px 20px; }
.passport-group h3 { margin: 0 0 4px; font-size: 18px; }
.passport-group p { font-size: 13px; color: var(--text-soft); margin: 0 0 12px; line-height: 1.5; }
.passport-group ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; font-size: 14px; line-height: 1.45; }
.passport-group li { margin: 0 0 7px; break-inside: avoid; }
.passport-group a { text-decoration: none; color: var(--text); }
.passport-group a:hover { color: var(--accent-hover); text-decoration: underline; }
.passport-group.need-eta { border-top: 3px solid var(--accent); }
.passport-group.need-visa { border-top: 3px solid var(--secondary); }

.trip-kit { background: var(--card); border: 1px solid var(--border); padding: 8px 24px; margin: 24px 0 32px; }
.trip-kit li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 16px 0; border-bottom: 1px solid var(--border); margin: 0; }
.trip-kit li:last-child { border-bottom: none; }
.trip-kit ul { padding: 0; margin: 0; }
.trip-kit .icon { font-size: 22px; line-height: 1.3; }
.trip-kit b { display: block; font-size: 16px; }
.trip-kit p { margin: 2px 0 6px; font-size: 15px; color: var(--text-soft); line-height: 1.55; }
.trip-kit .links { font-size: 14px; font-weight: 600; }
.ad-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border-strong); padding: 0 5px; margin-right: 6px; vertical-align: 1px; text-decoration: none; }

.faq h3 { margin-top: 26px; }
.sources { font-size: 14px; color: var(--text-soft); line-height: 1.55; }
.sources li { margin-bottom: 6px; }
.checked-note { font-size: 14px; color: var(--text-soft); background: var(--bg-soft); padding: 14px 18px; margin: 28px 0 0; }

.sign-off { font-family: var(--script); font-size: 30px; color: var(--accent); margin: 36px 0 8px; }
.author { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0 18px; margin-top: 20px; }
.author .signature { margin: 0; line-height: 1.2; }
.author p { margin: 2px 0 0; font-size: 14px; color: var(--text-soft); line-height: 1.5; }

.more { max-width: 1100px; margin: 0 auto; padding: 0 32px 20px; }

/* Footer: the old blog's signature footer */
.site-footer { text-align: center; padding: 56px 32px 48px; background: var(--bg); border-top: 1px solid var(--border); margin-top: 40px; }
.site-footer .signature { font-size: 30px; margin-bottom: 8px; }
.site-footer .footer-brand { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.site-footer p { color: var(--text-mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer .legal { font-size: 13px; text-transform: none; letter-spacing: 0; line-height: 2; }
.site-footer .legal a { color: var(--text-soft); }
.site-footer .legal a:hover { color: var(--accent); }

/* Cookie banner (same markup as the rest of StampPath, in the blog's colours) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(0,0,0,.08); padding: 16px 20px; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { flex: 1 1 380px; min-width: 0; }
.cookie-text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-soft); }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 11px 22px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid transparent; min-width: 120px; }
.cookie-btn-reject { background: #fff; border-color: var(--border-strong); color: var(--text-soft); }
.cookie-btn-accept { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 32px; margin: 56px auto; }
  .portrait { width: 220px; max-width: 60%; margin: 0 auto; }
  .posts { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .site-header-inner { padding: 16px 20px; }
  .site-nav { gap: 16px; font-size: 11px; }
  .passports { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* The phone fix the old blog needed: the name stays on one line, and only the
     link back to the visa checker stays in the bar. */
  .site-header-inner { padding: 14px 16px; }
  .brand { font-size: 18px; }
  .site-nav a:not(.keep) { display: none; }
  .hero-inner { padding: 0 16px 56px; }
  .hero h1 { font-size: 48px; }
  .about, .section-label, .posts, .post-hero, .post-header, .prose, .more { padding-left: 16px; padding-right: 16px; }
  .post-hero { margin-top: 16px; }
  .post-hero-img { aspect-ratio: 4/3; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 26px; margin-top: 44px; }
  .facts { padding: 20px; }
  .facts dl { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .trip-kit { padding: 4px 16px; }
  .cookie-banner { padding: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; min-width: 0; padding: 12px 16px; }
  .cookie-text { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .passport-group ul { columns: 1; }
}

/* Data tables (travel-permit tracker). On phones each row becomes a small card. */
.table-wrap { margin: 24px 0 32px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; background: var(--card); border: 1px solid var(--border); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.data-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); font-weight: 700; background: var(--bg-soft); }
.data-table tbody th { font-weight: 700; width: 24%; }
.data-table .status { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a7154; border: 1px solid var(--secondary); padding: 0 5px; margin-left: 4px; }
.prose .data-table a { text-decoration: none; font-weight: 600; }
.permit-list details { margin: 6px 0 18px; }
.permit-list summary { cursor: pointer; font-weight: 600; color: var(--accent-hover); font-size: 15px; }
.permit-list ul.flags { list-style: none; padding: 0; margin: 10px 0 0; columns: 3; column-gap: 16px; font-size: 14px; }
.permit-list ul.flags li { margin: 0 0 6px; break-inside: avoid; }
.permit-list ul.flags a { text-decoration: none; color: var(--text); }
@media (min-width: 1100px) {
  /* Wider than the 656px text column on big screens: centred, 1000px. */
  .prose .table-wrap { width: 1000px; margin-left: -172px; }
}
@media (max-width: 820px) { .permit-list ul.flags { columns: 2; } }
@media (max-width: 640px) {
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table thead { display: none; }
  .data-table tr { border-bottom: 1px solid var(--border-strong); padding: 10px 14px; }
  .data-table tbody th { padding: 0 0 6px; border: none; white-space: normal; font-size: 16px; width: auto; }
  .data-table td { padding: 2px 0; border: none; }
  .data-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--text-soft); }
}
