/* OF.luxury theme type (theme/redesign-2026), approved 7 Nov 2026. Loaded after
   /style.css on every page by tools/theme_link.py. Brief (Femi, 7 Nov 2026): keep the black ground;
   H1 Cardo 30px light; menu Hanken Grotesk 18px, sentence case; body Hanken
   Grotesk 16px at 350; two families, light weights, nothing in capitals.
   Fonts come from Google Fonts for the sample; the real theme self-hosts them
   in /assets/fonts/ like the current faces. */
/* 17 Nov 2026: self-hosted (was an @import from Google Fonts, which blocked the first paint). */
/* latin-ext */
@font-face {
  font-family: 'Cardo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cardo-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cardo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cardo-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cardo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cardo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 350 500;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 350 500;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 350 500;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face { font-family: "Cardo Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 103%; descent-override: 38%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 99%; ascent-override: 101%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --font-display: "Cardo", "Cardo Fallback", "Iowan Old Style", Georgia, serif;
  --font-text: "Hanken Grotesk", "Hanken Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-mono: var(--font-text);          /* retires Spline Sans Mono site-wide */

  /* one role scale */
  --t-h1: clamp(32px, 1.6vw + 21px, 44px);   --lh-h1: 1.12;   /* 44px at 1440, 32px on phones */
  --t-h2: clamp(24px, 0.6vw + 19px, 28px);   --lh-h2: 1.25;
  --t-h3: 18px;   --lh-h3: 1.4;
  --t-body: 16px; --lh-body: 1.65;
  --t-small: 14px;
  --t-nav: 18px;

  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --cream: var(--accent);                  /* #f1e7cf, the existing brand cream */
}

/* ---------- base ---------- */
body {
  font-family: var(--font-text);
  font-size: var(--t-body);
  font-weight: 350;
  line-height: var(--lh-body);
  letter-spacing: 0.005em;                 /* light text on black: a touch more air */
}

/* nothing in capitals, no tracked labels. :where() keeps these blanket rules at
   the lowest specificity so the role rules below win. */
body :where(*:not(.material-symbols-rounded, .icon, .dd-ico)) {
  text-transform: none !important;
  letter-spacing: normal !important;       /* old tracked labels ("Scroll", dropdown heads) */
}

/* two weights: 350 for text, 500 for emphasis and controls; the wordmark keeps its own */
body :where(*:not(.material-symbols-rounded, .icon, .dd-ico, .nav__logo, .nav__logo *)) {
  font-weight: 350 !important;
}
body :is(strong, b, th, label, .btn, .btn *, button, .chip, .crumbs__cur,
    .route-card__route, .tier-card__price, .vp-spec__v, .faq-item summary, .event-row__name,
    .venue__title, .villa-card__price, .rc-stat__v) {
  font-weight: 500 !important;
}

/* ---------- snap stray sizes onto the scale ---------- */
/* body role: 16px (was 15 / 15.2) */
body :is(p.body, p.body-l, .concierge-hero__desc, .service__body, .article-card__excerpt,
    .event-row__name, .venue__title, .villa-card__price, .trust-stat-item__label,
    .carousel__all, .tacc__n, .tacc__title, .faq-item summary) {
  font-size: var(--t-body) !important;
}
/* small role: 14px, the floor (was 9.5 to 13) */
body :is(.hero__scroll, .hs-field__k, .hs-quick__k, .hs-go__label, .hs-foot, .villa-card__loc,
    .villa-card__more, .villa-card__spec, .dest-links__k, .event-row__mon, .event-row__countdown,
    .event-row__meta, .event-row__venue, .event-row__cta-text, .venue__sub, .venue__email,
    .article-card__meta, .svc-switch__pill, .chip, .btn, .rc-stat__k, .rc-stat__v, .rc-cc,
    .venue__wordmark-kicker, .badge, .night-pill, .caption, small,
    .nav__loc-country, .svc-switch__label, .filter-group__label, .article-card__category,
    .footer__built-by, .nav__lang-btn span, .hs-hint span, .hs-quick a, .footer__bottom span,
    .dest-links a, .city-group span, .exp__sub, .tacc__body p, .hs-tab span, .cta-panel__sub) {
  font-size: var(--t-small) !important;
}
body .hs-title { font-size: var(--t-h3) !important; }
/* dates and big figures take the display face */
body :is(.event-row__day, .trust-stat-item__ghost) { font-family: var(--font-display) !important; }

/* ---------- headings ---------- */
h1, .h1, .display-xl, .display-l {
  font-family: var(--font-display) !important;
  font-size: var(--t-h1) !important;
  line-height: var(--lh-h1) !important;
  font-weight: 400 !important;            /* Cardo ships 400 only; 350 resolves to it */
  color: var(--cream);
  letter-spacing: 0 !important;
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display) !important;
  font-size: var(--t-h2) !important;
  line-height: var(--lh-h2) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-text) !important;
  font-size: var(--t-h3) !important;
  line-height: var(--lh-h3) !important;
  font-weight: 500 !important;
}
h2 + p, h1 + p { margin-top: 0.75em; }

/* ---------- reading ---------- */
main p, main li, .faq-item__body, .article__body {
  font-size: var(--t-body);
  line-height: var(--lh-body);
  text-wrap: pretty;
}
.article__body p, .venue-guide p, .faq-item__body p { max-width: 70ch; }
.crumbs, .route-card__meta { font-size: var(--t-small) !important; }

/* ---------- menu ---------- */
.nav__links a, .nav__dd summary {
  font-family: var(--font-text) !important;
  font-size: var(--t-nav) !important;
  font-weight: 350 !important;
  letter-spacing: 0 !important;
}
.nav__dd-menu a { font-size: 16px !important; }
.nav__svc-cat { font-size: 14px !important; color: var(--ink-soft); }

/* label figures never drop below the small role ("From €1,500", "Dress Beach chic") */
main strong, main b { font-size: max(1em, var(--t-small)) !important; }
body :is(.rc-stat, .rc-stat *, .venue__wordmark-name) { font-size: var(--t-small) !important; }

/* ---------- icons: no grey discs behind card icons ---------- */
.service__icon {
  background: none !important;
  width: auto !important; height: auto !important;
  justify-content: flex-start !important;
  color: var(--cream);
}

/* ---------- help-chat launcher ----------
   The widget draws in a shadow root and reads its face from --font on :host.
   A page rule on the host element outranks :host, so this sets it from here;
   at merge, kb/ofluxury.json "font" in the site-chat repo should match. */
div[data-site-chat] { --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; }

/* ---------- browser surfaces ---------- */
::selection { background: var(--cream); color: #000; }
:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
a { text-underline-offset: 0.2em; }
html { scrollbar-color: rgba(255, 255, 255, 0.25) #000; }
