:root {
    --color-text: #1f2527;
    --color-cream: #f7efea;
    --color-page-background: #f7efea;
    --color-white: #ffffff;
    --color-terracotta: #925946;
    --color-sage: #d8d7b5;
    --color-olive: #9d9a45;
    --color-orange: #ef793e;
    --color-rust: #ae5d2e;
    --color-admin-chrome: #342b27;
    --color-on-accent: #1f2527;
    --color-on-brand: #ffffff;
    --color-on-background: #1f2527;
    --color-muted: #6c6e69;
    --color-border: rgba(31, 37, 39, 0.12);
    --shadow-soft: 0 20px 55px rgba(78, 50, 39, 0.11);
    --shadow-card: 0 12px 32px rgba(78, 50, 39, 0.09);
    --radius-lg: 2.4rem;
    --radius-md: 1.6rem;
    --font-heading: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

.wellbeing-tool__intro {
    display: block;
    text-align: left;
}

.wellbeing-tool__intro > * {
    margin-right: 0;
    margin-left: 0;
}

.wellbeing-tool__shell {
    width: min(100%, 92rem);
    margin: 0 auto;
    display: grid;
    gap: 2.4rem;
}

.wellbeing-form-card,
.wellbeing-history {
    padding: clamp(3rem, 6vw, 5rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.wellbeing-form-card {
    text-align: center;
}

.wellbeing-form-card__header {
    max-width: 64rem;
    margin: 0 auto 3.2rem;
}

.wellbeing-form-card__header .eyebrow,
.wellbeing-history > .eyebrow {
    margin-bottom: 0.8rem;
}

.wellbeing-form-card h2,
.wellbeing-history h2 {
    margin-top: 0;
}

.wellbeing-form-card__header h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
}

.wellbeing-form-card__header p:last-child {
    margin-bottom: 0;
    color: var(--color-muted);
}

.wellbeing-tool__form {
    width: min(100%, 64rem);
    margin: 0 auto;
    text-align: left;
}

.wellbeing-rating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.8rem;
}

.wellbeing-rating-grid > .input {
    margin-bottom: 1.8rem;
}

.wellbeing-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.4rem;
}

.wellbeing-form-actions .site-button {
    min-width: 19rem;
    margin-bottom: 0;
}

.wellbeing-history {
    background: linear-gradient(135deg, rgba(216, 215, 181, 0.66), rgba(255, 255, 255, 0.98));
    text-align: center;
}

.wellbeing-history h2 {
    margin-bottom: 2.4rem;
}

.wellbeing-history > p:last-child {
    margin-bottom: 0;
}

.wellbeing-history__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 26rem));
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wellbeing-history__list li {
    min-height: 12rem;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 1.8rem;
    border: 1px solid rgba(31, 37, 39, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.wellbeing-history__list span,
.wellbeing-history__list small {
    color: var(--color-muted);
}

.experience-reflections {
    margin-top: 3.2rem;
    padding: clamp(2.2rem, 4vw, 3.4rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(216, 215, 181, 0.45), rgba(255, 255, 255, 0.95));
}

.experience-reflections__header {
    max-width: 72rem;
}

.experience-reflections__header h2 {
    margin: 0 0 0.9rem;
}

.experience-reflections__header > p:last-child {
    margin: 0;
    color: var(--color-muted);
}

.experience-reflections__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.experience-reflection-card {
    display: flex;
    min-height: 20rem;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid rgba(31, 37, 39, 0.14);
    border-radius: 1.3rem;
    background: var(--color-white);
    box-shadow: 0 0.8rem 1.7rem rgba(78, 50, 39, 0.06);
}

.experience-reflection-card.is-submitted {
    border-color: rgba(88, 133, 93, 0.5);
}

.experience-reflection-card__type {
    margin: 0 0 0.7rem;
    color: var(--color-rust);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-reflection-card h3 {
    margin: 0 0 0.8rem;
}

.experience-reflection-card > p:not(.experience-reflection-card__type) {
    margin: 0;
    color: var(--color-muted);
}

.experience-reflection-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.8rem;
}

.experience-reflection-card__status {
    color: var(--color-muted);
    font-size: 1.3rem;
    font-weight: 700;
}

.experience-reflections__history-link {
    display: inline-flex;
    margin-top: 1.8rem;
}

.audit-comparison {
    margin: 0 0 2.4rem;
    padding: 2.2rem;
    border: 1px solid rgba(120, 83, 48, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 248, 0.92);
}

.audit-comparison > h2 {
    margin: 0.3rem 0 0.8rem;
}

.audit-comparison__card {
    margin-top: 1.4rem;
    padding: 1.4rem;
    border-radius: var(--radius-sm);
    background: rgba(246, 240, 223, 0.9);
}

.audit-comparison__card h3,
.audit-comparison__card p {
    margin: 0;
}

.audit-comparison__card ul {
    display: grid;
    gap: 0.8rem;
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.audit-comparison__card li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(120, 83, 48, 0.16);
}

.audit-comparison__summary {
    font-weight: 700;
}

@media (max-width: 700px) {
    .wellbeing-form-card,
    .wellbeing-history {
        padding: 3rem 2rem;
    }

    .wellbeing-rating-grid {
        grid-template-columns: 1fr;
    }

    .wellbeing-history__list {
        grid-template-columns: 1fr;
    }

    .experience-reflection-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .audit-comparison__card li {
        display: grid;
    }
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    background: var(--color-page-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

p, li, label, input, textarea, select, table, .message {
    font-size: 1.6rem;
}

a {
    color: var(--color-rust);
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

a:hover,
a:focus {
    color: var(--color-orange);
}

.site-shell {
    min-height: calc(100vh - 24rem);
}

.experience-autosave-status {
    flex: 1 1 auto;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.4rem;
    line-height: 1.5;
}

.experience-autosave-status[data-save-state="error"] {
    color: var(--color-rust);
}

.page-experience-reflection .wellbeing-form-actions {
    align-items: center;
    gap: 1.6rem;
}

@media (max-width: 640px) {
    .page-experience-reflection .wellbeing-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.container.site-container {
    max-width: 120rem;
    padding: 6rem 3rem 9rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(146, 89, 70, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
    box-shadow: 0 8px 28px rgba(53, 27, 18, 0.14);
}

.site-header__inner,
.admin-nav__inner,
.site-footer__inner {
    width: min(100%, 120rem);
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

.site-header__inner {
    min-height: 9.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.brand-lockup {
    display: block;
    color: var(--color-text);
}

.brand-lockup:hover,
.brand-lockup:focus {
    color: var(--color-text);
    opacity: 0.88;
}

.brand-lockup__frame {
    width: clamp(24rem, 28vw, 32rem);
    display: block;
}

.brand-lockup__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.site-nav,
.admin-nav__links,
.site-footer__links,
.social-list,
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.site-nav {
    gap: 0.8rem;
}

.site-menu-toggle {
    display: none;
}

.site-nav a {
    padding: 1rem 1.5rem;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
    background: rgba(157, 154, 69, 0.14);
    color: var(--color-rust);
}

.site-nav a.site-nav__cta {
    background: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 7px 16px rgba(58, 24, 13, 0.16);
}

.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta:focus {
    background: #f58a54;
    transform: translateY(-1px);
}

.site-account-menu {
    position: relative;
    margin-left: 0.4rem;
}

.site-account-menu > summary {
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    border: 1px solid rgba(146, 89, 70, 0.18);
    border-radius: 999px;
    background: rgba(247, 239, 234, 0.58);
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 750;
    list-style: none;
}

.site-account-menu > summary::-webkit-details-marker {
    display: none;
}

.site-account-menu > summary:hover,
.site-account-menu > summary:focus-visible,
.site-account-menu[open] > summary,
.site-account-menu.is-active > summary {
    border-color: rgba(146, 89, 70, 0.32);
    background: rgba(157, 154, 69, 0.14);
    color: var(--color-rust);
    outline: 0;
}

.site-account-menu > summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(157, 154, 69, 0.18);
}

.site-account-menu__avatar {
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    flex: 0 0 3.1rem;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0.045em;
}

.site-account-menu__chevron {
    width: 1.4rem;
    height: 1.4rem;
    transition: transform 150ms ease;
}

.site-account-menu[open] .site-account-menu__chevron {
    transform: rotate(180deg);
}

.site-account-menu__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.8rem);
    right: 0;
    width: max-content;
    min-width: 21rem;
    display: grid;
    gap: 0.3rem;
    padding: 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 1.6rem 4rem rgba(53, 27, 18, 0.18);
}

.site-nav .site-account-menu__panel a {
    min-height: 4.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.site-nav .site-account-menu__panel a:hover,
.site-nav .site-account-menu__panel a:focus-visible {
    background: rgba(157, 154, 69, 0.12);
    color: var(--color-rust);
}

.site-account-menu__panel .ui-icon {
    width: 1.7rem;
    height: 1.7rem;
}

.site-nav .site-account-menu__panel .site-account-menu__logout {
    margin-top: 0.3rem;
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 0.8rem 0.8rem;
}

.admin-nav {
    background: #774536;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-nav__inner {
    min-height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    font-size: 1.35rem;
}

.admin-nav__links {
    gap: 1.6rem;
}

.admin-nav a,
.admin-nav span {
    color: rgba(255, 255, 255, 0.88);
}

.hero-stage {
    position: relative;
    margin: -6rem calc(50% - 50vw) 0;
    padding: 6.5rem 3rem;
    background:
        radial-gradient(circle at 10% 0%, rgba(216, 215, 181, 0.64), transparent 36%),
        var(--color-cream);
    overflow: hidden;
}

.hero-stage::after {
    content: "";
    position: absolute;
    width: 38rem;
    height: 38rem;
    right: -14rem;
    bottom: -24rem;
    border: 1px solid rgba(146, 89, 70, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(146, 89, 70, 0.035), 0 0 0 10rem rgba(146, 89, 70, 0.025);
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 120rem);
    margin: 0 auto;
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(38rem, 0.86fr);
    min-height: 57rem;
    background: var(--color-white);
    border-radius: 3rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4rem, 7vw, 8rem);
}

.hero-copy h1 {
    max-width: 66rem;
    margin: 0 0 2.2rem;
    font-size: clamp(4.4rem, 6vw, 7.2rem);
    text-wrap: balance;
}

.hero-copy p {
    max-width: 57rem;
    margin-bottom: 1.4rem;
    color: #4d5354;
    font-size: 1.75rem;
}

.eyebrow,
.feature-tag {
    margin: 0 0 1.4rem;
    color: var(--color-rust);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    gap: 2rem;
    margin-top: 2.2rem;
}

.site-button,
.button,
button,
input[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    padding: 1.25rem 2.8rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-olive);
    box-shadow: 0 9px 20px rgba(91, 83, 31, 0.16);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: none;
}

.site-button--primary {
    background: var(--color-orange);
    box-shadow: 0 10px 24px rgba(239, 121, 62, 0.28);
}

.site-button--secondary {
    background: var(--color-rust);
}

.site-button:hover,
.site-button:focus,
.button:hover,
.button:focus,
button:hover,
button:focus,
input[type='submit']:hover,
input[type='submit']:focus {
    color: var(--color-white);
    filter: brightness(0.94);
    transform: translateY(-2px);
}

.site-button--wide {
    width: 100%;
}

.text-cta {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-visual,
.profile-visual {
    position: relative;
    min-height: 38rem;
    overflow: hidden;
}

.hero-visual__image,
.profile-visual__image {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
}

.hero-visual__image {
    object-position: 42% center;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 37, 39, 0.08), transparent 35%);
    pointer-events: none;
}

.hero-visual__badge {
    position: absolute;
    z-index: 1;
    left: 2.5rem;
    bottom: 2.5rem;
    max-width: calc(100% - 5rem);
    padding: 1rem 1.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.brand-promise {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin: 0 calc(50% - 50vw) 7rem;
    padding: 2.1rem 3rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-promise i {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--color-sage);
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(32rem, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    margin-bottom: 9rem;
    border-radius: var(--radius-lg);
    background: var(--color-sage);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.page-home .container.site-container > .feature-panel {
    padding: 0;
}

.page-home .profile-visual__image {
    position: absolute;
    inset: 0;
}

.profile-visual__image {
    object-position: 50% 28%;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4rem, 7vw, 7rem);
}

.feature-copy h2,
.section-heading h2,
.page-intro h1 {
    margin: 0 0 2rem;
    font-size: clamp(3.6rem, 5vw, 5.6rem);
    text-wrap: balance;
}

.signature-signoff {
    width: min(100%, 30rem);
    height: auto;
    margin: 2rem 0 0;
    display: block;
}

.section-heading {
    max-width: 72rem;
    margin-bottom: 3rem;
}

.page-home .testimonial-section .section-heading {
    display: block;
}

.testimonial-section {
    margin-bottom: 7rem;
    padding-bottom: 2rem;
}

.testimonial-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.testimonial-card,
.service-card {
    position: relative;
    padding: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.testimonial-card:nth-child(3n + 2),
.service-card:nth-child(3n + 2) {
    background: #f3f2df;
}

.testimonial-card__quote {
    display: block;
    height: 3.4rem;
    color: var(--color-orange) !important;
    font-family: Georgia, serif;
    font-size: 5.5rem !important;
    line-height: 1;
}

.testimonial-card p {
    margin-bottom: 2rem;
}

.testimonial-card > span:last-child,
.service-card__meta,
.service-card__timestamp {
    color: var(--color-rust);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-intro {
    position: relative;
    max-width: none;
    margin: -6rem calc(50% - 50vw) 5rem;
    padding: 7rem max(3rem, calc((100vw - 114rem) / 2));
    background: var(--color-sage);
}

.page-intro > * {
    max-width: 78rem;
}

.page-intro p {
    font-size: 1.8rem;
}

.service-card {
    min-height: 35rem;
    display: flex;
    flex-direction: column;
}

.service-card h2 {
    margin: 2rem 0 1.4rem;
    font-size: 2.8rem;
}

.service-card h2 a {
    color: var(--color-text);
}

.service-card__link {
    margin-top: auto;
    padding-top: 2rem;
    color: var(--color-rust);
    font-weight: 800;
}

.service-card__timestamp {
    margin: 1.5rem 0 0;
    opacity: 0.72;
}

.service-card--empty {
    grid-column: 1 / -1;
    min-height: auto;
}

.experience-card--featured {
    border-color: rgba(239, 121, 62, 0.46);
    box-shadow: 0 18px 42px rgba(174, 93, 46, 0.16);
}

.experience-card__badge {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.experience-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 2rem;
}

.experience-card__footer strong {
    color: var(--color-text);
    font-size: 2rem;
}

.experience-card__footer .service-card__link {
    margin: 0;
    padding: 0;
    text-align: right;
}

.site-paginator {
    margin-top: 4rem;
}

.service-detail__hero {
    margin: -6rem calc(50% - 50vw) 0;
    padding: 8rem max(3rem, calc((100vw - 100rem) / 2));
    background: var(--color-sage);
    text-align: center;
}

.service-detail__hero h1 {
    margin: 0 auto 2rem;
    max-width: 85rem;
    font-size: clamp(4.2rem, 6vw, 6.8rem);
}

.service-detail__lede {
    max-width: 70rem;
    margin: 0 auto 3rem;
    font-size: 1.9rem;
}

.service-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30rem;
    gap: 5rem;
    padding-top: 6rem;
}

.service-detail__content {
    max-width: 76rem;
    padding: 4rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.service-detail__content p {
    font-size: 1.75rem;
}

.service-detail__more {
    align-self: start;
    display: grid;
    gap: 1.4rem;
    padding: 3rem;
    border-radius: var(--radius-md);
    background: var(--color-terracotta);
}

.service-detail__more .eyebrow,
.service-detail__more a {
    color: var(--color-white);
}

.experience-detail__purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.experience-detail__purchase > strong {
    font-size: 2.8rem;
}

.site-button.is-disabled {
    cursor: not-allowed;
    opacity: 0.72;
    pointer-events: none;
}

.experience-facts {
    align-self: start;
    padding: 3rem;
    border-radius: var(--radius-md);
    background: var(--color-sage);
}

.experience-facts dl,
.experience-facts dd {
    margin: 0;
}

.experience-facts dl > div {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(31, 37, 39, 0.12);
}

.experience-facts dt {
    font-weight: 800;
}

.experience-facts .text-cta {
    display: inline-block;
    margin-top: 2rem;
}

.experience-inclusions {
    margin-top: 4rem;
    padding: 3rem;
    border-radius: var(--radius-md);
    background: var(--color-cream);
}

.experience-inclusions h2 {
    font-size: 2.8rem;
}

.experience-inclusions li::marker {
    color: var(--color-orange);
}

.experience-more {
    margin-top: 7rem;
}

.experience-more__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.experience-more__grid a {
    display: grid;
    gap: 1rem;
    padding: 2.4rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.experience-more__grid strong {
    color: var(--color-text);
    font-size: 1.8rem;
}

.product-editor {
    max-width: 92rem;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem);
}

.product-editor h1 {
    font-size: clamp(3.6rem, 5vw, 5rem);
}

.form-grid--checks {
    margin: 1.5rem 0 2.5rem;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--color-cream);
}

.form-grid--checks .checkbox input {
    width: auto;
    min-height: auto;
}

.login-shell {
    min-height: 62vh;
    padding: 2rem 0 6rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(30rem, 0.9fr) minmax(38rem, 0.75fr);
    align-items: center;
    gap: clamp(5rem, 9vw, 11rem);
    max-width: 104rem;
    margin: 0 auto;
}

.auth-shell--register {
    grid-template-columns: minmax(30rem, 0.75fr) minmax(50rem, 1.25fr);
    max-width: 112rem;
}

.login-intro h1 {
    max-width: 58rem;
    margin: 0 0 2rem;
    font-size: clamp(4.2rem, 6vw, 6.6rem);
}

.login-intro > p:not(.eyebrow) {
    max-width: 46rem;
    color: #555c5d;
    font-size: 1.8rem;
}

.register-card {
    padding: clamp(3rem, 5vw, 5rem);
    border-top: 0.5rem solid var(--color-orange);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.register-card .input {
    margin-bottom: 2rem;
}

.register-card .checkbox {
    margin: 0.8rem 0 2.6rem;
    padding: 1.6rem;
    border-radius: 1rem;
    background: var(--color-cream);
}

.register-card .checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
}

.register-card .checkbox input {
    margin-top: 0.35rem;
    flex: 0 0 auto;
    width: 1.8rem;
    min-height: 1.8rem;
}

.form-error,
.error-message {
    display: block;
    margin-top: 0.6rem;
    color: #a33d27;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.field-hint {
    margin: -1.3rem 0 0;
    color: var(--color-muted);
    font-size: 1.25rem;
    line-height: 1.45;
}

.page-reset-password .password-requirements {
    margin-bottom: 2.8rem;
}

.input.error input {
    border-color: #b84b33;
    background: #fff8f5;
}

.register-card .checkbox.error {
    box-shadow: inset 0 0 0 1px #b84b33;
    background: #fff8f5;
}

.account-switch {
    margin: 1.8rem 0 0;
    color: var(--color-muted);
    font-size: 1.4rem;
    text-align: center;
}

.account-switch a {
    font-weight: 800;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.login-card {
    position: relative;
    width: min(100%, 46rem);
    padding: 4.5rem 4rem 4rem;
    border-top: 0.5rem solid var(--color-orange);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.login-card__label {
    margin-bottom: 0.8rem;
    color: var(--color-text);
    font-size: 3.4rem;
    font-weight: 800;
    text-align: center;
}

.login-card__subtitle {
    margin: 0 0 3rem;
    color: var(--color-muted);
    font-size: 1.45rem;
    text-align: center;
}

.site-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.input label {
    color: var(--color-text);
    font-size: 1.45rem;
    font-weight: 700;
}

.input input:not([type='checkbox']):not([type='radio']),
.input textarea,
.input select,
.password-field input {
    width: 100%;
    min-height: 5.4rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-cream);
    box-shadow: none;
}

.input input:not([type='checkbox']):not([type='radio']):focus,
.input textarea:focus,
.input select:focus {
    border-color: var(--color-olive);
    box-shadow: 0 0 0 3px rgba(157, 154, 69, 0.16);
}

.input textarea {
    min-height: 18rem;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 5rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    min-height: auto;
    padding: 0.5rem 0.8rem;
    transform: translateY(-50%);
    background: transparent;
    box-shadow: none;
    color: var(--color-rust);
    font-size: 1.2rem;
    font-weight: 800;
}

.password-toggle:hover,
.password-toggle:focus {
    background: transparent;
    color: var(--color-orange);
    transform: translateY(-50%);
}

.login-actions {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
    margin-top: 2rem;
}

.text-link {
    font-size: 1.45rem;
    font-weight: 700;
}

.message {
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.content {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.site-footer {
    background: var(--color-terracotta);
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__inner {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    text-align: center;
}

.site-footer__logo {
    position: relative;
    left: 50%;
    width: 13rem;
    height: 13rem;
    margin: 0 0 2rem;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(53, 27, 18, 0.18);
    transform: translateX(-50%);
}

.site-footer__contact {
    margin-bottom: 2rem;
}

.site-footer__contact p {
    margin: 0;
    color: var(--color-white);
    font-size: 1.45rem;
}

.site-footer a,
.site-footer__heading {
    color: var(--color-white);
}

.site-footer__heading {
    margin: 0 0 1.6rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.social-list {
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.4rem;
}

.social-list a {
    width: 4.2rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
}

.social-list a:hover,
.social-list a:focus {
    background: var(--color-white);
    color: var(--color-terracotta);
}

.social-list svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: currentColor;
}

.social-link--website svg,
.social-link--other svg {
    fill: none;
}

.site-footer__links {
    justify-content: center;
    gap: 2.4rem;
    margin-bottom: 2.2rem;
}

.site-footer__links a,
.site-footer__copyright {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.35rem;
}

/* Match the production header scale. Authenticated users have two additional tools,
   so their wide layout gets extra room before navigation collapses into the menu. */
.brand-lockup {
    display: block;
    flex: 0 0 auto;
}

.brand-lockup__frame {
    width: clamp(24rem, 28vw, 32rem);
    display: block;
    flex: 0 0 clamp(24rem, 28vw, 32rem);
}

.brand-lockup__image {
    aspect-ratio: auto;
    object-fit: contain;
}

.site-header__inner {
    min-height: 9.6rem;
    gap: 3rem;
}

.site-navigation {
    min-width: 0;
    margin-left: auto;
}

.site-nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.8rem;
}

.site-nav a {
    padding: 1rem 1.5rem;
    font-size: 1.45rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

@media (min-width: 1350px) {
    .site-header--authenticated .site-header__inner {
        width: 100%;
        max-width: 140rem;
    }
}

/* Keep the navigation usable instead of allowing it to overlap the logo. */
@media (max-width: 1349px) {
    .site-header__inner {
        min-height: auto;
        position: relative;
        flex-wrap: wrap;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        gap: 1.2rem;
    }

    .brand-lockup__frame {
        width: min(53vw, 23rem);
        flex-basis: min(53vw, 23rem);
    }

    .site-menu-toggle {
        width: 4.6rem;
        height: 4.6rem;
        min-height: 4.6rem;
        display: grid;
        place-content: center;
        gap: 0.45rem;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        border: 1px solid var(--color-border);
        border-radius: 50%;
        background: var(--color-cream);
        box-shadow: none;
        line-height: 1;
    }

    .site-menu-toggle span {
        width: 2rem;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: var(--color-rust);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-is-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .menu-is-open .site-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-is-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }

    .site-header .site-navigation {
        box-sizing: border-box;
        width: calc(100% + 3.6rem);
        display: none;
        order: 3;
        flex: 0 0 calc(100% + 3.6rem);
        align-self: stretch;
        margin: 0 -1.8rem -1.2rem;
        padding: 1rem 1.8rem 1.8rem;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
    }

    .menu-is-open .site-navigation {
        display: block;
    }

    .site-header .site-navigation .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .site-header .site-navigation .site-nav > a {
        box-sizing: border-box;
        width: 100%;
        min-height: 4.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 1.2rem 1.4rem;
        text-align: center;
    }

    .admin-nav {
        display: none;
    }

    .menu-is-open .admin-nav {
        display: block;
    }
}

/* Do not let a full-bleed page introduction cover a success or error message. */
.site-container > .message {
    position: relative;
    z-index: 1;
}

.site-container > .message + .page-intro {
    margin-top: 0;
}

@media (min-width: 701px) and (max-width: 991px) {
    .site-header__inner {
        min-height: auto;
        position: relative;
        flex-wrap: wrap;
        padding: 1.2rem 1.8rem;
        gap: 1.5rem;
    }

    .brand-lockup__frame {
        width: min(58vw, 25rem);
    }

    .site-menu-toggle {
        width: 4.6rem;
        height: 4.6rem;
        min-height: 4.6rem;
        display: grid;
        place-content: center;
        gap: 0.45rem;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        border: 1px solid var(--color-border);
        border-radius: 50%;
        background: var(--color-cream);
        box-shadow: none;
        line-height: 1;
    }

    .site-menu-toggle:hover,
    .site-menu-toggle:focus {
        background: var(--color-cream);
        box-shadow: 0 0 0 3px rgba(157, 154, 69, 0.16);
        filter: none;
        transform: none;
    }

    .site-menu-toggle span {
        width: 2rem;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: var(--color-rust);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-is-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .menu-is-open .site-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-is-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }

    .site-navigation {
        width: calc(100% + 3.6rem);
        display: none;
        order: 3;
        margin: 0 -1.8rem -1.2rem;
        padding: 1rem 1.8rem 1.8rem;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
    }

    .menu-is-open .site-navigation {
        display: block;
    }

    .site-nav {
        width: 100%;
        display: grid;
        gap: 0.4rem;
    }

    .site-nav a {
        width: 100%;
        padding: 1.2rem 1.4rem;
        font-size: 1.3rem;
        text-align: left;
    }

    .site-nav a.site-nav__cta {
        margin-top: 0.4rem;
        text-align: center;
    }

    .admin-nav {
        display: none;
    }

    .menu-is-open .admin-nav {
        display: block;
    }

    .admin-nav__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }

    .admin-nav__links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem 1.6rem;
    }
}

@media (max-width: 900px) {
    .hero-card,
    .feature-panel,
    .service-detail__layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 48rem;
    }

    .profile-visual {
        min-height: 45rem;
    }

    .testimonial-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail__more {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-more__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-shell {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .login-intro {
        max-width: 68rem;
    }
}

@media (max-width: 700px) {
    .container.site-container {
        padding: 4rem 1.8rem 6rem;
    }

    .site-header__inner,
    .admin-nav__inner,
    .site-footer__inner {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .site-header__inner {
        min-height: auto;
        position: relative;
        flex-wrap: wrap;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        gap: 1.5rem;
    }

    .brand-lockup__frame {
        width: min(58vw, 25rem);
    }

    .site-menu-toggle {
        width: 4.6rem;
        height: 4.6rem;
        min-height: 4.6rem;
        display: grid;
        place-content: center;
        gap: 0.45rem;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        border: 1px solid var(--color-border);
        border-radius: 50%;
        background: var(--color-cream);
        box-shadow: none;
        line-height: 1;
    }

    .site-menu-toggle:hover,
    .site-menu-toggle:focus {
        background: var(--color-cream);
        box-shadow: 0 0 0 3px rgba(157, 154, 69, 0.16);
        filter: none;
        transform: none;
    }

    .site-menu-toggle span {
        width: 2rem;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: var(--color-rust);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-is-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .menu-is-open .site-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-is-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }

    .site-navigation {
        width: calc(100% + 3.6rem);
        display: none;
        order: 3;
        margin: 0 -1.8rem -1.2rem;
        padding: 1rem 1.8rem 1.8rem;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
    }

    .menu-is-open .site-navigation {
        display: block;
    }

    .site-nav {
        width: 100%;
        display: grid;
        gap: 0.4rem;
    }

    .site-nav a {
        width: 100%;
        padding: 1.2rem 1.4rem;
        font-size: 1.3rem;
        text-align: left;
    }

    .site-nav a.site-nav__cta {
        margin-top: 0.4rem;
        text-align: center;
    }

    .admin-nav {
        display: none;
    }

    .menu-is-open .admin-nav {
        display: block;
    }

    .admin-nav__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }

    .admin-nav__links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem 1.6rem;
    }

    .hero-stage,
    .page-intro,
    .service-detail__hero {
        margin-top: -4rem;
    }

    .hero-stage {
        margin-right: -1.8rem;
        margin-left: -1.8rem;
        padding: 3rem 1.8rem 4rem;
    }

    .page-home .container.site-container > .hero-stage {
        margin-right: 0;
        margin-left: 0;
    }

    .hero-card {
        grid-template-columns: 1fr;
        border-radius: 2rem;
    }

    .hero-copy,
    .feature-copy,
    .login-card,
    .service-detail__content {
        padding: 3rem 2.4rem;
    }

    .hero-copy h1 {
        margin-bottom: 1.6rem;
        font-size: clamp(3.6rem, 11vw, 4.8rem);
    }

    .hero-copy > .eyebrow {
        display: none;
    }

    .hero-copy p {
        font-size: 1.6rem;
        line-height: 1.55;
    }

    .page-intro h1,
    .service-detail__hero h1,
    .login-intro h1,
    .product-editor h1 {
        overflow-wrap: anywhere;
        font-size: clamp(3.2rem, 10vw, 4.5rem);
    }

    .hero-visual,
    .profile-visual {
        min-height: 36rem;
    }

    .brand-promise {
        gap: 0.7rem;
        margin-right: -1.8rem;
        margin-bottom: 5rem;
        margin-left: -1.8rem;
        padding: 1.2rem 1rem;
        background: var(--color-sage);
        color: var(--color-text);
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .brand-promise i {
        width: 0.35rem;
        height: 0.35rem;
        background: var(--color-rust);
    }

    .testimonial-grid,
    .service-grid,
    .service-detail__more,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .experience-more__grid,
    .experience-card__footer {
        grid-template-columns: 1fr;
    }

    .experience-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .experience-card__footer .service-card__link {
        text-align: left;
    }

    .register-card {
        padding: 3rem 2.4rem;
    }

    .auth-shell {
        gap: 2.5rem;
    }

    .login-shell {
        padding-bottom: 3rem;
    }

    .login-card,
    .register-card,
    .product-editor,
    .content {
        width: 100%;
        min-width: 0;
    }

    .hero-card > *,
    .feature-panel > *,
    .auth-shell > *,
    .service-detail__layout > *,
    .form-grid > * {
        min-width: 0;
    }

    .hero-actions,
    .experience-detail__purchase {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .site-button,
    .experience-detail__purchase .site-button {
        width: 100%;
        text-align: center;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        min-width: 68rem;
    }

    .content > table,
    .view.content > table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .float-right {
        float: none;
        margin: 0 0 2rem;
    }

    .side-nav {
        margin-bottom: 2rem;
    }

    .pagination,
    .site-footer__links {
        gap: 0.8rem 1.4rem;
    }

    .pagination {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .site-footer__contact p {
        overflow-wrap: anywhere;
        line-height: 1.8;
    }

    .site-footer__links {
        flex-direction: column;
    }

    .feature-panel {
        margin-bottom: 6rem;
    }
}

/* Allow-listed appearance variants driven by Website settings. */
.appearance-heading-brand-sans {
    --font-heading: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

.appearance-heading-editorial-serif {
    --font-heading: "Newsreader", Georgia, serif;
}

.appearance-heading-display-serif {
    --font-heading: "Playfair Display", Georgia, serif;
}

.appearance-heading-classic-serif {
    --font-heading: "Lora", Georgia, serif;
}

.appearance-heading-modern-sans {
    --font-heading: "Raleway", "Avenir Next", "Segoe UI", sans-serif;
}

.appearance-heading-humanist-sans {
    --font-heading: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.appearance-body-brand-sans {
    --font-body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

.appearance-body-clean-sans {
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

.appearance-body-modern-sans {
    --font-body: "Raleway", "Avenir Next", "Segoe UI", sans-serif;
}

.appearance-body-humanist-sans {
    --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.appearance-body-readable-serif {
    --font-body: "Lora", Georgia, serif;
}

.appearance-background-warm-cream {
    --color-page-background: #f7efea;
}

.appearance-background-soft-sage {
    --color-page-background: #f1f2e8;
}

.appearance-background-light-ivory {
    --color-page-background: #faf9f4;
}

.hero-copy > .hero-eyebrow {
    display: inline-flex;
}

.hero-copy > .hero-eyebrow--small {
    font-size: 1.2rem;
}

.hero-copy > .hero-eyebrow--medium {
    font-size: 1.5rem;
}

.hero-copy > .hero-eyebrow--large {
    font-size: 1.8rem;
}

.hero-copy > .hero-eyebrow--case-as-entered {
    text-transform: none;
}

.hero-copy > .hero-eyebrow--case-uppercase {
    text-transform: uppercase;
}

.hero-copy > .hero-eyebrow--case-lowercase {
    text-transform: lowercase;
}

/* Refined course workspace: wider learning canvas, lighter surfaces and dependable drag affordances. */
.page-experience-player .container.site-container,
.page-experience-editor .container.site-container {
    width: min(100%, 156rem);
    max-width: 156rem;
}

.experience-player__header {
    align-items: center;
    margin-top: -2rem;
    border: 1px solid var(--color-border);
    background: linear-gradient(120deg, #ffffff 0%, #f3f4e9 100%);
    color: var(--color-text);
    box-shadow: 0 10px 28px rgba(31, 37, 39, 0.07);
}

.experience-player__header::before {
    width: 0.6rem;
    align-self: stretch;
    border-radius: 999px;
    background: var(--color-orange);
    content: "";
}

.experience-player__header > div:first-of-type {
    flex: 1;
}

.experience-player__header h1,
.experience-player__header .eyebrow {
    color: var(--color-text);
}

.experience-player__header .eyebrow {
    color: var(--color-rust);
}

.experience-player__header .experience-progress {
    min-width: min(34rem, 32vw);
    color: var(--color-text);
}

.experience-player__header progress {
    background: rgba(31, 37, 39, 0.1);
}

.experience-player__layout {
    grid-template-columns: 27rem minmax(0, 1fr);
    gap: 2.4rem;
}

.experience-player__sidebar,
.experience-player__content {
    border: 1px solid rgba(31, 37, 39, 0.09);
    box-shadow: 0 8px 24px rgba(31, 37, 39, 0.06);
}

.experience-player__sidebar {
    top: 16rem;
    border-radius: 1.8rem;
}

.experience-player__content {
    padding: clamp(3.5rem, 5vw, 6.5rem);
}

.experience-player__content > h2 {
    max-width: 100rem;
}

.experience-player__lede {
    max-width: 96rem;
}

.experience-content-block {
    width: 100%;
    max-width: 108rem;
    margin: 3.2rem 0;
}

.experience-rich-text {
    max-width: 92rem;
}

.experience-rich-text p,
.experience-rich-text li {
    line-height: 1.75;
}

.experience-video,
.experience-image,
.experience-download {
    max-width: 108rem;
}

.experience-detail__hero {
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, #f2f3e7 0%, #ffffff 70%);
    color: var(--color-text);
    box-shadow: var(--shadow-card);
}

.experience-detail__hero h1,
.experience-detail__hero .eyebrow,
.experience-detail__cta .text-cta,
.experience-detail__cta small {
    color: var(--color-text);
}

.experience-detail__hero .eyebrow {
    color: var(--color-rust);
}

.experience-detail__summary {
    color: var(--color-muted);
}

.experience-detail__cover {
    background: linear-gradient(145deg, #e5e6cb, #f7efea);
}

.cms-editor__readiness,
.cms-panel-help,
.cms-content-heading p {
    color: var(--color-muted);
    font-size: 1.25rem;
}

.cms-editor__readiness {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #f1f2ea;
    font-weight: 700;
}

.cms-editor__workspace {
    grid-template-columns: 26rem minmax(52rem, 1fr) 25rem;
    gap: 2rem;
}

.cms-steps-panel,
.cms-block-palette {
    position: sticky;
    top: 16rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 1.8rem;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(31, 37, 39, 0.06);
}

.cms-block-palette {
    max-height: calc(100vh - 18rem);
    overflow-y: auto;
}

.cms-panel-help {
    margin: 1rem 0 1.5rem;
    line-height: 1.45;
}

.cms-canvas {
    padding: clamp(2.5rem, 3.5vw, 4.5rem);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(31, 37, 39, 0.06);
}

.cms-content-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.cms-content-heading h3,
.cms-content-heading p {
    margin: 0;
}

.cms-content-heading p {
    margin-top: 0.4rem;
}

.drag-handle {
    touch-action: none;
    border-radius: 0.8rem;
    color: #777b76;
    line-height: 1;
    user-select: none;
}

.drag-handle:hover,
.drag-handle:focus {
    background: #eef0e8;
    color: var(--color-text);
    outline: 2px solid rgba(157, 154, 69, 0.35);
}

.is-drag-chosen {
    border-color: var(--color-olive) !important;
}

.is-dragging,
.is-drag-active {
    opacity: 0.72;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(31, 37, 39, 0.18) !important;
}

.cms-block__toolbar {
    background: #f6f7f3;
}

.cms-block-picker {
    margin: 0;
    border: 0;
}

.cms-block-picker__grid {
    grid-template-columns: 1fr;
    padding: 0;
}

.cms-block-picker__grid a {
    position: relative;
    padding: 1.2rem 1.2rem 1.2rem 4rem;
}

.cms-block-picker__grid a:hover,
.cms-block-picker__grid a:focus {
    border-color: rgba(239, 121, 62, 0.5);
    background: #fffaf7;
    transform: translateY(-1px);
}

.cms-block-picker__icon {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    width: 2rem;
    height: 2rem;
    display: grid !important;
    place-items: center;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white) !important;
    font-size: 1.6rem !important;
    font-weight: 700;
    line-height: 1;
}

.cms-rich-toolbar {
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem;
    background: #f6f7f3;
}

.cms-rich-toolbar button {
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    padding: 0.65rem;
    border: 0;
    background: transparent;
}

.cms-rich-toolbar button:hover,
.cms-rich-toolbar button:focus {
    background: var(--color-white);
    box-shadow: 0 0 0 1px var(--color-border);
}

.cms-rich-toolbar button svg {
    width: 1.9rem;
    height: 1.9rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cms-rich-toolbar__separator {
    width: 1px;
    height: 2.4rem;
    margin: 0 0.3rem;
    background: var(--color-border);
}

.cms-rich-link {
    flex: 1;
    margin-left: 0.4rem;
}

.cms-rich-link input {
    width: 100%;
    min-width: 11rem;
}

@media (max-width: 1240px) {
    .cms-editor__workspace {
        grid-template-columns: 24rem minmax(0, 1fr);
    }

    .cms-block-palette {
        position: static;
        grid-column: 2;
        max-height: none;
    }

    .cms-block-picker__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .experience-player__header::before {
        width: 100%;
        height: 0.5rem;
    }

    .experience-player__layout,
    .cms-editor__workspace {
        grid-template-columns: 1fr;
    }

    .cms-steps-panel,
    .cms-block-palette {
        position: static;
        grid-column: auto;
    }

    .cms-block-picker__grid {
        grid-template-columns: 1fr;
    }
}

/* Streamlined Experience administration. */
.page-experience-editor .container.site-container {
    width: min(96%, 160rem);
    max-width: 160rem;
}

.cms-index-header {
    margin-bottom: 3rem;
}

.cms-index-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.cms-index-header h1,
.cms-editor__topbar h1,
.cms-experience-card h2 {
    margin-top: 0;
    color: #273033;
}

.cms-experience-grid {
    gap: 3.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cms-experience-order-item {
    min-width: 0;
    margin: 0;
}

.cms-experience-order-item .cms-experience-card {
    height: 100%;
}

.cms-experience-order-item.is-dragging {
    opacity: 0.45;
}

.cms-experience-order-item.is-drag-chosen .cms-experience-card {
    box-shadow: 0 18px 42px rgba(78, 50, 39, 0.18);
}

.cms-experience-card__status-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cms-experience-drag-handle {
    width: 3.6rem;
    height: 3.6rem;
    margin: 0;
}

.cms-experience-card__labels {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.cms-experience-card__labels span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(157, 154, 69, 0.14);
    color: #615f22;
    font-size: 1.15rem;
    font-weight: 700;
}

.cms-card-actions {
    align-items: stretch;
    flex-direction: column;
}

.cms-card-actions__primary,
.cms-card-order-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cms-card-actions__primary .site-button {
    margin: 0;
}

.cms-card-order-actions {
    min-height: 2.8rem;
}

.cms-card-more-actions {
    border-top: 1px solid var(--color-border);
}

.cms-card-more-actions summary {
    width: max-content;
    padding-top: 1.2rem;
    color: var(--color-rust);
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 800;
}

.cms-card-more-actions summary:focus-visible {
    outline: 3px solid rgba(239, 121, 62, 0.34);
    outline-offset: 3px;
}

.cms-card-more-actions > div {
    display: flex;
    gap: 0.8rem 1.6rem;
    flex-wrap: wrap;
    padding-top: 1rem;
}

.cms-card-more-actions a {
    font-size: 1.35rem;
    font-weight: 700;
}

.cms-experience-card {
    display: flex;
    flex-direction: column;
    padding: 3.2rem;
}

.cms-experience-card__heading {
    align-items: center;
    margin-bottom: 2rem;
}

.cms-experience-card h2 {
    margin-bottom: 1.2rem;
}

.cms-experience-card__facts {
    display: flex;
    gap: 0.8rem 1.8rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 0;
    color: var(--color-muted);
    font-size: 1.3rem;
    font-weight: 700;
}

.cms-experience-card__facts span {
    color: var(--color-olive);
}

.cms-experience-card .cms-card-actions {
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 2.8rem;
}

.cms-editor__topbar {
    align-items: center;
    gap: 3rem;
}

.cms-editor__topbar h1 {
    margin-bottom: 0;
    font-size: clamp(3rem, 4vw, 4.8rem);
}

.cms-editor__publish {
    flex-wrap: wrap;
}

.cms-editor__publish .site-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.cms-metadata-panel > summary span {
    color: var(--color-text);
    font-size: 1.8rem;
}

.cms-step-strip {
    margin: 2.4rem 0;
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(31, 37, 39, 0.06);
}

.cms-step-strip__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.2rem;
}

.cms-step-strip__heading h2 {
    margin: 0;
    font-size: 2rem;
}

.cms-step-strip__body {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-width: 0;
}

.cms-step-strip .cms-step-list {
    min-width: 0;
    display: flex;
    flex: 1;
    gap: 0.8rem;
    overflow-x: auto;
    margin: 0;
    padding: 0 0 0.4rem;
    scroll-snap-type: x proximity;
}

.cms-step-strip .cms-step-list > li {
    width: auto;
    min-width: 0;
    flex: 0 0 22rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    margin: 0;
    padding: 1rem;
    border-color: var(--color-border);
    background: #fbfcf9;
    scroll-snap-align: start;
}

.cms-step-strip .cms-step-list > li.is-selected {
    border-color: rgba(157, 154, 69, 0.6);
    background: #f2f3e6;
    box-shadow: inset 0 0 0 1px rgba(157, 154, 69, 0.18);
}

.cms-step-strip .cms-step-list .cms-mini-status {
    grid-column: 2;
    padding: 0;
    background: transparent;
    font-size: 1rem;
}

.cms-step-strip .cms-step-list a span {
    white-space: nowrap;
}

.cms-step-strip .cms-add-step {
    min-width: 21rem;
    display: grid;
    align-content: center;
    flex: 0 0 21rem;
    gap: 0.8rem;
    margin: 0;
    padding: 1rem;
    border: 1px dashed rgba(31, 37, 39, 0.25);
    border-radius: 1rem;
}

.cms-step-strip .cms-add-step .input,
.cms-step-strip .cms-add-step input,
.cms-step-strip .cms-add-step .site-button {
    width: 100%;
    margin: 0;
}

.cms-step-strip .cms-add-step input {
    height: 4.2rem;
}

.cms-editor__workspace {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.4rem;
}

.cms-canvas {
    padding: clamp(2.4rem, 4vw, 4.5rem);
}

.cms-step-heading {
    align-items: center;
    margin-bottom: 1.6rem;
}

.cms-step-heading h2 {
    margin: 0;
    color: #273033;
    font-size: clamp(3rem, 4vw, 4.4rem);
}

.cms-step-settings {
    margin-bottom: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #f8f9f5;
}

.cms-step-settings > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 800;
}

.cms-step-settings .cms-step-details {
    margin: 0;
    padding: 1.8rem;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
}

.cms-content-heading {
    align-items: center;
    margin-top: 0;
}

.cms-content-heading h3 {
    font-size: 2rem;
}

.cms-block {
    margin: 1.6rem 0;
}

.cms-block-palette {
    top: 15rem;
    padding: 1.5rem;
    border-color: var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

.cms-block-palette .cms-panel-heading h2 {
    margin: 0;
    font-size: 2rem;
}

.cms-block-palette .cms-block-picker {
    margin-top: 1.2rem;
}

.cms-block-palette .cms-block-picker__grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.cms-block-palette .cms-block-picker__grid a {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem;
    text-align: left;
}

.cms-block-palette .cms-block-picker__icon {
    position: static;
    width: 3rem;
    height: 3rem;
    margin: 0;
    border-radius: 0.8rem;
    background: #f1f2e7;
    color: #686624 !important;
    font-size: 1.4rem !important;
}

.cms-block-palette .cms-block-picker__grid strong {
    font-size: 1.3rem;
}

@media (max-width: 1100px) {
    .cms-editor__workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .cms-block-palette {
        position: static;
        order: -1;
        max-height: none;
    }

    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cms-index-header {
        gap: 1.8rem;
        margin-bottom: 2.4rem;
    }

    .cms-index-header__actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .cms-index-header .site-button {
        width: 100%;
        text-align: center;
    }

    .cms-experience-grid {
        gap: 2rem;
    }

    .cms-experience-card {
        padding: 2.4rem;
    }

    .cms-editor__topbar {
        align-items: stretch;
        gap: 1.8rem;
    }

    .cms-step-strip {
        padding: 1.4rem;
        border-radius: 1.4rem;
    }

    .cms-step-strip__body {
        flex-direction: column;
    }

    .cms-step-strip .cms-step-list {
        width: 100%;
    }

    .cms-step-strip .cms-step-list > li {
        width: 100%;
        flex: 0 0 100%;
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .cms-step-strip .cms-add-step {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        flex: none;
    }

    .cms-step-strip .cms-add-step .site-button {
        width: auto;
    }

    .cms-canvas,
    .cms-block-palette {
        width: 100%;
        padding: 1.6rem;
    }

    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cms-step-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 460px) {
    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: 1fr;
    }

    .cms-step-strip .cms-add-step {
        grid-template-columns: 1fr;
    }

    .cms-step-strip .cms-add-step .site-button {
        width: 100%;
    }
}

.site-content-control[data-site-block="home-about-signoff"] .site-content-image-preview img,
.site-content-control[data-site-block="footer-logo"] .site-content-image-preview img {
    padding: 1rem;
    object-fit: contain;
}

.cms-unsaved-dialog {
    width: min(calc(100% - 3rem), 52rem);
    padding: clamp(2.4rem, 5vw, 4rem);
    border: 0;
    border-radius: 2rem;
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 28px 90px rgba(20, 25, 27, 0.28);
}

.cms-unsaved-dialog::backdrop {
    background: rgba(22, 27, 29, 0.58);
    backdrop-filter: blur(3px);
}

.cms-unsaved-dialog__icon {
    width: 4.8rem;
    height: 4.8rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.8rem;
    border-radius: 50%;
    background: rgba(239, 121, 62, 0.14);
    color: var(--color-rust);
    font-size: 2.4rem;
    font-weight: 800;
}

.cms-unsaved-dialog h2 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cms-unsaved-dialog p {
    color: var(--color-muted);
}

.cms-unsaved-dialog__error {
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    background: #fff0ed;
    color: #8f2f25 !important;
}

.cms-unsaved-dialog__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cms-unsaved-dialog__actions .site-button,
.cms-unsaved-dialog__actions .text-cta {
    margin: 0;
}

.cms-unsaved-dialog__actions [hidden] {
    display: none;
}

.cms-editor form.has-unsaved-changes {
    box-shadow: inset 0.35rem 0 var(--color-orange);
}

@media (max-width: 700px) {
    .cms-unsaved-dialog__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cms-unsaved-dialog__actions .site-button,
    .cms-unsaved-dialog__actions .text-cta {
        width: 100%;
        text-align: center;
    }
}

/* Focused whole-site content studio. Layout remains template-controlled. */
.cms-editable-region {
    border-radius: 0.4rem;
    outline: 1px dashed transparent;
    outline-offset: 0.4rem;
    cursor: pointer;
    transition: outline-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.cms-editable-region:hover,
.cms-editable-region:focus-visible {
    outline: 2px dashed rgba(239, 121, 62, 0.72);
    background-color: rgba(255, 247, 242, 0.18);
    box-shadow: 0 0 0 0.5rem rgba(239, 121, 62, 0.08);
}

.cms-editable-region.is-editor-selected {
    outline: 3px solid var(--color-orange);
    box-shadow: 0 0 0 0.8rem rgba(239, 121, 62, 0.14);
}

.cms-region-edit-badge {
    position: fixed;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 0.5rem 1.8rem rgba(31, 37, 39, 0.22);
}

.cms-region-edit-badge[hidden] {
    display: none;
}

.cms-editor-previewing .cms-editable-region,
.cms-editor-previewing .cms-editable-region:hover,
.cms-editor-previewing .cms-editable-region:focus,
.cms-editor-previewing .cms-editable-region.is-editor-selected {
    outline: 0;
    background: transparent;
    box-shadow: none;
    cursor: inherit;
}

.cms-editor-previewing .cms-region-edit-badge {
    display: none;
}

.cms-editor-canvas .admin-nav {
    display: none;
}

.site-content-group {
    margin-top: 2.2rem;
}

.site-content-group > h3 {
    margin: 0 0 0.9rem;
    color: var(--color-muted);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-content-control {
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    background: var(--color-white);
}

.site-content-control.is-selected {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(239, 121, 62, 0.12);
}

.site-content-control > summary {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    list-style: none;
}

.site-content-control > summary::-webkit-details-marker {
    display: none;
}

.site-content-control > summary strong,
.site-content-control > summary small {
    display: block;
}

.site-content-control > summary strong {
    color: var(--color-text);
    font-size: 1.35rem;
}

.site-content-control > summary small {
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1.35;
}

.site-content-control__type {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 0.7rem;
    background: #eff1ea;
    color: var(--color-rust);
    font-size: 1.3rem;
    font-weight: 800;
}

.site-content-form {
    margin: 0;
    padding: 0 1.2rem 1.2rem;
    border-top: 1px solid var(--color-border);
}

.site-content-form > .input,
.site-content-form > .cms-rich-toolbar,
.site-content-form > .site-content-image-preview {
    margin-top: 1.2rem;
}

.settings-section-heading {
    margin-bottom: 1.2rem;
}

.settings-section-heading h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
}

.settings-section-heading p {
    margin: 0.4rem 0 0;
    color: var(--color-muted);
    font-size: 1.25rem;
    line-height: 1.45;
}

.settings-form-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    background: var(--color-white);
}

.appearance-settings-form {
    margin: 0;
    padding: 1.4rem;
}

.appearance-setting-group {
    margin: 0 0 1.6rem;
    padding: 0 0 1.6rem;
    border-bottom: 1px solid var(--color-border);
}

.appearance-setting-group legend {
    margin-bottom: 0.4rem;
    color: var(--color-text);
    font-size: 1.45rem;
    font-weight: 800;
}

.appearance-setting-group > p:not(.field-hint) {
    margin: 0 0 1.4rem;
    color: var(--color-muted);
    font-size: 1.2rem;
    line-height: 1.45;
}

.appearance-setting-group .field-hint {
    margin: 0.4rem 0 0;
}

.social-link-form .field-hint {
    margin: -0.7rem 0 1.2rem;
}

.settings-empty-state {
    padding: 1.6rem;
    border: 1px dashed var(--color-border);
    border-radius: 1rem;
    color: var(--color-muted);
    text-align: center;
}

.settings-empty-state p {
    margin: 0.4rem 0 0;
    font-size: 1.2rem;
}

.social-link-admin-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-link-admin-item {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.76);
}

.social-link-admin-item.is-dragging {
    opacity: 0.45;
}

.social-link-admin-item__summary {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1.2rem;
}

.social-link-admin-item__summary strong,
.social-link-admin-item__summary small {
    display: block;
}

.social-link-admin-item__summary strong {
    overflow-wrap: anywhere;
    color: var(--color-text);
    font-size: 1.3rem;
}

.social-link-admin-item__summary small {
    margin-top: 0.2rem;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.social-link-drag-handle {
    width: 3.6rem;
    height: 3.6rem;
    margin: 0;
}

.social-link-edit-control {
    margin: 0 1.2rem 1rem;
}

.social-link-admin-item__actions {
    display: flex;
    gap: 0.8rem 1.3rem;
    flex-wrap: wrap;
    padding: 0 1.2rem 1.2rem;
}

.social-link-admin-item__actions form,
.social-link-admin-item__actions a {
    margin: 0;
    font-size: 1.2rem;
}

.status-chip--muted {
    background: rgba(92, 96, 85, 0.1);
    color: var(--color-muted);
}

.site-content-rich-editor {
    min-height: 13rem;
}

.site-content-image-preview {
    height: 15rem;
    overflow: hidden;
    border-radius: 0.8rem;
    background: #f1f2ee;
}

.site-content-image-preview img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.site-content-dropzone {
    display: block;
    margin: 1rem 0;
    padding: 1.5rem;
    border: 2px dashed rgba(108, 110, 105, 0.35);
    border-radius: 0.9rem;
    background: #f8f9f6;
    cursor: pointer;
    text-align: center;
}

.site-content-dropzone.is-drag-over {
    border-color: var(--color-orange);
    background: #fff7f2;
}

.site-content-dropzone strong,
.site-content-dropzone span {
    display: block;
}

.site-content-dropzone span {
    color: var(--color-muted);
    font-size: 1.15rem;
}

.site-content-dropzone input {
    width: 100%;
    margin: 1rem 0 0;
    font-size: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}

.admin-purchase-summary {
    margin-top: 5rem;
}

.admin-purchase-summary .admin-table-card__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.admin-purchase-summary .admin-table-card__heading p:last-child {
    max-width: 44rem;
    color: var(--color-muted);
}

@media (max-width: 720px) {
    .admin-purchase-summary .admin-table-card__heading {
        align-items: start;
        flex-direction: column;
    }
}

/* Energy Experience catalogue, participant player and visual studio. */
.experience-grid,
.my-experiences__grid,
.cms-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.experience-card,
.my-experience-card,
.cms-experience-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.experience-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(16rem, 34%) 1fr;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(78, 50, 39, 0.055);
}

.experience-card--featured {
    border-color: rgba(239, 121, 62, 0.55);
}

.experience-card__image,
.my-experience-card__cover,
.experience-detail__cover {
    min-height: 24rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-sage), #eee1d8);
}

.experience-card__image img,
.my-experience-card__cover img,
.experience-detail__cover img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.experience-card__image-placeholder,
.my-experience-card__cover > span {
    color: rgba(119, 69, 54, 0.75);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.experience-card__body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 2.8rem;
}

.experience-card__topline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.experience-card__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.4;
    text-transform: uppercase;
}

.experience-card__topline .eyebrow,
.experience-player .eyebrow,
.cms-editor .eyebrow {
    margin: 0;
}

.experience-card h2 {
    margin: 1rem 0;
    font-size: 2.7rem;
}

.experience-card h2 a {
    color: var(--color-text);
}

.experience-card__facts,
.experience-detail__summary {
    display: flex;
    gap: 0.8rem 2rem;
    flex-wrap: wrap;
    margin: auto 0 2rem;
    padding: 1.4rem 0 0;
    list-style: none;
    color: var(--color-muted);
}

.experience-card__facts li,
.experience-detail__summary li {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.experience-card__facts li + li::before,
.experience-detail__summary li + li::before {
    content: "•";
    margin-right: 2rem;
    color: var(--color-orange);
}

.experience-card__footer {
    width: 100%;
    display: flex;
}

.experience-card__footer form,
.experience-card__footer .site-button {
    margin: 0;
}

.experience-card__footer .site-button {
    min-height: 4.4rem;
    padding: 1rem 1.9rem;
    text-align: center;
}

.experience-empty-state {
    grid-column: 1 / -1;
    max-width: 76rem;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.experience-detail__hero {
    min-height: 54rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(30rem, 0.8fr);
    overflow: hidden;
    margin: -6rem 0 6rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--color-terracotta);
    color: var(--color-white);
}

.experience-detail__hero-copy {
    align-self: center;
    padding: clamp(4rem, 7vw, 8rem);
}

.experience-detail__hero h1,
.experience-detail__hero .eyebrow {
    color: var(--color-white);
}

.experience-detail__hero h1 {
    max-width: 72rem;
    font-size: clamp(4rem, 7vw, 7rem);
}

.experience-detail__lede {
    max-width: 68rem;
    font-size: 2rem;
}

.experience-detail__summary {
    color: rgba(255, 255, 255, 0.88);
}

.experience-detail__cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.experience-detail__cta form,
.experience-detail__cta .site-button {
    margin: 0;
}

.experience-detail__cta .text-cta,
.experience-detail__cta small {
    color: var(--color-white);
}

.experience-detail__cover > span {
    padding: 4rem;
    color: var(--color-terracotta);
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.experience-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(26rem, 34rem);
    gap: 5rem;
}

.experience-detail__content,
.experience-facts {
    padding: clamp(3rem, 5vw, 5rem);
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

.experience-discovery-list,
.experience-external-information {
    margin-top: 3.2rem;
    padding-top: 3.2rem;
    border-top: 1px solid var(--color-border);
}

.experience-discovery-list h2,
.experience-external-information h2 {
    margin-bottom: 1.4rem;
    font-size: 2.4rem;
}

.experience-discovery-list ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.experience-discovery-list li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.8rem;
}

.experience-discovery-list li::before {
    position: absolute;
    left: 0;
    color: var(--color-rust);
    content: "✓";
    font-weight: 800;
}

.experience-external-information .text-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.experience-facts {
    align-self: start;
    background: var(--color-sage);
}

.experience-facts ol {
    padding: 0;
    list-style: none;
}

.experience-facts li {
    display: grid;
    grid-template-columns: 3.6rem 1fr;
    gap: 1rem;
    margin: 0;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(31, 37, 39, 0.12);
}

.experience-facts li span {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-rust);
    font-weight: 800;
}

.experience-more {
    margin-top: 7rem;
}

.my-experiences__group {
    margin: 5rem 0;
}

.my-experience-card {
    display: grid;
    grid-template-columns: minmax(14rem, 30%) 1fr;
}

.my-experience-card__cover {
    min-height: 26rem;
}

.my-experience-card__content {
    padding: 3rem;
}

.my-experience-card__content h3 {
    margin: 0.8rem 0;
    font-size: 2.7rem;
}

.experience-progress {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 1.5rem 0 2rem;
}

.experience-progress progress {
    width: 100%;
    height: 1.2rem;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(31, 37, 39, 0.12);
    accent-color: var(--color-orange);
}

.experience-player__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 4rem;
    margin: -2rem 0 3rem;
    padding: 3rem clamp(2.4rem, 4vw, 5rem);
    border-radius: var(--radius-lg);
    background: var(--color-terracotta);
    color: var(--color-white);
}

.experience-player__header h1,
.experience-player__header .eyebrow {
    margin-bottom: 0;
    color: var(--color-white);
}

.experience-player__header .experience-progress {
    min-width: 28rem;
    align-items: flex-end;
    flex-direction: column;
    margin: 0;
}

.experience-player__header progress {
    background: rgba(255, 255, 255, 0.24);
}

.experience-player__layout {
    display: grid;
    grid-template-columns: 30rem minmax(0, 1fr);
    gap: 3rem;
}

.experience-player__sidebar,
.experience-player__content {
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.experience-player__sidebar {
    align-self: start;
    position: sticky;
    top: 17rem;
    padding: 2.4rem;
}

.experience-step-list {
    margin: 1.5rem 0 2.5rem;
    padding: 0;
    list-style: none;
}

.experience-step-list li {
    margin: 0;
}

.experience-step-list a {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 0.8rem;
    padding: 1.2rem 0.8rem;
    border-radius: 1rem;
    color: var(--color-text);
    line-height: 1.3;
}

.experience-step-list a:hover,
.experience-step-list a:focus,
.experience-step-list .is-current a {
    background: rgba(157, 154, 69, 0.16);
}

.experience-step-list .is-current a {
    font-weight: 800;
}

.experience-step-list .is-current a {
    box-shadow: inset 0 0 0 2px rgba(157, 154, 69, 0.42);
}

.experience-step-list .is-complete a {
    color: #564f2b;
}

.experience-step-list .is-complete:not(.is-current) a {
    background: rgba(216, 215, 181, 0.24);
}

.experience-step-list__icon {
    color: var(--color-rust);
    font-weight: 800;
    text-align: center;
}

.experience-step-list__title {
    display: block;
}

.experience-step-list small {
    display: block;
    color: var(--color-muted);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-step-picker {
    display: none;
}

.experience-player__content {
    min-width: 0;
    padding: clamp(3rem, 6vw, 7rem);
}

.experience-player__step-count {
    color: var(--color-rust);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-player__content > h2 {
    font-size: clamp(3.4rem, 5vw, 5.4rem);
}

.experience-player__lede {
    max-width: 72rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 1.9rem;
}

.experience-content-block {
    max-width: 78rem;
    margin: 3rem auto;
}

.experience-rich-text p,
.experience-rich-text li {
    font-size: 1.75rem;
}

.experience-heading {
    margin-top: 4.5rem;
}

.experience-image img {
    width: 100%;
    margin: 0;
    border-radius: var(--radius-md);
}

.experience-image figcaption {
    margin-top: 0.8rem;
    color: var(--color-muted);
    font-size: 1.35rem;
    text-align: center;
}

.experience-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #1f2527;
}

.experience-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.experience-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid rgba(146, 89, 70, 0.25);
    border-radius: var(--radius-md);
    background: var(--color-cream);
}

.experience-download > div {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.experience-download > div > span {
    padding: 0.5rem 0.8rem;
    border-radius: 0.6rem;
    background: var(--color-rust);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 800;
}

.experience-download .site-button {
    margin: 0;
}

.experience-callout {
    padding: 2.8rem;
    border-left: 0.6rem solid var(--color-orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(239, 121, 62, 0.1);
}

.experience-callout--reflection {
    border-color: var(--color-olive);
    background: rgba(157, 154, 69, 0.15);
}

.experience-callout--note {
    border-color: var(--color-terracotta);
    background: rgba(146, 89, 70, 0.1);
}

.experience-divider {
    border: 0;
    border-top: 1px solid var(--color-border);
}

.experience-spacer--small { height: 2rem; }
.experience-spacer--medium { height: 4rem; }
.experience-spacer--large { height: 7rem; }

.experience-player__actions {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.experience-step-complete-status {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    margin-top: 4rem;
    padding: 2rem;
    border: 1px solid rgba(157, 154, 69, 0.42);
    border-radius: var(--radius-md);
    background: rgba(216, 215, 181, 0.22);
    color: var(--color-text);
}

.experience-step-complete-status > span {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    flex: 0 0 3.2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-weight: 800;
}

.experience-step-complete-status strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
}

.experience-step-complete-status p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.45rem;
}

.experience-player__actions form,
.experience-player__actions .site-button {
    margin: 0;
}

.experience-completion {
    max-width: 82rem;
    margin: 2rem auto;
    padding: clamp(4rem, 8vw, 8rem);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.experience-completion__mark {
    width: 8rem;
    height: 8rem;
    display: grid;
    place-items: center;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--color-sage);
    color: var(--color-rust);
    font-size: 4rem;
    font-weight: 800;
}

.experience-completion__message {
    max-width: 58rem;
    margin: 0 auto 2.8rem;
}

.experience-completion__progress {
    width: min(100%, 34rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 0 auto 3rem;
    padding: 1.6rem 2rem;
    border: 1px solid rgba(157, 154, 69, 0.42);
    border-radius: var(--radius-md);
    background: rgba(216, 215, 181, 0.22);
}

.experience-completion__progress strong {
    color: var(--color-rust);
    font-size: 2.4rem;
}

.experience-completion__progress span {
    color: var(--color-text);
    font-size: 1.4rem;
    font-weight: 700;
}

.experience-completion__actions,
.cms-form-actions,
.cms-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cms-index-header,
.cms-editor__topbar,
.cms-panel-heading,
.cms-step-heading,
.cms-editor__publish {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cms-create-shell,
.cms-metadata-panel {
    max-width: 94rem;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.cms-create-shell {
    padding: clamp(3rem, 6vw, 6rem);
}

.cms-metadata-panel {
    max-width: none;
    margin: 2rem 0;
}

.cms-metadata-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    cursor: pointer;
}

.cms-metadata-panel > summary span {
    color: var(--color-muted);
}

.cms-metadata-form {
    padding: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.cms-settings-section {
    margin: 0;
    padding: 2.4rem 0;
    border: 0;
    border-bottom: 1px solid var(--color-border);
}

.cms-settings-section:first-child {
    padding-top: 0;
}

.cms-settings-section:last-of-type {
    border-bottom: 0;
}

.cms-settings-section legend {
    margin-bottom: 1.8rem;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.form-help {
    margin: -1.2rem 0 2rem;
    color: var(--color-muted);
    font-size: 1.35rem;
}

.cms-cover-preview img,
.cms-media-preview img {
    max-width: 34rem;
    max-height: 24rem;
    border-radius: 1rem;
    object-fit: cover;
}

.cms-experience-card {
    padding: 3rem;
}

.cms-experience-card__heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cms-status,
.cms-mini-status {
    display: inline-flex;
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(108, 110, 105, 0.14);
    color: var(--color-muted);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cms-status--published {
    background: rgba(157, 154, 69, 0.2);
    color: #5d5b19;
}

.cms-status--archived {
    background: rgba(31, 37, 39, 0.12);
}

.cms-editor__topbar {
    align-items: flex-end;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.cms-editor__topbar h1 {
    margin: 0.8rem 0 0;
}

.cms-editor__publish form,
.cms-editor__publish .site-button {
    margin: 0;
}

.cms-editor__workspace {
    display: grid;
    grid-template-columns: 31rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.cms-steps-panel,
.cms-canvas {
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.cms-steps-panel {
    position: sticky;
    top: 17rem;
    padding: 2.2rem;
}

.cms-panel-heading h2 {
    margin: 0.4rem 0 0;
}

[data-sortable-state] {
    color: var(--color-muted);
    font-size: 1.2rem;
}

.cms-sortable-list {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.cms-step-list > li {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    gap: 0.8rem;
    align-items: center;
    margin: 0.6rem 0;
    padding: 0.8rem;
    border: 1px solid transparent;
    border-radius: 1rem;
}

.cms-step-list > li.is-selected {
    border-color: rgba(157, 154, 69, 0.45);
    background: rgba(157, 154, 69, 0.13);
}

.cms-step-list a {
    min-width: 0;
    color: var(--color-text);
}

.cms-step-list a small,
.cms-step-list a span {
    display: block;
}

.cms-step-list a span {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drag-handle {
    min-width: 3rem;
    height: 4rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    cursor: grab;
    font-size: 2rem;
}

.drag-handle:active {
    cursor: grabbing;
}

.cms-accessible-move {
    grid-column: 2 / -1;
    display: flex;
    gap: 1.2rem;
}

.cms-accessible-move form,
.cms-accessible-move a {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.15rem;
}

.cms-add-step {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.cms-add-step .site-button {
    width: 100%;
}

.cms-canvas {
    min-width: 0;
    padding: clamp(2.4rem, 5vw, 5rem);
}

.cms-step-heading {
    align-items: flex-end;
    margin-bottom: 2rem;
}

.cms-step-heading h2 {
    margin: 0.5rem 0 0;
    font-size: 3.8rem;
}

.cms-step-menu {
    display: flex;
    gap: 1.5rem;
}

.text-cta--danger {
    color: #8f2f25 !important;
}

.cms-step-details {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--color-cream);
}

.cms-block {
    margin: 2rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: 0 5px 18px rgba(78, 50, 39, 0.06);
}

.cms-block--unsaved {
    border-style: dashed;
    border-color: var(--color-orange);
}

.cms-block__toolbar {
    display: grid;
    grid-template-columns: 4rem auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--color-border);
    background: rgba(247, 239, 234, 0.7);
}

.cms-block__toolbar > span {
    color: var(--color-muted);
    font-size: 1.2rem;
}

.cms-block__actions {
    display: flex;
    gap: 1rem;
}

.cms-block__actions form,
.cms-block__actions a {
    margin: 0;
    font-size: 1.2rem;
}

.cms-block__editor {
    padding: 2.2rem;
}

.cms-inline-form {
    margin: 0;
}

.cms-inline-form .site-button {
    margin-bottom: 0;
}

.cms-rich-toolbar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-bottom: 0;
    border-radius: 0.8rem 0.8rem 0 0;
    background: var(--color-cream);
}

.cms-rich-toolbar button {
    height: auto;
    margin: 0;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    font-size: 1.2rem;
    line-height: 1.3;
    text-transform: none;
}

.cms-rich-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0 auto;
    font-size: 1.2rem;
}

.cms-rich-link input {
    width: 16rem;
    height: 3.2rem;
    margin: 0;
    padding: 0.4rem 0.8rem;
    background: var(--color-white);
    font-size: 1.2rem;
}

.cms-rich-editor {
    min-height: 16rem;
    padding: 1.8rem;
    overflow-wrap: anywhere;
    border: 1px solid var(--color-border);
    border-radius: 0 0 0.8rem 0.8rem;
    background: var(--color-white);
    font-size: 1.65rem;
}

.cms-rich-editor:focus {
    border-color: var(--color-olive);
    outline: 3px solid rgba(157, 154, 69, 0.2);
}

.cms-heading-form input {
    height: auto;
    padding: 1rem 0;
    border: 0;
    border-bottom: 2px solid var(--color-border);
    border-radius: 0;
    font-size: 2.7rem;
    font-weight: 700;
}

.cms-media-preview,
.cms-video-preview {
    margin: 0 auto 2rem;
}

.cms-current-file {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--color-cream);
}

.cms-divider-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--color-muted);
    font-size: 1.2rem;
}

.cms-divider-preview::before,
.cms-divider-preview::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--color-border);
}

.cms-block-hint {
    color: var(--color-muted);
    font-size: 1.3rem;
    text-align: center;
}

.cms-block-picker {
    margin-top: 3rem;
    border: 2px dashed rgba(146, 89, 70, 0.3);
    border-radius: var(--radius-md);
}

.cms-block-picker > summary {
    padding: 2rem;
    color: var(--color-rust);
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
}

.cms-block-picker__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 2rem 2rem;
}

.cms-block-picker__grid form {
    margin: 0;
}

.cms-block-picker__grid a {
    height: 100%;
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-white);
    color: var(--color-text);
}

.cms-block-picker__grid strong,
.cms-block-picker__grid span {
    display: block;
}

.cms-block-picker__grid span {
    margin-top: 0.5rem;
    color: var(--color-muted);
    font-size: 1.2rem;
}

.is-dragging {
    opacity: 0.5;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 980px) {
    .experience-grid,
    .my-experiences__grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        grid-template-columns: 24rem 1fr;
    }

    .experience-detail__hero {
        grid-template-columns: 1fr 32%;
    }

    .experience-player__layout {
        grid-template-columns: 25rem minmax(0, 1fr);
    }

    .cms-editor__workspace {
        grid-template-columns: 25rem minmax(0, 1fr);
    }

    .cms-block-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .experience-grid,
    .my-experiences__grid,
    .cms-experience-grid,
    .experience-detail__hero,
    .experience-detail__layout,
    .experience-card,
    .my-experience-card,
    .cms-editor__workspace {
        grid-template-columns: 1fr;
    }

    .experience-card__image {
        min-height: 20rem;
    }

    .experience-card__body {
        padding: 2.4rem;
    }

    .experience-detail__hero {
        min-height: 0;
        margin-top: -4rem;
    }

    .experience-detail__hero-copy {
        padding: 4rem 2.4rem;
    }

    .experience-detail__cover {
        min-height: 26rem;
        order: -1;
    }

    .experience-detail__content,
    .experience-facts {
        padding: 2.4rem;
    }

    .experience-player__header {
        align-items: stretch;
        flex-direction: column;
        margin-top: -2rem;
        padding: 2.4rem;
    }

    .experience-player__header .experience-progress {
        min-width: 0;
        align-items: stretch;
    }

    .experience-player__sidebar {
        display: none;
    }

    .experience-step-picker {
        display: block;
        margin-bottom: 2rem;
        border-radius: var(--radius-md);
        background: var(--color-white);
        box-shadow: var(--shadow-card);
    }

    .experience-step-picker > summary {
        padding: 1.8rem;
        cursor: pointer;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .experience-step-picker .experience-step-list {
        margin: 0;
        padding: 0 1.2rem 1.2rem;
    }

    .experience-player__content {
        padding: 2.4rem;
    }

    .experience-download,
    .experience-player__actions,
    .cms-index-header,
    .cms-editor__topbar,
    .cms-step-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .experience-download .site-button,
    .experience-player__actions .site-button,
    .experience-player__actions form,
    .experience-player__actions form a {
        width: 100%;
        text-align: center;
    }

    .cms-editor__publish {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .cms-editor__publish .site-button,
    .cms-editor__publish form,
    .cms-editor__publish form a {
        flex: 1;
        text-align: center;
    }

    .cms-steps-panel {
        position: static;
    }

    .cms-block__toolbar {
        grid-template-columns: 4rem 1fr auto;
    }

    .cms-block__toolbar > span {
        display: none;
    }

    .cms-block__actions {
        grid-column: 1 / -1;
        padding-left: 4rem;
    }

    .cms-block-picker__grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Cascade corrections kept last so the refined Experience UI wins over legacy rules. */
.experience-detail__hero,
.experience-player__header {
    border: 1px solid rgba(31, 37, 39, 0.1);
    background: linear-gradient(135deg, #f2f4e9 0%, #ffffff 72%);
    color: var(--color-text);
    box-shadow: 0 12px 34px rgba(31, 37, 39, 0.08);
}

.experience-detail__hero h1,
.experience-detail__hero .eyebrow,
.experience-detail__hero .experience-detail__lede,
.experience-detail__hero .experience-detail__summary,
.experience-detail__hero .experience-detail__cta .text-cta,
.experience-detail__hero .experience-detail__cta small,
.experience-player__header h1,
.experience-player__header .eyebrow,
.experience-player__header .experience-progress {
    color: var(--color-text);
}

.experience-detail__hero .eyebrow,
.experience-player__header .eyebrow,
.experience-player__step-count {
    color: #7d7632;
}

.experience-card h2 a,
.my-experience-card__content h3,
.experience-player__content > h2 {
    color: #273033;
}

.experience-player__header {
    align-items: center;
}

.experience-player__header::before {
    width: 0.55rem;
    align-self: stretch;
    border-radius: 999px;
    background: var(--color-orange);
    content: "";
}

.experience-player__header > div:first-of-type {
    flex: 1;
}

.experience-player__header progress {
    background: rgba(31, 37, 39, 0.12);
}

.experience-detail__cover {
    background: linear-gradient(145deg, #e6e8d2, #f7efea);
}

.experience-detail__cover > span {
    color: #6f6d32;
}

@media (max-width: 900px) {
    .experience-player__layout,
    .cms-editor__workspace {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .experience-player__sidebar {
        display: none;
    }

    .experience-step-picker {
        width: 100%;
        display: block;
        margin-bottom: 2rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        background: var(--color-white);
        box-shadow: var(--shadow-card);
    }

    .experience-step-picker > summary {
        padding: 1.8rem;
        cursor: pointer;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .experience-step-picker .experience-step-list {
        margin: 0;
        padding: 0 1.2rem 1.2rem;
    }

    .cms-steps-panel,
    .cms-canvas,
    .cms-block-palette {
        width: 100%;
        min-width: 0;
        max-width: none;
        position: static;
        grid-column: auto;
    }

    .cms-block-palette {
        max-height: none;
    }
}

@media (max-width: 700px) {
    .page-experience-player .container.site-container,
    .page-experience-editor .container.site-container {
        width: 100%;
        padding-right: 1.4rem;
        padding-left: 1.4rem;
    }

    .experience-player__header {
        gap: 1.8rem;
        padding: 2rem;
    }

    .experience-player__header::before {
        width: 100%;
        height: 0.45rem;
    }

    .experience-player__header h1 {
        font-size: clamp(2.8rem, 9vw, 4rem);
    }

    .experience-player__content {
        width: 100%;
        padding: 2.4rem 1.8rem;
        border-radius: 1.4rem;
    }

    .experience-player__content > h2 {
        font-size: clamp(2.8rem, 9vw, 4.2rem);
    }

    .experience-content-block,
    .experience-rich-text,
    .experience-video,
    .experience-image,
    .experience-download {
        width: 100%;
        max-width: 100%;
        margin: 2.4rem 0;
    }

    .experience-rich-text p,
    .experience-rich-text li {
        font-size: 1.65rem;
        line-height: 1.65;
    }

    .experience-download {
        align-items: stretch;
    }

    .experience-detail__hero {
        border-radius: 0 0 1.8rem 1.8rem;
    }

    .experience-detail__hero h1 {
        font-size: clamp(3.4rem, 12vw, 5rem);
    }

    .cms-editor__workspace {
        gap: 1.4rem;
    }

    .cms-steps-panel,
    .cms-canvas,
    .cms-block-palette {
        padding: 1.6rem;
        border-radius: 1.4rem;
    }

    .cms-step-list > li {
        width: 100%;
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .cms-step-list .cms-mini-status {
        grid-column: 2;
    }

    .cms-step-list a span {
        white-space: normal;
    }

    .cms-block__editor,
    .cms-metadata-form {
        padding: 1.6rem;
    }

    .cms-block-picker__grid {
        grid-template-columns: 1fr;
    }
}

/* Final Experience studio cascade: keep the editor wide, calm and responsive. */
.cms-experience-grid {
    gap: 3.2rem;
}

.cms-experience-card {
    padding: 3.2rem;
}

.cms-editor__topbar {
    align-items: center;
}

.cms-editor__topbar h1 {
    margin: 0.8rem 0 0;
}

.cms-editor__workspace {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.4rem;
}

.cms-canvas {
    padding: clamp(2.4rem, 4vw, 4.5rem);
}

.cms-step-heading {
    align-items: center;
    margin-bottom: 1.6rem;
}

.cms-step-heading h2 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4.4rem);
}

.cms-content-heading {
    align-items: center;
    margin-top: 0;
}

.cms-block-palette .cms-block-picker {
    margin-top: 1.2rem;
    border: 0;
}

.cms-block-palette .cms-block-picker__grid {
    padding: 0;
}

.cms-rich-toolbar {
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem;
    background: #f6f7f3;
}

.cms-rich-toolbar button {
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0.65rem;
    border: 0;
    background: transparent;
}

.cms-rich-toolbar button:hover,
.cms-rich-toolbar button:focus {
    background: var(--color-white);
    box-shadow: 0 0 0 1px var(--color-border);
}

.cms-rich-toolbar button svg {
    width: 1.9rem;
    height: 1.9rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

@media (max-width: 1100px) {
    .cms-editor__workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .cms-block-palette {
        order: -1;
    }

    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cms-step-strip .cms-step-list > li {
        width: 100%;
        flex-basis: 100%;
    }

    .cms-step-strip .cms-step-list a span {
        white-space: normal;
    }

    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .cms-block-palette .cms-block-picker__grid {
        grid-template-columns: 1fr;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.icon-button {
    width: 3.8rem;
    height: 3.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color-sage);
    color: var(--color-text);
}

.icon-button svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-button--danger {
    background: rgba(174, 93, 46, 0.14);
    color: var(--color-rust);
}

.icon-button--warning {
    background: rgba(239, 121, 62, 0.16);
    color: var(--color-orange);
}

.icon-button {
    width: 3.8rem !important;
    height: 3.8rem !important;
    min-width: 3.8rem;
    min-height: 3.8rem;
    padding: 0 !important;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.icon-button svg,
.icon-button__svg {
    width: 1.8rem !important;
    height: 1.8rem !important;
    max-width: 1.8rem !important;
    max-height: 1.8rem !important;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.phone-field {
    display: block;
}

.phone-field__controls {
    margin-bottom: 1.4rem;
}

.phone-field .field-hint {
    display: block;
    margin: 1.4rem 0 0;
    clear: both;
    color: var(--color-muted);
    font-size: 1.25rem;
    line-height: 1.4;
}

.phone-field input,
.phone-field__controls input {
    display: block;
    width: 100%;
}
.input.phone-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.7rem !important;
}

.input.phone-field .phone-field__controls {
    display: block !important;
    margin: 0 !important;
}

.input.phone-field .phone-field__controls input[data-phone-local] {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.input.phone-field .phone-field__hint {
    display: block !important;
    margin: 0 !important;
    color: var(--color-muted);
    font-size: 1.25rem;
    line-height: 1.4;
}

.required-marker {
    color: var(--color-rust);
    font-weight: 800;
}

/* Shared public-site consistency layer. */
body,
button,
input,
select,
textarea {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-nav a {
    font-family: var(--font-heading);
}

.page-intro,
.section-heading {
    display: block;
    align-items: initial;
}

.page-intro > .eyebrow,
.section-heading > .eyebrow {
    font-size: 1.3rem;
}

.page-intro > h1,
.section-heading > h2 {
    max-width: 78rem;
    text-wrap: balance;
}

.page-intro > p:not(.eyebrow) {
    max-width: 72rem;
}

.page-home .container.site-container > .brand-promise {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.contact-request-header {
    max-width: 74rem;
    margin-right: auto;
    margin-left: auto;
}

.contact-request-header h1 {
    text-wrap: balance;
}

.site-footer__logo {
    position: static;
    left: auto;
    justify-self: center;
    margin: 0 auto 2rem;
    transform: none;
}

@media (max-width: 991px) {
    .site-navigation {
        box-sizing: border-box;
        flex-basis: calc(100% + 3.6rem);
    }

    .site-nav,
    .site-nav a {
        width: 100%;
    }

    .site-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .page-intro > h1,
    .section-heading > h2 {
        overflow-wrap: anywhere;
    }
}

/* Final responsive alignment for the public navigation and page headers. */
.page-home .container.site-container > .hero-stage {
    margin-top: 0;
    padding-top: clamp(1.8rem, 4vw, 2.4rem);
}

.experience-catalog__intro {
    display: block;
    text-align: left;
}

.experience-catalog__intro > * {
    margin-right: 0;
    margin-left: 0;
}

.experience-catalog__intro > .eyebrow {
    margin-bottom: 1.2rem;
}

.experience-catalog__intro > h1 {
    margin-bottom: 1.8rem;
}

.experience-catalog__intro > p:not(.eyebrow) {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .site-header .site-navigation {
        width: calc(100% + 3.6rem);
        max-width: none;
        flex: 0 0 calc(100% + 3.6rem);
        align-self: stretch;
        margin-right: -1.8rem;
        margin-left: -1.8rem;
    }

    .site-header .site-navigation .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-items: stretch;
        gap: 0.5rem;
    }

    .site-header .site-navigation .site-nav > a {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-height: 4.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        text-align: center;
    }

    .site-header .site-navigation .site-nav > a.site-nav__cta {
        margin-top: 0.4rem;
    }
}

@media (max-width: 700px) {
    .experience-catalog__intro {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

/* Public forms and administration share the same spacing and card language. */
.contact-request-shell {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.contact-request-header {
    max-width: 78rem;
    margin-right: 0;
    margin-bottom: 3.2rem;
    margin-left: 0;
    text-align: left;
}

.contact-form-card--centered {
    width: min(100%, 84rem);
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.contact-form-grid {
    align-items: start;
    row-gap: 0;
}

.contact-form-grid > .form-grid__item {
    min-width: 0;
    align-self: start;
}

.contact-form-grid .phone-field {
    gap: 0 !important;
}

.contact-form-grid .phone-field__controls {
    padding: 0 !important;
}

.contact-form-grid .phone-field__hint {
    margin-top: 0.8rem !important;
}

.my-experiences__intro {
    display: block;
    text-align: left;
}

.my-experiences__intro > * {
    margin-right: 0;
    margin-left: 0;
}

.admin-page-shell {
    width: 100%;
    max-width: 112rem;
    margin: 0 auto 5.6rem;
}

.admin-page-header {
    align-items: flex-end;
    margin-bottom: 3.2rem;
    padding: clamp(2.8rem, 4vw, 4rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(216, 215, 181, 0.72), rgba(255, 255, 255, 0.9));
    box-shadow: var(--shadow-card);
}

.admin-page-header > div {
    max-width: 72rem;
}

.admin-page-header h1,
.admin-page-header p {
    margin-right: 0;
    margin-left: 0;
}

.admin-page-header h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(3.6rem, 5vw, 5.4rem);
    text-wrap: balance;
}

.admin-page-header p:last-child {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 1.7rem;
}

.admin-page-shell > .page-actions {
    margin-bottom: 2rem;
}

.admin-table-card {
    overflow: hidden;
    padding: 0;
}

.admin-table-card__body {
    width: 100%;
}

.admin-table thead {
    background: rgba(216, 215, 181, 0.35);
}

.admin-table th,
.admin-table td {
    padding: 1.8rem 2rem;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table__primary > a,
.admin-table__primary > strong {
    display: block;
    color: var(--color-text);
    font-weight: 700;
}

.admin-table__primary > span,
.admin-table__contact > span,
.admin-table__contact > a + a {
    display: block;
    margin-top: 0.35rem;
    color: var(--color-muted);
    font-size: 1.35rem;
}

.admin-table__empty {
    padding: 4rem 2rem !important;
    color: var(--color-muted);
    text-align: center !important;
}

.admin-record-card,
.admin-form-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.admin-record-card {
    padding: clamp(2.8rem, 4vw, 4rem);
}

.admin-record-card__header,
.admin-related-section__header,
.admin-danger-zone {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.admin-record-card__header h2,
.admin-related-section__header h2,
.admin-danger-zone h2 {
    margin-bottom: 0;
}

.admin-record-card__intro {
    margin: 0.8rem 0 0;
    color: var(--color-muted);
}

.admin-inline-actions--toolbar {
    margin: 2.4rem 0 3rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin: 0;
}

.admin-detail-item {
    min-width: 0;
    padding: 2rem;
    border-radius: var(--radius-md);
    background: rgba(247, 239, 234, 0.66);
}

.admin-detail-item--wide {
    grid-column: 1 / -1;
}

.admin-detail-item dt {
    margin-bottom: 0.7rem;
    color: var(--color-rust);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-detail-item dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-detail-item__code {
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.35rem;
}

.admin-detail-note p:last-child {
    margin-bottom: 0;
}

.admin-related-section {
    margin-top: 4rem;
}

.admin-related-section__header {
    align-items: flex-end;
    margin-bottom: 1.8rem;
}

.admin-form-card {
    width: min(100%, 84rem);
    padding: clamp(2.8rem, 4vw, 4rem);
}

.page-admin-users .admin-form-card,
.page-admin-users .admin-danger-zone {
    width: 100%;
}

.admin-form-grid {
    align-items: start;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.admin-password-account {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 3rem;
    padding: 1.8rem 2rem;
    border-radius: var(--radius-md);
    background: rgba(247, 239, 234, 0.66);
}

.admin-password-account span {
    color: var(--color-rust);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-password-account strong {
    color: var(--color-text);
    font-size: 1.8rem;
}

.admin-password-account small,
.admin-form-intro {
    color: var(--color-muted);
}

.admin-password-form legend {
    margin-bottom: 0.6rem;
    color: var(--color-text);
    font-size: 2rem;
    font-weight: 800;
}

.admin-form-intro {
    margin: 0 0 2.4rem;
    font-size: 1.4rem;
}

.admin-danger-zone {
    width: min(100%, 84rem);
    align-items: center;
    margin-top: 2.4rem;
    padding: 2rem 2.4rem;
    border: 1px solid rgba(174, 93, 46, 0.22);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.66);
}

.admin-danger-zone p {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
}

@media (max-width: 991px) {
    .admin-page-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .page-home .testimonial-section {
        margin-bottom: 5rem;
    }

    .page-home .container.site-container > .feature-panel {
        width: calc(100% - 3.6rem);
        max-width: calc(100% - 3.6rem);
        margin-right: auto;
        margin-left: auto;
    }

    .page-home .hero-actions .text-cta {
        width: 100%;
        min-height: 4.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .my-experiences__intro {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .admin-page-header,
    .admin-record-card__header,
    .admin-related-section__header,
    .admin-danger-zone {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-header .site-button,
    .admin-danger-zone .text-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-detail-item--wide {
        grid-column: auto;
    }

    .admin-table th,
    .admin-table td {
        padding: 1.4rem 1.6rem;
    }
}

/* Compact, consistent hierarchy and navigation across public and admin pages. */
:root {
    --font-size-page-title: clamp(3.2rem, 3.8vw, 4.6rem);
    --font-size-section-title: clamp(2.5rem, 3vw, 3.6rem);
    --font-size-card-title: clamp(2rem, 2.2vw, 2.7rem);
}

h1 {
    font-size: var(--font-size-page-title);
}

h2 {
    font-size: var(--font-size-section-title);
}

h3 {
    font-size: var(--font-size-card-title);
}

.hero-copy h1,
.page-intro h1,
.login-intro h1,
.service-detail__hero h1,
.product-editor h1,
.experience-catalog__intro > h1,
.experience-detail__hero h1,
.experience-player__header h1,
.my-experiences__intro h1,
.cms-index-header h1,
.cms-editor__topbar h1,
.cms-create-shell h1,
.admin-page-header h1,
.contact-request-header h1 {
    font-size: var(--font-size-page-title);
}

.feature-copy h2,
.section-heading h2,
.experience-more h2,
.experience-inclusions h2,
.experience-player__content > h2,
.cms-step-heading h2 {
    font-size: var(--font-size-section-title);
}

.admin-page-header {
    align-items: flex-end;
    margin-bottom: 2.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.admin-page-header h1 {
    margin-bottom: 0.8rem;
}

.admin-page-header p:last-child {
    font-size: 1.6rem;
}

.admin-page-shell > .page-actions {
    margin-bottom: 1.6rem;
}

.page-back-link {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: none;
}

.page-back-link:hover,
.page-back-link:focus {
    border-color: rgba(146, 89, 70, 0.36);
    background: var(--color-white);
}

/* Step tabs stay single-row; the add action follows the latest step. */
.cms-step-strip .cms-step-list > li {
    min-height: 6.8rem;
    grid-template-rows: auto;
    padding: 0.8rem;
}

.cms-step-strip .cms-step-list .cms-mini-status {
    display: none;
}

.cms-step-strip .cms-step-list > .cms-add-step-item {
    min-width: 14rem;
    min-height: 6.8rem;
    display: flex;
    flex: 0 0 14rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.cms-add-step-trigger {
    width: 100%;
    min-height: 6.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0;
    padding: 1rem 1.4rem;
    border: 1px dashed rgba(146, 89, 70, 0.4);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: none;
    color: var(--color-rust);
    font-size: 1.35rem;
}

.cms-add-step-trigger > span:first-child {
    font-size: 2rem;
    line-height: 1;
}

.cms-add-step-trigger:hover,
.cms-add-step-trigger:focus {
    border-color: var(--color-rust);
    background: var(--color-white);
    color: var(--color-rust);
    filter: none;
    transform: none;
}

.cms-add-step-form {
    margin: 0;
}

.cms-add-step-dialog__icon {
    width: 4.8rem;
    height: 4.8rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.8rem;
    border-radius: 50%;
    background: rgba(157, 154, 69, 0.18);
    color: var(--color-rust);
    font-size: 2.6rem;
    line-height: 1;
}

.cms-add-step-dialog .input {
    margin-top: 2rem;
}

.cms-add-step-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.4rem;
}

.cms-add-step-dialog__actions .site-button {
    min-width: 12rem;
    margin: 0;
}

.cms-add-step-dialog__cancel {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: none;
    color: var(--color-text);
}

.cms-add-step-dialog__cancel:hover,
.cms-add-step-dialog__cancel:focus {
    background: var(--color-cream);
    color: var(--color-text);
    filter: none;
}

/* Previous and next actions use one shape, size and directional treatment. */
.experience-player__actions > div {
    display: flex;
}

.experience-player__nav-button {
    min-width: 17rem;
    gap: 0.9rem;
    border: 1px solid rgba(146, 89, 70, 0.26);
    background: var(--color-white);
    box-shadow: none;
    color: var(--color-rust);
}

.experience-player__nav-button:hover,
.experience-player__nav-button:focus {
    background: var(--color-cream);
    color: var(--color-rust);
    filter: none;
}

.experience-player__nav-button--next {
    border-color: var(--color-orange);
    background: var(--color-orange);
    color: var(--color-white);
}

.experience-player__nav-button--next:hover,
.experience-player__nav-button--next:focus {
    background: #dc6730;
    color: var(--color-white);
}

.site-paginator .pagination .prev a,
.site-paginator .pagination .next a {
    min-width: 11rem;
    gap: 0.6rem;
    font-weight: 700;
}

/* Pagination list items are layout wrappers; only their links draw a button surface. */
.site-paginator .pagination > li {
    min-width: 0;
    min-height: 0;
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-paginator .pagination > li.disabled,
.site-paginator .pagination > li.current,
.site-paginator .pagination > li.active {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-paginator .pagination > li.active > a {
    border-color: rgba(157, 154, 69, 0.34);
    background: rgba(157, 154, 69, 0.18);
    box-shadow: none;
    color: var(--color-rust);
    text-decoration: none;
}

.site-paginator .pagination > li.disabled > a {
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: none;
    color: var(--color-muted);
    cursor: not-allowed;
    opacity: 0.62;
    pointer-events: none;
    text-decoration: none;
}

/* Experience participation uses the same admin table language as users and messages. */
.cms-experience-card__facts {
    align-items: center;
}

.cms-experience-fact {
    min-height: 2.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    line-height: 1;
}

.cms-experience-card__facts .cms-experience-fact > span:first-child {
    color: var(--color-olive);
}

.cms-experience-card__facts .cms-experience-fact > span:last-child {
    color: inherit;
}

.cms-enrolment-link {
    background: rgba(157, 154, 69, 0.13);
    color: var(--color-rust);
    text-decoration: none;
}

.cms-enrolment-link:hover,
.cms-enrolment-link:focus {
    background: rgba(157, 154, 69, 0.24);
    color: var(--color-rust);
}

.admin-enrolments-table-card {
    overflow-x: auto;
}

.experience-enrolments__table {
    min-width: 102rem;
}

.admin-progress {
    min-width: 13rem;
    display: grid;
    gap: 0.55rem;
}

.admin-progress progress {
    width: 100%;
    height: 0.75rem;
    accent-color: var(--color-orange);
}

.admin-progress span,
.admin-table__muted {
    color: var(--color-muted);
    font-size: 1.3rem;
}

.status-chip--completed {
    background: rgba(157, 154, 69, 0.2);
}

.status-chip--cancelled {
    background: rgba(146, 89, 70, 0.14);
    color: var(--color-rust);
}

/* The final homepage card should lead into the footer without a blank band. */
.page-home .container.site-container {
    padding-bottom: 3.2rem;
}

.page-home .container.site-container > .feature-panel {
    margin-bottom: 0;
}

/* Friendly site-level response for signed-in users who reach restricted pages. */
.page-access-denied .site-shell,
.page-not-found .site-shell {
    display: flex;
    align-items: center;
}

.access-denied {
    width: 100%;
    padding: clamp(3rem, 8vw, 7rem) 0;
}

.access-denied__panel {
    width: min(100%, 62rem);
    margin: 0 auto;
    padding: clamp(2.8rem, 6vw, 4.8rem);
    border: 1px solid rgba(146, 89, 70, 0.2);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.access-denied__icon {
    display: grid;
    place-items: center;
    width: 5.2rem;
    height: 5.2rem;
    margin: 0 auto 1.6rem;
    border-radius: 50%;
    background: rgba(146, 89, 70, 0.14);
    color: var(--color-rust);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.access-denied__eyebrow {
    margin-bottom: 0.6rem;
    color: var(--color-rust);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-denied__panel h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(3.2rem, 5vw, 4.6rem);
}

.access-denied__panel > p:not(.access-denied__eyebrow) {
    max-width: 48rem;
    margin-right: auto;
    margin-left: auto;
}

.access-denied__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.6rem;
}

@media (max-width: 700px) {
    .admin-page-header {
        align-items: flex-start;
    }

    .cms-step-strip .cms-step-list > .cms-add-step-item {
        min-width: 14rem;
        flex-basis: 14rem;
    }

    .cms-add-step-dialog__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cms-add-step-dialog__actions .site-button {
        width: 100%;
    }

    .access-denied__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .access-denied__actions .site-button {
        width: 100%;
    }
}

.experience-filters {
    margin-bottom: 3.2rem;
}

.experience-filters__search {
    display: flex;
    align-items: end;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.experience-filters__search .input {
    flex: 1;
    margin-bottom: 0;
}

.experience-filters__search .site-button {
    margin-bottom: 0;
    white-space: nowrap;
}

.experience-filters__formats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.experience-filters__label {
    font-weight: 700;
    margin-right: 0.4rem;
}

.experience-filter:hover,
.experience-filter:focus {
    border-color: var(--color-orange);
    color: var(--color-rust);
}

.experience-filter--active {
    border-color: var(--color-orange);
    background: var(--color-orange);
    color: var(--color-white);
}

@media (max-width: 700px) {
    .experience-filters__search {
        display: block;
    }

    .experience-filters__search .site-button {
        margin-top: 1rem;
    }

    .experience-filters__formats {
        align-items: flex-start;
    }
}

/* Configurable surfaces retain readable text after all component rules resolve. */
.site-nav a.site-nav__cta,
.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta:focus,
.site-button--primary,
.site-button--primary:hover,
.site-button--primary:focus,
.experience-card__badge,
.experience-filter--active,
.experience-player__nav-button--next,
.experience-player__nav-button--next:hover,
.experience-player__nav-button--next:focus {
    color: var(--color-on-accent);
}

.brand-promise,
.site-footer,
.site-footer a,
.site-footer p,
.site-footer span,
.service-detail__more,
.service-detail__more .eyebrow,
.service-detail__more a {
    color: var(--color-on-brand);
}
/* Stripe Checkout return state */
.page-purchase-result .site-container {
    max-width: 76rem;
}

.purchase-result {
    margin: clamp(3rem, 8vw, 7rem) auto;
    padding: clamp(2.4rem, 6vw, 5rem);
    border: 1px solid var(--color-border);
    border-radius: 2rem;
    background: var(--color-white);
    box-shadow: 0 1.8rem 5rem rgb(42 47 43 / 8%);
    text-align: center;
}

.purchase-result h1 {
    max-width: 62rem;
    margin-right: auto;
    margin-left: auto;
}

.purchase-result__icon {
    display: grid;
    width: 5.6rem;
    height: 5.6rem;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 3rem;
    place-items: center;
}

.purchase-result__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2.4rem;
}

.purchase-result__help {
    flex-basis: 100%;
    margin: 0;
}

.purchase-result__spinner {
    width: 4.8rem;
    height: 4.8rem;
    margin: 0 auto 2rem;
    border: 0.4rem solid rgb(69 108 91 / 20%);
    border-top-color: var(--color-terracotta);
    border-radius: 50%;
    animation: purchase-spin 0.9s linear infinite;
}

@keyframes purchase-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .purchase-result__spinner {
        animation: none;
    }
}

/* Keep the account row and close icon aligned at every collapsed navigation width. */
@media (max-width: 1349px) {
    .site-header .site-navigation .site-nav > .site-account-menu {
        width: 100%;
        margin: 0.4rem 0 0;
    }

    .site-header .site-account-menu > summary {
        width: 100%;
        min-height: 4.8rem;
        justify-content: center;
        padding: 0.7rem 1rem;
        border-radius: 1rem;
    }

    .site-header .site-menu-toggle,
    .site-header .site-menu-toggle:hover,
    .site-header .site-menu-toggle:focus,
    .site-header.menu-is-open .site-menu-toggle {
        border-color: var(--color-border);
        background: var(--color-cream);
        filter: none;
        transform: none;
    }

    .site-header .site-menu-toggle span {
        background: var(--color-rust);
    }

    .site-account-menu__panel {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 0.6rem;
        border-radius: 1rem;
        background: rgba(247, 239, 234, 0.48);
        box-shadow: none;
    }

    .site-nav .site-account-menu__panel a {
        width: 100%;
        justify-content: flex-start;
        padding: 0.9rem 1.1rem;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-account-menu__chevron {
        transition: none;
    }
}

.privacy-policy-page {
    max-width: 82rem;
    margin: clamp(3rem, 7vw, 7rem) auto;
    padding: clamp(2.4rem, 5vw, 5rem);
    border: 1px solid var(--color-border);
    border-radius: 1.6rem;
    background: var(--color-white);
}

.privacy-policy-page__header {
    margin-bottom: 3rem;
}

.privacy-policy-page__body {
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.privacy-policy-page__body li {
    margin-bottom: 0.7rem;
}

.privacy-policy-page__body h2,
.privacy-policy-page__body h3 {
    margin-top: 2.8rem;
}

.privacy-policy-editor {
    min-height: 30rem;
}

.privacy-policy-editor:empty::before {
    color: var(--color-muted);
    content: attr(data-placeholder);
}
