/* Classical typography, balanced light/dark editorial cadence and museum framing (1.6.0). */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-500-latin.woff2") format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --muted: #5d5950; --shadow: 0 .75rem 2rem #04101c14; }
body { min-height: 100svh; display: flex; flex-direction: column; background: #f5f0e5; font-variant-numeric: lining-nums; }
body > main { flex: 1 0 auto; }
.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 300;
  padding: .75rem 1.15rem;
  background: #081b2b;
  color: #f6ead6;
  border: .0625rem solid #d2b77e;
  font: 600 .8125rem/1.3 var(--sans);
  transition: top .15s ease;
}
.skip-link:focus-visible { top: .85rem; }
.site-header {
  min-height: 5.15rem;
  background: linear-gradient(180deg, rgba(5, 16, 26, .92) 0%, rgba(5, 16, 26, .68) 65%, rgba(5, 16, 26, 0) 100%);
}
body:not(.home):not(.page-template-page-heritage):not(.page-template-page-services):not(.page-template-page-research):not(.page-template-page-careers):not(.page-template-page-people):not(.page-template-page-tools) .site-header,
.migration-guide-page .site-header {
  background: rgba(6, 21, 34, .96);
  border-bottom: .0625rem solid rgba(210, 183, 126, .24);
}
.site-header.is-scrolled {
  min-height: 4.35rem;
  background: rgba(6, 21, 34, .96);
  border-bottom: .0625rem solid rgba(210, 183, 126, .28);
}
.brand strong { font-weight: 600; font-size: 1.2rem; letter-spacing: .22em; }
.brand span { font-size: .6875rem; letter-spacing: .24em; }
.main-nav { gap: clamp(.6rem, 1.15vw, 1.25rem); letter-spacing: .12em; }
.main-nav a { position: relative; white-space: nowrap; padding-block: .35rem; }
.main-nav a[aria-current="page"] { color: var(--gold-2); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .0625rem;
  background: var(--gold-2);
}
:is(
  .kicker, .hero-kicker, .brand strong, .brand span, .main-nav, .language-switcher-toggle, .button,
  .era b, .service-card-illustrated > div > span, .post-card time, .person-era, .footer-legal,
  .heritage-overline, .heritage-label, .heritage-nav b, .heritage-chapter-head div span,
  .heritage-chapter-head div b, .heritage-chapter-head > p, .heritage-rule span,
  .heritage-portrait figcaption strong, .heritage-portrait figcaption span,
  .heritage-ledger figcaption b, .heritage-document-band figcaption b,
  .heritage-estate figcaption b, .heritage-finale-year,
  .services-hero-index, .services-hero-en, .services-nav b, .service-pillar-head span,
  .service-pillar-head b, .service-pillar-head p, .services-process li > span,
  .research-hero-en, .research-entry-number, .research-entry-meta, .research-entry time,
  .research-pagination a, .research-pagination span, .career-code, .careers-stat dt,
  .monograph-meta, .monograph-meta time, .migration-toc ol, .migration-route-number, .migration-reviewed time,
  .people-teaser-kicker, .people-subnav a b, .people-gov-index, .people-stat dt, .people-lineage-portrait figcaption strong,
  .tax-date, .tax-rate-tiers strong, .tax-rate-axis
) {
  font-variant-numeric: lining-nums;
}
.contact-careers-link {
  display: inline-block;
  margin-top: .35rem;
  color: #dfc18a;
  font: 500 .8125rem/1.45 var(--sans);
  letter-spacing: .05em;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.contact-careers-link:hover { color: #fff1d4; }
.language-switcher-toggle, .menu-toggle { min-height: 2.75rem; }
.services-refresh .services-nav, .heritage-nav {
  top: 4.35rem;
  background: rgba(7, 22, 35, .95);
  backdrop-filter: blur(12px);
  border-bottom: .0625rem solid rgba(210, 183, 126, .24);
}
.services-refresh .services-nav a {
  min-height: 2.95rem;
  padding: .625rem 1.25rem;
}
.wrap { max-width: 75rem; }
main { overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: .1875rem solid #b69055; outline-offset: .25rem; }
.wrap > *, .split > *, .section-head > *, .timeline-panel > *,
.heritage-chapter-head > *, .heritage-intro > *, .research-archive-head > * { min-width: 0; }
.section { padding: clamp(3.75rem, 7vw, 6.75rem) max(1.25rem, calc((100vw - 75rem) / 2)); }
.section h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 500; line-height: 1.35; letter-spacing: .025em; text-wrap: balance; }
.section-head { gap: clamp(1.75rem, 5vw, 4rem); margin-bottom: 2.75rem; }
.kicker { color: #725526; font: 600 .8125rem/1.6 var(--serif); letter-spacing: .2em; }
.dark .kicker { color: #d8bb82; }
.lead { max-width: 38em; font-size: clamp(1rem, 1.5vw, 1.1875rem); line-height: 1.9; }
.dark .lead { color: #d6cebe; }

.button {
  max-width: 100%;
  min-height: 2.875rem;
  padding: .875rem 1.45rem;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  white-space: normal;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { background: #c59f62; border-color: #c59f62; }
.button.ghost {
  background: rgba(7, 21, 34, .46);
  color: #f5ead5;
  border-color: rgba(210, 183, 126, .52);
}
.button.ghost:hover {
  background: rgba(210, 183, 126, .16);
  border-color: #e0c48c;
  color: #fff6e6;
}
/* Crisp light-paper secondary button (fixes muddy gray-black patch on light sections) */
.section:not(.dark) .button.ghost,
.research-overview-action .button.ghost {
  background: rgba(182, 144, 85, .08);
  color: #081b2b;
  border: .0625rem solid #9b7a43;
}
.section:not(.dark) .button.ghost:hover,
.research-overview-action .button.ghost:hover {
  background: #081b2b;
  color: #f5ead5;
  border-color: #081b2b;
}

.leather::after, .hero::after { opacity: .05; }

/* Bespoke Chiaroscuro Homepage Hero */
.home-editorial .hero {
  min-height: min(54rem, 100svh);
  padding: 11rem max(1.25rem, calc((100vw - 75rem) / 2)) 5rem;
  background: #06131f;
}
.home-editorial .hero::before { display: none; }
.home-editorial .hero-painting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.home-editorial .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 26, .95) 0%, rgba(6, 20, 32, .82) 39%, rgba(6, 20, 32, .22) 76%, rgba(6, 20, 32, .38) 100%),
    linear-gradient(180deg, rgba(4, 13, 22, .46) 0%, rgba(4, 13, 22, .08) 35%, rgba(5, 16, 26, .84) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 48rem; }
.hero-kicker { color: #d8bb82; margin-bottom: 1rem; }
.home-editorial > section[id] { scroll-margin-top: 4.5rem; }
.hero h1 { max-width: 14em; font-size: clamp(2.75rem, 6vw, 5.25rem); font-weight: 500; line-height: 1.2; letter-spacing: .035em; text-wrap: balance; }
.hero .en-title { margin-top: 1.35rem; font-size: clamp(1rem, 1.6vw, 1.3125rem); font-weight: 500; line-height: 1.5; letter-spacing: .24em; }
.hero .line { width: min(27rem, 80%); margin-block: 1.65rem; }
.hero p { max-width: 32em; color: #e5dccb; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.95; }

.paper-card { padding: 0; border: 0; background: none; box-shadow: none; }
.paper-card::before { display: none; }
.paper-card h2 { margin-bottom: 1.5rem; }
.paper-card p { color: #4f4c46; font-size: 1.0625rem; line-height: 1.95; }
.image-mat {
  padding: .55rem;
  border: .0625rem solid rgba(168, 134, 80, .38);
  background: linear-gradient(180deg, #efe6d4, #e5d8bf);
  box-shadow: 0 .875rem 2.25rem rgba(12, 18, 24, .09);
}
.split { gap: clamp(2rem, 6vw, 5rem); }

.timeline-panel { grid-template-columns: 1.03fr .97fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.timeline-panel .lead { margin: 1.5rem 0 2.25rem; }
.timeline-list { gap: 0; }
.era { grid-template-columns: 5rem 1fr; gap: 1.25rem; padding-block: 1.25rem; margin: 0; }
.era:first-child { padding-top: 0; }
.era b { font-size: 2rem; font-weight: 600; line-height: 1.15; letter-spacing: .02em; font-variant-numeric: lining-nums; }
.era strong { color: #eadbc0; font-size: .95rem; font-weight: 600; line-height: 1.55; letter-spacing: .09em; }
.era span { color: #ccc5b6; font-size: .9375rem; line-height: 1.9; }
.history-painting { margin: 0; align-self: center; }
.history-painting img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% center; border: .375rem solid rgba(182, 146, 90, .32); }
.history-painting figcaption { margin-top: .9rem; color: #d5bd91; font: 500 .75rem/1.6 var(--serif); letter-spacing: .18em; text-transform: uppercase; text-align: right; }

/* Cohesive Warm Parchment Charter Plaque for Authorisation Letter (replaces beige logo sticker) */
.history-authority { margin-top: clamp(3rem, 5.5vw, 4.5rem); }
.authority-banner {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border: .0625rem solid #bfa57a;
  background: linear-gradient(180deg, #f5efe2 0%, #eae0cb 100%);
  box-shadow:
    inset 0 0 0 .1875rem #f4ede0,
    inset 0 0 0 .25rem rgba(168, 134, 80, .32),
    0 1rem 2.25rem rgba(4, 10, 18, .32);
  color: #162433;
  isolation: isolate;
}
.authority-banner > img {
  width: 100%;
  height: auto;
  margin: 0;
  padding: .25rem .5rem;
  background: transparent;
  mix-blend-mode: multiply;
}
.authority-banner h3 { margin: 0 0 .45rem; color: #162433; font-size: 1.375rem; font-weight: 600; line-height: 1.45; }
.authority-banner p { margin: 0; color: #554c3e; font-size: .9375rem; line-height: 1.8; }
.authority-banner .button {
  align-self: center;
  background: #081b2b;
  border-color: #081b2b;
  color: #f5ead5;
}
.authority-banner .button:hover {
  background: #b69055;
  border-color: #b69055;
  color: #071522;
}

.service-grid-illustrated { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.service-card-illustrated {
  min-width: 0;
  padding: 0;
  border: .0625rem solid rgba(169, 140, 90, .42);
  background: linear-gradient(180deg, #fcf8f0 0%, #f4ecdc 100%);
  box-shadow: 0 .625rem 1.75rem rgba(24, 18, 10, .05);
}
.service-card-illustrated > img { aspect-ratio: 16 / 9; }
.service-card-illustrated > div { padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.service-card-illustrated h3 { margin: .875rem 0 .875rem; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.45; font-weight: 500; }
.service-card-illustrated p { max-width: 35em; font-size: 1rem; line-height: 1.9; color: #524e46; }
.service-card-illustrated > div > span { font: 600 1.05rem/1 var(--serif); letter-spacing: .08em; color: #735728; }
.service-card-illustrated i { color: #735728; line-height: 1.6; letter-spacing: .08em; }
.service-card-illustrated:hover { transform: translateY(-.1875rem); box-shadow: 0 1rem 2.25rem rgba(36, 26, 14, .11); }

/* Hong Kong Harbor Pavilion Band — breaks the 2,293px dark-on-dark collision cleanly */
.hongkong-pavilion-section {
  background: linear-gradient(180deg, #ede2cd 0%, #e4d6bc 100%);
  border-top: .0625rem solid rgba(166, 131, 76, .36);
  border-bottom: .0625rem solid rgba(166, 131, 76, .42);
}
.hongkong-pavilion {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background:
    radial-gradient(circle at 86% 18%, rgba(182, 144, 85, .15), transparent 24rem),
    linear-gradient(135deg, #081a29 0%, #0f2b41 100%);
  border: .0625rem solid rgba(196, 163, 106, .48);
  box-shadow:
    inset 0 0 0 .25rem rgba(8, 24, 38, .92),
    inset 0 0 0 .3125rem rgba(210, 183, 126, .26),
    0 1.5rem 3.25rem rgba(6, 16, 26, .18);
  color: #f3e8d4;
}
.hongkong-pavilion .image-mat {
  background: rgba(239, 228, 207, .12);
  border-color: rgba(210, 183, 126, .34);
  box-shadow: none;
}
.hongkong-pavilion .kicker { color: #d8bb82; }
.hongkong-pavilion h2 { color: #f6ead6; margin-bottom: 1.15rem; }
.hongkong-pavilion .lead { color: #d8d0c0; }

/* Balanced Portrait Proportions & Passe-Partout Gallery Framing */
.yan-ko-profile {
  margin: 0 0 2.25rem;
  border: .0625rem solid rgba(196, 163, 106, .42);
  box-shadow: 0 1.25rem 3rem rgba(3, 10, 18, .28);
  grid-template-columns: .88fr 1.22fr;
  align-items: stretch;
}
.yan-ko-copy { background: linear-gradient(180deg, #f6efe1 0%, #eae0cb 100%); padding: clamp(1.5rem, 2.6vw, 2.5rem) clamp(1.5rem, 3vw, 2.85rem); }
.yan-ko-intro { max-width: 36em; }
.yan-ko-roles { line-height: 1.85; margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
.yan-ko-portrait { height: 100%; overflow: hidden; background: #111d28; }
.yan-ko-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% 16%; }
.leader-profile-wen .yan-ko-portrait img { object-position: 50% 18%; }
.yan-ko-experience { margin: 1.25rem 0; padding-top: 1.25rem; }
.yan-ko-experience b { font: 600 3.25rem/1 var(--serif); }
.leader-mandates {
  display: grid;
  gap: .35rem;
  margin: 1.25rem 0;
  padding-top: 1.25rem;
  border-top: .0625rem solid var(--rule);
}
.leader-mandates-label {
  color: #735728;
  font: 600 .75rem/1.5 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.leader-mandates strong {
  color: var(--navy);
  font: 500 1.0625rem/1.6 var(--cjk);
  letter-spacing: .04em;
  text-wrap: balance;
}
/* Concise Homepage People Gallery (full dossiers live on dedicated /people/ archive) */
.people-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.people-teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #faf5ea 0%, #ede2cc 100%);
  border: .0625rem solid rgba(196, 163, 106, .48);
  box-shadow: 0 1.25rem 3rem rgba(3, 10, 18, .28);
  color: #162433;
}
.people-teaser-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111d28;
  aspect-ratio: 5 / 4;
}
.people-teaser-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 16%;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.leader-teaser-wen .people-teaser-portrait img {
  object-position: 50% 18%;
}
.people-teaser-card:hover .people-teaser-portrait img {
  transform: scale(1.03);
}
.people-teaser-portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 1.25rem;
  background: linear-gradient(180deg, rgba(6, 18, 29, 0) 0%, rgba(6, 18, 29, .86) 100%);
  color: #ebd6ae;
  font: 600 .6875rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.people-teaser-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.people-teaser-kicker {
  margin: 0 0 .45rem;
  color: #735728;
  font: 600 .72rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.people-teaser-body h3 {
  margin: 0;
  color: #0d1f30;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
}
.people-teaser-latin {
  margin: .2rem 0 1rem;
  color: #6b6355;
  font: 500 .875rem/1.4 var(--serif);
  letter-spacing: .08em;
}
.people-teaser-roles {
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0 0 1.05rem;
  border-bottom: .0625rem solid rgba(139, 107, 62, .25);
  display: grid;
  gap: .35rem;
  color: #162433;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.55;
}
.people-teaser-summary {
  margin: 0 0 1.35rem;
  color: #464239;
  font-size: .95rem;
  line-height: 1.8;
}
.people-teaser-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  color: #081b2b;
  font: 600 .8125rem/1.4 var(--sans);
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: .0625rem solid rgba(115, 87, 40, .48);
  padding-bottom: .2rem;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.people-teaser-link:hover {
  color: #7b5c2e;
  border-color: #7b5c2e;
  gap: .65rem;
}
.person-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .35rem .65rem 0;
  color: #dfc18a;
  font: 600 .78rem/1.4 var(--sans);
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: .0625rem solid rgba(210, 183, 126, .32);
  padding-bottom: .15rem;
}
.person-more:hover {
  color: #fff2dc;
  border-color: #fff2dc;
}
.people-overview-action {
  margin-top: 2.5rem;
  text-align: center;
}
.historical-figures-label { margin-top: 2.75rem; }

.person {
  padding: .75rem .75rem 1.4rem;
  background: linear-gradient(180deg, rgba(17, 38, 55, .78) 0%, rgba(9, 23, 36, .88) 100%);
  border: .0625rem solid rgba(210, 183, 126, .32);
  box-shadow:
    inset 0 0 0 .25rem rgba(8, 21, 33, .9),
    inset 0 0 0 .3125rem rgba(210, 183, 126, .18);
}
.person img {
  aspect-ratio: 4 / 4.35;
  object-position: center 16%;
  filter: none;
  border-bottom: .0625rem solid rgba(210, 183, 126, .22);
}
.person-era {
  display: block;
  margin: .95rem .65rem .3rem;
  color: #d5b77c;
  font: 600 .6875rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
}
.person h3, .person p { margin-inline: .65rem; }
.person h3 { margin-top: 0; font-size: 1.625rem; font-weight: 600; line-height: 1.3; letter-spacing: .015em; }
.person p { font-size: .9375rem; line-height: 1.8; }

/* Private-Bank Quarterly Monograph Research Cards */
.post-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, #fcf8f0 0%, #f2e9d7 100%);
  border: .0625rem solid rgba(166, 131, 76, .38);
  border-top: .1875rem solid #0d2436;
  box-shadow:
    inset 0 .25rem 0 #fbf7ef,
    inset 0 .3125rem 0 rgba(166, 131, 76, .42),
    0 .625rem 1.65rem rgba(20, 16, 10, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post-card:hover {
  transform: translateY(-.1875rem);
  box-shadow:
    inset 0 .25rem 0 #fbf7ef,
    inset 0 .3125rem 0 rgba(166, 131, 76, .58),
    0 1rem 2.25rem rgba(20, 16, 10, .1);
}
.post-card time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: .0625rem solid rgba(166, 131, 76, .26);
  color: #6f5326;
  font: 600 .875rem/1.3 var(--serif);
  letter-spacing: .14em;
  font-variant-numeric: lining-nums;
}
.post-card time::after {
  content: "DISPATCH";
  font: 600 .625rem/1 var(--sans);
  letter-spacing: .18em;
  color: #8a6d3b;
}
.post-card h3 { margin: 0 0 .875rem; font-size: 1.35rem; font-weight: 600; line-height: 1.52; color: #0b1e2e; }
.post-card p { color: #524d44; font-size: .95rem; line-height: 1.85; }
.post-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.1rem;
  margin-block-start: 1.35rem;
  border-top: .0625rem solid rgba(166, 131, 76, .24);
  color: #6f5326;
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .12em;
}
.post-link::after { content: "→"; font-size: .875rem; transition: transform .2s ease; }
.post-card:hover .post-link::after { transform: translateX(.2rem); }

/* Dedicated Crimson-Wax Correspondence Oil Painting on Contact Band */
.contact-band {
  padding: clamp(2rem, 5vw, 4rem);
  gap: 3rem;
  background-image:
    linear-gradient(105deg, rgba(6, 20, 32, .95) 0%, rgba(8, 27, 43, .85) 48%, rgba(8, 27, 43, .54) 100%),
    url("oil/contact-correspondence-v1.webp");
  background-position: center right;
  background-size: cover;
  border: .0625rem solid rgba(196, 163, 106, .42);
  box-shadow:
    inset 0 0 0 .25rem rgba(7, 21, 33, .86),
    inset 0 0 0 .3125rem rgba(210, 183, 126, .24),
    0 1.5rem 3.5rem rgba(4, 12, 20, .2);
}
.contact-band > *, .contact-meta, .contact-item { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.contact-band h2 { color: #f5ead5; }

/* Unified 4-Column Localized Footer + Legal Scope Bar */
.site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) max(1.25rem, calc((100vw - 75rem) / 2)) 2.25rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
  border-top: .0625rem solid rgba(210, 183, 126, .24);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .9fr);
  align-items: start;
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
  max-width: 75rem;
  margin: 0 auto;
}
.footer-nav,
.footer-links {
  display: grid;
  gap: .45rem;
}
.footer-col-label {
  margin-bottom: .2rem;
  color: #d5b77c;
  font: 600 .6875rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-nav a,
.footer-links a {
  color: rgba(245, 234, 213, .76);
  transition: color .2s ease;
}
.footer-nav a:hover,
.footer-links a:hover {
  color: var(--gold-2);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem 2rem;
  max-width: 75rem;
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: .0625rem solid rgba(210, 183, 126, .16);
  color: rgba(245, 234, 213, .56);
  font-size: .75rem;
  line-height: 1.7;
}
.footer-legal p { margin: 0; max-width: 56em; }
.footer-legal span { white-space: nowrap; color: rgba(245, 234, 213, .72); }

/* Monograph Dispatch Single Post & 404 Archival Notice */
.monograph-page {
  padding: 8.25rem max(1.25rem, calc((100vw - 75rem) / 2)) 5rem;
}
.monograph-article {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4.5vw, 3.75rem);
  background: linear-gradient(180deg, #fcf8f0 0%, #f3ead8 100%);
  border: .0625rem solid rgba(166, 131, 76, .45);
  border-top: .22rem solid #0b1f31;
  box-shadow:
    inset 0 .25rem 0 #fbf7ef,
    inset 0 .3125rem 0 rgba(166, 131, 76, .42),
    0 1rem 2.5rem rgba(18, 14, 8, .07);
}
.bl-article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.45rem;
  font: 500 .8125rem/1.5 var(--sans);
  color: #735728;
}
.bl-article-breadcrumb a {
  color: #735728;
  border-bottom: .0625rem solid rgba(115, 87, 40, .3);
}
.bl-article-breadcrumb a:hover { color: #081b2b; border-color: #081b2b; }
.monograph-header {
  margin-bottom: 2.15rem;
  padding-bottom: 1.65rem;
  border-bottom: .0625rem solid rgba(166, 131, 76, .32);
}
.monograph-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  margin-bottom: .9rem;
  color: #735728;
}
.monograph-kicker {
  font: 600 .72rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.monograph-meta time {
  font: 600 .9375rem/1.3 var(--serif);
  letter-spacing: .12em;
  font-variant-numeric: lining-nums;
}
.monograph-article h1 {
  margin: 0;
  color: #081b2b;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}
.monograph-pagination {
  margin-top: 2.75rem;
  padding-top: 1.85rem;
  border-top: .0625rem solid rgba(166, 131, 76, .32);
}
.monograph-pager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.monograph-pager-link {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, .45);
  border: .0625rem solid rgba(166, 131, 76, .34);
  border-bottom: .0625rem solid rgba(166, 131, 76, .34) !important;
  transition: background .2s ease, border-color .2s ease;
}
.monograph-pager-link:hover {
  background: #fff9ed;
  border-color: #735728 !important;
}
.monograph-pager-link span {
  color: #735728;
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .08em;
}
.monograph-pager-link strong {
  color: #081b2b;
  font: 600 .96875rem/1.5 var(--cjk);
}
.monograph-pager-next { text-align: end; }
.monograph-back-wrap {
  margin-top: 1.65rem;
  text-align: center;
}
.monograph-back-wrap .button.ghost {
  background: rgba(182, 144, 85, .08);
  color: #081b2b;
  border: .0625rem solid #9b7a43;
}
.monograph-back-wrap .button.ghost:hover {
  background: #081b2b;
  color: #f5ead5;
  border-color: #081b2b;
}
.error-404-page {
  display: grid;
  align-items: center;
  padding: 9rem max(1.25rem, calc((100vw - 75rem) / 2)) 5rem;
}
.error-404-card { max-width: 48rem; }
.error-404-card h1 { margin: 0 0 1rem; }
.error-404-actions { margin-top: 2rem; }
.error-404-card .button.ghost {
  background: rgba(182, 144, 85, .08);
  color: #081b2b;
  border: .0625rem solid #9b7a43;
}
.error-404-card .button.ghost:hover {
  background: #081b2b;
  color: #f5ead5;
  border-color: #081b2b;
}

/* Services Page Refinements */
.services-refresh [id] { scroll-margin-top: 8.75rem; }
.services-refresh .services-hero { min-height: min(52rem, 100svh); }
.services-refresh .services-hero > img { object-position: center; }
.services-refresh .services-hero-overlay { background: linear-gradient(90deg, #06131df2, #06131da6 43%, #06131d12 78%), linear-gradient(0deg, #06131d8c, transparent 70%); }
.services-refresh .services-hero-inner { width: min(75rem, calc(100% - 2.5rem)); max-width: none; padding-block: 10rem 5rem; }
.services-refresh .services-hero h1 { max-width: 10em; font-size: clamp(2.25rem, 4.6vw, 4.2rem); line-height: 1.3; font-weight: 500; letter-spacing: .025em; text-wrap: balance; }
.services-refresh .services-hero-lead { max-width: 30em; color: #e0d6c6; font-size: clamp(1rem, 1.5vw, 1.1875rem); line-height: 1.95; }
.services-refresh .services-hero-en { max-width: 33em; font-size: .9375rem; line-height: 1.7; letter-spacing: .14em; }
.services-refresh .services-nav span { font-size: .875rem; }
.services-refresh .service-pillar { padding-block: clamp(4rem, 7vw, 6.5rem); }
.services-refresh .service-pillar-paper { background: #f3ecdd; }
.services-refresh .service-pillar-head { margin-bottom: 2.75rem; }
.services-refresh .service-pillar-layout { grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.services-refresh .service-pillar-visual { min-width: 0; margin: 0; padding: .45rem; border-color: #ad8c5559; background: #c2a77940; box-shadow: none; }
.services-refresh .service-pillar-visual img { aspect-ratio: 16 / 9; }
.services-refresh .service-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border: 0; margin-top: 3rem; }
.services-refresh .service-scope article { padding: 1.5rem 0; border: 0; border-top: .0625rem solid var(--rule); }
.services-refresh .service-pillar-dark .service-scope article { border-color: #d2b77e45; }
.services-refresh .service-scope h3 { margin: .875rem 0 .625rem; font-size: 1.25rem; }
.services-refresh .service-scope p { max-width: 39em; font-size: 1rem; }
.services-refresh .service-deliverables { padding: 1.75rem 2rem; margin-top: 2rem; border: 0; border-left: .1875rem solid #a1834f; background: #e9dec8; }
.services-refresh .service-pillar-dark .service-deliverables { background: #d9bc8110; border-color: #b59962; }
.services-refresh .service-deliverables li { line-height: 1.85; }
.atlas-map { background: #eee2ca; box-shadow: none; }
.atlas-grid { opacity: .5; }
.atlas-briefs { background: #e8ddc7; }
.hong-kong-renewal { border: 0; border-top: .0625rem solid #ad9267; border-bottom: .0625rem solid #ad9267; background: #ebe0ca; }
.family-service { border-color: #bc9c6445; background: #0d2637; }
.family-service > img { aspect-ratio: 16 / 9; }
.family-service-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.services-refresh .family-service .service-deliverables { padding: 1.25rem; }
.services-refresh .services-closing-overlay { background: linear-gradient(90deg, #071725f2, #071725a6 49%, #07172514 85%); }
.services-refresh .services-closing-copy { width: min(75rem, calc(100% - 2.5rem)); max-width: none; padding: 5rem 0; }
.services-refresh .services-closing-copy > * { max-width: 30em; }
.services-refresh .services-closing h2 { max-width: 16em; }
.services-refresh .services-professional-note { max-width: 38em; }

/* Heritage & Research Subpages */
html[lang^="en"] .heritage-en { display: none; }
.heritage-hero .heritage-scroll { margin-top: 2.25rem; }
.heritage-hero h1 { max-width: 15em; white-space: normal; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.25; letter-spacing: .035em; text-wrap: balance; }
.heritage-hero-content { width: min(48rem, calc(100% - 2.5rem)); padding-block: 10rem 5rem; margin-left: max(1.25rem, calc((100vw - 75rem) / 2)); }
.heritage-standfirst { max-width: 32em; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.95; }
.heritage-en { font-size: 1.0625rem; line-height: 1.7; letter-spacing: .16em; }
.heritage-nav-inner { max-width: 75rem; }
.heritage-page [id] { scroll-margin-top: 9.75rem; }
.heritage-nav a { min-width: 0; min-height: 3.15rem; }
.heritage-nav span { color: #d0c4b1; line-height: 1.5; }
.heritage-intro { max-width: 75rem; padding: clamp(4rem, 7vw, 7rem) 1.25rem; gap: clamp(2.5rem, 5vw, 5rem); }
.heritage-intro-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.4; }
.heritage-intro-copy p, .heritage-copy p { max-width: 40em; font-size: 1.0625rem; line-height: 1.95; }
.heritage-intro blockquote { padding: 2.5rem 2rem; box-shadow: none; }
.heritage-label, .heritage-chapter-head div span, .heritage-chapter-head > p { color: #735728; }
.heritage-chapter-dark .heritage-chapter-head div span, .heritage-chapter-dark .heritage-chapter-head > p { color: #d5b77c; }
.heritage-chapter { padding: clamp(4rem, 7vw, 7rem) max(1.25rem, calc((100vw - 75rem) / 2)); }
.heritage-chapter-paper { background: #f0e7d4; }
.heritage-chapter-head { grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 2rem; margin-bottom: 2.5rem; }
.heritage-chapter-head h2 { font-size: clamp(1.875rem, 3.3vw, 3rem); line-height: 1.4; text-wrap: balance; }
.heritage-chapter-head > p { max-width: 18em; font-size: .875rem; line-height: 1.6; }
.heritage-chapter-head div b { font-size: 1.5rem; line-height: 1.3; }
.heritage-portrait { padding: .5rem; box-shadow: none; }
.heritage-origin-grid, .heritage-file-feature, .heritage-ledger { margin-top: clamp(3rem, 6vw, 5rem) !important; }
.heritage-two-up { gap: clamp(2rem, 5vw, 4.5rem); }
.heritage-page figcaption { line-height: 1.75; }
/* Break dark-on-dark collisions on Heritage #era-1979 & #era-2018 */
.heritage-modern {
  display: block;
  min-height: 0;
  padding: clamp(3.5rem, 6.5vw, 5.5rem) max(1.25rem, calc((100vw - 75rem) / 2));
  background: #e3d5ba;
  border-top: .0625rem solid rgba(166, 131, 76, .36);
}
.heritage-modern-frame {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  background: #071927;
  border: .0625rem solid rgba(196, 163, 106, .45);
  box-shadow:
    inset 0 0 0 .25rem rgba(7, 21, 33, .92),
    inset 0 0 0 .3125rem rgba(210, 183, 126, .22),
    0 1.25rem 3rem rgba(6, 16, 26, .18);
}
.heritage-modern-image img { min-height: 30rem; height: 100%; }
.heritage-modern-copy { background: transparent; padding: clamp(2.25rem, 5vw, 4.5rem); }
.heritage-asia {
  padding: clamp(3.75rem, 7vw, 6rem) max(1.25rem, calc((100vw - 75rem) / 2));
  background: linear-gradient(180deg, #ede2cd 0%, #e4d6bc 100%);
  border-top: .0625rem solid rgba(166, 131, 76, .36);
  border-bottom: .0625rem solid rgba(166, 131, 76, .42);
}
.heritage-asia-card {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4.5rem);
  background:
    linear-gradient(rgba(5, 16, 25, .86), rgba(5, 16, 25, .93)),
    url("heritage/hong-kong-files.webp") center/cover no-repeat;
  border: .0625rem solid rgba(196, 163, 106, .48);
  box-shadow:
    inset 0 0 0 .25rem rgba(8, 24, 38, .92),
    inset 0 0 0 .3125rem rgba(210, 183, 126, .26),
    0 1.5rem 3.25rem rgba(6, 16, 26, .18);
}
.research-hero-inner, .research-archive { width: min(75rem, calc(100% - 2.5rem)); }
.research-hero h1 { max-width: 14em; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.25; letter-spacing: .035em; text-wrap: balance; }
.research-hero-lead { max-width: 32em; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.95; }
.research-archive { padding-block: clamp(4rem, 7vw, 6rem); }
.research-archive-head h2, .research-principle h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.4; }
.research-entry-meta { flex-wrap: wrap; line-height: 1.65; }
.research-entry h3 { line-height: 1.5; }
.research-entry-featured h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.45; }
.research-principle.dark {
  color: #efe4cf;
  background:
    radial-gradient(circle at 80% 20%, rgba(182, 144, 85, .14), transparent 26rem),
    linear-gradient(135deg, #071622, #0d2a41);
  border-top: .0625rem solid rgba(210, 183, 126, .24);
}
.research-principle.dark > div > p:first-child { color: #d8bb82; }
.research-principle.dark h2 { color: #f6ead6; }
.research-principle.dark > div > p:last-child { color: #d6cebe; }

@media (max-width: 70rem) {
  .authority-banner { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem 1.5rem; }
  .authority-banner .button { grid-column: 2; justify-self: start; }
  .heritage-chapter-head { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem 1.5rem; }
  .heritage-chapter-head > p { grid-column: 2; margin: 0; }
}
@media (max-width: 56.25rem) {
  .people-teaser-grid { grid-template-columns: 1fr; }
  .section-head, .split, .timeline-panel, .yan-ko-profile,
  .services-refresh .service-pillar-layout { grid-template-columns: 1fr; }
  .history-painting img { aspect-ratio: 16 / 10; object-position: center; }
  .yan-ko-portrait { height: auto; aspect-ratio: 1.45; }
  .yan-ko-portrait img { object-position: 50% 24%; }
  .leader-profile-wen .yan-ko-portrait img { object-position: 50% 20%; }
  .home-editorial .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 16, 26, .93), rgba(6, 20, 32, .72)),
      linear-gradient(180deg, rgba(4, 13, 22, .35), rgba(5, 16, 26, .88));
  }
  .services-refresh .services-hero-overlay { background: linear-gradient(90deg, #06131de6, #06131d8c), linear-gradient(0deg, #06131d99, transparent); }
  .services-refresh .services-hero h1 { max-width: 15em; }
  .services-refresh .services-hero-lead { max-width: 35em; }
  .heritage-intro { grid-template-columns: 1fr; }
  .heritage-modern-frame { grid-template-columns: 1fr; }
  .heritage-modern-image img { min-height: 22rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-band { gap: 2rem; }
}
@media (max-width: 40rem) {
  .services-refresh [id] { scroll-margin-top: 10.5rem; }
  .heritage-page [id] { scroll-margin-top: 10.5rem; }
  .service-grid-illustrated { grid-template-columns: 1fr; gap: 1.75rem; }
  .authority-banner { grid-template-columns: 1fr; }
  .authority-banner > img { width: 9rem; padding: 0; }
  .authority-banner .button { grid-column: auto; }
  .hongkong-pavilion { padding: 1.35rem; }
  .heritage-asia-card { padding: 1.5rem; }
  .monograph-page { padding-top: 6.75rem; }
  .monograph-pager-grid { grid-template-columns: 1fr; }
  .monograph-pager-next { text-align: start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal span { white-space: normal; }
  .services-refresh .service-scope { grid-template-columns: 1fr; }
  .services-refresh .service-deliverables { padding: 1.5rem; }
  .services-refresh .service-deliverables ul { grid-template-columns: 1fr; }
  .heritage-chapter-head { grid-template-columns: 1fr; }
  .heritage-chapter-head > p { grid-column: auto; }
  .heritage-hero h1 { max-width: 12em; }
  .home-editorial .hero { padding-top: 9rem; padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); }
  .hero .en-title { font-size: .875rem; letter-spacing: .14em; }
  .services-refresh .services-hero-inner { padding-block: 9rem 3.5rem; }
  .services-refresh .services-hero h1 { font-size: clamp(2.125rem, 8vw, 3rem); }
  .services-refresh .services-nav span { font-size: .8125rem; }
  .era { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .era b { font-size: 1.65rem; }
  .yan-ko-portrait { aspect-ratio: 1; }
  .yan-ko-focus { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
}
@media (prefers-contrast: more) {
  :root { --muted: #38352f; }
  .paper-card p, .service-card-illustrated p, .post-card p { color: #24211c; }
  .kicker, .post-card time, .post-link, .leader-mandates-label { color: #523b16; }
  .dark .lead, .hongkong-pavilion .lead { color: #f2ead9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card-illustrated:hover, .post-card:hover { transform: none; }
  .service-card-illustrated, .post-card, .post-link::after, .button { transition: none; }
}
