/* =========================================================================
   HotelHops Journal — Ghost theme stylesheet
   Design DNA: dark navy night sky, glass surfaces, one green action colour,
   blue for information, peach for premium accents. Roboto. Motion carries
   the emotion; the canvas stays quiet.
   ========================================================================= */

:root {
  --bg: #071224;
  --bg-2: #0B1A31;
  --surface: #162538;
  --surface-2: #1D2F47;
  --border: #26394F;
  --text: #FFFFFF;
  --muted: #A9B6C7;
  --faint: #8B9CB3;
  --primary: #32B05D;
  --primary-hover: #2A9C51;
  --primary-tint: #16372A;
  --info: #1B90FC;
  --info-tint: #12304F;
  --accent: #E6BA95;
  --accent-tint: #3A3029;
  --warn: #FF8800;
  --light: #FBCD77;
  --wrap: 1180px;
  --read: 720px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--info); text-decoration: none; }
a:hover { color: #4FA8FF; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1.05em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4rem 0; }
::selection { background: var(--primary); color: #04120A; }

/* ---------------------------------------------------------------- sky */
.hh-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 65% at 18% 0%, #14305C 0%, #0C1F3E 38%, var(--bg) 74%),
    linear-gradient(180deg, var(--bg) 0%, #061021 60%, #050D1B 100%); }
.hh-stars { position: absolute; inset: -20% -10%;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 68% 12%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.6px 1.6px at 42% 62%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.2px 1.2px at 86% 44%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.1px 1.1px at 12% 78%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.3px 1.3px at 55% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 78% 74%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.2px 1.2px at 33% 8%, rgba(255,255,255,.65), transparent);
  background-size: 900px 700px, 700px 600px, 800px 900px, 1100px 800px, 600px 700px, 950px 650px, 750px 850px, 850px 750px;
  opacity: .75; animation: hhTwinkle 7s ease-in-out infinite; }
@keyframes hhTwinkle { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
.hh-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hh-glow-a { width: 520px; height: 520px; top: -180px; left: -120px; background: rgba(27,144,252,.18); }
.hh-glow-b { width: 620px; height: 620px; bottom: -260px; right: -160px; background: rgba(50,176,93,.12); }

.hh-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--primary), var(--light)); transition: width .1s linear; }

.hh-viewport { position: relative; }
.hh-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.35rem; }
.hh-faint { color: var(--faint); }
.hh-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); display: inline-block; margin: 0 .5rem; vertical-align: middle; }

/* ---------------------------------------------------------------- header */
.hh-head { position: sticky; top: 0; z-index: 50;
  background: rgba(7,18,36,.72); backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.hh-head-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.hh-brand img { height: 38px; width: auto; }
.hh-nav { display: none; gap: 1.35rem; margin-left: 1.4rem; }
.hh-nav a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.hh-nav a:hover { color: #fff; }
.hh-head-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
@media (min-width: 900px) { .hh-nav { display: flex; } }

/* ---------------------------------------------------------------- buttons */
.hh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 0 1.15rem; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .25s ease; }
.hh-btn:active { transform: scale(.98); }
.hh-btn-primary { background: var(--primary); color: #04120A; box-shadow: 0 10px 26px -14px rgba(50,176,93,.9); }
.hh-btn-primary:hover { background: var(--primary-hover); color: #04120A; transform: translateY(-1px); }
.hh-btn-ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--text); }
.hh-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hh-btn-sm { min-height: 40px; font-size: .87rem; padding: 0 .95rem; }
.hh-btn-lg { min-height: 54px; font-size: 1.02rem; padding: 0 1.5rem; }

.hh-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(50,176,93,.6); animation: hhPulse 1.8s ease-out infinite; flex: none; }
@keyframes hhPulse { 0% { box-shadow: 0 0 0 0 rgba(50,176,93,.55); } 100% { box-shadow: 0 0 0 11px rgba(50,176,93,0); } }

/* ---------------------------------------------------------------- hero */
.hh-hero { padding: 3.4rem 0 2.6rem; }
.hh-hero-in { display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 980px) { .hh-hero-in { grid-template-columns: 1.06fr .94fr; gap: 3.2rem; } }
.hh-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hh-h1 { font-size: clamp(2.05rem, 5.1vw, 3.5rem); font-weight: 900; letter-spacing: -.035em; }
.hh-h1-accent { color: var(--info); }
.hh-h1-post { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
.hh-lede { color: var(--muted); font-size: 1.06rem; max-width: 34em; }
.hh-hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 1.9rem; }
.hh-hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.hh-hero-stats li { display: flex; flex-direction: column; }
.hh-hero-stats strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.hh-hero-stats span { font-size: .8rem; color: var(--faint); }

.hh-glass { position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)),
              color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 22px 44px -24px rgba(0,0,0,.8); }
.hh-glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(165deg, rgba(255,255,255,.4), rgba(255,255,255,.1) 35%, rgba(255,255,255,.04) 65%, rgba(255,255,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }

.hh-phone { padding: 1.35rem 1.35rem 1.5rem; }
.hh-phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.hh-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.hh-chip-saving { background: var(--primary-tint); color: #7BE0A2; }
.hh-phone-day { font-size: .74rem; color: var(--faint); }
.hh-phone-hotel { font-weight: 700; font-size: 1.06rem; margin: 0 0 .15rem; }
.hh-phone-meta { color: var(--faint); font-size: .82rem; margin: 0 0 .9rem; }
.hh-phone-price { font-size: 2.5rem; font-weight: 900; letter-spacing: -.04em; margin: 0; font-variant-numeric: tabular-nums; }
.hh-phone-sub { color: var(--muted); font-size: .84rem; margin: .1rem 0 1rem; }
.hh-chart { width: 100%; height: auto; overflow: visible; }
.hh-chart-grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.hh-chart-line { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 420; animation: hhDraw 1.9s var(--ease) .35s forwards; }
.hh-chart-area { opacity: 0; animation: hhFade .9s ease 1.5s forwards; }
.hh-chart-dot { fill: var(--primary); opacity: 0; animation: hhFade .5s ease 1.9s forwards; }
@keyframes hhDraw { to { stroke-dashoffset: 0; } }
@keyframes hhFade { to { opacity: 1; } }
.hh-phone-axis { display: flex; justify-content: space-between; font-size: .66rem; color: var(--faint); margin-top: .3rem; }
.hh-notif { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.1rem; padding: .85rem .95rem;
  border-radius: var(--r); background: rgba(9,20,38,.92); border: 1px solid var(--border); }
.hh-notif-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: var(--primary-tint); color: #7BE0A2; font-weight: 900; }
.hh-notif strong { display: block; font-size: .87rem; }
.hh-notif span { display: block; font-size: .78rem; color: var(--faint); line-height: 1.45; }
.hh-fine { font-size: .74rem; color: var(--faint); margin: .7rem 0 0; }

/* ---------------------------------------------------------------- ticker */
.hh-ticker-wrap { padding: 1.4rem 0 2.2rem; }
.hh-ticker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hh-ticker-note { font-size: .82rem; color: var(--muted); margin: 0; }
.hh-ticker { overflow: hidden; margin-top: .9rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hh-marquee { display: flex; gap: .9rem; width: max-content; animation: hhMarquee 46s linear infinite; }
.hh-ticker:hover .hh-marquee, .hh-ticker:active .hh-marquee { animation-play-state: paused; }
@keyframes hhMarquee { to { transform: translateX(-50%); } }
.hh-drop { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), var(--surface);
  border: 1px solid var(--border); }
.hh-drop .hh-pill { background: var(--primary-tint); color: #7BE0A2; border-radius: 999px; padding: .18rem .5rem; font-size: .72rem; font-weight: 700; }
.hh-drop strong { font-size: 1.12rem; font-weight: 900; letter-spacing: -.02em; }
.hh-drop em { font-style: normal; font-size: .78rem; color: var(--faint); white-space: nowrap; }

/* ---------------------------------------------------------------- sections / grid */
.hh-main { display: block; }
.hh-section { padding: 2.6rem 0 3.4rem; }
.hh-sec-head { max-width: 46rem; margin-bottom: 2rem; }
.hh-h2 { font-size: clamp(1.5rem, 3.1vw, 2.2rem); font-weight: 900; letter-spacing: -.03em; }
.hh-grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .hh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hh-grid { grid-template-columns: repeat(3, 1fr); } }
.hh-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .hh-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.hh-card { border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.hh-card:hover { transform: translateY(-5px); border-color: rgba(50,176,93,.4);
  box-shadow: 0 26px 48px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(50,176,93,.14); }
.hh-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.hh-card-link:hover { color: inherit; }
.hh-card-img { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.hh-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hh-card:hover .hh-card-img img { transform: scale(1.045); }
.hh-chip-img { position: absolute; left: .8rem; bottom: .8rem; background: rgba(7,18,36,.82); color: var(--accent);
  border: 1px solid rgba(230,186,149,.3); backdrop-filter: blur(6px); }
.hh-card-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.hh-card-tag { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hh-card-title { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.hh-card-ex { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.hh-card-meta { margin: auto 0 0; font-size: .76rem; color: var(--faint); padding-top: .6rem; }
.hh-empty { color: var(--muted); }

.hh-pagination { display: flex; align-items: center; gap: 1rem; justify-content: center; padding: 2rem 0 0; }
.hh-page-count { font-size: .82rem; color: var(--faint); }

/* ---------------------------------------------------------------- CTA band */
.hh-cta { padding: 1rem 0 3.6rem; }
.hh-cta-in { display: grid; gap: 1.3rem; align-items: center; padding: 2rem 1.7rem; border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 0% 0%, rgba(50,176,93,.16), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--surface);
  border: 1px solid var(--border); }
@media (min-width: 860px) { .hh-cta-in { grid-template-columns: 1.4fr .6fr; padding: 2.4rem 2.2rem; } }
.hh-cta-in .hh-lede { margin-bottom: 0; }
.hh-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------------------------------------------------------------- post */
.hh-main-post { padding-bottom: 1rem; }
.hh-post-head { padding: 2.6rem 0 1.4rem; }
.hh-post-head-in { max-width: 900px; }
.hh-crumbs { font-size: .78rem; color: var(--faint); margin-bottom: 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.hh-crumbs a { color: var(--muted); }
.hh-lede-post { font-size: 1.1rem; color: var(--muted); margin-top: .7rem; }
.hh-post-meta { display: flex; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--faint); margin-top: .9rem; }
.hh-post-hero { margin: 1.2rem auto 2rem; }
.hh-post-hero img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border); }
.hh-post-hero figcaption { font-size: .78rem; color: var(--faint); margin-top: .6rem; text-align: center; }

.hh-post-body { display: grid; gap: 2.4rem; max-width: 1040px; grid-template-columns: minmax(0, 1fr); }
.hh-content { min-width: 0; }
@media (min-width: 1040px) { .hh-post-body { grid-template-columns: minmax(0, var(--read)) 280px; align-items: start; } }
.hh-post-body-page { grid-template-columns: minmax(0, 820px); }
.hh-post-aside { display: grid; gap: 1rem; }
@media (min-width: 1040px) { .hh-post-aside { position: sticky; top: 92px; } }
.hh-aside-card { padding: 1.15rem 1.2rem 1.35rem; }
.hh-aside-card h3 { font-size: .95rem; margin-bottom: .45rem; }
.hh-aside-card p { font-size: .86rem; color: var(--muted); margin-bottom: .95rem; }
.hh-aside-quiet p { margin-bottom: .6rem; }
.hh-aside-link { font-size: .86rem; font-weight: 700; }

/* --- article typography --- */
.hh-content { font-size: 1.05rem; line-height: 1.78; color: #E9EFF7; }
.hh-content > p:first-of-type { font-size: 1.12rem; color: #F3F7FC; }
.hh-content h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 900; letter-spacing: -.03em;
  margin: 2.6rem 0 .8rem; padding-top: .2rem; }
.hh-content h2::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), transparent); margin-top: .6rem; }
.hh-content h3 { font-size: 1.16rem; font-weight: 700; margin: 1.9rem 0 .6rem; }
.hh-content h4 { font-size: 1.02rem; font-weight: 700; margin: 1.4rem 0 .4rem; color: var(--muted); }
.hh-content ul, .hh-content ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.hh-content li { margin-bottom: .5rem; }
.hh-content li::marker { color: var(--primary); font-weight: 700; }
.hh-content strong { color: #fff; font-weight: 700; }
.hh-content a { color: #6FB6FF; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hh-content a:hover { color: #A5D2FF; }
.hh-content img { border-radius: var(--r); border: 1px solid var(--border); margin: 1.6rem 0; }
.hh-content figure { margin: 1.8rem 0; }
.hh-content figcaption { font-size: .78rem; color: var(--faint); text-align: center; margin-top: .55rem; }

/* answer box: the first blockquote is the GEO answer box */
.hh-content blockquote { margin: 1.8rem 0; padding: 1.15rem 1.3rem 1.15rem 1.45rem; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(50,176,93,.13), rgba(50,176,93,.04)), var(--surface);
  border: 1px solid rgba(50,176,93,.32); border-left: 4px solid var(--primary); position: relative; }
.hh-content blockquote p { margin: 0; font-size: 1.03rem; }
.hh-content blockquote strong:first-child { color: #8FE7B0; }

.hh-content table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .92rem;
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) {
  /* QA 2026-10-11: wide tables (e.g. the booking-site comparison) overflow on
     phones with zero hint they are scrollable. A right-edge fade signals
     there is more, matching the ticker's own mask-image treatment. */
  .hh-content table { mask-image: linear-gradient(90deg, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); }
}
.hh-content th, .hh-content td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.hh-content thead th { background: var(--surface-2); font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hh-content tbody tr:hover { background: rgba(255,255,255,.025); }
.hh-content code { background: rgba(255,255,255,.07); padding: .15em .4em; border-radius: 5px; font-size: .88em; }
.hh-content pre { background: #060F1E; border: 1px solid var(--border); border-radius: var(--r); padding: 1rem 1.1rem; overflow-x: auto; font-size: .86rem; }
.hh-content pre code { background: none; padding: 0; }

/* QA 2026-10-11: explicit swipe hint for tables that genuinely overflow on
   phones -- a mask-fade alone is too subtle on this dark-on-dark palette. */
.hh-table-hint { display: none; font-size: .72rem; color: var(--faint); text-align: right; margin: -1.1rem 0 1.5rem; }
@media (max-width: 700px) { .hh-table-hint { display: block; } }

/* FAQ: bold question line + answer */
.hh-content h2 + p strong { color: #fff; }

/* animated figures inside articles */
.hh-fig { margin: 1.9rem 0; padding: 1.2rem 1.25rem 1.3rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--surface);
  border: 1px solid var(--border); }
.hh-fig-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.hh-fig-head h4 { margin: 0; font-size: .95rem; color: #fff; }
.hh-fig-head span { font-size: .72rem; color: var(--faint); }
.hh-bars { display: grid; gap: .7rem; }
.hh-bar { display: grid; grid-template-columns: 1fr auto; gap: .5rem; font-size: .84rem; }
.hh-bar-track { grid-column: 1 / -1; height: 9px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.hh-bar-fill { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--info), var(--primary)); width: var(--w, 60%); }
.hh-fig.in .hh-bar-fill { animation: hhGrow 1.1s var(--ease) both; }
@keyframes hhGrow { from { width: 0; } to { width: var(--w, 60%); } }
.hh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: hhstep; }
.hh-steps li { position: relative; padding-left: 2.3rem; font-size: .92rem; }
.hh-steps li::before { counter-increment: hhstep; content: counter(hhstep); position: absolute; left: 0; top: .1rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: .76rem; font-weight: 900;
  background: var(--primary-tint); color: #7BE0A2; border: 1px solid rgba(50,176,93,.4); }

.hh-related { padding-top: 1rem; }

/* ---------------------------------------------------------------- footer */
.hh-foot { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); background: rgba(5,12,24,.72);
  backdrop-filter: blur(10px); padding: 2.8rem 0 1.4rem; }
.hh-foot-in { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .hh-foot-in { grid-template-columns: 1.1fr 1.4fr; gap: 3rem; } }
.hh-foot-brand img { height: 42px; margin-bottom: .9rem; }
.hh-foot-line { color: var(--muted); font-size: .92rem; max-width: 28em; }
.hh-foot-cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hh-foot-cols h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.hh-foot-cols a { display: block; color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.hh-foot-cols a:hover { color: #fff; }
.hh-foot-bar { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06); margin-top: 2.2rem; padding-top: 1.1rem; font-size: .74rem; color: var(--faint); }

.hh-error { text-align: center; padding: 4rem 0 6rem; }
.hh-error .hh-lede { margin: 0 auto 1.4rem; }

/* ---------------------------------------------------------------- motion */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.pop { animation: hhPop .55s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes hhPop { 0% { transform: scale(.92) translateY(8px); opacity: 0; } 70% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
  .hh-chart-line { stroke-dashoffset: 0; }
  .hh-chart-area, .hh-chart-dot { opacity: 1; }
}

/* ---------------------------------------------------------------- Ghost cards (Koenig) */
.kg-width-wide { width: min(1040px, 92vw); margin-left: auto; margin-right: auto; max-width: none; }
.kg-width-full { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); border-radius: 0; }
.hh-content .kg-card { margin: 1.9rem 0; }
.hh-content .kg-image-card img { width: 100%; max-height: 540px; object-fit: cover; object-position: center; border-radius: 16px; }
.hh-content .kg-image-card.kg-width-full img { border-radius: 0; }
.hh-content .kg-gallery-container { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hh-content .kg-gallery-image img { border-radius: var(--r-sm); margin: 0; }
.hh-content .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.hh-content .kg-embed-card iframe { border-radius: var(--r); border: 1px solid var(--border); }
.hh-content .kg-bookmark-card { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.hh-content .kg-bookmark-container { display: flex; gap: 1rem; padding: 1rem; color: inherit; text-decoration: none; }
.hh-content .kg-bookmark-content { flex: 1; }
.hh-content .kg-bookmark-title { font-weight: 700; color: #fff; }
.hh-content .kg-bookmark-description { font-size: .86rem; color: var(--muted); }
.hh-content .kg-bookmark-metadata { font-size: .76rem; color: var(--faint); display: flex; align-items: center; gap: .4rem; }
.hh-content .kg-bookmark-thumbnail img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--r-sm); margin: 0; border: 0; }
.hh-content .kg-callout-card { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border); }
.hh-content .kg-callout-card-green { background: linear-gradient(180deg, rgba(50,176,93,.13), rgba(50,176,93,.04)), var(--surface); border-color: rgba(50,176,93,.32); }
.hh-content .kg-callout-card-blue { background: linear-gradient(180deg, rgba(27,144,252,.13), rgba(27,144,252,.04)), var(--surface); border-color: rgba(27,144,252,.3); }
.hh-content .kg-callout-card-yellow { background: linear-gradient(180deg, rgba(251,205,119,.12), rgba(251,205,119,.03)), var(--surface); border-color: rgba(251,205,119,.3); }
.hh-content .kg-callout-emoji { font-size: 1.3rem; line-height: 1.2; }
.hh-content .kg-toggle-card { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); padding: .2rem .4rem; }
.hh-content .kg-toggle-heading { cursor: pointer; }
.hh-content .kg-toggle-card-icon { color: var(--primary); }
.hh-content .kg-header-card { border-radius: var(--r-lg); overflow: hidden; }
.hh-content .kg-video-card video, .hh-content .kg-audio-card audio { width: 100%; border-radius: var(--r); }
.hh-content .kg-file-card a { color: #6FB6FF; }

/* mobile sticky CTA */
.hh-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(6,15,30,.92); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: .7rem; transform: translateY(120%); transition: transform .35s var(--ease); }
.hh-sticky-cta.show { transform: none; }
.hh-sticky-cta p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.3; flex: 1; }
.hh-sticky-cta .hh-btn { min-height: 42px; padding: 0 .9rem; font-size: .85rem; }
@media (min-width: 900px) { .hh-sticky-cta { display: none; } }
