:root{
  --cream:#fdf9f6;
  --cream-2:#f3e9db;
  --ink:#231c15;
  --ink-soft:#5c5346;
  --terracotta:rgba(176,36,24,1);
  --terracotta-dark:rgba(140,28,19,1);
  --terracotta-light:rgba(227,83,69,1);
  --forest:#113356;
  --gold:#d99a3c;
  --line:#e5d9c6;
  --radius:20px;
  --maxw:1180px;
  /* .wrap's own side inset — .museum-scroll's full-bleed padding math reads
     this too (city-museums.html), so the two can't drift apart at
     responsive breakpoints. Override this, not a hardcoded px value, when
     changing .wrap's padding at a breakpoint. */
  --wrap-pad:32px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:600;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--wrap-pad);}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 28px;
  border-radius:100px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:none;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn-primary{
  background:var(--terracotta);
  color:#fff;
  box-shadow:0 8px 20px -6px rgba(193,80,46,.55);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px -6px rgba(193,80,46,.6);}
.btn-ghost{
  background:transparent;
  color:var(--ink);
  border:1.5px solid var(--ink);
}
.btn-ghost:hover{background:var(--ink);color:var(--cream);}

/* ---------- HEADER ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}
header.scrolled{
  background:rgba(251,245,236,.88);
  backdrop-filter:blur(10px);
  border-bottom-color:var(--line);
}
.nav{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding-top:18px;
  padding-bottom:18px;
}
.logo{
  font-size:22px;
  display:flex;align-items:center;gap:5px;
  justify-self:start;
}
.logo-icon{width:32px;height:32px;flex:none;display:block;border-radius:5px;}
.logo-text{display:flex;align-items:baseline;gap:0;}
.logo-museum{font-family:'Roboto',sans-serif;font-weight:900;letter-spacing:.01em;text-transform:uppercase;color:var(--ink);transition:color .25s ease;}
.logo-hype{font-family:'Open Sans',sans-serif;font-weight:400;font-size:0.925em;color:var(--ink);transition:color .25s ease;}
header.header-on-photo:not(.scrolled) .logo-museum,
header.header-on-photo:not(.scrolled) .logo-hype{color:#fff;}
.nav-center{
  display:flex;align-items:center;
  background:var(--cream-2);
  border-radius:100px;
  padding:5px;
  gap:2px;
  justify-self:center;
}
.nav-center a,
.nav-center button{
  display:inline-block;
  line-height:1;
  padding:9px 20px;
  border-radius:100px;
  font-size:14.5px;
  font-weight:600;
  color:var(--ink-soft);
  transition:background .18s ease, color .18s ease;
  border:none;
  background:transparent;
  font-family:'Inter',sans-serif;
  cursor:pointer;
}
.nav-center a.active,
.nav-center button.active{
  background:var(--ink);
  color:var(--cream);
}
.nav-center a:not(.active):hover,
.nav-center button:not(.active):hover{color:var(--ink);}
.nav-right{display:flex;align-items:center;gap:26px;font-size:14.5px;font-weight:600;justify-self:end;}
.nav-right a.link{color:var(--ink-soft);transition:color .25s ease;}
.nav-right a.link:hover,
.nav-right a.link.active{color:var(--ink);}

header.header-on-photo:not(.scrolled) .nav-center{
  background:rgba(251,245,236,.14);
  backdrop-filter:blur(6px);
  border:1px solid rgba(251,245,236,.3);
}
header.header-on-photo:not(.scrolled) .nav-center a:not(.active),
header.header-on-photo:not(.scrolled) .nav-center button:not(.active){color:var(--cream);}
header.header-on-photo:not(.scrolled) .nav-center a:not(.active):hover,
header.header-on-photo:not(.scrolled) .nav-center button:not(.active):hover{color:#fff;}
header.header-on-photo:not(.scrolled) .nav-center a.active,
header.header-on-photo:not(.scrolled) .nav-center button.active{
  background:rgba(251,245,236,.22);
  border:1px solid rgba(251,245,236,.4);
  color:#fff;
}
header.header-on-photo:not(.scrolled) .nav-right a.link{color:var(--cream);}
header.header-on-photo:not(.scrolled) .nav-right a.link:hover{color:#fff;}
header.header-on-photo{
  position:fixed;
  top:0;left:0;right:0;
  width:100%;
}
.burger{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:42px;
  height:42px;
  border-radius:11px;
  border:none;
  background:var(--cream-2);
  padding:0;
  cursor:pointer;
  justify-self:end;
  flex:none;
}
.burger span{
  display:block;
  width:19px;
  height:2px;
  border-radius:2px;
  background:var(--ink);
}
.mobile-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:var(--cream);
  border-bottom:1px solid var(--line);
  box-shadow:0 20px 34px -18px rgba(35,28,21,.3);
  flex-direction:column;
  padding:8px 24px 20px;
}
.mobile-menu.open{display:flex;}
.mobile-menu a,
.mobile-menu button{
  display:block;
  width:100%;
  text-align:left;
  padding:15px 4px;
  border:none;
  border-bottom:1px solid var(--line);
  background:none;
  font-family:'Inter',sans-serif;
  font-size:15.5px;
  font-weight:600;
  color:var(--ink);
  cursor:pointer;
}
.mobile-menu a:last-child,
.mobile-menu button:last-child{border-bottom:none;}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:92vh;
  display:flex;
  align-items:center;
  padding:140px 0 90px;
}
.hero-bg{
  position:absolute;inset:0;z-index:-1;
  background:url('hero-museum.jpg') center/cover no-repeat;
}
/* Real <img> painted over the CSS background above (city/index hero
   photo). Google doesn't index CSS background-images at all — for a page
   to be eligible as a search-result/Discover thumbnail, or to show up in
   Google Images, the photo needs to live in an actual <img src>. The CSS
   background stays in place underneath as a same-frame fallback while the
   img loads or on the rare page that doesn't set one. */
.hero-bg img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.hero-bg::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(20,16,12,.6) 0%, rgba(20,16,12,.4) 45%, rgba(20,16,12,.7) 100%);
}
.hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  max-width:720px;
  margin:0 auto;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(251,245,236,.14);
  backdrop-filter:blur(6px);
  border:1px solid rgba(251,245,236,.3);
  padding:7px 16px;
  border-radius:100px;
  font-size:13px;
  font-weight:600;
  color:var(--cream);
  margin-bottom:22px;
}
.hero h1{
  font-size:56px;
  line-height:1.06;
  margin-bottom:22px;
  color:#fff;
}
.hero h1 em{
  font-style:italic;
  color:inherit;
}
.hero p.lead{
  font-size:18px;
  color:rgba(251,245,236,.88);
  max-width:480px;
  margin:0 auto 34px;
}
.hero-ctas{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;}
.hero-ctas .sub{font-size:14px;color:rgba(251,245,236,.75);flex-basis:100%;text-align:center;margin-top:4px;}
.hero-ctas .sub a{color:#fff;font-weight:600;border-bottom:1px solid currentColor;}

.hero-art{
  position:relative;
  aspect-ratio:1/1.05;
  border-radius:28px;
  background:url('hero-museum.jpg') center/cover no-repeat;
  overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(35,28,21,.35);
}
.hero-art::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(35,28,21,0) 40%, rgba(35,28,21,.4) 100%);
}
.pin{
  position:absolute;
  background:#fff;
  border-radius:16px;
  padding:12px 16px;
  box-shadow:0 14px 30px -10px rgba(0,0,0,.35);
  font-size:13px;
  font-weight:600;
  display:flex;align-items:center;gap:8px;
}
.pin .dot{width:8px;height:8px;border-radius:50%;background:var(--terracotta);flex:none;}
.pin.p1{top:14%;left:8%;}
.pin.p2{bottom:20%;right:10%;}
.pin.p3{bottom:8%;left:14%;}

/* ---------- SECTION HEADS ---------- */
section{padding:80px 0;}
.section-head{max-width:640px;margin-bottom:48px;}
.kicker{
  font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--terracotta-dark);margin-bottom:12px;
}
.section-head h2{font-size:36px;margin-bottom:14px;}
.section-head p{color:var(--ink-soft);font-size:16px;}

/* ---------- TEMPORARILY HIDDEN ---------- */
.nav-hidden{display:none !important;}

/* ---------- CITIES ---------- */
.cities-strip{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}
.city-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  aspect-ratio:1/1.1;
  color:#fff;
  font-weight:600;
  font-size:14.5px;
  display:flex;align-items:flex-end;
  padding:14px;
  cursor:pointer;
  transition:transform .25s ease;
}
.city-card:hover{transform:translateY(-6px);}
.city-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 60%);
}
.city-card span{position:relative;z-index:1;}
.city-card svg{position:absolute;top:12px;right:12px;z-index:1;opacity:.85;width:16px;height:16px;}
.city-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:132px;height:132px;object-fit:contain;z-index:1;opacity:.95;filter:invert(1) brightness(2);}


/* ---------- ROUTES ---------- */
.routes-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.route-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.route-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px -14px rgba(35,28,21,.25);}
.route-thumb{
  height:130px;
  background:linear-gradient(135deg,var(--gold),var(--terracotta));
  position:relative;
}
.route-thumb .badge{
  position:absolute;bottom:10px;left:10px;
  background:rgba(0,0,0,.45);
  color:#fff;font-size:12px;font-weight:600;
  padding:4px 10px;border-radius:100px;
  backdrop-filter:blur(4px);
}
.route-body{padding:16px 18px 20px;}
.route-body h4{font-family:'Fraunces',serif;font-size:17px;margin-bottom:6px;}
.route-meta{font-size:13px;color:var(--ink-soft);display:flex;gap:10px;align-items:center;}
.route-meta .sep{opacity:.5;}
.routes-cta{
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  border:2px dashed var(--line);
  border-radius:var(--radius);
  font-weight:600;
  color:var(--terracotta-dark);
  padding:20px;
}

/* ---------- CITY PROFILE TABS ---------- */
section[id]{scroll-margin-top:110px;}
.map-placeholder{
  height:360px;
  border:2px dashed var(--line);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--ink-soft);
  font-weight:600;
  background:var(--cream-2);
}
.city-map{
  height:420px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink-soft);
  font-weight:600;
  background:var(--cream-2);
}
.city-cta-row{display:flex;justify-content:center;margin-top:44px;}

.vibe-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:20px;
}
.vibe-card{
  position:relative;
  display:flex;align-items:flex-end;
  aspect-ratio:4/3;
  border-radius:var(--radius);
  overflow:hidden;
  background-color:var(--cream-2);
  background-size:cover;
  background-position:center;
}
.vibe-card::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(20,16,12,0) 35%,rgba(20,16,12,.82) 100%);
}
.vibe-card-body{
  position:relative;z-index:1;
  padding:20px;
}
.vibe-card-kicker{
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--terracotta-light);margin-bottom:6px;
}
.vibe-card h3{
  color:#fff;
  font-size:19px;
  margin:0;
}
.vibe-card p{
  color:rgba(251,245,236,.85);
  font-size:13.5px;
  margin:6px 0 0;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list{max-width:760px;}
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-question{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:none;border:none;
  padding:22px 4px;
  text-align:left;
  font-family:'Fraunces',serif;font-size:18px;font-weight:600;color:var(--ink);
  cursor:pointer;
}
.faq-question .faq-icon{
  flex:none;
  width:24px;height:24px;
  border-radius:50%;
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;line-height:1;color:var(--terracotta-dark);
  transition:transform .2s ease;
}
.faq-item.open .faq-icon{transform:rotate(45deg);}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.faq-answer p{
  color:var(--ink-soft);font-size:15px;
  padding:0 4px 22px;
  margin:0;
}
.faq-item.open .faq-answer{max-height:240px;}

/* ---------- HOW IT WORKS ---------- */
.how-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.how-card{
  background:var(--cream-2);
  border-radius:var(--radius);
  padding:32px 28px;
  position:relative;
}
.how-num{
  font-family:'Fraunces',serif;
  font-size:44px;
  color:var(--terracotta);
  opacity:.5;
  margin-bottom:18px;
}
.how-card h3{font-size:20px;margin-bottom:10px;}
.how-card p{color:var(--ink-soft);font-size:15px;}

/* ---------- NEWSLETTER ---------- */
.newsletter{
  background:var(--forest);
  color:var(--cream);
  border-radius:28px;
  padding:56px 60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.newsletter h2{font-size:30px;color:#fff;max-width:420px;}
.newsletter p{color:#cddccf;margin-top:10px;font-size:14.5px;max-width:420px;}
.nl-form{display:flex;gap:10px;flex:1;min-width:280px;max-width:420px;}
.nl-form input{
  flex:1;padding:14px 18px;border-radius:100px;border:none;
  font-size:14.5px;font-family:'Inter',sans-serif;
}
.nl-form input:focus{outline:2px solid var(--gold);}
.nl-form button{
  background:var(--terracotta);color:#fff;
  border:none;padding:14px 26px;border-radius:100px;
  font-weight:700;cursor:pointer;font-size:14.5px;
  white-space:nowrap;
}
.nl-form button:hover{background:var(--terracotta-dark);}
.nl-fine{font-size:12px;color:#aac2ae;margin-top:10px;}
.nl-fine a{text-decoration:underline;}

/* ---------- ORGANISATIONS ---------- */
.org-hero{
  padding:90px 0 60px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.org-hero h1{font-size:52px;margin-bottom:20px;}
.org-hero p{
  color:var(--ink-soft);font-size:18px;
  max-width:560px;margin:0 auto 32px;
}
.org-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
  padding:56px 0;
  border-top:1px solid var(--line);
}
.org-block:first-of-type{border-top:none;}
.org-block.reverse .org-media{order:2;}
.org-media{
  aspect-ratio:4/3.2;
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
  box-shadow:0 20px 40px -18px rgba(35,28,21,.3);
}
.org-media.m1{background:linear-gradient(150deg,#e7a26b,var(--terracotta));}
.org-media.m2{background:linear-gradient(150deg,#7a95a8,var(--forest));}
.org-media.m3{background:linear-gradient(150deg,#d99a3c,#8a4b6b);}
.org-tag{
  display:inline-block;
  font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--terracotta-dark);
  margin-bottom:14px;
}
.org-copy h3{font-size:28px;margin-bottom:14px;}
.org-copy>p{color:var(--ink-soft);font-size:16px;margin-bottom:22px;}
.org-list{list-style:none;margin-bottom:26px;}
.org-list li{
  display:flex;gap:12px;align-items:flex-start;
  font-size:15px;color:var(--ink);
  margin-bottom:12px;
}
.org-list li::before{
  content:"✓";
  flex:none;
  width:22px;height:22px;border-radius:50%;
  background:var(--forest);color:#fff;
  font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
}
.org-example{
  display:flex;align-items:center;gap:12px;
  background:var(--cream-2);
  border-radius:14px;
  padding:12px 16px;
  font-size:13.5px;
  font-weight:600;
  margin-bottom:22px;
}
.org-example .dot{width:8px;height:8px;border-radius:50%;background:var(--terracotta);flex:none;}
.testimonial{
  background:var(--cream-2);
  border-radius:var(--radius);
  padding:36px 40px;
  margin-top:20px;
  position:relative;
}
.testimonial p{font-family:'Fraunces',serif;font-size:19px;font-style:italic;color:var(--ink);margin-bottom:14px;}
.testimonial cite{font-style:normal;font-size:13.5px;color:var(--ink-soft);font-weight:600;}
.org-cta{
  background:var(--forest);
  color:var(--cream);
  border-radius:28px;
  padding:56px 60px;
  text-align:center;
}
.org-cta h2{color:#fff;font-size:32px;margin-bottom:12px;}
.org-cta p{color:#cddccf;margin-bottom:26px;}

/* ---------- BLOG ---------- */
.blog-hero{
  padding:80px 0 50px;
  text-align:center;
}
.blog-hero h1{font-size:48px;margin-bottom:16px;}
.blog-hero p{color:var(--ink-soft);font-size:17px;max-width:520px;margin:0 auto;}
.blog-filter{
  display:flex;justify-content:center;gap:8px;flex-wrap:wrap;
  margin-top:30px;
}
.blog-filter span{
  padding:8px 18px;border-radius:100px;font-size:13.5px;font-weight:600;
  background:var(--cream-2);color:var(--ink-soft);cursor:default;
}
.blog-filter span.active{background:var(--ink);color:var(--cream);}
.category-pills{
  display:flex;flex-wrap:wrap;gap:10px;
  margin:6px 0 30px;
}
.category-pill{
  display:inline-flex;align-items:center;
  padding:8px 18px;border-radius:100px;
  font-size:13.5px;font-weight:600;
  background:var(--cream-2);color:var(--ink);
  border:1px solid var(--line);
  text-decoration:none;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.category-pill:hover{background:var(--terracotta);color:#fff;border-color:var(--terracotta);}
.section-head-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  margin:36px 0 20px;
}
.section-head-row h2{font-size:26px;margin:0;}
.see-all-link{
  background:none;border:none;padding:0;
  font-size:14px;font-weight:700;color:var(--terracotta-dark);
  text-decoration:underline;cursor:pointer;white-space:nowrap;
}
.see-all-link:hover{color:var(--terracotta);}

/* Horizontal-scrolling row of museum cards (city-museums.html), with a
   prev/next button pair in the section head instead of a "See all" link. */
.scroll-nav{display:flex;gap:8px;flex:0 0 auto;}
.scroll-nav-btn{
  width:36px;height:36px;flex:0 0 auto;
  border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
}
.scroll-nav-btn:hover{background:var(--cream-2);border-color:var(--ink-soft);}
.scroll-nav-btn:disabled{opacity:.35;cursor:default;}
/* Full-bleed: #museum-grid (its parent, see city-museums.html) is rendered
   OUTSIDE .wrap, as a direct child of the unconstrained <section>, so this
   row is naturally edge-to-edge with no width/vw hackery needed — that
   sidesteps the classic "100vw counts the scrollbar" bug that a
   margin-left:calc(50%-50vw) trick would otherwise introduce.
   Deliberately NOT using padding-left/right on the scroll container itself
   for the edge inset: Safari drops leading padding on an overflow-x:auto
   flex row once its content actually overflows (it renders fine right up
   until there are enough cards to need scrolling, then the inset vanishes)
   — a real WebKit bug, not a caching/deployment issue. .scroll-spacer flex
   items below are the standard workaround: real flex items are sized
   correctly by Safari even mid-scroll, unlike container padding. */
.museum-scroll{
  display:flex;gap:20px;
  overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;
  padding-top:2px;padding-bottom:4px;
  -ms-overflow-style:none;scrollbar-width:none;
}
.museum-scroll::-webkit-scrollbar{display:none;}
.museum-scroll .scroll-spacer{
  /* minus the row's own 20px gap, which flexbox already adds between this
     spacer and the adjacent card, so the total inset matches --wrap-pad. */
  flex:0 0 calc(max(var(--wrap-pad), calc((100% - var(--maxw)) / 2 + var(--wrap-pad))) - 20px);
  /* Must be a valid snap target (matching .blog-card below), NOT "none".
     With mandatory snap on the row, "none" made the leading spacer
     unsnappable, so the browser auto-snapped straight past it to the first
     card on initial layout — scrolling the row ~80px before the user ever
     touched it, which is what caused the "first card flush left, spacer
     invisible" bug even though the spacer itself was sized correctly. */
  scroll-snap-align:start;
}
.museum-scroll .blog-card{flex:0 0 260px;scroll-snap-align:start;}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.blog-grid .card-extra{display:none;}
.blog-grid.expanded .card-extra{display:flex;}
.blog-grid.featured{grid-template-columns:1.3fr 1fr;margin-bottom:26px;}
.blog-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  display:flex;flex-direction:column;
}
.blog-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px -14px rgba(35,28,21,.25);}
.blog-thumb{
  height:170px;position:relative;
}
.blog-grid.featured .blog-card:first-child .blog-thumb{height:260px;}
.blog-thumb .tag{
  position:absolute;top:14px;left:14px;
  background:rgba(255,255,255,.92);
  color:var(--terracotta-dark);
  font-size:12px;font-weight:700;
  padding:5px 12px;border-radius:100px;
  text-transform:uppercase;letter-spacing:.04em;
}
.blog-body{padding:20px 22px 24px;flex:1;display:flex;flex-direction:column;}
.blog-body h3{font-size:19px;margin-bottom:8px;line-height:1.25;}
.blog-grid.featured .blog-card:first-child h3{font-size:26px;}
.blog-body p{color:var(--ink-soft);font-size:14.5px;flex:1;margin-bottom:16px;}
.blog-meta{
  display:flex;align-items:center;gap:10px;
  font-size:12.5px;color:var(--ink-soft);
  padding-top:14px;border-top:1px solid var(--line);
}
.blog-meta .sep{opacity:.5;}

/* palette variety for thumbs */
.blog-thumb.b1{background:linear-gradient(150deg,#e7a26b,var(--terracotta));}
.blog-thumb.b2{background:linear-gradient(150deg,#7a95a8,var(--forest));}
.blog-thumb.b3{background:linear-gradient(150deg,#d99a3c,#8a4b6b);}
.blog-thumb.b4{background:linear-gradient(150deg,#4d6a63,#233b30);}
.blog-thumb.b5{background:linear-gradient(150deg,#c1502e,#5c2e1e);}
.blog-thumb.b6{background:linear-gradient(150deg,#b5763f,#6d3d22);}

/* ---------- ARTICLE ---------- */
.article-hero{padding:56px 0 0;}
.breadcrumb{font-size:13.5px;color:var(--ink-soft);margin-bottom:24px;}
.breadcrumb a{color:var(--terracotta-dark);font-weight:600;}
.article-hero .kicker{margin-bottom:16px;}
.article-hero h1{font-size:42px;max-width:760px;margin-bottom:22px;}
.article-byline{
  display:flex;align-items:center;gap:14px;
  font-size:14px;color:var(--ink-soft);
  padding-bottom:36px;border-bottom:1px solid var(--line);
  margin-bottom:36px;
}
.article-byline .avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(150deg,var(--gold),var(--terracotta));
  flex:none;
}
.article-cover{
  position:relative;overflow:hidden;
  height:380px;border-radius:var(--radius);
  margin-bottom:44px;
  box-shadow:0 24px 50px -22px rgba(35,28,21,.35);
}
/* Real <img> painted over the CSS background (museum/card cover photo) —
   same reasoning as .hero-bg img above: Google only indexes real <img>
   elements for search thumbnails and Google Images, never CSS
   background-image. */
.article-cover img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.article-body{
  max-width:720px;margin:0 auto;
  font-size:17px;
}
.article-body p{margin-bottom:22px;color:#3a322a;}
.article-body h2{font-size:26px;margin:40px 0 16px;}
.article-body blockquote{
  font-family:'Fraunces',serif;
  font-style:italic;
  font-size:22px;
  color:var(--ink);
  border-left:3px solid var(--terracotta);
  padding-left:24px;
  margin:36px 0;
}
.article-body ul{margin:0 0 22px 22px;color:#3a322a;}
.article-body li{margin-bottom:8px;}

.museum-layout{
  display:flex;
  flex-wrap:wrap;
  gap:48px;
  align-items:flex-start;
}
.museum-layout .article-body{
  flex:1 1 480px;
  max-width:none;
  margin:0;
  min-width:0;
}
.museum-layout .article-body .city-map{
  margin-top:32px;
}
.museum-sidebar{
  flex:0 0 280px;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.museum-sidebar-block{
  background:var(--cream-2);
  border-radius:var(--radius);
  padding:22px;
}
.museum-sidebar-row{
  display:flex;align-items:flex-start;gap:10px;
  padding:9px 0;
  font-size:14px;
  color:var(--ink-soft);
}
.museum-sidebar-row:not(:last-child){border-bottom:1px solid var(--line);}
.museum-sidebar-row svg{flex:none;margin-top:1px;color:var(--terracotta-dark);}
.museum-sidebar-row a{color:var(--ink-soft);text-decoration:none;}
.museum-sidebar-row a:hover{color:var(--terracotta-dark);}

.article-footer{
  max-width:720px;margin:50px auto 0;
  padding-top:30px;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
.tag-list{display:flex;gap:8px;flex-wrap:wrap;}
.tag-list span{
  background:var(--cream-2);color:var(--ink-soft);
  font-size:12.5px;font-weight:600;
  padding:6px 14px;border-radius:100px;
}
.more-articles{background:var(--cream-2);}
.more-articles .section-head{margin:0 auto 40px;text-align:center;max-width:none;}

/* ---------- DASHBOARD ---------- */
.dash-gate{
  position:fixed;inset:0;z-index:200;
  background:rgba(35,28,21,.92);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
}
.dash-gate.hidden{display:none;}
.dash-gate-card{
  background:var(--cream);
  border-radius:var(--radius);
  padding:40px 36px;
  max-width:360px;width:100%;
  text-align:center;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
}
.dash-gate-card h2{font-size:22px;margin-bottom:10px;}
.dash-gate-card p{color:var(--ink-soft);font-size:14px;margin-bottom:22px;}
.dash-gate-card input{
  width:100%;box-sizing:border-box;
  padding:12px 16px;border-radius:12px;
  border:1px solid var(--line);
  font-size:15px;margin-bottom:14px;
  font-family:'Inter',sans-serif;
}
.dash-gate-card .btn{width:100%;justify-content:center;}
.dash-gate-error{
  color:var(--terracotta);
  font-size:13px;margin-top:12px;
  display:none;
}
.dash-content{display:none;}
.dash-content.visible{display:block;}
.dash-stats{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:28px;}
.dash-stat{
  background:var(--cream-2);
  border-radius:16px;
  padding:20px 24px;
  flex:1;min-width:180px;
}
.dash-stat .num{
  font-family:'Fraunces',serif;
  font-size:32px;font-weight:600;
  color:var(--ink);
}
.dash-stat .label{
  font-size:12.5px;color:var(--ink-soft);
  text-transform:uppercase;letter-spacing:.05em;
  margin-top:4px;
}
.dash-historical-note{
  font-size:12.5px;color:var(--ink-soft);
  margin:-16px 0 24px;
}
.dash-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  flex-wrap:wrap;
}
.dash-toolbar-label{
  font-family:'Fraunces',serif;
  font-size:19px;
  font-weight:600;
  color:var(--ink);
}
.dash-segments{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.dash-segments button{
  padding:7px 14px;border-radius:100px;
  border:1px solid var(--line);
  background:#fff;color:var(--ink-soft);
  font-weight:600;font-size:12.5px;
  cursor:pointer;font-family:'Inter',sans-serif;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.dash-segments button.active{
  background:var(--forest);color:var(--cream);border-color:var(--forest);
}
.dash-segments button:not(.active):hover{border-color:var(--ink-soft);}
.dash-chart-wrap{
  background:linear-gradient(160deg,#2f4a3c 0%, #233b30 100%);
  border-radius:var(--radius);
  padding:20px 18px 8px;
  width:100%;
  box-sizing:border-box;
  margin-bottom:40px;
  position:relative;
  height:240px;
  box-shadow:0 24px 46px -22px rgba(35,28,21,.4);
}
.dash-chart-wrap canvas{width:100% !important;height:100% !important;}

.dash-chart-wrap-countries{
  height:auto;
}
.dash-country-list{display:flex;flex-direction:column;gap:12px;}
.dash-country-row{display:flex;align-items:center;gap:12px;}
.dash-country-flag{
  width:24px;height:18px;object-fit:cover;border-radius:3px;flex-shrink:0;
  box-shadow:0 0 0 1px rgba(251,245,236,.18);
}
.dash-country-name{
  width:130px;flex-shrink:0;
  font-size:13px;color:rgba(251,245,236,.85);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dash-country-bar-track{
  display:block;
  flex:1;height:14px;border-radius:100px;
  background:rgba(251,245,236,.08);
  overflow:hidden;
}
.dash-country-bar-fill{
  display:block;
  height:100%;border-radius:100px;
  background:linear-gradient(90deg,#b5763f,#d99a3c);
}
.dash-country-count{
  width:34px;flex-shrink:0;text-align:right;
  font-size:13px;font-weight:700;color:#fbf5ec;
}

.dash-list-section{margin-bottom:26px;}
.dash-list-date{
  display:flex;align-items:center;gap:9px;
  font-family:'Fraunces',serif;font-size:16px;font-weight:600;
  color:var(--ink);margin-bottom:10px;
}
.dash-list-count{
  font-family:'Inter',sans-serif;font-size:11.5px;font-weight:700;
  color:var(--ink-soft);background:var(--cream-2);
  padding:2px 10px;border-radius:100px;
}
.dash-list-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:14px 18px;margin-bottom:8px;
}
.dash-list-id{
  display:flex;align-items:center;gap:10px;
  font-size:13px;font-weight:600;color:var(--ink-soft);
}
.dash-list-time{font-weight:400;}
.dash-list-meta{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  font-size:13px;color:var(--ink-soft);
}
.dash-list-stat{white-space:nowrap;}
.dash-chip{
  background:var(--cream-2);color:var(--terracotta-dark);
  font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.04em;
  padding:4px 10px;border-radius:100px;
}
.dash-chip-country{display:inline-flex;align-items:center;gap:6px;}
.dash-chip-flag{width:16px;height:12px;object-fit:cover;border-radius:2px;flex-shrink:0;}
.dash-empty{color:var(--ink-soft);font-size:14px;}

/* ---------- FOOTER ---------- */
footer{padding:70px 0 40px;background:var(--forest);color:#fff;}
footer .logo-museum,
footer .logo-hype{color:#fff;}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr .8fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.2);
}
.footer-brand .logo{margin-bottom:14px;}
.footer-brand p{color:rgba(255,255,255,.85);font-size:14.5px;max-width:260px;}
.footer-app-badges{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;}
.footer-app-badge{display:inline-block;}
.footer-app-badge img{height:40px;width:auto;display:block;}
.footer-col h5{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.7);margin-bottom:16px;}
.footer-col a{display:block;font-size:14.5px;margin-bottom:11px;color:#fff;}
.footer-col a:hover{color:var(--terracotta-light);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:24px;font-size:13px;color:rgba(255,255,255,.75);
  flex-wrap:wrap;gap:14px;
}
.footer-bottom a{color:rgba(255,255,255,.75);}
.footer-bottom a:hover{color:#fff;}
.socials{display:flex;gap:14px;}
.socials a{
  width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s ease,border-color .2s ease;
}
.socials a img{width:16px;height:16px;display:block;filter:brightness(0) invert(1);transition:filter .2s ease;}
.socials a:hover{background:#fff;border-color:#fff;}
.socials a:hover img{filter:none;}

/* ---------- APP DOWNLOAD MODAL ---------- */
/* Shared "get the app" promo popup, injected by app-download-modal.js.
   Include that script on any page and call window.showAppDownloadModal()
   to trigger it — see city-museums.html for an example. */
.app-modal-backdrop{
  display:none;
  position:fixed;inset:0;z-index:300;
  background:rgba(35,28,21,.65);
  align-items:center;justify-content:center;
  padding:24px;
}
.app-modal-backdrop.open{display:flex;}
body.modal-open{overflow:hidden;}
.app-modal{
  position:relative;
  overflow:hidden;
  background:var(--cream);
  border-radius:var(--radius);
  padding:48px 36px 36px;
  max-width:400px;width:100%;
  text-align:left;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
}
.app-modal::before{
  content:"";
  position:absolute;top:0;left:0;right:0;height:6px;
  background:linear-gradient(90deg,var(--terracotta),var(--gold));
}
.app-modal-close{
  position:absolute;top:14px;right:14px;
  width:32px;height:32px;border-radius:50%;
  border:none;background:var(--cream-2);color:var(--ink-soft);
  font-size:20px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.app-modal-close:hover{background:var(--line);color:var(--ink);}
.app-modal-logo{font-size:22px;margin-bottom:18px;}
.app-modal h3{font-size:26px;line-height:1.15;margin-bottom:22px;}
.app-modal-benefits{
  list-style:none;
  display:flex;flex-direction:column;gap:12px;
  margin:0 0 26px;
  padding:18px 20px;
  background:var(--cream-2);
  border-radius:14px;
}
.app-modal-benefits li{
  display:flex;align-items:center;gap:12px;
  font-size:14px;color:var(--ink);
}
.app-modal-benefit-icon{
  width:22px;height:22px;flex:0 0 auto;
  border-radius:50%;
  background:var(--forest);
  display:flex;align-items:center;justify-content:center;
}
.app-modal-badges{display:flex;gap:10px;flex-wrap:wrap;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-art{max-width:460px;margin:0 auto;}
  .cities-strip{grid-template-columns:repeat(3,1fr);}
  .routes-row{grid-template-columns:repeat(2,1fr);}
  .how-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .blog-grid{grid-template-columns:repeat(2,1fr);}
  .blog-grid.featured{grid-template-columns:1fr;}
}
@media (max-width:860px){
  .nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
    padding-top:32px;
    padding-bottom:32px;
  }
  .nav-center,.nav-right{display:none;}
  .burger{display:flex;}
  .museum-layout{flex-direction:column;}
  .museum-sidebar{flex:1 1 auto;width:100%;}
}
@media (max-width:640px){
  /* Set on :root (not .wrap) so .museum-scroll's full-bleed padding math
     (city-museums.html), which reads the same --wrap-pad variable but
     isn't a descendant of .wrap, stays in sync automatically. */
  :root{ --wrap-pad:24px; }
  .nav{padding-top:24px;padding-bottom:24px;}
  .hero h1{font-size:38px;}
  .cities-strip{grid-template-columns:repeat(2,1fr);}
  .routes-row{grid-template-columns:1fr;}
  .newsletter{padding:38px 26px;flex-direction:column;align-items:flex-start;}
  .nl-form{max-width:100%;min-width:0;width:100%;flex-wrap:wrap;}
  .nl-form input{width:100%;min-width:0;}
  .nl-form button{width:100%;}
  .footer-top{grid-template-columns:1fr;}
  .org-block{grid-template-columns:1fr !important;}
  .blog-grid{grid-template-columns:1fr;}
  .article-hero h1{font-size:30px;}
  .article-cover{height:220px;}
  .article-body{font-size:16px;}
  .dash-stats{flex-direction:column;}
  .dash-chart-wrap{height:200px;padding:16px 12px 4px;}
  .dash-toolbar{gap:10px;}
  .dash-segments{justify-content:flex-start;}
}
