/* Every tenant site's stylesheet, written once against the theme's tokens
   (--c-*, --font-*, --radius, --space; set on <html> by ThemeCss). No tenant
   ever writes CSS: changing the theme restyles everything below. */

*, *::before, *::after { box-sizing: border-box; }
/* The label font (small capitals over a column, a card or a group): JetBrains Mono, declared on every page (WebFonts.MonoCss). */
:root { --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
address { font-style: normal; }

.wrap { width: min(var(--wrap-max, 1120px), 100% - 2 * var(--wrap-gutter, 1.25rem)); margin-inline: auto; }

/* ---- sections: background and spacing tokens ---------------------------- */

.blk { padding-block: var(--space); }
.sp-compact { padding-block: calc(var(--space) * .55); }
.sp-none { padding-block: 0; }
.sp-roomy { padding-block: calc(var(--space) * 1.45); }
.bg-default { background: var(--c-bg); color: var(--c-text); }
.bg-surface { background: var(--c-surface); color: var(--c-text); }
/* The page colour, always: the designs that shade every other section shade only .bg-default. */
.bg-page { background: var(--c-bg); color: var(--c-text); }
.bg-primary { background: var(--c-primary); color: var(--c-on-primary); }
.bg-secondary { background: var(--c-secondary); color: var(--c-on-secondary); }
.bg-accent { background: var(--c-accent); color: var(--c-on-accent); }

/* ---- buttons: solid, outline or pill, from the theme -------------------- */

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
    display: inline-block;
    padding: .8em 1.6em;
    border: 2px solid var(--c-accent);
    border-radius: var(--radius);
    background: var(--c-accent);
    color: var(--c-on-accent);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline .btn { background: transparent; color: inherit; border-color: currentColor; }
.btn-pill .btn { border-radius: 999px; }

/* ---- header ------------------------------------------------------------- */

.site-header { background: var(--c-bg); color: var(--c-text); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.site-header--primary { background: var(--c-primary); color: var(--c-on-primary); border-bottom: 0; }
/* Design > Header and footer > keep the header at the top while scrolling. The second selector outranks the Soft design's
   own header rule; a Bold header over an opening picture stays over the picture. Links to a section stop below the header. */
.site-header.site-header--sticky,
.design-soft.nav-classic .site-header.site-header--sticky { position: sticky; top: 0; z-index: 30; }
html:has(.site-header--sticky) { scroll-padding-top: 6rem; }
/* An announcement above a Bold header that floats over the opening picture: the header starts below the bar. */
.design-bold.nav-classic:has(main > .blk-hero:first-child) .announcement + .site-header { top: 2.5rem; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1rem; }
/* The menu right after the name, the rest (language, search, button) kept to the right. */
.site-header--menu-beside .site-header__name { margin-right: .75rem; }
.site-header--menu-beside .menu--main { margin-right: auto; }
/* Quiet menu words: smaller and grey, the text colour on hover and for the page shown. The dropdown keeps its own. */
.site-header--quiet-menu .menu--main .menu__list > li > a { font-size: .9375rem; font-weight: 500; color: color-mix(in srgb, var(--c-text) 76%, var(--c-bg)); }
.site-header--quiet-menu .menu--main .menu__list > li > a:hover, .site-header--quiet-menu .menu--main .menu__list > li > a[aria-current],
.site-header--quiet-menu .menu--main .menu__list > li:focus-within > a { color: var(--c-text); }
.site-header--quiet-menu .menu--main .menu__list { gap: 1.6rem; }
/* Its marked entry (the page shown, or the section on screen) underlined in the accent colour, as the Seebia sites draw it. */
.site-header--quiet-menu .menu--main .menu__list > li > a[aria-current] { text-decoration: underline 2px var(--c-accent); text-underline-offset: 8px; }
/* Its button smaller too, to match: 14px words, 13px by 20px around them (the 2px border included). */
.site-header--quiet-menu .site-header__action .btn { font-size: .875rem; padding: .6875rem 1.125rem; }
.site-header__name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; text-decoration: none; margin-right: auto; }
.site-header__action .btn { padding: .6em 1.2em; }

/* Design > Header and footer > show a search box: a GET form to the site's search page (no script).
   A rounded box with the words and a magnifier button; on a phone only the button, which opens the search page. */
.site-search { display: inline-flex; align-items: center; border: 1px solid rgba(127, 127, 127, .45); border-radius: 999px; color: inherit; }
.site-search:focus-within { border-color: currentColor; }
.site-search__input { width: 9rem; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .92rem; padding: .4rem 0 .4rem .95rem; outline: 0; -webkit-appearance: none; appearance: none; }
.site-search__input::placeholder { color: inherit; opacity: .6; }
.site-search__button { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.site-search__button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.site-search__button svg { width: 1.15rem; height: 1.15rem; }
.split-header__end .site-search__input { width: 7rem; }
.site-sidebar__search { align-self: stretch; }
.site-sidebar__search .site-search__input, .site-search--open .site-search__input { flex: 1; width: auto; }
@media (max-width: 760px) {
    .site-search:not(.site-search--open) { border: 0; margin-left: auto; }
    .site-search:not(.site-search--open) .site-search__input { display: none; }
    .site-search + .site-header__action { margin-left: 0; }
    .site-sidebar__search { align-self: center; }
}

/* The search page (/search): the box, a line saying what was found, and the matching pages. */
.search-form { display: flex; gap: .6rem; margin-block: 1.25rem 1.5rem; }
.search-form__input { flex: 1; min-width: 0; font: inherit; color: inherit; background: var(--c-bg); border: 1px solid rgba(127, 127, 127, .5); border-radius: var(--radius); padding: .7em .9em; }
.search-form__input:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }
.search-page__status { opacity: .8; }
.search-results { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.search-results__title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }
.search-results__excerpt { margin: .3rem 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.search-results__excerpt mark { background: rgba(255, 213, 79, .55); color: inherit; padding: 0 .1em; border-radius: 2px; }

.menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.menu__list a { text-decoration: none; font-weight: 500; }
.menu__list a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.menu__list li { position: relative; }
.menu__sub {
    list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 12rem;
    background: var(--c-bg); color: var(--c-text); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border-radius: var(--radius); display: none; z-index: 20;
}
.menu__sub a { display: block; padding: .4rem 1rem; }
.menu__list li:hover > .menu__sub, .menu__list li:focus-within > .menu__sub { display: block; }
/* An entry with a dropdown shows an arrow that turns up while it is open; one with no link of its own only opens it.
   The entry is marked (aria-current) while a page in its dropdown is shown, and drawn as the current page is. */
.menu__heading { cursor: pointer; }
.menu__caret { display: inline-block; width: .38em; height: .38em; margin-left: .45em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-.2em) rotate(45deg); transition: transform .15s; }
.menu__list li:hover > a > .menu__caret, .menu__list li:focus-within > a > .menu__caret { transform: translateY(.05em) rotate(-135deg); }
.site-footer .menu__caret, .overlay-menu__links .menu__caret, .site-sidebar__menu .menu__caret { display: none; }
.menu__check { position: absolute; opacity: 0; pointer-events: none; }
.menu__burger { display: none; }

@media (max-width: 760px) {
    .menu--main { order: 3; flex-basis: 100%; }
    .menu__burger { display: inline-flex; position: absolute; right: 1.25rem; top: 1rem; font-size: 1.6rem; cursor: pointer; }
    .menu__check:focus-visible + .menu__burger { outline: 2px solid currentColor; }
    .menu--main .menu__list { display: none; flex-direction: column; gap: .7rem; padding-top: .5rem; }
    .menu__check:checked ~ .menu__list { display: flex; }
    .menu__sub { position: static; display: block; box-shadow: none; background: transparent; color: inherit; padding-left: 1rem; }
    .menu--main .menu__caret { display: none; }
    .site-header__inner { position: relative; padding-right: 3rem; }
}

/* A dropdown's entries may carry an icon and a short line under their words. */
.menu__rich { display: flex !important; align-items: flex-start; gap: .7rem; }
.menu__icon { flex: none; width: 2.1rem; height: 2.1rem; border-radius: .6rem; border: 1px solid rgba(127, 127, 127, .3); display: inline-flex; align-items: center; justify-content: center; }
.menu__icon .icon { width: 1.05rem; height: 1.05rem; }
.menu__rich:hover .menu__icon, .menu__rich:focus-visible .menu__icon, .menu__rich[aria-current] .menu__icon { border-color: var(--c-accent); color: var(--c-accent); }
/* The page shown, among entries with an icon and a short line: a soft background, never an underline under each line. */
.menu__list a.menu__rich[aria-current] { text-decoration: none !important; box-shadow: none !important; background: rgba(127, 127, 127, .1); border-radius: calc(var(--radius) * .6); }
.menu__text { display: flex; flex-direction: column; gap: .1rem; }
.menu__label { font-weight: 600; }
.menu__note { font-size: .85rem; font-weight: 400; opacity: .72; line-height: 1.35; }
.menu__sub--rich { min-width: 19rem; }

/* A dropdown with headings is a wide panel of columns, one per group, under the whole header. */
.site-header:has(.menu__sub--groups):not(.site-header--sticky) { position: relative; z-index: 30; }
.menu__parent:has(> .menu__sub--groups) { position: static; }
.menu__sub--groups {
    left: 50%; right: auto; transform: translateX(-50%); width: min(72rem, calc(100vw - 2rem));
    padding: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem;
}
.menu__list li:hover > .menu__sub--groups, .menu__list li:focus-within > .menu__sub--groups { display: grid; }
/* The panel hangs from the header's bottom edge, below the entry: an invisible strip under the entry, its own
   width, keeps the pointer "on" the entry on its way down, so the panel stays open to pick from. */
.menu__parent:has(> .menu__sub--groups) > a { position: relative; }
.menu__parent:has(> .menu__sub--groups) > a::after { content: ""; position: absolute; left: -.75rem; right: -.75rem; top: 100%; height: 3rem; }
.menu__group { list-style: none; }
.menu__group-name { display: block; padding: 0 .6rem .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.menu__group-list { list-style: none; margin: 0; padding: 0; }
.menu__group-list a { display: block; padding: .5rem .6rem; border-radius: calc(var(--radius) * .6); }
.menu__group-list a:hover { background: rgba(127, 127, 127, .1); }

@media (max-width: 760px) {
    /* On a phone the panel is a flat list under its entry, its headings small, with no short lines. */
    .menu__sub--groups { display: block; position: static; transform: none; width: auto; padding: 0 0 0 1rem; }
    .menu__parent:has(> .menu__sub--groups) > a::after { display: none; }
    .menu__group-name { padding: .6rem 0 .2rem; }
    .menu__group-list a, .menu__sub--rich a { padding: .35rem 0; }
    .menu--main .menu__note { display: none; }
    .menu--main .menu__icon { width: 1.7rem; height: 1.7rem; }
}

/* In the footer, an entry with a dropdown is a column: its words a heading, its entries under it. */
.site-footer .menu__list:has(> .menu__parent) { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.75rem 1.5rem; }
.site-footer .menu__parent > a, .site-footer .menu__parent > .menu__heading {
    display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; pointer-events: none; text-decoration: none;
}
.site-footer .menu__parent > a[href] { pointer-events: auto; }
.site-footer .menu__sub, .site-footer .menu__sub--groups {
    position: static; display: block; transform: none; width: auto; min-width: 0; padding: 0; background: transparent; color: inherit; box-shadow: none; border-radius: 0;
}
.site-footer .menu__sub a, .site-footer .menu__group-list a { padding: .3rem 0; }
.site-footer .menu__note { display: none; }
.site-footer__grid > .site-footer__col:has(.menu__list > .menu__parent) { grid-column: 1 / -1; }
.site-footer .menu__icon { width: 1.75rem; height: 1.75rem; border-color: rgba(255, 255, 255, .22); }

/* ---- navigation: university ---------------------------------------------
   A bar of quick links, the announcement, social links, two buttons and search in a theme
   colour; below it a larger logo and the menu in small capitals. Two looks: "underline"
   (bar in the secondary colour, round buttons, light dropdown) and "pills" (bar in the
   accent colour, square-cornered buttons, dark dropdown). */
.nav-university .site-header { border-bottom: 1px solid rgba(127, 127, 127, .22); }
/* Kept at the top while scrolling, the coloured bar scrolls away and the logo and menu stay. */
.site-header.site-header--university.site-header--sticky { top: -2.6rem; }
html:has(.site-header--university.site-header--sticky) { scroll-padding-top: 6.5rem; }
.uni-utility { background: var(--c-secondary); color: var(--c-on-secondary); font-size: .88rem; }
.uni-header--pills .uni-utility { background: var(--c-accent); color: var(--c-on-accent); }
.uni-utility__inner { display: flex; align-items: center; gap: 1.5rem; height: 2.6rem; white-space: nowrap; }
.uni-utility__menu .menu__list { flex-wrap: nowrap; gap: 1.6rem; }
.uni-utility__menu .menu__list a { font-weight: 600; white-space: nowrap; }
.uni-utility__note { background: rgba(255, 255, 255, .18); border-radius: 999px; padding: .2rem .8rem; font-size: .82rem; font-weight: 600; }
.uni-utility__end { margin-left: auto; display: flex; align-items: center; gap: .85rem; }
/* The social links as round icons (SocialIcons): a mark, or the network's first letter, on a soft circle. */
.social--icons { flex-wrap: nowrap; gap: .45rem; }
.social--icons a { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: .8rem; line-height: 1; }
.social--icons a:hover { background: rgba(255, 255, 255, .3); }
.social--icons svg { width: .95rem; height: .95rem; fill: currentColor; }
.uni-utility .btn { padding: .32em 1.05em; font-size: .84rem; font-weight: 700; white-space: nowrap; border-width: 1.5px; border-radius: 999px; }
.uni-utility .btn--secondary { background: transparent; color: inherit; border-color: currentColor; }
.uni-header--pills .uni-utility .btn { border-width: 2px; border-radius: 10px; background: var(--c-on-accent); color: var(--c-accent); border-color: var(--c-on-accent); }
.uni-header--pills .uni-utility .btn--secondary { background: transparent; color: inherit; }
/* The button's own colour (Header > ActionColour), when it isn't the accent: in the bar and in the phone menu.
   The underline look's menu underline and dropdown edge take it too (below). */
.uni-header--own-action .btn:not(.btn--secondary) { background: var(--uni-action); border-color: var(--uni-action); color: var(--uni-on-action); }
/* The search box is the header's usual pill, in the bar's own text colour, a little lower to fit the bar. */
.uni-utility .site-search__input { padding-block: .22rem; }
.uni-utility .site-search__button { width: 1.9rem; height: 1.9rem; }

.uni-bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; position: relative; }
.uni-bar__brand { font-size: 1.6rem; }
.uni-bar__brand .brand__logo { height: 3.25rem; }
.uni-bar__menu .menu__list { gap: 1.9rem; justify-content: flex-end; }
.uni-bar__menu .menu__list > li > a { font-size: .875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.uni-bar__menu .menu__list a[aria-current] { text-decoration: none; }
.uni-bar__menu .menu__sub { min-width: 16.5rem; }
.uni-bar__menu .menu__sub a { padding: .5rem 1.25rem; font-size: .92rem; font-weight: 500; }

/* underline: the current entry in the primary colour over a line in the accent; a light panel with an accent top edge. */
.uni-header--underline .uni-bar__menu .menu__list > li > a { padding-bottom: .3rem; }
.uni-header--underline .uni-bar__menu .menu__list > li > a[aria-current] { color: var(--c-primary); box-shadow: inset 0 -2px 0 var(--uni-action, var(--c-accent)); }   /* --uni-action: the button's own colour, when the header has one */
.uni-header--underline .uni-bar__menu .menu__sub { margin-top: .35rem; border: 1px solid rgba(127, 127, 127, .25); border-top: 3px solid var(--uni-action, var(--c-accent)); border-radius: 0 0 8px 8px; }
/* The dropdown sits a little below its entry; this fills the space between, so moving the pointer down to it doesn't close it. */
.uni-header--underline .uni-bar__menu .menu__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(.35rem + 3px); }
.uni-header--underline .uni-bar__menu .menu__sub a[aria-current] { color: var(--c-primary); font-weight: 700; }

/* pills: each entry a pill, the current one filled in the text colour; a dark rounded panel. */
.uni-header--pills .uni-bar__menu .menu__list { gap: .35rem; }
.uni-header--pills .uni-bar__menu .menu__list > li > a { display: block; padding: .55rem .9rem; border-radius: 999px; }
.uni-header--pills .uni-bar__menu .menu__list > li > a:hover { background: var(--c-surface); }
.uni-header--pills .uni-bar__menu .menu__list > li > a[aria-current] { background: var(--c-text); color: var(--c-bg); }
.uni-header--pills .uni-bar__menu .menu__sub { background: var(--c-text); color: var(--c-bg); border-radius: 20px; padding: .75rem; }
.uni-header--pills .uni-bar__menu .menu__sub a { border-radius: 12px; padding: .55rem .75rem; }
.uni-header--pills .uni-bar__menu .menu__sub a:hover, .uni-header--pills .uni-bar__menu .menu__sub a[aria-current] { background: rgba(255, 255, 255, .1); }

.uni-menu__check { position: absolute; opacity: 0; pointer-events: none; }
.uni-menu__open, .uni-phone { display: none; }

@media (max-width: 900px) {
    .uni-utility, .uni-bar__menu { display: none; }
    .site-header.site-header--university.site-header--sticky { top: 0; }
    .uni-bar { flex-wrap: wrap; gap: .75rem; padding-block: .75rem; }
    .uni-bar__brand { font-size: 1.1rem; }
    .uni-bar__brand .brand__logo { height: 2.1rem; }
    .uni-menu__open { display: inline-flex; margin-left: auto; font-size: 1.6rem; line-height: 1; cursor: pointer; }
    .uni-menu__check:focus-visible + .uni-menu__open { outline: 2px solid currentColor; outline-offset: 3px; }
    .uni-menu__check:checked ~ .uni-phone { display: flex; flex-direction: column; }
    .uni-phone { flex-basis: 100%; margin-inline: calc(-1 * var(--wrap-pad, 1.25rem)); padding: .9rem var(--wrap-pad, 1.25rem) 1.1rem; }
    /* A header that stays at the top can't be scrolled past: a menu longer than the screen scrolls inside itself,
       or its end (the links and the buttons) could never be reached. */
    .site-header--sticky .uni-phone { max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain; }
    .uni-header--pills .uni-phone { background: var(--c-text); color: var(--c-bg); }
    .uni-phone__search { display: flex; margin-bottom: .6rem; order: -2; flex: none; }
    .uni-header--pills .uni-phone__search { background: var(--c-bg); color: var(--c-text); border-color: transparent; border-radius: 12px; }
    .uni-phone__menu .menu__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }
    .uni-phone__menu .menu__list > li { border-bottom: 1px solid rgba(127, 127, 127, .25); }
    .uni-phone__menu .menu__list > li > a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
    .uni-phone__menu .menu__list a[aria-current] { text-decoration: none; color: var(--c-primary); }
    .uni-header--pills .uni-phone__menu .menu__list a[aria-current] { color: var(--c-accent); }
    .uni-phone__menu .menu__sub { padding: 0 0 .6rem .9rem; }
    .uni-phone__menu .menu__sub a { padding: .3rem 0; font-size: .92rem; }
    .uni-phone__links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; padding: .9rem 0 .75rem; font-size: .9rem; }
    .uni-phone__utility .menu__list { gap: .4rem 1.1rem; }
    .uni-phone__utility .menu__list a { font-weight: 400; }
    .uni-phone__social a { background: var(--c-surface); color: var(--c-text); }
    .uni-header--pills .uni-phone__social a { background: rgba(255, 255, 255, .16); color: inherit; }
    /* The buttons come right under the search box, before the menu: a long menu would push them off the screen. */
    .uni-phone__actions { display: flex; flex-wrap: wrap; gap: .6rem; order: -1; flex: none; margin-bottom: .4rem; }
    .uni-phone__actions .btn { flex: 1 1 40%; text-align: center; padding: .6em .5em; font-size: .9rem; font-weight: 700; border-radius: 999px; }
    .uni-header--pills .uni-phone__actions .btn { border-radius: 12px; }
}

/* ---- agent diagram -------------------------------------------------------
   Groups of jobs around a hub; the picked job's panel below. Each job is a radio button kept out
   of sight (still reached with the keyboard: Tab, then the arrow keys), its button on the diagram
   a label for it; the rules at the end show the checked one's panel. No script. */
/* Its own colours (the block's Accent and HubColour), the theme's accent without them. */
.dg { position: relative; --dg-accent: var(--c-accent); --dg-hub: var(--c-accent); }
.dg__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dg__map {
    --dg-row-gap: 1.75rem; --dg-col-gap: 4rem;
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--dg-row-gap) var(--dg-col-gap); align-items: center; margin-top: 2rem;
}
/* Each group's line has a box in the hub's column, on the group's row: from the group's inner side (back across the
   gap) to the hub's centre, and down (or up) from the middle of the row - where the group's middle is - to halfway
   across the gap between the rows, the hub's centre. The line is the box's diagonal. Nothing in the box takes room. */
.dg__spokes { position: relative; grid-column: 2; align-self: stretch; z-index: 0; pointer-events: none; width: calc(50% + var(--dg-col-gap)); }
.dg__spokes svg { position: absolute; left: 0; right: 0; width: 100%; overflow: visible; }
.dg__spokes--1, .dg__spokes--3 { justify-self: start; margin-left: calc(-1 * var(--dg-col-gap)); }
.dg__spokes--2, .dg__spokes--4 { justify-self: end; margin-right: calc(-1 * var(--dg-col-gap)); }
.dg__spokes--1, .dg__spokes--2 { grid-row: 1; margin-bottom: calc(-.5 * var(--dg-row-gap)); }
.dg__spokes--3, .dg__spokes--4 { grid-row: 2; margin-top: calc(-.5 * var(--dg-row-gap)); }
.dg__spokes--1 svg, .dg__spokes--2 svg { top: calc(50% - var(--dg-row-gap) / 4); height: calc(50% + var(--dg-row-gap) / 4); }
.dg__spokes--3 svg, .dg__spokes--4 svg { top: 0; height: calc(50% + var(--dg-row-gap) / 4); }
.dg__spokes line { vector-effect: non-scaling-stroke; }
.dg__spoke { stroke: rgba(127, 127, 127, .35); stroke-width: 1.5; }
.dg__flow { stroke: var(--dg-hub); stroke-width: 2; stroke-dasharray: 3 13; stroke-linecap: round; opacity: .55; animation: dg-flow 1.6s linear infinite; }
/* The picked job's group: its line in the accent, thicker and faster. */
.dg:has(.dg__radio[data-g="1"]:checked) .dg__flow--1, .dg:has(.dg__radio[data-g="2"]:checked) .dg__flow--2,
.dg:has(.dg__radio[data-g="3"]:checked) .dg__flow--3, .dg:has(.dg__radio[data-g="4"]:checked) .dg__flow--4 { stroke: var(--dg-accent); stroke-width: 3.5; opacity: 1; animation-duration: .7s; }
@keyframes dg-flow { to { stroke-dashoffset: -16; } }
.dg__hub {
    grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 1; width: 10.6rem; aspect-ratio: 1; border-radius: 50%;
    background: #0F172A; color: #E8ECF7; border: 2px solid var(--dg-hub); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-align: center; line-height: 1.15;
}
/* Two rings that spread from the circle and fade, one after the other. */
.dg__hub::before, .dg__hub::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--dg-hub); animation: dg-ring 3s ease-out infinite; pointer-events: none; }
.dg__hub::after { animation-delay: 1.5s; }
@keyframes dg-ring { from { transform: scale(1); opacity: .5; } to { transform: scale(1.45); opacity: 0; } }
.dg__hub-logo { width: 34%; height: auto; margin-bottom: .2rem; }
.dg__hub-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; }
.dg__hub-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #93A0BF; }
.dg__group { position: relative; z-index: 1; background: var(--c-bg); color: var(--c-text); border: 1px solid rgba(127, 127, 127, .22); border-radius: 1.25rem; padding: 1.125rem; display: flex; flex-direction: column; gap: .75rem; transition: border-color .2s, box-shadow .2s; }
.dg__group--1 { grid-column: 1; grid-row: 1; }
.dg__group--2 { grid-column: 3; grid-row: 1; }
.dg__group--3 { grid-column: 1; grid-row: 2; }
.dg__group--4 { grid-column: 3; grid-row: 2; }
.dg__group-name { margin: 0; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dg-accent); }
.dg__group-sub { margin: 0; font-size: .9rem; opacity: .75; }
.dg__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.dg__pill { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 .95rem; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35); background: var(--c-bg); cursor: pointer; font-weight: 600; font-size: .9rem; transition: border-color .2s, background .2s, color .2s; }
.dg__pill:hover { border-color: var(--dg-accent); }
.dg__details { margin-top: 1.75rem; }
.dg__detail { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; background: var(--c-bg); color: var(--c-text); border: 1px solid rgba(127, 127, 127, .25); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.25rem, 3vw, 2rem); }
.dg__say, .dg__show { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.dg__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dg-accent); }
.dg__title { margin: 0; display: flex; align-items: center; gap: .6rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.dg__icon { flex: none; width: 2.2rem; height: 2.2rem; border-radius: .7rem; border: 1px solid rgba(127, 127, 127, .3); display: inline-flex; align-items: center; justify-content: center; }
.dg__icon .icon { width: 1.15rem; height: 1.15rem; }
.dg__lead { margin: 0; opacity: .8; }
.dg__benefit { margin: 0; display: flex; gap: .5rem; font-weight: 600; }
.dg__benefit .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .15rem; color: #059669; }
.dg__more { align-self: flex-start; min-height: 2.75rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--dg-accent); text-decoration: none; }
.dg__more:hover { text-decoration: underline; text-underline-offset: .3em; }
.dg__compare { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dg__old, .dg__new { border-radius: var(--radius); padding: .9rem; display: flex; flex-direction: column; gap: .3rem; font-size: .92rem; }
.dg__old b, .dg__new b { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.dg__old { border: 1px dashed rgba(127, 127, 127, .5); opacity: .85; }
.dg__new { border: 1px solid var(--dg-accent); background: color-mix(in srgb, var(--dg-accent) 8%, transparent); }
.dg__new b { color: var(--dg-accent); }
.dg__receipt { background: #0F172A; color: #E8ECF7; border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.dg__where { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #93A0BF; }
.dg__done { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .45rem; border: 1px solid #1F2A47; background: #0A0F1F; border-radius: 999px; font-size: .82rem; }
.dg__done .icon { width: 1.1rem; height: 1.1rem; padding: .15rem; border-radius: 50%; background: var(--dg-accent); color: #FFFFFF; }
.dg__stepper { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; border-top: 1px solid rgba(127, 127, 127, .25); padding-top: .9rem; font-size: .85rem; opacity: .85; }
.dg__step { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .4); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; }
.dg__step:hover { border-color: var(--dg-accent); }
@media (max-width: 860px) {
    .dg__map { grid-template-columns: 1fr; }
    .dg__hub { grid-column: 1; grid-row: auto; justify-self: center; width: 7.5rem; }
    .dg__group--1, .dg__group--2, .dg__group--3, .dg__group--4 { grid-column: 1; grid-row: auto; }
    .dg__spokes, .dg__hub::before, .dg__hub::after { display: none; }
    .dg__detail, .dg__compare { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dg__spokes line { animation: none; } .dg__hub::before, .dg__hub::after { display: none; } }
/* The picked job (one rule each, for the most a diagram holds: AgentDiagramData.MaxItems). */
.dg__radio:nth-of-type(1):checked ~ .dg__details > .dg__detail:nth-child(1) { display: grid; }
.dg__radio:nth-of-type(1):checked ~ .dg__map .dg__pill[data-n="1"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(1):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="1"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(1):focus-visible ~ .dg__map .dg__pill[data-n="1"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(2):checked ~ .dg__details > .dg__detail:nth-child(2) { display: grid; }
.dg__radio:nth-of-type(2):checked ~ .dg__map .dg__pill[data-n="2"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(2):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="2"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(2):focus-visible ~ .dg__map .dg__pill[data-n="2"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(3):checked ~ .dg__details > .dg__detail:nth-child(3) { display: grid; }
.dg__radio:nth-of-type(3):checked ~ .dg__map .dg__pill[data-n="3"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(3):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="3"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(3):focus-visible ~ .dg__map .dg__pill[data-n="3"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(4):checked ~ .dg__details > .dg__detail:nth-child(4) { display: grid; }
.dg__radio:nth-of-type(4):checked ~ .dg__map .dg__pill[data-n="4"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(4):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="4"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(4):focus-visible ~ .dg__map .dg__pill[data-n="4"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(5):checked ~ .dg__details > .dg__detail:nth-child(5) { display: grid; }
.dg__radio:nth-of-type(5):checked ~ .dg__map .dg__pill[data-n="5"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(5):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="5"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(5):focus-visible ~ .dg__map .dg__pill[data-n="5"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(6):checked ~ .dg__details > .dg__detail:nth-child(6) { display: grid; }
.dg__radio:nth-of-type(6):checked ~ .dg__map .dg__pill[data-n="6"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(6):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="6"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(6):focus-visible ~ .dg__map .dg__pill[data-n="6"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(7):checked ~ .dg__details > .dg__detail:nth-child(7) { display: grid; }
.dg__radio:nth-of-type(7):checked ~ .dg__map .dg__pill[data-n="7"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(7):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="7"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(7):focus-visible ~ .dg__map .dg__pill[data-n="7"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(8):checked ~ .dg__details > .dg__detail:nth-child(8) { display: grid; }
.dg__radio:nth-of-type(8):checked ~ .dg__map .dg__pill[data-n="8"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(8):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="8"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(8):focus-visible ~ .dg__map .dg__pill[data-n="8"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(9):checked ~ .dg__details > .dg__detail:nth-child(9) { display: grid; }
.dg__radio:nth-of-type(9):checked ~ .dg__map .dg__pill[data-n="9"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(9):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="9"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(9):focus-visible ~ .dg__map .dg__pill[data-n="9"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(10):checked ~ .dg__details > .dg__detail:nth-child(10) { display: grid; }
.dg__radio:nth-of-type(10):checked ~ .dg__map .dg__pill[data-n="10"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(10):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="10"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(10):focus-visible ~ .dg__map .dg__pill[data-n="10"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(11):checked ~ .dg__details > .dg__detail:nth-child(11) { display: grid; }
.dg__radio:nth-of-type(11):checked ~ .dg__map .dg__pill[data-n="11"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(11):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="11"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(11):focus-visible ~ .dg__map .dg__pill[data-n="11"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(12):checked ~ .dg__details > .dg__detail:nth-child(12) { display: grid; }
.dg__radio:nth-of-type(12):checked ~ .dg__map .dg__pill[data-n="12"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(12):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="12"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(12):focus-visible ~ .dg__map .dg__pill[data-n="12"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(13):checked ~ .dg__details > .dg__detail:nth-child(13) { display: grid; }
.dg__radio:nth-of-type(13):checked ~ .dg__map .dg__pill[data-n="13"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(13):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="13"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(13):focus-visible ~ .dg__map .dg__pill[data-n="13"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(14):checked ~ .dg__details > .dg__detail:nth-child(14) { display: grid; }
.dg__radio:nth-of-type(14):checked ~ .dg__map .dg__pill[data-n="14"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(14):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="14"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(14):focus-visible ~ .dg__map .dg__pill[data-n="14"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(15):checked ~ .dg__details > .dg__detail:nth-child(15) { display: grid; }
.dg__radio:nth-of-type(15):checked ~ .dg__map .dg__pill[data-n="15"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(15):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="15"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(15):focus-visible ~ .dg__map .dg__pill[data-n="15"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(16):checked ~ .dg__details > .dg__detail:nth-child(16) { display: grid; }
.dg__radio:nth-of-type(16):checked ~ .dg__map .dg__pill[data-n="16"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(16):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="16"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(16):focus-visible ~ .dg__map .dg__pill[data-n="16"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(17):checked ~ .dg__details > .dg__detail:nth-child(17) { display: grid; }
.dg__radio:nth-of-type(17):checked ~ .dg__map .dg__pill[data-n="17"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(17):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="17"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(17):focus-visible ~ .dg__map .dg__pill[data-n="17"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(18):checked ~ .dg__details > .dg__detail:nth-child(18) { display: grid; }
.dg__radio:nth-of-type(18):checked ~ .dg__map .dg__pill[data-n="18"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(18):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="18"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(18):focus-visible ~ .dg__map .dg__pill[data-n="18"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(19):checked ~ .dg__details > .dg__detail:nth-child(19) { display: grid; }
.dg__radio:nth-of-type(19):checked ~ .dg__map .dg__pill[data-n="19"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(19):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="19"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(19):focus-visible ~ .dg__map .dg__pill[data-n="19"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(20):checked ~ .dg__details > .dg__detail:nth-child(20) { display: grid; }
.dg__radio:nth-of-type(20):checked ~ .dg__map .dg__pill[data-n="20"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(20):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="20"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(20):focus-visible ~ .dg__map .dg__pill[data-n="20"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(21):checked ~ .dg__details > .dg__detail:nth-child(21) { display: grid; }
.dg__radio:nth-of-type(21):checked ~ .dg__map .dg__pill[data-n="21"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(21):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="21"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(21):focus-visible ~ .dg__map .dg__pill[data-n="21"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(22):checked ~ .dg__details > .dg__detail:nth-child(22) { display: grid; }
.dg__radio:nth-of-type(22):checked ~ .dg__map .dg__pill[data-n="22"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(22):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="22"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(22):focus-visible ~ .dg__map .dg__pill[data-n="22"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(23):checked ~ .dg__details > .dg__detail:nth-child(23) { display: grid; }
.dg__radio:nth-of-type(23):checked ~ .dg__map .dg__pill[data-n="23"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(23):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="23"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(23):focus-visible ~ .dg__map .dg__pill[data-n="23"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }
.dg__radio:nth-of-type(24):checked ~ .dg__details > .dg__detail:nth-child(24) { display: grid; }
.dg__radio:nth-of-type(24):checked ~ .dg__map .dg__pill[data-n="24"] { background: var(--dg-accent); border-color: var(--dg-accent); color: var(--c-on-accent, #FFFFFF); }
.dg__radio:nth-of-type(24):checked ~ .dg__map .dg__group:has(.dg__pill[data-n="24"]) { border-color: var(--dg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dg-accent) 12%, transparent); }
.dg__radio:nth-of-type(24):focus-visible ~ .dg__map .dg__pill[data-n="24"] { outline: 2px solid var(--dg-accent); outline-offset: 3px; }

/* ---- footer ------------------------------------------------------------- */

.site-footer { background: var(--c-primary); color: var(--c-on-primary); padding-top: 3rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer__name { font-family: var(--font-heading); font-size: 1.2rem; display: block; margin-bottom: .5rem; }
.site-footer p, .site-footer dd { opacity: .88; }
.site-footer__social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .9rem; }
.site-footer .menu__list { flex-direction: column; gap: .5rem; }
.site-footer__legal { padding-block: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; opacity: .75; }

.contact-lines p { margin: 0 0 .6rem; }
.contact-lines__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .5rem 0 0; }
.hours dd { margin: 0; }
/* In a footer's narrow column the hours stack, the days (or a church's service and day)
   then the time underneath, never broken across lines. */
.site-footer .hours { grid-template-columns: 1fr; gap: 0; }
.site-footer .hours dt { font-weight: 700; }
.site-footer .hours dd { margin: 0 0 .7rem; white-space: nowrap; }
.site-footer .hours dd:last-child { margin-bottom: 0; }

/* ---- hero --------------------------------------------------------------- */

.hero { position: relative; display: grid; gap: 3rem; align-items: center; }
.v-centered .hero { text-align: center; }
.v-centered .hero__text { max-width: 760px; margin-inline: auto; }
.v-centered .actions { justify-content: center; }
.v-split .hero--has-image { grid-template-columns: 1.1fr 1fr; }
.hero__subtitle { font-size: 1.2rem; opacity: .92; max-width: 42rem; }
.v-centered .hero__subtitle { margin-inline: auto; }
.hero__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v-image-background { position: relative; overflow: hidden; }
/* The picture behind the text fills the whole section, not just the text's column. */
.v-image-background .hero { position: static; }
.v-image-background .hero--has-image { min-height: 60vh; text-align: center; }
.hero__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: 0; }
.v-image-background .hero__text { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.v-image-background .actions { justify-content: center; }

/* ---- text, picture and text -------------------------------------------- */

.prose--narrow { max-width: 760px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* The "Gift cards" block's drawn card, when it has no picture: in the theme's colours. */
.giftcard-art { display: block; width: 100%; max-width: 440px; margin-inline: auto; height: auto; filter: drop-shadow(0 12px 24px rgb(0 0 0 / .15)); }
.giftcard-art__card { fill: var(--c-primary); }
.giftcard-art__ribbon, .giftcard-art__bow { fill: var(--c-accent); }
.giftcard-art__line { fill: var(--c-on-primary); opacity: .55; }
.tryon-art { display: block; width: 100%; max-width: 440px; margin-inline: auto; height: auto; filter: drop-shadow(0 12px 24px rgb(0 0 0 / .15)); }
.tryon-art__card { fill: var(--c-surface); }
.tryon-art__nail { fill: var(--c-primary); }
.tryon-art__nail--alt { fill: var(--c-accent); }
.tryon-art__line { fill: var(--c-primary); opacity: .35; }

/* ---- cards ------------------------------------------------------------- */

.section-head { max-width: 720px; margin-bottom: 2rem; }
.v-cards .section-head { text-align: center; margin-inline: auto; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bg-surface .card { background: var(--c-bg); }
.card__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; }
.card__price { font-weight: 600; color: var(--c-secondary); margin-bottom: .5rem; }
.cards--list { grid-template-columns: 1fr; gap: 1rem; }
.cards--list .card { flex-direction: row; background: transparent; border-bottom: 1px solid rgba(0, 0, 0, .08); border-radius: 0; }

/* ---- call to action, contact ------------------------------------------ */

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta .actions { margin-top: 0; }
.cta--card { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: 2.5rem; }
/* Two columns: the heading and details on the left, the form (the wider of the two) on the right. */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 3rem; align-items: start; }
.contact--stacked { grid-template-columns: 1fr; max-width: 760px; }
/* Beside the form the heading has the narrow column, so it is smaller there and a short one stays on one line. */
@media (min-width: 761px) { .blk-contact .contact:not(.contact--stacked):not(.contact--form-first) h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); } }

@media (max-width: 760px) {
    .v-split .hero--has-image, .split, .contact { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .cta { flex-direction: column; align-items: flex-start; }
}

/* ---- header logo --------------------------------------------------------- */

.site-header__name { display: inline-flex; align-items: center; gap: .6rem; }
.site-header__logo { height: 2.5rem; width: auto; }

/* ---- contact form -------------------------------------------------------- */

.contact-form { display: grid; gap: .9rem; background: var(--c-surface); color: var(--c-text); padding: 1.75rem; border-radius: var(--radius); }
.contact-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea, .contact-form select {
    font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid rgba(0, 0, 0, .18);
    border-radius: calc(var(--radius) * .6); background: var(--c-bg); color: var(--c-text);
}
/* A dropdown's arrow is our own, so it stands clear of the right edge: the browser's sits against the border. */
.contact-form select {
    appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4.25 6 8l4-3.75'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .95rem center; background-size: .75rem;
}
.contact-form .optional { font-weight: 400; opacity: .7; }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
/* With the business asked too, the short fields go in pairs on a wide screen: name beside business, email beside phone. */
@media (min-width: 640px) {
    .contact-form--pairs { grid-template-columns: 1fr 1fr; }
    .contact-form--pairs .contact-form__wide, .contact-form--pairs button, .contact-form--pairs .contact-form__note { grid-column: 1 / -1; }
}
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__note { margin: 0; font-size: .85rem; opacity: .7; }

/* Form first, the details beside it as cards (the Seebia sites' contact page). The form sits on the page, not in a box. */
.contact--form-first { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem 3.5rem; align-items: start; }
.contact--form-first .contact__main, .contact__details { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.contact__details { gap: .9rem; }
.contact--form-first .section-head, .contact--form-first h2 { margin: 0; }
.blk-contact .contact.contact--form-first h2 { font-size: clamp(1.4rem, 2.4vw, 1.65rem); }
.contact__details-heading { margin-bottom: .5rem !important; }
.contact--form-first .contact-form { background: none; padding: 0; border-radius: 0; gap: 1.1rem 1.1rem; }
.contact--form-first .contact-form input, .contact--form-first .contact-form select, .contact--form-first .contact-form textarea { border-radius: .75rem; border-color: rgba(127, 127, 127, .35); min-height: 3rem; }
.contact--form-first .contact-form textarea { min-height: 8.75rem; }
.contact--form-first .contact-form .btn { border-radius: 999px; padding: .85em 1.75em; }
.contact-card { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 1.4rem; border: 1px solid rgba(127, 127, 127, .25); border-radius: 1rem; background: var(--c-bg); color: var(--c-text); }
.contact-card__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.contact-card__value { font-size: 1.125rem; font-weight: 700; padding: .25rem 0; color: inherit; }
.contact-card__note { font-size: .875rem; opacity: .75; }
@media (max-width: 860px) { .contact--form-first { grid-template-columns: 1fr; } }

/* ---- testimonials --------------------------------------------------------- */

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.quote { margin: 0; background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: 1.75rem; }
.bg-surface .quote { background: var(--c-bg); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.1rem; font-family: var(--font-heading); }
.quote figcaption { display: grid; font-size: .95rem; }
.quote figcaption span { opacity: .75; }
.quotes--single { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; text-align: center; }
.quotes--single .quote { background: transparent; }
.quotes--single blockquote { font-size: 1.5rem; }

/* ---- Google reviews: the place's rating and reviews, filled in when the page is served ---- */

.g-stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: .1em; color: rgba(127, 127, 127, .35); }
.g-stars::before { content: "\2605\2605\2605\2605\2605"; }
.g-stars::after { content: "\2605\2605\2605\2605\2605"; position: absolute; inset: 0 auto 0 0; width: var(--g-fill, 100%); overflow: hidden; color: #f5a623; white-space: nowrap; }
.g-reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-bottom: 1.5rem; }
.g-reviews__score { font-size: 2.25rem; font-weight: 700; font-family: var(--font-heading); line-height: 1; }
.g-reviews__summary .g-stars { font-size: 1.35rem; }
.g-reviews__count { color: inherit; opacity: .8; }
.g-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.g-reviews--list .g-reviews__list { grid-template-columns: 1fr; max-width: 860px; }
.g-review { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.bg-surface .g-review { background: var(--c-bg); }
.g-review__head { display: flex; align-items: center; gap: .75rem; }
.g-review__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.g-review__initial { display: grid; place-items: center; background: var(--c-primary); color: var(--c-on-primary); font-weight: 700; }
.g-review__who { display: grid; line-height: 1.3; }
.g-review__author { font-weight: 600; color: inherit; text-decoration: none; }
a.g-review__author:hover { text-decoration: underline; }
.g-review__when { font-size: .85rem; opacity: .7; }
.g-review__text { margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.g-reviews__credit { margin: 1rem 0 0; font-size: .8rem; opacity: .65; }
.g-reviews__all { margin-top: 1rem; }
.g-reviews__write { margin-top: .75rem; }

/* The badge sits bottom left: the chat assistant's button is bottom right. */
.g-badge { position: fixed; left: 1rem; bottom: 1rem; z-index: 40; display: flex; align-items: center; gap: .45rem; padding: .5rem .85rem;
    border-radius: 999px; background: #fff; color: #202124; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); font-size: .9rem; text-decoration: none; }
.g-badge:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.g-badge__g { font-weight: 700; color: #4285f4; }
.g-badge__score { font-weight: 700; }
.g-badge .g-stars { font-size: .95rem; }
.g-badge__count { opacity: .75; }
@media (max-width: 560px) { .g-badge__count { display: none; } }
@media print { .g-badge { display: none; } }

/* ---- gallery -------------------------------------------------------------- */

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery--mosaic li:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery--mosaic li:nth-child(5n + 1) img { aspect-ratio: auto; height: 100%; }

/* ---- pricing -------------------------------------------------------------- */

.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.plan--featured { background: var(--c-primary); color: var(--c-on-primary); transform: translateY(-.5rem); }
.plan__name { margin: 0; }
.plan__price { font-size: 2rem; font-weight: 700; font-family: var(--font-heading); margin: 0; }
.plan__features { list-style: none; padding: 0; margin: .5rem 0 1rem; flex: 1; }
.plan__features li { padding: .35rem 0; border-bottom: 1px solid rgba(127, 127, 127, .2); }
.plans--list { grid-template-columns: 1fr; }
.plans--list .plan { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 1rem; transform: none; }
.plans--list .plan__features { flex-basis: 100%; }

/* ---- questions and answers ------------------------------------------------- */

.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq--two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: none; }
.faq__item { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: 1rem 1.25rem; }
.faq__item summary { cursor: pointer; font-weight: 600; }
.faq__answer { padding-top: .75rem; }

/* ---- video and map -------------------------------------------------------- */

.video, .location__map { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: rgba(0, 0, 0, .08); }
.video iframe, .location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* An uploaded video: the browser's own player over the poster. With a tall version, that one on a phone. */
/* No backing colour: under the rounded corners a dark one showed as a rim where the corners are smoothed, even with
   a video that fills the box. A video of another shape has the section's colour beside it (the framed card its dark). */
.video--file { background: transparent; }
.video--file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.video__tall { display: none; }
@media (max-width: 640px) {
    /* A set width (the column's, at most what 80% of the screen's height allows): an auto width with auto margins
       shrinks to nothing in a column of the framed card, its videos being placed over it. */
    .video--has-tall { aspect-ratio: 9 / 16; width: min(100%, 45vh); margin-inline: auto; }
    .video--has-tall .video__wide { display: none; }
    .video--has-tall .video__tall { display: block; }
}
/* Its line underneath and, with other languages, the switch between them (video-file.js shows it). */
.video-player { display: flex; flex-direction: column; gap: .875rem; }
.video__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; opacity: .8; }
.video__langs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.video__langs[hidden] { display: none; }
.video__langs > span { margin-right: .25rem; }
.video__lang { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .45); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.video__lang[aria-pressed=true] { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.video__note { margin-left: auto; }
/* Framed: a dark card around the video, its bar in the card's own colours, and a large play button. */
.video-player--framed { background: #0A0F1F; border: 1px solid #26335A; border-radius: 28px; padding: clamp(12px, 2vw, 20px); color: #93A0BF; }
.video-player--framed .video { border-radius: 16px; }
.video-player--framed .video__bar { opacity: 1; }
.video-player--framed .video__lang { border-color: #33416A; color: #E8ECF7; }
.video-player--framed .video__lang[aria-pressed=true] { background: #E8ECF7; border-color: #E8ECF7; color: #0F172A; }
.video__lang:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.video__play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; border: 0; background: #2563EB; color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .5), 0 0 0 10px rgba(37, 99, 235, .25); transition: transform .15s, background .15s; z-index: 1; }
.video__play:hover { transform: scale(1.07); background: #1D4ED8; }
.video__play:focus-visible { outline: 3px solid #22D3EE; outline-offset: 4px; }
.video__play[hidden] { display: none; }
@media (max-width: 700px) { .video__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; } .video__play svg { width: 34px; height: 34px; } }
/* Two ways to watch: the video, and another opened over the page (video-file.js). */
.video__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin-bottom: 2rem; }
.video__tab { min-height: 2.75rem; padding: 0 1.375rem; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35); background: var(--c-bg); color: var(--c-text); font-size: .9375rem; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
a.video__tab:hover { border-color: var(--video-accent, var(--c-accent)); }
.video__tab--current { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.video__tab:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
/* Over the page: a dark card with a slim bar (its name, the close button) above the frame, which it fills. */
.video-modal { width: min(1200px, calc(100vw - 2rem)); height: min(920px, calc(100vh - 2rem)); max-width: none; max-height: none; padding: 0; border: 1px solid #26335A; border-radius: 24px; background: #0A0F1F; color: #E8ECF7; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.video-modal[open] { display: flex; flex-direction: column; }
.video-modal::backdrop { background: rgba(10, 15, 31, .72); backdrop-filter: blur(3px); }
.video-modal__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .625rem .75rem .625rem 1.5rem; border-bottom: 1px solid #1F2A47; }
.video-modal__title { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #93A0BF; }
.video-modal iframe { flex: 1; display: block; width: 100%; min-height: 0; border: 0; background: #0A0F1F; }
.video-modal__close { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #33416A; background: transparent; color: #E8ECF7; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-modal__close:hover { background: #1F2A47; }
/* A close button straight in the window, without the bar (an older script, still running): a strip of its own at
   the top all the same, the frame under it, so it never covers the animation. */
.video-modal:has(> .video-modal__close) { padding-top: 3.75rem; }
.video-modal > .video-modal__close { position: absolute; top: .625rem; right: .75rem; z-index: 1; }
.video-modal:has(> .video-modal__close) iframe { border-top: 1px solid #1F2A47; }
.video-modal__close:focus-visible { outline: 3px solid #22D3EE; outline-offset: 2px; }
@media (max-width: 640px) { .video-modal { inset: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; border: 0; } }
/* A framed video's heading, and the agent diagram's: the label in the code font and the block's accent, a large
   tight heading (one line where it fits), the line under it in a lighter colour. */
.blk-video.v-framed .section-head, .video-wrap--accent .section-head, .dg .section-head { max-width: 760px; display: flex; flex-direction: column; gap: .75rem; }
.dg .section-head { margin-bottom: 2.5rem; }
.blk-video.v-framed .eyebrow, .video-wrap--accent .eyebrow, .dg .section-head .eyebrow { margin: 0; font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: .16em; }
.blk-video.v-framed .eyebrow, .video-wrap--accent .eyebrow { color: var(--video-accent, var(--c-accent)); }
.blk-video.v-framed h2, .video-wrap--accent h2, .dg .section-head h2 { margin: 0; font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.blk-video.v-framed .section-head > :not(.eyebrow):not(h2), .video-wrap--accent .section-head > :not(.eyebrow):not(h2), .dg .section-head > :not(.eyebrow):not(h2) { margin: 0; font-size: 1.125rem; opacity: .7; }
.blk-video.v-framed .section-head p:not(.eyebrow), .video-wrap--accent .section-head p:not(.eyebrow), .dg .section-head p:not(.eyebrow) { margin: 0; }

/* ---- YouTube videos: a channel's newest, filled in when the page is served ---- */

.yt-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem 1.25rem; }
.yt-video { display: flex; flex-direction: column; gap: .45rem; color: inherit; text-decoration: none; }
.yt-video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: rgba(0, 0, 0, .08); }
.yt-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.yt-video__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.25rem; height: 2.3rem; transform: translate(-50%, -50%); border-radius: .6rem;
    background: rgba(0, 0, 0, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
    transition: background-color .2s ease; }
.yt-video:hover .yt-video__thumb img { transform: scale(1.04); }
.yt-video:hover .yt-video__thumb::after { background-color: #e00; }
.yt-video__title { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-video__date { font-size: .85rem; opacity: .7; }
.yt-videos--featured .yt-videos li:first-child { grid-column: 1 / -1; }
.yt-videos--featured .yt-videos li:first-child .yt-video { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: .5rem 2rem; align-items: center; }
.yt-videos--featured .yt-videos li:first-child .yt-video__thumb { grid-row: span 2; }
.yt-videos--featured .yt-videos li:first-child .yt-video__title { font-size: 1.5rem; font-family: var(--font-heading); -webkit-line-clamp: 4; align-self: end; }
.yt-videos--featured .yt-videos li:first-child .yt-video__date { align-self: start; }
.yt-videos__more { justify-content: center; margin-top: 2rem; }

/* The player video-player.js opens over the page: the dialog sits in the top layer, above every section. */
.yt-player { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.yt-player::backdrop { background: rgba(0, 0, 0, .85); }
.yt-player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.yt-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-player__close { position: absolute; right: 0; bottom: calc(100% + .5rem); width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.yt-player__close:hover, .yt-player__close:focus-visible { background: rgba(255, 255, 255, .3); }
html.has-video-player { overflow: hidden; }
@media (max-width: 720px) {
    .yt-videos--featured .yt-videos li:first-child .yt-video { grid-template-columns: 1fr; }
    .yt-videos--featured .yt-videos li:first-child .yt-video__thumb { grid-row: auto; }
}

/* Social posts: the organisation's newest Facebook or Instagram posts (SocialSlots fills the list). */
.social-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem 1.25rem; }
.social-post__inner { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.social-post__picture { position: relative; display: block; aspect-ratio: 1 / 1; background: rgba(0, 0, 0, .08); overflow: hidden; }
.social-post__picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.social-post__picture--video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3rem; height: 3rem; transform: translate(-50%, -50%); border-radius: 50%;
    background: rgba(0, 0, 0, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 55% no-repeat; }
a.social-post__inner:hover .social-post__picture img { transform: scale(1.04); }
.social-post__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; }
.social-post__date { font-size: .85rem; opacity: .7; }
.social-post__from { font-size: .85rem; font-weight: 600; opacity: .8; }
.social-post__text { line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.social-posts--list .social-posts { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.social-posts--list .social-post__inner { flex-direction: row; }
.social-posts--list .social-post__picture { flex: 0 0 34%; aspect-ratio: auto; min-height: 180px; }
.social-posts--featured .social-posts li:first-child { grid-column: 1 / -1; }
.social-posts--featured .social-posts li:first-child .social-post__inner { flex-direction: row; }
.social-posts--featured .social-posts li:first-child .social-post__picture { flex: 0 0 55%; aspect-ratio: 4 / 3; }
.social-posts--featured .social-posts li:first-child .social-post__text { font-size: 1.15rem; -webkit-line-clamp: 10; }
.social-posts__more { justify-content: center; margin-top: 2rem; }
@media (max-width: 720px) {
    .social-posts--list .social-post__inner, .social-posts--featured .social-posts li:first-child .social-post__inner { flex-direction: column; }
    .social-posts--list .social-post__picture, .social-posts--featured .social-posts li:first-child .social-post__picture { flex: none; aspect-ratio: 1 / 1; }
}

/* Facebook Page: a button until the visitor asks, then Facebook's own frame (facebook-embed.js). */
.fb-page { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; min-height: 12rem; max-width: 500px; margin: 0 auto; padding: 2rem 1.5rem;
    border-radius: var(--radius); background: var(--c-surface); text-align: center; }
.fb-page__note { margin: 0; opacity: .7; }
.fb-page--loaded { min-height: var(--fb-height, 600px); padding: 0; background: transparent; }
.fb-page iframe { width: 100%; max-width: 500px; height: var(--fb-height, 600px); border: 0; overflow: hidden; }
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.location--stacked { grid-template-columns: 1fr; }
.location__map { aspect-ratio: 4 / 3; }

/* ---- the editor's preview: which block is picked ------------------------ */

.is-selectable [data-block-id] { cursor: pointer; }
.is-selectable [data-block-id]:hover { outline: 2px dashed rgba(45, 83, 200, .55); outline-offset: -2px; }
.is-selectable .is-picked { outline: 3px solid #2d53c8; outline-offset: -3px; }

@media (max-width: 760px) {
    .location { grid-template-columns: 1fr; }
    .gallery--mosaic li:nth-child(5n + 1) { grid-column: auto; grid-row: auto; }
    .plan--featured { transform: none; }
}

/* =========================================================================
   Design styles (ThemeDesigns). Each is a set of rules under body.design-{key}
   on top of everything above; "classic" is everything above as it is. They
   restructure - header, headings, sections, cards - and still take every
   colour, font and shape from the theme's tokens.
   ========================================================================= */

/* ---- modern: crisp lines, bordered cards, left-aligned, quiet header ----- */

.design-modern h1, .design-modern h2 { font-weight: 800; letter-spacing: -.02em; }
.design-modern.nav-classic .site-header { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.design-modern.nav-classic .menu--main .menu__list a { font-weight: 600; font-size: .95rem; }
.design-modern.nav-classic .menu--main .menu__list a[aria-current] { text-decoration: none; box-shadow: inset 0 -2px 0 var(--c-accent); padding-bottom: .35rem; }
/* In a dropdown the current page is underlined under its words, not across the dropdown. */
.design-modern.nav-classic .menu--main .menu__sub a[aria-current] { box-shadow: none; padding-bottom: .4rem; text-decoration: underline 2px var(--c-accent); text-underline-offset: .35em; }
.design-modern .v-cards .section-head { text-align: left; margin-inline: 0; }
.design-modern .card, .design-modern .plan, .design-modern .quote, .design-modern .faq__item {
    background: var(--c-bg); border: 1px solid rgba(0, 0, 0, .1);
}
.design-modern .bg-surface .card, .design-modern .bg-surface .plan, .design-modern .bg-surface .quote { background: var(--c-bg); }
.design-modern .blk-hero .hero__title { font-size: clamp(2.4rem, 6vw, 4rem); }
.design-modern .site-footer { background: var(--c-surface); color: var(--c-text); border-top: 1px solid rgba(0, 0, 0, .08); }
.design-modern .site-footer__legal { border-top-color: rgba(0, 0, 0, .1); }

/* ---- bold: the header over a full-height opening picture, big headings --- */

.design-bold h1, .design-bold h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.design-bold h2::after { content: ""; display: block; width: 3rem; height: 4px; margin-top: .6rem; background: var(--c-accent); }
.design-bold .v-cards .section-head h2::after, .design-bold .v-centered h2::after { margin-inline: auto; }
.design-bold.nav-classic .menu--main .menu__list a { text-transform: uppercase; font-weight: 700; font-size: .9rem; letter-spacing: .06em; }
.design-bold.nav-classic:has(main > .blk-hero:first-child) .site-header {
    position: absolute; top: 0; left: 0; right: 0; z-index: 10;
    background: transparent; color: var(--c-on-primary); border-bottom: 0;
}
.design-bold.nav-classic:has(main > .blk-hero:first-child) .menu__sub { color: var(--c-text); }
.design-bold.nav-classic main > .blk-hero:first-child { min-height: 88vh; display: grid; align-items: center; padding-top: calc(var(--space) + 5rem); }
.design-bold .blk-hero .hero__title { font-size: clamp(2.6rem, 7vw, 5rem); }
.design-bold .hero__backdrop { opacity: .5; }
.design-bold .v-image-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .55)); z-index: 0; pointer-events: none; }
.design-bold .v-image-background .hero__text { z-index: 1; }
.design-bold .card, .design-bold .plan, .design-bold .quote { box-shadow: 0 12px 32px rgba(0, 0, 0, .12); transition: transform .2s ease, box-shadow .2s ease; }
.design-bold .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.design-bold .btn { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* ---- elegant: the logo centred above the menu, fine lines, air ---------- */

.design-elegant h1, .design-elegant h2, .design-elegant h3 { font-weight: 400; letter-spacing: .02em; }
.design-elegant h2::after { content: ""; display: block; width: 2.5rem; height: 1px; margin: .9rem auto 0; background: var(--c-accent); }
.design-elegant .section-head, .design-elegant .prose h2, .design-elegant .contact h2, .design-elegant .location h2 { text-align: center; margin-inline: auto; }
.design-elegant .prose--narrow { margin-inline: auto; }
.design-elegant.nav-classic .site-header__inner { flex-direction: column; gap: .9rem; padding-block: 1.75rem 1.25rem; }
.design-elegant.nav-classic .site-header__name { margin: 0; font-size: 1.6rem; font-weight: 400; letter-spacing: .08em; }
.design-elegant.nav-classic .site-header { border-bottom: 1px solid rgba(0, 0, 0, .08); }
.design-elegant.nav-classic .site-header--primary { border-bottom: 0; }
.design-elegant.nav-classic .menu--main .menu__list { justify-content: center; gap: 2rem; }
.design-elegant.nav-classic .menu--main .menu__list a { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 500; }
.design-elegant .card, .design-elegant .quote { background: transparent; text-align: center; }
.design-elegant .card__body { padding-inline: .5rem; }
.design-elegant .plan, .design-elegant .faq__item { background: transparent; border: 1px solid rgba(127, 127, 127, .25); }
.design-elegant .btn { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 500; padding: 1em 2em; }
.design-elegant .site-footer { text-align: center; }
.design-elegant .site-footer__grid { justify-items: center; }
.design-elegant .site-footer__social { justify-content: center; }
@media (max-width: 760px) {
    .design-elegant.nav-classic .site-header__inner { align-items: flex-start; }
    .design-elegant.nav-classic .menu--main .menu__list { justify-content: flex-start; }
}

/* ---- soft: rounded, gentle shadows, pastel bands, centred headings ------ */

.design-soft h1, .design-soft h2 { font-weight: 700; }
.design-soft .section-head, .design-soft .prose h2 { text-align: center; margin-inline: auto; }
.design-soft .prose--narrow { margin-inline: auto; }
.design-soft.nav-classic .site-header { border-bottom: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); position: relative; z-index: 5; }
.design-soft.nav-classic .menu--main .menu__list a { padding: .35rem .85rem; border-radius: 999px; }
.design-soft.nav-classic .menu--main .menu__list a:hover, .design-soft.nav-classic .menu--main .menu__list a[aria-current] { background: var(--c-surface); text-decoration: none; }
.design-soft main > .bg-default:nth-child(even) { background: var(--c-surface); }
.design-soft main > .bg-default:nth-child(even) .card, .design-soft main > .bg-default:nth-child(even) .quote { background: var(--c-bg); }
.design-soft .blk-hero { border-radius: 0 0 calc(var(--radius) * 2.5) calc(var(--radius) * 2.5); }
.design-soft .card, .design-soft .plan, .design-soft .quote, .design-soft .faq__item, .design-soft .contact-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07); border: 0;
}
.design-soft .card__body { text-align: center; }
.design-soft .site-footer { background: var(--c-secondary); color: var(--c-on-secondary); border-radius: calc(var(--radius) * 2.5) calc(var(--radius) * 2.5) 0 0; }

/* ---- warm: cream pages, a short accent rule under headings, bands ------- */

.design-warm h2::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: .7rem; background: var(--c-accent); border-radius: 2px; }
.design-warm .v-cards .section-head h2::after, .design-warm .v-centered h2::after { margin-inline: auto; }
.design-warm.nav-classic .site-header { border-bottom: 3px double rgba(0, 0, 0, .12); }
.design-warm.nav-classic .site-header__name { font-style: italic; }
.design-warm main > .bg-default:nth-child(even) { background: var(--c-surface); }
.design-warm main > .bg-default:nth-child(even) .card, .design-warm main > .bg-default:nth-child(even) .quote { background: var(--c-bg); }
.design-warm .card, .design-warm .plan, .design-warm .quote { border: 1px solid rgba(0, 0, 0, .06); }
.design-warm .plans--list .plan { border: 0; border-bottom: 1px dashed rgba(0, 0, 0, .18); border-radius: 0; background: transparent; }
.design-warm .site-footer { background: var(--c-secondary); color: var(--c-on-secondary); }

/* ---- boutique: centred logo, the menu on a ruled line, square cards ----- */

.design-boutique h1, .design-boutique h2 { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.design-boutique h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.design-boutique .section-head, .design-boutique .prose h2 { text-align: center; margin-inline: auto; }
.design-boutique.nav-classic .site-header__inner { flex-direction: column; gap: 0; padding-block: 1.5rem 0; }
.design-boutique.nav-classic .site-header__name { margin: 0 0 1rem; font-size: 1.7rem; letter-spacing: .12em; text-transform: uppercase; }
.design-boutique.nav-classic .menu--main { align-self: stretch; border-top: 1px solid rgba(127, 127, 127, .3); }
.design-boutique.nav-classic .menu--main .menu__list { justify-content: center; gap: 2.25rem; padding-block: .8rem; }
.design-boutique.nav-classic .menu--main .menu__list a { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.design-boutique.nav-classic .site-header { border-bottom: 1px solid rgba(127, 127, 127, .3); }
.design-boutique .card { background: transparent; text-align: center; }
.design-boutique .card__image { aspect-ratio: 1 / 1; }
.design-boutique .card__body { padding: 1rem .5rem 1.25rem; }
.design-boutique .card h3 { text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; }
.design-boutique .gallery img { aspect-ratio: 1 / 1; }
.design-boutique .btn { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.design-boutique .site-footer { background: var(--c-surface); color: var(--c-text); border-top: 1px solid rgba(127, 127, 127, .3); }
.design-boutique .site-footer__legal { border-top-color: rgba(127, 127, 127, .3); }
@media (max-width: 760px) {
    .design-boutique.nav-classic .site-header__inner { align-items: flex-start; padding-bottom: 1rem; }
    .design-boutique.nav-classic .menu--main { border-top: 0; }
    .design-boutique.nav-classic .menu--main .menu__list { justify-content: flex-start; }
}

/* ---- in every design style: the featured price keeps its brand colour ---- */

[class*="design-"] .plan.plan--featured { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }

/* ---- a price list reads like a menu: the price on the right, at text size -- */

.plans--list .plan__price { order: 2; margin-left: auto; font-size: 1.2rem; }
.plans--list .plan__features { order: 3; margin: 0; }
.plans--list .plan__features li { border-bottom: 0; padding: 0; opacity: .85; }
.design-elegant .plans--list .plan, .design-warm .plans--list .plan {
    background: transparent; border: 0; border-bottom: 1px solid rgba(127, 127, 127, .25); border-radius: 0; padding: 1.1rem 0;
}

/* =========================================================================
   Navigations (ThemeNavigations) and structures (ThemeStructures). Each
   navigation is its own header and footer markup (Layout/*.razor); these are
   their rules. Everything still takes its colours and fonts from the tokens,
   and nothing runs script: menus open with checkboxes.
   ========================================================================= */

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-heading); font-weight: 700; }
.brand__logo { height: 2.5rem; width: auto; }
/* Design > Header and footer > the name's second line: its ending under the rest, smaller. */
.brand__name { line-height: 1.2; }
/* The header's own logo height and name size (Design), on phones too; the gap grows with the logo. */
.brand.brand--logo-sized { gap: calc(var(--logo-h) * .12); }
.brand.brand--logo-sized .brand__logo { height: var(--logo-h); }
.brand.brand--name-sized { font-size: var(--name-size); }
.brand__name-small { display: block; font-size: .7em; font-weight: 500; letter-spacing: 0; }
/* The ending beside the name, after a thin line: "Seebia | for Nail Salons". */
.brand__name--beside { display: inline-flex; align-items: center; gap: .75rem; white-space: nowrap; }
.brand__name--beside .brand__name-small { display: inline-block; padding-left: .75rem; border-left: 1px solid rgba(127, 127, 127, .45); font-family: var(--font-body); font-size: .62em; font-weight: 600; line-height: 1.6; }
@media (max-width: 420px) { .brand__name--beside { white-space: normal; } }
/* A logo drawn for a light page, in a header painted in a dark colour (RenderContext.LogoOnChip). The padding sits outside the logo's height. */
.brand--chip .brand__logo { box-sizing: content-box; background: #fff; padding: .4rem .7rem; border-radius: .75rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem; }
.social a { text-decoration: none; }

/* ---- split header: a practical top bar; the logo between two halves of the menu */

.topbar { background: var(--c-secondary); color: var(--c-on-secondary); font-size: .88rem; }
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: .5rem; }
.topbar__facts { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-right: auto; }
.topbar__facts a { text-decoration: none; font-weight: 600; }
.topbar .btn { padding: .35em .9em; font-size: .85rem; }
.split-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-block: 1.4rem; }
.topbar__facts > * + *::before { content: "·"; margin-right: 1.25rem; opacity: .6; }
.split-header__left .menu__list { justify-content: flex-end; }
.split-header__right .menu__list { justify-content: flex-start; }
.split-header__end { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.split-header__end .btn { white-space: nowrap; }
.split-header__left .menu__list, .split-header__right .menu__list { flex-wrap: nowrap; }
.split-header__left .menu__list a, .split-header__right .menu__list a { white-space: nowrap; }
.split-header__brand { font-size: 1.6rem; justify-self: center; text-align: center; }
.split-header__brand .brand__logo { height: 3.25rem; }
/* A logo shown alone usually spells out the name (a wordmark): larger, so its words stay readable. */
.brand--logo-only .brand__logo { height: 3.25rem; }
.split-header__brand.brand--logo-only .brand__logo { height: 4.5rem; }
.split-header__phone { display: none; }
.site-header--split { border-bottom: 1px solid rgba(0, 0, 0, .08); }

/* ---- full-screen menu: a light header over the opening section ----------- */

.site-header--overlay { background: var(--c-primary); color: var(--c-on-primary); border: 0; }
.nav-overlay:has(main > .blk-hero:first-child) .site-header--overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; }
.nav-overlay main > .blk-hero:first-child { min-height: 92vh; display: grid; align-items: center; padding-top: calc(var(--space) + 5rem); }
.overlay-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; }
.overlay-header__brand { font-size: 1.4rem; }
.overlay-menu__check { position: absolute; opacity: 0; pointer-events: none; }
.overlay-menu__open {
    display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
    padding: .55rem 1.1rem; border: 1px solid currentColor; border-radius: 999px;
}
.overlay-menu__check:focus-visible + .overlay-menu__open { outline: 2px solid currentColor; outline-offset: 3px; }
.overlay-menu { position: fixed; inset: 0; z-index: 100; display: none; overflow-y: auto; background: var(--c-primary); color: var(--c-on-primary); }
.overlay-menu__check:checked ~ .overlay-menu { display: block; }
.overlay-menu__close { position: absolute; top: 1.25rem; right: 1.75rem; font-size: 2.8rem; line-height: 1; cursor: pointer; }
.overlay-menu__inner { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding-block: 7rem 4rem; align-items: start; }
.overlay-menu__links .menu__list { flex-direction: column; gap: .4rem; }
.overlay-menu__links .menu__list > li > a { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.15; }
.overlay-menu__links .menu__list a[aria-current] { text-decoration: none; opacity: .6; }
.overlay-menu__links .menu__sub { position: static; display: flex; flex-wrap: wrap; gap: 1rem; background: transparent; color: inherit; box-shadow: none; padding: .25rem 0 .75rem; }
.overlay-menu__aside { display: grid; gap: 1.5rem; opacity: .9; }

/* ---- language switch: EN | VI, on a site in more than one language ------- */

.lang-switch { display: inline-flex; align-items: center; gap: .1rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.lang-switch a { color: inherit; text-decoration: none; padding: .35rem .45rem; border-radius: var(--radius); opacity: .6; }
.lang-switch a:hover, .lang-switch a:focus-visible { opacity: 1; }
.lang-switch a[aria-current] { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
/* The quiet header's globe: a round button the size of the Light/Dark one, beside it. */
.lang-switch--icon { gap: .4rem; }
.lang-switch--icon a { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; opacity: 1; border: 1px solid rgba(127, 127, 127, .35); border-radius: 999px; }
.lang-switch--icon a:hover, .lang-switch--icon a:focus-visible { border-color: var(--c-accent); }
.topbar .lang-switch { font-size: .75rem; }
.topbar .lang-switch a { padding: .25rem .4rem; }
.overlay-header__lang { margin-left: auto; }
.site-sidebar .lang-switch { align-self: flex-start; }

/* ---- storefront: an announcement bar, the menu centred, a prominent button */

.announcement { background: var(--c-accent); color: var(--c-on-accent); text-align: center; font-size: .9rem; font-weight: 600; padding-block: .55rem; }
.storefront-header { gap: 2rem; }
.storefront-header .site-header__name { margin-right: 0; }
.storefront-header__menu { margin-inline: auto; }
.site-header--storefront { border-bottom: 1px solid rgba(0, 0, 0, .08); }

/* ---- sidebar: the menu down the side, the page beside it ------------------ */

.site-shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); min-height: 100vh; }
.site-sidebar { background: var(--c-primary); color: var(--c-on-primary); }
.site-sidebar__inner { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2rem; padding: 2.5rem 1.75rem; }
.site-sidebar__brand { font-size: 1.45rem; flex-direction: column; align-items: flex-start; }
.site-sidebar__brand .brand__logo { height: 3.5rem; }
.site-sidebar__menu .menu__list { flex-direction: column; gap: .15rem; }
.site-sidebar__menu .menu__list > li > a { display: block; padding: .55rem .75rem; margin-inline: -.75rem; border-radius: var(--radius); font-size: 1.05rem; }
.site-sidebar__menu .menu__list > li > a:hover { background: rgba(255, 255, 255, .1); }
.site-sidebar__menu .menu__list a[aria-current] { text-decoration: none; background: rgba(255, 255, 255, .16); }
.site-sidebar__menu .menu__sub { position: static; display: block; background: transparent; color: inherit; box-shadow: none; padding: 0 0 0 .9rem; }
.site-sidebar__details { margin-top: auto; display: grid; gap: 1rem; font-size: .92rem; }
.site-sidebar__details .contact-lines__label { opacity: .65; }
.site-shell__main .wrap { width: min(1040px, 100% - 4rem); }

/* ---- footers ---------------------------------------------------------------- */

.store-footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.store-footer__title { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: .9rem; opacity: .8; }
.site-footer--storefront .menu__list, .site-footer--closing .menu__list, .site-footer--compact .menu__list { flex-direction: column; gap: .5rem; }
.store-footer__legal, .closing__legal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.store-footer__legal .menu__list, .closing__legal .menu__list, .site-footer--compact .menu__list { flex-direction: row; gap: 1.25rem; }

.site-footer--closing { padding-top: calc(var(--space) * 1.4); text-align: center; }
.closing__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; opacity: .75; margin-bottom: .75rem; }
.closing__title { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; max-width: 22ch; margin: 0 auto 1.5rem; }
.closing .actions { justify-content: center; }
.closing__grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 3rem; text-align: left; }
.closing__social { flex-direction: column; gap: .5rem; }

.site-footer--compact { background: var(--c-surface); color: var(--c-text); padding: 0; }
.compact-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; font-size: .9rem; }
.compact-footer__hours { opacity: .75; }

/* ---- boxed: the site in a frame on a coloured, patterned page -------------- */

.structure-boxed {
    background-color: var(--c-secondary);
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px);
    padding: 2.5rem 1.25rem;
}
.site-frame { max-width: 1240px; margin: 0 auto; background: var(--c-bg); border-radius: calc(var(--radius) * 1.5); overflow: clip; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.structure-boxed main > .blk + .blk, .structure-boxed .onepage-part > .blk + .blk { border-top: 1px solid rgba(127, 127, 127, .18); }
.structure-boxed .site-shell { min-height: 0; }
.structure-boxed .site-sidebar__inner { height: auto; min-height: 100%; }

/* ---- full-bleed: pictures to the screen's edges, bands of photo and colour -- */

.structure-fullbleed .blk-image-text, .structure-fullbleed .blk-gallery { padding-block: 0; }
.structure-fullbleed .blk-image-text .wrap, .structure-fullbleed .blk-gallery .wrap { width: 100%; }
.structure-fullbleed .split { gap: 0; align-items: stretch; }
.structure-fullbleed .split__media img { height: 100%; min-height: 28rem; aspect-ratio: auto; border-radius: 0; }
.structure-fullbleed .split__text { align-self: center; padding: calc(var(--space) * .8) clamp(1.5rem, 6vw, 5rem); }
.structure-fullbleed .gallery { gap: 0; }
.structure-fullbleed .gallery img { border-radius: 0; }
.structure-fullbleed .blk-gallery .section-head { padding: var(--space) 1.25rem 1.5rem; margin-inline: auto; text-align: center; }
.structure-fullbleed main > .blk-hero:first-child { min-height: 80vh; display: grid; align-items: center; }
.structure-fullbleed main > .bg-default:nth-child(even) { background: var(--c-surface); }

/* ---- one page: every page in the menu, one after another ------------------ */

html:has(.structure-onepage) { scroll-behavior: smooth; }
.structure-onepage .site-header:not(.site-header--overlay) { position: sticky; top: 0; z-index: 30; }
.structure-onepage.nav-overlay .site-header--overlay { position: sticky; top: 0; z-index: 30; }
.structure-onepage.nav-overlay:has(main > .blk-hero:first-child) .site-header--overlay { position: absolute; }
.onepage-part { scroll-margin-top: 5.5rem; border-top: 1px solid rgba(127, 127, 127, .15); }

/* ---- magazine: the home page opens with a grid of tiles -------------------- */

.tiles { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 13rem; gap: 1rem; }
.tile a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: var(--c-primary); color: var(--c-on-primary); }
.tile--plain:nth-child(even) a { background: var(--c-secondary); color: var(--c-on-secondary); }
.tile__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile a:hover .tile__image { transform: scale(1.04); }
.tile__text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem; padding: 1.25rem 1.4rem; }
.tile:not(.tile--plain) .tile__text { color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); padding-top: 3rem; }
.tile__title { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.2; }
.tile--feature .tile__title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tile__words { font-size: .92rem; opacity: .9; }
.tile--feature { grid-column: span 2; grid-row: span 2; }
.tiles--1 .tile { grid-column: span 4; }
.tiles--2 .tile { grid-column: span 2; grid-row: span 2; }
.tiles--3 .tile:not(.tile--feature) { grid-column: span 2; }
.tiles--4 .tile:last-child { grid-column: span 2; }

/* ---- phones ------------------------------------------------------------------ */

@media (max-width: 760px) {
    .topbar__social { display: none; }
    .split-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1rem; position: relative; padding-right: 3rem; }
    .split-header__left, .split-header__right { display: none; }
    .split-header__end .btn { padding: .5em 1em; font-size: .9rem; }
    .split-header__phone { display: block; order: 3; flex-basis: 100%; }
    .split-header__brand { justify-self: auto; text-align: left; font-size: 1.3rem; }

    .overlay-menu__inner { grid-template-columns: 1fr; padding-top: 5rem; }

    .storefront-header__menu { margin-inline: 0; }

    .site-shell { grid-template-columns: 1fr; }
    .site-sidebar__inner { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 3.5rem 1rem 1.25rem; }
    .site-sidebar__brand { flex-direction: row; align-items: center; font-size: 1.2rem; }
    .site-sidebar__brand .brand__logo { height: 2.5rem; }
    .site-sidebar__menu { flex-basis: 100%; }
    .site-sidebar__menu .menu__burger { top: 1.1rem; }
    .site-sidebar__details { display: none; }
    .site-shell__main .wrap { width: min(1040px, 100% - 2.5rem); }

    .store-footer { grid-template-columns: 1fr 1fr; }

    .structure-boxed { padding: 0; }
    .site-frame { border-radius: 0; }

    .structure-fullbleed .split__media img { min-height: 16rem; }

    .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 10rem; }
    .tile--feature, .tiles--1 .tile, .tiles--2 .tile, .tiles--3 .tile:not(.tile--feature), .tiles--4 .tile:last-child { grid-column: span 2; grid-row: span 2; }
}

/* ---- design fidelity v2 (CMS_DESIGN_FIDELITY_PLAN §4-5) ----------------
   Tokens: --gradient, --glow-a, --glow-b (ThemeCss); body classes hs-*, tr-*,
   cards-* (SiteDocument). All optional: a theme without them looks as before. */

.icon { display: block; width: 22px; height: 22px; }

/* A label above a heading, and ==highlighted== words in it. */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 .8rem; }
.bg-primary .eyebrow, .bg-secondary .eyebrow, .bg-accent .eyebrow, .bg-gradient .eyebrow { color: inherit; opacity: .85; }
.hl { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-gradient .hl, .bg-accent .hl { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; }
.section-head--center { text-align: center; margin-inline: auto; }

/* Heading size and tracking. */
.hs-large h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.hs-large h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.hs-display h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.04; font-weight: 800; }
.hs-display h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; font-weight: 800; }
.tr-tight h1, .tr-tight h2 { letter-spacing: -.035em; }
.tr-tight h3 { letter-spacing: -.015em; }

/* Section backgrounds: the brand gradient, and soft light on the page colour. */
.bg-gradient { background: var(--gradient); color: #fff; }
.bg-glow {
    background:
        radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--glow-b) 35%, transparent), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--glow-a) 22%, transparent), transparent 70%),
        var(--c-bg);
    color: var(--c-text);
}

/* Card styles; "auto" leaves cards as the design style draws them. */
.cards-flat .card { background: transparent; box-shadow: none; border: 0; }
.cards-bordered .card { border: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent); box-shadow: none; }
.cards-raised .card { border: 0; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .35); }
.cards-glass .card {
    background: color-mix(in srgb, var(--c-surface) 78%, transparent);
    border: 1px solid color-mix(in srgb, var(--c-text) 12%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .6);
}

/* Card extras: an icon, a tag, and a highlighted note at the foot. */
.card__icon {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem;
    border-radius: calc(var(--radius) * .6 + 4px);
    background: color-mix(in srgb, var(--c-accent) 16%, transparent); color: var(--c-accent);
}
.card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 .45rem; }
.card__note {
    display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
    margin: 1rem 0 0; padding: .4rem .9rem .4rem .4rem; border-radius: 999px; font-size: .85rem;
    border: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent);
}
.card__note-mark { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gradient); color: #fff; }
.card__note-mark .icon { width: 12px; height: 12px; stroke-width: 3; }
.btn__arrow { display: inline-block; margin-left: .45em; transition: transform .15s ease; }

/* Three, six or nine cards sit in rows of three, never four and a stray two. */
@media (min-width: 761px) {
    .cards:not(.cards--list):has(> .card:nth-child(3):last-child),
    .cards:not(.cards--list):has(> .card:nth-child(6):last-child),
    .cards:not(.cards--list):has(> .card:nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Steps: the numbers are the list's order. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; counter-reset: step; }
.step { counter-increment: step; padding-top: 1.1rem; border-top: 3px solid; border-image: var(--gradient) 1; }
.step::before { content: "Step " counter(step); display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.step__title { font-size: 1.2rem; }
.steps--list { grid-template-columns: 1fr; max-width: 720px; }

/* Logos. */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.logos--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); justify-items: center; }
.logos__item img { max-height: 48px; width: auto; opacity: .8; filter: grayscale(1); transition: filter .2s ease, opacity .2s ease; }
.logos__item img:hover { filter: none; opacity: 1; }

/* ---- design: glow ------------------------------------------------------
   A dark page lit in the brand's colours: the opening and the calls to action
   glow instead of sitting on flat colour, and the header floats over the page. */

.design-glow .bg-primary, .design-glow .bg-secondary {
    background:
        radial-gradient(55% 75% at 82% 8%, color-mix(in srgb, var(--glow-b) 42%, transparent), transparent 70%),
        radial-gradient(45% 60% at 8% 92%, color-mix(in srgb, var(--glow-a) 26%, transparent), transparent 70%),
        var(--c-bg);
    color: var(--c-text);
}
.design-glow .bg-primary .eyebrow, .design-glow .bg-secondary .eyebrow { color: var(--c-accent); opacity: 1; }
.design-glow .blk-cta.bg-secondary .cta { border: 1px solid color-mix(in srgb, var(--c-text) 12%, transparent); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.75rem, 5vw, 3.5rem); background: color-mix(in srgb, var(--c-surface) 60%, transparent); }
.design-glow .site-header {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--c-bg) 82%, transparent); color: var(--c-text);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
}
.design-glow .site-footer { background: var(--c-bg); color: var(--c-text); border-top: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent); }
.design-glow .site-footer__legal { border-top-color: color-mix(in srgb, var(--c-text) 10%, transparent); }
.design-glow .card { border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent); }
.design-glow .btn:not(.btn--secondary) { box-shadow: 0 12px 30px -12px var(--c-accent); }

/* ---- custom sections: the tenant's own markup, kept to its wrapper --------- */

/* Whatever its CSS does, a custom section paints inside its own box: nothing it
   positions can cover the header, another section or the page. */
.blk-custom { position: relative; isolation: isolate; contain: paint; }
.custom--full { width: 100%; }
/* The section's own page background (a design's body {}) paints first and its glows and shapes
   at z-index -1 above it, as on the page it was designed on. */
.custom__host { position: relative; isolation: isolate; }
.custom img { max-width: 100%; height: auto; }

/* A section's picture opened larger (CustomBlock.PictureZoom draws it over the page, inside the
   section; picture-zoom.js lets the section out of its box meanwhile): the page stays put behind it. */
html.has-zoomed-picture { overflow: hidden; }

/* ---- a picture behind a section, under a tint of its background --------- */

.has-backdrop { position: relative; isolation: isolate; overflow: hidden; }
.has-backdrop > .blk__backdrop, .has-backdrop > picture.blk__backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-backdrop > .blk__tint { position: absolute; inset: 0; z-index: -1; background: inherit; opacity: var(--tint, .6); }

/* On a phone the logo, the name and the header's button share one row with the menu button. */
@media (max-width: 760px) {
    .brand__logo { height: 2rem; }
    .brand--logo-only .brand__logo, .split-header__brand.brand--logo-only .brand__logo { height: 2.75rem; }
    .site-header__action .btn { padding: .5em .95em; font-size: .9rem; }
    .site-header__action { margin-left: auto; }
    .site-header .brand { margin-right: 0; }
    .site-header__inner { gap: .75rem; }
}

/* Chart block: Reports' chart markup (ReportChartHtml), colours inline, on the theme's surface. */
.chart { background: var(--c-surface); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.chart .rp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .rp-legend { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0 0 .5rem; padding: 0; font-size: .9rem; }
.chart .rp-legend li { display: flex; align-items: center; gap: .4rem; }
.chart .rp-swatch { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; flex: none; }
.chart .rp-swatch-total { height: .2rem; border-radius: 0; }
.chart .rp-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.chart .rp-svg-pie { width: min(100%, 15rem); }
.chart .rp-legend-pie { flex-direction: column; }
.chart .rp-share, .chart .rp-chart-note, .chart .rp-chart-empty, .chart .rp-tile-label, .chart .rp-tile-when { opacity: .7; }
.chart .rp-chart-note { font-size: .85rem; margin: .5rem 0 0; }
.chart .rp-tiles { display: flex; flex-wrap: wrap; gap: 1rem; }
.chart .rp-tile { display: flex; flex-direction: column; flex: 1 1 10rem; }
.chart .rp-tile-value { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; line-height: 1.15; }
.chart .rp-tile-change, .chart .rp-tile-label, .chart .rp-tile-when { font-size: .9rem; }
.chart table { width: 100%; border-collapse: collapse; }
.chart th, .chart td { padding: .4rem .6rem; border-bottom: 1px solid rgba(127, 127, 127, .25); text-align: left; }
.chart .num { text-align: right; font-variant-numeric: tabular-nums; }
.chart-missing { padding: 1rem 1.25rem; border: 2px dashed rgba(127, 127, 127, .5); border-radius: var(--radius); opacity: .8; }

/* Another module's page in the site's look (FramePage.razor): Booking's /book pages. */
.frame-page .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.frame-page__back { color: inherit; font-size: .95rem; }
/* Start close under the header, not a whole section's space below it. */
.frame-page > main.blk { padding-top: 1.5rem; }
.frame-page__footer { padding: 2rem 0; font-size: .85rem; opacity: .7; text-align: center; }

/* Listings block: the cards come from the Listings module with their own styles (lst-*); this only places the "See all" link. */
.listings-more { justify-content: center; }

/* ---- footer: the brand column (Design > Header and footer) -------------------------------
   The logo and name, the business's line and how to reach it on the left; the footer menu's
   columns beside them; the small print and the menu's plain links along the bottom. */
.site-footer--brand { padding-top: 4rem; font-size: .9375rem; line-height: 1.5; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 3rem 3.5rem; }
.site-footer__brand { flex: 1 1 16rem; max-width: 19rem; display: flex; flex-direction: column; gap: 1.1rem; }
.site-footer__logo { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; color: inherit; text-decoration: none; }
.site-footer__logo .brand__logo { height: 2.25rem; }
.site-footer__logo .brand__name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.site-footer--brand .site-footer__line { margin: 0; opacity: 1; }
.site-footer__reach { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .1rem; }
.site-footer__reach li { display: flex; align-items: center; gap: .65rem; min-height: 2.25rem; }
.site-footer__reach a { display: inline-block; padding: .6rem 0; }
.site-footer__reach-icon { flex: none; display: inline-flex; color: var(--footer-heading, var(--c-accent)); }
.site-footer__reach-icon svg { width: 1rem; height: 1rem; }
.site-footer__cols { flex: 999 1 35rem; }
.site-footer--brand .site-footer__cols .menu__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 2.25rem 1.5rem; }
.site-footer--brand .menu__parent > a, .site-footer--brand .menu__parent > .menu__heading {
    margin-bottom: .6rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em;
    opacity: 1; color: var(--footer-heading, var(--c-accent));
}
.site-footer--brand .menu__sub a, .site-footer--brand .menu__group-list a { padding: .45rem 0; line-height: 1.35; font-weight: 400; }
.site-footer--brand .menu__sub a.menu__rich { align-items: center; gap: .65rem; padding: .3rem 0; }
.site-footer--brand .menu__rich .menu__label { font-weight: 400; }
.site-footer--brand .menu__icon { width: 1.75rem; height: 1.75rem; border-radius: .5rem; }
.site-footer--brand .menu__icon svg { width: 1rem; height: 1rem; }
.site-footer--brand .menu__rich:hover .menu__icon { border-color: var(--footer-heading, var(--c-accent)); color: var(--footer-heading, var(--c-accent)); }
.site-footer--brand .menu__rich:hover .menu__label { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 3rem; padding-block: 1.4rem 1.75rem; font-size: .875rem; opacity: 1; }
.site-footer__links .menu__list { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__links .menu__list a { display: inline-block; padding: .6rem 0; }
/* Headings in a colour of their own, in the other footer too. */
.site-footer[style*="--footer-heading"] .menu__parent > a, .site-footer[style*="--footer-heading"] .menu__parent > .menu__heading { color: var(--footer-heading); opacity: 1; }

/* A dark footer, whatever the theme: near-black, grey words, light links. After the designs' own footer colours, to win. */
.site-footer.site-footer--dark { background: #0A0F1F; color: #93A0BF; border-top: 1px solid #1F2A47; border-radius: 0; }
.site-footer--dark a { color: #CBD5E1; text-decoration: none; }
.site-footer--dark a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.site-footer--dark a.menu__rich:hover { text-decoration: none; }
.site-footer--dark a:focus-visible { outline: 2px solid var(--footer-heading, var(--c-accent)); outline-offset: 3px; border-radius: 4px; }
.site-footer--dark .site-footer__logo, .site-footer--dark .site-footer__logo:hover { color: #F1F5F9; text-decoration: none; }
.site-footer--dark .brand__name--beside .brand__name-small { color: #CBD5E1; border-left-color: #33416A; }
.site-footer--dark .menu__icon { border-color: #26335A; background: #0F172A; color: #93A0BF; }
.site-footer.site-footer--dark .site-footer__legal { border-top-color: #1F2A47; }
.site-footer--dark p, .site-footer--dark dd { opacity: 1; }

@media (max-width: 560px) {
    .site-footer--brand { padding-top: 3rem; }
    .site-footer--brand .site-footer__cols .menu__list { grid-template-columns: 1fr 1fr; }
}

/* ---- pricing menu (PriceMenuBlock): Billing's price list, made live by price-menu.js ------------
   Bands edge to edge (the opening and bundles, the menu, one-time help), each with its own padding; the block's
   own space above and below is usually none. Colours: the block's accent, soft background and tint. */
/* The block's own colours are set on .pm itself, so they are resolved there. */
.pm { --pm-accent-c: var(--pm-accent, var(--c-accent)); --pm-wash-c: var(--pm-wash, var(--c-surface)); --pm-tint-c: var(--pm-tint, color-mix(in srgb, var(--pm-accent-c) 12%, #ffffff));
      --pm-navy: #0F172A; --pm-violet: #8B5CF6; --pm-cyan: #22D3EE; --pm-line: rgba(127, 127, 127, .25); }
.pm__band { background: var(--pm-wash-c); }
.pm__eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pm-accent-c); }
.pm .pm__title { margin: 0; font-size: clamp(2.125rem, 4.6vw, 3.375rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.pm .pm__heading { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.pm__lead, .pm__lead p { margin: 0; font-size: 1.125rem; opacity: .75; }
.pm .btn { min-height: 48px; border-radius: 999px; font-size: .9375rem; font-weight: 600; padding: 0 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.pm .pm__ghost { background: var(--c-bg); color: var(--c-text); border: 1px solid rgba(127, 127, 127, .35); }
.pm .pm__ghost:hover { border-color: var(--pm-accent-c); }

.pm__head { padding: 64px 0 40px; }
.pm__head-inner { max-width: 780px; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center; }
.pm__cycle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--pm-line); margin-top: 8px; }
.pm__cycle[hidden] { display: none; }
.pm__cycle button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--c-text); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.pm__cycle button[aria-pressed=true] { background: var(--pm-navy); color: #FFFFFF; }
.pm__cycle small { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--pm-tint-c); color: var(--pm-accent-c); }

.pm__bundles { padding: 8px 0 72px; }
.pm__bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; }
.pm__bundle { background: var(--c-bg); border: 1px solid var(--pm-line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pm__bundle--top { background: var(--pm-navy); color: #E8ECF7; border-color: var(--pm-navy); }
.pm__bundle h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--pm-violet); color: #FFFFFF; font-weight: 500; }
.pm__bundle p { margin: 0; opacity: .75; font-size: 15px; }
.pm__bundle--top p { color: #93A0BF; opacity: 1; }
.pm__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pm__price b { font-family: var(--font-mono); font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pm__price s { font-family: var(--font-mono); color: #94A3B8; font-size: 18px; }
.pm__price span { opacity: .75; font-size: 15px; }
.pm__bundle--top .pm__price span { color: #93A0BF; opacity: 1; }
.pm__save { align-self: flex-start; font-family: var(--font-mono); font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--pm-tint-c); color: var(--pm-accent-c); }
.pm__bundle--top .pm__save { background: rgba(34, 211, 238, .14); color: var(--pm-cyan); }
.pm__bundle ul { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--pm-line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; flex: 1; }
.pm__bundle--top ul { border-color: #1F2A47; }
.pm__bundle li { display: flex; gap: 10px; align-items: flex-start; }
.pm__bundle li::before { content: "✓"; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--pm-violet); color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.pm__bundle li.pm__more { opacity: .75; font-weight: 600; }
.pm__bundle--top li.pm__more { color: #93A0BF; opacity: 1; }
.pm__bundle li.pm__more::before { display: none; }

.pm__build { padding: 72px 0; }
.pm__build-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.pm__cols { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.pm__menu { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.pm__group h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pm__group > p { margin: 2px 0 10px; opacity: .75; font-size: 15px; }
.pm__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 12px; border-radius: 14px; cursor: pointer; border-bottom: 1px solid var(--pm-line); }
.pm__item:hover { background: var(--pm-wash-c); }
.pm__item input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--pm-accent-c); cursor: pointer; }
.pm__item-main { flex: 1; min-width: 0; display: block; }
.pm__item-top { display: flex; align-items: baseline; gap: 10px; }
.pm__item-name { font-weight: 700; }
.pm__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted #CBD5E1; transform: translateY(-4px); }
.pm__item-price { font-family: var(--font-mono); font-size: 15px; white-space: nowrap; }
.pm__item-desc { display: block; opacity: .75; font-size: 14.5px; }
.pm__item--fixed { cursor: default; }
.pm__item--fixed:hover { background: none; }

.pm__receipt { flex: 1 1 320px; max-width: 420px; position: sticky; top: 20px; background: var(--pm-navy); color: #E8ECF7; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-mono); font-size: 13.5px; }
.pm__receipt h3 { margin: 0; font-family: var(--font-heading); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #FFFFFF; }
.pm__receipt-sub { color: #93A0BF; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.pm__lines { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px dashed #33416A; border-bottom: 1px dashed #33416A; min-height: 60px; }
.pm__line { display: flex; justify-content: space-between; gap: 12px; }
.pm__line--dim { color: #93A0BF; }
.pm__line--good { color: var(--pm-cyan); }
.pm__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pm__total b { font-size: 38px; font-weight: 500; letter-spacing: -.04em; color: #FFFFFF; }
.pm__total span { color: #93A0BF; }
.pm__hint { font-family: var(--font-body); font-size: 14px; line-height: 1.45; background: #0A0F1F; border: 1px solid var(--pm-violet); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pm__hint[hidden] { display: none; }
.pm__hint button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #33416A; background: transparent; color: #E8ECF7; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pm__hint button:hover { border-color: var(--pm-cyan); }
.pm__receipt .btn { width: 100%; font-family: var(--font-body); }
.pm__small { font-family: var(--font-body); color: #93A0BF; font-size: 13px; line-height: 1.45; }

.pm__once { padding: 72px 0; }
.pm__once .pm__build-head { margin-bottom: 0; }
.pm__once-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 32px; }
.pm__card { background: var(--c-bg); border: 1px solid var(--pm-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.pm__card h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pm__card p { margin: 0; opacity: .75; font-size: 15px; flex: 1; }
.pm__card b { font-family: var(--font-mono); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.pm__card small { opacity: .75; font-size: 14px; }
.pm__missing { padding: 1rem 1.25rem; border: 1px dashed rgba(127, 127, 127, .5); border-radius: var(--radius); }
.pm button:focus-visible, .pm input:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
@media (max-width: 760px) { .pm__receipt { position: static; max-width: none; } }
html[data-theme=dark] .pm { --pm-wash-c: var(--c-surface); --pm-tint-c: color-mix(in srgb, var(--pm-accent-c) 22%, #0a0f1f); }
html[data-theme=dark] .pm__bundle--top, html[data-theme=dark] .pm__receipt { border: 1px solid #26335A; }

/* ---- chat demo (ChatDemoBlock): an example chat played like a real one -------------
   The words beside a dark chat card (hero), or the card alone. chat-demo.js plays it; with no script
   the whole conversation reads as drawn. The card stays dark on every site, as the agent's own look. */
.cd--hero { display: flex; flex-wrap: wrap; gap: 3rem 3.5rem; align-items: center; }
/* A hero sits right under the header: its own tighter rhythm, whatever the theme's spacing.
   An explicit Compact/Roomy/None on the block still wins. */
.blk-chat-demo.v-hero.sp-normal { padding-block: 3rem 5rem; }
.cd__words { flex: 1 1 30rem; min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.cd__words .md, .cd__words p { margin: 0; }
.cd__words > .md, .cd__words > p:not(.cd__note) { font-size: 1.125rem; opacity: .8; max-width: 54ch; }
.cd__eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cd-accent, var(--c-accent)); }
.cd .cd__heading { margin: 0; font-size: clamp(2.4rem, 5.2vw, 3.875rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.cd__actions { margin-top: 0; gap: .75rem; }
.cd__actions .btn { border-radius: 999px; font-size: .9375rem; padding: .9rem 1.5rem; border-width: 1px; }
.cd__actions .btn--secondary { background: var(--c-bg); color: var(--c-text); border-color: rgba(127, 127, 127, .35); }
.cd__note { margin: 0; font-size: .875rem; opacity: .75; }
.cd__card {
    flex: 1 1 25rem; min-width: 0; background: #0F172A; color: #E8ECF7; border-radius: 1.5rem; padding: 1.125rem;
    display: flex; flex-direction: column; gap: .75rem; line-height: 1.45;
}
.cd--card .cd__card { max-width: 34rem; margin-inline: auto; }
.cd__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .25rem .4rem .75rem; border-bottom: 1px solid #1F2A47; }
.cd__who { display: flex; flex-direction: column; }
.cd__who strong { font-size: .9375rem; }
.cd__who span { font-size: .75rem; color: #93A0BF; }
.cd__modes { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #0A0F1F; border: 1px solid #1F2A47; }
.cd__mode { min-height: 2.25rem; padding: 0 .9rem; border-radius: 999px; border: 0; background: transparent; color: #93A0BF; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.cd__mode:hover { color: #E8ECF7; }
.cd__mode[aria-selected="true"] { background: #2563EB; color: #FFFFFF; }
.cd__mode:focus-visible, .cd__replay:focus-visible { outline: 2px solid #22D3EE; outline-offset: 2px; }
.cd__panel { display: flex; flex-direction: column; gap: .75rem; }
.cd__panel[hidden] { display: none; }
.cd__log { display: flex; flex-direction: column; gap: .75rem; height: 22.5rem; overflow-y: auto; scrollbar-width: none; padding: 2px; }
.cd__log::-webkit-scrollbar { display: none; }
.cd__msg { max-width: 86%; padding: .7rem .875rem; font-size: .9rem; flex: none; animation: cd-in .25s ease-out; }
.cd__msg--customer { align-self: flex-end; background: #1C2848; border-radius: 16px 16px 5px 16px; }
.cd__msg--agent { align-self: flex-start; background: #0A0F1F; border: 1px solid #1F2A47; border-radius: 16px 16px 16px 5px; }
.cd__msg--agent b { color: #22D3EE; font-family: var(--font-mono); font-weight: 500; }
.cd__dots { display: flex; gap: 5px; padding: 5px 2px; }
.cd__dots i { width: 7px; height: 7px; border-radius: 50%; background: #93A0BF; animation: cd-dot 1s infinite; }
.cd__dots i:nth-child(2) { animation-delay: .15s; }
.cd__dots i:nth-child(3) { animation-delay: .3s; }
.cd__chip { align-self: flex-start; flex: none; display: flex; align-items: center; gap: .6rem; padding: .5rem .875rem .5rem .55rem; border: 1px solid #8B5CF6; background: #0A0F1F; border-radius: 999px; font-family: var(--font-mono); font-size: .78rem; animation: cd-in .25s ease-out; }
.cd__tick { width: 18px; height: 18px; border-radius: 50%; background: #8B5CF6; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.cd__tick::before { content: ""; width: 7px; height: 4px; border-left: 1.6px solid #FFFFFF; border-bottom: 1.6px solid #FFFFFF; transform: translateY(-1px) rotate(-45deg); }
.cd__compose { display: flex; align-items: center; gap: 6px; border-top: 1px solid #1F2A47; padding-top: .75rem; }
.cd__input { flex: 1; min-width: 0; min-height: 2.75rem; display: flex; align-items: center; padding: 0 1rem; border-radius: 999px; background: #0A0F1F; border: 1px solid #1F2A47; font-size: .9rem; white-space: nowrap; overflow: hidden; }
.cd__input:empty::before { content: attr(data-placeholder); color: #64748B; }
.cd__input.is-typing::after { content: ""; width: 2px; height: 18px; margin-left: 2px; background: #22D3EE; flex: none; }
.cd__tool { width: 2rem; height: 2.75rem; color: #93A0BF; display: flex; align-items: center; justify-content: center; flex: none; }
.cd__send { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #1C2848; color: #93A0BF; display: flex; align-items: center; justify-content: center; flex: none; }
.cd__send.is-on { background: #2563EB; color: #FFFFFF; }
.cd__replay { align-self: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid #33416A; background: transparent; color: #E8ECF7; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.cd__replay:hover { border-color: #22D3EE; }
/* Hidden but still taking its room, so the card keeps its height when it appears. */
.cd__replay[hidden] { display: block; visibility: hidden; }
.cd__panel--voice video { display: block; width: 100%; max-width: 27rem; margin: 0 auto; aspect-ratio: 1; border-radius: 1rem; background: #0F172A; }
.cd__voice-note { margin: 0; font-size: .8rem; color: #93A0BF; text-align: center; }
@keyframes cd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cd-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 520px) { .cd__modes { margin-left: 0; width: 100%; } .cd__mode { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cd__msg, .cd__chip { animation: none; } .cd__dots i { animation: none; } }
/* ---- dark mode (ThemeTokens.Dark): the header's button, and what isn't drawn from the theme's colours ---- */
.mode-switch { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: 0 .85rem; border: 1px solid rgba(127, 127, 127, .35); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.mode-switch[hidden] { display: none; }
.mode-switch:hover { border-color: var(--c-accent); }
.mode-switch__sun, html[data-theme=dark] .mode-switch__moon { display: none; }
html[data-theme=dark] .mode-switch__sun { display: inline; }
html[data-theme=dark] .site-header { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme=dark] .contact-form input, html[data-theme=dark] .contact-form textarea, html[data-theme=dark] .contact-form select { border-color: rgba(255, 255, 255, .22); }
html[data-theme=dark] .menu__sub { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }/* The agent diagram's label in its own colour; a site's own colours lighter on the dark page, as its design does. */
.dg .section-head .eyebrow { color: var(--dg-accent); }
html[data-theme=dark] .dg { --dg-accent-dark: color-mix(in srgb, var(--dg-accent) 55%, #ffffff); }
html[data-theme=dark] .dg .section-head .eyebrow, html[data-theme=dark] .dg__group-name { color: var(--dg-accent-dark); }
html[data-theme=dark] .cd__eyebrow { color: color-mix(in srgb, var(--cd-accent, var(--c-accent)) 55%, #ffffff); }
html[data-theme=dark] .brand__name-small { filter: brightness(1.6); }