/*
 * DermaMedica — design system
 * ---------------------------------------------------------------------------
 * Single stylesheet for the onboarding splash page. Organised as:
 *   1. Tokens          2. Reset & base      3. Layout primitives
 *   4. Components      5. Sections          6. Motion & responsive
 *
 * Extend by adding tokens first, then components. Section styles should not
 * introduce new colours or spacing values — pull them from the tokens block.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
    /* Brand — sampled from the DermaMedica wordmark */
    --navy: #21386b;
    --navy-deep: #152848;
    --navy-ink: #0e1c33;
    --navy-soft: #3a5490;
    --brand-grey: #8a8a8d;
    --sky: #4d8fd9;
    --sky-soft: #eaf3ff;
    --rose-soft: #f2dedb;

    /* Neutrals */
    --ink: #16233f;
    --body: #4c5468;
    --muted: #7c8496;
    --line: #e3e7ee;
    --line-soft: #eef1f6;
    --mist: #f1f4f9;
    --cream: #fbf9f6;
    --white: #ffffff;

    /* Accent — warm counterweight to the navy */
    --sand: #b08d5f;
    --sand-deep: #97744a;
    --sand-soft: #f4ece0;

    /* Typography */
    --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.0625rem;
    --text-xl: clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
    --text-h3: clamp(1.375rem, 0.7vw + 1.2rem, 1.75rem);
    --text-h2: clamp(2.25rem, 2.6vw + 1.5rem, 3.5rem);
    --text-h1: clamp(3rem, 5.2vw + 1.4rem, 5.5rem);

    /* Space */
    --gap-xs: 0.5rem;
    --gap-sm: 0.875rem;
    --gap-md: 1.5rem;
    --gap-lg: 2.5rem;
    --gap-xl: 4rem;
    --section-y: clamp(4.5rem, 8vw, 8.5rem);

    /* Shape */
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --button-radius: var(--radius-sm);
    --button-height: 2.75rem;

    --shadow-sm: 0 1px 2px rgba(21, 40, 72, 0.05), 0 4px 12px rgba(21, 40, 72, 0.04);
    --shadow-md: 0 2px 6px rgba(21, 40, 72, 0.06), 0 18px 40px rgba(21, 40, 72, 0.08);
    --shadow-lg: 0 30px 70px rgba(21, 40, 72, 0.14);

    --container: 1220px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    font-size: var(--text-lg);
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.015em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--navy-deep);
    color: var(--white);
    font-size: var(--text-sm);
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

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

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.shell {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
    padding-block: var(--section-y);
}

.section--cream {
    background: var(--cream);
}

/* Flash and toast messages ------------------------------------------------ */

.site-flash {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 420;
    display: grid;
    gap: 0.75rem;
    width: min(28rem, calc(100vw - 2rem));
    pointer-events: none;
}

.site-flash:empty {
    display: none;
}

.message {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: start;
    width: 100%;
    padding: 1rem 1.05rem 1.1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    transform-origin: top right;
    animation: toastIn 0.28s var(--ease) both;
}

.message.hidden {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.98);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.message__content {
    min-width: 0;
    font-size: var(--text-sm);
    font-weight: 650;
    line-height: 1.45;
}

.message__close {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    margin: -0.1rem -0.15rem 0 0;
    border: 1px solid currentColor;
    border-radius: var(--radius-sm);
    background: transparent;
    color: currentColor;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.55;
    cursor: pointer;
}

.message__close:hover,
.message__close:focus-visible {
    opacity: 1;
}

.message__timer,
.contact-success-modal__timer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: currentColor;
    opacity: 0.38;
    transform-origin: left center;
    animation: toastTimer linear forwards;
}

.message.success {
    border-color: #b9dcc8;
    background: #e7f2ec;
    color: #1f6b45;
}

.message.error {
    border-color: #f0c9c6;
    background: #fbeceb;
    color: #a3342b;
}

.message.warning {
    border-color: #e3d0b6;
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.message.info {
    border-color: var(--line);
    background: var(--mist);
    color: var(--navy);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-0.5rem) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastTimer {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

.section--mist {
    background: var(--mist);
}

.section--dark {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.72);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

/* Section heading block */
.section-head {
    max-width: 46rem;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--gap-md);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.section--dark .eyebrow {
    color: var(--sand);
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1.08;
}

.section-head .lede {
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--muted);
}

.section--dark .section-head .lede {
    color: rgba(255, 255, 255, 0.62);
}

em.accent {
    font-style: italic;
    color: var(--navy);
}

.section--dark em.accent {
    color: #a9bde0;
}

/* ==========================================================================
   4. Components
   ========================================================================== */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: var(--button-height);
    padding: 0.65rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--button-radius);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover:where(:not(:disabled):not([aria-disabled="true"])) {
    transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(33, 56, 107, 0.22);
}

.btn--primary:hover:where(:not(:disabled):not([aria-disabled="true"])) {
    background: var(--navy-deep);
    box-shadow: 0 12px 28px rgba(33, 56, 107, 0.28);
}

.btn--ghost {
    border-color: var(--navy);
    background: var(--white);
    color: var(--navy);
}

.btn--ghost:hover:where(:not(:disabled):not([aria-disabled="true"])) {
    border-color: var(--navy);
    background: var(--sky-soft);
    color: var(--navy);
}

.btn--light {
    background: var(--white);
    color: var(--navy-deep);
}

.btn--outline-light {
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.btn--outline-light:hover:where(:not(:disabled):not([aria-disabled="true"])) {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn__arrow {
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* --- Announcement bar --- */
.announce {
    background: linear-gradient(90deg, rgba(176, 141, 95, 0.18), transparent 28%, rgba(77, 143, 217, 0.16) 74%, transparent),
    var(--navy-ink);
    color: rgba(255, 255, 255, 0.84);
    font-size: var(--text-xs);
    letter-spacing: 0;
}

.announce__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 42px;
    text-align: left;
}

.announce__status,
.announce__actions,
.announce__link {
    display: inline-flex;
    align-items: center;
}

.announce__status {
    flex: 0 1 auto;
    gap: 0.45rem;
    min-width: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.35;
}

.announce__status svg {
    flex: 0 0 auto;
    color: var(--sand);
}

.announce__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.95rem;
}

.announce__link {
    gap: 0.35rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1;
    opacity: 0.92;
    text-decoration: none;
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
    white-space: nowrap;
}

.announce__link svg {
    flex: 0 0 auto;
    color: var(--sand);
}

.announce__link:hover {
    color: var(--white);
    opacity: 1;
}

.announce__link--booking {
    color: #fff4df;
}

/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    isolation: isolate;
    background: rgba(252, 253, 255, 0.88);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
    border-bottom: 1px solid rgba(227, 231, 238, 0.68);
    box-shadow: 0 10px 32px rgba(21, 40, 72, 0.045);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(176, 141, 95, 0.12), transparent 29%),
    linear-gradient(260deg, rgba(77, 143, 217, 0.13), transparent 34%);
    opacity: 0.8;
    pointer-events: none;
}

.header.is-stuck {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(210, 218, 232, 0.8);
    box-shadow: 0 14px 38px rgba(21, 40, 72, 0.09);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.9rem, 2vw, 1.75rem);
    min-height: 78px;
    max-width: 1520px;
}

@media (min-width: 1181px) and (max-width: 1400px) {
    .header__inner {
        gap: 0.65rem;
        padding-inline: 1.25rem;
    }

    .header__logo img {
        width: 156px;
    }

    .header .nav__link {
        padding-inline: 0.55rem;
    }

    .header .header__actions {
        gap: 0.4rem;
    }

    .header__cart span,
    .header__login--staff span {
        display: none;
    }
}

.header__logo {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0.55rem 0.9rem 0.55rem 0;
}

.header__logo::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 2.4rem;
    background: linear-gradient(180deg, transparent, rgba(33, 56, 107, 0.2), transparent);
    transform: translateY(-50%);
}

.header__logo img {
    width: clamp(156px, 14vw, 196px);
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0.12rem;
    margin-inline: auto;
    padding: 0.38rem;
    border: 1px solid rgba(227, 231, 238, 0.78);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 28px rgba(21, 40, 72, 0.045);
}

.nav__item {
    position: relative;
    display: flex;
    align-items: center;
    align-self: center;
}

.nav__item-main {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: var(--radius-pill);
    transition: background-color 0.2s var(--ease);
}

.nav__item--has-menu:hover .nav__item-main,
.nav__item--has-menu:focus-within .nav__item-main,
.nav__item.is-open .nav__item-main {
    background: rgba(33, 56, 107, 0.06);
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: 0 0.82rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: var(--ink);
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.38rem;
    height: 2px;
    background: linear-gradient(90deg, var(--sand), var(--sky));
    border-radius: var(--radius-pill);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s var(--ease);
}

.nav__link:hover,
.nav__item.is-open .nav__link,
.nav__item--has-menu:focus-within .nav__link {
    color: var(--navy);
    background: rgba(33, 56, 107, 0.06);
}

.nav__link:hover::after,
.nav__item.is-open .nav__link::after,
.nav__item--has-menu:focus-within .nav__link::after {
    transform: scaleX(1);
}

.nav__link[aria-current="page"],
.nav__link[aria-current="page"]:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    box-shadow: 0 8px 22px rgba(33, 56, 107, 0.18);
}

.nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav__menu-toggle {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__menu-toggle:hover,
.nav__menu-toggle:focus-visible,
.nav__item.is-open .nav__menu-toggle {
    background: rgba(77, 143, 217, 0.12);
    color: var(--navy);
}

.nav__menu-toggle svg {
    transition: transform 0.25s var(--ease);
}

.nav__item.is-open .nav__menu-toggle svg,
.nav__item--has-menu:hover .nav__menu-toggle svg,
.nav__item--has-menu:focus-within .nav__menu-toggle svg {
    transform: rotate(180deg);
}

@media (min-width: 1025px) {
    .nav__item--treatments .nav__menu-toggle {
        display: none;
    }
}

.nav__submenu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: 120;
    min-width: 18rem;
    padding: 0.7rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 249, 246, 0.96)),
    var(--white);
    border: 1px solid rgba(227, 231, 238, 0.86);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 54px rgba(21, 40, 72, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s var(--ease);
}

.nav__submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.85rem;
    height: 0.85rem;
}

.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu,
.nav__item.is-open .nav__submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.nav__submenu-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    line-height: 1.35;
    color: var(--body);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__submenu-link::after {
    content: ">";
    margin-left: auto;
    color: var(--sky);
    font-size: 0.8em;
    font-weight: 800;
    opacity: 0;
    transform: translateX(-0.25rem);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__submenu-link::before {
    content: "";
    flex: 0 0 auto;
    width: 0.38rem;
    height: 0.38rem;
    background: var(--sky);
    border-radius: 50%;
    opacity: 0.55;
    transform: scale(0.72);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__submenu-link:hover,
.nav__submenu-link:focus-visible {
    background: rgba(33, 56, 107, 0.06);
    color: var(--navy);
}

.nav__submenu-link:hover::before,
.nav__submenu-link:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.nav__submenu-link:hover::after,
.nav__submenu-link:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.nav__submenu--treatments .nav__submenu-link::after {
    content: none;
    display: none;
}

.nav__submenu--treatments {
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(42rem, calc(100vw - 2rem));
    transform: translate(-50%, 8px);
}

.nav__item--has-menu:hover .nav__submenu--treatments,
.nav__item--has-menu:focus-within .nav__submenu--treatments,
.nav__item.is-open .nav__submenu--treatments {
    transform: translate(-50%, 0);
}

.header__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.72rem;
}

/*
 * Login entry inside the mobile disclosure panel. Hidden on desktop, where
 * .header__login in .header__actions serves the same purpose - so the link is
 * present at every width but never rendered twice.
 */
.nav__item--auth {
    display: none;
}

.header__login {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.55rem;
    padding: 0 0.78rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.header__login:hover,
.header__login:focus-visible {
    background: rgba(77, 143, 217, 0.1);
    border-color: rgba(77, 143, 217, 0.2);
    color: var(--navy);
    transform: translateY(-1px);
}

.header__login svg,
.header__actions .btn svg {
    flex: 0 0 auto;
}

.header__actions .btn--primary {
    position: relative;
    overflow: hidden;
    min-height: 3rem;
    padding-inline: 1.08rem 1.28rem;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, var(--navy-soft));
    border-color: var(--navy);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 12px 28px rgba(21, 40, 72, 0.24);
    white-space: nowrap;
}

.header__actions .btn--primary::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -35%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(18deg);
    transition: left 0.45s var(--ease);
    pointer-events: none;
}

.header__actions .btn--primary:hover {
    background: linear-gradient(135deg, var(--navy-ink), var(--navy-deep) 58%, var(--navy));
    border-color: var(--navy-deep);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 15px 32px rgba(21, 40, 72, 0.3);
}

.header__actions .btn--primary:hover::after,
.header__actions .btn--primary:focus-visible::after {
    left: 105%;
}

.header__actions .btn--primary svg,
.header__actions .btn--primary span {
    position: relative;
    z-index: 1;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(210, 218, 232, 0.86);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(21, 40, 72, 0.08);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: var(--white);
    border-color: rgba(33, 56, 107, 0.22);
    transform: translateY(-1px);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    margin-inline: auto;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
}

.nav-toggle span::before {
    transform: translateY(-5px);
}

.nav-toggle span::after {
    transform: translateY(3.5px);
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    transform: rotate(-45deg) translateY(1px);
}

/* --- Cards --- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--gap-xs);
    border-radius: var(--radius-pill);
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.card h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1.2;
}

.card p {
    font-size: var(--text-base);
    color: var(--muted);
}

.card__link {
    margin-top: auto;
    padding-top: var(--gap-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--muted);
    transition: color 0.3s var(--ease);
}

.card:hover .card__link,
.card:focus-within .card__link {
    color: var(--navy);
}

.treatment-card {
    overflow: hidden;
    color: inherit;
}

.treatment-card::after {
    content: "";
    position: absolute;
    right: -3.5rem;
    bottom: -3.5rem;
    width: 9rem;
    height: 9rem;
    background: radial-gradient(circle, rgba(77, 143, 217, 0.16), transparent 67%);
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.treatment-card:hover::after,
.treatment-card:focus-visible::after {
    opacity: 0.9;
    transform: scale(1.2);
}

.treatment-card__eyebrow {
    margin-bottom: calc(var(--gap-xs) * -0.5);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

.treatment-card__chips,
.treatment-category-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: 0.15rem;
}

.treatment-card__chips span,
.treatment-category-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.28rem 0.62rem;
    background: rgba(77, 143, 217, 0.08);
    border: 1px solid rgba(77, 143, 217, 0.16);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
}

/* ==========================================================================
   5. Sections
   ========================================================================== */

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(1.15rem, 2vw, 1.8rem) clamp(2rem, 4vw, 3rem);
    background: var(--cream);
}

.hero__shell {
    max-width: none;
    padding-inline: clamp(1.1rem, 2vw, 1.85rem);
}

.hero__stage {
    position: relative;
    display: grid;
    min-height: min(630px, calc(100svh - 8rem));
    overflow: hidden;
    isolation: isolate;
    background: var(--navy-deep);
    border-radius: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
}

.hero__picture,
.hero__image {
    position: absolute;
    inset: 0;
    display: block;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    transform: scale(1.01);
}

.hero__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 11, 7, 0.54) 0%, rgba(40, 22, 15, 0.24) 42%, rgba(60, 34, 22, 0.22) 100%),
    radial-gradient(circle at 50% 28%, rgba(0, 0, 0, 0.28), transparent 44%),
    linear-gradient(90deg, rgba(31, 13, 8, 0.42), transparent 28%, rgba(31, 13, 8, 0.24));
    pointer-events: none;
}

.hero__copy {
    position: relative;
    z-index: 2;
    align-self: start;
    justify-self: center;
    width: min(68rem, calc(100% - 2rem));
    padding-top: clamp(2.15rem, 4.2vw, 3.25rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4.1rem, 5.4vw, 6.45rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
    color: var(--white);
}

.hero__mobile-break {
    display: none;
}

.hero__lede {
    max-width: 38rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.45;
}

.hero-treatment-orbit {
    position: absolute;
    left: 50%;
    bottom: -0.1rem;
    z-index: 3;
    width: min(58rem, 82%);
    height: 17.2rem;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-treatment-orbit__track {
    position: absolute;
    inset: 0;
    transform-origin: 50% 100%;
    animation: hero-treatment-fan 9.5s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-treatment-orbit__track:has(li:hover),
.hero-treatment-orbit__track:focus-within,
.hero-treatment-orbit__track.is-paused {
    animation-play-state: paused;
}

.hero-treatment-orbit__track li {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translate3d(var(--chip-x), var(--chip-y), 0);
    transform-origin: center;
    animation: hero-treatment-chip-in 0.7s var(--ease) both;
    animation-delay: var(--chip-delay);
    pointer-events: auto;
    will-change: transform;
}

.hero-treatment-orbit__track li::before,
.hero-treatment-orbit__track li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: var(--radius-pill);
    pointer-events: auto;
}

.hero-treatment-orbit__track li::before {
    width: 9.6rem;
    height: 3.8rem;
    transform: translate(-50%, -50%) rotate(var(--chip-rotate));
}

.hero-treatment-orbit__track li::after {
    width: 10.8rem;
    height: 4.1rem;
    transform: translate(-50%, -50%);
}

.hero-treatment-orbit__track li:hover,
.hero-treatment-orbit__track li:focus-within {
    z-index: 4;
}

.hero-treatment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.9rem;
    max-width: 10rem;
    height: 3rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.13)),
    rgba(33, 56, 107, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 38px rgba(36, 18, 10, 0.2);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.12;
    position: relative;
    z-index: 1;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(var(--chip-rotate));
    transform-origin: center;
    transition: background 0.24s var(--ease),
    border-color 0.24s var(--ease), box-shadow 0.24s var(--ease),
    color 0.24s var(--ease), transform 0.24s var(--ease);
    backdrop-filter: blur(14px) saturate(155%);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    backface-visibility: hidden;
    will-change: transform;
}

.hero-treatment-chip::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 0.28rem rgba(255, 255, 255, 0.11);
    margin-right: 0.52rem;
    transition: background-color 0.24s var(--ease), box-shadow 0.24s var(--ease),
    transform 0.24s var(--ease);
}

:where(.hero-treatment-orbit__track li:hover, .hero-treatment-orbit__track li:focus-within) .hero-treatment-chip {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(234, 243, 255, 0.82)),
    var(--white);
    border-color: rgba(255, 255, 255, 0.68);
    color: var(--navy);
    box-shadow: 0 24px 56px rgba(36, 18, 10, 0.32);
    outline: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(1.06);
}

:where(.hero-treatment-orbit__track li:hover, .hero-treatment-orbit__track li:focus-within) .hero-treatment-chip::before {
    background: var(--sky);
    box-shadow: 0 0 0 0.34rem rgba(77, 143, 217, 0.14);
    transform: scale(1.1);
}

.hero-treatment-orbit__hub {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    width: min(12.5rem, 42vw);
    height: 6.25rem;
    padding: 0 1rem 0.45rem;
    background: var(--cream);
    border-radius: 8rem 8rem 0 0;
    color: #6f442f;
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: auto;
    box-shadow: 0 -10px 28px rgba(255, 255, 255, 0.16);
    transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}

.hero-treatment-orbit__hub:hover,
.hero-treatment-orbit__hub:focus-visible {
    color: var(--navy);
    transform: translateX(-50%) translateY(-2px);
}

.hero-treatment-orbit__hub-icon {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--sand-deep);
}

.hero-treatment-orbit__hub-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.hero__mini-cta {
    position: absolute;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(0.8rem, 1.8vw, 1.35rem);
    z-index: 4;
    min-height: 2.6rem;
    padding-inline: 1rem;
    box-shadow: 0 12px 28px rgba(36, 18, 10, 0.2);
}

.hero__mini-cta:hover,
.hero__mini-cta:focus-visible {
    background: var(--white);
}

@keyframes hero-treatment-fan {
    from {
        transform: rotate(-1.2deg);
    }

    to {
        transform: rotate(1.2deg);
    }
}

@keyframes hero-treatment-chip-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Trust strip --- */
.trust {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.trust__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust__list li {
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
    text-align: center;
    border-left: 1px solid var(--line-soft);
}

.trust__list li:first-child {
    border-left: 0;
}

.trust__list strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.2vw + 1rem, 1.6rem);
    font-weight: 500;
    color: var(--ink);
}

.trust__list span {
    display: block;
    margin-top: 0.35rem;
    font-size: var(--text-sm);
    color: var(--muted);
}

/* --- Treatments grid --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap-lg);
    max-width: none;
}

.section-head--split > div {
    max-width: 40rem;
}

.section-head--split > .btn {
    flex: 0 0 auto;
}

.treatment-directory__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

/* --- Treatment catalogue pages --- */
.treatment-page {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 42%, #f6f9ff 100%);
}

.treatment-directory-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 6.75rem) clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.9) 0%, rgba(251, 249, 246, 0.96) 42%, rgba(234, 243, 255, 0.78) 100%),
    var(--cream);
    color: var(--body);
}

.treatment-directory-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 56, 107, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(33, 56, 107, 0.045) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
    pointer-events: none;
}

.treatment-directory-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.7fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.treatment-directory-hero__copy {
    max-width: 48rem;
}

.treatment-directory-hero h1 {
    max-width: 46rem;
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(3.15rem, 5.8vw, 6.2rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--ink);
}

.treatment-directory-hero__copy > p:not(.eyebrow) {
    max-width: 38rem;
    margin-top: 1.15rem;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--body);
}

.treatment-directory-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-top: 1.75rem;
}

.treatment-directory-hero .btn--outline-light {
    border-color: rgba(33, 56, 107, 0.18);
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink);
}

.treatment-directory-hero .btn--outline-light:hover {
    border-color: var(--navy);
    background: var(--white);
    color: var(--navy);
}

.treatment-directory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 38rem;
    margin: clamp(1.75rem, 3vw, 2.4rem) 0 0;
}

.treatment-directory-stats div {
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(33, 56, 107, 0.06);
}

.treatment-directory-stats dt {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    font-weight: 600;
    line-height: 1;
}

.treatment-directory-stats dd {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
}

.treatment-directory-hero__panel {
    position: relative;
    overflow: hidden;
    min-height: clamp(28rem, 48vw, 39rem);
    padding: clamp(1rem, 2vw, 1.4rem);
    display: flex;
    align-items: flex-end;
    background: var(--navy-ink);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 36px 80px rgba(33, 56, 107, 0.18);
}

.treatment-directory-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.treatment-directory-hero__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 25, 47, 0.05), rgba(13, 25, 47, 0.72)),
    linear-gradient(90deg, rgba(13, 25, 47, 0.35), transparent 62%);
}

.treatment-directory-hero__glass,
.treatment-directory-hero__thumbs {
    position: relative;
    z-index: 1;
}

.treatment-directory-hero__glass {
    width: min(100%, 28rem);
    padding: clamp(1rem, 2vw, 1.35rem);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.treatment-directory-hero__glass span,
.treatment-note span,
.subcategory-card__top span,
.related-treatments a span {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.treatment-directory-hero__glass span {
    color: var(--sky);
}

.treatment-directory-hero__glass strong {
    display: block;
    margin-top: 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--white);
}

.treatment-directory-hero__glass p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

.treatment-directory-hero__thumbs {
    position: absolute;
    top: clamp(1rem, 2vw, 1.4rem);
    right: clamp(1rem, 2vw, 1.4rem);
    display: grid;
    gap: 0.65rem;
}

.treatment-directory-hero__thumbs span {
    display: block;
    width: clamp(4.2rem, 8vw, 5.6rem);
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.treatment-directory-hero__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-pathway-strip {
    position: relative;
    z-index: 2;
    margin-top: -1.2rem;
}

.treatment-pathway-strip__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 0.8rem;
    padding-inline: clamp(1rem, 3vw, 1.4rem);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 48px rgba(33, 56, 107, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.treatment-pathway-strip__inner > span {
    flex: 0 0 auto;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.treatment-pathway-strip__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.treatment-pathway-strip__links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.42rem 0.78rem;
    background: var(--mist);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.15;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.treatment-pathway-strip__links a:hover,
.treatment-pathway-strip__links a:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-1px);
}

.treatment-featured {
    background: var(--white);
}

.treatment-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.92fr 0.92fr;
    gap: var(--gap-md);
    margin-top: clamp(2rem, 3.5vw, 3.25rem);
}

.treatment-feature-card {
    position: relative;
    display: flex;
    min-height: clamp(24rem, 33vw, 31rem);
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.35rem);
    align-items: flex-end;
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.treatment-feature-card:first-child {
    min-height: clamp(27rem, 38vw, 34rem);
}

.treatment-feature-card:hover,
.treatment-feature-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.treatment-feature-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.treatment-feature-card:hover img,
.treatment-feature-card:focus-visible img {
    transform: scale(1.045);
}

.treatment-feature-card__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 28, 51, 0.08), rgba(14, 28, 51, 0.78)),
    linear-gradient(90deg, rgba(14, 28, 51, 0.42), transparent 72%);
}

.treatment-feature-card__icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: grid;
    place-items: center;
    width: 3.05rem;
    height: 3.05rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-pill);
    color: var(--sand-deep);
}

.treatment-feature-card__content {
    display: grid;
    gap: 0.45rem;
    width: min(100%, 28rem);
}

.treatment-feature-card__content > span {
    color: var(--sky);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.treatment-feature-card__content strong {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 2.8vw, 2.75rem);
    font-weight: 500;
    line-height: 1.03;
}

.treatment-feature-card__content small {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-sm);
    line-height: 1.35;
}

.treatment-feature-card__chips {
    position: absolute;
    right: 1rem;
    top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    max-width: min(58%, 14rem);
}

.treatment-feature-card__chips span {
    padding: 0.34rem 0.65rem;
    background: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.treatment-directory {
    background: linear-gradient(180deg, #f8fbff, var(--white) 70%);
}

.treatment-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.4rem);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.treatment-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    padding: 0;
    background: var(--white);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-md);
    color: inherit;
    box-shadow: 0 12px 34px rgba(33, 56, 107, 0.07);
    isolation: isolate;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.treatment-category-card:hover,
.treatment-category-card:focus-visible {
    border-color: rgba(77, 143, 217, 0.36);
    box-shadow: 0 24px 54px rgba(33, 56, 107, 0.13);
    transform: translateY(-5px);
}

.treatment-category-card__media {
    display: block;
    position: relative;
    aspect-ratio: 5 / 3.6;
    overflow: hidden;
    background: var(--sand-soft);
}

.treatment-category-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 28, 51, 0.02), rgba(14, 28, 51, 0.36)),
    linear-gradient(90deg, rgba(14, 28, 51, 0.32), transparent 68%);
}

.treatment-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.treatment-category-card:hover .treatment-category-card__media img,
.treatment-category-card:focus-visible .treatment-category-card__media img {
    transform: scale(1.055);
}

.treatment-category-card__icon,
.category-hero__icon {
    display: grid;
    place-items: center;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: var(--radius-pill);
}

.treatment-category-card__icon {
    flex: 0 0 auto;
    background: var(--sky-soft);
    color: var(--sand-deep);
}

.treatment-category-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(1.15rem, 2vw, 1.45rem);
}

.treatment-category-card__topline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.treatment-category-card__meta {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

.treatment-category-card h3 {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 1.8vw, 2rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--ink);
}

.treatment-category-card p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: var(--text-base);
}

.treatment-category-card__chips {
    margin-top: auto;
    padding-top: 1.15rem;
}

.treatment-category-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 clamp(1.15rem, 2vw, 1.45rem) clamp(1.15rem, 2vw, 1.45rem);
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
    color: var(--navy);
    font-size: var(--text-sm);
    font-weight: 800;
}

.treatment-category-card__count {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    padding: 0.38rem 0.72rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.treatment-category-card__arrow svg {
    transition: transform 0.2s var(--ease);
}

.treatment-category-card:hover .treatment-category-card__arrow svg,
.treatment-category-card:focus-visible .treatment-category-card__arrow svg {
    transform: translateX(4px);
}

.category-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 7vw, 7rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(180deg, var(--navy-deep), var(--navy-ink));
    color: rgba(255, 255, 255, 0.76);
}

.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent);
    pointer-events: none;
}

.category-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.42fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.category-hero__copy {
    max-width: 48rem;
}

.category-hero h1 {
    max-width: 46rem;
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(3.35rem, 6vw, 6.4rem);
    font-weight: 400;
    line-height: 0.94;
    color: var(--white);
}

.category-hero__lede {
    max-width: 38rem;
    margin-top: 1.15rem;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
}

.category-hero__summary {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.breadcrumb-link {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    font-weight: 800;
}

.breadcrumb-link::before {
    content: "<";
    margin-right: 0.4rem;
}

.category-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-top: 1.65rem;
}

.category-hero__summary {
    align-self: stretch;
    display: grid;
    align-content: end;
    min-height: 25rem;
}

.category-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.category-hero__summary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 22, 43, 0.08), rgba(12, 22, 43, 0.72));
}

.category-hero__icon,
.category-hero__summary p,
.category-hero__summary ul {
    position: relative;
    z-index: 1;
}

.category-hero__icon {
    background: rgba(255, 255, 255, 0.9);
    color: var(--sand-deep);
}

.category-hero__summary p {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.1vw, 2.05rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
}

.category-hero__summary ul {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.category-hero__summary li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.72rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.category-hero__summary li span {
    color: rgba(255, 255, 255, 0.62);
    font-size: var(--text-sm);
}

.category-hero__summary li strong {
    color: var(--white);
    font-size: var(--text-sm);
}

.category-hero {
    padding-block: clamp(3.8rem, 7vw, 7rem) clamp(3.4rem, 6vw, 5.75rem);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(251, 249, 246, 0.92) 45%, rgba(234, 243, 255, 0.78)),
    var(--cream);
    color: var(--body);
}

.category-hero::before {
    background: linear-gradient(90deg, rgba(33, 56, 107, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(33, 56, 107, 0.045) 1px, transparent 1px);
    background-size: 78px 78px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
}

.category-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.72fr);
    align-items: center;
}

.breadcrumb-link {
    align-items: center;
    min-height: 2.2rem;
    padding: 0.42rem 0.72rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-pill);
    color: var(--navy);
    box-shadow: 0 10px 26px rgba(33, 56, 107, 0.06);
}

.breadcrumb-link::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.5rem;
    border-bottom: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.category-hero h1 {
    font-size: clamp(3.25rem, 6.2vw, 6.6rem);
    line-height: 0.95;
    color: var(--ink);
}

.category-hero__lede {
    color: var(--body);
}

.category-hero .btn--ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(33, 56, 107, 0.16);
    color: var(--ink);
}

.category-hero .btn--ghost:hover {
    background: var(--white);
    border-color: var(--navy);
    color: var(--navy);
}

.category-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    max-width: 42rem;
    margin-top: 1.4rem;
}

.category-hero__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.38rem 0.72rem;
    background: var(--white);
    border: 1px solid rgba(77, 143, 217, 0.2);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 8px 20px rgba(33, 56, 107, 0.055);
}

.category-hero__media {
    position: relative;
    min-height: clamp(30rem, 48vw, 40rem);
    overflow: hidden;
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-md);
    background: var(--navy-ink);
    box-shadow: 0 34px 78px rgba(33, 56, 107, 0.18);
    isolation: isolate;
}

.category-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 28, 51, 0.04), rgba(14, 28, 51, 0.72)),
    linear-gradient(90deg, rgba(14, 28, 51, 0.36), transparent 68%);
}

.category-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero__badge {
    position: absolute;
    right: clamp(1rem, 2vw, 1.35rem);
    bottom: clamp(1rem, 2vw, 1.35rem);
    left: clamp(1rem, 2vw, 1.35rem);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.category-hero__badge .category-hero__icon {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.92);
}

.category-hero__badge div {
    display: grid;
    gap: 0.35rem;
}

.category-hero__badge div > span {
    color: var(--sky);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-hero__badge strong {
    color: var(--white);
    font-size: var(--text-sm);
    line-height: 1.35;
}

.category-quicklook {
    position: relative;
    z-index: 2;
    margin-top: -1.4rem;
}

.category-quicklook__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.category-quicklook__card {
    appearance: none;
    display: block;
    width: 100%;
    min-height: 7.1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(33, 56, 107, 0.09);
    font: inherit;
    letter-spacing: 0;
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.category-quicklook__card--link {
    border-color: rgba(77, 143, 217, 0.34);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.category-quicklook__card--link:hover,
.category-quicklook__card--link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(77, 143, 217, 0.72);
    box-shadow: 0 20px 46px rgba(33, 56, 107, 0.13);
}

.category-quicklook__card span {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.category-quicklook__card strong {
    display: block;
    margin-top: 0.55rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.7vw, 1.85rem);
    font-weight: 500;
    line-height: 1.08;
}

.category-quicklook__card small {
    display: block;
    margin-top: 0.75rem;
    color: var(--sky);
    font-size: var(--text-xs);
    font-weight: 700;
}

.treatment-catalogue-modal {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    overscroll-behavior: contain;
}

.treatment-catalogue-modal[hidden] {
    display: none;
}

.treatment-catalogue-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(14, 28, 51, 0.58);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.treatment-catalogue-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(100%, 62rem);
    max-height: min(86vh, 54rem);
    overflow: hidden;
    border: 1px solid rgba(77, 143, 217, 0.24);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(234, 243, 255, 0.92), rgba(255, 255, 255, 0.98) 38%),
    var(--white);
    box-shadow: 0 30px 90px rgba(14, 28, 51, 0.3);
}

.treatment-catalogue-modal__panel:focus {
    outline: 0;
}

.treatment-catalogue-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid rgba(77, 143, 217, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
    color: var(--navy);
    cursor: pointer;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.treatment-catalogue-modal__close:hover,
.treatment-catalogue-modal__close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(33, 56, 107, 0.24);
    background: var(--white);
    outline: 0;
}

.treatment-catalogue-modal__head {
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.1rem) 1rem;
    padding-right: 4.5rem;
    border-bottom: 1px solid rgba(33, 56, 107, 0.08);
}

.treatment-catalogue-modal__head h2 {
    max-width: 34rem;
    margin-top: 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 2vw, 3rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
}

.treatment-catalogue-modal__head p:not(.eyebrow) {
    max-width: 38rem;
    margin-top: 0.75rem;
    color: var(--body);
    line-height: 1.6;
}

.treatment-catalogue-modal__body {
    display: grid;
    gap: 1.4rem;
    min-height: 0;
    padding: clamp(1rem, 2.5vw, 1.7rem) clamp(1.2rem, 3vw, 2.1rem);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.treatment-catalogue-modal__section h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1vw, 1.7rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
}

.treatment-catalogue-table {
    overflow: hidden;
    border: 1px solid rgba(77, 143, 217, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.74);
}

.treatment-catalogue-table__head,
.treatment-catalogue-table__row {
    display: grid;
    grid-template-columns: minmax(12rem, 1.5fr) minmax(8rem, 0.72fr) minmax(10rem, 0.82fr);
    gap: 1rem;
    align-items: start;
}

.treatment-catalogue-table__head {
    padding: 0.75rem 1rem;
    background: rgba(234, 243, 255, 0.78);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.treatment-catalogue-table__row {
    padding: 0.9rem 1rem;
    color: var(--body);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.treatment-catalogue-table__row + .treatment-catalogue-table__row {
    border-top: 1px solid rgba(33, 56, 107, 0.08);
}

.treatment-catalogue-table__row strong {
    color: var(--ink);
    font-weight: 800;
}

.treatment-catalogue-table__row a {
    display: block;
    width: fit-content;
    margin-top: 0.3rem;
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.treatment-catalogue-table__row small {
    display: block;
    color: var(--body);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.treatment-catalogue-table__row small + small {
    margin-top: 0.45rem;
}

.treatment-catalogue-table__row b {
    display: block;
    color: var(--sand-deep);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.treatment-catalogue-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: 1rem clamp(1.2rem, 3vw, 2.1rem);
    border-top: 1px solid rgba(33, 56, 107, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.treatment-detail__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.32fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.treatment-subcategory-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.8rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.treatment-subcategory-tab {
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: start;
    gap: 0.55rem 0.85rem;
    min-height: 8.75rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(234, 243, 255, 0.72), rgba(255, 255, 255, 0.96) 62%),
    var(--white);
    border: 1px solid rgba(77, 143, 217, 0.3);
    border-radius: var(--radius-sm);
    color: var(--body);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(33, 56, 107, 0.055);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.treatment-subcategory-tab:hover,
.treatment-subcategory-tab:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(77, 143, 217, 0.5);
    background: linear-gradient(145deg, rgba(234, 243, 255, 0.9), rgba(255, 255, 255, 0.98) 58%),
    var(--white);
    box-shadow: 0 16px 36px rgba(33, 56, 107, 0.095);
}

.treatment-subcategory-tab[aria-selected="true"] {
    background: linear-gradient(145deg, rgba(234, 243, 255, 0.92), rgba(255, 255, 255, 0.98) 58%),
    var(--white);
    border-color: rgba(77, 143, 217, 0.58);
    box-shadow: 0 18px 40px rgba(33, 56, 107, 0.11);
}

.treatment-subcategory-tab span {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.2;
}

.treatment-subcategory-tab small {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 1.9rem;
    height: 1.9rem;
    margin-top: -0.1rem;
    background: rgba(234, 243, 255, 0.9);
    border: 1px solid rgba(77, 143, 217, 0.34);
    border-radius: var(--radius-pill);
    color: var(--navy);
    box-shadow: none;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.treatment-subcategory-tab__action span {
    color: inherit;
}

.treatment-subcategory-tab:hover small,
.treatment-subcategory-tab:focus-visible small,
.treatment-subcategory-tab[aria-selected="true"] small {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translate(1px, -1px);
}

.treatment-subcategory-tab em {
    display: -webkit-box;
    grid-column: 1 / -1;
    overflow: hidden;
    color: var(--muted);
    font-size: var(--text-sm);
    font-style: normal;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.treatment-subcategory-panels {
    margin-top: clamp(2rem, 3vw, 3rem);
}

.treatment-subcategory-tabs + .treatment-subcategory-panels {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.treatment-subcategory-showcase {
    display: grid;
    gap: clamp(1.35rem, 3vw, 2.3rem);
    margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.treatment-subcategory-block {
    display: grid;
    grid-template-columns: minmax(15.5rem, 0.38fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.8vw, 2rem);
    align-items: start;
    padding: clamp(1rem, 2.2vw, 1.45rem);
    background: var(--white);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(33, 56, 107, 0.06);
}

.treatment-subcategory-block__summary {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.treatment-subcategory-block__index {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    background: var(--navy);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1;
}

.treatment-subcategory-block__summary h3 {
    max-width: 18rem;
    margin-top: 0.25rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 500;
    line-height: 1.12;
}

.treatment-subcategory-block__summary p:not(.eyebrow) {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.58;
}

.treatment-tech-stack {
    display: grid;
    gap: 0.65rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(33, 56, 107, 0.1);
}

.treatment-tech-stack > span {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.treatment-tech-stack ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.treatment-tech-stack li {
    display: inline-flex;
    max-width: 100%;
    min-height: 1.9rem;
    align-items: center;
    padding: 0.35rem 0.62rem;
    background: rgba(234, 243, 255, 0.78);
    border: 1px solid rgba(77, 143, 217, 0.22);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.treatment-service-list {
    display: grid;
    min-width: 0;
    overflow: hidden;
    background: rgba(248, 251, 255, 0.72);
    border: 1px solid rgba(33, 56, 107, 0.08);
    border-radius: var(--radius-sm);
}

.treatment-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 2.1rem;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1rem clamp(0.95rem, 2vw, 1.25rem);
    color: inherit;
    background: rgba(255, 255, 255, 0.68);
    border-bottom: 1px solid rgba(33, 56, 107, 0.08);
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.treatment-service-row:last-child {
    border-bottom: 0;
}

.treatment-service-row:hover,
.treatment-service-row:focus-visible {
    background: var(--white);
    transform: translateX(2px);
}

.treatment-service-row__body {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
}

.treatment-service-row__body strong {
    color: var(--ink);
    font-size: clamp(0.98rem, 1.05vw, 1.08rem);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.treatment-service-row__body span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.treatment-service-row__body small {
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.treatment-service-row__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.38rem;
    max-width: 13rem;
}

.treatment-service-row__pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.34rem 0.58rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.treatment-service-row__pill--price {
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.treatment-service-row__pill--duration {
    background: var(--mist);
    color: var(--navy);
}

.treatment-service-row__arrow {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(77, 143, 217, 0.32);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-weight: 800;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.treatment-service-row:hover .treatment-service-row__arrow,
.treatment-service-row:focus-visible .treatment-service-row__arrow {
    background: var(--navy);
    color: var(--white);
}

@media (max-width: 900px) {
    .treatment-subcategory-block {
        grid-template-columns: 1fr;
    }

    .treatment-subcategory-block__summary {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .treatment-tech-stack {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .treatment-service-row {
        grid-template-columns: minmax(0, 1fr) 2rem;
        gap: 0.85rem;
    }

    .treatment-service-row__meta {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        max-width: none;
    }

    .treatment-service-row__arrow {
        grid-column: 2;
        grid-row: 1;
    }
}

.treatment-subcategory-panel {
    scroll-margin-top: 7rem;
}

.treatment-subcategory-panel + .treatment-subcategory-panel {
    margin-top: clamp(2rem, 3vw, 3rem);
}

.has-subcategory-tabs .treatment-subcategory-panel + .treatment-subcategory-panel {
    margin-top: 0;
}

.treatment-subcategory-panel[hidden] {
    display: none;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
    margin-top: 0;
}

.treatment-subcategory-heading {
    margin-top: clamp(2rem, 3vw, 3rem);
}

.treatment-subcategory-panel:first-child .treatment-subcategory-heading,
.has-subcategory-tabs .treatment-subcategory-heading {
    margin-top: 0;
}

.treatment-subcategory-heading + .subcategory-grid {
    margin-top: 1rem;
}

.treatment-subcategory-heading h3 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
}

.treatment-subcategory-heading p {
    max-width: 42rem;
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.6;
}

.subcategory-card,
.treatment-note,
.related-treatments {
    background: var(--white);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 36px rgba(33, 56, 107, 0.07);
}

.subcategory-card {
    padding: clamp(1.25rem, 2vw, 1.7rem);
}

.subcategory-card__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-left: auto;
}

.subcategory-card__top span:first-child {
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.subcategory-card__top span:last-child {
    background: var(--mist);
    color: var(--navy);
}

.subcategory-card h3 {
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.95rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
}

.subcategory-card p {
    margin-top: 0.75rem;
    color: var(--muted);
}

.treatment-service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    gap: 0;
    min-height: 100%;
    color: inherit;
    background: linear-gradient(145deg, rgba(234, 243, 255, 0.86), rgba(255, 255, 255, 0.98) 58%),
    var(--white);
    border-color: rgba(77, 143, 217, 0.32);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 24px rgba(33, 56, 107, 0.06);
    cursor: pointer;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.treatment-service-card::after {
    content: none;
}

.treatment-service-card:hover,
.treatment-service-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(77, 143, 217, 0.58);
    box-shadow: 0 18px 42px rgba(33, 56, 107, 0.1);
}

.treatment-service-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1rem;
}

.treatment-service-card__media {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--mist);
}

.treatment-service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-card__top span {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.32rem 0.64rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    line-height: 1.1;
}

.treatment-service-card h3,
.treatment-service-card p,
.treatment-service-card dl,
.treatment-service-card__action {
    position: relative;
    z-index: 1;
}

.treatment-service-card h3 {
    margin-top: 0;
    font-family: var(--font-ui);
    font-size: clamp(1rem, 1vw, 1.14rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}

.treatment-service-card__head + h3 {
    margin-top: 0.75rem;
}

.treatment-service-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.9rem;
    color: var(--muted);
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.treatment-service-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    align-self: flex-end;
    min-height: 2rem;
    margin: auto 0 0 auto;
    padding: 0.42rem 0.68rem;
    background: rgba(234, 243, 255, 0.92);
    border: 1px solid rgba(77, 143, 217, 0.34);
    border-radius: var(--radius-pill);
    color: var(--navy);
    box-shadow: none;
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.treatment-service-card__action span {
    transition: transform 0.2s var(--ease);
}

.treatment-service-card:hover .treatment-service-card__action,
.treatment-service-card:focus-visible .treatment-service-card__action {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translate(1px, -1px);
}

.treatment-service-card:hover .treatment-service-card__action span:last-child,
.treatment-service-card:focus-visible .treatment-service-card__action span:last-child {
    transform: translateX(2px);
}

.treatment-price-list,
.treatment-care-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(33, 56, 107, 0.08);
}

.treatment-price-list div,
.treatment-care-list div {
    display: grid;
    gap: 0.25rem;
}

.treatment-price-list dt,
.treatment-care-list dt {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.treatment-price-list dd,
.treatment-care-list dd {
    margin: 0;
    color: var(--body);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.treatment-price-list dd {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.treatment-price-list dd span:first-child {
    color: var(--ink);
    font-weight: 800;
}

.treatment-price-list dd span:last-child {
    color: var(--muted);
}

.treatment-detail__rail {
    position: sticky;
    top: 7.5rem;
    display: grid;
    gap: var(--gap-md);
}

.treatment-note,
.related-treatments {
    padding: clamp(1.25rem, 2vw, 1.6rem);
}

.treatment-note span {
    color: var(--sand-deep);
}

.treatment-note p {
    margin-top: 0.75rem;
    color: var(--body);
}

.treatment-note--visual {
    overflow: hidden;
    padding: 0;
}

.treatment-note--visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.treatment-note--visual div {
    padding: clamp(1.15rem, 2vw, 1.5rem);
}

.treatment-note--visual p {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.12;
    color: var(--ink);
}

.related-treatments h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
}

.related-treatments a {
    display: grid;
    gap: 0.22rem;
    padding-block: 0.9rem;
    border-top: 1px solid var(--line-soft);
    color: var(--body);
}

.related-treatments a:first-of-type {
    margin-top: 0.7rem;
}

.related-treatments a span {
    color: var(--sand-deep);
}

.related-treatments a strong {
    color: var(--ink);
    font-size: var(--text-sm);
}

.related-treatments a:hover strong,
.related-treatments a:focus-visible strong {
    color: var(--navy);
}

.treatment-cta {
    padding-bottom: var(--section-y);
}

.treatment-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: linear-gradient(135deg, rgba(77, 143, 217, 0.16), transparent 42%),
    var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.treatment-cta h2 {
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
}

.treatment-cta__inner > div > p:not(.eyebrow) {
    max-width: 42rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.65;
}

.product-card__meta {
    margin-bottom: calc(var(--gap-xs) * -0.25);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.team-card {
    padding-top: var(--gap-lg);
    border-top: 1px solid var(--line);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1.2;
}

.team-card p {
    margin-top: var(--gap-sm);
    font-size: var(--text-base);
    color: var(--muted);
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--gap-lg);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
}

.team-link svg {
    transition: transform 0.2s var(--ease);
}

.team-link:hover svg,
.team-link:focus-visible svg {
    transform: translateX(4px);
}

/* --- Practitioner profile page --- */
.team-page {
    background: var(--cream);
    color: var(--body);
}

.team-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.25rem, 6vw, 6.5rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, var(--navy-deep), var(--navy-ink));
    color: rgba(255, 255, 255, 0.76);
}

.team-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent);
    pointer-events: none;
}

.team-hero .shell {
    position: relative;
    z-index: 1;
}

.team-hero__header {
    max-width: 58rem;
}

.team-hero__copy {
    max-width: 58rem;
}

.team-hero .eyebrow {
    color: var(--sand);
}

.team-hero h1 {
    max-width: 12ch;
    font-family: var(--font-display);
    font-size: var(--text-h1);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0;
    color: var(--white);
}

.team-hero h1 em.accent {
    color: #c5d3ec;
}

.team-hero__lede {
    max-width: 48rem;
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.68);
}

.team-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

.team-hero__actions .btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: none;
}

.team-hero__actions .btn--ghost:hover,
.team-hero__actions .btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--white);
}

.team-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
    margin-top: clamp(2.25rem, 5vw, 4rem);
}

.team-showcase__card {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: clamp(25rem, 31vw, 29rem);
    overflow: hidden;
    isolation: isolate;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-sm);
    color: var(--white);
    box-shadow: 0 30px 70px rgba(4, 12, 26, 0.36);
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.team-showcase__card:nth-child(2),
.team-showcase__card:nth-child(3) {
    min-height: clamp(25rem, 31vw, 29rem);
}

.team-showcase__card:hover,
.team-showcase__card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(244, 236, 224, 0.42);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 38px 84px rgba(4, 12, 26, 0.46);
}

.team-showcase__wash {
    position: absolute;
    inset: -12%;
    z-index: -2;
    opacity: 0.28;
    filter: blur(24px) saturate(0.78);
    transform: scale(1.08);
}

.team-showcase__wash img,
.team-showcase__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-showcase__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 18, 36, 0.08) 0%, rgba(8, 18, 36, 0.66) 58%, rgba(8, 18, 36, 0.94) 100%),
    linear-gradient(135deg, transparent 0%, rgba(176, 141, 95, 0.22) 100%);
}

.team-showcase__photo {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 4 / 3.05;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
}

.team-showcase__photo img {
    object-position: 50% 16%;
    transition: transform 0.5s var(--ease);
}

.team-showcase__card:nth-child(2) .team-showcase__photo img {
    object-position: 50% 17%;
}

.team-showcase__card:nth-child(3) .team-showcase__photo img {
    object-position: 52% 22%;
}

.team-showcase__card:hover .team-showcase__photo img,
.team-showcase__card:focus-visible .team-showcase__photo img {
    transform: scale(1.045);
}

.team-showcase__badge {
    position: absolute;
    left: 1.75rem;
    top: 1.75rem;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 3.5rem);
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-sm);
    color: var(--navy-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.team-showcase__copy {
    align-self: flex-end;
    display: grid;
    gap: 0.45rem;
    width: 100%;
    padding: 0.1rem 3.1rem 0.15rem 0.15rem;
}

.team-showcase__copy > span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--sand-soft);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.team-showcase__copy strong {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.45vw + 1.4rem, 2.85rem);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: 0;
}

.team-showcase__copy small {
    max-width: 26rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.45;
}

.team-showcase__arrow {
    position: absolute;
    right: 1.35rem;
    bottom: 1.35rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    color: var(--sand-soft);
    transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.team-showcase__arrow svg {
    width: 1rem;
    height: 1rem;
}

.team-showcase__card:hover .team-showcase__arrow,
.team-showcase__card:focus-visible .team-showcase__arrow {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.16);
}

.team-roster {
    background: var(--white);
}

.practitioner-list {
    display: grid;
    gap: var(--gap-lg);
    margin-top: clamp(2.5rem, 4vw, 3.75rem);
}

.practitioner-card {
    position: relative;
    scroll-margin-top: 7rem;
    display: grid;
    grid-template-columns: minmax(16rem, 0.34fr) minmax(0, 1fr);
    min-height: 34rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 249, 246, 0.92)),
    var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.practitioner-card:hover,
.practitioner-card:focus-within,
.practitioner-card:target {
    transform: translateY(-2px);
    border-color: rgba(33, 56, 107, 0.18);
    box-shadow: 0 2px 6px rgba(21, 40, 72, 0.06),
    0 26px 54px rgba(21, 40, 72, 0.12);
}

.practitioner-card:target {
    border-color: rgba(176, 141, 95, 0.46);
    box-shadow: 0 2px 6px rgba(21, 40, 72, 0.06),
    0 30px 60px rgba(176, 141, 95, 0.2);
}

.practitioner-card--owner {
    border-color: rgba(176, 141, 95, 0.34);
    box-shadow: 0 2px 6px rgba(21, 40, 72, 0.06),
    0 20px 45px rgba(176, 141, 95, 0.12);
}

.practitioner-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    background: linear-gradient(180deg, rgba(33, 56, 107, 0.28), rgba(14, 28, 51, 0.82)),
    var(--navy-deep);
}

.practitioner-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, transparent, rgba(176, 141, 95, 0.22));
    pointer-events: none;
}

.practitioner-card__wash {
    position: absolute;
    inset: -14%;
    opacity: 0.3;
    filter: blur(26px) saturate(0.82);
    transform: scale(1.1);
}

.practitioner-card__wash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practitioner-card__portrait {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    max-width: 20rem;
    aspect-ratio: 4 / 5;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 48px rgba(4, 12, 26, 0.32);
}

.practitioner-card__portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 24%;
    transition: transform 0.45s var(--ease);
}

.practitioner-card:hover .practitioner-card__portrait img,
.practitioner-card:focus-within .practitioner-card__portrait img,
.practitioner-card:target .practitioner-card__portrait img {
    transform: scale(1.035);
}

.practitioner-card:nth-child(2) .practitioner-card__portrait img {
    object-position: 50% 26%;
}

.practitioner-card:nth-child(3) .practitioner-card__portrait img {
    object-position: 52% 30%;
}

.practitioner-card__badge {
    position: absolute;
    z-index: 2;
    left: clamp(1.5rem, 2.4vw, 1.85rem);
    top: clamp(1.5rem, 2.4vw, 1.85rem);
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 2rem);
    padding: 0.45rem 0.7rem;
    background: rgba(21, 40, 72, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(21, 40, 72, 0.18);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.practitioner-card__badge--owner {
    background: rgba(176, 141, 95, 0.94);
    color: var(--navy-ink);
}

.practitioner-card__body {
    position: relative;
    display: grid;
    align-content: start;
    gap: var(--gap-md);
    padding: clamp(1.5rem, 3vw, 2.75rem);
}

.practitioner-card__heading p {
    margin-bottom: 0.35rem;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.practitioner-card__heading h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
}

.practitioner-card__heading span {
    display: block;
    margin-top: 0.55rem;
    color: var(--navy);
    font-size: var(--text-sm);
    font-weight: 700;
}

.practitioner-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    border-block: 1px solid var(--line);
}

.practitioner-facts div {
    padding: 1rem;
    border-left: 1px solid var(--line);
}

.practitioner-facts div:first-child {
    border-left: 0;
    padding-left: 0;
}

.practitioner-facts dt {
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.practitioner-facts dd {
    margin: 0;
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.35;
}

.practitioner-card__copy {
    display: grid;
    gap: 0.8rem;
    color: var(--body);
    font-size: var(--text-base);
    line-height: 1.65;
}

.practitioner-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-md);
}

.practitioner-card__details h3 {
    margin-bottom: 0.75rem;
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.practitioner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.practitioner-tags li {
    padding: 0.45rem 0.65rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.2;
}

.practitioner-checklist {
    display: grid;
    gap: 0.65rem;
}

.practitioner-checklist li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--body);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.practitioner-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--sand);
    border-radius: 50%;
}

.practitioner-social {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.55rem;
    margin-top: 0.2rem;
    padding: 0.75rem 0.9rem;
    background: var(--navy);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.2;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.practitioner-social:hover,
.practitioner-social:focus-visible {
    background: var(--navy-deep);
    transform: translateY(-2px);
}

.team-booking {
    padding-block: clamp(3rem, 5vw, 5rem);
    background: var(--luxe-sage);
}

.team-booking__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    padding: 0;
    color: var(--body);
}

.team-booking h2 {
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--ink);
}

/* --- About --- */
.about {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.about__points {
    display: grid;
    gap: var(--gap-md);
}

.about__point {
    padding: clamp(1.5rem, 2vw, 2rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.about__point h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
}

.about__point p {
    margin-top: 0.45rem;
    font-size: var(--text-sm);
    color: var(--muted);
}

/* --- Journey (dark) --- */
.journey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.journey__step {
    position: relative;
    padding-top: var(--gap-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.journey__step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 42px;
    height: 1px;
    background: var(--sand);
}

.journey__num {
    display: block;
    margin-bottom: var(--gap-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--sand);
}

.journey__step h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1.2;
}

.journey__step p {
    margin-top: var(--gap-xs);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.6);
}

/* --- Concerns --- */
.concerns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-top: clamp(2rem, 3vw, 2.75rem);
}

.concerns li a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.concerns li a:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-2px);
}

.concerns li a::after {
    content: "→";
    color: var(--sand-deep);
    transition: transform 0.25s var(--ease);
}

.concerns li a:hover::after {
    transform: translateX(3px);
}

/* --- Portal preview --- */
.portal {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.portal__features {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.portal__feature {
    display: flex;
    gap: var(--gap-md);
    padding: clamp(1.4rem, 2vw, 1.9rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.portal__feature:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.portal__feature-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-pill);
    background: var(--mist);
    color: var(--navy);
}

.portal__feature h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0;
}

.portal__feature p {
    margin-top: 0.3rem;
    font-size: var(--text-sm);
    color: var(--muted);
}

.portal__note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--gap-md);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--sand-soft);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

/* --- Pull quote --- */
.quote {
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
}

.quote blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw + 1rem, 2.85rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.28;
    color: var(--ink);
}

.quote__mark {
    display: block;
    margin-bottom: var(--gap-md);
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 0.6;
    color: var(--sand);
}

.quote cite {
    display: block;
    margin-top: var(--gap-lg);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --- CTA band --- */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #2c4a86 100%);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.cta::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(176, 141, 95, 0.18), rgba(176, 141, 95, 0) 60%);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin-inline: auto;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
}

.cta p {
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.68);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

.about-page--template {
    background: var(--cream);
    color: var(--body);
}

.about-pill {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.42rem 0.62rem;
    background: rgba(176, 141, 95, 0.1);
    border: 1px solid rgba(176, 141, 95, 0.12);
    border-radius: var(--radius-pill);
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.about-pill::before {
    content: "";
    width: 0.28rem;
    height: 0.28rem;
    background: var(--sand-deep);
    border-radius: 50%;
}

.about-template-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 8vw, 7rem) clamp(2.25rem, 4vw, 3.5rem);
    background:
        linear-gradient(90deg, #fbf9f6 0%, #fbf9f6 40%, rgba(251, 249, 246, 0.58) 55%, rgba(251, 249, 246, 0.04) 76%),
        url("../img/about/three-women-hero.jpg") right center / auto 100% no-repeat,
        var(--cream);
}

.about-template-hero__inner {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

.about-template-hero__copy {
    display: grid;
    justify-items: start;
    max-width: 38rem;
}

@media (max-width: 1100px) {
    .about-template-hero {
        padding-block: calc(clamp(17rem, 34vw, 22rem) + 1.25rem) 3rem;
        background: var(--cream);
    }

    .about-template-hero::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: clamp(17rem, 34vw, 22rem);
        background:
            linear-gradient(180deg, transparent 75%, var(--cream)),
            url("../img/about/three-women-hero.jpg") right 22% / cover no-repeat;
    }

    .about-template-hero__inner {
        position: relative;
    }
}

.about-template-hero h1 {
    max-width: 14ch;
    margin-top: 1.2rem;
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 8.8rem);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: 0;
}

.about-template-hero__copy p:not(.about-pill) {
    max-width: 41rem;
    margin-top: 1.25rem;
    color: var(--body);
    font-size: var(--text-lg);
    line-height: 1.55;
}

.about-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.about-marquee__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: about-marquee 36s linear infinite;
}

.about-marquee:hover .about-marquee__track {
    animation-play-state: paused;
}

.about-marquee__item {
    position: relative;
    flex: 0 0 clamp(15rem, 22vw, 22rem);
    overflow: hidden;
    aspect-ratio: 3 / 4.1;
    margin: 0;
    isolation: isolate;
    background: var(--navy-deep);
    border-radius: var(--radius-md);
    box-shadow: 0 22px 50px rgba(21, 40, 72, 0.14);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.about-marquee__item:nth-child(2n) {
    aspect-ratio: 3 / 3.65;
    margin-top: 1.15rem;
}

.about-marquee__item:hover {
    transform: translateY(-0.35rem) scale(1.015);
    box-shadow: 0 30px 66px rgba(21, 40, 72, 0.18);
}

.about-marquee__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 52%, rgba(14, 28, 51, 0.78));
}

.about-marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s var(--ease);
}

.about-marquee__item:first-child img,
.about-marquee__item:nth-child(5) img {
    object-position: center;
}

.about-marquee__item:hover img {
    transform: scale(1.045);
}

.about-marquee__item figcaption,
.about-comfort__tile figcaption {
    position: absolute;
    z-index: 2;
    max-width: calc(100% - 1.6rem);
    padding: 0.48rem 0.6rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    color: var(--navy-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-marquee__item figcaption {
    left: 0.85rem;
    bottom: 0.85rem;
}

@keyframes about-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

/*
 * "An inclusive clinic" - copy beside the clinic photo.
 *
 * Mirrors .about-clinic but with the columns reversed, so the two photo
 * sections on this page alternate. The source image is a 4:5 portrait, so the
 * frame uses that ratio rather than a fixed min-height and never letterboxes.
 */
.about-inclusivity__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.5fr);
    gap: var(--gap-lg);
    align-items: center;
}

.about-inclusivity__copy .lede {
    margin-top: var(--gap-md);
}

.about-inclusivity__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--navy-deep);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.about-inclusivity__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps the reception desk and shelving in frame when the column narrows. */
    object-position: center 42%;
}

/* Same scrim as .about-clinic__media, so the white caption tag stays legible. */
.about-inclusivity__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(8, 18, 36, 0.86));
}

.about-clinic {
    background: var(--white);
}

.about-clinic__inner {
    display: grid;
    grid-template-columns: minmax(22rem, 0.52fr) minmax(0, 1fr);
    gap: var(--gap-lg);
    align-items: stretch;
}

.about-clinic__media {
    position: relative;
    overflow: hidden;
    min-height: 32rem;
    background: var(--navy-deep);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.about-clinic__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.88) contrast(1.03);
}

.about-clinic__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(8, 18, 36, 0.86));
}

.about-clinic__tag {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    color: var(--white);
    text-shadow: 0 1px 9px rgba(8, 18, 36, 0.45);
}

.about-clinic__tag span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--sand-soft);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-clinic__tag strong,
.about-team-card__copy strong,
.about-final h2 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
}

.about-clinic__tag strong {
    display: block;
    font-size: var(--text-h3);
}

.about-clinic__copy {
    display: grid;
    align-content: center;
    gap: var(--gap-md);
    padding: clamp(1.5rem, 4vw, 3.25rem);
    background: linear-gradient(135deg, rgba(33, 56, 107, 0.055), transparent 42%),
    var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.about-clinic__copy h2,
.about-inclusivity__copy h2,
.about-orbit__head h2,
.about-comfort__head h2 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: 0;
}

.about-clinic__copy h2 {
    max-width: 15ch;
    font-size: var(--text-h2);
    line-height: 1.03;
}

.about-inclusivity__copy h2 {
    font-size: var(--text-h2);
    line-height: 1.03;
}

.about-clinic__copy p,
.about-orbit__head p:not(.about-pill),
.about-comfort__head p:not(.about-pill) {
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.65;
}

.about-clinic__checks {
    display: grid;
    gap: 0.75rem;
    padding-top: var(--gap-sm);
    border-top: 1px solid var(--line);
}

.about-clinic__checks li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.45;
}

.about-clinic__checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--sand);
    border-radius: 50%;
}

.about-stat-visual {
    padding-block: 0 var(--section-y);
    background: var(--white);
}

.about-stat-visual__frame {
    position: relative;
    overflow: hidden;
    min-height: clamp(23rem, 38vw, 34rem);
    border-radius: var(--radius-md);
    background: var(--navy-deep);
    box-shadow: 0 28px 70px rgba(21, 40, 72, 0.14);
}

.about-stat-visual__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 28, 51, 0.04), rgba(14, 28, 51, 0.78)),
    linear-gradient(90deg, rgba(14, 28, 51, 0.16), transparent, rgba(14, 28, 51, 0.16));
}

.about-stat-visual__frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) contrast(0.96);
}

.about-stat-visual__overlay {
    position: absolute;
    left: clamp(1rem, 5vw, 5rem);
    right: clamp(1rem, 5vw, 5rem);
    bottom: clamp(1.4rem, 4vw, 3rem);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    color: var(--white);
}

.about-stat-visual__overlay div {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    text-align: center;
}

.about-stat-visual__overlay strong {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 6rem);
    font-weight: 300;
    line-height: 0.88;
    letter-spacing: 0;
}

.about-stat-visual__overlay span {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-orbit,
.about-comfort,
.about-team-preview,
.about-final {
    background: var(--cream);
}

.about-orbit__head,
.about-comfort__head {
    display: grid;
    justify-items: center;
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

.about-orbit__head h2,
.about-comfort__head h2 {
    max-width: 15ch;
    margin-top: 1rem;
    font-size: var(--text-h1);
    line-height: 0.95;
}

.about-orbit__head p:not(.about-pill),
.about-comfort__head p:not(.about-pill) {
    max-width: 40rem;
    margin-top: 1rem;
}

.about-orbit__layout {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(22rem, 0.88fr) minmax(14rem, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.about-orbit__column {
    display: grid;
    gap: clamp(2rem, 4vw, 4.75rem);
}

.about-orbit__column--left .about-orbit__item {
    grid-template-columns: minmax(0, 1fr) 3.25rem;
    text-align: right;
}

.about-orbit__column--left .about-orbit__icon {
    order: 2;
}

.about-orbit__item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.about-orbit__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--sand-deep);
    box-shadow: 0 12px 28px rgba(21, 40, 72, 0.08);
}

.about-orbit__item h3 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1vw + 1rem, 2rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0;
}

.about-orbit__item p {
    max-width: 18rem;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.48;
}

.about-orbit__column--left .about-orbit__item p {
    margin-left: auto;
}

.about-orbit__visual--video {
    position: relative;
    overflow: hidden;
    width: min(100%, 34rem);
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    background: var(--navy-ink);
    box-shadow: 0 28px 70px rgba(21, 40, 72, 0.18);
}

.about-orbit__visual--video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-comfort {
    overflow: hidden;
}

.about-comfort__grid,
.about-team-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: clamp(2.25rem, 5vw, 4rem);
}

.about-comfort__tile {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: clamp(14rem, 20vw, 20rem);
    margin: 0;
    background: var(--navy-deep);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(21, 40, 72, 0.1);
    isolation: isolate;
}

.about-comfort__tile:nth-child(2),
.about-comfort__tile:nth-child(5) {
    transform: translateY(1.35rem);
}

.about-comfort__tile img,
.about-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s var(--ease);
}

.about-comfort__tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(14, 28, 51, 0.78));
    pointer-events: none;
}

.about-comfort__tile figcaption {
    left: 0.8rem;
    bottom: 0.8rem;
}

.about-comfort__tile:hover img,
.about-team-card:hover img,
.about-team-card:focus-visible img {
    transform: scale(1.045);
}

.about-team-card {
    display: grid;
    grid-template-rows: minmax(18rem, 1fr) auto;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    box-shadow: 0 16px 34px rgba(21, 40, 72, 0.08);
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.about-team-card:hover,
.about-team-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(33, 56, 107, 0.18);
    box-shadow: var(--shadow-md);
}

.about-team-card__photo {
    overflow: hidden;
    background: var(--navy-deep);
}

.about-team-card__copy {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
}

.about-team-card__copy strong {
    color: var(--ink);
    font-size: var(--text-h3);
}

.about-team-card__copy span {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: uppercase;
}

.about-final {
    padding-block: 0 var(--section-y);
}

.about-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.about-final h2 {
    max-width: 13ch;
    font-size: var(--text-h2);
    line-height: 1.05;
}

/* --- Refined About page -------------------------------------------------- */

.about-clean-page {
    background: var(--white);
    color: var(--body);
}

.about-clean-hero {
    overflow: hidden;
    padding-block: clamp(4rem, 8vw, 7rem);
    background: linear-gradient(180deg, rgba(241, 244, 249, 0.78), transparent 56%),
    var(--cream);
}

.about-clean-hero__inner,
.about-clean-story__inner,
.about-clean-founder__inner {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.about-clean-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1fr);
}

.about-clean-story__inner,
.about-clean-founder__inner {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1fr);
}

.about-clean-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: var(--gap-sm);
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(176, 141, 95, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(176, 141, 95, 0.1);
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.about-clean-hero h1,
.about-clean-story__copy h2,
.about-clean-founder__copy h2 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: 0;
}

.about-clean-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 6vw, 6.4rem);
    line-height: 0.95;
}

.about-clean-hero__copy > p:not(.about-clean-pill),
.about-clean-story__copy p,
.about-clean-founder__copy p {
    max-width: 42rem;
    color: var(--muted);
    font-size: var(--text-lg);
    line-height: 1.62;
}

.about-clean-hero__copy > p:not(.about-clean-pill) {
    margin-top: var(--gap-md);
}

.about-clean-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

.about-clean-hero__media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.52fr);
    align-items: end;
    gap: 0.85rem;
}

.about-clean-portrait,
.about-clean-clinic {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius-sm);
    background: var(--line-soft);
    box-shadow: var(--shadow-md);
}

.about-clean-portrait {
    aspect-ratio: 4 / 5;
}

.about-clean-clinic {
    aspect-ratio: 1 / 1;
    margin-bottom: clamp(1.5rem, 6vw, 4rem);
}

.about-clean-portrait img,
.about-clean-clinic img,
.about-clean-story__image img,
.about-clean-founder__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-clean-portrait img,
.about-clean-founder__image img {
    object-position: center top;
}

.about-clean-portrait figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
}

.about-clean-portrait figcaption span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
}

.about-clean-portrait figcaption strong {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 300;
    line-height: 1;
}

.about-clean-story,
.about-clean-founder {
    background: var(--white);
}

.about-clean-story__image,
.about-clean-founder__image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    background: var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.about-clean-story__copy,
.about-clean-founder__copy {
    display: grid;
    gap: var(--gap-md);
}

.about-clean-story__copy h2,
.about-clean-founder__copy h2 {
    max-width: 16ch;
    font-size: var(--text-h2);
    line-height: 1.04;
}

.about-clean-care,
.about-clean-visit {
    background: var(--cream);
}

.about-clean-care__grid,
.about-clean-visit__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap-md);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.about-clean-care__item,
.about-clean-visit__steps li {
    padding-top: var(--gap-md);
    border-top: 1px solid var(--line);
}

.about-clean-care__item h3,
.about-clean-visit__steps h3 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 400;
    line-height: 1.12;
}

.about-clean-care__item p,
.about-clean-visit__steps p {
    margin-top: var(--gap-xs);
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.about-clean-founder {
    border-block: 1px solid var(--line);
}

.about-clean-founder__inner {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
}

.about-clean-founder__image {
    aspect-ratio: 4 / 5;
}

.about-clean-visit__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
}

.about-clean-visit__steps span {
    display: block;
    margin-bottom: var(--gap-sm);
    color: var(--sand);
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1;
}

@media (max-width: 980px) {
    .about-clean-hero__inner,
    .about-clean-story__inner,
    .about-clean-founder__inner {
        grid-template-columns: 1fr;
    }

    .about-clean-story__image {
        order: 2;
    }

    .about-clean-care__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .about-clean-hero {
        padding-block: 3rem;
    }

    .about-clean-hero h1,
    .about-clean-story__copy h2,
    .about-clean-founder__copy h2 {
        max-width: none;
        font-size: clamp(2.45rem, 11vw, 3.15rem);
        line-height: 1;
    }

    .about-clean-hero__copy > p:not(.about-clean-pill),
    .about-clean-story__copy p,
    .about-clean-founder__copy p {
        font-size: var(--text-base);
    }

    .about-clean-hero__actions,
    .about-clean-hero__actions .btn,
    .about-clean-founder__copy .btn,
    .about-clean-visit .section-head .btn {
        width: 100%;
    }

    .about-clean-hero__media {
        grid-template-columns: 1fr;
    }

    .about-clean-portrait {
        aspect-ratio: 4 / 4.8;
    }

    .about-clean-clinic {
        aspect-ratio: 4 / 3;
        margin-bottom: 0;
    }

    .about-clean-story__image {
        aspect-ratio: 4 / 3;
    }

    .about-clean-care__grid,
    .about-clean-visit__steps {
        grid-template-columns: 1fr;
    }
}


/* --- Contact page --- */
.contact-page {
    background: var(--cream);
}

.contact-hero {
    padding-block: clamp(4.5rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, rgba(241, 244, 249, 0.92), rgba(251, 249, 246, 0.35) 58%),
    var(--cream);
    border-bottom: 1px solid var(--line-soft);
}

.contact-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.58fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
}

.contact-hero__copy {
    max-width: 55rem;
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 4.6vw + 1.2rem, 5.75rem);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--ink);
}

.contact-hero__lede {
    max-width: 45rem;
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--body);
}

.contact-hero__panel {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.35rem, 2vw, 1.8rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--navy-deep);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    color: rgba(255, 255, 255, 0.72);
}

.contact-hero__panel-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--sand);
}

.contact-hero__panel p {
    font-size: var(--text-base);
    line-height: 1.55;
}

.contact-hero__actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.1rem;
}

.contact-hero__action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2.45rem minmax(0, 1fr) 1.5rem;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.72rem 0.75rem;
    border: 1px solid rgba(244, 236, 224, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.contact-hero__action::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.13), transparent);
    transform: translateX(-115%);
    transition: transform 0.45s var(--ease);
}

.contact-hero__action:hover,
.contact-hero__action:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(244, 236, 224, 0.28);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 14px 28px rgba(14, 28, 51, 0.22);
    outline: 0;
}

.contact-hero__action:hover::before,
.contact-hero__action:focus-visible::before {
    transform: translateX(115%);
}

.contact-hero__action-icon,
.contact-hero__action-arrow {
    display: grid;
    place-items: center;
    flex: none;
    border-radius: var(--radius-sm);
}

.contact-hero__action-icon {
    width: 2.45rem;
    height: 2.45rem;
    background: rgba(244, 236, 224, 0.1);
    color: var(--sand);
}

.contact-hero__action-copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.contact-hero__action-copy span {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 236, 224, 0.72);
}

.contact-hero__action-copy strong {
    overflow-wrap: anywhere;
    font-size: var(--text-sm);
    font-weight: 750;
    line-height: 1.2;
    color: var(--white);
}

.contact-hero__action-arrow {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.09);
    color: var(--sand-soft);
    transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}

.contact-hero__action:hover .contact-hero__action-arrow,
.contact-hero__action:focus-visible .contact-hero__action-arrow {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(2px);
}

.contact-hero__hours-tip {
    position: absolute;
    top: 50%;
    left: calc(100% + 0.78rem);
    z-index: 3;
    width: max-content;
    max-width: 13rem;
    padding: 0.64rem 0.78rem;
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(14, 28, 51, 0.2);
    color: var(--navy-deep);
    font-size: var(--text-xs);
    font-weight: 750;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-0.25rem, -50%);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.contact-hero__hours-tip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.34rem;
    width: 0.62rem;
    height: 0.62rem;
    border-left: 1px solid rgba(33, 56, 107, 0.12);
    border-bottom: 1px solid rgba(33, 56, 107, 0.12);
    background: var(--white);
    transform: translateY(-50%) rotate(45deg);
}

.contact-hero__hours-link:hover .contact-hero__hours-tip,
.contact-hero__hours-link:focus-visible .contact-hero__hours-tip {
    opacity: 1;
    transform: translate(0, -50%);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: stretch;
    padding-block: clamp(2rem, 5vw, 4rem) var(--section-y);
}

.contact-main {
    display: grid;
    align-items: stretch;
    min-width: 0;
}

.contact-details {
    display: grid;
    align-self: start;
    grid-template-rows: auto;
    gap: 0.85rem;
    min-height: 0;
}

@media (min-width: 1181px) {
    .contact-details.is-sticky {
        position: sticky;
        top: var(--contact-sticky-top);
    }
}

.contact-details__block {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: clamp(0.75rem, 1.3vw, 1rem);
    padding: clamp(1rem, 1.7vw, 1.35rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 244, 249, 0.7)),
    var(--white);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 34px rgba(21, 40, 72, 0.07);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.contact-details__block--hours {
    padding-block: clamp(1.3rem, 2.1vw, 1.75rem);
    scroll-margin-top: 7.5rem;
}

.contact-details a.contact-details__block--location {
    display: grid;
    width: auto;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.contact-details a.contact-details__block--location:hover {
    transform: translateY(-2px);
}

.contact-details__block--location:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.contact-details__block::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--navy), var(--navy-soft));
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.contact-details__block::after {
    content: "";
    position: absolute;
    left: 3.7rem;
    right: 1.25rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(33, 56, 107, 0), rgba(33, 56, 107, 0.12), rgba(33, 56, 107, 0));
    opacity: 0.7;
}

.contact-details__block:hover {
    border-color: rgba(33, 56, 107, 0.22);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px rgba(21, 40, 72, 0.1);
    transform: translateY(-2px);
}

.contact-details__block:hover::before {
    opacity: 1;
}

.contact-details__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(33, 56, 107, 0.08);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(241, 244, 249, 0.78)),
    var(--mist);
    box-shadow: 0 10px 24px rgba(21, 40, 72, 0.06);
    color: var(--navy);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-details__block:hover .contact-details__icon {
    transform: translateY(-1px);
    border-color: rgba(33, 56, 107, 0.16);
    background: linear-gradient(145deg, rgba(33, 56, 107, 0.96), rgba(58, 84, 144, 0.92)),
    var(--navy);
    color: var(--white);
}

.contact-details h2 {
    margin-bottom: 0.42rem;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
}

.contact-details li,
.contact-details a {
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--body);
}

.contact-details a {
    display: inline-flex;
    width: fit-content;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(33, 56, 107, 0.22);
    transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.contact-details a:hover {
    transform: translateX(2px);
    color: var(--navy-deep);
    text-decoration-color: currentColor;
}

.contact-hours {
    display: grid;
    gap: 0.4rem;
}

.contact-hours li {
    display: grid;
    grid-template-columns: minmax(3rem, 0.45fr) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: baseline;
    min-height: 2.28rem;
    margin-inline: -0.45rem;
    padding: 0.42rem 0.45rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-hours li:hover {
    border-color: rgba(33, 56, 107, 0.12);
    background: rgba(241, 244, 249, 0.7);
}

.contact-hours li.is-today {
    border-color: rgba(33, 56, 107, 0.18);
    background: rgba(233, 238, 247, 0.82);
    box-shadow: inset 4px 0 0 var(--navy);
}

.contact-hours li.is-today span {
    font-weight: 700;
    color: var(--navy);
}

.contact-hours li.is-today strong {
    padding-inline: 0.46rem;
    background: var(--navy);
    color: var(--white);
}

.contact-hours li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-hours strong {
    display: inline-flex;
    justify-self: start;
    padding: 0.14rem 0.38rem;
    border-radius: var(--radius-sm);
    background: rgba(33, 56, 107, 0.055);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink);
}

.contact-details__block--assist {
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 64%, #314c86);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

.contact-details__block--assist:hover {
    border-color: rgba(176, 141, 95, 0.45);
}

.contact-details__block--assist::before {
    background: linear-gradient(180deg, var(--sand), rgba(244, 236, 224, 0.4));
}

.contact-details__block--assist::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.contact-details__icon--assist {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--sand);
}

.contact-details__block--assist:hover .contact-details__icon--assist {
    border-color: rgba(244, 236, 224, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: var(--sand-soft);
}

.contact-details__block--social {
    align-content: center;
    min-height: clamp(8.5rem, 15vw, 12rem);
}

.contact-details__icon--social {
    color: var(--sand-deep);
}

.contact-social__copy {
    max-width: 19rem;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--body);
}

.contact-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(33, 56, 107, 0.055), rgba(176, 141, 95, 0.08)),
    var(--white);
    color: var(--navy-deep);
    font-size: var(--text-sm);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(21, 40, 72, 0.06);
    transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease), color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.contact-social a:hover,
.contact-social a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(176, 141, 95, 0.36);
    background: linear-gradient(145deg, rgba(33, 56, 107, 0.09), rgba(176, 141, 95, 0.13)),
    var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 32px rgba(21, 40, 72, 0.1);
    color: var(--navy-deep);
    outline: 0;
}

.contact-social__logo {
    display: grid;
    place-items: center;
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(33, 56, 107, 0.12),
    0 6px 14px rgba(21, 40, 72, 0.06);
}

.contact-social__logo img {
    display: block;
    width: 1.48rem;
    height: 1.48rem;
}

.contact-assist {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 0.78rem;
    min-height: 0;
}

.contact-assist__label {
    margin-bottom: 0.34rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 236, 224, 0.78);
}

.contact-details__block--assist h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.32rem, 0.62vw + 1.12rem, 1.62rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: none;
    color: var(--white);
}

.contact-assist__list {
    display: grid;
    gap: 0.58rem;
    align-content: start;
}

.contact-assist__list li {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 0.62rem;
    align-items: start;
    color: rgba(255, 255, 255, 0.74);
}

.contact-assist__list li > span {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid rgba(176, 141, 95, 0.34);
    border-radius: var(--radius-sm);
    background: rgba(176, 141, 95, 0.12);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
    color: var(--sand-soft);
}

.contact-assist__list strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
}

.contact-assist__list p {
    margin-top: 0.12rem;
    font-size: var(--text-xs);
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.66);
}

.contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-height: 100%;
    padding: clamp(1.35rem, 2.35vw, 2.15rem);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--sand));
}

.contact-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-md);
    margin-bottom: clamp(1.15rem, 2vw, 1.65rem);
}

.contact-card__head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 1.15vw + 1.45rem, 2.55rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--ink);
}

.contact-success-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.contact-success-modal[hidden] {
    display: none;
}

.contact-success-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(14, 28, 51, 0.56);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.contact-success-modal__card {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(100%, 34rem);
    max-height: calc(100dvh - 2rem);
    padding: clamp(1.6rem, 4vw, 2.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    border: 1px solid rgba(176, 141, 95, 0.22);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, rgba(251, 249, 246, 0.97), rgba(255, 255, 255, 0.98)),
    var(--white);
    box-shadow: 0 28px 90px rgba(14, 28, 51, 0.28);
    text-align: center;
}

.contact-success-modal--notice {
    z-index: 420;
}

.contact-success-modal--notice .contact-success-modal__card {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.contact-success-modal--notice .contact-success-modal__icon {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.contact-success-modal--loading {
    z-index: 415;
}

.contact-success-modal--loading .contact-success-modal__backdrop {
    cursor: progress;
}

.contact-success-modal__spinner {
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1.1rem;
    border: 3px solid rgba(33, 56, 107, 0.16);
    border-top-color: var(--navy);
    border-right-color: var(--sand-deep);
    border-radius: 50%;
    animation: public-submit-spin 0.75s linear infinite;
}

.contact-success-modal--loading h2 {
    font-size: clamp(1.6rem, 1.3vw + 1.35rem, 2.2rem);
}

@keyframes public-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-success-modal__spinner {
        animation-duration: 1.8s;
    }
}

.contact-success-modal__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--sand));
}

.contact-success-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.contact-success-modal__close:hover,
.contact-success-modal__close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(33, 56, 107, 0.2);
    background: var(--white);
    outline: 0;
}

.contact-success-modal__brand {
    display: grid;
    justify-items: center;
    gap: 0.1rem;
    margin-bottom: 1.15rem;
}

.contact-success-modal__brand strong {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
}

.contact-success-modal__brand span {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-grey);
}

.contact-success-modal__icon {
    display: grid;
    place-items: center;
    width: 4.1rem;
    height: 4.1rem;
    margin-bottom: 1.1rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(145deg, rgba(176, 141, 95, 0.2), rgba(33, 56, 107, 0.08)),
    var(--sand-soft);
    color: var(--navy);
}

.contact-success-modal--error .contact-success-modal__card {
    border-color: rgba(151, 116, 74, 0.32);
}

.contact-success-modal--error .contact-success-modal__card::before {
    background: linear-gradient(90deg, var(--sand-deep), var(--navy));
}

.contact-success-modal--error .contact-success-modal__icon {
    background: linear-gradient(145deg, rgba(244, 236, 224, 0.9), rgba(255, 255, 255, 0.76)),
    var(--sand-soft);
    color: var(--sand-deep);
}

.contact-success-modal h2 {
    max-width: 26rem;
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.6vw + 1.4rem, 2.85rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
}

.contact-success-modal--notice h2 {
    font-size: 1.875rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

@media (max-width: 520px) {
    .contact-success-modal--notice h2 {
        font-size: 1.5rem;
    }
}

.contact-success-modal p:not(.eyebrow) {
    max-width: 25rem;
    margin-top: 0.95rem;
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--body);
}

.contact-success-modal__action {
    margin-top: 1.4rem;
}

.contact-success-modal__timer {
    color: var(--sand-deep);
    opacity: 0.5;
}

.contact-success-modal--error .contact-success-modal__timer {
    color: #a3342b;
}

body.is-modal-open {
    overflow: hidden;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.6vw, 1.35rem);
    min-height: 100%;
    scroll-margin-top: 7.5rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.85rem;
    align-items: start;
}

.contact-form__field {
    position: relative;
    display: grid;
    grid-template-rows: minmax(1.2rem, auto) minmax(3rem, auto) minmax(1.35rem, auto);
    gap: 0.35rem;
    align-content: start;
    min-width: 0;
}

.contact-form__field--full {
    grid-column: 1 / -1;
    grid-template-rows: auto;
}

.contact-form__field--route {
    padding-bottom: 0.2rem;
}

.contact-form__conditional {
    margin-top: -0.15rem;
}

.contact-form__conditional[hidden] {
    display: none;
}

.contact-form label,
.contact-form__label-row span {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    font-size: var(--text-sm);
    font-weight: 650;
    line-height: 1.3;
    color: var(--ink);
}

.contact-form__label-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.contact-form__label-row span {
    flex: none;
    color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: var(--text-base);
    line-height: 1.45;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.contact-form input,
.contact-form select {
    min-height: 3rem;
    padding: 0.68rem 0.9rem;
}

.contact-form textarea {
    min-height: 9.75rem;
    overflow: hidden;
    resize: none;
    padding: 0.9rem 0.95rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(33, 56, 107, 0.62);
    box-shadow: 0 0 0 4px rgba(33, 56, 107, 0.08);
    outline: 0;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
    border-color: rgba(151, 116, 74, 0.76);
    background: linear-gradient(0deg, rgba(244, 236, 224, 0.34), rgba(255, 255, 255, 0.92)),
    var(--white);
    box-shadow: 0 0 0 4px rgba(176, 141, 95, 0.1);
}

.contact-form__field.is-valid input,
.contact-form__field.is-valid select,
.contact-form__field.is-valid textarea {
    border-color: rgba(33, 56, 107, 0.34);
}

.contact-form__select {
    position: relative;
    display: block;
    min-width: 0;
}

.contact-form__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    pointer-events: none;
    transform: translateY(-62%) rotate(45deg);
}

.contact-form select {
    appearance: none;
    padding-right: 2.6rem;
}

.contact-form__hint {
    font-size: var(--text-xs);
    color: var(--muted);
}

.contact-form__error {
    display: inline-flex;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    min-height: 1.3rem;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    box-shadow: none;
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.35;
    color: var(--sand-deep);
    visibility: hidden;
}

.contact-form__error:not(:empty) {
    padding: 0.45rem 0.65rem;
    border-color: rgba(176, 141, 95, 0.26);
    background: rgba(244, 236, 224, 0.52);
    box-shadow: 0 10px 22px rgba(151, 116, 74, 0.08);
    visibility: visible;
}

.contact-recaptcha {
    display: flex;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    padding: 0.72rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--mist);
}

.contact-form__field--recaptcha.is-invalid .contact-recaptcha {
    border-color: rgba(151, 116, 74, 0.76);
    background: linear-gradient(0deg, rgba(244, 236, 224, 0.34), rgba(255, 255, 255, 0.92)),
    var(--white);
    box-shadow: 0 0 0 4px rgba(176, 141, 95, 0.1);
}

.contact-form__trap {
    position: absolute;
    left: -100vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__submit {
    min-width: 11.5rem;
    margin-top: auto;
}

/* --- Booking page --- */
.booking-page {
    background: var(--white);
}

.booking-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    min-height: 39rem;
    overflow: hidden;
    background: var(--navy-ink);
}

.booking-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 20, 39, 0.88) 0%, rgba(8, 20, 39, 0.72) 48%, rgba(8, 20, 39, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 20, 39, 0.04) 0%, rgba(8, 20, 39, 0.8) 100%);
    pointer-events: none;
}

.booking-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.booking-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
}

.booking-hero__inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: 39rem;
    padding-block: 8rem 5rem;
}

.booking-hero__copy {
    max-width: 43rem;
    color: rgba(255, 255, 255, 0.78);
}

.booking-hero .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.booking-hero h1 {
    margin-top: 0.65rem;
    font-family: var(--font-display);
    font-size: 4.25rem;
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: 0;
    color: var(--white);
}

.booking-hero p:not(.eyebrow) {
    max-width: 35rem;
    margin-top: 1.1rem;
    font-size: var(--text-xl);
    line-height: 1.58;
}

.booking-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.booking-hero__actions .btn {
    min-height: 3rem;
}

.booking-flow {
    background: linear-gradient(180deg, var(--cream) 0%, rgba(251, 249, 246, 0.72) 42%, var(--white) 100%);
}

.booking-flow__layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.booking-flow__side {
    position: sticky;
    top: 7.5rem;
}

.booking-flow__side h2 {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 2.65rem;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--ink);
}

.booking-steps {
    display: grid;
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid var(--line);
}

.booking-steps li {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 1rem;
    padding-block: 1.15rem;
    border-bottom: 1px solid var(--line);
}

.booking-steps > li > span {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1;
}

.booking-steps h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0;
}

.booking-steps p {
    margin-top: 0.2rem;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--muted);
}

.booking-support {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.7);
}

.booking-support > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: var(--radius-pill);
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.booking-support strong,
.booking-support a {
    display: block;
    font-size: var(--text-sm);
    line-height: 1.45;
}

.booking-support strong {
    color: var(--ink);
}

.booking-support a {
    margin-top: 0.12rem;
    color: var(--navy);
    font-weight: 700;
}

.booking-panel {
    border: 1px solid rgba(227, 231, 238, 0.86);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.booking-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(234, 243, 255, 0.88), rgba(244, 236, 224, 0.54)),
    var(--white);
}

.booking-panel__head h2 {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0;
}

.booking-panel__head > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.booking-form {
    gap: 0;
    padding: clamp(1.25rem, 3vw, 2.1rem);
}

.booking-form__group {
    display: grid;
    gap: 1.05rem;
    padding-block: 1.35rem;
    border-top: 1px solid var(--line-soft);
}

.booking-form__group:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.booking-form__group-head {
    display: grid;
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.booking-form__group-head > span {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(33, 56, 107, 0.16);
    border-radius: var(--radius-pill);
    background: var(--sky-soft);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
}

.booking-form__group-head h3 {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.booking-form__group-head p {
    margin-top: 0.2rem;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--muted);
}

.booking-treatment-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.booking-treatment-choice {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-height: 6.25rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.booking-treatment-choice:hover,
.booking-treatment-choice:focus-visible {
    border-color: rgba(33, 56, 107, 0.42);
    box-shadow: 0 12px 24px rgba(21, 40, 72, 0.08);
    transform: translateY(-1px);
}

.booking-treatment-choice.is-selected {
    border-color: rgba(33, 56, 107, 0.72);
    background: linear-gradient(0deg, rgba(234, 243, 255, 0.72), rgba(255, 255, 255, 0.92)),
    var(--white);
    box-shadow: inset 0 0 0 1px rgba(33, 56, 107, 0.2);
}

.booking-treatment-choice__image {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--mist);
}

.booking-treatment-choice__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-treatment-choice__copy {
    min-width: 0;
}

.booking-treatment-choice__copy strong,
.booking-treatment-choice__copy small {
    display: block;
}

.booking-treatment-choice__copy strong {
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}

.booking-treatment-choice__copy small {
    display: -webkit-box;
    margin-top: 0.28rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: var(--text-xs);
    line-height: 1.38;
    color: var(--muted);
}

.booking-summary {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(33, 56, 107, 0.16);
    border-radius: var(--radius-sm);
    background: var(--sky-soft);
}

.booking-summary > span {
    display: grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--navy);
}

.booking-summary strong,
.booking-summary p {
    display: block;
    min-width: 0;
}

.booking-summary strong {
    font-size: var(--text-sm);
    color: var(--ink);
}

.booking-summary p {
    margin-top: 0.12rem;
    overflow-wrap: anywhere;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--body);
}

.booking-form__submit {
    width: 100%;
    min-height: 3.15rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .booking-flow__layout {
        grid-template-columns: 1fr;
    }

    .booking-flow__side {
        position: static;
    }

    .booking-flow__side h2 {
        max-width: 38rem;
    }
}

@media (max-width: 720px) {
    .booking-hero,
    .booking-hero__inner {
        min-height: 35rem;
    }

    .booking-hero__inner {
        padding-block: 7rem 3.5rem;
    }

    .booking-hero h1 {
        font-size: 3.05rem;
    }

    .booking-hero__actions,
    .booking-hero__actions .btn {
        width: 100%;
    }

    .booking-treatment-picker,
    .booking-form .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .booking-panel__head {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .booking-hero h1 {
        font-size: 2.55rem;
    }

    .booking-flow {
        padding-block: 3.5rem;
    }

    .booking-panel {
        border-radius: var(--radius-sm);
    }

    .booking-panel__head,
    .booking-form {
        padding-inline: 1rem;
    }

    .booking-treatment-choice {
        grid-template-columns: 4.75rem minmax(0, 1fr);
    }
}

/* --- Footer --- */
.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(4rem, 7vw, 6rem) 0;
    background: linear-gradient(180deg, rgba(21, 40, 72, 0.98), rgba(14, 28, 51, 0.98) 64%, var(--navy-ink)),
    var(--navy-ink);
    color: rgba(255, 255, 255, 0.58);
    font-size: var(--text-sm);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 36%),
    linear-gradient(280deg, rgba(58, 84, 144, 0.18), rgba(58, 84, 144, 0) 46%);
    opacity: 0.82;
    pointer-events: none;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    pointer-events: none;
}

.footer .shell {
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns:
        minmax(17rem, 21rem)
        minmax(9.5rem, 0.7fr)
        minmax(14.5rem, 1fr)
        minmax(22rem, 1.45fr);
    column-gap: clamp(1.5rem, 2.6vw, 2.5rem);
    row-gap: 1.15rem;
    align-items: stretch;
    padding-top: 0.25rem;
}

.footer__panel {
    position: relative;
    display: grid;
    grid-template-rows: 4.75rem auto;
    min-width: 0;
}

.footer__brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.footer__nav {
    grid-column: 2;
    grid-row: 1;
}

.footer__visit {
    grid-column: 3;
    grid-row: 1;
}

.footer__contact {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: stretch;
}

.footer__brand img {
    width: 196px;
    height: 42px;
    margin-bottom: 2.125rem;
    object-fit: contain;
    object-position: left top;
}

.footer__brand p {
    max-width: 24rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.footer__social-title {
    margin-top: clamp(1.45rem, 2vw, 2rem);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer__social {
    display: grid;
    grid-template-columns: repeat(2, minmax(8.75rem, 1fr));
    gap: 0.7rem;
    margin-top: var(--gap-sm);
    max-width: 20rem;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(21, 40, 72, 0.42);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__social a:hover,
.footer__social a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(58, 84, 144, 0.36);
    color: var(--white);
}

.footer__social-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    color: inherit;
    transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__social-icon img {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

.footer__social a:hover .footer__social-icon,
.footer__social a:focus-visible .footer__social-icon {
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    transform: scale(1.06);
}

.footer__map {
    grid-column: 1 / 4;
    grid-row: 2;
    display: block;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: clamp(5.8rem, 7vw, 7rem);
    margin-top: 0;
}

.footer__map-link {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    min-height: inherit;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(4, 12, 26, 0.16);
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.footer__map-link:hover,
.footer__map-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(244, 236, 224, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 42px rgba(4, 12, 26, 0.24);
    outline: 0;
}

.footer__map-frame {
    display: block;
    height: 100%;
    min-height: inherit;
    background: rgba(255, 255, 255, 0.06);
}

.footer__map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.82) contrast(0.94);
    pointer-events: none;
    transform: scale(1.01);
}

.footer__map-open {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(14, 28, 51, 0.78);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(4, 12, 26, 0.18);
    transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.footer__map-link:hover .footer__map-open,
.footer__map-link:focus-visible .footer__map-open {
    transform: translateY(-1px);
    background: rgba(21, 40, 72, 0.9);
}

.footer h4 {
    display: flex;
    align-items: flex-start;
    min-height: 0;
    margin-bottom: 0;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
}

.footer h4::after {
    content: "";
    width: 1.65rem;
    height: 1px;
    margin-left: 0.8rem;
    background: rgba(255, 255, 255, 0.18);
}

.footer__subhead {
    min-height: auto;
    margin-top: 1.55rem;
    margin-bottom: 0.85rem;
}

.footer__hours {
    display: grid;
    gap: 0.5rem;
    max-width: 24rem;
}

.footer__panel ul:not(.footer__hours) {
    display: grid;
    gap: 0.72rem;
}

.footer__address {
    display: block;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
    line-height: 1.2;
}

.footer__address span {
    display: block;
}

.footer__panel ul:not(.footer__hours) a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s var(--ease);
}

.footer__panel ul:not(.footer__hours) a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.16rem;
    height: 1px;
    background: currentColor;
    opacity: 0.42;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.footer__panel ul:not(.footer__hours) a:hover,
.footer__panel ul:not(.footer__hours) a:focus-visible {
    color: var(--white);
}

.footer__panel ul:not(.footer__hours) a:hover::after,
.footer__panel ul:not(.footer__hours) a:focus-visible::after {
    opacity: 0.82;
    transform: scaleX(1);
}

.footer__hours li {
    display: grid;
    grid-template-columns: minmax(11rem, 1fr) auto;
    gap: 0.9rem;
    align-items: baseline;
    min-height: 2rem;
    margin-inline: -0.55rem;
    padding: 0.34rem 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.footer__hours li.is-today {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(241, 244, 249, 0.9);
    box-shadow: inset 4px 0 0 var(--white);
}

.footer__hours li.is-today span {
    color: var(--navy);
    font-weight: 700;
}

.footer__hours li.is-today strong {
    padding: 0.12rem 0.46rem;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
}

.footer__hours span {
    min-width: 0;
    white-space: nowrap;
}

.footer__hours strong {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.footer li + li {
    margin-top: 0;
}

.footer__hours li + li {
    margin-top: 0;
}

.footer a {
    transition: color 0.2s var(--ease);
}

.footer__nav a,
.footer__panel li,
.footer__contact a {
    white-space: nowrap;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
    margin-top: clamp(3rem, 5vw, 4.5rem);
    padding-block: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.42);
}

.footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* --- Legal pages --- */
.legal-page {
    background: var(--cream);
}

.legal-page__inner {
    max-width: 860px;
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1.08;
}

.legal-page .lede {
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    color: var(--muted);
}

.legal-page__content {
    display: grid;
    gap: var(--gap-lg);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.legal-page__content section {
    padding-top: var(--gap-md);
    border-top: 1px solid var(--line);
}

.legal-page__content h2 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
}

.legal-page__content p {
    margin-top: var(--gap-xs);
    font-size: var(--text-base);
    color: var(--body);
}

.legal-page__content a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Public product catalogue ------------------------------------------- */

.shop-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 6vw, 5.5rem);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 36%, rgba(255, 255, 255, 0.38) 67%, rgba(255, 255, 255, 0.1) 100%),
        url("../img/products-hero-clinic.jpg") center / cover no-repeat,
        var(--cream);
}

.shop-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.shop-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 4.4vw + 1.2rem, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.shop-hero__lede {
    max-width: 38rem;
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    line-height: 1.62;
    color: var(--body);
}

/* Product shopping notice in the catalogue hero. */
.shop-hero__notice {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.shop-hero__notice-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--gap-sm);
    border-radius: var(--radius-pill);
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.shop-hero__notice h2 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1.2;
}

.shop-hero__notice p {
    margin-block: var(--gap-sm) var(--gap-md);
    font-size: var(--text-base);
    color: var(--muted);
}

@media (max-width: 900px) {
    .shop-hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.58)),
            url("../img/products-hero-clinic.jpg") 62% center / cover no-repeat,
            var(--cream);
    }
}

/* Category chips */
.shop-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    margin-bottom: var(--gap-lg);
}

.shop-filter__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.shop-filter__chip:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.shop-filter__chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.shop-controls {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: var(--gap-lg);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.shop-controls__field {
    display: grid;
    flex: 1 1 11rem;
    gap: 0.3rem;
    min-width: min(100%, 10rem);
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 600;
}

.shop-controls__field--search {
    flex-basis: 15rem;
}

.shop-controls__field :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: var(--button-height);
    padding: 0.55rem 2rem 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.shop-controls__field :is(input, select):focus-visible {
    border-color: var(--navy);
}

.shop-controls__availability {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: var(--button-height);
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
}

.shop-controls__availability input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--navy);
}

.shop-controls__reset {
    display: inline-flex;
    align-items: center;
    min-height: var(--button-height);
    color: var(--navy);
    font-size: var(--text-sm);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.shop-controls__reset:hover {
    color: var(--navy-deep);
}

@media (max-width: 520px) {
    .shop-controls__field {
        flex: 1 1 100%;
    }

    .shop-controls__submit {
        flex: 1 1 auto;
    }
}

.shop__count {
    margin-bottom: var(--gap-md);
    font-size: var(--text-sm);
    color: var(--muted);
}

.shop-results__summary {
    display: grid;
    gap: 0.65rem;
    margin-bottom: var(--gap-md);
}

.shop-results__summary .shop__count {
    margin-bottom: 0;
}

.shop-results__applied {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: var(--text-sm);
}

.shop-results__applied span {
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--sky-soft);
    color: var(--ink);
}

.shop-results__applied a {
    margin-left: 0.25rem;
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
    align-items: start;
    grid-auto-flow: dense;
    gap: clamp(1rem, 2vw, 1.35rem);
}

.shop-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 33rem;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(21, 40, 72, 0.045);
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), min-height 0.35s var(--ease);
}

.shop-card:hover,
.shop-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(33, 56, 107, 0.2);
    box-shadow: 0 18px 46px rgba(21, 40, 72, 0.11);
}

.shop-card.is-selected {
    border-color: rgba(33, 56, 107, 0.36);
    box-shadow: 0 26px 64px rgba(21, 40, 72, 0.16);
}

.shop-card__media {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    padding: clamp(1rem, 4%, 1.35rem);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: height 0.35s var(--ease), padding 0.35s var(--ease);
}

.shop-card.is-selected .shop-card__media {
    height: auto;
    padding: clamp(1rem, 4%, 1.35rem);
}

.shop-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.shop-card:hover .shop-card__image,
.shop-card:focus-within .shop-card__image {
    filter: saturate(1.02);
}

.shop-card.is-selected .shop-card__image {
    filter: saturate(1.03) contrast(1.01);
}

/* Stands in for photography: the product's initial on a soft wash, so a card
   with no image still reads as designed rather than broken. */
.shop-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #e7ecf4 0%, #cdd8e8 100%);
}

.shop-card__placeholder span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--navy);
    opacity: 0.55;
}

.shop-card__flag {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(21, 40, 72, 0.86);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--white);
}

.shop-card__select {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    display: grid;
    place-items: center;
    width: var(--button-height);
    height: var(--button-height);
    padding: 0;
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    box-shadow: 0 10px 24px rgba(21, 40, 72, 0.12);
    cursor: pointer;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.shop-card__select:hover,
.shop-card__select:focus-visible,
.shop-card.is-selected .shop-card__select {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.shop-card.is-selected .shop-card__select {
    transform: rotate(45deg);
}

.shop-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    min-height: 16.5rem;
    padding: clamp(1.05rem, 1.5vw, 1.35rem);
}

.shop-card__brand {
    min-height: 1rem;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sand-deep);
}

.shop-card__name {
    min-height: 3.15rem;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.18;
}

.shop-card__copy {
    display: -webkit-box;
    height: 4.25rem;
    overflow: hidden;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.shop-card.is-selected .shop-card__copy {
    display: block;
    height: auto;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.shop-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    align-self: end;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}

.shop-card__price {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    color: var(--ink);
}

.shop-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: var(--button-height);
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--navy);
    border-radius: var(--button-radius);
    background: var(--navy);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.25;
    color: var(--white);
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.shop-card__cta:hover:where(:not(:disabled)) {
    border-color: var(--navy-deep);
    background: var(--navy-deep);
    color: var(--white);
}

.header__cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.header__cart:hover,
.header__cart:focus-visible {
    border-color: var(--navy);
    background: var(--sky-soft);
    color: var(--navy);
}

@media (max-width: 900px) {
    .header__cart span {
        display: none;
    }
}

.shop-card__form {
    margin: 0;
}

button.shop-card__cta {
    font-family: inherit;
    cursor: pointer;
}

button.shop-card__cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

button.shop-card__cta:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.shop-card__cta--muted {
    background: var(--white);
    color: var(--navy);
}

.shop-card__cta--muted:hover:where(:not(:disabled)) {
    background: var(--sky-soft);
    border-color: var(--navy);
    color: var(--navy);
}

.shop-card__cta svg {
    transition: transform 0.25s var(--ease);
}

.shop-card:hover .shop-card__cta svg {
    transform: translateX(3px);
}

.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 340;
    display: grid;
    place-items: center;
    padding: clamp(0.75rem, 3vw, 2rem);
}

.product-detail-modal[hidden],
.product-detail-modal [hidden] {
    display: none;
}

.product-detail-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(14, 28, 51, 0.62);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.product-detail-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100%, 48rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 1px solid rgba(33, 56, 107, 0.16);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(14, 28, 51, 0.28);
}

.product-detail-modal__panel:focus {
    outline: 0;
}

.product-detail-modal__close {
    position: absolute;
    z-index: 2;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
}

.product-detail-modal__close:hover,
.product-detail-modal__close:focus-visible {
    border-color: var(--navy);
    background: var(--sky-soft);
}

.product-detail-modal__media {
    --product-detail-media-inset: clamp(1rem, 3vw, 2rem);
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1 / 1;
    align-self: center;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: var(--white);
}

.product-detail-modal__media .shop-card__image,
.product-detail-modal__media .shop-card__placeholder {
    position: absolute;
    inset: var(--product-detail-media-inset);
    width: calc(100% - 2 * var(--product-detail-media-inset));
    height: calc(100% - 2 * var(--product-detail-media-inset));
    object-fit: contain;
}

.product-detail-modal__body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: 3.5rem;
}

.product-detail-modal__brand {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-detail-modal__title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.5vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.product-detail-modal__description {
    color: var(--body);
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-detail-modal__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}

.product-detail-modal__price {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.45rem;
    white-space: nowrap;
}

.product-detail-modal__status {
    color: var(--muted);
    font-size: var(--text-sm);
}

.product-detail-modal__action {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

@media (max-width: 700px) {
    .product-detail-modal__panel {
        grid-template-columns: 1fr;
    }

    .product-detail-modal__media {
        --product-detail-media-inset: 1rem;
        width: 100%;
        height: min(34dvh, 15rem);
        aspect-ratio: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-detail-modal__body {
        gap: 0.7rem;
        padding: 1.2rem;
    }

    .product-detail-modal__title {
        padding-right: 2rem;
    }
}

.shop-empty {
    max-width: 34rem;
    margin-inline: auto;
    padding-block: var(--gap-xl);
    text-align: center;
}

.shop-empty h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 300;
    line-height: 1.1;
}

.shop-empty p {
    margin-top: var(--gap-md);
    font-size: var(--text-xl);
    color: var(--muted);
}

.shop-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

/* How to buy */
.shop-how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    counter-reset: none;
    list-style: none;
}

.shop-how__steps li {
    padding-top: var(--gap-lg);
    border-top: 1px solid var(--line);
}

.shop-how__num {
    display: block;
    margin-bottom: var(--gap-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--sand);
}

.shop-how__steps h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1.2;
}

.shop-how__steps p {
    margin-top: var(--gap-xs);
    font-size: var(--text-base);
    color: var(--muted);
}

/* ==========================================================================
   6. Motion & responsive
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1180px) {
    :root {
        --section-y: 4.5rem;
    }

    .shop-hero__inner {
        grid-template-columns: 1fr;
    }

    .shop-how__steps {
        grid-template-columns: 1fr;
    }

    .about,
    .portal,
    .team-hero__header,
    .contact-hero__inner,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .team-showcase {
        grid-template-columns: 1fr;
    }

    .team-showcase__card,
    .team-showcase__card:nth-child(2),
    .team-showcase__card:nth-child(3) {
        min-height: 24rem;
    }

    .team-showcase__photo {
        inset: auto;
        aspect-ratio: 16 / 9;
    }

    .practitioner-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .practitioner-card__media {
        align-items: flex-start;
    }

    .practitioner-card__portrait {
        max-height: 32rem;
    }

    .practitioner-card__details {
        grid-template-columns: 1fr;
    }

    .contact-hero__panel {
        max-width: 30rem;
    }

    .contact-hero__hours-tip {
        top: calc(100% + 0.65rem);
        right: 0;
        left: auto;
        transform: translateY(-0.25rem);
    }

    .contact-hero__hours-tip::before {
        top: -0.34rem;
        right: 1.15rem;
        left: auto;
        border: 0;
        border-top: 1px solid rgba(33, 56, 107, 0.12);
        border-left: 1px solid rgba(33, 56, 107, 0.12);
        transform: rotate(45deg);
    }

    .contact-hero__hours-link:hover .contact-hero__hours-tip,
    .contact-hero__hours-link:focus-visible .contact-hero__hours-tip {
        transform: translateY(0);
    }

    .portal {
        align-items: start;
    }

    .contact-main,
    .contact-details {
        min-height: 0;
    }

    .contact-main {
        align-items: start;
    }

    .contact-details {
        grid-template-rows: none;
    }

    .contact-card,
    .contact-form {
        min-height: 0;
    }

    .contact-card {
        height: auto;
    }

    .contact-form__submit {
        margin-top: 0;
    }

    .treatment-directory-hero__inner,
    .category-hero__inner,
    .treatment-detail__inner {
        grid-template-columns: 1fr;
    }

    .treatment-directory-hero__panel {
        min-height: 32rem;
    }

    .category-hero__media {
        min-height: 32rem;
    }

    .category-quicklook__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-feature-card:first-child {
        grid-column: 1 / -1;
    }

    .treatment-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-detail__rail {
        position: static;
    }

    .category-hero__summary {
        min-height: 21rem;
    }

    .hero__stage {
        min-height: min(620px, calc(100svh - 8rem));
    }

    .hero h1 {
        font-size: clamp(3.7rem, 8vw, 5.8rem);
    }

    .hero-treatment-orbit {
        width: min(48rem, 90%);
        height: 16rem;
    }

    .hero-treatment-orbit__track li {
        transform: translate3d(var(--chip-tablet-x), var(--chip-tablet-y), 0);
    }

    .hero-treatment-chip {
        min-width: 7.4rem;
        max-width: 9.6rem;
        height: 2.85rem;
        padding-inline: 0.85rem;
        font-size: 0.82rem;
    }

    .grid-3,
    .journey {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .footer__brand,
    .footer__nav,
    .footer__visit,
    .footer__contact,
    .footer__map {
        grid-column: auto;
        grid-row: auto;
    }

    .footer__brand {
        min-height: 0;
    }

    .footer__social-title {
        margin-top: 1.5rem;
    }

    .footer__map {
        max-width: 100%;
        min-height: 12rem;
    }

    .footer__map-link,
    .footer__map-frame {
        height: 100%;
    }

    /* Collapse the desktop nav into a disclosure panel */
    .nav-toggle {
        display: block;
    }

    .header__inner {
        gap: 0.75rem;
    }

    .header__logo::after {
        display: none;
    }

    .header__logo {
        min-width: 0;
        padding-right: 0;
    }

    .header__logo img {
        width: clamp(144px, 24vw, 180px);
    }

    .header__actions {
        min-width: 0;
        gap: 0.5rem;
    }

    .header__cart,
    .header__account,
    .header__actions .btn--primary,
    .nav-toggle {
        flex: 0 0 auto;
    }

    .header__actions .btn--primary {
        min-height: 2.75rem;
        padding-inline: 0.9rem 1rem;
    }

    .nav {
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        align-self: auto;
        gap: 0.18rem;
        max-height: calc(100dvh - 104px);
        overflow-y: auto;
        padding: 0.65rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 249, 246, 0.98)),
        var(--white);
        border: 1px solid rgba(227, 231, 238, 0.92);
        border-radius: var(--radius-sm);
        box-shadow: 0 24px 54px rgba(21, 40, 72, 0.16);
    }

    .nav[hidden] {
        display: none;
    }

    .nav__item {
        display: block;
        align-self: auto;
        border-bottom: 0;
    }

    .nav__item:last-child {
        border-bottom: 0;
    }

    .nav__item-main {
        display: flex;
        align-items: center;
        border-radius: var(--radius-sm);
    }

    .nav__link {
        flex: 1;
        min-height: 3rem;
        padding: 0 0.9rem;
        border-radius: var(--radius-sm);
        font-size: var(--text-base);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link[aria-current="page"] {
        font-weight: 600;
    }

    .nav__menu-toggle {
        width: 44px;
        height: 44px;
    }

    .nav__submenu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0.1rem 0 0.65rem 0.6rem;
        padding: 0.2rem 0 0.2rem 0.8rem;
        background: transparent;
        border: 0;
        border-left: 1px solid rgba(77, 143, 217, 0.36);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .nav__submenu::before {
        display: none;
    }

    .nav__submenu--treatments,
    .nav__item--has-menu:hover .nav__submenu--treatments,
    .nav__item--has-menu:focus-within .nav__submenu--treatments,
    .nav__item.is-open .nav__submenu--treatments {
        left: auto;
        width: auto;
        grid-template-columns: 1fr;
        transform: none;
    }

    .nav__item.is-open .nav__submenu {
        display: grid;
        gap: 0.05rem;
    }

    .nav__submenu-link {
        padding: 0.55rem 0.75rem;
    }

    .header__inner {
        position: relative;
    }

    .header__login {
        display: none;
    }

    .nav__item--auth {
        display: block;
        margin-top: 0.35rem;
        padding-top: 0.6rem;
        border-top: 1px solid var(--line);
    }

    .nav__item--auth .nav__link {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        color: var(--navy);
        font-weight: 600;
    }
}

@media (max-width: 720px) {
    :root {
        --gap-md: 1.125rem;
        --gap-lg: 1.75rem;
        --gap-xl: 2.75rem;
        --section-y: 3.75rem;
    }

    body {
        font-size: var(--text-base);
    }

    .announce__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 0.85rem;
        min-height: 0;
        padding-block: 0.55rem;
        line-height: 1.25;
        text-align: center;
    }

    .announce__status {
        flex-basis: 100%;
        justify-content: center;
    }

    .announce__actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem 0.85rem;
    }

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

    .shop,
    .shop-hero {
        overflow-x: hidden;
    }

    .shop-hero {
        padding-block: 3rem;
    }

    .shop-hero__inner > * {
        min-width: 0;
    }

    .shop-hero h1 {
        max-width: 20rem;
        font-size: clamp(2.85rem, 12vw, 3.25rem);
        line-height: 1;
        text-wrap: balance;
    }

    .shop-hero__lede,
    .shop-hero__notice {
        max-width: 100%;
    }

    .shop-filter {
        align-items: flex-start;
    }

    .shop-card,
    .shop-card.is-selected {
        grid-column: auto;
        min-height: 0;
    }

    .shop-card__media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 0.6rem;
    }

    .shop-card.is-selected .shop-card__media {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .shop-card__body {
        min-height: 0;
        padding: 0.85rem;
    }

    .shop-card__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .shop-card__price {
        white-space: nowrap;
    }

    .shop-card__form,
    .shop-card__cta {
        width: 100%;
    }

    .shop-card__name {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .shop-card__copy {
        -webkit-line-clamp: 2;
    }

    .shell {
        padding-inline: 1rem;
    }

    .header__inner {
        gap: 0.75rem;
        min-height: 72px;
    }

    .header__logo img {
        width: 148px;
    }

    .header__actions {
        gap: 0.6rem;
    }

    .header__actions .btn {
        display: none;
    }

    .nav {
        max-height: calc(100dvh - 92px);
        padding-inline: 1rem;
    }

    .hero {
        padding-block: 0.9rem 2rem;
    }

    .hero__stage {
        min-height: 38rem;
        border-radius: 1.6rem;
    }

    .hero__image {
        object-position: 82% 34%;
    }

    .hero__copy {
        width: min(28rem, calc(100% - 1.5rem));
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: 3.15rem;
        letter-spacing: 0;
    }

    .hero__lede {
        max-width: 24rem;
        font-size: var(--text-base);
    }

    .section-head .lede,
    .cta p,
    .team-hero__lede,
    .contact-hero__lede {
        font-size: var(--text-base);
    }

    .team-hero {
        padding-block: 3.5rem 2.75rem;
    }

    .team-hero h1 {
        font-size: 2.85rem;
    }

    .team-hero__actions .btn {
        flex: 1 1 100%;
    }

    .team-showcase__card,
    .team-showcase__card:nth-child(2),
    .team-showcase__card:nth-child(3) {
        min-height: 22rem;
        padding: 0.85rem;
    }

    .team-showcase__photo {
        inset: auto;
        aspect-ratio: 16 / 10;
    }

    .team-showcase__badge {
        left: 1.35rem;
        top: 1.35rem;
        max-width: calc(100% - 2.7rem);
    }

    .team-showcase__copy strong {
        font-size: 2.2rem;
    }

    .practitioner-card__body {
        padding: 1.35rem;
    }

    .practitioner-facts {
        grid-template-columns: 1fr;
    }

    .practitioner-facts div,
    .practitioner-facts div:first-child {
        padding: 0.85rem 0;
        border-left: 0;
    }

    .practitioner-facts div + div {
        border-top: 1px solid var(--line);
    }

    .practitioner-card__portrait {
        max-height: none;
    }

    .team-booking__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-booking__inner .btn {
        width: 100%;
    }

    .treatment-directory-hero,
    .category-hero {
        padding-block: 3.5rem 3rem;
    }

    .treatment-directory-hero h1,
    .category-hero h1 {
        font-size: 3rem;
    }

    .treatment-directory-hero__copy > p:not(.eyebrow),
    .category-hero__lede {
        font-size: var(--text-base);
    }

    .treatment-page-grid,
    .subcategory-grid {
        grid-template-columns: 1fr;
    }

    .treatment-subcategory-tabs {
        grid-template-columns: 1fr;
    }

    .treatment-subcategory-tab {
        min-height: 0;
    }

    .treatment-directory-hero__actions,
    .category-hero__actions,
    .treatment-cta__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .treatment-directory-hero__actions .btn,
    .category-hero__actions .btn,
    .treatment-cta__inner .btn {
        width: 100%;
    }

    .treatment-directory-stats {
        grid-template-columns: 1fr;
    }

    .treatment-directory-hero__panel {
        min-height: 25rem;
    }

    .category-hero__media {
        min-height: 25rem;
    }

    .category-hero__badge {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-quicklook {
        margin-top: 0;
    }

    .category-quicklook__grid {
        grid-template-columns: 1fr;
    }

    .category-quicklook__card {
        min-height: 0;
    }

    .treatment-catalogue-modal {
        align-items: end;
        padding: 0.75rem;
    }

    .treatment-catalogue-modal__panel {
        max-height: 88vh;
        border-radius: var(--radius-sm);
    }

    .treatment-catalogue-modal__head {
        padding: 1.2rem 4rem 0.85rem 1rem;
    }

    .treatment-catalogue-modal__body {
        padding: 1rem;
    }

    .treatment-catalogue-table {
        border: 0;
        background: transparent;
    }

    .treatment-catalogue-table__head {
        display: none;
    }

    .treatment-catalogue-table__row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.9rem;
        border: 1px solid rgba(77, 143, 217, 0.18);
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.82);
    }

    .treatment-catalogue-table__row + .treatment-catalogue-table__row {
        margin-top: 0.65rem;
        border-top: 1px solid rgba(77, 143, 217, 0.18);
    }

    .treatment-catalogue-table__row span::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.18rem;
        color: var(--sand-deep);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .treatment-catalogue-modal__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .treatment-catalogue-modal__actions .btn {
        width: 100%;
    }

    .treatment-directory-hero__thumbs {
        display: none;
    }

    .treatment-pathway-strip {
        margin-top: 0;
    }

    .treatment-pathway-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .treatment-feature-grid {
        grid-template-columns: 1fr;
    }

    .treatment-feature-card,
    .treatment-feature-card:first-child {
        grid-column: auto;
        min-height: 24rem;
    }

    .treatment-feature-card__chips {
        display: none;
    }

    .subcategory-card__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .hero-treatment-orbit {
        width: min(31rem, 92%);
        height: 12.8rem;
    }

    .hero-treatment-orbit__track li {
        transform: translate3d(var(--chip-mobile-x), var(--chip-mobile-y), 0);
    }

    .hero-treatment-chip {
        min-width: 6.8rem;
        max-width: 8.7rem;
        height: 2.55rem;
        padding: 0.42rem 0.7rem;
        font-size: 0.72rem;
    }

    .hero-treatment-chip::before {
        width: 0.36rem;
        height: 0.36rem;
        margin-right: 0.38rem;
    }

    .hero-treatment-orbit__hub {
        width: 11.2rem;
        height: 5.8rem;
        padding: 0 0.82rem 0.5rem;
        gap: 0.38rem;
    }

    .hero__mini-cta {
        display: none;
    }

    .trust__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust__list li:nth-child(3) {
        border-left: 0;
    }

    .trust__list li:nth-child(n + 3) {
        border-top: 1px solid var(--line-soft);
    }

    .grid-3,
    .journey,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .about__point,
    .portal__feature {
        padding: 1.25rem;
    }

    .portal__feature {
        align-items: flex-start;
        gap: 0.9rem;
    }

    .concerns {
        display: grid;
        grid-template-columns: 1fr;
    }

    .concerns li a {
        width: 100%;
        justify-content: space-between;
        border-radius: var(--radius-sm);
    }

    .contact-hero {
        padding-block: 3.5rem 2rem;
    }

    .contact-hero h1 {
        font-size: 2.85rem;
        letter-spacing: 0;
    }

    .contact-hero__panel,
    .contact-card {
        border-radius: var(--radius-sm);
    }

    .contact-hero__action {
        grid-template-columns: 2.25rem minmax(0, 1fr) 1.35rem;
        padding: 0.65rem;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-recaptcha {
        padding: 0.55rem;
    }

    .contact-card {
        box-shadow: var(--shadow-md);
        padding: 1.25rem;
    }

    .contact-card__head {
        flex-direction: column;
    }

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

    .footer__grid {
        row-gap: 1.6rem;
    }

    .footer__panel {
        grid-template-rows: auto auto;
        gap: 0.9rem;
    }

    .footer__map {
        min-height: 12.5rem;
    }

    .footer__map-open {
        top: 0.55rem;
        right: 0.55rem;
    }

    .section-head--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .announce__inner {
        padding-block: 0.5rem;
    }

    .announce__phone-text {
        display: none;
    }

    .cta__actions .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .shop-hero {
        padding-block: 2rem 1.5rem;
    }

    .shop-hero__inner {
        gap: 1rem;
    }

    .shop-hero__lede {
        margin-top: 0.75rem;
        font-size: var(--text-base);
        line-height: 1.5;
        color: var(--body);
    }

    .shop-hero__notice {
        padding: 1.125rem;
    }

    .shop-hero__notice-icon {
        margin-bottom: 0.5rem;
    }

    .shop-hero__notice p {
        display: none;
    }

    .shop-hero__notice .btn {
        margin-top: 0.75rem;
    }

    .shop-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .shell {
        padding-inline: 0.875rem;
    }

    .hero h1,
    .team-hero h1,
    .contact-hero h1,
    .treatment-directory-hero h1,
    .category-hero h1 {
        font-size: 2.55rem;
    }

    .hero h1 {
        font-size: clamp(2.18rem, 10.6vw, 2.42rem);
        line-height: 0.94;
        text-wrap: balance;
    }

    .hero__mobile-break {
        display: inline;
    }

    .hero__stage {
        min-height: clamp(29.5rem, 76svh, 37.5rem);
    }

    .hero__copy {
        padding-top: 2.25rem;
        width: min(19.5rem, calc(100% - 1rem));
    }

    .hero__lede {
        max-width: 18.25rem;
        margin-top: 0.8rem;
        font-size: 0.94rem;
        line-height: 1.42;
    }

    .practitioner-card__portrait {
        aspect-ratio: 1 / 1;
    }

    .practitioner-tags li {
        flex: 1 1 100%;
    }

    .trust__list {
        grid-template-columns: 1fr;
    }

    .trust__list li {
        border-left: 0;
        border-top: 1px solid var(--line-soft);
    }

    .trust__list li:first-child {
        border-top: 0;
    }

    .hero-treatment-orbit {
        bottom: 0.22rem;
        width: min(19.5rem, calc(100% - 0.75rem));
        height: 10.45rem;
    }

    .hero-treatment-orbit__track li {
        transform: translate3d(var(--chip-small-x), var(--chip-small-y), 0);
    }

    .hero-treatment-orbit__track {
        animation: none;
    }

    .hero-treatment-orbit__track li:nth-child(n + 7) {
        display: none;
    }

    .hero-treatment-chip {
        min-width: 5.7rem;
        max-width: 6.35rem;
        height: 2.18rem;
        padding-inline: 0.46rem;
        font-size: 0.62rem;
    }

    .hero-treatment-orbit__hub {
        width: min(8.8rem, 48vw);
        height: 4.85rem;
        padding: 0 0.58rem 0.42rem;
        gap: 0.34rem;
        font-size: 0.64rem;
    }

    .hero-treatment-orbit__hub-icon {
        width: 1.05rem;
        height: 1.05rem;
    }

    .hero-treatment-orbit__hub-icon svg {
        width: 0.95rem;
        height: 0.95rem;
    }

    .contact-details__block {
        grid-template-columns: 1fr;
    }

    .contact-hours li,
    .footer__hours li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .contact-hero__action {
        grid-template-columns: 1fr auto;
    }

    .contact-hero__action-icon {
        display: none;
    }

    .contact-card__head h2 {
        font-size: 2rem;
    }

    .contact-form__label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .footer__social {
        grid-template-columns: 1fr;
    }

    .contact-social {
        grid-template-columns: 1fr;
    }

    .footer__map {
        min-height: 11rem;
    }
}

@media (max-width: 1024px) {
    .about-clinic__inner {
        grid-template-columns: 1fr;
    }

    .about-inclusivity__inner {
        grid-template-columns: 1fr;
    }

    /* Stacked, a full-width 4:5 portrait is too tall - crop it shorter. */
    .about-inclusivity__media {
        aspect-ratio: 4 / 3;
        max-width: 34rem;
    }

    .about-clinic__media {
        min-height: 32rem;
    }

    .about-orbit__layout {
        grid-template-columns: 1fr;
    }

    .about-orbit__visual {
        justify-self: center;
    }

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

    .about-orbit__column--left .about-orbit__item {
        grid-template-columns: 3.25rem minmax(0, 1fr);
        text-align: left;
    }

    .about-orbit__column--left .about-orbit__icon {
        order: 0;
    }

    .about-orbit__column--left .about-orbit__item p {
        margin-left: 0;
    }

    .about-comfort__grid,
    .about-team-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-comfort__tile:nth-child(2),
    .about-comfort__tile:nth-child(5) {
        transform: none;
    }
}

@media (max-width: 720px) {
    .about-template-hero__copy p:not(.about-pill) {
        font-size: var(--text-base);
    }

    .about-template-hero {
        padding-block: calc(clamp(17rem, 34vw, 22rem) + 1.25rem) 2.5rem;
    }

    .about-template-hero h1,
    .about-orbit__head h2,
    .about-comfort__head h2 {
        font-size: 3.1rem;
    }

    .about-marquee__item {
        flex-basis: 13.5rem;
        border-radius: var(--radius-sm);
    }

    .about-stat-visual__frame {
        min-height: 28rem;
    }

    .about-stat-visual__overlay {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-orbit__column,
    .about-comfort__grid,
    .about-team-preview__grid {
        grid-template-columns: 1fr;
    }

    .about-orbit__item,
    .about-orbit__column--left .about-orbit__item {
        grid-template-columns: 2.75rem minmax(0, 1fr);
    }

    .about-orbit__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .about-orbit__visual--video {
        width: min(100%, 20rem);
    }

    .about-comfort__tile {
        min-height: 18rem;
        border-radius: var(--radius-sm);
    }

    .about-team-card {
        grid-template-rows: 16rem auto;
    }

    .about-final__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-final__inner .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .about-template-hero h1,
    .about-orbit__head h2,
    .about-comfort__head h2 {
        font-size: 2.55rem;
    }

    .about-marquee__item {
        flex-basis: 11.75rem;
    }

    .about-stat-visual__frame {
        min-height: 24rem;
    }

    .about-stat-visual__overlay {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        gap: 0.7rem;
    }

    .about-stat-visual__overlay strong {
        font-size: 2.8rem;
    }

    .about-orbit__visual--video {
        width: min(100%, 16.5rem);
    }

    .about-clinic__media {
        min-height: 24rem;
    }
}

/* ==========================================================================
   Home page refresh
   ========================================================================== */

.home-hero,
.home-hero * {
    letter-spacing: 0;
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 42rem;
    padding-block: 5.25rem 1.25rem;
    background: var(--navy-ink);
    color: rgba(255, 255, 255, 0.84);
}

.home-hero__background,
.home-hero__background::after,
.home-hero__wash {
    position: absolute;
    inset: 0;
}

.home-hero__background {
    z-index: -2;
    overflow: hidden;
}

.home-hero__image {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 64% 44%;
    transform: scale(1.02);
}

.home-hero__background::after {
    content: "";
    background: linear-gradient(90deg, rgba(9, 21, 41, 0.92) 0%, rgba(16, 31, 56, 0.72) 40%, rgba(16, 31, 56, 0.2) 72%),
    linear-gradient(180deg, rgba(9, 21, 41, 0.04) 0%, rgba(9, 21, 41, 0.78) 100%);
}

.home-hero__wash {
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 28, 51, 0.28) 62%, var(--navy-ink) 100%);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.62fr);
    align-items: center;
    gap: 4rem;
    min-height: 31rem;
}

.home-hero__copy {
    min-width: 0;
    max-width: 42rem;
}

.home-hero .eyebrow {
    color: #f2d9ba;
}

.home-hero h1 {
    max-width: 9ch;
    font-family: var(--font-display);
    font-size: 5.35rem;
    font-weight: 400;
    line-height: 0.9;
    color: var(--white);
    text-wrap: balance;
}

.home-hero__lede {
    width: 100%;
    max-width: 38rem;
    margin-top: 1.35rem;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    overflow-wrap: break-word;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.home-hero__actions .btn {
    min-height: 3.1rem;
    border-radius: var(--radius-sm);
}

.home-hero__panel {
    justify-self: end;
    width: min(100%, 24rem);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.home-hero__panel-kicker {
    display: block;
    margin: 0 0 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.home-hero__panel-list {
    display: grid;
    gap: 0.65rem;
}

.home-hero__panel-list a {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 4.9rem;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: background 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.home-hero__panel-list a:hover,
.home-hero__panel-list a:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}

.home-hero__panel-list img {
    width: 4rem;
    height: 4rem;
    margin: 0;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.home-hero__panel-list strong,
.home-hero__panel-list small {
    display: block;
    min-width: 0;
}

.home-hero__panel-list strong {
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.18;
}

.home-hero__panel-list small {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-hero__metrics {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 0.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.home-hero__metrics div {
    min-height: 5.4rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
}

.home-hero__metrics strong,
.home-hero__metrics span {
    display: block;
}

.home-hero__metrics strong {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.home-hero__metrics span {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.25;
}

.home-trust {
    padding-block: 1.5rem;
    background: #f7faff;
    border-block: 1px solid rgba(77, 143, 217, 0.16);
}

.home-trust__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-trust__list li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: center;
    min-height: 5.75rem;
    padding: 0.85rem;
    background: var(--white);
    border: 1px solid rgba(77, 143, 217, 0.14);
    border-radius: var(--radius-sm);
}

.home-trust__icon {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    background: var(--sky-soft);
    border-radius: var(--radius-sm);
    color: var(--navy);
}

.home-trust__list strong {
    min-width: 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.home-trust__list span:not(.home-trust__icon) {
    min-width: 0;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.35;
    overflow-wrap: break-word;
}

.home-treatments,
.home-team,
.home-portal {
    background: var(--white);
}

.home-treatments {
    padding-top: 4.25rem;
}

.home-products,
.home-philosophy,
.home-quote {
    background: #fbf9f6;
}

.home-concerns {
    background: #f4f8f8;
}

.home-treatments .section-head h2,
.home-products .section-head h2,
.home-team h2,
.home-philosophy .section-head h2,
.home-concerns .section-head h2,
.home-journey .section-head h2,
.home-portal .section-head h2,
.home-cta h2 {
    font-size: 3.45rem;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-treatments .lede,
.home-products .lede,
.home-team .lede,
.home-philosophy .lede,
.home-concerns .lede,
.home-journey .lede,
.home-portal .lede {
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 23.5rem;
    gap: 1rem;
    margin-top: 2.6rem;
}

.home-treatment-card {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 15.5rem;
    overflow: hidden;
    background: var(--navy-deep);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    color: var(--white);
    isolation: isolate;
    transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.home-treatment-card--feature {
    grid-column: auto;
    grid-row: auto;
}

.home-treatment-card:hover,
.home-treatment-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.home-treatment-card__media,
.home-treatment-card__media::after,
.home-treatment-card__media img {
    position: absolute;
    inset: 0;
}

.home-treatment-card__media {
    z-index: -1;
}

.home-treatment-card__media::after {
    content: "";
    background: linear-gradient(180deg, rgba(10, 21, 38, 0.08) 0%, rgba(10, 21, 38, 0.28) 48%, rgba(10, 21, 38, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 21, 38, 0.42) 0%, transparent 70%);
}

.home-treatment-card__media img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.home-treatment-card:hover .home-treatment-card__media img,
.home-treatment-card:focus-visible .home-treatment-card__media img {
    transform: scale(1.05);
}

.home-treatment-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1.25rem;
    min-width: 0;
}

.home-treatment-card--feature .home-treatment-card__body {
    max-width: none;
    padding: 1.25rem;
}

.home-treatment-card__topline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-treatment-card__icon {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    color: var(--white);
}

.home-treatment-card__icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.home-treatment-card__body > strong,
.home-treatment-card--feature .home-treatment-card__body > strong {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.02;
}

.home-treatment-card__summary {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--text-sm);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-treatment-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.home-treatment-card__chips span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.95rem;
    max-width: 100%;
    padding: 0.4rem 0.68rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-align: center;
    box-shadow: 0 10px 24px rgba(5, 15, 32, 0.2);
}

.home-products__layout,
.home-team__layout,
.home-philosophy__layout,
.home-journey__layout,
.home-portal__layout {
    display: grid;
    align-items: center;
    gap: 4rem;
}

.home-products__layout {
    grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr);
}

.home-products__visual {
    position: relative;
    isolation: isolate;
    min-height: 35rem;
    overflow: hidden;
    background: var(--navy-ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.home-products__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.home-products__note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.home-products__note strong,
.home-products__note span {
    display: block;
}

.home-products__note strong {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.home-products__note span {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.home-product-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 2rem;
}

.home-product-item,
.home-portal__feature {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.15rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.home-product-item__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    background: var(--rose-soft);
    border-radius: var(--radius-sm);
    color: var(--navy);
}

.home-product-item h3,
.home-portal__feature h3,
.home-philosophy__point h3,
.home-studio-panel h3,
.home-team-role h3,
.home-journey__step h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.home-product-item p:not(.product-card__meta),
.home-portal__feature p,
.home-philosophy__point p,
.home-studio-panel p,
.home-team-role p,
.home-journey__step p {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.home-team__layout {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}

.home-team__copy {
    align-self: start;
    position: sticky;
    top: 7rem;
}

.home-team__copy .btn {
    margin-top: 1.6rem;
}

.home-team__showcase {
    display: grid;
    grid-template-columns: minmax(18rem, 0.92fr) minmax(16rem, 0.78fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
    padding: clamp(0.8rem, 1.5vw, 1.1rem);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.home-team__lead {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
}

.home-team__lead-media {
    position: relative;
    display: block;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    background: var(--mist);
}

.home-team__lead-media img,
.home-team-role__thumb img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 50% 18%;
}

.home-team__lead-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.home-team__lead-copy {
    padding: clamp(1.15rem, 2vw, 1.45rem);
}

.home-team__lead-copy > span,
.home-team-role__index {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-team__lead-copy strong {
    display: block;
    max-width: 13ch;
    margin-top: 0.45rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.02;
}

.home-team__lead-copy p {
    max-width: 32rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.65;
}

.home-team__roles {
    display: grid;
    align-content: center;
    gap: 0;
    min-width: 0;
    padding: 0.25rem 0 0.25rem 1.2rem;
    border-left: 1px solid var(--line);
}

.home-team-role {
    position: relative;
    display: grid;
    grid-template-columns: 4.1rem minmax(0, 1fr);
    gap: 0.95rem;
    align-items: start;
    padding-block: 1.05rem;
}

.home-team-role::before {
    content: "";
    position: absolute;
    top: 2.85rem;
    left: -1.49rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--sand-deep);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(176, 141, 95, 0.2);
}

.home-team-role + .home-team-role {
    border-top: 1px solid var(--line-soft);
}

.home-team-role__thumb {
    display: block;
    width: 4.1rem;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.home-team-role__body {
    display: block;
    min-width: 0;
}

.home-philosophy__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
}

.home-philosophy__points {
    display: grid;
    gap: 0.85rem;
}

.home-philosophy__point {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(176, 141, 95, 0.14);
    border-radius: var(--radius-sm);
}

.home-studio-strip {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    margin-top: 3rem;
}

.home-studio-panel {
    display: grid;
    grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.home-studio-panel img {
    width: 100%;
    height: 100%;
    min-height: 15rem;
    margin: 0;
    object-fit: cover;
}

.home-studio-panel div {
    align-self: center;
    padding: 1.25rem;
}

.home-concern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.home-concern-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.25rem;
    padding: 0.9rem 1rem;
    background: var(--white);
    border: 1px solid rgba(77, 143, 217, 0.18);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.home-concern-grid a::after {
    content: ">";
    color: var(--sand-deep);
    font-weight: 900;
    transition: transform 0.25s var(--ease);
}

.home-concern-grid a:hover,
.home-concern-grid a:focus-visible {
    border-color: var(--sky);
    color: var(--navy);
    transform: translateY(-2px);
}

.home-concern-grid a:hover::after,
.home-concern-grid a:focus-visible::after {
    transform: translateX(3px);
}

.home-journey {
    background: linear-gradient(135deg, rgba(77, 143, 217, 0.12), transparent 45%),
    var(--navy-ink);
}

.home-journey__layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

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

.home-journey__step {
    min-height: 14rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
}

.home-journey__step span {
    display: block;
    margin-bottom: 1.2rem;
    color: #f2d9ba;
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
}

.home-journey__step h3 {
    color: var(--white);
}

.home-journey__step p {
    color: rgba(255, 255, 255, 0.64);
}

.home-portal__layout {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
}

.home-portal__mock {
    overflow: hidden;
    min-height: 34rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 248, 0.96)),
    var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.home-portal__mock-head {
    display: flex;
    gap: 0.4rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
}

.home-portal__mock-head span {
    width: 0.7rem;
    height: 0.7rem;
    background: var(--sky);
    border-radius: 50%;
}

.home-portal__mock-head span:nth-child(2) {
    background: var(--sand);
}

.home-portal__mock-head span:nth-child(3) {
    background: var(--rose-soft);
}

.home-portal__mock-body {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.home-portal__mock-body strong {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 900;
}

.home-portal__mock-body span {
    color: var(--muted);
    font-size: var(--text-sm);
}

.home-portal__mock-body div {
    min-height: 6.5rem;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.home-portal__mock-body div:nth-of-type(1) {
    background: linear-gradient(90deg, rgba(77, 143, 217, 0.16), transparent),
    var(--white);
}

.home-portal__mock-body div:nth-of-type(2) {
    background: linear-gradient(90deg, rgba(176, 141, 95, 0.16), transparent),
    var(--white);
}

.home-portal__features {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
}

.home-quote .quote {
    max-width: 60rem;
}

.home-quote blockquote {
    font-size: 2.65rem;
    letter-spacing: 0;
}

.home-cta {
    isolation: isolate;
    min-height: 32rem;
    background: var(--navy-ink);
}

.home-cta::before {
    display: none;
}

.home-cta::after,
.home-cta__background {
    position: absolute;
    inset: 0;
}

.home-cta::after {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 20, 39, 0.9) 0%, rgba(8, 20, 39, 0.72) 48%, rgba(8, 20, 39, 0.36) 100%),
    linear-gradient(180deg, rgba(8, 20, 39, 0.12) 0%, rgba(8, 20, 39, 0.88) 100%);
}

.home-cta__background {
    z-index: -2;
    overflow: hidden;
    background: url("../img/about/ai-treatment-room.jpg") center 56% / cover no-repeat;
}

.home-cta__background img,
.home-cta__background video {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 50% 56%;
}

.home-cta__background.is-video-unavailable video {
    visibility: hidden;
}

.home-cta .cta__inner {
    margin-inline: 0;
    text-align: left;
}

.home-cta .cta__actions {
    justify-content: flex-start;
}

/* Letter-by-letter display heading. */
.letter-reveal__word {
    display: inline-block;
    white-space: nowrap;
}

.letter-reveal__char {
    display: inline-block;
}

.letter-reveal.is-ready .letter-reveal__char {
    opacity: 0;
    transform: translateY(0.22em);
    filter: blur(3px);
}

.letter-reveal.is-playing .letter-reveal__char {
    animation: home-letter-in 0.55s cubic-bezier(0.2, 0.72, 0.2, 1) both;
    animation-delay: var(--letter-delay);
}

@keyframes home-letter-in {
    from {
        opacity: 0;
        transform: translateY(0.22em);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .letter-reveal.is-ready .letter-reveal__char {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 1024px) {
    .home-hero {
        min-height: auto;
        padding-block: 4rem 1rem;
    }

    .home-hero__inner,
    .home-products__layout,
    .home-team__layout,
    .home-philosophy__layout,
    .home-journey__layout,
    .home-portal__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-hero__panel {
        justify-self: start;
        width: min(100%, 32rem);
    }

    .home-hero__metrics {
        margin-top: 1.5rem;
    }

    .home-trust__list,
    .home-concern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 21rem;
    }

    .home-treatment-card--feature {
        grid-column: auto;
    }

    .home-products__visual,
    .home-portal__mock {
        min-height: 28rem;
    }

    .home-team__copy {
        position: static;
    }

    .home-studio-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    html,
    body {
        overflow-x: clip;
    }

    .announce__inner {
        overflow: visible;
    }

    .announce__status {
        min-width: 0;
        max-width: 100%;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.35;
        white-space: normal;
    }

    .home-hero {
        padding-block: 3.2rem 1rem;
    }

    .home-hero__background::after {
        background: linear-gradient(180deg, rgba(9, 21, 41, 0.88) 0%, rgba(9, 21, 41, 0.62) 48%, rgba(9, 21, 41, 0.9) 100%);
    }

    .home-hero__inner {
        min-height: 0;
    }

    .home-hero h1 {
        max-width: 8ch;
        font-size: 3.4rem;
    }

    .home-hero__lede {
        font-size: 1rem;
        line-height: 1.6;
    }

    .home-hero__actions,
    .home-cta .cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .btn,
    .home-cta .btn {
        width: 100%;
    }

    .home-hero__panel {
        display: none;
    }

    .home-hero__metrics {
        grid-template-columns: 1fr;
    }

    .home-hero__metrics div {
        min-height: 0;
    }

    .home-trust__list {
        grid-template-columns: 1fr;
    }

    .home-treatments .section-head h2,
    .home-products .section-head h2,
    .home-team h2,
    .home-philosophy .section-head h2,
    .home-concerns .section-head h2,
    .home-journey .section-head h2,
    .home-portal .section-head h2,
    .home-cta h2 {
        font-size: 2.55rem;
    }

    .home-treatment-grid,
    .home-team__showcase,
    .home-journey__steps {
        grid-template-columns: 1fr;
    }

    .home-team__roles {
        padding: 0.25rem 0;
        border-left: 0;
    }

    .home-team-role::before {
        display: none;
    }

    .home-treatment-grid {
        grid-auto-rows: auto;
    }

    .home-treatment-card,
    .home-treatment-card--feature {
        min-height: 24rem;
    }

    .home-treatment-card__body > strong,
    .home-treatment-card--feature .home-treatment-card__body > strong {
        font-size: 2.15rem;
    }

    .home-products__visual,
    .home-portal__mock {
        min-height: 24rem;
    }

    .home-product-item,
    .home-portal__feature {
        grid-template-columns: 2.85rem minmax(0, 1fr);
        padding: 1rem;
    }

    .home-product-item__icon,
    .home-portal__feature .portal__feature-icon {
        width: 2.85rem;
        height: 2.85rem;
    }

    .home-studio-panel {
        grid-template-columns: 1fr;
    }

    .home-studio-panel img {
        min-height: 14rem;
    }

    .home-concern-grid {
        grid-template-columns: 1fr;
    }

    .home-quote blockquote {
        font-size: 2.05rem;
    }

    .home-cta .cta__inner {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .home-hero h1 {
        font-size: 2.85rem;
    }

    .home-hero__copy {
        max-width: 100%;
    }

    .home-trust__list {
        grid-template-columns: 1fr;
    }

    .home-treatment-card,
    .home-treatment-card--feature {
        min-height: 22rem;
    }

    .home-treatment-card__chips span {
        font-size: 0.62rem;
    }

    .home-products__visual,
    .home-portal__mock {
        min-height: 20rem;
    }
}

/* ---------- Treatment detail page ---------- */

.treatment-article {
    scroll-margin-top: 7rem;
}

.treatment-article__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 3vw, 3rem);
    max-width: 64rem;
}

.treatment-article__body p,
.treatment-article__block p,
.treatment-detail-card p,
.treatment-care-card p,
.treatment-care-card__list {
    color: var(--muted);
    line-height: 1.7;
}

.treatment-article__body h2,
.treatment-article__block h2,
.treatment-article__cta h2 {
    margin-bottom: 0.75rem;
}

.treatment-article__body p + p,
.treatment-article__block p + p,
.treatment-detail-card p + p,
.treatment-care-card p + p {
    margin-top: 0.75rem;
}

.treatment-article__detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.treatment-detail-card {
    min-width: 0;
    padding: clamp(1.1rem, 2vw, 1.35rem);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.treatment-detail-card__label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.treatment-care-plan {
    display: grid;
    gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.treatment-care-plan__head {
    max-width: 42rem;
}

.treatment-care-plan__head h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 0.98;
}

.treatment-care-plan__head p:not(.eyebrow) {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.65;
}

.treatment-care-plan__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1rem);
}

.treatment-care-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: clamp(1.2rem, 2.4vw, 1.65rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 247, 0.86)),
    var(--white);
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(16, 23, 37, 0.08);
}

.treatment-care-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--sand), var(--sky));
}

.treatment-care-card__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1rem;
}

.treatment-care-card__step {
    display: grid;
    place-items: center;
    width: 2.8rem;
    aspect-ratio: 1;
    background: var(--navy);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
}

.treatment-care-card__phase {
    display: block;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.treatment-care-card h3 {
    margin-top: 0.28rem;
    color: var(--ink);
    font-size: clamp(1.28rem, 1.5vw, 1.55rem);
    font-weight: 600;
    line-height: 1.15;
}

.treatment-care-card__list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.treatment-care-card__list li {
    position: relative;
    padding-left: 1.15rem;
}

.treatment-care-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.38rem;
    height: 0.38rem;
    background: var(--sand-deep);
    border-radius: 50%;
    transform: translateY(-50%);
}

.treatment-article__cta {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, #f7f9fc 0%, #e6edf5 100%);
}

.treatment-article__back {
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .treatment-article__inner {
        max-width: none;
    }

    .treatment-article__detail-grid,
    .treatment-care-plan__grid {
        grid-template-columns: 1fr;
    }

    .treatment-care-plan__head h2 {
        font-size: 2.35rem;
    }

    .treatment-care-card {
        padding: 1.15rem;
    }

    .treatment-care-card__heading {
        grid-template-columns: 2.45rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .treatment-care-card__step {
        width: 2.45rem;
        font-size: 1.15rem;
    }
}

/* ---------- Mobile stability guardrails ---------- */

@media (max-width: 720px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body,
    main,
    .section,
    .shell,
    .header,
    .footer {
        min-width: 0;
        max-width: 100%;
    }

    iframe,
    video,
    canvas {
        max-width: 100%;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    a,
    button,
    strong,
    small,
    span,
    label,
    input,
    select,
    textarea {
        min-width: 0;
    }

    h1,
    h2,
    h3,
    .lede,
    .btn,
    .nav__link,
    .nav__submenu-link,
    .category-quicklook__card,
    .treatment-service-row,
    .treatment-catalogue-table__row,
    .shop-card,
    .home-trust__list li,
    .home-product-item,
    .home-portal__feature,
    .footer__panel,
    .footer__bottom {
        overflow-wrap: break-word;
    }

    .header__inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        width: 100%;
        padding-right: 3.75rem;
    }

    .header__logo {
        min-width: 0;
        padding-right: 0;
    }

    .header__logo img {
        width: min(148px, calc(100vw - 5.5rem));
    }

    .header__actions {
        position: absolute;
        top: 50%;
        right: 0;
        justify-content: flex-end;
        min-width: 44px;
        transform: translateY(-50%);
    }

    .nav-toggle {
        display: grid;
        flex: 0 0 44px;
        place-items: center;
    }

    .nav {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
    }

    .nav__item-main,
    .nav__link,
    .nav__submenu-link {
        min-width: 0;
    }

    .hero {
        overflow-x: hidden;
    }

    .hero__shell {
        padding-inline: 0.75rem;
    }

    .hero__stage {
        width: 100%;
        min-height: clamp(35rem, 78svh, 40rem);
        border-radius: 1rem;
    }

    .hero__copy {
        width: 100%;
        max-width: min(100%, 18rem);
        padding-top: 2.35rem;
        padding-inline: 0.65rem;
    }

    .hero h1 {
        max-width: 10ch;
        margin-inline: auto;
        font-size: clamp(2.05rem, 7.6vw, 2.35rem);
        line-height: 0.98;
        text-wrap: balance;
    }

    .hero__mobile-break {
        display: inline;
    }

    .hero__lede {
        max-width: 15.75rem;
        margin-top: 0.8rem;
        font-size: 0.88rem;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .hero-treatment-orbit {
        left: 50%;
        bottom: 0.85rem;
        display: grid;
        justify-items: center;
        gap: 0.7rem;
        width: min(18rem, calc(100% - 1.25rem));
        height: auto;
        overflow: visible;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .hero-treatment-orbit__track {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.42rem;
        width: 100%;
        animation: none;
    }

    .hero-treatment-orbit__track li {
        position: static;
        transform: none;
        animation: none;
    }

    .hero-treatment-orbit__track li:nth-child(n + 7) {
        display: none;
    }

    .hero-treatment-chip,
    .hero-treatment-chip:hover,
    .hero-treatment-chip:focus-visible {
        min-width: 0;
        max-width: 9.75rem;
        min-height: 2rem;
        height: auto;
        padding: 0.42rem 0.62rem;
        font-size: 0.68rem;
        line-height: 1.1;
        white-space: normal;
        transform: none;
    }

    .hero-treatment-chip::before {
        flex: 0 0 auto;
        width: 0.34rem;
        height: 0.34rem;
        margin-right: 0.34rem;
    }

    .hero-treatment-orbit__hub,
    .hero-treatment-orbit__hub:hover,
    .hero-treatment-orbit__hub:focus-visible {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(12rem, 100%);
        min-height: 2.9rem;
        height: auto;
        margin-inline: auto;
        padding: 0.55rem 0.8rem;
        border-radius: var(--radius-pill);
        transform: none;
    }

    .treatment-catalogue-modal {
        padding: 0.5rem;
    }

    .treatment-catalogue-modal__panel {
        width: 100%;
        max-height: calc(100svh - 1rem);
    }

    .treatment-catalogue-modal__head h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .treatment-catalogue-table__row span,
    .treatment-catalogue-table__row small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .adm-form input,
    .adm-form select,
    .adm-form textarea {
        width: 100%;
        max-width: 100%;
    }

    .footer__map-open {
        max-width: calc(100% - 1.1rem);
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .hero__stage {
        min-height: clamp(34rem, 82svh, 38.5rem);
    }

    .hero h1 {
        font-size: clamp(2.05rem, 8.8vw, 2.3rem);
    }

    .hero-treatment-orbit {
        width: min(19.5rem, calc(100% - 1rem));
    }

    .hero-treatment-orbit__track li:nth-child(n + 5) {
        display: none;
    }

    .hero-treatment-chip,
    .hero-treatment-chip:hover,
    .hero-treatment-chip:focus-visible {
        max-width: 8.75rem;
        font-size: 0.64rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .card:hover,
    .treatment-card:hover,
    .treatment-card:focus-visible,
    .treatment-category-card:hover,
    .treatment-category-card:focus-visible,
    .category-quicklook__card:hover,
    .category-quicklook__card:focus-visible,
    .home-treatment-card:hover,
    .home-treatment-card:focus-visible,
    .home-concern-grid a:hover,
    .home-concern-grid a:focus-visible,
    .home-hero__panel-list a:hover,
    .home-hero__panel-list a:focus-visible,
    .shop-card:hover,
    .shop-card:focus-within,
    .btn:hover,
    .btn:focus-visible,
    .nav-toggle:hover,
    .nav-toggle:focus-visible {
        transform: none;
    }

    .hero-treatment-chip:hover,
    .hero-treatment-chip:focus-visible,
    .hero-treatment-orbit__hub:hover,
    .hero-treatment-orbit__hub:focus-visible {
        transform: none;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-treatment-orbit__track,
    .hero-treatment-orbit__track li {
        animation: none !important;
    }
}

/* ---------- About page: text variants and new sections ---------- */

.about-template-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* The base tile is a dark square built to hold a photo behind a gradient. The
   qualification tiles carry text only, so they drop the square, the navy, the
   gradient overlay and the mosaic stagger - all four of which are photo
   treatments that read as artefacts over text. */
.about-comfort__tile--text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    aspect-ratio: auto;
    min-height: 0;
    padding: 1.15rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

/* The dark wash exists to make a figcaption legible over a photo. There is no
   photo here, so it just bleeds up from the bottom of the card. */
.about-comfort__tile--text::after {
    content: none;
}

/* Mosaic offset for the photo grid. Text tiles sit on a level baseline. */
.about-comfort__tile--text:nth-child(2),
.about-comfort__tile--text:nth-child(5) {
    transform: none;
}

/* Icon beside the text, not above it: the tiles are wide and short, so a
   stacked icon wastes the height and pushes the grid taller than it needs. */
.about-comfort__tile--text {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
}

/* Smaller and flatter than the Approach chips - these sit inside a bordered
   tile, so the 3.25rem size and drop shadow are too much. Colour is left as
   inherited so both sections read as one family. */
.about-comfort__tile-icon {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.1rem;
    box-shadow: none;
}

.about-comfort__tile--text h3 {
    font-size: 1rem;
    line-height: 1.35;
}

.about-comfort__tile--text p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-sm);
}

.about-care-story {
    background: linear-gradient(180deg, rgba(251, 249, 246, 0.94), rgba(234, 243, 255, 0.56)),
    var(--cream);
}

.about-care-story__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.about-care-story-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(58, 84, 144, 0.13);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 48px rgba(21, 40, 72, 0.1);
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.about-care-story-card:hover,
.about-care-story-card:focus-within {
    border-color: rgba(77, 143, 217, 0.42);
    box-shadow: 0 24px 60px rgba(21, 40, 72, 0.14);
    transform: translateY(-3px);
}

.about-care-story-card__image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--line-soft);
}

.about-care-story-card__image img,
.about-team-card--visual .about-team-card__photo img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s var(--ease);
}

.about-care-story-card:hover .about-care-story-card__image img,
.about-care-story-card:focus-within .about-care-story-card__image img,
.about-team-card--visual:hover .about-team-card__photo img,
.about-team-card--visual:focus-visible .about-team-card__photo img {
    transform: scale(1.035);
}

.about-care-story-card__copy {
    display: grid;
    gap: 0.55rem;
    padding: 1.15rem;
}

.about-care-story-card__copy span,
.about-visit-guide__step span {
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-care-story-card h3,
.about-visit-guide__copy h2,
.about-visit-guide__step h3 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.08;
}

.about-care-story-card h3,
.about-visit-guide__step h3 {
    font-size: var(--text-h3);
}

.about-care-story-card p,
.about-visit-guide__copy p,
.about-visit-guide__step p {
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.58;
}

.about-visit-guide {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 240, 235, 0.52)),
    var(--white);
}

.about-visit-guide__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}

.about-visit-guide__copy {
    display: grid;
    justify-items: start;
    gap: var(--gap-md);
}

.about-visit-guide__copy h2 {
    max-width: 12ch;
    font-size: var(--text-h2);
}

.about-visit-guide__copy p {
    max-width: 34rem;
    font-size: var(--text-lg);
}

.about-visit-guide__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-visit-guide__step {
    min-height: 15rem;
    padding: 1.15rem;
    border: 1px solid rgba(58, 84, 144, 0.13);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.72)),
    var(--white);
    box-shadow: 0 16px 42px rgba(21, 40, 72, 0.08);
}

.about-visit-guide__step h3 {
    margin-top: 1.25rem;
}

.about-visit-guide__step p {
    margin-top: 0.7rem;
    font-size: var(--text-sm);
}

/* The base card reserves an 18rem photo row; these carry no photo. */
.about-team-card--text {
    grid-template-rows: auto;
    min-height: 0;
}

.about-team-card--text .about-team-card__copy {
    padding: 1.35rem;
}

.about-team-card--visual {
    grid-template-rows: minmax(13rem, 1fr) auto;
}

.about-team-card--visual .about-team-card__photo {
    min-height: 13rem;
}

.about-team-card--visual .about-team-card__copy {
    min-height: 10.5rem;
    padding: 1.15rem;
}

.about-team-card--visual .about-team-card__copy span {
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
}

.about-reviews__stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin: 1rem 0 0.75rem;
    color: #f5a623;
}

.about-reviews__actions {
    justify-content: center;
}

/* Centred action row under a centred section head. The reviews block does this
   with about-reviews__actions; this is the same thing without the section-
   specific name, for any section whose head is centred. */
.about-section-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* ---------- About page: technology and partners ----------
 *
 * Devices stay a plain tick list. A photo card grid was built here and then
 * removed at Charlotte's request - she does not want machine imagery on the
 * page. The logo wall below is separate and she did approve it.
 *
 * Logo files are OPTIONAL: the template checks is_file() and falls back to a
 * wordmark, so a brand whose pack has not arrived yet never shows a broken
 * image. Packs come from the supplier reps one at a time.
 */

.about-technology__list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    margin-top: var(--gap-sm);
}

.about-tech-brands {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.about-tech-brands__title {
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.about-tech-brands__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
    gap: 0.75rem;
    padding: 0;
    list-style: none;
}

.about-tech-brands__item {
    display: grid;
    place-items: center;
    min-height: 5rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-tech-brands__item:hover {
    border-color: var(--sand);
    box-shadow: var(--shadow-sm);
}

/* Logos arrive in a dozen different colours and weights. Greyscale at rest
   keeps the wall reading as one block instead of a ransom note; colour returns
   on hover. max-height caps a tall logo so every tile balances optically.
   Several of these lockups carry a tagline under the wordmark, so 3rem rather
   than 2.5rem - below that the second line stops resolving.

   No opacity fade at rest. The usual trick is grayscale + ~0.6 opacity, but
   Aspect Dr is red and Emepelle is pale gold: greyscale already lightens them,
   and the fade on top left both close to invisible against a white tile. The
   contrast bump does the unifying work instead, without erasing the light
   logos. */
.about-tech-brands__item img {
    width: auto;
    max-width: 100%;
    max-height: 3rem;
    object-fit: contain;
    filter: grayscale(1) contrast(1.15);
    transition: filter 0.25s ease;
}

.about-tech-brands__item:hover img {
    filter: none;
}

/* Reverse logos - white artwork with black baked into the file - render as a
   black box on a white tile. Darkening the tile lets the logo's own background
   disappear into it. Greyscale is dropped here: on a dark tile it flattens the
   white lettering into mud. */
.about-tech-brands__item--dark {
    background: var(--ink);
    border-color: var(--ink);
}

.about-tech-brands__item--dark img {
    filter: none;
}

.about-tech-brands__item--dark:hover {
    border-color: var(--sand);
}

/* Shown until that brand's logo file exists. Set as a deliberate wordmark so a
   missing logo reads as a design choice, not an omission. */
.about-tech-brands__item--wordmark span {
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .about-tech-brands__item,
    .about-tech-brands__item img {
        transition: none;
    }
}

@media (max-width: 720px) {
    .about-care-story__grid,
    .about-visit-guide__inner,
    .about-visit-guide__steps {
        grid-template-columns: 1fr;
    }

    .about-visit-guide__copy .btn {
        width: 100%;
    }

    .about-care-story-card:hover,
    .about-care-story-card:focus-within,
    .about-team-card--visual:hover,
    .about-team-card--visual:focus-visible {
        transform: none;
    }

    .about-team-preview__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- About page: type scale and rhythm ----------
 *
 * The page was built as a visual showcase, so every section heading is set at
 * --text-h1 (up to 5.5rem). That competes with the real page h1, makes the
 * headings read as inconsistent against the body copy, and forces large empty
 * gaps around what are now short blocks of text. Section headings belong at
 * --text-h2; only the hero keeps h1.
 *
 * Scoped to .about-page--template so no other page's rhythm changes.
 */

/* The hero h1 was set at clamp(4rem, 8vw, 8.8rem) with line-height 0.92 - sized
   for the old two-word heading, "About DermaMedica". Below 1, descenders collide
   with the next line's ascenders, which is the overlap. A sentence-length
   headline needs a smaller size, room to breathe between lines, and a wider
   measure than 14ch. */
.about-page--template .about-template-hero h1 {
    max-width: 20ch;
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    line-height: 1.04;
}

.about-page--template .about-comfort__head h2,
.about-page--template .about-orbit__head h2,
.about-page--template .section-head h2 {
    max-width: 24ch;
    font-size: var(--text-h2);
    line-height: 1.08;
}

.about-page--template .about-comfort__head p:not(.about-pill),
.about-page--template .about-orbit__head p:not(.about-pill),
.about-page--template .section-head p:not(.about-pill):not(.eyebrow) {
    max-width: 46rem;
    color: var(--muted);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.about-page--template .about-clinic__copy p:not(.about-pill),
.about-page--template .about-clinic__checks li {
    color: var(--body);
    font-size: var(--text-lg);
    line-height: 1.65;
}

.about-page--template .about-clinic__checks li strong {
    color: var(--ink);
}

/* Sections were spaced for full-bleed imagery between them. */
.about-page--template .section {
    padding-block: clamp(3rem, 5.5vw, 5rem);
}

.about-page--template .about-orbit__head,
.about-page--template .about-comfort__head {
    display: grid;
    justify-items: center;
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

/* ==========================================================================
   Landing page premium refresh
   ========================================================================== */

:root {
    --luxe-ink: #101725;
    --luxe-panel: #162033;
    --luxe-pearl: #f8faf7;
    --luxe-blush: #f7eeee;
    --luxe-sage: #e8f0ec;
    --luxe-champagne: #d7bd83;
    --luxe-bronze: #876947;
}

.hero,
.hero *,
.home-trust,
.home-trust *,
.home-treatments,
.home-products,
.home-team,
.home-philosophy,
.home-concerns,
.home-journey,
.home-portal,
.home-quote,
.home-cta {
    letter-spacing: 0;
}

.hero {
    padding-block: clamp(1.15rem, 2vw, 1.8rem) clamp(2rem, 4vw, 3rem);
    background: var(--cream);
}

.hero__shell {
    max-width: none;
    padding-inline: clamp(1.1rem, 2vw, 1.85rem);
}

.hero__stage {
    min-height: min(630px, calc(100svh - 8rem));
    overflow: hidden;
    border-radius: clamp(1.5rem, 4vw, 3rem);
    background: var(--navy-deep);
    box-shadow: var(--shadow-lg);
}

.hero__picture,
.hero__image {
    display: block;
}

.hero__image {
    object-position: 50% 34%;
    filter: none;
}

.hero__stage::after {
    background: linear-gradient(180deg, rgba(20, 11, 7, 0.54) 0%, rgba(40, 22, 15, 0.24) 42%, rgba(60, 34, 22, 0.22) 100%),
    radial-gradient(circle at 50% 28%, rgba(0, 0, 0, 0.28), transparent 44%),
    linear-gradient(90deg, rgba(31, 13, 8, 0.42), transparent 28%, rgba(31, 13, 8, 0.24));
}

.hero__copy {
    align-self: start;
    justify-self: center;
    width: min(68rem, calc(100% - 2rem));
    margin-left: 0;
    padding-top: clamp(2.15rem, 4.2vw, 3.25rem);
    padding-bottom: 0;
    text-align: center;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--luxe-champagne);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero__kicker::before {
    content: "";
    width: 2.75rem;
    height: 1px;
    background: currentColor;
}

.hero h1 {
    max-width: none;
    font-size: clamp(4.1rem, 5.4vw, 6.45rem);
    font-weight: 400;
    line-height: 0.9;
    text-wrap: balance;
}

.hero__lede {
    max-width: 38rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.45;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero__actions .btn {
    min-height: 3.05rem;
    border-radius: var(--radius-sm);
}

.hero__actions .btn--outline-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-trust {
    padding-block: 1.15rem;
    background: var(--luxe-ink);
    border-block: 0;
}

.home-trust__list {
    overflow: hidden;
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
}

.home-trust__list li {
    min-height: 6rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.055);
    border: 0;
}

.home-trust__icon {
    background: rgba(215, 189, 131, 0.14);
    color: var(--luxe-champagne);
}

.home-trust__list strong {
    color: var(--white);
}

.home-trust__list span:not(.home-trust__icon) {
    color: rgba(255, 255, 255, 0.62);
}

.home-treatments {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4.75rem, 7vw, 6.25rem);
    background: linear-gradient(180deg, #fffdf9 0%, #f6f2ea 42%, #edf5f2 100%);
}

.home-treatments::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(33, 56, 107, 0.08) 0%, transparent 38%),
    linear-gradient(245deg, rgba(176, 141, 95, 0.1) 0%, transparent 34%);
    opacity: 0.8;
    pointer-events: none;
}

.home-treatments .shell {
    position: relative;
    z-index: 1;
}

.home-products {
    background: linear-gradient(180deg, var(--white), var(--luxe-sage) 100%);
}

.home-team {
    background: linear-gradient(180deg, #fdfdfb, var(--white) 62%, #f5f7fa 100%);
}

.home-philosophy,
.home-quote {
    background: linear-gradient(180deg, var(--luxe-blush), #fbfcf8 100%);
}

.home-concerns {
    background: linear-gradient(180deg, #f3f8f6, var(--white) 100%);
}

.home-treatments .section-head h2,
.home-products .section-head h2,
.home-team h2,
.home-philosophy .section-head h2,
.home-concerns .section-head h2,
.home-journey .section-head h2,
.home-portal .section-head h2,
.home-cta h2 {
    max-width: 14ch;
    font-size: 3.85rem;
    line-height: 0.98;
    text-wrap: balance;
}

.section-head--split > div {
    max-width: 44rem;
}

.home-treatment-showcase {
    position: relative;
    display: grid;
    min-height: clamp(43rem, 54vw, 51rem);
    align-items: center;
    margin-top: clamp(2.25rem, 4vw, 3rem);
    padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem);
    isolation: isolate;
    perspective: 1200px;
}

.home-treatment-video-stack {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    transform: translateZ(0);
    transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
}

.home-treatment-film {
    --film-cycle: 11.2s;
    position: absolute;
    display: block;
    width: var(--film-size);
    aspect-ratio: 1;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy-ink);
    border: clamp(0.45rem, 0.9vw, 0.75rem) solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    box-shadow: 0 28px 65px rgba(16, 23, 37, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    opacity: 0;
    will-change: opacity, transform;
    transform: translate3d(0, 1.6rem, -8rem) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(0.72);
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    animation: home-treatment-video-pop-repeat var(--film-cycle) var(--ease) infinite both;
    animation-delay: var(--film-delay);
}

.home-treatment-film::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--film-poster, linear-gradient(135deg, rgba(28, 45, 68, 0.9), rgba(91, 122, 130, 0.78))) center / cover no-repeat;
    transform: scale(1.04);
    transition: opacity 420ms ease;
}

.home-treatment-film::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.14) 62%, rgba(10, 15, 25, 0.48) 100%),
    linear-gradient(120deg, rgba(33, 56, 107, 0.18), transparent 48%);
    pointer-events: none;
}

.home-treatment-film video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    /* Safari must see a visible video before playback starts. The native poster covers loading. */
    opacity: 1;
    transform: translateZ(0) scale(1.02);
    transition: opacity 420ms ease;
    -webkit-transform: translateZ(0) scale(1.02);
}

.home-treatment-film.is-video-playing::before {
    opacity: 0;
}

.home-treatment-film.is-video-unavailable video {
    visibility: hidden;
}

.home-video-play {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: var(--navy-ink);
    background: #fff;
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.home-video-play[hidden] {
    display: none;
}

.home-video-play:focus-visible {
    outline: 3px solid var(--navy-ink);
    outline-offset: 3px;
}

.home-treatment-grid {
    position: relative;
    z-index: 1;
}

.home-treatment-film--primary {
    --film-size: clamp(18rem, 31vw, 28rem);
    --film-opacity: 0.74;
    --film-cycle: 12.8s;
    --film-rx: 8deg;
    --film-ry: -18deg;
    --film-rz: -8deg;
    --film-delay: 0s;
    left: clamp(-6rem, -5vw, -3rem);
    top: clamp(2rem, 8vw, 6rem);
}

.home-treatment-film--primary video {
    object-position: 52% 50%;
}

.home-treatment-film--secondary {
    --film-size: clamp(10rem, 18vw, 15rem);
    --film-opacity: 0.78;
    --film-cycle: 10.8s;
    --film-rx: -6deg;
    --film-ry: 18deg;
    --film-rz: 10deg;
    --film-delay: 1.4s;
    right: clamp(-3rem, -3vw, -1.5rem);
    top: clamp(0.4rem, 4vw, 2.75rem);
}

.home-treatment-film--secondary video {
    object-position: 52% 50%;
}

.home-treatment-film--laser,
.home-treatment-film--detail {
    min-height: 0;
    margin: 0;
}

.home-treatment-film--laser {
    --film-size: clamp(11rem, 19vw, 17rem);
    --film-opacity: 0.72;
    --film-cycle: 11.8s;
    --film-rx: 10deg;
    --film-ry: 16deg;
    --film-rz: -5deg;
    --film-delay: 2.8s;
    left: clamp(1rem, 8vw, 6rem);
    bottom: clamp(0.75rem, 4vw, 3rem);
}

.home-treatment-film--detail {
    --film-size: clamp(13rem, 23vw, 20rem);
    --film-opacity: 0.76;
    --film-cycle: 12.4s;
    --film-rx: -10deg;
    --film-ry: -16deg;
    --film-rz: 7deg;
    --film-delay: 4.2s;
    right: clamp(1rem, 10vw, 7rem);
    bottom: clamp(-4rem, -4vw, -2rem);
}

.home-treatment-film--laser video,
.home-treatment-film--detail video {
    object-position: 50% 50%;
}

.home-treatment-film--pop {
    z-index: 2;
    border-width: clamp(0.3rem, 0.65vw, 0.5rem);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 55px rgba(16, 23, 37, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    opacity: 0;
}

.home-treatment-film--pop-one {
    --film-size: clamp(8rem, 14vw, 12rem);
    --film-opacity: 0.84;
    --film-cycle: 7.6s;
    --film-rx: 12deg;
    --film-ry: -24deg;
    --film-rz: 12deg;
    --film-delay: 5.6s;
    left: clamp(24rem, 47vw, 42rem);
    top: clamp(3.5rem, 7vw, 6rem);
}

.home-treatment-film--pop-two {
    --film-size: clamp(8.5rem, 15vw, 12.5rem);
    --film-opacity: 0.8;
    --film-cycle: 8.4s;
    --film-rx: -10deg;
    --film-ry: 22deg;
    --film-rz: -10deg;
    --film-delay: 7s;
    right: clamp(2rem, 5vw, 4.5rem);
    top: clamp(16rem, 27vw, 23rem);
}

.home-treatment-film--pop-three {
    --film-size: clamp(8rem, 13vw, 11.5rem);
    --film-opacity: 0.82;
    --film-cycle: 9.2s;
    --film-rx: 9deg;
    --film-ry: 18deg;
    --film-rz: 8deg;
    --film-delay: 8.4s;
    left: clamp(4rem, 10vw, 8rem);
    bottom: clamp(7rem, 10vw, 9rem);
}

@keyframes home-treatment-video-pop-repeat {
    0%,
    76%,
    100% {
        opacity: 0;
        filter: blur(2px) saturate(0.94);
        transform: translate3d(0, 1.1rem, -8rem) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(0.68);
    }

    9% {
        opacity: var(--film-opacity);
        filter: blur(0) saturate(1.06);
        transform: translate3d(0, -0.15rem, 0) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(1.04);
    }

    15%,
    54% {
        opacity: var(--film-opacity);
        filter: blur(0) saturate(1);
        transform: translate3d(0, 0, 0) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(1);
    }

    66% {
        opacity: 0;
        filter: blur(3px) saturate(0.9);
        transform: translate3d(0, -0.8rem, -6rem) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(0.82);
    }
}

.home-treatment-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: 0.78rem;
    width: min(100%, 50rem);
    margin: 0 auto;
}

.home-treatment-card {
    position: relative;
    display: grid;
    grid-template-columns: 2.9rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    height: 100%;
    min-height: 0;
    padding: 0.95rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: 8px;
    color: var(--ink);
    box-shadow: 0 14px 38px rgba(22, 32, 51, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.home-treatment-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--sand), var(--sky));
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.home-treatment-card:hover,
.home-treatment-card:focus-visible {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(33, 56, 107, 0.2);
    box-shadow: 0 20px 48px rgba(22, 32, 51, 0.12);
    transform: translateY(-2px);
}

.home-treatment-card:hover::before,
.home-treatment-card:focus-visible::before {
    opacity: 1;
}

.home-treatment-card__index {
    display: block;
    color: rgba(33, 56, 107, 0.28);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 0.9;
}

.home-treatment-card__body {
    display: grid;
    gap: 0.55rem;
    min-height: 0;
    padding: 0;
}

.home-treatment-card--feature .home-treatment-card__body {
    max-width: none;
    padding: 0;
}

.home-treatment-card__body > strong,
.home-treatment-card--feature .home-treatment-card__body > strong {
    max-width: none;
    color: var(--ink);
    font-size: clamp(1.24rem, 1.1vw, 1.5rem);
    line-height: 1.06;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-treatment-card__topline {
    color: var(--sand-deep);
    font-size: 0.68rem;
}

.home-treatment-card__icon {
    width: 1.85rem;
    height: 1.85rem;
    background: var(--navy);
    border-color: rgba(33, 56, 107, 0.12);
    color: var(--white);
}

.home-treatment-card__summary {
    max-width: 34rem;
    color: #495268;
    font-size: 0.82rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.home-treatment-card--feature .home-treatment-card__summary {
    -webkit-line-clamp: 2;
}

.home-treatment-card__icon,
.home-treatment-card__chips span {
    border-radius: var(--radius-sm);
}

.home-treatment-card__chips {
    align-items: flex-start;
    margin-top: 0.1rem;
    padding-top: 0;
}

.home-treatment-card__chips span {
    min-height: 1.75rem;
    padding: 0.36rem 0.58rem;
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(77, 143, 217, 0.18);
    color: var(--navy);
    font-size: 0.68rem;
    box-shadow: none;
}

.home-treatment-card__cta {
    display: none;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    background: var(--navy-deep);
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(33, 56, 107, 0.16);
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.home-treatment-card__cta span {
    transition: transform 0.25s var(--ease);
}

.home-treatment-card:hover .home-treatment-card__cta span,
.home-treatment-card:focus-visible .home-treatment-card__cta span {
    transform: translateX(3px);
}

.home-treatment-card:hover .home-treatment-card__cta,
.home-treatment-card:focus-visible .home-treatment-card__cta {
    background: var(--sand-deep);
}

.home-products__layout {
    grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1.05fr);
}

.home-products__visual {
    display: grid;
    align-items: center;
    min-height: 36rem;
    padding: 1.15rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 236, 0.78) 56%, rgba(247, 238, 238, 0.72)),
    var(--luxe-pearl);
    border: 1px solid rgba(22, 32, 51, 0.1);
    border-radius: 8px;
}

.home-products__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(16, 23, 37, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 23, 37, 0.04) 1px, transparent 1px);
    background-size: 4rem 4rem;
    opacity: 0.55;
}

.home-products__shelf {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: 100%;
    padding-bottom: 4.75rem;
}

.home-products__bottle {
    display: grid;
    place-items: center;
    min-height: 13.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 23, 37, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 23, 37, 0.08);
}

.home-products__bottle img {
    position: static;
    inset: auto;
    width: 100%;
    height: 12rem;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-products__bottle--1,
.home-products__bottle--4 {
    transform: translateY(1.2rem);
}

.home-products__note {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-products__actions {
    margin-top: 1.4rem;
}

.home-product-item,
.home-portal__feature,
.home-philosophy__point,
.home-studio-panel,
.home-team__showcase,
.home-team__lead,
.home-journey__step,
.home-concern-grid a {
    border-radius: 8px;
}

.home-product-item,
.home-portal__feature {
    border-color: rgba(22, 32, 51, 0.08);
    box-shadow: 0 14px 34px rgba(16, 23, 37, 0.06);
}

.home-product-item__icon,
.home-portal__feature .portal__feature-icon {
    background: var(--luxe-blush);
    color: var(--luxe-bronze);
}

.home-team__layout {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
}

.home-team__showcase {
    border-color: rgba(22, 32, 51, 0.08);
    box-shadow: 0 18px 48px rgba(16, 23, 37, 0.08);
}

.home-team__lead {
    border-color: rgba(22, 32, 51, 0.08);
}

.home-team__lead-media {
    aspect-ratio: 1.12 / 1;
}

.home-philosophy__layout {
    align-items: center;
}

.home-philosophy__point {
    position: relative;
    padding: 1.35rem 1.35rem 1.35rem 1.6rem;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(135, 105, 71, 0.16);
    box-shadow: 0 12px 34px rgba(16, 23, 37, 0.045);
}

.home-philosophy__point::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    bottom: 1.35rem;
    left: 0.85rem;
    width: 2px;
    background: var(--luxe-champagne);
}

.home-studio-panel {
    border-color: rgba(22, 32, 51, 0.08);
    box-shadow: 0 18px 42px rgba(16, 23, 37, 0.07);
}

.home-concern-grid {
    gap: 0.65rem;
}

.home-concern-grid a {
    min-height: 4.6rem;
    border-color: rgba(16, 23, 37, 0.08);
    box-shadow: 0 12px 28px rgba(16, 23, 37, 0.045);
}

.home-concern-grid a::after {
    color: var(--luxe-bronze);
}

.home-journey {
    padding-block: 5rem;
    background: var(--luxe-pearl);
}

.home-journey__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
}

.home-journey .section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: end;
    gap: 0.5rem 3rem;
    max-width: none;
}

.home-journey .section-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
}

.home-journey .section-head h2 {
    max-width: 20ch;
    font-size: 3.15rem;
    line-height: 1.05;
}

.home-journey .section-head .lede {
    max-width: 34rem;
    margin-top: 0;
}

.home-journey__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-journey__step {
    min-height: 0;
    padding: 1.3rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(135, 105, 71, 0.34);
    border-radius: 0;
}

.home-journey__step span {
    margin-bottom: 1.5rem;
    color: var(--luxe-bronze);
    font-size: 2rem;
}

.home-journey__step h3 {
    color: var(--ink);
    font-size: 1.2rem;
}

.home-journey__step p {
    color: var(--body);
}

.home-portal {
    background: linear-gradient(180deg, var(--white), #f5f7fb 100%);
}

.home-portal__mock {
    border-color: rgba(22, 32, 51, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 23, 37, 0.13);
}

.home-portal__mock-body div {
    border-radius: 8px;
}

.home-quote .quote {
    max-width: 64rem;
    padding-block: 1rem;
}

.home-quote blockquote {
    color: var(--luxe-ink);
    font-size: 3rem;
    line-height: 1.08;
}

.home-cta {
    min-height: 34rem;
}

.home-cta::after {
    background: linear-gradient(90deg, rgba(10, 15, 25, 0.9) 0%, rgba(10, 15, 25, 0.72) 46%, rgba(10, 15, 25, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 15, 25, 0.1) 0%, rgba(10, 15, 25, 0.9) 100%);
}

.home-cta__background img,
.home-cta__background video {
    object-position: 50% 50%;
}

.home-cta .cta__inner {
    max-width: min(var(--container), calc(100% - 2rem));
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.home-cta .cta__actions .btn {
    border-radius: var(--radius-sm);
}

@media (max-width: 1024px) {
    .home-treatment-showcase {
        grid-template-columns: 1fr;
        min-height: clamp(38rem, 64vw, 46rem);
        padding-inline: clamp(1rem, 5vw, 2.5rem);
    }

    .home-treatment-video-stack {
        min-height: 0;
    }

    .home-treatment-film--primary {
        --film-size: clamp(18rem, 38vw, 26rem);
        left: clamp(-7rem, -7vw, -4rem);
        top: clamp(3rem, 7vw, 5rem);
    }

    .home-treatment-film--secondary {
        --film-size: clamp(9rem, 22vw, 14rem);
        right: clamp(-4rem, -5vw, -2rem);
        top: clamp(1rem, 4vw, 2.5rem);
    }

    .home-treatment-film--laser {
        --film-size: clamp(10rem, 24vw, 15rem);
        left: clamp(-1rem, 7vw, 4rem);
        bottom: clamp(1rem, 4vw, 3rem);
    }

    .home-treatment-film--detail {
        --film-size: clamp(11rem, 28vw, 17rem);
        right: clamp(0rem, 8vw, 5rem);
        bottom: clamp(-4rem, -5vw, -2rem);
    }

    .home-treatment-film--pop-one {
        --film-size: clamp(7rem, 16vw, 10rem);
        left: clamp(19rem, 42vw, 32rem);
        top: clamp(3rem, 7vw, 5rem);
    }

    .home-treatment-film--pop-two {
        --film-size: clamp(7rem, 17vw, 10.5rem);
        right: clamp(-1rem, 3vw, 2rem);
        top: clamp(14rem, 27vw, 20rem);
    }

    .home-treatment-film--pop-three {
        --film-size: clamp(6.5rem, 15vw, 9.5rem);
        left: clamp(0rem, 6vw, 4rem);
        bottom: clamp(7rem, 10vw, 9rem);
    }

    .home-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(0, 1fr);
        align-items: stretch;
        width: min(100%, 56rem);
    }

    .home-treatment-card--feature .home-treatment-card__body {
        max-width: none;
    }

    .home-treatment-card--feature .home-treatment-card__body > strong {
        font-size: clamp(1.7rem, 2.6vw, 2rem);
    }

    .home-products__layout,
    .home-team__layout,
    .home-philosophy__layout,
    .home-journey__layout,
    .home-portal__layout {
        grid-template-columns: 1fr;
    }

    .home-journey .section-head {
        grid-template-columns: 1fr;
    }

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

    .home-team__showcase {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

@media (max-width: 720px) {
    .header__inner {
        position: static;
        justify-content: space-between;
        padding-right: 1rem;
    }

    /*
     * Cart and menu button sit side by side.
     *
     * This box used to be locked to a single 44px slot with the menu button
     * absolutely positioned on top of it, so the button covered the cart icon
     * completely - the cart was still there and still clickable underneath,
     * which is the worst version of the bug: invisible but live.
     *
     * Sized to its content now, so the flex row lays both out in order.
     */
    .header__actions {
        display: flex;
        position: static;
        z-index: 3;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        margin-left: auto;
        width: auto;
        min-width: 0;
        height: 44px;
        transform: none;
    }

    /*
     * The Book appointment button and the account link are dropped at this
     * width. Both were previously overflowing their 44px container and only
     * invisible by accident; the top utility bar already carries "Book online",
     * so nothing is lost and the row fits a narrow phone.
     */
    .header__actions .btn--primary,
    .header__login {
        display: none;
    }

    .header__cart {
        flex: 0 0 auto;
    }

    .nav-toggle {
        display: grid !important;
        /* In flow, not layered over the cart. */
        position: static;
        flex: 0 0 44px;
        place-items: center;
        min-width: 44px;
        width: 44px;
        height: 44px;
        background: var(--luxe-ink);
        border-color: rgba(215, 189, 131, 0.45);
        box-shadow: 0 12px 28px rgba(16, 23, 37, 0.18);
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        background: var(--white);
    }

    .hero__stage {
        min-height: clamp(39rem, 88svh, 43rem);
    }

    .hero__image {
        object-position: 50% 52%;
        transform: scale(1);
    }

    .hero__stage::after {
        background: linear-gradient(180deg, rgba(13, 18, 30, 0.72) 0%, rgba(13, 18, 30, 0.5) 27%, rgba(13, 18, 30, 0.16) 55%, rgba(13, 18, 30, 0.56) 100%),
        linear-gradient(90deg, rgba(13, 18, 30, 0.24), rgba(13, 18, 30, 0.06) 48%, rgba(13, 18, 30, 0.22));
    }

    .hero__copy {
        width: min(17.5rem, calc(100% - 2rem));
        max-width: none;
        padding-top: 2.25rem;
        padding-inline: 0;
        text-align: center;
    }

    .hero h1 {
        max-width: 12.5ch;
        margin-inline: auto;
        font-size: clamp(2.35rem, 12vw, 3.2rem);
        line-height: 0.92;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero__lede {
        max-width: 17rem;
        margin-top: 0.8rem;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .home-trust__list,
    .home-concern-grid,
    .home-journey__steps {
        grid-template-columns: 1fr;
    }

    .home-journey {
        padding-block: 3.5rem;
    }

    .home-journey__layout {
        gap: 2rem;
    }

    .home-journey__steps {
        gap: 1.6rem;
    }

    .home-team__showcase {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }

    .home-team__roles {
        padding: 0.25rem 0;
        border-left: 0;
    }

    .home-team-role::before {
        display: none;
    }

    .home-treatments .section-head h2,
    .home-products .section-head h2,
    .home-team h2,
    .home-philosophy .section-head h2,
    .home-concerns .section-head h2,
    .home-journey .section-head h2,
    .home-portal .section-head h2,
    .home-cta h2 {
        max-width: 11ch;
        font-size: 2.65rem;
        line-height: 1.02;
    }

    .home-journey .section-head h2 {
        max-width: 16ch;
        font-size: 2.35rem;
        line-height: 1.05;
    }

    .home-treatment-grid {
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .home-treatments .section-head h2 {
        max-width: min(100%, 14ch);
        font-size: 2.45rem;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .home-treatment-video-stack {
        inset: 0;
        gap: 0;
        min-height: 0;
        padding: 0;
    }

    .home-treatment-film--primary {
        --film-size: 17rem;
        --film-opacity: 0.58;
        left: -8.5rem;
        top: 4.5rem;
    }

    .home-treatment-film--secondary {
        --film-size: 9.5rem;
        --film-opacity: 0.62;
        right: -3.8rem;
        top: 1.8rem;
    }

    .home-treatment-film--laser {
        --film-size: 10.5rem;
        --film-opacity: 0.58;
        left: -4.5rem;
        bottom: 14rem;
    }

    .home-treatment-film--detail {
        --film-size: 12.5rem;
        --film-opacity: 0.6;
        right: -5.5rem;
        bottom: 1.5rem;
    }

    .home-treatment-film--pop-one {
        --film-size: 6.75rem;
        --film-opacity: 0.5;
        left: 46%;
        top: 7.4rem;
    }

    .home-treatment-film--pop-two {
        --film-size: 7.25rem;
        --film-opacity: 0.52;
        right: -2.7rem;
        top: 21rem;
    }

    .home-treatment-film--pop-three {
        --film-size: 6.5rem;
        --film-opacity: 0.5;
        left: -1rem;
        bottom: 4.5rem;
    }

    .home-treatment-card,
    .home-treatment-card:nth-child(1),
    .home-treatment-card:nth-child(2),
    .home-treatment-card:nth-child(3),
    .home-treatment-card:nth-child(n + 4),
    .home-treatment-card--feature {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 0;
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .home-treatment-card--feature .home-treatment-card__body,
    .home-treatment-card__body {
        padding: 0;
    }

    .home-treatment-card--feature .home-treatment-card__body > strong,
    .home-treatment-card__body > strong {
        max-width: none;
        font-size: 1.45rem;
    }

    .home-treatment-card__index {
        font-size: 1.65rem;
    }

    .home-treatment-card__cta {
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-treatment-card__summary,
    .home-treatment-card--feature .home-treatment-card__summary {
        -webkit-line-clamp: 3;
    }

    .home-products__visual,
    .home-portal__mock {
        min-height: 0;
    }

    .home-products__shelf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        padding-bottom: 5.5rem;
    }

    .home-products__bottle {
        min-height: 10.5rem;
        padding: 0.7rem;
        transform: none;
    }

    .home-products__bottle img {
        height: 9.2rem;
    }

    .home-studio-panel {
        grid-template-columns: 1fr;
    }

    .home-quote blockquote {
        font-size: 2.2rem;
    }
}

@media (max-width: 420px) {
    .hero__stage {
        min-height: clamp(38rem, 88svh, 41rem);
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11.5vw, 2.95rem);
    }

    .home-products__shelf {
        grid-template-columns: 1fr 1fr;
    }

    .home-products__bottle {
        min-height: 9rem;
    }

    .home-products__bottle img {
        height: 7.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-treatment-film {
        animation: none !important;
        opacity: var(--film-opacity);
        transform: translate3d(0, 0, 0) rotateX(var(--film-rx)) rotateY(var(--film-ry)) rotateZ(var(--film-rz)) scale(1);
    }

    .home-treatment-film--pop {
        display: none;
    }
}

@media (max-width: 720px) {
    .booking-page,
    .booking-hero,
    .booking-flow,
    .booking-panel {
        max-width: 100%;
        overflow-x: hidden;
    }

    .booking-hero__copy,
    .booking-flow__side,
    .booking-panel,
    .booking-panel * {
        min-width: 0;
    }

    .booking-hero__copy {
        width: 100%;
        max-width: 21rem;
    }

    .booking-hero h1 {
        max-width: 11ch;
        font-size: 2.65rem;
        line-height: 1;
        overflow-wrap: normal;
        text-wrap: auto;
    }

    .booking-hero p:not(.eyebrow) {
        max-width: 19rem;
        font-size: 1rem;
        line-height: 1.52;
    }

    .booking-flow__side h2 {
        max-width: 11ch;
        font-size: 2.25rem;
    }

    .booking-steps li {
        display: flex;
        gap: 0.75rem;
    }

    .booking-steps li > div,
    .booking-support div {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .booking-steps p {
        max-width: 16.5rem;
        overflow-wrap: break-word;
    }
}

@media (max-width: 420px) {
    .booking-hero h1 {
        max-width: 10.5ch;
        font-size: 2.35rem;
    }

    .booking-flow__side h2 {
        font-size: 2.05rem;
    }
}

/* --- Booking workspace page --- */
.booking-page {
    min-height: 100vh;
    padding-block: clamp(7rem, 9vw, 9rem) clamp(4rem, 7vw, 6rem);
    background: linear-gradient(180deg, rgba(234, 243, 255, 0.72), rgba(255, 255, 255, 0.92) 22rem),
    var(--white);
}

.booking-workspace {
    display: grid;
    gap: clamp(1.25rem, 2.4vw, 2rem);
}

.booking-workspace__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(33, 56, 107, 0.12);
}

.booking-workspace__head > div {
    max-width: 48rem;
}

.booking-workspace__head h1 {
    margin-top: 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 4vw, 5rem);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--ink);
}

.booking-workspace__head p:not(.eyebrow) {
    max-width: 43rem;
    margin-top: 0.85rem;
    color: var(--body);
    font-size: var(--text-lg);
    line-height: 1.58;
}

.booking-workspace__head .btn {
    flex: 0 0 auto;
    min-height: 3rem;
}

.booking-console.contact-form {
    display: grid;
    grid-template-columns: minmax(0, 1.52fr) minmax(23rem, 0.68fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: start;
    padding: 0;
}

.booking-menu-panel,
.booking-confirm-panel {
    min-width: 0;
}

.booking-menu-panel {
    overflow: hidden;
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 50px rgba(21, 40, 72, 0.08);
}

.booking-menu-panel__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-bottom: 1px solid rgba(33, 56, 107, 0.1);
    background: linear-gradient(135deg, rgba(234, 243, 255, 0.8), rgba(244, 236, 224, 0.42)),
    var(--white);
}

.booking-menu-panel__head > span {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.booking-menu-panel__head h2 {
    margin-top: 0.25rem;
    font-size: clamp(1.45rem, 1.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--ink);
}

.booking-menu-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(4.6rem, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.booking-menu-stats div {
    min-width: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.74);
}

.booking-menu-stats dt {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.booking-menu-stats dd {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.booking-category-accordion {
    display: grid;
    gap: 0.75rem;
    padding: clamp(0.85rem, 2vw, 1.25rem);
}

.booking-category-card {
    overflow: hidden;
    border: 1px solid rgba(33, 56, 107, 0.13);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.booking-category-card.is-open,
.booking-category-card.is-selected {
    border-color: rgba(33, 56, 107, 0.36);
    box-shadow: 0 14px 34px rgba(21, 40, 72, 0.08);
}

.booking-category-card__toggle {
    appearance: none;
    display: grid;
    grid-template-columns: 6.25rem minmax(0, 1fr) minmax(12rem, auto) 2.25rem;
    gap: 0.95rem;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
    border: 0;
    background: var(--white);
    color: inherit;
    font: inherit;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
}

.booking-category-card__toggle:hover,
.booking-category-card__toggle:focus-visible {
    background: rgba(248, 251, 255, 0.96);
    outline: 0;
}

.booking-category-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--mist);
}

.booking-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-category-card__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.booking-category-card__copy > span {
    color: var(--sand-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.booking-category-card__copy strong {
    color: var(--ink);
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    font-weight: 800;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.booking-category-card__copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.booking-category-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
}

.booking-category-card__meta span,
.booking-service-row__pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.32rem 0.55rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.booking-category-card__meta span:nth-child(1),
.booking-service-row__pill--duration {
    background: var(--mist);
    color: var(--navy);
}

.booking-category-card__meta span:nth-child(2) {
    background: var(--sky-soft);
    color: var(--navy);
}

.booking-category-card__meta span:nth-child(3),
.booking-service-row__pill--price {
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.booking-category-card__chevron {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(33, 56, 107, 0.18);
    border-radius: var(--radius-pill);
    background: var(--white);
}

.booking-category-card__chevron span,
.booking-category-card__chevron span::after {
    display: block;
    width: 0.8rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    transition: transform 0.2s var(--ease);
}

.booking-category-card__chevron span::after {
    content: "";
    transform: rotate(90deg);
}

.booking-category-card.is-open .booking-category-card__chevron span::after {
    transform: rotate(0deg);
}

.booking-category-card__panel {
    display: grid;
    gap: 1rem;
    padding: 0 0.95rem 1rem;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.booking-category-card__panel[hidden] {
    display: none;
}

.booking-category-card__empty {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.8);
    color: var(--body);
    font-size: var(--text-sm);
}

.booking-service-section {
    display: grid;
    gap: 0.6rem;
}

.booking-service-section__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-top: 0.15rem;
}

.booking-service-section__head h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.booking-service-section__head p {
    max-width: 36rem;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.booking-service-section__head > span {
    flex: 0 0 auto;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
}

.booking-service-list {
    display: grid;
    gap: 0.5rem;
}

.booking-service-row {
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(10rem, auto) auto;
    gap: 0.8rem;
    align-items: center;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid rgba(33, 56, 107, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.booking-service-row:hover,
.booking-service-row:focus-visible {
    border-color: rgba(77, 143, 217, 0.42);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(21, 40, 72, 0.08);
    outline: 0;
    transform: translateY(-1px);
}

.booking-service-row.is-selected {
    border-color: rgba(33, 56, 107, 0.58);
    background: linear-gradient(0deg, rgba(234, 243, 255, 0.72), rgba(255, 255, 255, 0.96)),
    var(--white);
    box-shadow: inset 0 0 0 1px rgba(33, 56, 107, 0.16);
}

.booking-service-row__body {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.booking-service-row__body strong {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.booking-service-row__body span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.booking-service-row__body small {
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.booking-service-row__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
}

.booking-service-row__select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(33, 56, 107, 0.18);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1;
}

.booking-service-row.is-selected .booking-service-row__select {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.booking-service-row__details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.45rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(33, 56, 107, 0.08);
}

.booking-service-row__details > span {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(33, 56, 107, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(248, 251, 255, 0.82);
}

.booking-service-row__details b {
    color: var(--sand-deep);
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.booking-service-row__details small,
.booking-service-row__details strong {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.booking-service-row__details small {
    color: var(--muted);
    font-size: var(--text-xs);
}

.booking-service-row__details strong {
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 800;
}

.booking-confirm-panel {
    position: sticky;
    top: 6.75rem;
}

.booking-confirm-panel__inner {
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.25rem);
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(21, 40, 72, 0.1);
}

.booking-confirm-panel__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.booking-confirm-panel__head > span {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
}

.booking-confirm-panel__head h2 {
    margin-top: 0.15rem;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.booking-confirm-section {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(33, 56, 107, 0.1);
}

.booking-confirm-section h3 {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.booking-confirm-panel .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.booking-confirm-panel .contact-form__field {
    grid-template-rows: auto;
}

.booking-confirm-panel textarea {
    min-height: 7.2rem;
}

.booking-summary {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin-top: 0;
    padding: 0.85rem;
    border: 1px solid rgba(33, 56, 107, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(234, 243, 255, 0.72);
}

.booking-summary > span {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
}

.booking-summary strong {
    display: block;
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 800;
}

.booking-summary p {
    margin-top: 0.15rem;
    color: var(--body);
    font-size: var(--text-sm);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.booking-category-select .contact-form__hint,
.booking-confirm-panel .contact-form__hint {
    font-size: 0.72rem;
}

.booking-form__submit {
    width: 100%;
    min-height: 3.05rem;
    margin-top: 0.15rem;
}

.booking-support {
    margin-top: 0;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(248, 251, 255, 0.9);
}

@media (max-width: 1100px) {
    .booking-console.contact-form {
        grid-template-columns: 1fr;
    }

    .booking-confirm-panel {
        position: static;
    }

    .booking-confirm-panel .contact-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .booking-page {
        padding-block: 6.4rem 3.5rem;
    }

    .booking-workspace__head {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-workspace__head .btn {
        width: 100%;
    }

    .booking-menu-panel__head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .booking-menu-stats {
        grid-column: 1 / -1;
    }

    .booking-category-card__toggle {
        grid-template-columns: 4.8rem minmax(0, 1fr) 2.25rem;
        gap: 0.75rem;
        padding: 0.65rem;
    }

    .booking-category-card__meta {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .booking-category-card__chevron {
        grid-column: 3;
        grid-row: 1;
    }

    .booking-category-card__panel {
        padding-inline: 0.65rem;
    }

    .booking-service-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .booking-service-row__meta,
    .booking-service-row__select {
        justify-content: flex-start;
    }

    .booking-service-row__select {
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .booking-workspace__head h1 {
        max-width: 11ch;
        font-size: 2.45rem;
    }

    .booking-workspace__head p:not(.eyebrow) {
        font-size: var(--text-base);
    }

    .booking-menu-panel__head,
    .booking-confirm-panel__inner {
        padding-inline: 0.85rem;
    }

    .booking-category-accordion {
        padding: 0.65rem;
    }

    .booking-category-card__image {
        width: 4.8rem;
    }

    .booking-category-card__copy small {
        -webkit-line-clamp: 3;
    }

    .booking-category-card__meta span,
    .booking-service-row__pill {
        white-space: normal;
    }

    .booking-service-section__head {
        display: grid;
        gap: 0.35rem;
    }

    .booking-confirm-panel .contact-form__grid {
        grid-template-columns: 1fr;
    }
}

/* Field-level diff inside a change history row. */
.adm-diff {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}

.adm-diff dt {
    margin-top: 0.4rem;
    font-weight: 600;
}

.adm-diff dd {
    margin: 0.1rem 0 0;
}

.adm-diff del {
    color: #b4373b;
    text-decoration: line-through;
}

.adm-diff ins {
    color: #1f7a4d;
    text-decoration: none;
}





/* ---------- Shop: cart, account and checkout ---------- */

.shop-auth__panel,
.shop-checkout__main,
.shop-checkout__summary {
    padding: clamp(1.4rem, 3vw, 2.1rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.shop-auth__panel {
    max-width: 40rem;
    margin-inline: auto;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.shop-auth--client {
    padding-block: 3.25rem 5rem;
}

.shop-auth--client .shop-auth__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.92fr);
    grid-template-areas: "heading visual" "panel visual";
    column-gap: clamp(2.5rem, 4vw, 5rem);
    row-gap: 1.5rem;
    max-width: 72rem;
    margin-inline: auto;
    align-items: start;
}

.shop-auth--client .shop-auth__heading {
    grid-area: heading;
    max-width: 34rem;
}

.shop-auth--client .shop-auth__heading h1 {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
}

.shop-auth--client .shop-auth__heading .lede {
    margin-top: 0.8rem;
    font-size: 1rem;
    line-height: 1.55;
}

.shop-auth--client .shop-auth__panel {
    grid-area: panel;
    width: 100%;
    max-width: 34rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.shop-auth--client .shop-auth__visual {
    position: relative;
    grid-area: visual;
    align-self: stretch;
    min-height: 33rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--mist);
}

.shop-auth--client .shop-auth__visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-auth--register .shop-auth__visual img {
    object-position: center 38%;
}

.shop-auth--register .shop-auth__visual {
    background: #c7bdb5;
}

.shop-auth--register .shop-auth__visual-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.shop-auth--client .contact-form__field {
    grid-template-rows: auto;
}

.shop-auth--client .contact-form__error:empty {
    display: none;
}

.shop-auth--client .contact-form__actions {
    margin-top: 0.8rem;
}

.shop-auth--client .contact-form__actions .btn {
    flex: 1 1 100%;
    min-height: 3.25rem;
}

.shop-auth--client .shop-auth__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.shop-auth--client .shop-auth__alt {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
}

.shop-auth--client .shop-auth__alt a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
    .shop-auth--client .shop-auth__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "visual" "panel";
        max-width: 40rem;
        row-gap: 1.25rem;
    }

    .shop-auth--client .shop-auth__panel,
    .shop-auth--client .shop-auth__heading {
        max-width: none;
    }

    .shop-auth--client .shop-auth__visual {
        min-height: 0;
        height: 12rem;
    }

    .shop-auth--client .shop-auth__visual img {
        object-position: center 38%;
    }

    .shop-auth--register .shop-auth__visual {
        height: clamp(18rem, 46vw, 23rem);
    }

    .shop-auth--register .shop-auth__visual-video {
        object-position: center 43%;
    }
}

@media (max-width: 600px) {
    .shop-auth--client {
        padding-block: 2rem 4rem;
    }

    .shop-auth--client .shop-auth__heading h1 {
        font-size: 2.7rem;
    }

    .shop-auth--client .shop-auth__visual {
        height: 10rem;
    }

    .shop-auth--register .shop-auth__visual {
        height: 22rem;
    }

    .shop-auth--client .shop-auth__links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

.shop-auth__alt {
    margin: 1.25rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: var(--text-sm);
    text-align: center;
}

.shop-checkout__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.shop-checkout__subhead {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: var(--text-lg);
}

.shop-checkout__choice {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.75rem;
    padding: 0;
    border: 0;
}

.shop-checkout__choice legend {
    margin-bottom: 0.7rem;
    padding: 0;
    color: var(--ink);
    font-size: var(--text-lg);
    font-weight: 600;
}

.shop-checkout__option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.shop-checkout__option:hover {
    border-color: var(--sand);
}

.shop-checkout__option.is-selected {
    border-color: var(--sand);
    background: var(--sand-soft);
}

.shop-checkout__option input {
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.shop-checkout__option-body {
    display: grid;
    gap: 0.2rem;
}

.shop-checkout__option-body strong {
    color: var(--ink);
}

.shop-checkout__option-body span {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.shop-checkout__consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400;
}

.shop-checkout__consent input {
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.shop-checkout__summary h2 {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: var(--text-lg);
}

.shop-checkout__lines {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.shop-checkout__lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--text-sm);
}

.shop-checkout__totals,
.shop-cart__summary dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem 1rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}

.shop-checkout__totals dt,
.shop-cart__summary dt {
    color: var(--muted);
    font-size: var(--text-sm);
}

.shop-checkout__totals dd,
.shop-cart__summary dd {
    margin: 0;
    color: var(--ink);
    font-size: var(--text-sm);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.shop-checkout__gst,
.shop-cart__gst,
.shop-complete__gst,
.shop-order__gst {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: var(--text-xs);
}

.shop-cart__table,
.shop-orders__table,
.shop-order__table,
.shop-complete__table {
    width: 100%;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.shop-cart__table th,
.shop-orders__table th {
    padding: 0.65rem 0.8rem;
    border-bottom: 1.5px solid var(--ink);
    color: var(--ink);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
}

.shop-cart__table td,
.shop-orders__table td,
.shop-order__table td,
.shop-complete__table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.shop-cart__table input[type="number"] {
    width: 5rem;
}

.shop-cart__issue {
    margin: 0.3rem 0 0;
    color: var(--sand-deep);
    font-size: var(--text-xs);
}

.shop-cart__remove {
    color: var(--muted);
    font-size: var(--text-sm);
}


.shop-cart__summary {
    max-width: 24rem;
    margin-left: auto;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(1.2rem, 2.5vw, 1.7rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.shop-cart__summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.shop-cart__nudge {
    margin: 0.85rem 0 0;
    padding: 0.6rem 0.75rem;
    background: var(--sand-soft);
    border-radius: var(--radius-sm);
    color: var(--sand-deep);
    font-size: var(--text-sm);
}

.shop-cart__nudge--earned {
    background: var(--accent-soft, #e4f0ed);
    color: #1f7a6b;
}

.shop-cart__empty {
    display: grid;
    justify-items: center;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--muted);
}

.shop-pay__form {
    max-width: 34rem;
    margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.shop-pay__form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.25rem;
}

.shop-pay__message {
    margin: 0.85rem 0 0;
    color: var(--crit, #a8333a);
    font-size: var(--text-sm);
}

@media (max-width: 860px) {
    .shop-checkout__layout {
        grid-template-columns: 1fr;
    }

    .shop-cart__summary {
        max-width: none;
        margin-left: 0;
    }
}

.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    min-height: 0;
    padding: 0;
    border-radius: 3px;
    accent-color: var(--sand);
}

.contact-form input[type="radio"] {
    border-radius: 50%;
}

.contact-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.contact-form__actions .btn {
    width: auto;
    flex: 0 0 auto;
}

.shop-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.shop-pagination__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-pagination__list li a,
.shop-pagination__list li.active span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: var(--text-sm);
}

.shop-pagination__list li.active span {
    border-color: var(--sand);
    background: var(--sand-soft);
    color: var(--sand-deep);
}

.shop-pagination__list li a:hover {
    border-color: var(--sand);
}

.shop-cart__row-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.shop-cart__row-form input[type="number"] {
    width: 5.5rem;
    min-height: 2.6rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
}

.shop-cart__row-form .btn {
    padding: 0.55rem 1.1rem;
}

.shop-cart__line-total {
    min-width: 5rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

button.shop-cart__remove {
    padding: 0;
    background: none;
    border: 0;
    color: var(--muted);
    font-family: inherit;
    font-size: var(--text-sm);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

button.shop-cart__remove:hover,
button.shop-cart__remove:focus-visible {
    color: #a8333a;
}

.header__account {
    position: relative;
}

.header__account > summary {
    list-style: none;
    cursor: pointer;
}

.header__account > summary::-webkit-details-marker {
    display: none;
}

.header__account-caret {
    transition: transform 0.2s ease;
}

.header__account[open] .header__account-caret {
    transform: rotate(180deg);
}

.header__account-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 60;
    display: grid;
    min-width: 11rem;
    padding: 0.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.header__account-menu a,
.header__account-menu button {
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--ink);
    font-family: inherit;
    font-size: var(--text-sm);
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.header__account-menu a:hover,
.header__account-menu button:hover,
.header__account-menu a:focus-visible,
.header__account-menu button:focus-visible {
    background: var(--sand-soft);
    color: var(--sand-deep);
}

@media (max-width: 1180px) {
    .header__cart span,
    .header__login--staff span {
        display: none;
    }
}

/* --- Iteration 2: booking, packages, treatment notes -------------------- */

.booking-treatments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.booking-treatments__card {
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e3e7f0);
    border-radius: var(--radius-lg, 14px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.booking-treatments__card h2 {
    font-size: 1.15rem;
    margin: 0;
}

.booking-treatments__card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.booking-treatments__prices {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.booking-treatments__prices li {
    padding: 0.25rem 0;
    border-bottom: 1px dashed var(--line, #e3e7f0);
}

.booking-treatments__prices li:last-child {
    border-bottom: none;
}

.booking-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.booking-slots__heading {
    margin-top: 1.5rem;
}

.booking-slots__slot {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 1px solid var(--navy);
    border-radius: var(--button-radius);
    text-decoration: none;
    font-weight: 600;
    color: var(--navy);
}

.booking-slots__slot:hover,
.booking-slots__slot:focus-visible {
    background: var(--navy);
    color: var(--white);
}

.booking-review__table th {
    width: 11rem;
    text-align: left;
    vertical-align: top;
}

@media (max-width: 600px) {
    .booking-review__table,
    .booking-review__table tbody,
    .booking-review__table tr,
    .booking-review__table th,
    .booking-review__table td {
        display: block;
        width: 100%;
    }

    .booking-review__table th {
        padding: 0.8rem 0 0.2rem;
        border-bottom: 0;
    }

    .booking-review__table td {
        padding: 0 0 0.8rem;
        overflow-wrap: anywhere;
    }
}

.booking-review__policy {
    background: var(--wash, #f5f7fb);
    border-radius: var(--radius-md, 10px);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}

.booking-review__policy h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.booking-waitlist {
    border-top: 1px solid var(--line, #e3e7f0);
    margin-top: 1rem;
    padding-top: 1rem;
}

.booking-back {
    margin-top: 1.5rem;
}

.btn--small {
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.note-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0;
}

.note-photos__item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md, 10px);
    border: 1px solid var(--line, #e3e7f0);
}

/* --- Booking calendar --------------------------------------------------- */

.booking-category {
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
}

.booking-option {
    margin: 0.4rem 0 0;
    font-weight: 600;
}

.booking-calendar {
    margin: 1.5rem 0;
}

.booking-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.booking-calendar__head {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted, #5a6579);
    padding-bottom: 0.25rem;
}

.booking-calendar__pad {
    min-height: 2.6rem;
}

.booking-calendar__day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
}

.booking-calendar__day.is-off {
    color: #b3b9c6;
    background: var(--wash, #f5f7fb);
    cursor: not-allowed;
}

.booking-calendar__day.is-available {
    background: #e8f1ff;
    border-color: var(--brand, #21386b);
    color: var(--brand, #21386b);
}

.booking-calendar__day.is-available:hover,
.booking-calendar__day.is-available:focus-visible {
    background: var(--brand, #21386b);
    color: #fff;
}

.booking-calendar__day.is-selected {
    background: var(--brand, #21386b);
    color: #fff;
}

.booking-calendar__day.is-today {
    box-shadow: inset 0 0 0 2px rgba(33, 56, 107, 0.35);
}

.booking-slots__who {
    margin: 1rem 0 0.25rem;
    font-size: 1rem;
}

/* --- Booking catalogue (native <details>, no JS) ------------------------ */

.booking-filter {
    margin-top: clamp(1.3rem, 3vw, 2rem);
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 48px rgba(21, 40, 72, 0.08);
}

.booking-filter__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(33, 56, 107, 0.08);
}

.booking-filter__head h2 {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.booking-filter__head p {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.35;
}

.booking-filter__grid {
    grid-template-columns:
        minmax(14rem, 1.3fr)
        minmax(12rem, 1fr)
        minmax(9.5rem, 0.75fr)
        minmax(10.5rem, 0.85fr)
        auto;
    gap: 0.75rem;
    align-items: end;
}

.booking-filter .contact-form__field {
    grid-template-rows: auto minmax(3rem, auto);
}

.booking-filter__actions {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    align-self: end;
    margin-top: 0;
}

.booking-filter__actions .btn {
    min-height: 3rem;
    justify-content: center;
    padding-inline: 1.25rem;
}

details.booking-category-card > summary {
    list-style: none;
}

details.booking-category-card > summary::-webkit-details-marker {
    display: none;
}

details.booking-category-card[open] {
    border-color: rgba(33, 56, 107, 0.36);
    box-shadow: 0 14px 34px rgba(21, 40, 72, 0.08);
}

details.booking-category-card[open] .booking-category-card__chevron span::after {
    transform: rotate(180deg);
}

.booking-category-card__panel {
    display: grid;
    gap: 0.75rem;
    padding: 0.2rem 0.85rem 0.85rem;
}

.booking-service-row.is-unavailable {
    background: rgba(248, 250, 252, 0.9);
}

.booking-service-row__body small {
    color: var(--muted, #5a6579);
}

.booking-service-row__meta {
    display: block;
}

.booking-category-card__meta > strong {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.booking-service-row {
    grid-template-columns: minmax(0, 1fr) minmax(7.8rem, auto) auto;
    gap: 1rem;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.94);
    cursor: default;
}

.booking-service-row:hover,
.booking-service-row:focus-visible {
    border-color: rgba(33, 56, 107, 0.24);
    box-shadow: 0 12px 28px rgba(21, 40, 72, 0.08);
    transform: none;
}

.booking-service-row__body {
    gap: 0.35rem;
}

.booking-service-row__body strong {
    font-size: 1.02rem;
}

.booking-service-row__price {
    display: grid;
    gap: 0.05rem;
    justify-items: end;
    text-align: right;
}

.booking-service-row__price strong {
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.1;
}

.booking-service-row__price span {
    color: var(--body);
    font-size: var(--text-sm);
    font-weight: 700;
}

.booking-service-row__price small {
    color: var(--muted, #5a6579);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.2;
}

.booking-service-row__action .btn {
    min-width: 8.6rem;
    justify-content: center;
    white-space: nowrap;
}

.booking-category-accordion {
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding: 0;
}

@media (max-width: 1080px) {
    .booking-filter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-filter__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .booking-filter__grid {
        grid-template-columns: 1fr;
    }

    .booking-filter__head {
        align-items: stretch;
    }

    .booking-filter__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .booking-filter__actions {
        justify-content: stretch;
    }

    .booking-service-row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .booking-service-row__price {
        justify-items: start;
        text-align: left;
    }

    .booking-service-row__action .btn {
        width: 100%;
    }
}

/* --- Booking sign-in reminder ------------------------------------------- */

.booking-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 330;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.booking-auth-modal[hidden] {
    display: none;
}

.booking-auth-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(14, 28, 51, 0.62);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.booking-auth-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    width: min(100%, 27rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(14, 28, 51, 0.28);
    text-align: center;
}

.booking-auth-modal__panel:focus {
    outline: 0;
}

.booking-auth-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.booking-auth-modal__image {
    display: block;
    width: 8.25rem;
    height: auto;
    max-height: 9.5rem;
    object-fit: contain;
}

.booking-auth-modal__panel h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--ink);
}

.booking-auth-modal__panel p:not(.about-pill) {
    color: var(--body);
    line-height: 1.55;
}

.booking-auth-modal__selection {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.booking-auth-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    width: 100%;
    margin-top: 0.3rem;
}

.booking-auth-modal__actions .btn {
    justify-content: center;
    min-width: 0;
}

.booking-auth-modal__later {
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: var(--text-sm);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

@media (max-width: 390px) {
    .booking-auth-modal__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 650px) {
    .booking-auth-modal__panel {
        gap: 0.5rem;
        padding: 0.85rem 1rem;
    }

    .booking-auth-modal__panel .about-pill {
        display: none;
    }

    .booking-auth-modal__image {
        width: 6rem;
        max-height: 7rem;
    }

    .booking-auth-modal__panel h2 {
        font-size: 1.65rem;
    }

    .booking-auth-modal__panel p:not(.about-pill) {
        font-size: var(--text-sm);
        line-height: 1.4;
    }

    .booking-auth-modal__actions .btn {
        min-height: 2.5rem;
        padding: 0.45rem;
    }
}

/* --- Home account guide ------------------------------------------------- */

.home-auth-guide {
    position: fixed;
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    max-width: calc(100vw - 1.5rem);
    opacity: 1;
    transition: opacity 220ms ease, transform 220ms ease;
}

.home-auth-guide[hidden],
.home-auth-guide__bubble[hidden] {
    display: none;
}

.home-auth-guide.is-leaving {
    opacity: 0;
    transform: translateY(0.75rem);
    pointer-events: none;
}

.home-auth-guide__bubble {
    position: relative;
    align-self: center;
    width: 11.5rem;
    max-width: calc(100vw - 7.75rem);
    padding: 0.8rem;
    border: 1px solid rgba(33, 56, 107, 0.2);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    font-size: var(--text-sm);
    line-height: 1.35;
}

.home-auth-guide__bubble p {
    margin: 0 1.5rem 0.6rem 0;
    color: var(--ink);
    font-weight: 700;
}

.home-auth-guide__close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--body);
    font: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.home-auth-guide__close:hover,
.home-auth-guide__close:focus-visible {
    background: var(--mist);
    color: var(--ink);
}

.home-auth-guide__links {
    display: grid;
    gap: 0.4rem;
}

.home-auth-guide__links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--navy);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.home-auth-guide__links a:first-child,
.home-auth-guide__links a:hover,
.home-auth-guide__links a:focus-visible {
    background: var(--navy);
    color: var(--white);
}

.home-auth-guide__avatar-toggle {
    display: flex;
    flex-direction: column;
    flex: 0 0 5.75rem;
    width: 5.75rem;
    height: 8.625rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.home-auth-guide__avatar-toggle:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.home-auth-guide__avatar {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 8px rgba(21, 40, 72, 0.16));
    animation: home-auth-guide-drift 6.5s ease-in-out infinite;
}

.home-auth-guide__avatar-caption {
    display: none;
}

@keyframes home-auth-guide-drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    30% { transform: translate3d(-0.7rem, -0.6rem, 0) rotate(-2deg); }
    68% { transform: translate3d(0.2rem, -1rem, 0) rotate(1deg); }
}

@media (max-width: 520px) {
    .home-auth-guide {
        right: 0.5rem;
        bottom: max(0.5rem, env(safe-area-inset-bottom));
        gap: 0.25rem;
    }

    .home-auth-guide__bubble {
        width: 11.5rem;
        max-width: calc(100vw - 6rem);
        padding: 0.65rem;
    }

    .home-auth-guide__avatar-toggle {
        flex-basis: 4.5rem;
        width: 4.5rem;
        height: 5.75rem;
    }
}

@media (max-width: 520px), (max-height: 650px) {
    .home-auth-guide__avatar-caption {
        display: block;
        order: -1;
        width: 100%;
        padding: 0.18rem 0.1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        background: var(--white);
        box-shadow: var(--shadow-sm);
        color: var(--navy);
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }
}

@media (max-height: 500px) {
    .home-auth-guide__avatar-toggle {
        height: 5.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-auth-guide__avatar {
        animation: none;
    }
}

/* --- FAQ page ----------------------------------------------------------- */

.faq-hero {
    position: relative;
    overflow: hidden;
    padding-block: 5.5rem 3.25rem;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.28) 70%, rgba(255, 255, 255, 0.1) 100%),
        url("../img/skin-comparison-preview.jpg") center / cover no-repeat,
        var(--white);
}

.faq-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(33, 56, 107, 0.16), transparent);
}

.faq-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: var(--gap-lg);
    align-items: center;
}

.faq-hero__copy {
    display: grid;
    gap: 1.2rem;
    max-width: 44rem;
}

.faq-hero__copy h1 {
    max-width: 12ch;
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: 0.98;
}

.faq-hero__copy p:not(.about-pill) {
    max-width: 37rem;
    color: var(--body);
    font-size: var(--text-xl);
    line-height: 1.55;
}

.faq-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.faq-hero__panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(33, 56, 107, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
}

.faq-hero__panel div {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.25rem 0.85rem;
    align-items: start;
    padding: 0.85rem;
    border: 1px solid rgba(33, 56, 107, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(248, 251, 255, 0.72);
}

.faq-hero__panel span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 800;
}

.faq-hero__panel strong {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.2;
}

.faq-hero__panel p {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.faq-page {
    background: var(--cream);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: var(--gap-lg);
    align-items: start;
}

.faq-nav {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(33, 56, 107, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-nav p {
    padding: 0.35rem 0.45rem 0.55rem;
    color: var(--sand-deep);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.faq-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.2;
}

.faq-nav a:hover,
.faq-nav a:focus-visible {
    background: var(--sky-soft);
    color: var(--navy);
}

.faq-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 1.55rem;
    border-radius: var(--radius-pill);
    background: var(--mist);
    color: var(--navy);
    font-size: var(--text-xs);
}

.faq-groups {
    display: grid;
    gap: 1.25rem;
}

.faq-group {
    scroll-margin-top: 7rem;
    display: grid;
    gap: 0.85rem;
}

.faq-group__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.faq-group__head h2 {
    color: var(--ink);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0;
}

.faq-list {
    display: grid;
    gap: 0.65rem;
}

.faq-item {
    border: 1px solid rgba(33, 56, 107, 0.13);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: rgba(33, 56, 107, 0.32);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 1rem;
    align-items: center;
    min-height: 4rem;
    padding: 0.95rem 1rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span:first-child {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.faq-item__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(33, 56, 107, 0.18);
    border-radius: var(--radius-pill);
    background: var(--sky-soft);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    width: 0.85rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    transition: transform 0.2s var(--ease);
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon {
    background: var(--navy);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
    background: var(--white);
}

.faq-item[open] .faq-item__icon::after {
    transform: rotate(0deg);
}

.faq-item__answer {
    padding: 0 1rem 1rem;
}

.faq-item__answer p {
    max-width: 52rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line-soft);
    color: var(--body);
    font-size: var(--text-base);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .faq-hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.55)),
            url("../img/skin-comparison-preview.jpg") center / cover no-repeat,
            var(--white);
    }

    .faq-hero__inner,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-hero__copy h1 {
        max-width: 13ch;
        font-size: 3.2rem;
    }

    .faq-nav {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }

    .faq-nav p {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .faq-hero {
        padding-block: 4rem 2.5rem;
    }

    .faq-hero__copy h1 {
        font-size: 2.55rem;
    }

    .faq-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .faq-hero__panel div {
        grid-template-columns: 1fr;
    }

    .faq-hero__panel span {
        grid-row: auto;
    }

    .faq-group__head {
        display: grid;
    }
}

/* --- Order tracking timeline (client portal) --------------------------- */

.order-track {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1.25rem 0;
    padding: 0;
}

.order-track__step {
    position: relative;
    text-align: center;
    padding-top: 1.4rem;
    color: var(--muted, #5a6579);
}

.order-track__step strong {
    display: block;
    font-size: 0.85rem;
}

.order-track__step small {
    display: block;
    font-size: 0.72rem;
}

.order-track__dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0.9rem;
    height: 0.9rem;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(33, 56, 107, 0.3);
    background: var(--white, #fff);
}

.order-track__step::before {
    content: '';
    position: absolute;
    top: 0.45rem;
    left: -50%;
    width: 100%;
    height: 2px;
    background: rgba(33, 56, 107, 0.15);
}

.order-track__step:first-child::before {
    display: none;
}

.order-track__step.is-done {
    color: var(--ink, #1c2540);
}

.order-track__step.is-done .order-track__dot {
    background: var(--brand, #21386b);
    border-color: var(--brand, #21386b);
}

.order-track__step.is-done::before {
    background: var(--brand, #21386b);
}

.order-track__ref {
    margin: 0.5rem 0 1rem;
}

/* Booking: add-ons, closed days, reschedule */
.booking-addons label.booking-addons__item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 400;
    cursor: pointer;
}

.booking-addons__item input {
    margin-top: 0.3rem;
}

.booking-addons__item small {
    display: block;
    opacity: 0.7;
}

.booking-calendar__day.is-closed {
    background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0 4px, transparent 4px 8px);
    cursor: help;
}

.booking-calendar__closures span {
    display: inline-block;
    margin-right: 0.75rem;
}

.booking-review__items {
    margin: 0;
    padding-left: 1.1rem;
}

.booking-review__items small {
    display: block;
    opacity: 0.7;
}

.booking-slots form {
    display: inline;
}

.booking-slots form .booking-slots__slot {
    background: var(--white);
    border-color: var(--navy);
    color: var(--navy);
    font: 600 var(--text-sm)/1.25 var(--font-ui);
    cursor: pointer;
}

.booking-slots form .booking-slots__slot:hover,
.booking-slots form .booking-slots__slot:focus-visible {
    background: var(--navy);
    color: var(--white);
}

/* Booking and payment controls: compact screens, focus, and recovery states. */
.shop-auth .contact-form__label,
.shop-auth .booking-addons legend {
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 650;
    line-height: 1.3;
}

.booking-addons.contact-form__field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.booking-addons legend {
    padding: 0 0 0.4rem;
}

.booking-options__actions {
    grid-column: 1 / -1;
    display: flex;
}

.booking-calendar__nav {
    gap: 0.35rem;
}

.booking-calendar__nav strong {
    min-width: 0;
    text-align: center;
    line-height: 1.25;
}

.booking-calendar__nav .btn,
.booking-calendar__day,
.booking-slots__slot {
    min-height: 2.75rem;
}

.booking-calendar__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.booking-calendar__head abbr {
    text-decoration: none;
}

.booking-slots__slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5rem;
    border-radius: var(--radius-sm);
}

.booking-calendar__day:focus-visible,
.booking-slots__slot:focus-visible,
.shop-checkout__option:focus-within {
    outline: 3px solid var(--sand-deep);
    outline-offset: 2px;
}

.contact-form__error-summary {
    padding: 0.75rem 1rem;
    border-left: 3px solid #a8333a;
    background: #fff4f3;
    color: #8a242b;
    font-size: var(--text-sm);
}

.shop-pay__note {
    max-width: 34rem;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.shop-pay__note a {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.shop-pay__message {
    line-height: 1.5;
}

.shop-pay__spinner {
    width: 1rem;
    height: 1rem;
    margin-left: 0.65rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: shop-pay-spin 0.7s linear infinite;
}

.shop-pay__spinner[hidden],
.shop-pay__pending[hidden] {
    display: none;
}

.shop-pay__pending {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: var(--text-sm);
    text-align: center;
}

@keyframes shop-pay-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-pay__spinner {
        animation-duration: 1.8s;
    }
}

.shop-pay__form .btn:disabled {
    cursor: wait;
    opacity: 0.58;
    transform: none;
}

@media (max-width: 600px) {
    .shop-auth__panel,
    .shop-checkout__main,
    .shop-checkout__summary,
    .shop-pay__form {
        padding: 1rem;
    }

    .shop-auth .contact-form__grid,
    .shop-checkout .contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-calendar__grid {
        gap: 0.2rem;
    }

    .booking-calendar__day {
        font-size: var(--text-sm);
    }

    .booking-calendar__nav .btn {
        padding-inline: 0.6rem;
    }

    .booking-options__actions .btn,
    .booking-review__form .contact-form__actions .btn,
    .shop-checkout .contact-form__actions .btn {
        width: 100%;
        line-height: 1.3;
    }

    .shop-checkout__lines li span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .shop-complete .about-template-hero__actions .btn {
        width: 100%;
    }
}

/* ---------- Show / hide password ----------------------------------------
   The toggle sits inside the field rather than beside it, so the input keeps
   the full column width and the control cannot be mistaken for a form action.
   Right padding on the input reserves room for it, so a long password never
   runs underneath the word. */

.password-field {
    /* Built by JS as a <span>, which is inline by default - block display keeps
       the wrapped input at the field's full width. */
    display: block;
    position: relative;
    width: 100%;
}

.password-field input {
    /* Matches .contact-form input padding, with room for the toggle. */
    padding-right: 4.5rem;
}

.password-field__toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    min-width: 2.75rem;
    min-height: var(--button-height);
    padding: 0.35rem 0.5rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: var(--text-sm);
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.password-field__toggle:hover {
    background: var(--mist);
    color: var(--navy-deep);
}

/* Keyboard users must be able to see where they are - the toggle is between
   the password field and the submit button in tab order. */
.password-field__toggle:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* ---------- Address lookup ----------------------------------------------
   A plain input plus a results list, rather than a third-party widget, so it
   inherits the form's own field styling and cannot be restyled out from under
   us by a provider update. */

.address-lookup__control {
    position: relative;
}

.address-lookup__results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    max-height: 16rem;
    overflow-y: auto;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 28px rgba(22, 35, 63, 0.12);
}

.address-lookup__results[hidden] {
    display: none;
}

.address-lookup__result {
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    line-height: 1.4;
    color: var(--ink);
    cursor: pointer;
}

/* Hover and keyboard selection share one style, so arrowing through the list
   looks the same as pointing at it. */
.address-lookup__result:hover,
.address-lookup__result.is-active {
    background: var(--mist);
    color: var(--navy-deep);
}

.address-lookup[hidden] {
    display: none;
}
