/* Kolkata Tourism: modern redesign */
:root {
  --bg: #fbf8f3; --surface: #ffffff; --surface-2: #f3eee6;
  --text: #17130f; --muted: #6b635a; --line: rgba(23, 19, 15, .09);
  --brand: #c2410c; --brand-ink: #ffffff; --accent: #f5b301; --navy: #0b1530;
  --shadow: 0 1px 2px rgba(23,19,15,.05), 0 12px 32px -8px rgba(23,19,15,.12);
  --shadow-lg: 0 30px 60px -20px rgba(23,19,15,.35);
  --r: 20px; --r-sm: 12px; --wrap: 1240px;
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e14; --surface: #151923; --surface-2: #1c2130; --text: #f2efe9; --muted: #a39d94;
    --line: rgba(255,255,255,.08); --brand: #fb923c; --brand-ink: #1a0d03;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0e14; --surface: #151923; --surface-2: #1c2130; --text: #f2efe9; --muted: #a39d94;
  --line: rgba(255,255,255,.08); --brand: #fb923c; --brand-ink: #1a0d03;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.5); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, filter .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.light { background: #fff; color: var(--navy); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px; text-decoration: none; transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--surface-2); }
.eyebrow { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow.dark { color: var(--brand); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 14px/1 var(--sans); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-sm { display: inline-flex; gap: 6px; align-items: center; font: 600 12px/1 var(--sans); padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: #17130f; backdrop-filter: blur(8px); }
.card-img .chip-sm { position: absolute; left: 12px; top: 12px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--text); }
.is-home.d-hero-photo .hdr:not(.solid), .is-article.d-article-photo .hdr:not(.solid) { color: #fff; }
.hdr.solid, body:not(.is-home):not(.is-article) .hdr { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.is-article .a-hero.no-img ~ * .hdr, .is-article:has(.a-hero.no-img) .hdr { color: var(--text); }
.hdr-in { width: min(var(--wrap), 100% - 32px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font: 800 15px/1 var(--sans); letter-spacing: -.02em; }
.brand-text { font: 700 19px/1 var(--serif); letter-spacing: -.01em; }
.brand-text b { font-weight: 500; opacity: .7; margin-left: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 999px; opacity: .85; transition: background .2s, opacity .2s; }
.nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.nav a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.hdr-actions { display: flex; gap: 8px; }
.hdr .icon-btn { background: color-mix(in srgb, currentColor 8%, transparent); border-color: color-mix(in srgb, currentColor 16%, transparent); color: inherit; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.menu-btn { display: none; gap: 5px; align-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: 72px 12px auto; flex-direction: column; gap: 2px; padding: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: -4%; z-index: -2; background: var(--hero) center/cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 20% 100%, rgba(11,21,48,.92), transparent 60%), linear-gradient(180deg, rgba(11,21,48,.55), rgba(11,21,48,.1) 30%, rgba(11,21,48,.85)); }
@keyframes kenburns { to { transform: scale(1.08) translate(-1%, -1%); } }
.hero-in { width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 140px 0 72px; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); font-weight: 800; max-width: 12ch; line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; opacity: .88; margin: 22px 0 32px; }
.search { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: #17130f; border-radius: 999px; padding: 7px 7px 7px 20px; max-width: 620px; box-shadow: var(--shadow-lg); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px var(--sans); color: inherit; padding: 10px 0; outline: none; }
.search svg { flex: none; opacity: .5; }
.search.inline { margin-top: 26px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); padding-right: 20px; }
.stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.stats div { display: grid; }
.stats b { font: 700 34px/1.1 var(--serif); }
.stats span { font-size: 14px; opacity: .75; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: scrolly 1.8s infinite; }
@keyframes scrolly { to { transform: translate(-50%, 14px); opacity: 0; } }
@media (max-width: 640px) { .hero-scroll { display: none; } .stats { gap: 24px; } .stats b { font-size: 26px; } .search .btn { padding: 11px 16px; } }

/* ---------- sections ---------- */
.section { padding: 88px 0 0; }
.sec-head { margin-bottom: 32px; }
.sec-head.row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
@media (max-width: 640px) { .section { padding-top: 60px; } }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-img img { transform: scale(1.06); }
.ph { position: absolute; inset: 0; background: linear-gradient(135deg, #c2410c, #f5b301); opacity: .85; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 21px; line-height: 1.22; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 500; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.bento .card { color: #fff; border: 0; }
.bento .card .card-img { position: absolute; inset: 0; aspect-ratio: auto; }
.bento .card .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,10,20,.85)); }
.bento .card-body { position: relative; margin-top: auto; z-index: 1; flex: none; }
.bento .card p, .bento .card .meta { color: rgba(255,255,255,.8); }
.bento .card-big { grid-column: span 2; grid-row: span 2; }
.bento .card-big h3 { font-size: clamp(26px, 3vw, 38px); }
.bento .card:nth-child(2) { grid-column: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } .bento .card:nth-child(2) { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; } .bento .card-big, .bento .card:nth-child(2) { grid-column: auto; grid-row: span 1; } .bento .card-big { grid-row: span 2; } }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 24px; margin: 0 -4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } }
.rail-ctrl { display: flex; gap: 8px; }
@media (max-width: 640px) { .rail-ctrl { display: none; } }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card.hide { display: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), #1e3a8a 60%, #c2410c); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta p { margin: 10px 0 0; opacity: .85; }

/* ---------- page hero (listing/static) ---------- */
.page-hero { padding: 140px 0 48px; background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), var(--surface-2); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
.page-hero .eyebrow { color: var(--brand); }

/* ---------- article ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--brand)); transform-origin: 0 50%; transform: scaleX(0); }
.a-hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.a-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero) center/cover no-repeat; }
.a-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,20,.5), rgba(8,10,20,.15) 35%, rgba(8,10,20,.88)); }
.a-hero.no-img { min-height: 0; padding-top: 72px; background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%), var(--navy); }
.a-hero-in { padding: 140px 0 56px; }
.a-hero h1 { font-size: clamp(36px, 5.6vw, 72px); font-weight: 800; max-width: 20ch; margin: 18px 0 20px; }
.a-hero .chip-sm.static { background: var(--accent); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; opacity: .8; margin-bottom: 16px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.a-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 15px; opacity: .9; }
.share { font: 600 14px var(--sans); color: inherit; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.a-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 64px; justify-content: center; padding-top: 56px; }
.a-layout.no-toc { grid-template-columns: minmax(0, 720px); }
.a-layout.no-toc .a-side { display: none; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc h4 { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); max-height: calc(100vh - 180px); overflow: auto; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--brand); border-color: var(--brand); font-weight: 600; }
@media (max-width: 1000px) { .a-layout { grid-template-columns: minmax(0, 720px); gap: 0; } .a-side { display: none; } }

/* prose */
.prose { font-size: 18px; line-height: 1.8; min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 2.2em 0 .7em; }
.prose h3 { font-size: 23px; margin: 1.8em 0 .6em; }
.prose h4 { font: 700 19px var(--sans); margin: 1.6em 0 .5em; }
.prose a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose img { border-radius: var(--r); margin: 1.6em auto; box-shadow: var(--shadow); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: -.8em; }
.prose blockquote { margin: 1.8em 0; padding: 20px 26px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--serif); font-size: 21px; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border-radius: var(--r-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--surface); }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:first-child td, .prose th { background: var(--surface-2); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }
.prose iframe { width: 100%; border: 0; border-radius: var(--r); }
.prose .wp-block-button__link { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.prose form, .prose .wpcf7 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.prose input:not([type=submit]), .prose textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.prose input[type=submit] { background: var(--brand); color: var(--brand-ink); border: 0; padding: 12px 24px; border-radius: 999px; font: 600 16px var(--sans); cursor: pointer; }
.is-static .prose { padding: 56px 0 0; }
.related { padding-bottom: 0; }

/* ---------- footer ---------- */
.ftr { margin-top: 110px; background: var(--navy); color: #d5d9e6; }
.ftr-in { width: min(var(--wrap), 100% - 32px); margin-inline: auto; padding: 72px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; }
.ftr .brand { color: #fff; }
.ftr p { font-size: 15px; opacity: .75; max-width: 34ch; }
.ftr h4 { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.ftr-in a:not(.brand) { display: block; text-decoration: none; font-size: 15px; padding: 5px 0; opacity: .75; transition: opacity .2s; }
.ftr-in a:hover { opacity: 1; }
.ftr-base { width: min(var(--wrap), 100% - 32px); margin-inline: auto; padding: 22px 0 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; opacity: .7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr-base a { text-decoration: none; }
@media (max-width: 900px) { .ftr-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-in { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Phone header: fit logo + two buttons */
@media (max-width: 560px) {
  .hdr-in { gap: 12px; height: 64px; }
  .hdr-actions { gap: 6px; margin-left: auto; }
  .hdr-actions a.icon-btn { display: none; }
  .hdr .icon-btn { width: 40px; height: 40px; }
  .brand-text { font-size: 17px; }
  .nav { inset: 64px 12px auto; }
}

/* =====================================================================
   DESIGN VARIANTS: body gets d-<axis>-<value> classes from site.json
   ===================================================================== */
h1, h2, h3 { font-weight: var(--hw, 700); }
.hero h1, .a-hero h1, .page-hero h1 { font-weight: var(--hw, 800); }
:root { --pill: 999px; --sec: 88px; --gap: 24px; }
.btn, .chip, .chip-sm, .search, .icon-btn, .nav a, .share, .prose input[type=submit], .prose .wp-block-button__link { border-radius: var(--pill); }
.section { padding-top: var(--sec); }
.grid, .rail, .bento { gap: var(--gap); }
.a-figure { display: none; }

/* ---- radius ---- */
.d-radius-sharp { --r: 4px; --r-sm: 3px; --pill: 6px; }
.d-radius-soft  { --r: 14px; --r-sm: 10px; --pill: 12px; }
.d-radius-round { --r: 26px; --r-sm: 16px; --pill: 999px; }

/* ---- density ---- */
.d-density-compact { --sec: 60px; --gap: 16px; }
.d-density-compact .card-body { padding: 14px 16px 16px; }
.d-density-airy { --sec: 112px; --gap: 32px; }
@media (max-width: 640px) { .d-density-airy { --sec: 72px; } .d-density-compact { --sec: 44px; } }

/* ---- header ---- */
/* White-on-photo header only when the page actually starts with a photo */
.is-home:not(.d-hero-photo) .hdr, .is-article.d-article-plain .hdr, .d-header-solid .hdr {
  color: var(--text); background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line);
}
body.d-header-solid .hdr, body.d-header-solid .hdr.solid { background: var(--surface); backdrop-filter: none; }
.d-header-solid.is-home.d-hero-photo .hero, .d-header-solid.is-article.d-article-photo .a-hero { margin-top: 72px; }
@media (min-width: 821px) {
  .d-header-centered .hdr-in { height: auto; flex-wrap: wrap; justify-content: center; padding: 14px 0 8px; gap: 6px 24px; position: relative; }
  .d-header-centered .brand { width: 100%; justify-content: center; }
  .d-header-centered .nav { margin: 0; }
  .d-header-centered .hdr-actions { position: absolute; right: 0; top: 14px; }
  .d-header-centered .hero-in, .d-header-centered .a-hero-in { padding-top: 190px; }
  .d-header-centered .page-hero, .d-header-centered .hero-split, .d-header-centered .hero-mag, .d-header-centered .hero-ed { padding-top: 170px; }
  .d-header-centered .a-hero.no-img, .d-header-centered.d-article-plain .a-hero { padding-top: 120px; }
  html:has(.d-header-centered) { scroll-padding-top: 130px; }
}

/* ---- hero: split ---- */
.hero-split { padding: 120px 0 40px; background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--bg); }
.hs-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-split h1, .hero-mag h1, .hero-ed h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; }
.hero-split h1 em, .hero-mag h1 em, .hero-ed h1 em { color: var(--brand); font-style: italic; }
.hero-split p, .hero-mag p, .hero-ed p { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 20px 0 28px; }
.hero-split .eyebrow, .hero-mag .eyebrow, .hero-ed .eyebrow { color: var(--brand); }
.hero-split .search, .hero-mag .search, .hero-ed .search { border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); color: var(--text); }
.hero-split .stats, .hero-ed .stats { color: var(--text); }
.hs-media { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.hs-media::after { content: ""; position: absolute; inset: auto -30% -30% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .25; filter: blur(40px); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hs-in { grid-template-columns: 1fr; gap: 32px; } .hs-media { aspect-ratio: 16/10; order: -1; } .hero-split { padding-top: 92px; } }

/* ---- hero: magazine ---- */
.hero-mag { padding: 112px 0 0; }
.hm-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px 48px; align-items: end; padding-bottom: 32px; border-bottom: 2px solid var(--text); margin-bottom: 28px; }
.hm-top .eyebrow { grid-column: 1 / -1; margin: 0; }
.hm-top h1 { grid-column: 1; }
.hm-top p { grid-column: 2; grid-row: 2; margin: 0; }
.hm-top .search { grid-column: 1 / -1; max-width: none; }
.hm-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap); }
.hm-grid > .card { min-height: 520px; }
.hm-side { display: grid; gap: var(--gap); }
.hm-grid .card-big { color: #fff; border: 0; }
.hm-grid .card-big .card-img { position: absolute; inset: 0; aspect-ratio: auto; }
.hm-grid .card-big .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,10,20,.88)); }
.hm-grid .card-big .card-body { position: relative; z-index: 1; margin-top: auto; flex: none; padding: 28px; }
.hm-grid .card-big h3 { font-size: clamp(26px, 3.2vw, 40px); }
.hm-grid .card-big p, .hm-grid .card-big .meta { color: rgba(255,255,255,.82); }
@media (max-width: 900px) { .hm-top { grid-template-columns: 1fr; } .hm-top p { grid-column: 1; grid-row: auto; } .hm-grid { grid-template-columns: 1fr; } .hm-grid > .card { min-height: 380px; } .hero-mag { padding-top: 92px; } }

/* ---- hero: editorial (type-led, no big photo) ---- */
.hero-ed { padding: 150px 0 20px; text-align: center; }
.he-in { display: grid; justify-items: center; }
.hero-ed h1 { font-size: clamp(48px, 9vw, 128px); max-width: 14ch; }
.hero-ed .search { width: 100%; }
.hero-ed .stats { justify-content: center; }
.he-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 56px; }
.he-shot { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.he-shot:nth-child(even) { transform: translateY(32px); }
.he-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.he-shot:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .he-strip { grid-template-columns: repeat(2, 1fr); } .hero-ed { padding-top: 110px; } }

/* ---- cards ---- */
.d-cards-overlay .grid .card, .d-cards-overlay .rail .card { color: #fff; border: 0; min-height: 340px; }
.d-cards-overlay .grid .card-img, .d-cards-overlay .rail .card-img { position: absolute; inset: 0; aspect-ratio: auto; }
.d-cards-overlay .grid .card-img::after, .d-cards-overlay .rail .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(8,10,20,.88)); }
.d-cards-overlay .grid .card-body, .d-cards-overlay .rail .card-body { position: relative; z-index: 1; margin-top: auto; flex: none; }
.d-cards-overlay .grid .card p, .d-cards-overlay .grid .card .meta, .d-cards-overlay .rail .card p, .d-cards-overlay .rail .card .meta { color: rgba(255,255,255,.82); }

.d-cards-list .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.d-cards-list .grid .card { flex-direction: row; align-items: stretch; }
.d-cards-list .grid .card-img { flex: 0 0 42%; aspect-ratio: auto; min-height: 180px; }
.d-cards-list .grid .card-img .chip-sm { top: auto; bottom: 10px; }
@media (max-width: 520px) { .d-cards-list .grid .card { flex-direction: column; } .d-cards-list .grid .card-img { aspect-ratio: 16/10; min-height: 0; } }

.d-cards-minimal .grid .card, .d-cards-minimal .rail .card, .d-cards-minimal .hm-side .card { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.d-cards-minimal .grid .card-img, .d-cards-minimal .rail .card-img, .d-cards-minimal .hm-side .card-img { border-radius: var(--r); }
.d-cards-minimal .grid .card-body, .d-cards-minimal .rail .card-body, .d-cards-minimal .hm-side .card-body { padding: 14px 2px 0; }
.d-cards-minimal .card:hover { transform: none; box-shadow: none; }
.d-cards-minimal .card:hover h3 { color: var(--brand); }

.d-cards-classic .card { border-top: 3px solid var(--brand); }

/* ---- article ---- */
.d-article-plain .a-hero { min-height: 0; color: var(--text); background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), var(--surface-2); }
.d-article-plain .a-hero::before, .d-article-plain .a-hero::after { display: none; }
.d-article-plain .a-hero-in { padding: 128px 0 40px; }
.d-article-plain .share { color: var(--text); background: var(--surface); border-color: var(--line); }
.d-article-plain .a-figure { display: block; max-width: 1040px; margin: -8px auto 0; }
.d-article-plain .a-figure img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.ico{display:inline-block;vertical-align:middle;flex-shrink:0}
.chip .ico,.chip-sm .ico{display:block}

/* ---------- luxe theme: always dark, gold accents, spaced capitals ---------- */
body.d-theme-luxe {
  --bg: #100c08; --surface: #1a140e; --surface-2: #241b12; --text: #f4ecdc; --muted: #b8a88d;
  --line: rgba(232, 190, 110, .14); --brand: #d9a521; --brand-ink: #1a1206; --accent: #e7b93e; --navy: #100c08;
  --gold: linear-gradient(180deg, #e9b840, #c98f12);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 14px 34px -10px rgba(0,0,0,.7); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.8);
  color-scheme: dark; background: var(--bg); color: var(--text);
}
.d-theme-luxe h1, .d-theme-luxe h2, .d-theme-luxe h3 { font-weight: 500; letter-spacing: 0; }
.d-theme-luxe .eyebrow { color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.d-theme-luxe .btn { background: var(--gold); color: var(--brand-ink); text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; padding: 14px 26px; box-shadow: 0 8px 24px -8px rgba(217,165,33,.55); }
.d-theme-luxe .btn.ghost, .d-theme-luxe .btn.light { background: transparent; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: none; }
.d-theme-luxe .btn.ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.d-theme-luxe .theme-btn { display: none; }
.d-theme-luxe .brand-mark { background: var(--gold); color: var(--brand-ink); }
.d-theme-luxe .brand-text { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--accent); }
.d-theme-luxe .nav a { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 500; }
.d-theme-luxe .hdr-cta { padding: 10px 20px; font-size: 12px; }
.d-theme-luxe.is-home .hdr:not(.solid) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #f4ecdc; }
.d-theme-luxe .hdr.solid, .d-theme-luxe:not(.is-home) .hdr { background: color-mix(in srgb, var(--bg) 86%, transparent); }
.d-theme-luxe .card, .d-theme-luxe .cta { background: var(--surface); }
.d-theme-luxe .chip.active { background: var(--gold); color: var(--brand-ink); border-color: transparent; }
@media (max-width: 860px) { .d-theme-luxe .hdr-cta { display: none; } }

/* ---------- booking hero: centred text, booking bar along the foot ---------- */
.hero-bk { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; padding: 120px 0 40px; color: #f4ecdc; overflow: hidden; }
.hero-bk::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero) center/cover no-repeat; }
.hero-bk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 40%, color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 90%, transparent)), linear-gradient(180deg, transparent 60%, var(--bg)); }
.bk-in { display: grid; grid-template-rows: 1fr auto; gap: 48px; }
.bk-text { align-self: center; text-align: center; max-width: 820px; margin-inline: auto; }
.bk-text h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; margin: 20px 0 22px; color: #f7efde; }
.bk-text h1 em { color: var(--accent); font-style: italic; }
.bk-text > p { max-width: 600px; margin: 0 auto 32px; font-size: 18px; color: color-mix(in srgb, var(--text) 85%, transparent); }
.bk-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bk-foot { display: grid; gap: 18px; }
.bk-bar { display: grid; grid-template-columns: 1.3fr 1.1fr .55fr 1.2fr auto; align-items: end; gap: 0; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); }
.bk-bar label { display: grid; gap: 4px; padding: 8px 18px; border-right: 1px solid var(--line); }
.bk-bar label span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.bk-bar input, .bk-bar select { font: 500 16px var(--sans); color: var(--text); background: transparent; border: 0; padding: 4px 0; width: 100%; outline: none; }
.bk-bar input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.bk-bar select option { background: var(--surface); }
.bk-bar label:focus-within span { color: #fff; }
.bk-bar .btn { margin-left: 10px; height: 56px; padding-inline: 28px; border-radius: 12px; }
.bk-note { margin: -6px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.bk-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-top: 18px; }
.bk-facts div { display: grid; gap: 2px; text-align: center; }
.bk-facts b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--accent); }
.bk-facts span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) {
  .bk-bar { grid-template-columns: 1fr 1fr; gap: 6px; }
  .bk-bar label { border-right: 0; border-bottom: 1px solid var(--line); }
  .bk-bar .btn { grid-column: 1 / -1; margin: 8px 0 0; }
  .bk-facts { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
}
@media (max-width: 560px) {
  .bk-bar { grid-template-columns: 1fr; }
  .bk-btns .btn { flex: 1 1 100%; justify-content: center; }
}
.form-swap { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.sec-head h2 .count { font: 600 13px var(--sans); color: var(--muted); vertical-align: middle; margin-left: 8px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.pg-sec { padding-bottom: 0; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pg-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s; }
.pg-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.pg-link svg { color: var(--accent); flex-shrink: 0; }
