/* 159C typography: the approved default is Option A (Cormorant display + Inter
   body, with subsetted Noto Sans SC for Chinese). data-font-review="b" remains
   available for comparison without changing the default. */
html {
  --font-display: "Cormorant Garamond", "ROAN Noto SC", Georgia, serif;
  --font-ui: "Inter Variable", "ROAN Noto SC", sans-serif;
  --rf-font-heading: "Cormorant Garamond", "ROAN Noto SC", Georgia, serif;
  --rf-font-body: "Inter Variable", "ROAN Noto SC", sans-serif;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600.ttf?v=158c-font") format("truetype");
}

@font-face {
  font-family: "ROAN Noto SC";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-400.ttf?v=158c-font") format("truetype");
}

@font-face {
  font-family: "ROAN Noto SC";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-700.ttf?v=158c-font") format("truetype");
}

html[data-font-review="a"], html:not([data-font-review]) {
  --font-display: "Cormorant Garamond", "ROAN Noto SC", Georgia, serif;
  --font-ui: "Inter Variable", "ROAN Noto SC", sans-serif;
  --rf-font-heading: "Cormorant Garamond", "ROAN Noto SC", Georgia, serif;
  --rf-font-body: "Inter Variable", "ROAN Noto SC", sans-serif;
}

html[data-font-review="b"] {
  --font-display: "Inter Variable", "ROAN Noto SC", sans-serif;
  --font-ui: "ROAN Noto SC", "Inter Variable", sans-serif;
  --rf-font-heading: "Inter Variable", "ROAN Noto SC", sans-serif;
  --rf-font-body: "ROAN Noto SC", "Inter Variable", sans-serif;
}

html[data-font-review] body,
html:not([data-font-review]) body,
html[data-font-review] button,
html:not([data-font-review]) button,
html[data-font-review] input,
html:not([data-font-review]) input,
html[data-font-review] select,
html:not([data-font-review]) select,
html[data-font-review] textarea {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

html[data-font-review] :where(.price, .p, .home-product-price, .home-plan-price, .room-product-copy b, .room-deal-body > b, .tnum),
html:not([data-font-review]) :where(.price, .p, .home-product-price, .home-plan-price, .room-product-copy b, .room-deal-body > b, .tnum) {
  /* H4 READY: prices use the body face; only the digits are tabular. */
  font-family: inherit;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: 0;
}

html[data-font-review="a"] :where(h1, h2, h3, .purple-hero-copy h1, .purple-section-title, .plaza-section-head h2),
html:not([data-font-review]) :where(h1, h2, h3, .purple-hero-copy h1, .purple-section-title, .plaza-section-head h2) {
  font-family: var(--rf-font-heading);
  letter-spacing: -0.045em;
  line-height: 1.04;
  font-weight: 600;
}

html[data-font-review="b"] :where(h1, h2, h3, .purple-hero-copy h1, .purple-section-title, .plaza-section-head h2) {
  font-family: var(--rf-font-heading);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 700;
}

html[lang^="zh"] :where(body, button, input, select, textarea) {
  font-family: "ROAN Noto SC", "Inter Variable", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
}

html[lang^="zh"] :where(h1, h2, h3, .purple-hero-copy h1, .purple-section-title, .plaza-section-head h2) {
  font-family: "ROAN Noto SC", sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 700;
}
