.ref-home { --ref-ink: #252923; --ref-muted: #62685f; --ref-gold: #876832; --ref-rule: #dedfd9; }
/* Homepage-only integration. The established footer and other pages keep their CSS. */
body[data-home-refinement] .site > .nav { min-height: 82px; height: 82px; margin-bottom: 0; }
body[data-home-refinement] .site > .ref-home { width: 100vw; margin-inline: calc(50% - 50vw); margin-top: -82px; font-family: Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.ref-home h1, .ref-home h2, .ref-home h3, .ref-home h4 { font-family: inherit; text-wrap: pretty; }
.ref-home a { color: inherit; text-decoration: none; }
.ref-home .ref-entry { color: var(--ref-gold); }
.ref-home .ref-hero h1 { font-family: Gruppo, sans-serif; }
.ref-home .ref-icon { display: inline-block; flex: none; width: 18px; height: 18px; max-width: 18px; object-fit: contain; }
.ref-close, .ref-menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.ref-menu-toggle { display: none; }
.ref-menu-toggle img { display: block; width: 20px; height: 20px; }
.ref-home .ref-image-dialog { margin: auto; }
@media (max-width: 900px) {
  body[data-home-refinement] .site > .nav.ref-nav-ready { display: flex; flex-wrap: nowrap; min-height: 72px; height: 72px; padding: 0; overflow: visible; }
  body[data-home-refinement]:has(.ref-nav-ready) .site > .ref-home { margin-top: -72px; }
  body[data-home-refinement] .ref-nav-ready .nav-right { display: flex; flex-direction: row; align-items: center; gap: 8px; width: auto; margin-left: auto; }
  body[data-home-refinement] .ref-nav-ready .brand { order: 0; }
  body[data-home-refinement] .ref-nav-ready .nav-right { order: 1; }
  body[data-home-refinement] .ref-nav-ready .ref-menu-toggle { order: 3; }
  body[data-home-refinement] .ref-nav-ready .nav-links { display: none; }
  body[data-home-refinement] .ref-nav-ready .ref-menu-toggle { display: inline-grid; }
  body[data-home-refinement] .ref-nav-ready.ref-menu-open .nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; position: absolute; top: 72px; left: 0; right: 0; margin: 0; padding: 20px; background: #fdfdfc; border: 1px solid #dedfd9; max-height: calc(100dvh - 90px); overflow: auto; }
  body[data-home-refinement] .ref-nav-ready .brand-text { font-size: 26px; }
}
@media (max-width: 600px) {
  body[data-home-refinement] .site > .nav.ref-nav-ready { min-height: 70px; height: 70px; }
  body[data-home-refinement]:has(.ref-nav-ready) .site > .ref-home { margin-top: -70px; }
  body[data-home-refinement] .ref-nav-ready .brand { gap: 8px; }
  body[data-home-refinement] .ref-nav-ready .brand-mark { width: 28px; height: 28px; min-width: 28px; }
  body[data-home-refinement] .ref-nav-ready .brand-text { font-size: 23px; }
  body[data-home-refinement] .ref-nav-ready .nav-right { gap: 0; }
  body[data-home-refinement] .ref-nav-ready .lang-switch { gap: 0; }
  body[data-home-refinement] .ref-nav-ready .lang-switch a { min-width: 28px; font-size: 12px; }
  body[data-home-refinement] .ref-nav-ready .ref-menu-toggle { width: 34px; padding: 5px; }
  body[data-home-refinement] .ref-nav-ready.ref-menu-open .nav-links { top: 70px; }
}
@media (max-width: 370px) {
  body[data-home-refinement] .ref-nav-ready .brand { gap: 6px; }
  body[data-home-refinement] .ref-nav-ready .brand-text { font-size: 21px; }
  body[data-home-refinement] .ref-nav-ready .brand-mark { width: 25px; height: 25px; min-width: 25px; }
}
.ref-home { color: var(--ref-ink); background: var(--paper); }
.ref-shell { width: calc(100% - 11%); max-width: 1320px; margin-inline: auto; }
.ref-home h1, .ref-home h2, .ref-home h3, .ref-home h4, .ref-home p { margin: 0; letter-spacing: 0; }
.ref-home a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ref-home a:hover { color: var(--ref-gold); }
.ref-home :focus-visible { outline: 2px solid var(--ref-gold); outline-offset: 5px; }
.ref-hero { position: relative; min-height: 640px; height: 690px; max-height: none; isolation: isolate; }
.ref-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; }
/* Contrast and edge masks sit over the existing photograph, not substitute artwork. */
.ref-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(254,254,253,.64), rgba(254,254,253,.19) 32%, transparent 58%); }
.ref-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 88px; z-index: -1; background: linear-gradient(transparent, var(--paper)); }
.ref-hero-inner { height: 100%; display: flex; align-items: center; padding-top: 46px; padding-bottom: 18px; }
.ref-hero-copy { max-width: 660px; }
.ref-eyebrow { color: var(--ref-gold); font-size: 15px; line-height: 1.7; font-weight: 500; }
.ref-hero h1 { font-family: Gruppo, sans-serif; font-size: 86px; line-height: 1.06; font-weight: 400; margin-block: 20px 26px; }
.ref-hero h2 { font-size: 38px; line-height: 1.55; font-weight: 650; max-width: 620px; }
.ref-hero-support { font-size: 18px; line-height: 1.85; margin-top: 15px !important; max-width: 540px; text-wrap: pretty; }
.ref-entry { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--ref-gold); font-weight: 500; text-decoration: none; }
.ref-entry svg { flex: none; transition: transform .15s ease; }
.ref-entry:hover svg { transform: translateX(3px); }
.ref-primary { border: 1px solid var(--ref-gold); background: #fdfdfc8c; padding: 12px 22px; min-height: 48px; margin-top: 30px; }
.ref-primary:hover { background: #fdfdfc; }
.ref-section { padding-block: 28px 0; margin-bottom: 106px; scroll-margin-top: 100px; }
.ref-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ref-rule); }
.ref-section-heading > div { display: flex; align-items: baseline; gap: 24px; }
.ref-section-heading h2 { font-size: 32px; font-weight: 600; line-height: 1.2; }
.ref-section-heading p { font-size: 14px; line-height: 1.7; color: var(--ref-muted); }
.ref-section-heading > .ref-entry { flex: none; color: var(--ref-muted); font-size: 13px; }
.ref-research-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 88px; padding-top: 34px; }
.ref-featured h3 { font-size: 44px; line-height: 1.35; font-weight: 650; }
.ref-featured-deck { margin-top: 16px !important; font-size: 28px; line-height: 1.55; color: #565d54; max-width: 550px; text-wrap: pretty; }
.ref-verdict { margin-top: 30px; }
.ref-label { display: block; font-size: 13px; color: var(--ref-muted); line-height: 1.6; margin-bottom: 8px; font-weight: 500; }
.ref-verdict p { font-size: 20px; line-height: 1.75; max-width: 540px; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ref-muted); font-size: 14px; line-height: 1.7; margin-top: 24px !important; margin-bottom: 14px !important; }
.ref-recent { border-left: 1px solid var(--ref-rule); padding-left: 40px; }
.ref-recent > h3 { font-size: 16px; margin-bottom: 28px; font-weight: 600; }
.ref-recent article { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 22px; padding-bottom: 26px; }
.ref-recent article + article { border-top: 1px solid var(--ref-rule); padding-top: 28px; }
.ref-recent time { color: var(--ref-muted); font-size: 14px; padding-top: 4px; }
.ref-recent h4 { font-size: 22px; font-weight: 600; line-height: 1.6; }
.ref-recent article p { font-size: 15px; line-height: 1.7; color: var(--ref-muted); margin-top: 6px; }
.ref-recent-link { display: inline-flex; align-items: center; color: var(--ref-gold); min-height: 36px; margin-top: 8px; }
.ref-main-topic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 52px; padding-top: 40px; }
.ref-main-topic h3 { font-size: 34px; line-height: 1.55; margin-block: 12px 18px; font-weight: 600; }
.ref-topic-detail { font-size: 18px; line-height: 1.9; color: var(--ref-muted); text-wrap: pretty; }
.ref-research { display: flex; align-items: baseline; gap: 16px; margin-block: 24px 20px !important; font-size: 13px; line-height: 1.9; }
.ref-research > span { color: var(--ref-muted); flex: none; }
.ref-research a { text-decoration: underline; text-decoration-color: #b7ae97; }
.ref-topic-art { display: block; min-width: 0; }
.ref-topic-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent); mask-composite: intersect; }
.ref-supporting-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; margin-top: 48px; }
.ref-supporting-topic { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: start; gap: 24px; }
.ref-supporting-topic .ref-topic-art { margin-top: 20px; }
.ref-supporting-topic h3 { font-size: 24px; line-height: 1.45; margin-bottom: 14px; font-weight: 600; }
.ref-supporting-topic .ref-label { color: var(--ref-gold); font-size: 12px; }
.ref-supporting-topic .ref-topic-detail { font-size: 16px; line-height: 1.85; }
.ref-supporting-topic .ref-research { flex-direction: column; align-items: flex-start; gap: 4px; margin-block: 18px !important; }
.ref-supporting-topic .ref-entry { font-size: 13px; gap: 8px; }
.ref-work-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.8fr); gap: 64px; align-items: start; padding-top: 34px; }
.ref-work-copy h3 { font-weight: 400; font-size: 34px; line-height: 1.22; margin-block: 12px 20px; }
.ref-work-copy > p:not(.ref-eyebrow), .ref-tradeoff p { font-size: 17px; line-height: 1.85; color: var(--ref-muted); }
.ref-tradeoff { margin-block: 28px 24px; }
.ref-evidence { min-width: 0; margin: 0; padding-top: 4px; }
.ref-evidence-open { display: block; padding: 0; width: 100%; position: relative; border: 1px solid var(--ref-rule); background: #fafaf8; cursor: zoom-in; }
.ref-evidence-open img { display: block; width: 100%; height: auto; }
.ref-zoom-icon { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; background: #fdfdfc; border: 1px solid var(--ref-rule); }
.ref-evidence figcaption { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ref-muted); font-size: 12px; line-height: 1.8; padding-top: 15px; }
.ref-evidence figcaption b { color: var(--ref-gold); margin-right: 7px; font-weight: 500; }
.ref-evidence small { display: block; flex-basis: 100%; font-size: 11px; }
.ref-image-dialog { width: min(1380px, calc(100% - 40px)); max-width: none; max-height: 90dvh; padding: 0; border: 1px solid var(--ref-rule); color: var(--ref-ink); background: var(--paper); }
.ref-image-dialog::backdrop { background: #171c20b5; }
.ref-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-bottom: 1px solid var(--ref-rule); font-size: 15px; }
.ref-image-scroll { overflow: auto; max-height: calc(90dvh - 70px); }
.ref-image-scroll img { display: block; width: 100%; min-width: 960px; height: auto; max-width: none; }
.ref-closing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; border-top: 1px solid var(--ref-rule); padding-top: 40px; padding-bottom: 80px; }
.ref-closing h2 { font-size: 22px; line-height: 1.55; font-weight: 500; max-width: 410px; margin-block: 8px 20px; }
@media (min-width: 1700px) { .ref-hero { height: 740px; } .ref-hero-image { object-position: center 55%; } }
@media (max-width: 1190px) {
  .ref-hero { height: 620px; min-height: 600px; }
  .ref-hero h1 { font-size: 66px; }
  .ref-hero h2 { font-size: 30px; }
  .ref-research-grid { gap: 52px; }
  .ref-recent { padding-left: 28px; }
  .ref-featured h3 { font-size: 32px; }
  .ref-featured-deck { font-size: 24px; }
  .ref-main-topic { gap: 28px; }
  .ref-main-topic h3 { font-size: 28px; }
  .ref-supporting-topics { gap: 64px; }
  .ref-supporting-topic { display: block; }
  .ref-supporting-topic .ref-topic-art { margin: 0 0 16px; max-width: 380px; }
  .ref-work-grid { gap: 36px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); }
  .ref-work-copy h3 { font-size: 32px; }
}
@media (max-width: 900px) {
  .ref-hero { height: 620px; }
  .ref-hero-image { object-position: 45% center; }
  .ref-research-grid { gap: 32px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .ref-featured h3 { font-size: 28px; }
  .ref-featured-deck { font-size: 22px; }
  .ref-recent { padding-left: 24px; }
  .ref-recent article { display: block; }
  .ref-recent h4 { font-size: 18px; margin-top: 8px; }
  .ref-section-heading > div { display: block; }
  .ref-section-heading p { margin-top: 10px; }
  .ref-main-topic { grid-template-columns: 1fr; gap: 16px; }
  .ref-main-topic .ref-topic-art { grid-row: 1; max-width: 600px; width: 100%; margin-inline: auto; }
  .ref-topic-copy { max-width: 640px; }
  .ref-main-topic h3 { font-size: 30px; }
  .ref-supporting-topics { gap: 40px; }
  .ref-work-grid { grid-template-columns: 1fr; gap: 32px; }
  .ref-work-copy { max-width: 560px; }
  .ref-work-copy h3 { font-size: 34px; }
  .ref-closing { gap: 40px; }
}
@media (max-width: 600px) {
  .ref-shell { width: calc(100% - 48px); }
  .ref-hero { height: auto; min-height: 610px; }
  .ref-hero-inner { display: block; padding-top: 140px; padding-bottom: 90px; }
  .ref-hero-image { object-position: 38% center; }
  .ref-hero::before { background: linear-gradient(90deg, #fefefda3, #fefefd68 58%, #fefefd25); }
  .ref-eyebrow { font-size: 12px; }
  .ref-hero h1 { font-size: 50px; line-height: 1.1; margin-block: 22px 28px; }
  .ref-hero h2 { font-size: 25px; line-height: 1.65; }
  .ref-hero-support { font-size: 15px; max-width: 330px; margin-top: 20px !important; }
  .ref-primary { margin-top: 28px; padding: 11px 16px; font-size: 14px; }
  .ref-section { padding-top: 24px; margin-bottom: 72px; }
  .ref-section-heading { padding-bottom: 18px; gap: 16px; flex-wrap: wrap; }
  .ref-section-heading h2 { font-size: 27px; }
  .ref-section-heading p { font-size: 12px; }
  .ref-section-heading > .ref-entry { font-size: 12px; gap: 8px; }
  .ref-research-grid { display: block; padding-top: 28px; }
  .ref-featured h3 { font-size: 28px; }
  .ref-featured-deck { font-size: 21px; line-height: 1.7; }
  .ref-verdict { margin-top: 25px; }
  .ref-verdict p { font-size: 16px; }
  .ref-recent { border-left: 0; border-top: 1px solid var(--ref-rule); margin-top: 36px; padding: 28px 0 0; }
  .ref-recent > h3 { margin-bottom: 24px; }
  .ref-recent article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 22px; }
  .ref-recent h4 { margin-top: 0; }
  .ref-recent article + article { padding-top: 22px; }
  .ref-main-topic { padding-top: 18px; gap: 12px; }
  .ref-main-topic h3 { font-size: 26px; }
  .ref-main-topic h3 br { display: none; }
  .ref-topic-detail { font-size: 15px; }
  .ref-research { display: block; }
  .ref-research > span { display: block; margin-bottom: 5px; }
  .ref-supporting-topics { display: block; margin-top: 42px; }
  .ref-supporting-topic + .ref-supporting-topic { margin-top: 42px; }
  .ref-supporting-topic .ref-topic-art { max-width: 400px; margin-inline: auto; }
  .ref-supporting-topic h3 { font-size: 24px; }
  .ref-supporting-topic .ref-research { display: block; }
  .ref-supporting-topic .ref-entry { font-size: 14px; }
  .ref-work-grid { padding-top: 28px; }
  .ref-work-copy h3 { font-size: 32px; }
  .ref-closing { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 56px; }
  .ref-image-dialog { width: calc(100% - 20px); }
  .ref-dialog-bar { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 370px) {
  .ref-shell { width: calc(100% - 36px); }
  .ref-hero h1 { font-size: 44px; }
  .ref-hero h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .ref-entry svg { transition: none; } }
