/* Pops & Kakous · Journal. Same tokens as the main site, editorial layout. */
:root {
  --bg: #ffffff;
  --stone: #f1efef;
  --ink: #463934;
  --taupe: #7e6e64;
  --gold: #8b7755;
  --line: #e4dedb;
  --blush: #f5ebe6;
  --sand: #efe4d8;
  --rose: #b97a6e;
  --rose-soft: #e2c3ba;
  --wine: #6f3439;
  --cocoa: #2e2422;
  --serif: "Gilda Display", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.75; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1200px; margin: 0 auto; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .01em; padding: 10px 20px; border: 1px solid var(--wine); background: var(--wine); color: #fff; text-decoration: none; border-radius: 2px; transition: background .3s var(--ease-soft), border-color .3s var(--ease-soft); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: background .4s var(--ease-soft), border-color .4s var(--ease-soft), box-shadow .4s var(--ease-soft); }
.site-header.scrolled { background: rgba(255,255,255,.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(46,36,34,.25); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 16px; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { font-size: 14px; text-decoration: none; position: relative; padding-bottom: 3px; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.bar nav a:hover::after, .bar nav a[aria-current]::after { transform: scaleX(1); }
.wordmark { text-align: center; text-decoration: none; line-height: 1.1; }
.wordmark b { display: block; font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; white-space: nowrap; }
.wordmark small { display: block; font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--taupe); margin-top: 4px; }
.right { display: flex; justify-content: flex-end; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar nav { display: none; }
  .wordmark { text-align: left; }
  .wordmark b { font-size: 18px; letter-spacing: .2em; padding-left: 0; }
  .wordmark small { letter-spacing: .26em; }
}

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--taupe); padding-top: 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-bottom-color: var(--gold); }

/* Page heads */
.page-head { text-align: center; padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.06; margin: 14px auto 18px; max-width: 18ch; }
.page-head .dek { max-width: 58ch; margin: 0 auto; color: var(--taupe); font-size: 18px; }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 13px; color: var(--taupe); letter-spacing: .04em; }
.meta span + span::before { content: "·"; margin-right: 18px; color: var(--rose); }
@media (max-width: 600px) { .meta { flex-direction: column; gap: 2px; } .meta span + span::before { content: none; } }

/* Landscape banner (pure SVG, no photo) */
.scape { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7ede4 0%, #f2ddd0 55%, #e9c9b8 100%); height: clamp(220px, 36vw, 460px); border-radius: 2px; }
.scape svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scape .sun { transform-origin: center; }
.scape .caption { position: absolute; left: 24px; bottom: 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(46,36,34,.62); }
html.js .scape .layer { transform: translateY(14px); opacity: 0; transition: transform 1.6s var(--ease-out), opacity 1.6s var(--ease-out); }
html.js .scape.in .layer { transform: none; opacity: 1; }
html.js .scape .layer:nth-child(2) { transition-delay: .12s; }
html.js .scape .layer:nth-child(3) { transition-delay: .24s; }
html.js .scape .layer:nth-child(4) { transition-delay: .36s; }

/* Country / topic cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 10px 90px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s var(--ease-out); }
a.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(46,36,34,.45); border-color: var(--rose-soft); }
.card .art { aspect-ratio: 4/3; position: relative; overflow: hidden; background: linear-gradient(180deg, #f7ede4, #e9c9b8); }
.card .art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
a.card:hover .art svg { transform: scale(1.04); }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h2, .card h3 { font-size: 26px; line-height: 1.15; margin: 0; }
.card p { color: var(--taupe); font-size: 15px; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.card .more::after { content: " →"; display: inline-block; transition: transform .5s var(--ease-out); }
a.card:hover .more::after { transform: translateX(4px); }
.card.soon { background: var(--stone); border-style: dashed; }
.card.soon .art { filter: grayscale(.6); opacity: .55; }
.tag { align-self: flex-start; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.flag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: rgba(255,255,255,.9); padding: 5px 10px; border-radius: 2px; color: var(--ink); }

/* Topic list (country hub) */
.topics { padding-block: 10px 90px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.topic { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 30px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .5s var(--ease-soft), padding .5s var(--ease-out); }
a.topic:hover { background: var(--blush); padding-left: 18px; padding-right: 18px; }
.topic .n { font-family: var(--serif); font-size: 44px; color: var(--rose); line-height: 1; }
.topic h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 4px 0 8px; }
.topic p { color: var(--taupe); font-size: 15px; max-width: 62ch; }
.topic .go { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); white-space: nowrap; }
.topic.soon { opacity: .6; }
.topic.soon .go { color: var(--taupe); }
@media (max-width: 700px) { .topic { grid-template-columns: 52px minmax(0, 1fr); } .topic .n { font-size: 32px; } .topic .go { grid-column: 2; } }

/* Article layout */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); gap: 40px; padding-block: clamp(40px, 6vw, 72px) 40px; }
.article-wrap > .prose { grid-column: 2; }
.toc { grid-column: 3; align-self: start; position: sticky; top: 110px; font-size: 14px; max-width: 250px; }
.toc b { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--taupe); line-height: 1.4; transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--wine); }
@media (max-width: 1180px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } .article-wrap > .prose { grid-column: 1; max-width: 700px; margin: 0 auto; width: 100%; } .toc { display: none; } }

.prose h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 64px 0 18px; scroll-margin-top: 100px; }
.prose h3 { font-size: 23px; line-height: 1.25; margin: 36px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose .lead { font-size: 20px; line-height: 1.65; color: var(--ink); }
.prose .lead::first-letter { font-family: var(--serif); float: left; font-size: 74px; line-height: .86; padding: 6px 12px 0 0; color: var(--wine); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--rose); }
.prose a { text-decoration: none; border-bottom: 1px solid var(--rose-soft); transition: border-color .3s; }
.prose a:hover { border-bottom-color: var(--wine); }
.prose strong { font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 56px 0; }

.answer { background: var(--blush); border-left: 2px solid var(--wine); padding: 24px 28px; margin: 0 0 34px; border-radius: 0 2px 2px 0; }
.answer .kicker { display: block; margin-bottom: 8px; }
.answer p { margin: 0; font-size: 18px; }
.note { background: var(--stone); padding: 20px 24px; margin: 26px 0; border-radius: 2px; font-size: 15.5px; }
.note b:first-child { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.quote { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.35; text-align: center; margin: 50px auto; max-width: 30ch; color: var(--ink); }
.quote::before, .quote::after { content: ""; display: block; width: 40px; height: 1px; background: var(--rose); margin: 0 auto 22px; }
.quote::after { margin: 22px auto 0; }

/* Itinerary timeline */
.route { list-style: none; padding: 0 !important; margin: 30px 0 10px; position: relative; }
.route::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--rose), var(--gold)); }
.route > li { position: relative; padding: 0 0 34px 66px; margin: 0; }
.route > li::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 43px; height: 43px; border-radius: 50%; background: #fff; border: 1px solid var(--rose); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--wine); }
.route .when { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.route h3 { margin: 4px 0 8px; }
.route p { margin-bottom: 10px; }
.route .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.route .chips span { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--taupe); background: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 22px 0 26px; border: 1px solid var(--line); border-radius: 2px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); background: var(--stone); }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.pick td { background: var(--blush); }
tr.pick td:first-child { box-shadow: inset 2px 0 0 var(--wine); }

/* Verdict cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
@media (max-width: 600px) { .duo { grid-template-columns: 1fr; } }
.duo > div { border: 1px solid var(--line); padding: 22px 22px 18px; border-radius: 2px; background: #fff; }
.duo > div.yes { border-top: 2px solid var(--wine); }
.duo > div.no { border-top: 2px solid var(--line); background: var(--stone); }
.duo h3 { margin: 0 0 8px; font-size: 21px; }
.duo ul { margin: 0; padding-left: 18px; font-size: 15px; }
.duo .price { font-family: var(--serif); font-size: 30px; color: var(--wine); line-height: 1.1; margin-bottom: 6px; }
.duo .price small { font-family: var(--sans); font-size: 13px; color: var(--taupe); }

/* Checklist */
.check { list-style: none; padding: 0 !important; }
.check li { position: relative; padding-left: 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border: 1px solid var(--rose); border-radius: 50%; background: radial-gradient(circle, var(--rose) 0 3px, transparent 3.5px); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--rose); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink); }
.faq details > div p { margin: 0; }

.sources { font-size: 14px; color: var(--taupe); }
.sources ol { padding-left: 20px; }
.updated { font-size: 13px; color: var(--taupe); margin-top: 30px; }

/* Author + CTA */
.signoff { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 56px 0 0; }
.signoff svg { color: var(--rose); }
.signoff b { font-family: var(--serif); font-weight: 400; font-size: 20px; display: block; }
.signoff p { margin: 0; font-size: 15px; color: var(--taupe); }
.cta-band { background: var(--cocoa); color: #e9ddd6; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-band .kicker { color: var(--rose-soft); }
.cta-band h2 { color: #f6efe9; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 12px auto 16px; max-width: 22ch; }
.cta-band p { max-width: 54ch; margin: 0 auto 28px; color: #cbbab1; }
.cta-band .btn { background: #f6efe9; border-color: #f6efe9; color: var(--cocoa); }
.cta-band .btn:hover { background: var(--rose-soft); border-color: var(--rose-soft); }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 60px 80px; }
@media (max-width: 700px) { .next { grid-template-columns: 1fr; } }

/* Footer */
footer { padding-block: 60px; text-align: center; background: #241c1a; color: #e9ddd6; }
footer .wordmark b { font-size: 19px; color: #f6efe9; white-space: normal; }
footer p { margin-top: 12px; font-size: 13px; color: #bfaea6; }
footer .heart { display: block; margin: 0 auto 18px; color: var(--rose); }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
.socials a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #f6efe9; text-decoration: none; border-bottom: 1px solid var(--rose); }

/* Motion */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html:not(.js) [data-reveal], html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .page-head > * { opacity: 0; transform: translateY(14px); filter: blur(6px); }
html.js.ready .page-head > * { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
html.js.ready .page-head > *:nth-child(2) { transition-delay: .08s; }
html.js.ready .page-head > *:nth-child(3) { transition-delay: .16s; }
html.js.ready .page-head > *:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], html.js .page-head > *, html.js .scape .layer { opacity: 1 !important; transform: none !important; filter: none !important; }
}
