/* Loaded only on pages containing the temporary homepage shortcodes. */
.sw-home-section {
    --sw-navy: var(--primary-blue-default, #002c4d);
    --sw-midnight: var(--primary-blue-dark, #001930);
    --sw-gold: #af8c3d;
    --sw-gold-text: #806225;
    --sw-gold-light: #e7c98a;
    --sw-paper: #f4f3f1;
    --sw-line: var(--neutral-grey-dark, #e0ddd6);
    --sw-gap: clamp(1rem, 2vw, 2rem);
    --sw-group-gap: clamp(1.5rem, 3vw, 3rem);
    --sw-card-pad: clamp(1rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--sw-group-gap);
}

.sw-home-stack {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.sw-home-section .sw-home-group { gap: var(--sw-group-gap); }

/* Divi's type scale stays in charge. Stack and grid gaps own the spacing. */
body.simpleEDGE #page-container article .sw-home-section .et_pb_module :is(.sw-home-stack, .sw-home-grid) > *,
body.simpleEDGE #page-container article .sw-home-section .et_pb_module :is(.sw-home-stages, .sw-home-decisions, .sw-home-list) {
    margin: 0;
}

.sw-home-grid,
.sw-home-models,
.sw-home-leaders,
.sw-home-leader {
    display: grid;
    gap: var(--sw-gap);
}

.sw-home-two, .sw-home-leader { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sw-home-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sw-home-span { grid-column: 1 / -1; }
.sw-home-grid > *, .sw-home-models > * { min-width: 0; }

.sw-home-card {
    background: var(--sw-paper);
    border: 1px solid var(--sw-line);
    padding: var(--sw-card-pad);
}

.sw-home-section :is(.sw-home-label, .sw-home-note),
.sw-home-hero-copy,
.sw-home-summary { text-align: center; }

body.simpleEDGE #page-container article .sw-home-section .et_pb_module .sw-home-label {
    color: var(--sw-gold-text);
    font-size: .85em;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sw-home-icon, .sw-home-count {
    display: inline-grid;
    place-items: center;
    width: 3.25rem;
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--sw-gold-text);
    background: #e8e5df;
}
.sw-home-count { font: 600 1.35rem/1 calluna, serif; }

.sw-home-section .sw-home-eyebrow,
.sw-home-section .sw-home-heading,
.sw-home-section .sw-home-intro {
    max-width: 62rem;
    margin-inline: auto;
    text-wrap: balance;
}
.sw-home-section .sw-home-intro { max-width: 54rem; }
body.simpleEDGE #page-container .sw-home-section > .et_pb_row {
    max-width: 77.5rem;
}
.sw-home-section .sw-home-split { width: calc(100% - 48px); }
.sw-home-section .et_pb_column:has(> .sw-home-heading) {
    display: grid;
    gap: 1rem;
    justify-items: center;
}
.sw-home-section .et_pb_column:has(> .sw-home-heading) > .et_pb_module { margin-bottom: 0 !important; }
.sw-home-section .sw-home-heading {
    display: grid;
    justify-items: center;
    gap: 1rem;
}
/* The preset supplies the gold rule. Keep it in flow when a title wraps. */
.sw-home-section .sw-home-heading::after, .sw-home-testimonials .global_sub_headers::after {
    position: static;
    transform: none;
    margin-inline: auto;
}

.sw-home-hero {
    isolation: isolate;
    overflow: clip;
    text-align: center;
    background-color: #12345a;
}
/* Match this hero's Divi row preset on the first paint, before its generated CSS arrives. */
.sw-home-hero > .et_pb_row { width: calc(100% - 48px); padding-block: 0; }
body.simpleEDGE .sw-home-hero .et_pb_column .sw-home-eyebrow { margin-bottom: 0; }
@media (max-width: 767px) {
    .sw-home-hero > .et_pb_row { width: calc(100% - 24px); }
}
.sw-home-hero:not(:has(.sw-home-hero-art)) {
    background-image: url(../../assets/media/nov-2026-temp-new-homepage/hero-rays.svg);
    background-size: cover;
    background-position: center bottom;
}
body.simpleEDGE #page-container .sw-home-hero > .sw-home-hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important; /* The theme gives every ordinary Divi row an inset width. */
    max-width: none;
    margin: 0;
    pointer-events: none;
}
.sw-home-hero-art :is(.et_pb_column, .et_pb_code, .et_pb_code_inner) { position: static; }
.sw-home-hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sw-home-hero-copy {
    max-width: 74rem;
    margin-inline: auto;
    justify-items: center;
    gap: var(--sw-gap);
}
body.simpleEDGE #page-container article .sw-home-hero .et_pb_module h1 {
    color: white;
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.08;
    text-wrap: balance;
}
.sw-home-hero-copy h1 em { display: block; color: var(--sw-gold-light); }
.sw-home-hero-copy p { max-width: 45rem; color: #fff; }
.sw-home-hero .et_pb_column { text-align: center; }
.sw-home-actions .et_pb_column {
    display: flex;
    gap: 1rem var(--sw-gap);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.sw-home-actions .et_pb_module { margin-bottom: 0 !important; }
body.simpleEDGE #page-container #et-boc .sw-home-actions a.link_button_arrow {
    display: inline-block;
    white-space: pre-line;
    line-height: 1.35 !important;
}
body.simpleEDGE #page-container #et-boc .sw-home-actions a.link_button_arrow::before {
    top: 50%;
    translate: 0 -50%;
}
/* The art and the native Divi modules share the first-paint animation timeline. */
@media (prefers-reduced-motion: no-preference) {
    body:not(.et-fb) .sw-home-hero .sw-home-rays {
        transform-origin: 800px 1120px;
        animation: sw-home-turn-rays 2.95s cubic-bezier(.22,.53,.38,1) both;
    }
    body:not(.et-fb) .sw-home-hero :is(.sw-home-eyebrow, h1, .sw-home-hero-copy p, .et_pb_button_module_wrapper) {
        animation: sw-home-hero-enter .65s cubic-bezier(.22,.7,.25,1) .42s backwards;
    }
    body:not(.et-fb) .sw-home-hero :is(.sw-home-hero-copy p, .et_pb_button_module_wrapper) { animation-delay: 1.18s; }
    body:not(.et-fb) .sw-home-hero .sw-home-actions .et_pb_button_module_wrapper {
        --enter-x: clamp(-3.5rem, -4vw, -1.75rem);
        --enter-y: 0px;
        animation-duration: .8s;
        animation-delay: 1.88s;
    }
    body:not(.et-fb) .sw-home-hero .sw-home-actions .et_pb_button_module_wrapper + .et_pb_button_module_wrapper {
        --enter-x: clamp(1.75rem, 4vw, 3.5rem);
    }
    body:not(.et-fb) .sw-home-hero:focus-within :is(.sw-home-eyebrow, h1, .sw-home-hero-copy p, .et_pb_button_module_wrapper) {
        opacity: 1 !important;
        transform: none !important;
    }
    .sw-home-section a.link_button_arrow::before { transition: transform .2s ease-out; }
    .sw-home-section a.link_button_arrow:is(:hover, :focus-visible)::before { transform: translate(.16em, -.16em); }
    @keyframes sw-home-turn-rays {
        from { transform: rotate(-11deg); opacity: .6; }
        to { transform: rotate(0); opacity: 1; }
    }
    @keyframes sw-home-hero-enter {
        from { opacity: 0; pointer-events: none; transform: translate(var(--enter-x, 0px), var(--enter-y, .55rem)); }
        to { opacity: 1; pointer-events: auto; transform: translate(0, 0); }
    }
}

/* Only the dark variants need a color override to the theme's arrow preset. */
body.simpleEDGE #page-container #et-boc .sw-home-dark a.et_pb_button.link_button_arrow {
    color: white !important;
    border-color: currentColor !important;
}
body.simpleEDGE #page-container #et-boc .sw-home-dark a.link_button_arrow::before {
    filter: brightness(0) invert(1);
}
body.simpleEDGE #page-container #et-boc .sw-home-dark a.link_button_arrow:is(:hover, :focus-visible) {
    color: var(--sw-gold-light) !important;
}

/* Paired statements use the site's blockquote and larger-paragraph modules. */
.sw-home-belief {
    background-image: url(../../assets/images/background_accents/orange-circular-lines-bottom-right-pattern.svg);
    background-position: right bottom;
    background-size: min(25%, 15rem);
    background-repeat: no-repeat;
}
.sw-home-leaders { gap: var(--sw-group-gap); }
.sw-home-leader { margin: 0; align-items: center; gap: var(--sw-group-gap); }
.sw-home-leader > img { width: 100%; height: auto; display: block; }
.sw-home-leader:nth-child(even) > img { order: 1; }
.sw-home-leader figcaption > p, .sw-home-quote figcaption { font-weight: 600; }

/* The synchronized By the Numbers section keeps its live Divi Library ID. */
body.simpleEDGE:has(.sw-home-numbers-photo) #page-container .et_pb_section:has(#sanctuary_numbers_aum) {
    background-color: #001930 !important;
}
body.simpleEDGE:has(.sw-home-numbers-photo) #page-container .et_pb_section:has(#sanctuary_numbers_aum) :is(.et_pb_text, .et_pb_text p, .et_pb_number_counter .title, .percent span) {
    color: white !important;
}
.sw-home-banner .et_pb_image_wrap, .sw-home-photo .et_pb_image_wrap { display: block; width: 100%; }
.sw-home-banner .et_pb_image_wrap img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 62%; }

body.simpleEDGE #page-container article .sw-home-section .et_pb_module :is(.sw-home-decisions, .sw-home-stages, .sw-home-list) {
    list-style: none;
    padding: 0;
}
.sw-home-decisions .sw-home-count { color: var(--sw-gold-text); }
body.simpleEDGE #page-container article .sw-home-section .sw-home-summary {
    justify-self: center;
    max-width: 56rem;
    font: 500 1.35em/1.5 calluna, serif;
    color: var(--sw-navy);
    text-wrap: pretty;
}
.sw-home-stages {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    text-align: center;
}
.sw-home-stages li {
    --stage: #517fa8;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: .75rem;
    padding-inline: .5rem;
}
.sw-home-stages li:nth-child(2) { --stage: #3a6e9d; }
.sw-home-stages li:nth-child(3) { --stage: var(--sw-navy); }
.sw-home-stages li:nth-child(4) { --stage: #377e76; }
.sw-home-stages li:nth-child(5) { --stage: var(--sw-gold-text); }
.sw-home-stages li:nth-child(6) { --stage: #985b21; }
.sw-home-stages .sw-home-count { background: var(--stage); color: white; }
.sw-home-stages li:not(:last-child)::before {
    content: "";
    position: absolute;
    inset-inline-start: calc(50% + 1.9rem);
    inset-block-start: 1.6rem;
    width: calc(100% - 3.8rem);
    border-block-start: 2px solid var(--stage);
}
.sw-home-stages li > span:last-child { font: 600 1.25em/1.3 calluna, serif; color: var(--sw-navy); }
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .sw-home-stages.is-pending li::before { transform: scaleX(0); }
    .sw-home-stages.is-in-view li::before {
        transform-origin: left;
        animation: sw-home-trace-stage .48s ease-out backwards;
    }
    .sw-home-stages li:nth-child(2)::before { animation-delay: .12s; }
    .sw-home-stages li:nth-child(3)::before { animation-delay: .24s; }
    .sw-home-stages li:nth-child(4)::before { animation-delay: .36s; }
    .sw-home-stages li:nth-child(5)::before { animation-delay: .48s; }
    @keyframes sw-home-trace-stage { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.sw-home-section .sw-home-panels > .et_pb_column {
    padding: var(--sw-card-pad);
    display: flex;
    flex-direction: column;
    gap: var(--sw-gap);
}
.sw-home-panels .et_pb_code { flex: 1; }
.sw-home-panels .et_pb_module { margin-bottom: 0 !important; }
.sw-home-section .sw-home-label:where(.sw-home-panels *, .sw-home-editorial *, .sw-home-quote *, .sw-home-partnerships *) { text-align: start; }
body.simpleEDGE #page-container article .sw-home-dark .et_pb_code :is(h2, h3, p) { color: white; }
body.simpleEDGE #page-container article .sw-home-dark .et_pb_code .sw-home-label { color: var(--sw-gold-light); }
.sw-home-dark .sw-home-icon { background: #ffffff22; color: var(--sw-gold-light); }

.sw-home-partnerships .sw-home-card-lead {
    font: 500 1.35em/1.4 calluna, serif;
    color: var(--sw-gold-text);
}
.sw-home-section .sw-home-list li {
    margin: 0;
    padding-block: .55rem;
    border-top: 1px solid var(--sw-line);
}
.sw-home-partnerships .sw-home-list li { padding-inline-start: 1em; }
.sw-home-partnerships .sw-home-list li::before {
    content: "•";
    color: var(--sw-gold);
    display: inline-block;
    width: 1em;
    margin-inline-start: -1em;
}

.sw-home-models {
    position: relative;
    --connector: 2rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--connector) 1rem;
}
.sw-home-models .sw-home-card {
    position: relative;
    justify-items: center;
    text-align: center;
    padding-inline: clamp(.875rem, 1.4vw, 1.5rem);
}
.sw-home-choice {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.sw-home-choice-label { color: inherit; font: inherit; cursor: pointer; }
.sw-home-choice-label::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
.sw-home-models .sw-home-card:has(:focus-visible), .sw-home-service:has(:focus-visible) {
    outline: 2px solid var(--sw-navy);
    outline-offset: 3px;
}
.sw-home-model-mark {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: .65rem;
    font-size: .75em;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.sw-home-model-status {
    color: var(--sw-gold-text);
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s ease, visibility .18s;
}
.sw-home-model-featured:is(:hover, :has(:focus-visible)) .sw-home-model-status {
    visibility: visible;
    opacity: 1;
}
@media (hover: none) {
    .sw-home-model-featured:has(:checked) .sw-home-model-status { visibility: visible; opacity: 1; }
}
/* Keyboard focus may stay on one card while the pointer previews another. */
.sw-home-models:has(.is-active) .sw-home-card:not(.is-active) .sw-home-model-status {
    visibility: hidden;
    opacity: 0;
}
.sw-home-model-other {
    background: transparent;
    color: var(--sw-navy);
    opacity: .7;
    transition: opacity .25s ease, border-color .25s ease;
}
.sw-home-model-other:is(:hover, :focus-within, .is-active) { opacity: 1; border-color: #858b90; }
.sw-home-model-featured {
    background: white;
    border-top: 4px solid var(--sw-gold);
    box-shadow: 0 .75rem 1.5rem rgba(0, 25, 48, .07);
    transition: background-color .25s ease, box-shadow .25s ease;
}
.sw-home-model-featured.is-active {
    background: #faf6eb;
    box-shadow: inset 0 0 0 1px var(--sw-gold), 0 .75rem 1.5rem rgba(0, 25, 48, .09);
}
.sw-home-model-featured.is-active .sw-home-icon { background: var(--sw-gold-text); color: white; }
.sw-home-model-featured::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    height: calc(var(--connector) + 1px);
    border-inline-start: 2px solid var(--sw-gold);
    pointer-events: none;
}
.sw-home-model-featured.is-active::after { border-inline-start-width: 4px; }
.sw-home-model-offer {
    grid-column: 2 / span 3;
    justify-items: center;
    align-content: center;
    text-align: center;
    background: var(--sw-midnight);
    color: white;
    padding: var(--sw-card-pad);
}
.sw-home-model-offer img { width: auto; height: 2.5rem; max-width: 100%; object-fit: contain; }
body.simpleEDGE #page-container article .sw-home-model-offer .sw-home-model-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem 1.25rem;
    padding: 0;
    list-style: none;
}
body.simpleEDGE #page-container article .sw-home-model-offer .sw-home-model-names li {
    padding: 0;
    color: white;
    border-bottom: 2px solid transparent;
}
body.simpleEDGE #page-container article .sw-home-model-offer .sw-home-model-names li.is-active {
    color: var(--sw-gold-light);
    border-color: currentColor;
}
@media (min-width: 1280px) {
    .sw-home-models h3 { max-inline-size: 10ch; text-wrap: balance; }
    .sw-home-models::before {
        content: "";
        position: absolute;
        grid-column: 2 / span 3;
        inset-inline: 0;
        bottom: calc(100% + 1rem);
        border-top: 1px solid var(--sw-gold);
    }
}
/* Shared tracks keep descriptions and bullet lists aligned as the copy wraps. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 769px) {
        .sw-home-models > .sw-home-card, .sw-home-decisions > .sw-home-card {
            grid-row: span 3;
            grid-template-rows: subgrid;
        }
        .sw-home-partnerships > .sw-home-card:not(.sw-home-span) {
            grid-row: span 5;
            grid-template-rows: subgrid;
        }
    }
}

.sw-home-ring {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: min(100%, 21rem);
    justify-self: center;
    font: 500 2rem/1.25 calluna, serif;
    color: var(--sw-navy);
}
.sw-home-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sw-home-ring [data-service-for] { cursor: pointer; }
.sw-home-ring [data-highlight] { transition: opacity .35s ease; }
.sw-home-ring-block {
    stroke: var(--service-color);
    transform-origin: 0 0;
    transform-box: view-box;
    transition: transform .42s cubic-bezier(.2,.7,.22,1), stroke-width .25s ease;
}
/* A stationary hit area spans the resting and expanded radii. */
.sw-home-ring-hit { stroke-width: 58; pointer-events: stroke; }
.sw-home-ring .is-active .sw-home-ring-block { transform: scale(1.095); }
.sw-home-ring [data-highlight]:has(.is-current) [data-service-for]:not(.is-current) .sw-home-ring-block { transform: scale(1.05); }
.sw-home-ring .is-current .sw-home-ring-block { stroke-width: 46; }
.sw-home-ring:has(g.is-active) [data-highlight]:not(.is-active) { opacity: .48; }
.sw-home-ring-caption { display: grid; gap: .18rem; width: 60%; text-align: center; text-wrap: balance; pointer-events: none; }
.sw-home-ring-caption .sw-home-label { max-inline-size: 18ch; justify-self: center; }
body.simpleEDGE #page-container article .sw-home-section .sw-home-ring .sw-home-label { font: 700 .75rem/1.5 Montserrat, sans-serif; }
.sw-home-service-explorer { --service-color: #0e2a4c; }
.sw-home-service-explorer [data-highlight="planning"] { --service-color: #a88743; }
.sw-home-service-explorer [data-highlight="business"] { --service-color: #74a7d5; }
.sw-home-service-explorer [data-highlight="platform"] { --service-color: #556270; }
.sw-home-service { position: relative; border-top: 4px solid var(--service-color); }
.sw-home-service .sw-home-choice-label { display: grid; justify-items: start; gap: 1rem; }
.sw-home-service .sw-home-icon { color: var(--service-color); }
.sw-home-service .sw-home-list { position: relative; }
.sw-home-service .sw-home-list li { padding: 0; }
.sw-home-service-item { display: block; cursor: pointer; font: inherit; color: inherit; padding: .55rem; }
.sw-home-service .is-current {
    background-color: color-mix(in srgb, var(--service-color) 9%, white);
    box-shadow: inset 3px 0 var(--service-color);
}
.sw-home-service-item:has(:focus-visible) { outline: 2px solid var(--sw-navy); outline-offset: -2px; }
.sw-home-service.is-active { background: white; box-shadow: inset 0 0 0 1px var(--service-color); }
.sw-home-service, .sw-home-model-mark .sw-home-icon { transition: background-color .25s ease, box-shadow .25s ease; }

.sw-home-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sw-group-gap); }
.sw-home-quote { border-inline-start: 3px solid var(--sw-gold); padding-inline-start: 1.25rem; }
body.simpleEDGE #page-container article .sw-home-section .sw-home-quote blockquote { padding: 0; border: 0; }
@media (min-width: 1920px) {
    body.simpleEDGE #page-container article .sw-home-section .sw-home-quote blockquote p {
        font-size: 28px;
        line-height: 36px;
    }
}
.sw-home-editorial .et_pb_column { align-self: stretch; }
.sw-home-editorial .sw-home-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--sw-card-pad);
    gap: var(--sw-gap);
}
.sw-home-copy .et_pb_module { margin-bottom: 0 !important; }
.sw-home-photo .et_pb_image, .sw-home-photo a, .sw-home-photo .et_pb_image_wrap { height: 100%; }
.sw-home-photo .et_pb_image a { width: 100%; }
.sw-home-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sw-home-culture .sw-home-photo img { object-position: center 34%; }
.sw-home-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "award award stage stage" "award award reception rooftop" "team team session session";
    grid-auto-rows: clamp(7rem, 16vw, 13rem);
    gap: .5rem;
}
.sw-home-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.sw-home-mosaic img:nth-child(1) { grid-area: award; object-position: center 40%; }
.sw-home-mosaic img:nth-child(2) { grid-area: stage; object-position: 68% 30%; }
.sw-home-mosaic img:nth-child(3) { grid-area: reception; object-position: 45% 35%; }
.sw-home-mosaic img:nth-child(4) { grid-area: rooftop; object-position: center 35%; }
.sw-home-mosaic img:nth-child(5) { grid-area: team; object-position: center 45%; }
.sw-home-mosaic img:nth-child(6) { grid-area: session; object-position: center 62%; }
.sw-home-cares .sw-home-banner img { object-position: center 36%; }
.sw-home-events figcaption { font-size: .875em; }
.sw-home-questions {
    max-width: 58rem;
    margin-inline: auto;
    border-top: 2px solid var(--sw-gold);
    overflow-anchor: none;
}
.sw-home-question { border-bottom: 1px solid var(--sw-line); }
.sw-home-question summary {
    position: relative;
    display: grid;
    align-items: center;
    min-block-size: 3.5rem;
    padding: 1.2rem 3rem 1.2rem clamp(.75rem, 2vw, 1.5rem);
    list-style: none;
    cursor: pointer;
}
.sw-home-question summary::-webkit-details-marker { display: none; }
body.simpleEDGE #page-container article .sw-home-section .sw-home-question summary h3 {
    padding: 0;
    margin: 0;
    font-weight: 500;
}
.sw-home-question summary::before, .sw-home-question summary::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    translate: 0 -50%;
    width: 1rem;
    height: 2px;
    background: var(--sw-gold-text);
}
.sw-home-question summary::after { transform: rotate(90deg); }
.sw-home-question[open] summary::after { transform: rotate(0); }
.sw-home-question[open] { background-color: #fff; box-shadow: inset 3px 0 var(--sw-gold); }
.sw-home-question summary:hover { background-color: rgba(175, 140, 61, .06); }
.sw-home-question summary:focus-visible { outline: 2px solid var(--sw-navy); outline-offset: -3px; }
.sw-home-answer { min-height: 0; overflow: hidden; }
body.simpleEDGE #page-container article .sw-home-section .sw-home-answer p {
    max-width: 76ch;
    margin: 0;
    padding: 0 clamp(1rem, 3vw, 2.5rem) 1.35rem clamp(.75rem, 2vw, 1.5rem);
}
/* Both answers change height on the same clock, including when a click reverses them. */
@media (prefers-reduced-motion: no-preference) {
    .sw-home-question { transition: background-color .3s ease, box-shadow .3s ease; }
    .sw-home-question summary::after { transition: transform .28s ease; }
    .sw-home-question::details-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .34s cubic-bezier(.35,0,.2,1), content-visibility .34s allow-discrete;
    }
    .sw-home-question[open]::details-content { grid-template-rows: 1fr; }
}

@media (max-width: 1279px) {
    .sw-home-models { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .sw-home-model-offer { grid-column: 1 / -1; }
    .sw-home-model-featured::after { display: none; }
}
@media (max-width: 1024px) {
    .sw-home-four, .sw-home-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw-home-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
    .sw-home-stages li::before { display: none; }
    .sw-home-ring { width: min(100%, 16rem); font-size: 1.6rem; }
    .sw-home-service-explorer .sw-home-services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
    .sw-home-services .sw-home-service { display: contents; }
    .sw-home-service .sw-home-icon { display: none; }
    .sw-home-service h3 { grid-row: 1; display: grid; }
    .sw-home-service .sw-home-choice-label {
        position: relative;
        align-content: center;
        padding: .6rem .75rem;
        border: 1px solid var(--sw-line);
        border-inline-start: 4px solid var(--service-color);
        font-size: .88em;
        line-height: 1.2;
        min-height: 2.75rem;
    }
    .sw-home-service.is-active .sw-home-choice-label,
    .sw-home-services:not(:has(.is-active)) .sw-home-service:has(h3 :checked) .sw-home-choice-label {
        background: white;
        box-shadow: inset 0 0 0 1px var(--service-color);
    }
    .sw-home-service label:has(:focus-visible) { outline: 2px solid var(--sw-navy); outline-offset: 1px; }
    .sw-home-service .sw-home-list { display: none; grid-column: 1 / -1; grid-row: 2; }
    .sw-home-service.is-active .sw-home-list,
    .sw-home-services:not(:has(.is-active)) .sw-home-service:has(h3 :checked) .sw-home-list { display: block; }
    body.simpleEDGE #page-container article .sw-home-section .sw-home-services .sw-home-list {
        padding: .6rem 1rem;
        background: white;
        border-inline-start: 4px solid var(--service-color);
    }
    .sw-home-service .sw-home-list li:first-child { border-top: 0; }
}
@media (max-width: 768px) {
    .sw-home-section .sw-home-split { width: calc(100% - 24px); }
    .sw-home-two, .sw-home-leader { grid-template-columns: 1fr; }
    .sw-home-leader:nth-child(even) > img { order: 0; }
    .sw-home-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw-home-service-explorer .sw-home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw-home-service:nth-child(n+3) h3 { grid-row: 2; }
    .sw-home-service .sw-home-list { grid-row: 3; }
    .sw-home-banner .et_pb_image_wrap img { aspect-ratio: 16 / 9; }
    .sw-home-photo img { aspect-ratio: 4 / 3; height: auto; }
    .sw-home-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "award award" "award award" "stage stage" "reception rooftop" "team session";
    }
}
@media (max-width: 540px) {
    .sw-home-four, .sw-home-models, .sw-home-quotes { grid-template-columns: 1fr; }
    .sw-home-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .sw-home-model-other, .sw-home-model-featured, .sw-home-model-status, .sw-home-model-mark .sw-home-icon,
    .sw-home-ring [data-highlight], .sw-home-ring-block, .sw-home-service { transition: none; }
}

/* Contrast variants of the existing Divi text, button and video modules. */
body.simpleEDGE #page-container article .sw-home-testimonials .et_pb_text p { color: #dce5f0; }
body.simpleEDGE #page-container article .sw-home-testimonials .gold_sub_header_text p { color: #e7c98a; }
body.simpleEDGE #page-container article .sw-home-testimonials .et_pb_text h2 { color: white; text-transform: none; }
.sw-home-testimonials .global_sub_headers { display: grid; gap: 1rem; }
body.simpleEDGE #page-container article .sw-home-section .gold_sub_header_text p { color: var(--sw-gold-text); }
body.simpleEDGE #page-container article .sw-home-hero .gold_sub_header_text p { color: var(--sw-gold-light); }
.sw-home-cares .et_pb_code { color: var(--sw-midnight); }

@media (min-width: 769px) {
    html #page-container .sw-home-section .sw-home-split .et_pb_column:first-child { flex: 2; min-width: 0; }
    html #page-container .sw-home-section .sw-home-split .et_pb_column:nth-child(2) { flex: 3; min-width: 0; }
}
@media (min-width: 981px) {
    .sw-home-panels > .et_pb_column, .sw-home-editorial > .et_pb_column { margin-bottom: 0; }
    .sw-home-editorial .sw-home-photo { min-height: clamp(15rem, 22vw, 23rem); }
    .sw-home-editorial .sw-home-photo .et_pb_image { position: absolute; inset: 0; }
}
