/* =========================================================================
   impt.bd — hub + article upgrades (jump chips, lead feature, at-a-glance,
   booking CTA, byline, pull-quote lead, numbered sections, sidebar form,
   "Keep exploring").
   ========================================================================= */

/* ---------- HUB: jump-to chips ---------- */
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 28px; padding-bottom: 4px; }
.jump > .mono { color: var(--muted); }
.jump-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-chips a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; min-height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14.5px; line-height: 1.2; color: var(--ink); background: var(--paper-3); transition: background .3s, color .3s, box-shadow .3s; }
.jump-chips a i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
.jump-chips a:hover, .jump-chips a:focus-visible { background: var(--green-night); color: var(--paper); box-shadow: none; }
.jump-chips a.jc-faq { background: transparent; }
.jump-chips a.jc-faq:hover { background: var(--green-night); }
@media (max-width: 620px) {
  .jump { flex-direction: column; align-items: flex-start; gap: 10px; }
  .jump-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-bottom: 4px; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .jump-chips::-webkit-scrollbar { display: none; }
  .jump-chips a { white-space: nowrap; }
}

/* ---------- HUB: intro ---------- */
.hub-intro { padding: clamp(48px, 6vw, 88px) 0 24px; }
.intro-big { font: 400 clamp(24px, 2.4vw, 36px)/1.28 var(--f-display); letter-spacing: -.018em; color: var(--ink); max-width: 46ch; margin: 0 0 clamp(28px, 3vw, 44px); text-wrap: pretty; }
.intro-cols { columns: 2 340px; column-gap: clamp(32px, 5vw, 80px); color: var(--ink-2); }
.intro-cols p { margin: 0 0 18px; break-inside: avoid; }

/* ---------- HUB: start-here lead feature ---------- */
.hub-lead { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--green-night); color: var(--paper); margin-bottom: clamp(24px, 3vw, 40px); scroll-margin-top: calc(var(--header-h) + 24px); box-shadow: var(--shadow); transition: box-shadow .5s var(--ease-out); }
.hub-lead:hover { box-shadow: var(--shadow-lg); }
.hl-media { position: relative; overflow: hidden; min-height: clamp(320px, 40vw, 560px); background: var(--accent); }
.hl-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hub-lead:hover .hl-media img { transform: scale(1.04); }
.hl-tag { position: absolute; left: 20px; top: 20px; background: var(--red-b); color: #fff; padding: 8px 14px; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.hl-body { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; }
.hl-kick { color: var(--gold); }
.hl-bn { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--gold); }
.hl-title { font: 400 clamp(36px, 4.2vw, 64px)/.98 var(--f-display); letter-spacing: -.025em; max-width: 14ch; }
.hl-lede { font-size: 18px; line-height: 1.6; color: rgba(243,234,215,.82); max-width: 52ch; }
.hl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(243,234,215,.16); border-radius: var(--r); overflow: hidden; margin-top: 4px; }
.hl-facts > span { background: var(--green-night); padding: 12px 14px; font: 400 18px/1.2 var(--f-display); }
.hl-facts small { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(243,234,215,.6); margin-bottom: 6px; }
.hl-btn { align-self: flex-start; margin-top: 8px; }
.hub-lead:hover .hl-btn::before { transform: none; background: var(--paper); }
.hub-lead:hover .hl-btn { color: var(--ink); }
.hub-lead:hover .hl-btn .arr { transform: translateX(4px); }
.hub-rest .card { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) {
  .hub-lead { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .hl-media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) { .hl-facts { grid-template-columns: 1fr; } }

/* ---------- HUB: at a glance ---------- */
.glance-table table { min-width: 0; }
.glance-table th[scope="row"] { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: transparent; font: 400 22px/1.15 var(--f-display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.glance-table th[scope="row"] { display: flex; align-items: center; gap: 14px; min-width: 230px; }
.gl-thumb { flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--c); }
.gl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gl-name { display: inline-flex; align-items: center; gap: 10px; }
.gl-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.gl-name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out); }
.gl-name a:hover { background-size: 100% 1.5px; }
.glance-table td { vertical-align: middle; }
.glance-table td:first-child { font-weight: 400; }
.glance-table tbody tr:last-child th { border-bottom: 0; }
.gl-book { white-space: nowrap; text-align: right; }
.gl-book a { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
@media (max-width: 760px) {
  .glance-table { background: transparent; box-shadow: none; overflow: visible; }
  .glance-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .glance-table tbody { display: grid; gap: 14px; }
  .glance-table tr { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-3); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; border-top: 6px solid var(--c); }
  .glance-table tbody tr:hover { background: var(--paper-3); }
  .glance-table th[scope="row"] { grid-column: 1 / -1; border-bottom: 1px solid var(--line-2) !important; min-width: 0; padding: 14px 16px; font-size: 24px; }
  .glance-table td { display: grid; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .glance-table td::before { content: attr(data-label); font: 500 10px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .glance-table td:nth-of-type(odd) { border-left: 1px solid var(--line-2); }
  .glance-table td.gl-book { grid-column: 1 / -1; border-left: 0; border-bottom: 0; text-align: left; }
  .glance-table td.gl-book::before { content: none; }
  .glance-table td.gl-book a { display: inline-block; padding: 6px 0; }
}

/* ---------- HUB: Found your place? Book the room. ---------- */
.hub-cta { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); padding: clamp(120px, 16vw, 220px) 0 clamp(56px, 7vw, 96px); background: var(--green-night); }
.hc-bg { position: absolute; inset: 0; z-index: -2; }
.hc-bg img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.hub-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,37,28,.95) 0%, rgba(4,37,28,.78) 45%, rgba(4,37,28,.15) 100%); }
.hub-cta .eyebrow { color: var(--gold); }
.hub-cta h2 { margin: 18px 0 18px; max-width: 14ch; }
.hub-cta h2 em { color: var(--gold); }
.hub-cta p { max-width: 54ch; color: rgba(243,234,215,.85); font-size: 18px; margin: 0 0 32px; }
.hub-cta .book { color: var(--ink); }

/* ---------- ARTICLE: byline ---------- */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 24px 0 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.byline > span + span::before { content: "·"; margin: 0 10px; }
.byline .by-pill { background: var(--c, var(--accent)); color: #fff; padding: 7px 12px; border-radius: 999px; margin-right: 14px; }
.byline .by-pill + span::before { content: none; }
.end-byline { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 3em !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.end-byline > span + span::before { content: "·"; margin: 0 10px; }

/* ---------- ARTICLE: pull-quote lead paragraph ---------- */
.prose .lead-para { font: 400 clamp(23px, 2.2vw, 29px)/1.38 var(--f-display); letter-spacing: -.012em; color: var(--ink); margin: 0 0 1.4em; padding-left: 22px; border-left: 3px solid var(--accent); text-wrap: pretty; }
.prose .lead-para + .summary-box { margin-top: 0; }

/* ---------- ARTICLE: numbered sections ---------- */
.prose h2 { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: baseline; border-top: 1px solid var(--line); padding-top: .55em; }
.prose h2 .num { display: block; margin: 0; font: 500 13px/1 var(--f-mono); letter-spacing: .12em; color: var(--accent-t); transform: translateY(-.35em); }
.prose h2 .num::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; margin-top: 8px; opacity: .6; }
.prose .summary-box h2 { display: block; border-top: 0; padding-top: 0; }
@media (max-width: 620px) {
  .prose h2 { grid-template-columns: 1fr; }
  .prose h2 .num { transform: none; margin-bottom: 12px; }
}

/* ---------- ARTICLE: sidebar booking ---------- */
.aside-stick { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 12px; }
.aside-stick .aside-book { position: relative; top: auto; overflow: visible; }
.aside-stick .ab-top { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.aside-stick .ab-top strong { max-width: 14ch; }
.aside-stick .ab-note { margin: 0; padding: 0 18px 18px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ab-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ab-links a { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 76px; padding: 14px; border-radius: var(--r); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; font-size: 14px; line-height: 1.25; transition: background .3s, box-shadow .3s; }
.ab-links a span { color: var(--accent-t); font-size: 18px; transition: transform .4s var(--ease-out); }
.ab-links a:hover { background: var(--gold); box-shadow: none; }
.ab-links a:hover span { color: var(--ink); transform: translateX(4px); }
@media (max-height: 820px) { .aside-stick .ab-top { padding: 18px 22px; } .aside-stick .ab-top strong { font-size: 24px; } .aside-stick .ab-note { display: none; } }

/* ---------- ARTICLE: keep exploring ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.rel-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.rc-media { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--c); }
.rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rel-card:hover .rc-media img { transform: scale(1.06); }
.rc-kick { color: var(--muted); border-top: 2px solid var(--c); padding-top: 12px; margin-top: 4px; }
.rel-card strong { font: 400 clamp(25px, 2.2vw, 31px)/1.08 var(--f-display); letter-spacing: -.02em; transition: color .3s; }
.rel-card:hover strong { color: var(--green); }
.rc-lede { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.rc-go { color: var(--green); margin-top: auto; }
@media (max-width: 1000px) { .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .rel-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hl-media img, .rc-media img, .hub-lead, .ab-links a span { transition: none !important; }
}
.hub-more { padding-top: clamp(56px, 7vw, 100px); }
.article-grid > * { min-width: 0; }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.article-grid > .toc-col, .article-grid > .aside-col { align-self: stretch; }
@media (max-width: 620px) { .byline { gap: 8px 14px; } .byline > span + span::before { content: none; } .byline .by-pill { margin-right: 0; } .prose .lead-para { font-size: 21px; padding-left: 16px; } }
