/* HITP VI v9 (2026-11-01) — loaded last on every page.
   Headings: Noto Serif SC 700 (思源宋体粗体). Body: Inter + Noto Sans SC (unchanged).
   Brand colours only: navy #0E2F52, cream #F5F0E6, gold #C9A96E (gold = hairlines and numbers on navy only).
   Neutral text greys stay for reading. No blue, no green. */

:root {
  --navy: #0E2F52;
  --cream: #F5F0E6;
  --gold: #C9A96E;
  --ink: #0E2F52;            /* headings + important text are navy in v9 */
  --ink-2: #424245;          /* body text */
  --mute: #64646A;           /* 5.2:1 on cream, 5.9:1 on white */
  --bg: #FFFFFF;
  --tile: #F5F0E6;           /* the alternate block colour is cream now */
  --line: rgba(14, 47, 82, .16);
  --blue: #0E2F52;           /* the one action colour is navy */
  --link: #0E2F52;
  --serif: 'Noto Serif SC v9', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
}

/* ---------- type ---------- */
h1, h2, .h1-hero, .h2-section, .card-title, .gx-fly h3,
.tile h1, .tile h2, .photo h2, .facts h2, .rules h2, .reads h2, .reads h3, .contact h2 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  text-wrap: balance;
}
h1, .h1-hero { line-height: 1.25; }
h2, .h2-section { line-height: 1.3; }
.card-title { line-height: 1.4; }
p, li { text-wrap: pretty; line-break: strict; }

/* poster rule: a short gold line under the page title */
.h1-hero::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 20px; background: var(--gold); }

/* ---------- links and buttons ---------- */
a { color: var(--link); }
.text-link, .card-link, .article-body a { color: var(--navy); }
.article-body a, .text-link:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pill-primary, .pill { background-color: var(--navy) !important; color: var(--cream) !important; }
.pill-primary:hover, .pill:hover { opacity: 1; background-color: #163E68 !important; }
.pill-outline, .pill.ghost { background: transparent !important; color: var(--navy) !important; border: 1px solid var(--navy) !important; box-shadow: none !important; }
.pill-outline:hover, .pill.ghost:hover { background: rgba(14, 47, 82, .06) !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy) !important; outline-offset: 3px; }
.input-field:focus, .form-input:focus { border-color: var(--navy); }

/* ---------- surfaces ---------- */
.bg-tile { background-color: var(--cream); }
.card { background-color: var(--cream); }
.bg-tile .card, .section-band.bg-tile .card { background-color: #FFFFFF; }
.card:hover { background-color: #EFE8DA; }
.bg-tile .card:hover { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.chip { background-color: var(--cream); color: var(--navy); }
.chip.active, .chip:hover, .pill-chip.selected, .pill-chip.active, .pill-chip[aria-pressed=true] { background-color: var(--navy) !important; color: var(--cream) !important; border-color: var(--navy) !important; }
.timeline-dot { background-color: var(--gold); }
.accordion-icon { color: var(--navy); }

/* ---------- header ---------- */
.gx-side .gx-cta { background: var(--navy); color: var(--cream); }
.gx-side .gx-cta:hover { background: #163E68; color: var(--cream); }
.gx-fly .gx-all, .gx-links a:hover b { color: var(--navy); }
.gx-fly .gx-all { text-decoration: underline !important; text-decoration-color: var(--gold) !important; text-underline-offset: 4px; }
.gx a:focus-visible, .gx button:focus-visible { outline-color: var(--navy); }

/* ---------- footer (both variants) ---------- */
footer.bg-tile, .ft { background: var(--cream) !important; border-top: 2px solid var(--gold) !important; }
footer .text-mute, .ft { color: var(--mute) !important; }
footer b, .ft b { color: var(--navy) !important; }
footer a, .ft a { color: #424245 !important; }
footer a:hover, .ft a:hover { color: var(--navy) !important; }

/* ---------- WhatsApp float (site.js) ---------- */
#hitp-wa-float { background: var(--navy) !important; color: var(--cream) !important; box-shadow: 0 6px 24px rgba(14, 47, 82, .28) !important; }

/* ---------- home page v9 ---------- */
.v9-hero { background: var(--cream); padding: 72px 0 80px; }
.v9-hero .w { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.v9-hero h1 { margin: 0; font-size: clamp(44px, 6.2vw, 72px); line-height: 1.15; }
.v9-rule { display: block; width: 120px; height: 2px; background: var(--gold); margin: 28px 0; border: 0; }
.v9-hero .lead { margin: 0; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.55; color: var(--navy); }
.v9-hero .note { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 30em; }
.v9-hero .links { justify-content: flex-start; margin-top: 32px; }
.v9-fig { margin: 0; position: relative; }
.v9-fig img { display: block; width: 100%; height: auto; border-radius: 22px; }
.v9-fig figcaption { margin-top: 10px; font-size: 12px; color: var(--mute); text-align: right; }

.v9-doors { padding: 96px 0 88px; }
.v9-head { max-width: 34em; margin: 0 0 48px; }
.v9-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 48px); }
.v9-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.v9-door-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.v9-door { display: flex; flex-direction: column; }
.v9-door img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 18px; }
.v9-door h3 { margin: 24px 0 0; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1.2; color: var(--navy); }
.v9-door .rule { display: block; width: 48px; height: 2px; background: var(--gold); margin: 16px 0; }
.v9-door p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.v9-door .go { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; font-size: 16px; }
.v9-door .go a { display: inline-block; padding: 8px 0; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.v9-fig-note { margin: 20px 0 0; font-size: 12px; color: var(--mute); }

.v9-more { background: var(--cream); padding: 80px 0; }
.v9-more-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v9-more-row > div { background: #fff; border-radius: 18px; padding: 36px 32px; border-top: 2px solid var(--gold); }
.v9-more-row h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--navy); }
.v9-more-row p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.v9-more-row .go { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.v9-more-row .go a { display: inline-block; padding: 8px 0; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.v9-facts { padding: 96px 0; }
.v9-facts h2 { margin: 0 0 48px; font-size: clamp(32px, 4.2vw, 48px); }
.v9-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.v9-facts li { padding: 28px 24px 0 0; }
.v9-facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.v9-facts b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 5vw, 60px); line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.v9-facts span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 17px; }

.v9-rules { background: var(--navy); color: var(--cream); padding: 96px 0; }
.v9-rules h2 { margin: 0; color: var(--cream); font-size: clamp(32px, 4.2vw, 48px); }
.v9-rules .sub { margin: 14px 0 48px; color: #B9B2A6; font-size: 18px; }
.v9-rules ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: r; }
.v9-rules li { counter-increment: r; border-top: 2px solid var(--gold); padding-top: 22px; }
.v9-rules b { display: block; font-size: 19px; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.v9-rules span { color: #B9B2A6; font-size: 15px; line-height: 1.65; }

.v9-reads { padding: 96px 0; }
.v9-reads h2 { margin: 0 0 32px; font-size: clamp(32px, 4.2vw, 48px); }
.v9-reads ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v9-reads li { border-bottom: 1px solid var(--line); }
.v9-reads a { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; color: var(--navy); text-decoration: none; }
.v9-reads a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.v9-reads small { color: var(--mute); font-size: 14px; }
.v9-reads h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--navy); }
.v9-reads em { font-style: normal; font-size: 15px; color: var(--navy); }

.v9-contact { background: var(--cream); padding: 96px 0; }
.v9-contact .w { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.v9-contact h2 { margin: 0; font-size: clamp(32px, 4.2vw, 48px); }
.v9-contact p { margin: 14px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.v9-contact .phone { display: inline-block; margin-top: 24px; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.v9-contact .hours { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.v9-contact .links { margin: 0; justify-content: flex-end; }

@media (max-width: 833px) {
  .v9-hero { padding: 40px 0 56px; }
  .v9-hero .w { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .v9-door-row, .v9-more-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .v9-door img { aspect-ratio: 4 / 3; }
  .v9-facts ul { grid-template-columns: minmax(0, 1fr); }
  .v9-facts li, .v9-facts li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .v9-rules ol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .v9-reads a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v9-contact .w { grid-template-columns: minmax(0, 1fr); }
  .v9-contact .links { justify-content: flex-start; }
  .v9-doors, .v9-facts, .v9-rules, .v9-reads, .v9-contact, .v9-more { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .v9-more-row > div { padding: 28px 22px; }
}

.nw { white-space: nowrap; }

/* touch screens: bigger hit areas without moving anything */
@media (pointer: coarse) {
  .crumb a { display: inline-block; padding: 13px 3px; margin: -13px -3px; }
  .gx-logo, .text-link, .more, .gx-all, .card-link { position: relative; }
  .gx-logo::after, .text-link::after, .more::after, .gx-all::after { content: ""; position: absolute; inset: -10px -6px; }
}

/* ---------- LandingPage (VI v9 component) ---------- */
.lp-hero { background: var(--cream); padding: 72px 0 64px; }
.lp-hero-in { max-width: 760px; }
.lp-h1 { font-size: clamp(32px, 4.6vw, 52px) !important; line-height: 1.25; margin: 0; }
.lp-lead { margin: 22px 0 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.6; color: var(--navy); max-width: 34em; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-sec { padding: 72px 0; }
.lp-sec + .lp-sec:not(.bg-tile):not(.lp-truth) { border-top: 1px solid var(--line); }
.lp-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.lp-h2 { margin: 0; font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.3; }
.lp-h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 16px; }
.lp-body { max-width: 38em; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.lp-body p { margin: 0 0 16px; }
.lp-body h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy); margin: 36px 0 12px; line-height: 1.4; }
.lp-body h3:first-child { margin-top: 0; }
.lp-body ul { margin: 0 0 16px; padding: 0; list-style: none; }
.lp-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.lp-body ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: 10px; height: 1px; background: var(--gold); }
.lp-body strong { color: var(--navy); font-weight: 600; }
.lp-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.lp-cite { font-size: 12px; line-height: 0; margin-left: 2px; }
.lp-cite a { text-decoration: none !important; color: var(--mute) !important; padding: 0 2px; }
.lp-cite a::before { content: "["; } .lp-cite a::after { content: "]"; }
.lp-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; }
.lp-body th, .lp-body td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-body th { color: var(--navy); font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--navy); }
.lp-body td:last-child, .lp-body th:last-child { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-steps > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.lp-steps > li:first-child { border-top: 0; padding-top: 0; }
.lp-step-no { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--navy); border-bottom: 2px solid var(--gold); align-self: start; padding-bottom: 6px; width: 32px; }
.lp-steps h3 { margin: 0 !important; font-size: 19px !important; }
.lp-when { margin: 4px 0 8px !important; font-size: 14px; color: var(--mute); }
.lp-steps ul { margin: 0; }
.lp-note { margin-top: 16px; font-size: 15px; color: var(--mute); }
.lp-truth { background: var(--navy); }
.lp-truth .lp-h2 { color: var(--cream) !important; }
.lp-truth .lp-body { color: #D8D2C6; }
.lp-myth { padding: 24px 0; border-top: 1px solid rgba(201, 169, 110, .45); }
.lp-myth:first-child { border-top: 0; padding-top: 0; }
.lp-myth-label { margin: 0 0 6px !important; font-size: 14px; color: var(--gold); letter-spacing: 0; }
.lp-myth h3 { color: var(--cream) !important; margin: 0 0 10px !important; }
.lp-truth .lp-body strong { color: var(--cream); }
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--navy); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; color: var(--navy); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details > div { padding: 0 0 16px; }
.lp-close { padding: 80px 0; text-align: left; }
.lp-close p { max-width: 34em; margin: 16px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.lp-close .lp-fine { font-size: 13px; color: var(--mute); margin-top: 28px; }
.lp-sources ol { list-style: none; margin: 0; padding: 0; }
.lp-sources li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; scroll-margin-top: 72px; }
.lp-sources li:target { background: var(--cream); }
.lp-src-no { font-family: var(--serif); font-weight: 700; color: var(--navy); grid-row: span 2; }
.lp-src-url { grid-column: 2; font-size: 12px; color: var(--mute); word-break: break-all; }
.lp-checked { font-size: 14px; color: var(--mute); margin-top: 16px !important; }
@media (max-width: 833px) {
  .lp-hero { padding: 40px 0 48px; }
  .lp-sec, .lp-close { padding: 52px 0; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-actions a { flex: 1 1 auto; }
}

/* AI image label on inner-page photos */
*:has(> .v9-ai-tag) { position: relative; }
.v9-ai-tag { position: absolute; right: 12px; bottom: 10px; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 980px; background: rgba(14, 47, 82, .72); color: var(--cream); pointer-events: none; }

/* ---------- Hub pages (business overview pages), VI v9 ---------- */
.hub > section:first-child, .hub > #dc-root > section:first-child { background: var(--cream); padding-top: 64px !important; padding-bottom: 72px !important; }
.hub > section:first-child > .container-w:has(> .photo-radius),
.hub > #dc-root > section:first-child > .container-w:has(> .photo-radius) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 56px; align-items: center; }
.hub > section:first-child .reading-w, .hub > #dc-root > section:first-child .reading-w { margin-bottom: 0 !important; }
.hub > section:first-child .photo-radius, .hub > #dc-root > section:first-child .photo-radius { margin-top: 0 !important; height: auto !important; aspect-ratio: 4 / 5; grid-column: 2; grid-row: 1 / span 2; }
.hub > section:first-child .container-w > p, .hub > #dc-root > section:first-child .container-w > p { grid-column: 2; }
.hub .h1-hero { font-size: clamp(36px, 4.8vw, 56px) !important; line-height: 1.2; }
.hub .text-lead { color: var(--navy); font-size: clamp(19px, 2vw, 21px); line-height: 1.6; }
.hub .h2-section::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 16px; }
.hub .text-center .h2-section::after, .hub .h2-section.text-center::after { margin-left: auto; margin-right: auto; }
.hub .table-hairline { width: 100%; border-collapse: collapse; font-size: 16px; }
.hub .table-hairline th { text-align: left; font-size: 14px; font-weight: 600; color: var(--navy); padding: 14px 16px 14px 0; border-bottom: 2px solid var(--navy); background: none; }
.hub .table-hairline td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.7; }
.hub .table-hairline td:first-child { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 18px; }
.hub .table-hairline td:first-child .text-link { font-family: Inter, 'Noto Sans SC v6', sans-serif; font-weight: 400; }
.hub .process-line { display: none; }
.hub .w-12.h-12.rounded-full { width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; justify-content: flex-start !important; font-family: var(--serif); font-weight: 700 !important; font-size: 34px !important; line-height: 1; color: var(--navy) !important; padding-bottom: 10px; margin-bottom: 18px !important; position: relative; }
.hub .w-12.h-12.rounded-full::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.hub .grid > .flex.flex-col > h3 { font-family: var(--serif); font-weight: 700; font-size: 21px !important; color: var(--navy); }
.hub li.flex.items-start > svg.sd-icon { display: none; }
.hub li.flex.items-start { position: relative; padding-left: 22px; }
.hub li.flex.items-start::before { content: ""; position: absolute; left: 0; top: .9em; width: 10px; height: 1px; background: var(--gold); }
.hub .card { border-radius: 18px; box-shadow: inset 0 2px 0 var(--gold); }
.hub .card h3, .hub .card h2 { font-family: var(--serif); font-weight: 700; color: var(--navy); }
.hub .accordion-btn { font-size: 18px; font-weight: 600; color: var(--navy); }
.hub .accordion-icon { color: var(--navy); }
/* closing call to action becomes a navy band */
.hub section.bg-tile:has(.tabular-nums.mb-10) { background: var(--navy) !important; }
.hub section.bg-tile:has(.tabular-nums.mb-10) .h2-section { color: var(--cream); }
.hub section.bg-tile:has(.tabular-nums.mb-10) p { color: #B9B2A6 !important; }
.hub section.bg-tile:has(.tabular-nums.mb-10) .tabular-nums { font-family: var(--serif); font-weight: 700 !important; color: var(--cream); }
.hub section.bg-tile:has(.tabular-nums.mb-10) .pill-primary { background: var(--cream) !important; color: var(--navy) !important; }
.hub section.bg-tile:has(.tabular-nums.mb-10) .pill-outline { color: var(--cream) !important; border-color: var(--cream) !important; }
/* related landing pages */
.hub-topics { padding: 88px 0; }
.hub-topics ul { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hub-topics li { border-bottom: 1px solid var(--line); }
.hub-topics a { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; text-decoration: none; }
.hub-topics small { color: var(--mute); font-size: 14px; }
.hub-topics h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.45; color: var(--navy); }
.hub-topics a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.hub-topics em { font-style: normal; font-size: 15px; color: var(--navy); }
@media (max-width: 833px) {
  .hub > section:first-child > .container-w:has(> .photo-radius), .hub > #dc-root > section:first-child > .container-w:has(> .photo-radius) { display: block; }
  .hub > section:first-child .photo-radius, .hub > #dc-root > section:first-child .photo-radius { margin-top: 36px !important; aspect-ratio: 4 / 3; }
  .hub-topics { padding: 56px 0; }
  .hub-topics a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
