/* Shared typography and spacing defaults. Theme stylesheets can override these on the site body. */
body[data-template] {
    --design-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --design-text-body: 1rem;
    --design-text-lead: 1.1rem;
    --design-text-h1: clamp(2.75rem, 5.1vw, 4.75rem);
    --design-text-h2: clamp(1.9rem, 3.1vw, 2.8rem);
    --design-text-h3: 1.25rem;
    --design-leading-body: 1.7;
    --design-leading-copy: 1.75;
    --design-leading-h1: 1.06;
    --design-leading-h2: 1.14;
    --design-leading-h3: 1.35;
    --design-section-space: 72px;
    --design-panel-space: 48px;
    --design-panel-margin: 24px;
    --design-hero-space: 56px;
    --design-hero-gap: 56px;
    --design-card-gap: 24px;
    --design-card-space: 28px;
    --design-action-gap: 12px;
    --design-action-space: 28px;
    --design-callout-space: 48px;
}

@media (max-width: 1000px) {
    body[data-template] {
        --design-hero-gap: 32px;
        --design-hero-tablet-space: 36px;
    }
}

@media (max-width: 800px) {
    body[data-template] {
        --design-text-h1: clamp(2.3rem, 8.5vw, 3.7rem);
        --design-text-h2: clamp(1.7rem, 6.5vw, 2.2rem);
        --design-section-space: 48px;
        --design-panel-space: 28px;
        --design-panel-margin: 16px;
        --design-hero-space: 32px;
        --design-callout-space: 32px;
    }
}

/* Shared visual system. Content schemas and HTML structure remain unchanged. */
body[data-template]{--design-ink:#182f29;--design-muted:#596b63;--design-paper:#f6f7f2;--design-surface:#fff;--design-line:#d9e0d8;--design-radius:16px;--design-shadow:0 16px 44px #18372b0a;--design-heading:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--design-paper);color:var(--design-ink);font:var(--design-text-body)/var(--design-leading-body) var(--design-body);-webkit-font-smoothing:antialiased}
body[data-template] .wrap{width:min(1200px,calc(100% - 80px))}body[data-template] h1,body[data-template] h2,body[data-template] h3{font-family:var(--design-heading);overflow-wrap:anywhere;text-wrap:balance}body[data-template] h1{font-size:var(--design-text-h1);line-height:var(--design-leading-h1);letter-spacing:-.055em;font-weight:750;margin:0 0 1.5rem;max-width:18ch}body[data-template] h2{font-size:var(--design-text-h2);line-height:var(--design-leading-h2);letter-spacing:-.04em;font-weight:700;margin:0 0 1.25rem;max-width:26ch}body[data-template] h3{font-size:var(--design-text-h3);line-height:var(--design-leading-h3);letter-spacing:-.025em;font-weight:650}body[data-template] p{overflow-wrap:anywhere}body[data-template] main>h1.wrap{padding-block:64px 12px;margin-inline:auto;max-width:1200px}
body[data-template] .site-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;min-height:104px;padding:24px 0;border:0}body[data-template] .site-header .brand{font:750 1.45rem/1.2 var(--design-heading);letter-spacing:-.05em;max-width:50%;overflow-wrap:anywhere}body[data-template] .site-header nav{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin:0;font:550 .82rem/1.5 ui-sans-serif,system-ui,sans-serif}body[data-template] .site-header nav a{padding:.35rem 0;border-bottom:2px solid transparent;text-decoration:none}body[data-template] .site-header nav a[aria-current]{border-bottom-color:currentColor}body[data-template] .site-header nav a:hover{border-bottom-color:currentColor}body[data-template] .menu-toggle{display:none;border:1px solid var(--design-line);background:var(--design-surface);color:var(--design-ink);border-radius:6px;padding:8px 12px;font-size:.8rem}
body[data-template] .component.section{padding-block:var(--design-section-space)}body[data-template] .component.section[data-component=rich-text]+.component.section[data-component=rich-text]{padding-top:0}body[data-template] .component.section.bg-muted,body[data-template] .component.section.bg-accent{padding:var(--design-panel-space);border-radius:var(--design-radius);margin-block:var(--design-panel-margin)}body[data-template] .bg-muted{background:color-mix(in srgb,var(--primary) 5%,var(--design-paper))}body[data-template] .bg-accent{background:var(--accent)}body[data-template] .component .rich-content p,body[data-template] .component .rich-content li{font-size:var(--design-text-body);color:inherit;line-height:var(--design-leading-copy)}body[data-template] .component .lead,body[data-template] .component .lead p{font-size:var(--design-text-lead);line-height:var(--design-leading-body);max-width:52ch}body[data-template] .component .rich-content p:last-child{margin-bottom:0}body[data-template] .component .rich-content:has(>p:only-child:empty){display:none}
body[data-template] .component.hero{margin-top:12px;margin-bottom:24px;padding:var(--design-hero-space);border-radius:var(--design-radius);border:0;min-width:0}body[data-template] .component.hero-split{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:var(--design-hero-gap);align-items:center}body[data-template] .hero-copy{min-width:0}body[data-template] .component.hero-split .hero-copy{grid-column:1;grid-row:1}body[data-template] .component.hero-split .hero-image{grid-column:2;grid-row:1;width:100%;height:440px;object-fit:cover;border-radius:calc(var(--design-radius) * .65);box-shadow:var(--design-shadow)}body[data-template] .component.hero-centered .hero-copy{max-width:900px}body[data-template] .component.hero-centered .hero-image{width:100%;max-height:440px;object-fit:cover;margin-bottom:32px;border-radius:var(--design-radius)}body[data-template] .component.hero-background{padding:72px 56px;min-height:360px;color:white;overflow:hidden}body[data-template] .component.hero-background .hero-image{border-radius:inherit;height:100%;width:100%;max-height:none}body[data-template] .component.hero-background .lead p{color:white}body[data-template] .align-center h1,body[data-template] .align-center .hero-copy{margin-inline:auto}
body[data-template] .button{font:650 .85rem/1.5 ui-sans-serif,system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;background:var(--primary);color:#fff;border:1px solid transparent;border-radius:6px;max-width:100%;white-space:normal;text-align:center;text-decoration:none;transition:box-shadow .18s,filter .18s}body[data-template] .button:hover{filter:brightness(.92);box-shadow:0 4px 14px #10251e16}body[data-template] .actions{gap:var(--design-action-gap);margin-top:var(--design-action-space)}body[data-template] .hero .actions .button:nth-child(2){background:transparent;border:1px solid currentColor;color:inherit;padding:12px 20px}body[data-template] :focus-visible{outline:3px solid #a26b26;outline-offset:5px}
body[data-template] .cards,body[data-template] .team-grid,body[data-template] .pricing-list{gap:var(--design-card-gap)}body[data-template] .component .cards article{padding:var(--design-card-space);border:1px solid var(--design-line);border-radius:var(--design-radius);background:var(--design-surface);box-shadow:var(--design-shadow);min-width:0}body[data-template] .component .cards article::before{content:none}body[data-template] .component .cards article>img{width:100%;height:230px;object-fit:cover;margin:0 0 24px;border-radius:calc(var(--design-radius) * .6)}body[data-template] .component .cards.columns-4 article>img{height:auto;aspect-ratio:3/2}body[data-template] .component .cards h3{margin:0 0 12px}body[data-template] .component .cards .button{margin-top:16px}body[data-template] .component .cards.card-plain article{border:0;box-shadow:none;background:transparent}body[data-template] .component .cards.card-density-compact article{padding:18px}body[data-template] .card-feature-icon{color:var(--primary)}body[data-template] .component .card-filled article{background:color-mix(in srgb,var(--primary) 4%,var(--design-surface))}body[data-template] .component .team-member .team-photo{height:auto;aspect-ratio:1;object-fit:cover;margin-bottom:24px;border-radius:calc(var(--design-radius)*.65)}body[data-template] .team-member .team-role{font-size:.85rem;letter-spacing:.02em}
body[data-template] .image-text{gap:64px;align-items:center}body[data-template] .image-text>img{width:100%;max-height:500px;object-fit:cover;border-radius:var(--design-radius)}body[data-template] .callout{padding:var(--design-callout-space);border-radius:var(--design-radius);background:var(--primary);color:#fff}body[data-template] .callout .rich-content p{color:inherit;opacity:.85;max-width:65ch}body[data-template] .callout .button{background:var(--accent);color:var(--design-ink);margin-top:24px}body[data-template] .component details{border:1px solid var(--design-line);border-radius:10px;padding:22px 26px;margin-bottom:12px;background:var(--design-surface);color:var(--design-ink)}body[data-template] .component summary{font-size:1rem;font-weight:600}body[data-template] .component details[open]{box-shadow:var(--design-shadow)}body[data-template] .testimonials figure{background:var(--design-surface);border:1px solid var(--design-line);border-radius:var(--design-radius);padding:32px}body[data-template] .testimonials blockquote{font-size:1.1rem;line-height:1.65}body[data-template] .testimonials figcaption{font-size:.85rem}
body[data-template] .process-list{gap:20px}body[data-template] .process-number{font-size:.85rem;letter-spacing:.1em;font-weight:650}body[data-template] .process-step{border-color:var(--design-line)}body[data-template] .logo-content{border-radius:8px;background:var(--design-surface);border-color:var(--design-line)}body[data-template] .statistic-item{padding:24px 0;border-top:1px solid var(--design-line)}body[data-template] .statistic-value{font-size:clamp(2.3rem,4vw,3.5rem);letter-spacing:-.05em;color:var(--primary)}body[data-template] .statistic-explanation{color:var(--design-muted)}body[data-template] .tabs-navigation{border-bottom-color:var(--design-line);gap:8px}body[data-template] .tabs-navigation button{padding:12px 20px;border-color:var(--design-line);border-radius:6px;background:var(--design-surface)}body[data-template] .tabs-navigation button[aria-selected=true]{background:var(--primary);border-color:var(--primary);color:white;box-shadow:none}body[data-template] .tabs-panel{padding-block:24px}body[data-template] .tabs-image{border-radius:var(--design-radius)}
body[data-template] .pricing-plan{border:1px solid var(--design-line);background:var(--design-surface);padding:30px;border-radius:var(--design-radius);box-shadow:var(--design-shadow)}body[data-template] .pricing-plan.pricing-recommended{border:2px solid var(--primary);padding:29px}body[data-template] .pricing-price{letter-spacing:-.05em;font-size:2.5rem}body[data-template] .pricing-badge{background:var(--primary);color:white;border:0;padding:5px 10px;font-size:.7rem;letter-spacing:.03em;border-radius:4px}body[data-template] .pricing-description,body[data-template] .pricing-note,body[data-template] .pricing-footnote{color:var(--design-muted)}body[data-template] .comparison-scroll{background:var(--design-surface);border-color:var(--design-line);border-radius:8px}body[data-template] .comparison-table th[scope=row]{background:var(--design-surface);color:var(--design-ink)}body[data-template] .key-fact{border-color:var(--design-line)}body[data-template] .key-fact dt{font-size:.85rem;color:var(--design-muted);font-weight:550}body[data-template] .key-fact dd{font-size:1.05rem}body[data-template] .child-page-card{padding:24px;border:1px solid var(--design-line);border-radius:var(--design-radius);background:var(--design-surface)}body[data-template] input,body[data-template] select,body[data-template] textarea{font:inherit;border:1px solid var(--design-line);border-radius:6px;padding:12px;background:var(--design-surface);color:var(--design-ink);max-width:100%}
body[data-template] .footer{display:flex;flex-wrap:wrap;align-items:center;gap:20px;justify-content:space-between;padding:40px 0;margin-top:48px;border-top:1px solid var(--design-line);color:var(--design-muted);font-size:.8rem}body[data-template] .footer strong{font:700 1.1rem/1.4 var(--design-heading);color:var(--design-ink)}body[data-template] .language-switcher{font-size:.8rem}
@media(max-width:1000px){body[data-template] .component.hero-split{gap:var(--design-hero-gap);padding:var(--design-hero-tablet-space)}body[data-template] .component.hero-split .hero-image{height:380px}body[data-template] .site-header nav{gap:16px}}
@media(max-width:800px){body[data-template] .wrap{width:calc(100% - 40px)}body[data-template] .site-header{min-height:88px;padding:20px 0}body[data-template] .site-header .brand{font-size:1.25rem;max-width:calc(100% - 80px)}body[data-template] .menu-toggle{display:block}body[data-template] .site-header nav{display:none;flex-basis:100%;width:100%;align-items:stretch;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--design-line)}body[data-template] .site-header nav.open{display:flex}html:not(.has-navigation-script) body[data-template] .site-header nav{display:flex}html:not(.has-navigation-script) body[data-template] .menu-toggle{display:none}body[data-template] .component.hero-split{display:flex;flex-direction:column;gap:var(--design-hero-gap);padding:var(--design-hero-space)}body[data-template] .component.hero-split .hero-copy{order:-1}body[data-template] .component.hero-split .hero-image{height:300px}body[data-template] .component.hero-background{padding:var(--design-hero-space);min-height:300px}body[data-template] .component .cards{grid-template-columns:minmax(0,1fr)}body[data-template] .image-text{display:flex;flex-direction:column;gap:28px}body[data-template] .image-text>div{width:100%}body[data-template] .footer{align-items:flex-start;flex-direction:column}body[data-template] main>h1.wrap{padding-top:40px}body[data-template] h1{letter-spacing:-.045em}}
@media(prefers-reduced-motion:reduce){body[data-template] *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

body[data-template] .component.hero-compact {
    display: grid;
    gap: clamp(20px, 4vw, 52px);
    align-items: center;
    padding: clamp(24px, 3.5vw, 44px);
}
body[data-template] .component.hero-compact:has(> .hero-image) {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}
body[data-template] .hero-compact > .hero-image {
    grid-area: 1 / 2;
    width: 100%;
    height: clamp(130px, 15vw, 210px);
    object-fit: cover;
    border-radius: var(--design-radius);
}
body[data-template] .hero-compact h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 25ch;
    margin-bottom: .65rem;
}
body[data-template] .hero-compact .actions { margin-top: 1rem; }
/* Compact page headers (content pages): a quieter introduction, and no outer margin when they sit on a section band,
   so the page content follows straight after the band. */
body[data-template] .hero-compact .lead, body[data-template] .hero-compact .lead p { font-size: 1.05rem; max-width: 62ch; }
body[data-template] .section-band > .component.hero-compact { margin-block: 0; }
/* Hero "Text width: full": the heading and introduction use the whole width of the hero instead of each design's
   reading-width limit (useful for a long introduction). */
body[data-template] .component.hero.hero-text-full :is(.hero-copy, h1, .lead, .lead p) { max-width: none; }
body[data-template] .hero-compact .actions:empty { display: none; }
@media (max-width: 800px) {
    body[data-template] .component.hero-compact:has(> .hero-image) { grid-template-columns: 1fr; }
    body[data-template] .hero-compact > .hero-image { display: none; }
}
body[data-template] .component.hero.hero-full-width {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border-radius: 0;
    padding-inline: max(var(--design-hero-space), calc((100% - 1200px) / 2));
}
body[data-template] .site-header-band + main > .hero.hero-full-width:first-child,
body[data-template] .site-header-band + main > .section-band:first-child > .hero.hero-full-width {
    margin-block-start: 0;
}
body[data-template] :is(.component, .component.hero .actions) .button[data-button-theme="primary"] {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}
body[data-template] :is(.component, .component.hero .actions) .button[data-button-theme="accent"] {
    background: var(--accent);
    color: #141414;
    border-color: transparent;
}
body[data-template] :is(.component, .component.hero .actions) .button[data-button-theme="outline"] {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

body[data-site-font="system"] { --site-font: system-ui, sans-serif; }
body[data-site-font="arial"] { --site-font: Arial, Helvetica, sans-serif; }
body[data-site-font="verdana"] { --site-font: Verdana, Geneva, sans-serif; }
body[data-site-font="trebuchet"] { --site-font: "Trebuchet MS", Arial, sans-serif; }
body[data-site-font="georgia"] { --site-font: Georgia, serif; }
body[data-site-font="times"] { --site-font: "Times New Roman", Times, serif; }

body[data-template][data-site-font]:not([data-site-font=""]) {
    --design-body: var(--site-font, system-ui), sans-serif;
    --design-heading: var(--design-body);
    font-family: var(--design-body);
}

body[data-template][data-site-font]:not([data-site-font=""]) :is(h1, h2, h3, h4, h5, h6, .brand, nav, .button, button, input, textarea, select, .footer strong) {
    font-family: var(--design-body);
}

body[data-template] .site-header .brand:has(.site-brand-logo) {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}
.site-brand-logo {
    display: block;
    flex: 0 0 auto;
    /* Fixed height, natural width: square marks stay square and wide wordmarks keep their shape. */
    width: auto;
    max-width: min(200px, 45vw);
    height: clamp(36px, 4vw, 48px);
    object-fit: contain;
}
body[data-template] .site-header .site-brand-name { color: inherit; min-width: 0; }

.site-header .site-nav-group { position: relative; display: flex; align-items: center; gap: .25rem; }
.site-header .site-nav-dropdown { padding: 0; border: 0; }
.site-header .site-nav-dropdown summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
    font-size: 1.15rem;
}
.site-header .site-nav-dropdown summary::-webkit-details-marker { display: none; }
.site-header .site-nav-dropdown:not([open]) .site-nav-submenu { display: none; }
.site-header .site-nav-dropdown[open] summary span { transform: rotate(180deg); }
.site-header .site-nav-submenu {
    position: absolute;
    z-index: 10;
    inset-block-start: 100%;
    inset-inline-end: 0;
    min-width: 12rem;
    max-width: 18rem;
    margin: 0;
    padding: .4rem;
    list-style: none;
    background: var(--design-surface, white);
    color: var(--design-ink, #182f29);
    border: 1px solid var(--design-line, #d9e0d8);
    border-radius: .5rem;
    box-shadow: 0 8px 24px #0002;
}
body[data-template] .site-header .site-nav-submenu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .4rem .65rem;
    overflow-wrap: anywhere;
}
.site-header .site-nav-submenu a:hover,
.site-header .site-nav-submenu a:focus-visible { background: var(--design-paper, #f6f7f2); }
/* If any navigation submenu has four or more items, all submenus flow left to right. */
@media (min-width: 801px) {
    body[data-template] .site-header[data-header-layout="single-row"] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem clamp(.65rem, 1.2vw, 1.25rem);
    }
    body[data-template] .site-header[data-header-layout="single-row"] > .brand {
        grid-column: 1; grid-row: 1; order: 0;
        min-width: 0; max-width: clamp(5rem, 12vw, 10rem);
    }
    body[data-template] .site-header[data-header-layout="single-row"] > #navigation {
        grid-column: 2; grid-row: 1; order: 0; justify-self: end;
        display: flex; flex-flow: row nowrap; align-items: center;
        gap: clamp(.3rem, .7vw, .8rem); min-width: 0; width: auto; margin: 0; padding: 0;
    }
    body[data-template] .site-header[data-header-layout="single-row"] > #navigation > :is(a, .site-nav-group) { min-width: 0; }
    body[data-template] .site-header[data-header-layout="single-row"] > #navigation :is(a, summary) { font-size: .85rem; }
    body[data-template] .site-header[data-header-layout="single-row"] > .site-language-picker {
        grid-column: 3; grid-row: 1; order: 0; justify-self: end; margin: 0;
    }
}
.site-header #navigation .site-nav-mega-column > ul { position: static; list-style: none; margin: 0; padding: 0; }
.site-header #navigation .site-nav-mega-heading { margin: .5rem .65rem; font: 700 .95rem/1.4 var(--design-body, sans-serif); color: inherit; }
.site-header #navigation .site-nav-mega-column { min-width: 0; }
@media (min-width: 801px) {
    body[data-template] .site-header { position: relative; }
    body[data-template] .site-header #navigation .site-nav-group-wide,
    body[data-template] .site-header #navigation .site-nav-group-wide > .site-nav-dropdown { position: static; }
    body[data-template] .site-header #navigation .site-nav-dropdown[open] > .site-nav-submenu-wide {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
        grid-auto-flow: row;
        gap: .25rem;
        inset-inline: 0;
        width: min(100%, 64rem);
        min-width: 0;
        max-width: none;
        margin-inline: auto;
    }
}
@media (max-width: 800px) {
    .site-header .site-nav-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .site-header .site-nav-dropdown { display: contents; }
    .site-header .site-nav-submenu {
        position: static;
        grid-column: 1 / -1;
        max-width: none;
        min-width: 0;
        margin-inline-start: .75rem;
        box-shadow: none;
    }
}

/* Header disclosures share a chevron and panel treatment. */
.site-header .site-nav-group { gap: 0; }
.site-header .site-nav-dropdown summary {
    width: 32px;
    border-radius: .4rem;
    cursor: pointer;
}
.site-header .site-nav-dropdown summary:hover,
.site-header .site-nav-dropdown[open] summary { background: var(--design-paper, #f6f7f2); }
.site-nav-chevron {
    display: inline-block;
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.site-header .site-nav-dropdown[open] summary .site-nav-chevron { transform: translateY(2px) rotate(225deg); }
.site-header .site-nav-submenu a { border-radius: .35rem; }
.site-header .site-nav-submenu a[aria-current="page"] {
    font-weight: 700;
    background: var(--design-paper, #f6f7f2);
}
.site-header .site-language-picker { position: relative; margin-inline-start: auto; }
body[data-template] .site-header:has(.site-language-picker) > #navigation { margin-inline-start: auto; }
.site-header .site-language-picker summary {
    display: flex;
    gap: .65rem;
    align-items: center;
    width: auto;
    padding-inline: .75rem;
    border: 1px solid var(--design-line, #d9e0d8);
    font-size: .8rem;
    font-weight: 650;
}
.site-header .site-language-picker[open] summary span:not(.site-nav-chevron) { transform: none; }
@media (max-width: 800px) {
    body[data-template] .site-header > #navigation { order: 3; }
    body[data-template] .site-header > .menu-toggle { order: 2; }
    .site-header .site-nav-group { border-bottom: 1px solid var(--design-line, #d9e0d8); }
    .site-header .site-nav-group > a { align-self: stretch; display: flex; align-items: center; }
    .site-header .site-nav-group summary { width: 44px; }
    .site-header .site-nav-group .site-nav-submenu { margin-block: .25rem .65rem; }
    .site-header .site-language-picker { display: block; }
    .site-header .site-language-picker .site-nav-submenu { position: absolute; min-width: 10rem; margin: 0; }
}

@media (max-width: 800px) {
    body[data-template] .site-header > .menu-toggle { order: 1; }
    body[data-template] .site-header > .site-language-picker { order: 2; margin-inline-start: 0; }
    body[data-template] .site-header:has(.site-language-picker) > .brand { flex: 1 1 8rem; min-width: 0; max-width: none; }
    body[data-template] .site-header:has(.site-language-picker) { gap: .5rem; }
    .site-header .site-language-picker summary > span:first-child { max-width: 6rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

.site-header .site-nav-group > a { display: flex; align-items: center; min-height: 44px; }
.site-header .site-nav-group > .site-nav-submenu { display: none; }
.site-header .site-nav-close, .site-nav-backdrop { display: none; }
@media (min-width: 801px) {
    .site-header .site-nav-group:not(.submenu-dismissed):is(:hover, :focus-within) > .site-nav-submenu {
        display: block;
    }
}
@media (max-width: 800px) {
    html.site-drawer-open { overflow: hidden; }
    html.has-navigation-script body[data-template] .site-header:has(> #navigation.open) { position: relative; z-index: 100; }
    html.has-navigation-script body[data-template] .site-header > #navigation.open {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 102;
        display: flex;
        flex-flow: column nowrap;
        align-items: stretch;
        gap: 0;
        width: min(22rem, calc(100% - 2.75rem));
        height: 100dvh;
        margin: 0;
        padding: 1rem 1.25rem 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        border: 0;
        background: var(--design-surface, white);
        color: var(--design-ink, #182f29);
        box-shadow: 0 0 30px #0003;
    }
    .site-header #navigation.open > * { flex-shrink: 0; min-width: 0; }
    html.has-navigation-script body[data-template] .site-header > #navigation.open[data-drawer-side="right"] {
        inset: 0 0 0 auto;
    }
    .site-header .site-nav-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 101;
        background: rgb(15 23 42 / 56%);
    }
    .site-header #navigation.open .site-nav-close:not([hidden]) {
        display: block;
        align-self: flex-start;
        width: 44px;
        min-height: 44px;
        margin-bottom: .5rem;
        padding: 0;
        border: 1px solid var(--design-line, #d9e0d8);
        border-radius: .45rem;
        background: transparent;
        color: inherit;
        font-size: 1.5rem;
    }
    body[data-template] .site-header #navigation > a,
    body[data-template] .site-header #navigation .site-nav-group > a {
        color: inherit;
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: normal;
        text-transform: none;
    }
    .site-header #navigation .site-nav-group {
        display: block;
        padding-block: .4rem .65rem;
    }
    .site-header #navigation .site-nav-group > .site-nav-submenu {
        display: block;
        position: static;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0 0 0 .65rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body[data-template] .site-header #navigation .site-nav-submenu a { color: inherit; font-weight: 500; }
}

@media (max-width: 600px) {
    body[data-template] .site-header.wrap:has(> .site-language-picker) {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: .75rem 1rem;
        padding-block: .9rem;
    }

    body[data-template] .site-header.wrap:has(> .site-language-picker) > .brand {
        grid-area: 1 / 1 / 2 / -1;
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.25;
    }

    body[data-template] .site-header.wrap:has(> .site-language-picker) > .menu-toggle {
        grid-area: 2 / 1;
        min-height: 44px;
    }

    body[data-template] .site-header.wrap > .site-language-picker {
        grid-area: 2 / 2;
        justify-self: end;
        min-width: 0;
        max-width: 100%;
    }

    .site-header.wrap .site-language-picker summary > span:first-child {
        max-width: none;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-header.wrap .site-language-picker .site-nav-chevron { flex-shrink: 0; }

    body[data-template] .site-header.wrap:has(> .site-language-picker) > #navigation {
        grid-area: 3 / 1 / 4 / -1;
    }

    html.has-navigation-script body[data-template] .site-header.wrap > #navigation.open {
        grid-area: auto;
    }
}

.site-drawer-heading { display: none; }

@media (max-width: 800px) {
    html.has-navigation-script body[data-template] .site-header > #navigation.open {
        --drawer-highlight: color-mix(in srgb, var(--accent) 22%, var(--design-surface, white));
        --drawer-border: var(--design-line, #d9e0d8);
        padding: 0 1rem max(1.25rem, env(safe-area-inset-bottom));
        border-inline-end: 1px solid var(--drawer-border);
    }

    .site-header #navigation.open .site-drawer-heading {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: .65rem;
        margin: 0 -1rem .65rem;
        padding: max(.8rem, env(safe-area-inset-top)) 1rem .8rem;
        border-bottom: 1px solid var(--drawer-border);
        background: var(--design-surface, white);
    }

    .site-drawer-heading img,
    .site-drawer-mark {
        flex: 0 0 auto;
        width: 48px;
        height: 40px;
        object-fit: contain;
    }

    .site-drawer-mark {
        display: grid;
        place-items: center;
        width: 40px;
        background: var(--primary);
        color: var(--accent);
        font-weight: 850;
    }

    .site-drawer-heading strong {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
        font: 750 1rem/1.3 var(--design-heading, system-ui);
    }

    .site-header #navigation.open .site-drawer-heading .site-nav-close:not([hidden]) {
        flex: 0 0 44px;
        align-self: center;
        margin: 0;
        background: var(--design-paper, #f6f7f2);
    }

    body[data-template] .site-header #navigation.open > a,
    body[data-template] .site-header #navigation.open .site-nav-group > a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: .55rem .7rem;
        border: 0;
        border-radius: .45rem;
        overflow-wrap: anywhere;
    }

    .site-header #navigation.open .site-nav-group {
        margin-block: .35rem;
        padding-block: .3rem .55rem;
        border-block: 1px solid var(--drawer-border);
        border-bottom-color: var(--drawer-border);
    }

    .site-header #navigation.open .site-nav-group > .site-nav-submenu {
        margin-inline-start: .8rem;
        padding-inline-start: .45rem;
        border-inline-start: 2px solid var(--drawer-border);
    }

    body[data-template] .site-header #navigation.open .site-nav-submenu a {
        padding: .45rem .65rem;
        border: 0;
        color: var(--design-muted, #43564f);
    }

    body[data-template] .site-header #navigation.open a[aria-current="page"] {
        background: var(--drawer-highlight);
        color: var(--design-ink, #182f29);
        font-weight: 750;
    }
}

/* Hero parallax (data-parallax): the photo is 24% taller than the hero and moves within that margin. */
body[data-template] .hero.hero-background[data-parallax="true"] { overflow: hidden; }

body[data-template] .site-header-band {
    background: var(--navigation-background);
    color: var(--navigation-foreground);
}
body[data-template] .site-header-band > .site-header.wrap {
    min-height: 64px;
    padding-block: .5rem;
    gap: .5rem 1.25rem;
    background: transparent;
    border-block: 0;
    color: inherit;
}
body[data-template] .site-header-band .site-header .site-brand-logo { max-height: 40px; }
body[data-template] .site-header-band .site-header :is(.brand, .site-brand-name, .site-brand-name > span, .menu-toggle),
body[data-template] .site-header-band .site-header .site-language-picker > summary {
    color: var(--navigation-foreground);
}
body[data-template] .site-header-band .site-header :is(.menu-toggle, .site-language-picker > summary) {
    background: transparent;
    border-color: currentColor;
}
@media (min-width: 801px) {
    body[data-template] .site-header-band .site-header #navigation > a,
    body[data-template] .site-header-band .site-header #navigation .site-nav-group > a {
        color: var(--navigation-foreground);
    }
}

.hero[data-hero-photos="true"] { overflow: hidden; }
.hero[data-hero-photos="true"]::after {
    background: linear-gradient(105deg, #101713ed, #101713bd 52%, #10171380);
}
.hero[data-hero-photos="true"] .hero-copy { padding-bottom: 2.5rem; }
.hero[data-hero-photos="true"] .hero-copy :is(h1, .lead, .lead p) { color: white; }
.hero-photo-layer { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.component img.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    opacity: 0;
    transition: opacity 1s ease;
}
.component img.hero-photo:is(.is-current, .is-outgoing) {
    animation: hero-photo-motion 7.5s linear both;
}
.component img.hero-photo.is-outgoing { z-index: 1; opacity: 1; }
.component img.hero-photo.is-current {
    z-index: 2;
    opacity: 1;
}
.hero-photo[data-movement="zoom-in"] { --photo-start: scale(1.01); --photo-end: scale(1.12); }
.hero-photo[data-movement="zoom-out"] { --photo-start: scale(1.12); --photo-end: scale(1.01); }
.hero-photo[data-movement="pan-left"] { --photo-start: translateX(3%) scale(1.1); --photo-end: translateX(-3%) scale(1.1); }
.hero-photo[data-movement="pan-right"] { --photo-start: translateX(-3%) scale(1.1); --photo-end: translateX(3%) scale(1.1); }
@keyframes hero-photo-motion {
    from { transform: var(--photo-start); }
    to { transform: var(--photo-end); }
}
.hero-photos-paused img.hero-photo:is(.is-current, .is-outgoing) { animation-play-state: paused; }
.hero-photos-toggle {
    position: absolute;
    inset-inline-end: 1rem;
    bottom: 1rem;
    padding: .5rem .75rem;
    border: 1px solid #fffc;
    border-radius: .3rem;
    background: #151817e6;
    color: white;
    font-size: .8rem;
}
@media (prefers-reduced-motion: reduce) {
    .hero-photo-layer, .hero-photos-toggle { display: none; }
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
    body[data-template] .hero.hero-background[data-parallax="true"] .hero-image {
        inset-block-start: -12%;
        height: 124%;
        transform: translate3d(0, var(--parallax-offset, 0px), 0);
        will-change: transform;
    }
}

/* Section backgrounds: a full-width band behind one component, in the site's theme colours. */
.section-band { background: var(--band-bg); color: var(--band-ink, inherit); }
.section-band.band-light { --band-bg: color-mix(in srgb, var(--primary) 5%, #fff); }
.section-band.band-tint { --band-bg: color-mix(in srgb, var(--accent) 24%, #fff); }
.section-band.band-brand { --band-bg: var(--primary); --band-ink: #fff; }
.section-band.band-dark { --band-bg: color-mix(in srgb, var(--primary) 40%, #0b0f14); --band-ink: #fff; }
.section-band[data-section-alignment="left"] { --section-text-align: left; }
.section-band[data-section-alignment="center"] { --section-text-align: center; }
.section-band[data-section-alignment="right"] { --section-text-align: right; }
/* Explicit shared alignment wins over template and rich-text alignment, without changing grids or media placement. */
body[data-template] .section-band[data-section-alignment]:not([data-section-alignment=""]) :where(section,article,header,footer,div,h1,h2,h3,h4,h5,h6,p,span,figure,figcaption,blockquote,ul,ol,li,dl,dt,dd,table,th,td,caption,summary,label) {
    text-align: var(--section-text-align) !important;
}
body[data-template] .section-band[data-section-alignment]:not([data-section-alignment=""]) .accordion-item > summary > span:first-child { flex: 1; }
body[data-template] .section-band[data-section-background="custom"] > .component { background: transparent; color: var(--band-ink); }
body[data-template] .section-band[data-section-background="custom"] :is(h1,h2,h3,h4,.lead,.eyebrow) { color: inherit; }
body[data-template] .section-band[data-section-background="custom"] > .banner-section > .banner:not(.banner-has-image) { background: transparent; color: var(--band-ink); }
body[data-template] .section-band[data-section-ink="light"] a:not(.button) { color: inherit; }
body[data-template] .section-band[data-section-ink="light"] .button { background: #fff; color: #141414; }
body[data-template] .section-band[data-section-ink="light"] :is(.card-item,.team-member,.property-search-panel,.calculator-results) { color: #1d1d1d; }
/* On brand and dark bands, headings, text and links follow the band; cards keep their own colours. */
body[data-template] .section-band:is(.band-brand, .band-dark) :is(h1, h2, h3, h4, .eyebrow, .lead) { color: inherit; }
body[data-template] .section-band:is(.band-brand, .band-dark) a:not(.button) { color: inherit; }
body[data-template] .section-band:is(.band-brand, .band-dark) .button { background: #fff; color: var(--primary); }
body[data-template] .section-band:is(.band-brand, .band-dark) :is(.card-item, .property-card article, .team-member, .logo-content, .calculator-results, .property-search-panel) { color: #1d1d1d; }
body[data-template] .section-band:is(.band-brand, .band-dark) :is(.card-item, .property-card article, .team-member, .calculator-results, .property-search-panel) :is(h2, h3, h4) { color: var(--primary); }
body[data-template] .section-band:is(.band-brand, .band-dark) :is(.card-item, .property-card article, .team-member, .property-search-panel) .button { background: var(--primary); color: #fff; }

.section-band:has(> .section-band-image) {
    position: relative;
    isolation: isolate;
}
.section-band > .section-band-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-band:has(> .section-band-image)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--band-bg, #111) 78%, transparent);
}
body[data-template] .section-band[data-section-background]:not([data-section-background=""]) > .component:is(.bg-plain, .bg-muted, .bg-accent):not(.hero-background) {
    background: transparent;
}
.section-band[data-section-font="small"] { --section-font-scale: .88; }
.section-band[data-section-font="large"] { --section-font-scale: 1.15; }
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) {
    font-size: calc(var(--design-text-body) * var(--section-font-scale));
}
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) h1 {
    font-size: calc(var(--design-text-h1) * var(--section-font-scale));
}
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) h2 {
    font-size: calc(var(--design-text-h2) * var(--section-font-scale));
}
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) h3 {
    font-size: calc(var(--design-text-h3) * var(--section-font-scale));
}
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) :is(.rich-content p, .rich-content li) {
    font-size: inherit;
}
body[data-template] .section-band[data-section-font]:not([data-section-font=""]) :is(.lead, .lead p) {
    font-size: calc(var(--design-text-lead) * var(--section-font-scale));
}
.section-band[data-section-padding="none"] { --section-padding: 0px; }
.section-band[data-section-padding="small"] { --section-padding: clamp(12px, 2vw, 24px); }
.section-band[data-section-padding="large"] { --section-padding: clamp(32px, 6vw, 88px); }
body[data-template] .section-band[data-section-padding]:not([data-section-padding=""]) > .component {
    padding-block: var(--section-padding);
}
body[data-template] .section-band[data-section-padding]:not([data-section-padding=""]) > :not(.component, .section-band-image) {
    margin-block: 0;
}
.section-band[data-section-padding]:not([data-section-padding=""]):not(:has(> .component)) {
    padding-block: var(--section-padding);
}

/* Header arrangements are site settings, shared by every template. */
.site-header .site-header-utilities{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.6rem 1rem;margin-inline-start:auto;min-width:0}
.site-header .site-header-utilities:not(:has(a,details)){display:none}
.site-header .site-header-quick-link{font-size:.85rem;text-decoration:none;white-space:nowrap}
.site-header .site-header-banner{display:none;max-width:100%;object-fit:contain;width:100%;height:100px}
.site-header .site-nav-group>.site-nav-dropdown>summary{display:flex;align-items:center;justify-content:center;align-self:stretch;line-height:1;padding:0;min-height:44px}
.site-header .site-nav-group>.site-nav-dropdown{display:flex;align-items:center}
.site-header .site-nav-group>.site-nav-dropdown>summary .site-nav-chevron{flex:0 0 auto;transform:translateY(-2px) rotate(45deg)}
.site-header .site-nav-group>.site-nav-dropdown[open]>summary .site-nav-chevron{transform:translateY(2px) rotate(225deg)}
@media(min-width:801px){
 body[data-template] .site-header[data-header-layout]:is([data-header-layout="single-row"],[data-header-layout="stacked"],[data-header-layout="tall-logo"],[data-header-layout="banner"]){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem 1.5rem}
 body[data-template] .site-header[data-header-layout]>.site-header-utilities{grid-area:1 / 3;margin:0;justify-self:end}
 body[data-template] .site-header[data-header-layout]:is([data-header-layout="single-row"],[data-header-layout="stacked"],[data-header-layout="banner"])>.brand{grid-area:1 / 1;max-width:220px;min-width:0}
 body[data-template] .site-header[data-header-layout="single-row"]>#navigation{grid-area:1 / 2;flex-wrap:wrap;justify-content:flex-end;width:auto;margin:0;padding:0}
 body[data-template] .site-header[data-header-layout]:is([data-header-layout="stacked"],[data-header-layout="banner"])>#navigation{grid-area:2 / 1 / 3 / 4;width:100%;margin:0;padding:0;justify-content:flex-end}
 body[data-template] .site-header[data-header-layout="tall-logo"]>.brand{grid-area:1 / 1 / 3 / 2;max-width:240px;align-self:stretch;display:flex;align-items:center}
 body[data-template] .site-header[data-header-layout="tall-logo"]>.brand .site-brand-logo{max-height:120px;height:auto;width:auto;max-width:100%}
 body[data-template] .site-header[data-header-layout="tall-logo"]>.site-header-utilities{grid-area:1 / 2 / 2 / 4}
 body[data-template] .site-header[data-header-layout="tall-logo"]>#navigation{grid-area:2 / 2 / 3 / 4;width:auto;margin:0;padding:0;justify-content:flex-end}
 body[data-template] .site-header[data-header-layout="banner"]>.site-header-banner{display:block;grid-area:1 / 2}
}
@media(max-width:800px){
 body[data-template] .site-header:has(>.site-header-utilities){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:center}
 body[data-template] .site-header:has(>.site-header-utilities)>.brand{grid-area:1 / 1;max-width:180px}
 body[data-template] .site-header:has(>.site-header-utilities)>.menu-toggle{grid-area:1 / 2}
 body[data-template] .site-header:has(>.site-header-utilities)>.site-header-utilities{grid-area:2 / 1 / 3 / 3;justify-self:end;margin:0}
 body[data-template] .site-header .site-header-banner{display:none}
}
@media(max-width:800px){.site-header .site-nav-group>.site-nav-dropdown{display:contents}}
.site-header .site-header-banner-link img{display:block;width:100%;height:100%;object-fit:contain}
.site-header .site-header-banner-link:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.site-header .site-header-quick-link:is([data-link-style="primary"],[data-link-style="secondary"]){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.45rem .85rem;border-radius:var(--design-radius,.35rem);border:1px solid currentColor;text-decoration:none;font-weight:700;line-height:1.3;white-space:normal;text-align:center}
.site-header .site-header-quick-link[data-link-style="primary"]{background:var(--primary);color:var(--header-primary-foreground,#fff)}
.site-header .site-header-quick-link[data-link-style="secondary"]{background:var(--accent);color:var(--header-secondary-foreground,#000)}
.site-header .site-header-quick-link[data-link-style="plain"]:hover{text-decoration:underline}
.site-header .site-header-quick-link{max-width:100%;overflow-wrap:anywhere;white-space:normal}
/* Desktop mouse users open navigation by hovering; keyboard and touch retain controls. */
@media(min-width:801px) and (hover:hover) and (pointer:fine){
 html.has-navigation-script .site-header .site-nav-group>.site-nav-dropdown>summary{display:none}
 html.has-navigation-script .site-header .site-nav-group>.site-nav-dropdown{position:static}
}
.site-header .site-header-quick-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.6rem 1rem;min-width:0}
.site-header .site-header-quick-links:not(:has(a)){display:none}
@media(max-width:800px){
 body[data-template] .site-header:has(>.site-header-utilities){grid-template-columns:minmax(0,1fr) auto auto;gap:.65rem}
 body[data-template] .site-header:has(>.site-header-utilities)>.brand{grid-area:1 / 1;min-width:0;max-width:100%}
 body[data-template] .site-header:has(>.site-header-utilities)>.menu-toggle{grid-area:1 / 2;min-height:44px;padding:8px 10px;white-space:nowrap}
 body[data-template] .site-header:has(>.site-header-utilities)>.site-header-utilities{display:contents}
 body[data-template] .site-header .site-header-utilities>.site-language-picker{grid-area:1 / 3;margin:0;justify-self:end}
 body[data-template] .site-header .site-header-utilities>.site-header-quick-links{grid-column:1 / -1;grid-row:2;justify-self:end}
 body[data-template] .site-header .site-language-picker summary{padding-inline:10px}
 body[data-template] .site-header .brand:has(.site-brand-logo) .site-brand-logo{width:clamp(96px,30vw,140px);height:auto;max-width:100%;max-height:56px}
 body[data-template] .site-header:not(:has(.site-language-picker)):has(>.site-header-utilities){grid-template-columns:minmax(0,1fr) auto}
}
/* Keep mobile drawer controls in their own columns, including native details summaries. */
@media(max-width:800px){
 .site-header #navigation.open .site-drawer-heading .site-nav-close:not([hidden]){margin-inline-start:auto}
 .site-header #navigation.open .site-drawer-heading img{width:clamp(96px,30vw,140px);height:auto;max-height:44px;max-width:calc(100% - 60px)}
 .site-header #navigation.open .site-nav-group{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center}
 .site-header #navigation.open .site-nav-group>a{grid-column:1;grid-row:1;min-width:0}
 .site-header #navigation.open .site-nav-group>.site-nav-dropdown{display:contents}
 .site-header #navigation.open .site-nav-group>.site-nav-dropdown>summary{grid-column:2;grid-row:1;width:44px;min-height:44px;align-self:stretch}
 .site-header #navigation.open .site-nav-group>.site-nav-dropdown>.site-nav-submenu{grid-column:1 / -1;grid-row:2;position:static;min-width:0;max-width:none;margin:.25rem 0 .65rem .8rem;padding-inline-start:.45rem;border-inline-start:2px solid var(--drawer-border)}
}
/* Footer text from the CMS (company registration, regulatory memberships) */
.footer-text{flex:0 0 100%;font-size:.85rem;line-height:1.5}.footer-text p{margin:0 0 .35rem;max-width:80ch}.footer-text p:last-child{margin-bottom:0}.footer-text a{color:inherit}
