/*
 * Heavy item pages (page-heavy-item.php, page-heavy-hub.php). Loaded only on those
 * pages (th_hi_enqueue()), so the shared Tailwind build (src/output.css) is unchanged.
 * Colours are the theme tokens of tailwind.config.js (R6): primary only for calls to
 * action, secondary for headings and dark panels. Breakpoints follow Tailwind's
 * (640 / 768 / 1024 / 1280); the fixed site header is 65 px tall, 86 px from 1280.
 */
body.hi-page, .hi-xl {
  --hi-primary: #8F3985; --hi-primary-dark: #7B2471; --hi-primary-tint: #FBF5FA;
  --hi-secondary: #0D3659; --hi-text: #2B2F36; --hi-muted: #5B6472; --hi-line: #E3E6EE;
  --hi-surface: #F4F5FB; --hi-star: #F59E0B; --hi-success: #12924C; --hi-error: #B42318;
  --hi-header: 65px;
  --hi-r: 14px;
}
@media (min-width: 1280px) { body.hi-page { --hi-header: 86px; } }

/* The site's mobile "Book Now!" bar (footer.php) gives way to the page's own price bar. */
body.hi-page footer + .fixed { display: none; }
html.hi-lock { overflow: hidden; }

.hi { color: var(--hi-text); font-size: 16px; line-height: 1.55; }
.hi *, .hi-dialog * { box-sizing: border-box; }
.hi h1, .hi h2, .hi h3, .hi-dialog h2 { color: var(--hi-secondary); text-wrap: balance; margin: 0; }
.hi p { margin: 0; }
.hi ul, .hi ol, .hi dl { list-style: none; margin: 0; padding: 0; }
.hi a:focus-visible, .hi button:focus-visible, .hi input:focus-visible, .hi select:focus-visible, .hi summary:focus-visible,
.hi-dialog button:focus-visible, .hi-dialog input:focus-visible, .hi-dialog select:focus-visible { outline: 3px solid #B88AB3; outline-offset: 2px; }
.hi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hi-wrap { width: 100%; max-width: 1250px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 1024px) { .hi-wrap { padding-inline: 24px; } }
.hi-band { padding-block: 48px; }
@media (min-width: 1024px) { .hi-band { padding-block: 80px; } }
.hi-band--surface { background: var(--hi-surface); }
.hi-head { display: grid; gap: 10px; margin-bottom: 28px; }
.hi-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.hi-head--row > div { display: grid; gap: 10px; }
.hi-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--hi-muted); }
.hi-h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; }
.hi-h1__sub { display: block; margin-top: 12px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; letter-spacing: 0; font-weight: 500; color: var(--hi-muted); }
.hi-h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.015em; font-weight: 800; }
.hi-lead { color: var(--hi-muted); max-width: 64ch; font-size: 17px; }
.hi-lbl { display: block; font-size: 13px; font-weight: 600; color: var(--hi-secondary); margin-bottom: 6px; }
.hi-link { display: inline-flex; align-items: center; gap: 6px; color: var(--hi-primary); font-weight: 700; text-decoration: none; }
.hi-link:hover { text-decoration: underline; }

/* buttons: the site's shape (8 px radius) */
.hi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.hi-btn--p { background: var(--hi-primary); color: #fff; }
.hi-btn--p:hover { background: var(--hi-primary-dark); color: #fff; }
.hi-btn--o { background: #fff; color: var(--hi-primary); box-shadow: inset 0 0 0 1.5px var(--hi-primary); }
.hi-btn--o:hover { background: var(--hi-primary); color: #fff; }
.hi-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.hi-btn--block { width: 100%; min-height: 54px; font-size: 16px; }

/* chips */
.hi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hi-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--hi-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--hi-secondary); }
.hi-stars { display: inline-flex; color: var(--hi-star); }

/* ── hero ──────────────────────────────────────────────────────────────────── */
.hi-hero { background: var(--hi-surface); padding-block: 24px 48px; }
@media (min-width: 1024px) { .hi-hero { padding-block: 40px 80px; } }
/* Phones: heading, then the price card, then the rest of the intro. Desktop: card on the right. */
.hi-hero__grid { display: grid; gap: 24px; align-items: start; grid-template-areas: "head" "card" "body"; }
.hi-hero__head { grid-area: head; }
.hi-hero__card { grid-area: card; }
.hi-hero__body { grid-area: body; }
@media (min-width: 1024px) { .hi-hero__grid { grid-template-columns: minmax(0, 1fr) 470px; grid-template-rows: auto 1fr; grid-template-areas: "head card" "body card"; gap: 18px 56px; } .hi-hero__head { padding-top: 8px; } }
@media (min-width: 1280px) { .hi-hero__grid { grid-template-columns: minmax(0, 1fr) 520px; } }
.hi-hero__head, .hi-hero__body, .hi-hero__copy { display: grid; gap: 18px; min-width: 0; align-content: start; }
.hi-hero__art { display: none; align-items: flex-end; gap: 20px; color: var(--hi-secondary); margin-top: 8px; opacity: .9; }
@media (min-width: 1024px) { .hi-hero__art { display: flex; } }
.hi-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--hi-muted); }
.hi-crumbs a { color: var(--hi-muted); text-decoration: underline; text-decoration-color: var(--hi-line); text-underline-offset: 3px; }
.hi-crumbs a:hover { color: var(--hi-secondary); }
.hi-hero__card { scroll-margin-top: calc(var(--hi-header) + 16px); }

/* ── quote card ───────────────────────────────────────────────────────────── */
.hi-qc { background: #fff; border: 1px solid var(--hi-line); border-radius: 20px; box-shadow: 0 18px 44px rgba(13, 54, 89, .10); padding: 22px; display: grid; gap: 16px; color: var(--hi-text); }
@media (max-width: 400px) { .hi-qc { padding: 18px 16px; } }
.hi-qc__title { font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--hi-secondary); }
.hi-qc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hi-qc legend { padding: 0; }
.hi-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hi-size { position: relative; display: block; cursor: pointer; }
.hi-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hi-size__in { display: grid; gap: 1px; min-height: 54px; padding: 9px 11px; border: 1.5px solid var(--hi-line); border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s; }
.hi-size__in b { font-size: 14px; line-height: 1.25; color: var(--hi-secondary); }
.hi-size__in small { font-size: 12.5px; color: var(--hi-muted); font-variant-numeric: tabular-nums; }
.hi-size:hover .hi-size__in { border-color: #B9BFCC; }
.hi-size input:checked + .hi-size__in { border-color: var(--hi-primary); box-shadow: inset 0 0 0 1px var(--hi-primary); background: var(--hi-primary-tint); }
.hi-size input:focus-visible + .hi-size__in { outline: 3px solid #B88AB3; outline-offset: 2px; }
.hi-sizes:has(.hi-size:only-child) { grid-template-columns: 1fr; }
.hi-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hi-field { display: block; min-width: 0; }
.hi-fld { display: block; width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--hi-line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--hi-text); }
.hi-fld:focus { border-color: var(--hi-secondary); outline: none; }
select.hi-fld { appearance: none; -webkit-appearance: none; padding-right: 30px; font-size: 15px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--hi-muted) 50%), linear-gradient(135deg, var(--hi-muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.hi-addr { position: relative; }
.hi-addr > svg { position: absolute; left: 12px; top: 15px; color: var(--hi-muted); pointer-events: none; }
.hi-addr .hi-fld { padding-left: 38px; }
.hi-addr .th-field-error { font-size: 12.5px; }
.hi-sum { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--hi-line); font-size: 14.5px; }
.hi-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hi-sum span { color: var(--hi-muted); }
.hi-sum b { color: var(--hi-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hi-sum__tot b { font-size: 22px; color: var(--hi-text); }
.hi-qc__err { padding: 10px 12px; border-radius: 10px; background: #FEF3F2; color: var(--hi-error); font-size: 14px; font-weight: 600; }
.hi-fine { font-size: 13px; color: var(--hi-muted); text-align: center; }
.hi-fine a { color: var(--hi-secondary); font-weight: 600; white-space: nowrap; }

/* ── price table ──────────────────────────────────────────────────────────── */
.hi-table { display: none; overflow-x: auto; border: 1px solid var(--hi-line); border-radius: var(--hi-r); background: #fff; }
@media (min-width: 768px) { .hi-table { display: block; } }
.hi-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hi-table th, .hi-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--hi-line); vertical-align: middle; }
.hi-table thead th { background: var(--hi-surface); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hi-muted); }
.hi-table tbody tr:last-child > * { border-bottom: 0; }
.hi-table tbody th b { display: block; color: var(--hi-secondary); }
.hi-table tbody th small { display: block; font-size: 12.5px; font-weight: 400; color: var(--hi-muted); }
.hi-table td { font-weight: 600; color: var(--hi-secondary); font-variant-numeric: tabular-nums; }
.hi-table td:last-child { text-align: right; }
.hi-pcards { display: grid; gap: 12px; }
@media (min-width: 768px) { .hi-pcards { display: none; } }
.hi-pcard { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--hi-line); border-radius: var(--hi-r); background: #fff; }
.hi-pcard__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hi-pcard__h h3 { font-size: 17px; }
.hi-pcard__h span { font-size: 13px; color: var(--hi-muted); }
.hi-pcard dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.hi-pcard dt { color: var(--hi-muted); }
.hi-pcard dd { margin: 0; font-weight: 600; color: var(--hi-secondary); text-align: right; font-variant-numeric: tabular-nums; }
.hi-note { margin-top: 16px; font-size: 14.5px; color: var(--hi-muted); max-width: 80ch; }
.hi-note b { color: var(--hi-secondary); white-space: nowrap; }

/* ── included / steps / size guide ────────────────────────────────────────── */
.hi-inc { display: grid; gap: 18px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hi-inc li { display: flex; gap: 12px; align-items: flex-start; }
.hi-inc b { display: block; color: var(--hi-secondary); }
.hi-inc span:not(.hi-ico) { font-size: 14.5px; color: var(--hi-muted); }
.hi-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--hi-secondary); border: 1px solid var(--hi-line); }
.hi-band:not(.hi-band--surface) .hi-ico { background: var(--hi-surface); border-color: transparent; }
.hi-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hi-steps li { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--hi-line); border-radius: var(--hi-r); background: #fff; }
.hi-steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hi-secondary); color: #fff; font-weight: 700; font-size: 14px; }
.hi-steps b { font-size: 17px; color: var(--hi-secondary); }
.hi-steps li > span:last-child { font-size: 14.5px; color: var(--hi-muted); }
.hi-sg { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hi-sg__i { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--hi-line); border-radius: var(--hi-r); background: #fff; }
.hi-sg__art { height: 72px; display: flex; align-items: flex-end; color: var(--hi-secondary); }
.hi-sg__i h3 { font-size: 17px; }
.hi-sg__i p { font-size: 13.5px; color: var(--hi-muted); font-variant-numeric: tabular-nums; }
.hi-sg__i .hi-btn { justify-self: start; }

/* ── checklist + FAQ ──────────────────────────────────────────────────────── */
.hi-two { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hi-two { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.hi-chk li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--hi-line); }
.hi-chk li:last-child { border-bottom: 0; }
.hi-chk svg { flex: none; margin-top: 3px; color: var(--hi-success); }
.hi-faq details { border-bottom: 1px solid var(--hi-line); }
.hi-faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 36px 18px 0; min-height: 44px; }
.hi-faq summary::-webkit-details-marker { display: none; }
.hi-faq summary h3 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.hi-faq summary::after { content: ""; position: absolute; right: 6px; top: 25px; width: 10px; height: 10px; border-right: 2px solid var(--hi-muted); border-bottom: 2px solid var(--hi-muted); transform: rotate(45deg); transition: transform .2s; }
.hi-faq details[open] summary::after { transform: rotate(-135deg); top: 29px; }
.hi-faq details p { padding-bottom: 18px; color: var(--hi-muted); max-width: 68ch; }

/* ── cards ────────────────────────────────────────────────────────────────── */
.hi-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 539px) { .hi-cards { grid-template-columns: 1fr 1fr; gap: 10px; } }
.hi-card { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 16px; border: 1px solid var(--hi-line); border-radius: 16px; background: #fff; color: var(--hi-text); text-decoration: none; }
.hi-card__art { display: flex; height: 56px; align-items: flex-end; color: var(--hi-secondary); }
.hi-card__t { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--hi-secondary); }
.hi-card__meta { font-size: 13px; color: var(--hi-muted); font-variant-numeric: tabular-nums; }
.hi-card__from { font-size: 14px; color: var(--hi-muted); }
.hi-card__from b { font-size: 18px; color: var(--hi-text); font-variant-numeric: tabular-nums; }
.hi-card .hi-btn { margin-top: 4px; }
.hi-card--link { transition: border-color .15s, transform .15s, box-shadow .15s; }
.hi-card--link:hover { border-color: var(--hi-secondary); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 54, 89, .08); }
.hi-card--ghost { border-style: dashed; background: var(--hi-surface); }
@media (max-width: 539px) { .hi-card { padding: 12px; } .hi-card__art { height: 44px; } .hi-card__art svg { width: 44px; height: 44px; } .hi-card__from b { font-size: 16px; } }

/* ── CTA band + sticky bar ────────────────────────────────────────────────── */
.hi-cta { background: var(--hi-surface); }
.hi-cta__in { display: grid; gap: 20px; }
.hi-cta__in > div:first-child { display: grid; gap: 8px; }
@media (min-width: 1024px) { .hi-cta__in { grid-template-columns: 1fr auto; align-items: center; } }
.hi-cta__acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.hi-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hi-secondary); text-decoration: none; white-space: nowrap; min-height: 44px; }
.hi-tel:hover { text-decoration: underline; }
.hi-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--hi-line); box-shadow: 0 -8px 24px rgba(13, 54, 89, .08); }
.hi-sticky[hidden] { display: none; }
@media (min-width: 1280px) { .hi-sticky { display: none !important; } }
.hi-sticky__t { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--hi-muted); }
.hi-sticky__t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: var(--hi-text); font-variant-numeric: tabular-nums; }

/* ── hub ──────────────────────────────────────────────────────────────────── */
.hi-hub__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .hi-hub__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; } }
.hi-find { position: relative; display: grid; max-width: 580px; }
.hi-find__lbl { font-size: 14px; font-weight: 700; }
.hi-find__box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border: 1.5px solid var(--hi-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(13, 54, 89, .08); }
.hi-find__box:focus-within { border-color: var(--hi-secondary); }
.hi-find__box > svg { flex: none; color: var(--hi-muted); }
.hi-find__box .hi-fld { flex: 1; min-width: 0; min-height: 44px; padding: 0 4px; border: 0; background: transparent; }
.hi-find__box .hi-fld:focus-visible { outline: none; }
.hi-find__box .hi-fld::-webkit-search-cancel-button { display: none; }
@media (max-width: 539px) { .hi-find__box { flex-wrap: wrap; padding: 8px; } .hi-find__box .hi-fld { flex: 1 1 calc(100% - 40px); } .hi-find__box .hi-btn { width: 100%; } }
.hi-sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; display: grid; gap: 2px; margin: 6px 0 0; padding: 6px; list-style: none; border: 1px solid var(--hi-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(13, 54, 89, .14); }
.hi-sugg li[role=option] { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.hi-sugg li[aria-selected=true], .hi-sugg li[role=option]:hover { background: var(--hi-surface); }
.hi-sugg__n { flex: 1; min-width: 0; }
.hi-sugg__n b { display: block; color: var(--hi-secondary); }
.hi-sugg__n small { font-size: 12.5px; color: var(--hi-muted); }
.hi-sugg__p { font-size: 13px; color: var(--hi-muted); white-space: nowrap; }
.hi-sugg__p b { font-size: 15px; color: var(--hi-text); }
.hi-sugg__none { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; font-size: 14px; color: var(--hi-muted); }
.hi-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--hi-muted); }
.hi-popular button { min-height: 36px; padding: 6px 4px; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; color: var(--hi-secondary); text-decoration: underline; text-decoration-color: #C5CAD6; text-underline-offset: 4px; }
.hi-popular button:hover { text-decoration-color: var(--hi-secondary); }
.hi-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; border-radius: 24px; background: var(--hi-secondary); color: #fff; }
.hi-board__h { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 2px 4px 4px; font-size: 13px; color: #B9CADB; }
.hi-board__h b { font-size: 15px; color: #fff; }
.hi-tile { display: grid; justify-items: start; gap: 8px; padding: 14px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s, transform .15s; }
.hi-tile:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.hi-tile:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hi-tile__n { font-size: 14px; font-weight: 600; line-height: 1.25; }
.hi-tile__p { padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--hi-secondary); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 539px) { .hi-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; } .hi-tile:nth-of-type(n+5) { display: none; } }
.hi-anav { position: sticky; top: var(--hi-header); z-index: 30; border-block: 1px solid var(--hi-line); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hi-anav__in { display: flex; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.hi-anav__in::-webkit-scrollbar { display: none; }
.hi-anav a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--hi-secondary); text-decoration: none; }
.hi-anav a span { font-size: 12px; color: var(--hi-muted); }
.hi-anav a:hover { background: var(--hi-surface); }
.hi-anav a.is-on { background: var(--hi-secondary); color: #fff; }
.hi-anav a.is-on span { color: #B9CADB; }
.hi-intro { padding-block: 44px 8px; }
.hi-intro__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .hi-intro__grid { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; } }
.hi-intro__lead { max-width: 64ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.hi-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hi-facts div { padding: 4px 0 4px 12px; border-left: 3px solid var(--hi-line); }
.hi-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hi-muted); }
.hi-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--hi-secondary); }
@media (max-width: 539px) { .hi-facts { grid-template-columns: 1fr; gap: 8px; } .hi-facts div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; } .hi-facts dd { margin: 0; text-align: right; } }
.hi-shelf { padding-block: 44px; scroll-margin-top: calc(var(--hi-header) + 60px); }
.hi-shelf + .hi-shelf { border-top: 1px solid var(--hi-line); }
.hi-shelf__in { display: grid; gap: 20px; }
@media (min-width: 1024px) { .hi-shelf__in { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } .hi-shelf__side { position: sticky; top: calc(var(--hi-header) + 80px); align-self: start; } }
.hi-shelf__side { display: grid; gap: 10px; align-content: start; }
.hi-shelf__side .hi-h2 { font-size: clamp(24px, 2.4vw, 28px); }
.hi-shelf__side > p:not(.hi-eyebrow) { font-size: 15px; color: var(--hi-muted); }
.hi-shelf__from b { font-size: 20px; color: var(--hi-text); font-variant-numeric: tabular-nums; }
.hi-shelf .hi-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 539px) { .hi-shelf .hi-cards { grid-template-columns: 1fr 1fr; } }
.hi-formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.hi-term { display: grid; gap: 2px; flex: 1 1 132px; min-width: 132px; padding: 14px 16px; border: 1px solid var(--hi-line); border-radius: 14px; background: #fff; }
.hi-term small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hi-muted); }
.hi-term b { font-size: 22px; color: var(--hi-secondary); font-variant-numeric: tabular-nums; }
.hi-term span { font-size: 13px; color: var(--hi-muted); }
.hi-term--total { background: var(--hi-secondary); border-color: var(--hi-secondary); }
.hi-term--total small, .hi-term--total span { color: #B9CADB; }
.hi-term--total b { font-size: 26px; color: #fff; }
.hi-formula__op { align-self: center; font-size: 20px; font-weight: 800; color: var(--hi-muted); }
@media (max-width: 767px) { .hi-formula__op { display: none; } .hi-term { flex: 1 1 calc(50% - 10px); min-width: 0; } .hi-term--total { flex-basis: 100%; } }
.hi-why { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hi-why li { display: grid; gap: 8px; align-content: start; }
.hi-why b { font-size: 17px; color: var(--hi-secondary); }
.hi-why li > span:last-child { font-size: 14.5px; color: var(--hi-muted); }
.hi-multi { display: grid; gap: 18px; align-items: center; margin-top: 48px; padding: 28px; border-radius: 20px; background: var(--hi-secondary); color: #E6EEF6; }
.hi-multi h2 { color: #fff; }
.hi-multi > div { display: grid; gap: 8px; }
@media (min-width: 1024px) { .hi-multi { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.hi-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.hi-areas a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--hi-line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--hi-secondary); text-decoration: none; }
.hi-areas a:hover { border-color: var(--hi-secondary); }

/* dialog (hub "Book") */
.hi-dialog { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(13, 20, 35, .5); overflow-y: auto; }
.hi-dialog[hidden] { display: none; }
.hi-dialog__box { position: relative; width: min(600px, 100%); }
@media (min-width: 768px) { .hi-dialog .hi-qc { padding: 28px 32px; } }
.hi-dialog__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--hi-line); border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; color: var(--hi-secondary); cursor: pointer; }
.hi-dialog .hi-qc__title { padding-right: 44px; }
@media (max-width: 639px) {
  .hi-dialog { place-items: end center; padding: 0; }
  .hi-dialog__box { width: 100%; max-height: 92dvh; overflow-y: auto; }
  .hi-dialog .hi-qc { border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .hi *, .hi-dialog * { transition: none !important; }
}

/* ── links block on other pages (th_hi_crosslinks_kind()) ─────────────────── */
.hi-xl .hi-head .hi-lead { font-size: 16px; }
.hi-xl__piano { display: grid; gap: 18px; align-items: center; margin-block: 48px; padding: 24px; border: 1px solid var(--hi-line, #E3E6EE); border-radius: 20px; background: var(--hi-surface, #F4F5FB); }
.hi-xl__piano > div { display: grid; gap: 8px; }
.hi-xl__art { color: var(--hi-secondary, #0D3659); }
@media (min-width: 768px) { .hi-xl__piano { grid-template-columns: auto 1fr auto; padding: 28px 32px; } }
