/* Site type (DBP-552, presentation version 8): the lettering of a style preset, set by design tokens. Loaded with the
   shared header's sheets on a guest page whose shared header has a style listed in site-chrome.mjs typeStyles (glass);
   an engine at 0 to 7 never loads it.
   Immutable once released: change it by adding type.2.css.

   The glass style takes the type of the first customer's original site: the display face (Spectral) at weight 600 for
   headings and display figures, IBM Plex Mono for every small capital label, section eyebrows at 13 px with 0.16em
   letter spacing and weight 500 (the home hero's too), the beach hero's eyebrow at weight 600 with 0.14em, and section
   headings on the original's scale (44 px at most, -0.02em). The compact and editorial styles keep their type: no
   rule below matches their pages.
   Another style adopts this type by joining typeStyles and adding its own selector to the token block and the page gate.

   The tokens apply to the whole page when its shared header carries the style (:root:has(...)), so headings outside
   a shared module (a layout's own sections) follow the style too, and to every element that carries the style. A
   browser without :has() keeps the earlier type, which is complete.

   The label face reaches only what already asks for the style's label token (--site-font-label: eyebrows, the hero's
   field labels and facts, season tags, photo captions, guide chips and badges, the good to know card labels, the calendar's day letters and legend,
   the footer's labels, the beach page's small capitals and sketch) and the rules below. Each of these was set in
   IBM Plex Mono on the original site. At version 7 the same elements already used the system monospace face.

   Fonts: self-hosted, subset from the upstream SIL Open Font License 1.1 sources (google/fonts: Spectral SemiBold,
   IBM Plex Mono Medium and SemiBold) to Basic Latin, Latin-1, typographic quotes, dashes, the ellipsis, the bullet,
   the euro sign and arrows; licences in fonts/*-license.txt. The faces have their own family names ("Site Spectral",
   "Site Mono") that only these tokens name, so older sheets that name Spectral or IBM Plex Mono as a fallback never
   use them. A face downloads only when text on the page uses it. */
@font-face{font-family:"Site Spectral";src:url(fonts/spectral-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Site Mono";src:url(fonts/plex-mono-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Site Mono";src:url(fonts/plex-mono-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}

/* Tokens. :root [data-site-style=glass] outranks tokens.1.css, which may be linked again later in the page. */
:root:has(.sc-header[data-site-style=glass]),:root [data-site-style=glass]{
 --site-font-label:"Site Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
 --site-font-display-strong:"Site Spectral",Spectral,Georgia,serif;--site-display-weight:600;--site-hero-weight:600;
 --site-eyebrow-size:.8125rem;--site-eyebrow-spacing:.16em;--site-eyebrow-weight:500;
 --site-hero-eyebrow-size:.8125rem;--site-hero-eyebrow-spacing:.14em;
 --site-section-size:clamp(2rem,1.2rem + 2.2vw,2.75rem);--site-section-spacing:-.02em
}

/* Headings and display figures in the display face. Footer column labels (h2.sc-label) are labels, not headings. */
:root:has(.sc-header[data-site-style=glass]) :is(h1,h2:not(.sc-label),.ss-copy h3,.gk-rules h3,.bs-area-head h3,.house-figure,
 .ga-name,.gc-name,.gk-value,.bs-figure,.bs-sunset-time,.bs-n){font-family:var(--site-font-display-strong);font-weight:var(--site-display-weight)}

/* Section headings of a layout's own sections, on the style's scale. */
:root:has(.sc-header[data-site-style=glass]) :is(.story h2,.gallery h2,.stay h2,.property-film h2,.house-details h2){
 font-size:var(--site-section-size);letter-spacing:var(--site-section-spacing)}

/* Section eyebrows and the home hero's: the label face in small capitals. */
:root:has(.sc-header[data-site-style=glass]) :is(.sh-eyebrow,.ss-eyebrow,.hs-eyebrow,.ga-eyebrow,.gc-eyebrow,.story p.label){
 font-family:var(--site-font-label);font-size:var(--site-eyebrow-size);font-weight:var(--site-eyebrow-weight);
 letter-spacing:var(--site-eyebrow-spacing);text-transform:uppercase}

/* The house's figure labels (bedrooms, baths), small capitals in the label face as on the original. */
:root:has(.sc-header[data-site-style=glass]) .house-figure-label{font-family:var(--site-font-label)}

/* The beach page's hero eyebrow: a little heavier, as the original's was. */
:root:has(.sc-header[data-site-style=glass]) .bs-page p.eyebrow{
 font-family:var(--site-font-label);font-size:var(--site-hero-eyebrow-size);font-weight:600;
 letter-spacing:var(--site-hero-eyebrow-spacing);text-transform:uppercase}
