/* 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; }
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(1120px, 100% - 2.5rem); 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); }
.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; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1rem; }
.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; }

.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="page"] { 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; }
.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; }
    .site-header__inner { position: relative; padding-right: 3rem; }
}

/* ---- 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; }

/* ---- 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; }

/* ---- 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; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.contact--stacked { grid-template-columns: 1fr; max-width: 760px; }

@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 {
    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);
}
.contact-form .optional { font-weight: 400; opacity: .7; }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- 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; }

/* ---- 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; }
.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="page"] { text-decoration: none; box-shadow: inset 0 -2px 0 var(--c-accent); padding-bottom: .35rem; }
.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="page"] { 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; }
.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; }
.split-header__left .menu__list { justify-content: flex-end; }
.split-header__right .menu__list { justify-content: flex-start; }
.split-header__brand { font-size: 1.6rem; justify-self: center; text-align: center; }
.split-header__brand .brand__logo { height: 3.25rem; }
.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="page"] { 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; }

/* ---- 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="page"] { 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__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 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; }
    .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; }
}
