/* Milan Prastalo - one site, two worlds.
   Travel = parchment (measured off the travel banner). Money = blue + gold (measured off the FW banner, gold under 5%). */
:root {
  --parch-light: #F4E8D6;
  --parch: #E8D0B0;
  --land: #C6A680;
  --shade: #9C8C76;
  --sea-ink: #1B4C6B;
  --amber: #E1A546;

  --ink: #0B284E;
  --brand: #1D67B1;
  --mist: #A9CCEC;
  --gold: #E9B94E;

  --text: #2A2420;
  --muted: #6B5F52;
  --paper: #FFFBF5;
  --line: rgba(42, 36, 32, .12);
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .4em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
p { margin: 0 0 1em; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 251, 245, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font: 700 1.15rem/1 var(--serif); text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo img { width: 34px; height: 34px; border-radius: 50%; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(0, 0, 0, .05); }
.nav a.cta { background: var(--text); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  body.nav-open .nav { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: var(--sans); }
.btn-dark { background: var(--text); color: #fff; }
.btn-line { border: 1.5px solid currentColor; background: transparent; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-amber { background: var(--sea-ink); color: #fff; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 72px 0; }

/* HOME: two doors */
.home-hero { padding: 56px 0 24px; text-align: center; }
.home-hero .lead { margin: 0 auto 8px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 40px; }
.door { position: relative; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s ease; }
.door:hover { transform: translateY(-4px); }
.door .art { position: relative; height: 320px; flex: none; }
.door .txt { padding: 26px 32px 32px; }
.door h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.door p { max-width: 40ch; }
.door .go { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.door-travel { background: var(--parch); color: var(--text); }
.door-travel .strip { position: absolute; inset: 0 0 70px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.door-travel .strip img { width: 100%; height: 100%; object-fit: cover; }
.door-travel .face { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 210px; height: 210px; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.door-money { background: radial-gradient(120% 90% at 85% 10%, #3a5f8f 0%, var(--brand) 30%, var(--ink) 80%); color: #fff; }
.door-money .suit { position: absolute; right: 24px; bottom: 0; height: 100%; width: auto; border-radius: 0 0 0 0; mask-image: linear-gradient(180deg, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); }
.door-money .fwlogo { position: absolute; left: 32px; top: 32px; width: 92px; height: 92px; border-radius: 16px; }
.door-money h2 em { color: var(--gold); font-style: normal; }
.door-money p { color: #d6e4f3; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } .door .art { height: 270px; } .door-money .fwlogo { display: none; } .door-money .suit { left: 50%; right: auto; transform: translateX(-50%); } }

.third { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 72px; }
.third h2 { font-size: 1.6rem; margin: 0 0 4px; }
.third p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .third { grid-template-columns: 1fr; } }

/* video grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.vcard { display: flex; flex-direction: column; gap: 12px; }
.vthumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; width: 100%; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vthumb:hover img { transform: scale(1.04); }
.vthumb iframe { width: 100%; height: 100%; border: 0; display: block; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play svg { width: 62px; height: 62px; fill: #fff; background: rgba(0, 0, 0, .55); border-radius: 50%; padding: 15px 13px 15px 17px; transition: background .2s; }
.vthumb:hover .play svg { background: rgba(0, 0, 0, .8); }
.vmeta h3 { font: 600 1.02rem/1.35 var(--sans); margin: 6px 0 0; }
.vtag { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vdate { font-size: .8rem; color: var(--muted); margin-left: 10px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }

/* filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font: 500 .9rem var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }

/* TRAVEL page */
body.travel { background: var(--parch-light); }
body.travel .top { background: rgba(244, 232, 214, .92); }
.t-hero { padding: 60px 20px 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.t-hero .face { width: 100%; max-width: 340px; justify-self: center; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.t-hero .tag { color: var(--sea-ink); }
@media (max-width: 820px) { .t-hero { grid-template-columns: 1fr; text-align: center; } .t-hero .lead { margin: 0 auto 1em; } .t-hero .btns { justify-content: center; } .t-hero .face { max-width: 220px; grid-row: 1; } }
.mapbox { background: var(--parch); border-radius: 22px; padding: 18px; position: relative; }
.mapbox svg { width: 100%; height: auto; display: block; }
.map-land { fill: var(--land); stroke: var(--parch); stroke-width: .5; }
.map-been { fill: var(--sea-ink); cursor: pointer; transition: fill .2s; }
.map-been:hover, .map-been.on { fill: var(--amber); }
.map-dot { fill: var(--amber); stroke: #fff; stroke-width: 1.5; pointer-events: none; }
.map-grat { fill: none; stroke: rgba(156, 140, 118, .35); stroke-width: .4; }
.map-tip { position: absolute; pointer-events: none; background: var(--text); color: #fff; font-size: .85rem; padding: 6px 10px; border-radius: 8px; transform: translate(-50%, -130%); white-space: nowrap; display: none; }
.stats { display: flex; gap: 36px; margin: 22px 0 0; flex-wrap: wrap; }
.stats b { font: 600 2rem/1 var(--serif); display: block; color: var(--sea-ink); }
.stats span { font-size: .85rem; color: var(--muted); }
body.travel .vtag { color: var(--sea-ink); }

/* MONEY page */
body.money { background: #F5F8FC; }
.m-hero { background: radial-gradient(110% 120% at 90% 0%, #2f5d93 0%, var(--brand) 28%, var(--ink) 75%); color: #fff; overflow: hidden; }
.m-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: end; padding-top: 64px; }
.m-hero h1 em { color: var(--gold); font-style: normal; }
.m-hero .lead { color: #d6e4f3; }
.m-hero .eyebrow { color: var(--mist); }
.m-hero .suit { width: 100%; max-width: 400px; justify-self: end; mask-image: linear-gradient(180deg, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); }
.m-hero .copy { padding-bottom: 64px; }
@media (max-width: 820px) { .m-hero .wrap { grid-template-columns: 1fr; } .m-hero .suit { max-width: 260px; justify-self: center; } .m-hero .copy { padding-bottom: 0; } }
body.money .vtag { color: var(--brand); }
.gift { background: var(--ink); color: #fff; border-radius: 22px; display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 36px; align-items: center; }
.gift img { border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transform: rotate(-3deg); }
.gift h2 em { color: var(--gold); font-style: normal; }
.gift p { color: #d6e4f3; }
@media (max-width: 700px) { .gift { grid-template-columns: 1fr; } .gift img { max-width: 180px; margin: 0 auto; } }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.topic { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid rgba(11, 40, 78, .1); }
.topic h3 { font: 600 1.05rem var(--sans); margin: 0 0 6px; color: var(--ink); }
.topic p { margin: 0; color: var(--muted); font-size: .95rem; }
.topic .bar { width: 28px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.fine { font-size: .82rem; color: var(--muted); max-width: 80ch; }

/* sign-up form */
form.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
form.signup input { flex: 1 1 220px; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .15); font: inherit; min-width: 0; }
.thanks { font-weight: 600; }
/* email check: "Did you mean ...?" + the 6-digit code box (site.js MPVerify), on every sign-up form */
.vmsg { margin: 8px 0 0; font-size: .92rem; min-height: 1em; }
.vfix { font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.vfix-no { opacity: .75; }
form[hidden] { display: none !important; }  /* the sign-up form steps aside while the code box is up */
.vcode { display: grid; gap: 8px; margin-top: 10px; }
.vcode-row input::placeholder { letter-spacing: normal; font-weight: 400; font-size: 1rem; }
.vcode-msg { margin: 0; line-height: 1.45; }
.vcode-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vcode-row input { flex: 1 1 160px; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(11, 40, 78, .3);
  font: 700 1.35rem/1 var(--sans); letter-spacing: .3em; text-align: center; color: var(--ink); background: #fff; }
.vcode-row .btn { justify-content: center; }
.vcode-error { margin: 0; min-height: 1em; font-size: .9rem; font-weight: 600; }
.vcode-links { margin: 0; font-size: .88rem; }
.vcode-links button { font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; }

/* WORK page */
.work-hero { padding: 64px 0 30px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.work-hero img { border-radius: 22px; }
@media (max-width: 820px) { .work-hero { grid-template-columns: 1fr; } .work-hero img { max-width: 240px; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: s; content: counter(s); font: 600 1.6rem var(--serif); color: var(--brand); display: block; margin-bottom: 6px; }
.book { background: var(--ink); color: #fff; border-radius: 22px; padding: 40px; text-align: center; }
.book p { color: #d6e4f3; margin: 0 auto 20px; max-width: 52ch; }

/* SUPPORT page */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.tier.best { border: 2px solid var(--sea-ink); position: relative; }
.tier.best::before { content: "Start here"; position: absolute; top: -12px; left: 24px; background: var(--sea-ink); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.tier .price { font: 600 2.4rem/1 var(--serif); margin: 8px 0 4px; }
.tier .price small { font: 500 .95rem var(--sans); color: var(--muted); }
.tier ul { padding-left: 18px; margin: 14px 0 22px; color: var(--muted); flex: 1; }
.tier li { margin-bottom: 6px; }

/* footer */
.foot { background: #1f1a16; color: #cfc5b8; padding: 50px 0 36px; font-size: .92rem; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot h4 { color: #fff; font: 600 .95rem var(--sans); margin: 0 0 10px; }
.foot a { color: #cfc5b8; text-decoration: none; display: block; margin-bottom: 6px; }
.foot a:hover { color: #fff; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #9b9083; }
@media (max-width: 700px) { .foot .cols { grid-template-columns: 1fr; } }

/* EPISODE pages (ep/*.html, made by episodes.py) */
.vmore { font-size: .88rem; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 6px; }
body.travel .vmore { color: var(--sea-ink); }
body.money .vmore { color: var(--brand); }
.vmore:hover { text-decoration: underline; }
.ep-head { padding-top: 40px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.ep-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 24ch; }
.ep-facts { color: var(--muted); }
.ep-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-bottom: 56px; }
.ep-player { cursor: default; }
.ep-start { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.ep-start img { width: 100%; height: 100%; object-fit: cover; }
.ep-start:focus-visible { outline: 3px solid var(--gold); }
.ep-intro { font-size: 1.12rem; margin: 22px 0 18px; max-width: 62ch; }
.ep-chapters { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; max-height: 620px; overflow: auto; }
.ep-chapters h2 { font-size: 1.3rem; margin: 0; }
.ep-hint { font-size: .85rem; color: var(--muted); margin: 2px 0 12px; }
.ep-chapters ol { list-style: none; margin: 0; padding: 0; }
.ch { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; width: 100%; padding: 8px 8px; border-radius: 10px; font-size: .95rem; line-height: 1.35; }
.ch:hover, .ch:focus-visible { background: rgba(0, 0, 0, .05); }
.ch-t { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 3.4em; }
body.travel .ch-t { color: var(--sea-ink); }
body.money .ch-t { color: var(--brand); }
.ep-sources { padding: 0 20px 48px; }
.ep-sources h2 { font-size: 1.4rem; margin-bottom: 0; }
.ep-sources ul { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--muted); }
.ep-sources li { margin-bottom: 8px; overflow-wrap: anywhere; }
.ep-side-sec { padding-top: 0; padding-bottom: 56px; }
.ep-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.ep-two .third { margin: 0; grid-template-columns: 1fr; }
@media (max-width: 900px) { .ep-main, .ep-two { grid-template-columns: 1fr; } .ep-chapters { max-height: none; } }
.map-label { font: 600 22px var(--serif); fill: var(--text); paint-order: stroke; stroke: var(--parch); stroke-width: 5px; }
.ep-map { display: flex; align-items: center; }

/* PRIVACY page */
.privacy { max-width: 760px; padding-top: 56px; }
.privacy h2 { font-size: 1.35rem; margin-top: 1.6em; color: var(--ink); }
.ep-coffee { font-size: .95rem; color: var(--muted); margin-top: 16px; }
.ep-coffee a { font-weight: 600; }
body.travel .ep-coffee a { color: var(--sea-ink); }
body.money .ep-coffee a { color: var(--brand); }

/* Monthly newsletter "Keeping in Touch" (home + money page). form.signup data-source="newsletter" */
.news { background: var(--ink); color: #fff; border-radius: 22px; padding: 32px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.news h2 { font-size: 1.9rem; margin: 0 0 8px; }
.news h2 em { color: var(--gold); font-style: normal; }
.news p { color: #d6e4f3; margin: 0; }
.news .eyebrow { color: var(--mist); }
.news-form .btn { flex: 1 1 100%; justify-content: center; }
.news .news-small { flex: 1 1 100%; font-size: .85rem; margin: 2px 0 0; }
.news .news-small a { color: var(--mist); }
.news .vmsg, .news .thanks { color: #fff; }
.news .vcode-msg { color: #fff; }
.news-tick { flex: 1 1 100%; display: flex; gap: 10px; align-items: center; font-size: .92rem; cursor: pointer; }
.news-tick input { width: 18px; height: 18px; flex: none; accent-color: var(--gold); }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; } }
.news-pill { display: inline-block; margin-top: 18px; background: var(--gold); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; }
.news-pill:hover { filter: brightness(1.05); }
