/* My Life Happens Travel
   Warm, photo-first travel site. Fraunces (display) + Figtree (text).
   Colours: sun-warmed paper, terracotta, deep teal, a touch of sunflower. */

:root {
  color-scheme: light;
  --bg: #faf6ef;
  --tint: #f2eadd;
  --card: #fffdf9;
  --ink: #221b15;
  --ink-soft: #6a5d50;
  --line: rgba(34, 27, 21, .12);
  --accent: #c2502b;
  --accent-dk: #9c3b1b;
  --teal: #17494d;
  --teal-dk: #0f3336;
  --sun: #f0b541;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --section: clamp(64px, 9vw, 120px);
  --r: 14px;
  --shadow: 0 1px 2px rgba(34, 27, 21, .06), 0 12px 32px -12px rgba(34, 27, 21, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; font-variation-settings: "opsz" 96; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { flex: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 12px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow { display: inline-block; font: 600 12.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: 14px; }
.eyebrow.light { color: var(--sun); }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-soft); }

/* ── buttons ── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dk); }
.btn.dark { background: var(--teal); color: #fff; }
.btn.dark:hover { background: var(--teal-dk); }
.btn.ghost { border-color: rgba(34, 27, 21, .25); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255, 255, 255, .26); }
.more { font-weight: 600; font-size: 15px; color: var(--accent-dk); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 239, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.site-header.over-photo { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, .38), transparent); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand-mark { width: 36px; height: 36px; color: var(--sun); }
.brand-mark circle:first-child { fill: var(--teal); }
.over-photo .brand-mark circle:first-child { fill: rgba(255, 255, 255, .16); }
.brand-name { display: flex; flex-direction: column; font: 600 19px/1 var(--display); letter-spacing: -.01em; }
.brand-name em { font: 600 10.5px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; opacity: .75; font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav a:hover { background: rgba(127, 110, 90, .12); }
.site-nav a[aria-current="page"] { color: var(--accent-dk); }
.over-photo .site-nav a[aria-current="page"] { color: var(--sun); }
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-ig svg, .menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-ig .dot { fill: currentColor; stroke: none; }
.sr-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-btn { display: none; background: none; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; opacity: .9; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: var(--card); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 16px; font-size: 17px; }
  .over-photo .site-nav a[aria-current="page"] { color: var(--accent-dk); }
  .sr-sm { position: static; width: auto; height: auto; clip: auto; }
}

/* ── hero ── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--teal-dk); }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(15, 20, 22, .72) 100%), linear-gradient(90deg, rgba(15, 20, 22, .45), transparent 65%); }
.hero-content { width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vw, 110px); }
.hero h1 { font-size: clamp(48px, 8.4vw, 112px); line-height: .98; letter-spacing: -.025em; max-width: 12ch; text-wrap: balance; }
.hero h1 em { color: var(--sun); display: block; }
.hero-lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; max-width: 34em; margin: 26px 0 0; color: rgba(255, 255, 255, .92); }
.hero-caption { position: absolute; right: var(--gutter); bottom: 22px; margin: 0; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.hero-caption::before { content: "📍 "; }
@media (max-width: 640px) { .hero { min-height: 88vh; } .hero-caption { left: var(--gutter); right: auto; } }

/* ── stats ── */
.stats { background: var(--teal); color: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.stats-row div { display: flex; flex-direction: column; gap: 4px; }
.stats-row strong { font: 500 clamp(32px, 4vw, 44px)/1 var(--display); color: var(--sun); }
.stats-row span { font-size: 14.5px; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ── sections ── */
.section { padding: var(--section) 0; }
.section.tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); text-wrap: balance; }
.section-head p { color: var(--ink-soft); max-width: 36em; margin-top: 14px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ── cards ── */
.cards { display: grid; gap: clamp(22px, 3vw, 36px); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards.two, .cards.three { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(34,27,21,.06), 0 20px 40px -14px rgba(34,27,21,.28); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.card.lg .card-media { aspect-ratio: 16 / 10; }
.card-img img, .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { position: absolute; left: 14px; top: 14px; background: rgba(255, 253, 249, .94); color: var(--ink); font: 700 12.5px/1 var(--body); padding: 8px 11px; border-radius: 999px; letter-spacing: .02em; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font: 600 12.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: 8px; }
.card-title { font-size: clamp(23px, 2.3vw, 28px); line-height: 1.15; margin-bottom: 10px; }
.card.lg .card-title { font-size: clamp(26px, 2.8vw, 34px); }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title em { color: var(--accent); }
.card-text { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.card-when { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.card-title a:focus-visible { outline: none; }

/* feature (latest trip) */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--card); border-radius: calc(var(--r) + 6px); overflow: hidden; box-shadow: var(--shadow); }
.feature-media { position: relative; display: block; min-height: 380px; }
.feature-img, .feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(26px, 4vw, 52px); align-self: center; }
.feature-body h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.feature-body h3 a { text-decoration: none; }
.feature-body > p { color: var(--ink-soft); }
.mini-glance { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 24px 0 28px; padding: 20px 0; border-block: 1px solid var(--line); }
.mini-glance dt, .glance dt { font: 600 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.mini-glance dd, .glance dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.4; font-weight: 500; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature-media { min-height: 0; aspect-ratio: 16 / 10; } }

/* how it works */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.how-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.how-grid svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #fbe6d9; stroke: var(--accent-dk); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.how-grid h3 { font-size: 23px; margin-bottom: 8px; }
.how-grid p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 1000px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

/* about band */
.about-photos { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: end; }
.about-photos picture { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .ap1 { aspect-ratio: 3 / 4; }
.about-photos .ap2 { aspect-ratio: 4 / 5; transform: translateY(-36px); }
.about-photos.solo { grid-template-columns: 1fr; max-width: 380px; justify-self: end; }
.about-photos.solo .ap1 { transform: rotate(2deg); }
@media (max-width: 900px) { .about-photos .ap2 { transform: none; } .about-photos.solo { justify-self: start; max-width: 300px; } }

/* regions */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.region h3 { font-size: 30px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.region ul { list-style: none; margin: 0; padding: 0; }
.region a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.region a span { font: 500 21px/1.2 var(--display); }
.region a small { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.region a:hover span { color: var(--accent); }

/* gear */
.gear-card { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.gear-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.gear-img img { width: 100%; height: 100%; object-fit: cover; }
.gear-card h3 { font-size: 24px; margin-bottom: 8px; }
.gear-card p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 520px) { .gear-card { grid-template-columns: 1fr; } .gear-img { aspect-ratio: 16 / 9; } }

/* instagram */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--tint); }
.insta-grid picture, .insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-grid a:hover img { transform: scale(1.05); }
.insta-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 14px 14px; background: linear-gradient(transparent, rgba(15, 20, 22, .75)); color: #fff; font-size: 14px; line-height: 1.35; font-weight: 500; }
@media (max-width: 760px) { .insta-grid { grid-template-columns: 1fr 1fr; } }

/* signup + footer */
.signup { background: var(--accent); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.signup-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.signup .eyebrow { color: #ffe1b0; }
.signup h2 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 10px; }
.signup h2 em { color: #ffe1b0; }
.signup p { color: rgba(255, 255, 255, .88); }
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 0; font: 500 16px var(--body); color: var(--ink); }
.signup-form .btn.primary { background: var(--teal); }
.signup-form .btn.primary:hover { background: var(--teal-dk); }
@media (max-width: 860px) { .signup-inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--teal-dk); color: rgba(255, 255, 255, .78); padding: clamp(52px, 7vw, 84px) 0 30px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr; gap: 36px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 26em; }
.site-footer h3 { font: 600 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 8px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* page heads (list, about, 404) */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-head.tall { padding-bottom: var(--section); }
.page-head h1 { font-size: clamp(46px, 7.4vw, 96px); letter-spacing: -.025em; line-height: 1; margin-bottom: 22px; text-wrap: balance; }
.page-head .lede { max-width: 36em; }
.about-top { align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { font: 600 15px/1 var(--body); padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 18px; }

/* ── itinerary page ── */
.trip-hero { min-height: min(78vh, 720px); }
.trip-hero h1 { font-size: clamp(44px, 7.2vw, 96px); max-width: 14ch; }
.trip-hero h1 em { font-size: .62em; line-height: 1.1; margin-top: 10px; }
.trip-hero.no-photo { background: linear-gradient(135deg, var(--teal), var(--teal-dk)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 18px; color: rgba(255, 255, 255, .85); }
.crumbs a { color: #fff; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.trip-meta span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }

.trip-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section); }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc-title, .glance-title { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0 0 22px; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink); }
.toc a small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.toc a:hover, .toc a.active { color: var(--accent-dk); border-left-color: var(--accent); }
@media (max-width: 980px) {
  .trip-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { min-width: 0; }
  .toc { position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: rgba(250, 246, 239, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); max-height: none; overflow: visible; }
  .toc-title, .print-btn { display: none; }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; border: 0; margin: 0; scrollbar-width: none; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; background: var(--card); font-size: 14px; }
  .toc a small { display: none; }
  .toc a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
}

.trip-body { max-width: 820px; }
.byline { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 20px; }
.intro p { font-size: clamp(18px, 1.9vw, 20.5px); line-height: 1.65; }
.intro p:first-child::first-letter { font: 500 3.6em/.85 var(--display); float: left; padding: 6px 10px 0 0; color: var(--accent); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 26px; margin: 36px 0 0; padding: 26px 28px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border-top: 4px solid var(--sun); }
.glance .glance-title { grid-column: 1 / -1; margin: 0; }
.route-wrap { margin-top: 32px; }
.route { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; align-items: center; }
.route li { font: 500 18px/1.2 var(--display); display: flex; align-items: center; }
.route li + li::before { content: ""; width: 34px; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px); }
/* photo mosaic: one big photo + the rest (pattern from Expedia / GetYourGuide guide pages) */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(120px, 15vw, 190px); gap: 10px; margin-top: 36px; }
.gallery figure:first-child { grid-row: span 2; }
.gallery[data-count="2"] { grid-template-columns: 2fr 1fr; }
.gallery[data-count="2"] figure:first-child { grid-row: span 1; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .gallery figure:first-child { grid-column: span 2; grid-row: span 1; } }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.days-title, .block h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 3.8vw, 44px); margin: clamp(56px, 7vw, 84px) 0 12px; }
.days-title svg, .block h2 svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: #fbe6d9; stroke: var(--accent-dk); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.day { padding: 36px 0; border-bottom: 1px solid var(--line); }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 8px; }
.day-label { font: 700 13.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--teal); padding: 7px 12px; border-radius: 6px; }
.day-meta { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.day h3 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 12px; text-wrap: balance; }
.day-text { color: var(--ink-soft); }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 105px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 34px; padding: 7px 0; position: relative; font-size: 16.5px; line-height: 1.5; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--accent); }
.timeline .time { font-weight: 700; font-size: 14px; color: var(--accent-dk); text-align: right; padding-top: 2px; font-variant-numeric: tabular-nums; }
.booked { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 12px; font-weight: 700; color: #2f6b45; background: #e1f0e4; border-radius: 999px; padding: 3px 9px 3px 6px; vertical-align: 2px; white-space: nowrap; }
.booked svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .timeline li::before { left: 0; top: 12px; }
  .timeline .time { text-align: left; }
  .timeline .time:empty { display: none; }
}
.tip { display: flex; gap: 12px; margin: 22px 0 0; padding: 16px 18px; background: #fff4dc; border-radius: 12px; font-size: 15.5px; line-height: 1.5; }
.tip svg { width: 22px; height: 22px; fill: none; stroke: #9a6a00; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

.block h4 { font-size: 21px; margin-bottom: 4px; }
.stays { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.stays li { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.stays .sub { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-dk); margin: 4px 0 10px; }
.stays .sub svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.stays li > p:last-child { font-size: 15.5px; color: var(--ink-soft); }
.eats { columns: 2 300px; column-gap: 40px; margin-top: 18px; }
.eat-group { break-inside: avoid; margin-bottom: 28px; }
.eat-group h4 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.eat-group ul { list-style: none; margin: 0; padding: 0; }
.eat-group li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.eat-group li p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.eat-group .type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: var(--tint); padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.checklist svg { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: #e1f0e4; stroke: #2f6b45; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.tips { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tips li { background: var(--card); border-left: 4px solid var(--sun); border-radius: 0 var(--r) var(--r) 0; padding: 18px 20px; box-shadow: var(--shadow); }
.tips p { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }

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

@media print {
  .site-header, .toc, .signup, .site-footer, .section.tint, .hero-img, .hero-shade, .hero-caption, .gallery { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero-content { padding: 0 0 12pt; }
  .crumbs, .crumbs a { color: var(--ink-soft); }
  .trip-meta span { border-color: var(--line); background: none; }
  .trip-layout { display: block; padding: 0; }
  .day { break-inside: avoid; }
  .glance, .stays li, .tips li { box-shadow: none; border: 1px solid var(--line); }
}
.feature-sub { font: italic 400 20px/1.35 var(--display); color: var(--accent); margin-top: -6px; }
.gallery picture, .about-photos picture > img { height: 100%; }

/* ── timeline stop icons (eat / see / stay / move) ── */
.timeline li::before { display: none; }
.timeline .k { position: absolute; left: 92px; top: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); color: var(--accent-dk); }
.timeline .k svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.timeline li.k-eat .k { border-color: #d9862b; color: #9a5a12; }
.timeline li.k-move .k { border-color: var(--teal); color: var(--teal); }
.timeline li.k-stay .k { border-color: #7a5ea8; color: #5b4386; }
.timeline li { padding-top: 9px; padding-bottom: 9px; }
.timeline li .what { padding-left: 14px; }
@media (max-width: 560px) {
  .timeline::before { left: 13px; }
  .timeline li { padding-left: 44px; }
  .timeline .k { left: 0; top: 8px; }
  .timeline li .what { padding-left: 0; }
}

/* ── route map ── */
.route-map { margin-top: 22px; aspect-ratio: 16 / 9; max-height: 460px; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); z-index: 0; }
.route-map .leaflet-control-attribution { font-size: 10.5px; }
.route-map .leaflet-tile-pane { filter: saturate(.75) sepia(.12); }
.pin { display: grid; place-items: center; }
.pin span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 13px/1 var(--body); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.map-key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 600; }
.map-key li { display: flex; align-items: center; gap: 7px; }
.map-key span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11.5px; }

/* ── YouTube videos (click-to-play, so pages stay fast) ── */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.videos.one { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-top: 18px; }
@media (max-width: 900px) { .videos { grid-template-columns: minmax(0, 1fr); } }
.yt, .yt-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.yt:hover img { transform: scale(1.04); filter: brightness(.9); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(194, 80, 43, .95); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s; }
.yt:hover .play { transform: scale(1.08); }
.yt .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .card-kicker { margin: 14px 0 4px; }
.video-title { font-size: clamp(20px, 2vw, 23px); line-height: 1.2; }
@media print { .route-map, .map-key, .videos { display: none !important; } }
