/* Go International Travel — design tokens */
:root {
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --ink: #1b222c;
  --ink-2: #4a5462;
  --ink-3: #727b88;
  --line: #e4dccf;
  --accent: #0f6b66;
  --accent-ink: #0b4f4b;
  --accent-soft: #e2efed;
  --sun: #d9822b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 34, 44, .06), 0 8px 24px rgba(27, 34, 44, .06);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --narrow: 720px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; margin: .3em 0 .35em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.12rem/1 var(--serif); }
.brand svg { color: var(--accent); }
.main-nav { display: flex; gap: 6px; }
.main-nav a, .menu nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); background: var(--paper-2); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 200px; }
@media (max-width: 760px) { .main-nav { display: none; } .menu { display: block; } }

/* breadcrumbs, eyebrows */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 28px 0 0; font-size: .85rem; color: var(--ink-3); }
.crumbs li + li::before { content: '›'; margin-right: 4px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.dek { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 1em; max-width: 60ch; }
.byline { font-size: .9rem; color: var(--ink-3); margin: 0 0 28px; }
.byline a { color: var(--ink-2); font-weight: 600; text-decoration: none; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--accent); }
.btn:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* article */
.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.post-layout { display: grid; grid-template-columns: 250px minmax(0, var(--narrow)); gap: 56px; justify-content: center; margin-top: 40px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: .9rem; max-height: calc(100vh - 120px); overflow: auto; }
.toc summary { font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc li a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: calc(var(--narrow) + 2 * var(--gutter)); }
  .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 28px; max-height: none; }
  .toc:not([open]) summary { margin: 0; }
}
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #2a323d; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sun); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose .lead { font-size: 1.15rem; color: var(--ink-2); }
.prose .related-reading, .prose .pillar-link, .prose .pro-tip, .prose .quick-facts { background: var(--accent-soft); border-radius: 10px; padding: 14px 18px; font-size: .95rem; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; line-height: 1.5; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.author-box { margin: 56px 0 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.author-box p { margin: 0; color: var(--ink-2); }
.author-box .author-name { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.related { margin-top: 72px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27, 34, 44, .06), 0 16px 32px rgba(27, 34, 44, .1); }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-img { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.card p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.more { margin: 28px 0 0; font-weight: 600; }
.more a { text-decoration: none; }

/* hubs */
.hub-head { padding-bottom: 28px; }
.chips { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips span { color: var(--ink-3); font-size: .8rem; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 0; font-weight: 600; color: var(--ink-3); }
.all-list ul { columns: 2 300px; gap: 40px; padding-left: 1.1em; }
.all-list li { break-inside: avoid; margin: .3em 0; }

/* home */
.home-hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 28, .05) 30%, rgba(10, 20, 28, .72)); }
.home-hero-text { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vw, 88px); width: 100%; }
.home-hero h1 { color: #fff; max-width: 15ch; margin: 0 0 14px; }
.home-hero p { font-size: 1.2rem; max-width: 46ch; margin: 0 0 26px; color: rgba(255, 255, 255, .9); }
.section { margin-top: 72px; }
.section > h2 { margin-top: 0; }
.regions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: 16px; }
.regions a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.regions img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.regions a:hover img { transform: scale(1.04); }
.regions a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 20, 28, .75)); }
.regions span { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 600 1.2rem/1.2 var(--serif); }
.regions small { display: block; font: 500 .8rem/1.4 var(--sans); opacity: .85; }

/* footer */
.site-footer { margin-top: 96px; background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand-footer { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 28px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (max-width: 640px) { .dek { font-size: 1.02rem; } h1 { font-size: 1.9rem; } }
