/* PS Hair Replacement: shared stylesheet
   1. Tokens  2. Base  3. Layout  4. Components  5. Header  6. Mobile bar  7. Home sections */

/* ---------- 1. Tokens ---------- */

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/fraunces-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

:root {
    /* Brand colours, sampled from the logo */
    --green-700: #026047;
    --green-800: #014a37;
    --green-900: #0b2a22;
    --green-950: #071d17;
    --gold-500: #e6c85e;
    --gold-600: #d8b850;
    --gold-100: #f8efcf;

    --ink: #14201c;
    --ink-muted: #51605b;
    --bg: #f5f3ee;
    --surface: #ffffff;
    --field: #eeece6;
    --line: #e0ddd4;
    --on-dark: #ffffff;
    --on-dark-muted: #c9d6d1;
    --line-on-dark: rgb(255 255 255 / 0.16);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 18px 40px rgb(11 42 34 / 0.14);

    --container: 1320px;
    --gutter: 20px;
    --header-h: 72px;
    --mobile-bar-h: 64px;
}

@media (min-width: 768px) {
    :root {
        --gutter: 30px;
        --header-h: 88px;
    }
}

/* ---------- 2. Base ---------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    padding-bottom: var(--mobile-bar-h);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green-700);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--green-900);
}

p {
    margin: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--gold-600);
    outline-offset: 2px;
}

.icon {
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--gold-500);
    color: var(--green-900);
    font-weight: 600;
}

.skip-link:focus {
    top: 8px;
}

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

    * {
        transition: none !important;
    }
}

/* ---------- 3. Layout ---------- */

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- 4. Components ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--gold {
    background: var(--gold-500);
    color: var(--green-900);
}

.btn--gold:hover {
    background: var(--gold-600);
}

.btn--outline-light {
    border-color: var(--line-on-dark);
    color: var(--on-dark);
}

.btn--outline-light:hover {
    border-color: var(--on-dark);
}

.btn--block {
    width: 100%;
}

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-700);
}

.eyebrow--gold {
    color: var(--gold-500);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--line-on-dark);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--on-dark);
}

.chip .icon {
    color: var(--gold-500);
}

.tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgb(11 42 34 / 0.85);
    color: var(--on-dark);
    font-size: 0.8125rem;
    font-weight: 600;
}

.tag--gold {
    background: var(--gold-500);
    color: var(--green-900);
}

/* Form fields */

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
}

.field__optional {
    font-weight: 400;
    color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--field);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--ink-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green-700);
    background: var(--surface);
}

.booking-form {
    display: grid;
    gap: 16px;
}

.booking-form__submit {
    align-self: end;
}

@media (min-width: 640px) {
    .booking-form {
        grid-template-columns: 1fr 1fr;
    }

    .booking-form .field--wide,
    .booking-form__submit {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .booking-form--short {
        grid-template-columns: repeat(4, 1fr) auto;
    }

    .booking-form--short .booking-form__submit {
        grid-column: auto;
    }
}

/* ---------- 5. Header ---------- */

.topbar {
    background: var(--green-950);
    color: var(--on-dark-muted);
    font-size: 0.8125rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.topbar__item:hover {
    color: var(--gold-500);
}

.topbar__item .icon {
    color: var(--gold-500);
}

.topbar__item--wide,
.topbar__number {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--green-900);
    color: var(--on-dark);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
    color: var(--on-dark);
    text-decoration: none;
}

.brand img {
    width: 46px;
    height: 46px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand__name {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.brand__sub {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--gold-500);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__book {
    display: none;
}

.header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    color: var(--on-dark);
    font-weight: 600;
    text-decoration: none;
}

.header-call .icon {
    color: var(--gold-500);
}

.header-call span {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--on-dark);
    cursor: pointer;
}

.menu-toggle__close,
.menu-open .menu-toggle__open {
    display: none;
}

.menu-open .menu-toggle__close {
    display: inline-flex;
}

/* Mobile drawer */

.nav {
    position: fixed;
    inset: 0;
    top: var(--nav-top, var(--header-h));
    z-index: 49;
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 16px var(--gutter) calc(var(--mobile-bar-h) + 24px);
    overflow-y: auto;
    background: var(--green-900);
}

.menu-open .nav {
    display: flex;
}

.menu-open {
    overflow: hidden;
}

.nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    border-bottom: 1px solid var(--line-on-dark);
    color: var(--on-dark);
    font-size: 1.0625rem;
    font-weight: 500;
    text-decoration: none;
}

.nav__link[aria-current='page'] {
    color: var(--gold-500);
}

.nav__sub a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-left: 16px;
    color: var(--on-dark-muted);
    text-decoration: none;
}

.nav__mobile-actions {
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .topbar__item--wide {
        display: inline-flex;
    }

    .topbar__number {
        display: inline;
    }

    .header-call span {
        display: inline;
    }

    .site-header__book {
        display: inline-flex;
    }
}

/* Desktop nav */

@media (min-width: 1240px) {
    .menu-toggle,
    .nav__mobile-actions,
    .header-call {
        display: none;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .nav {
        position: static;
        display: block;
        padding: 0;
        overflow: visible;
        background: none;
    }

    .nav__list {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .site-header__book {
        min-height: 48px;
        padding-inline: 20px;
        white-space: nowrap;
    }

    .nav__link {
        white-space: nowrap;
    }

    .nav__item {
        position: relative;
    }

    .nav__link {
        gap: 4px;
        min-height: 44px;
        padding: 0 8px;
        border: 0;
        border-radius: var(--radius-sm);
        font-size: 0.90625rem;
        white-space: nowrap;
    }

    .nav__link:hover {
        color: var(--gold-500);
    }

    .nav__sub {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        padding: 8px;
        border-radius: var(--radius-sm);
        background: var(--surface);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    }

    .nav__item--has-sub:hover .nav__sub,
    .nav__item--has-sub:focus-within .nav__sub {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__sub a {
        padding: 0 12px;
        border-radius: 8px;
        color: var(--ink);
    }

    .nav__sub a:hover {
        background: var(--bg);
        color: var(--green-700);
    }
}

/* Laptop widths: tighter menu so all links and the Book button fit without scrolling. */
@media (min-width: 1240px) and (max-width: 1439px) {
    .site-header__inner {
        gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand__name {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .brand__sub {
        font-size: 0.625rem;
        letter-spacing: 0.18em;
    }

    .nav__list {
        gap: 0;
    }

    .nav__link {
        padding: 0 6px;
        font-size: 0.8125rem;
    }

    .site-header__book {
        padding-inline: 14px;
        font-size: 0.875rem;
    }
}

/* ---------- 6. Sticky mobile bar ---------- */

.mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    height: var(--mobile-bar-h);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--green-900);
    border-top: 1px solid var(--line-on-dark);
    box-sizing: content-box;
}

.mobile-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--on-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-bar__item + .mobile-bar__item {
    border-left: 1px solid var(--line-on-dark);
}

.mobile-bar__item--book {
    background: var(--gold-500);
    color: var(--green-900);
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }

    .mobile-bar {
        display: none;
    }
}

/* ---------- 7. Home sections ---------- */

/* Hero */

.hero {
    position: relative;
    background:
        linear-gradient(90deg, var(--green-900) 0%, rgb(11 42 34 / 0.94) 45%, rgb(11 42 34 / 0.78) 100%),
        url('../img/stock/studio-chair-dark.webp') center / cover no-repeat,
        var(--green-900);
    color: var(--on-dark);
}

.hero__inner {
    display: grid;
    gap: 32px;
    padding-block: 32px 28px;
}

.hero__title {
    margin-top: 14px;
    font-size: clamp(2.125rem, 1.2rem + 4vw, 4rem);
    color: var(--on-dark);
}

.hero__title-sub {
    display: block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--gold-500);
}

.hero__lead {
    max-width: 34rem;
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--on-dark-muted);
}

.hero__actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.hero .chips {
    margin-top: 26px;
}

.hero__result {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero__result-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: hidden;
    border-radius: var(--radius);
}

.hero__result-half {
    position: relative;
}

.hero__result-half img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
}

.hero__result-caption {
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--on-dark-muted);
    text-align: center;
}

.hero__form {
    padding: 22px 20px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(40px);
    margin-top: -20px;
}

.hero {
    margin-bottom: 72px;
}

.hero__form-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--green-900);
}

.hero__form-title span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-700);
}

@media (min-width: 560px) {
    .hero__actions {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 960px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: center;
        gap: 56px;
        padding-block: 64px 36px;
    }

    .hero__lead {
        font-size: 1.1875rem;
    }

    .hero__result {
        max-width: none;
    }

    .hero__result-pair {
        border-radius: var(--radius-lg);
    }

    .hero__form {
        padding: 26px 30px 30px;
    }
}

/* ---------- 8. Shared section pieces ---------- */

.section {
    padding-block: 64px;
}

.section--tight {
    padding-block: 24px;
}

.section-head {
    display: grid;
    gap: 12px;
    max-width: 44rem;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
}

.section-head p:not(.eyebrow) {
    color: var(--ink-muted);
    font-size: 1.0625rem;
}

.section-head .btn {
    justify-self: start;
    margin-top: 8px;
}

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

.section-head--row {
    max-width: none;
    align-items: end;
}

.panel {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
}

.panel--dark {
    background: var(--green-900);
    color: var(--on-dark);
}

.panel--dark h2,
.panel--dark h3 {
    color: var(--on-dark);
}

.panel--dark .section-head p:not(.eyebrow) {
    color: var(--on-dark-muted);
}

.panel__action {
    margin-top: 28px;
    text-align: center;
}

.split {
    display: grid;
    gap: 40px;
    align-items: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    color: var(--green-700);
    text-decoration: none;
}

.link-arrow:hover {
    text-decoration: underline;
}

.btn--dark {
    background: var(--green-900);
    color: var(--on-dark);
}

.btn--dark:hover {
    background: var(--green-700);
}

.btn--outline {
    border-color: var(--line);
    background: var(--surface);
    color: var(--green-900);
}

.btn--outline:hover {
    border-color: var(--green-700);
}

.btn--small {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 0.9375rem;
}

/* A row of --n stars, each --s wide with a 2px gap, drawn as one repeating background. */
.stars {
    display: inline-block;
    flex: none;
    width: calc(var(--n, 5) * (var(--s, 16px) + 2px) - 2px);
    height: var(--s, 16px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e0a100' d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8-6.2-3.2L5.8 21 7 14.2 2 9.3l6.9-1z'/%3E%3C/svg%3E") left center / calc(var(--s, 16px) + 2px) var(--s, 16px) repeat-x;
}

@media (min-width: 768px) {
    .section {
        padding-block: 96px;
    }

    .section--tight {
        padding-block: 32px;
    }

    .section-head {
        margin-bottom: 48px;
    }

    .section-head--row {
        grid-template-columns: 1fr auto;
    }

    .section-head--row .btn {
        margin: 0;
    }

    .panel {
        padding: 64px 40px;
    }
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 72px;
    }

    .split--reverse > :first-child {
        order: 2;
    }

    .panel {
        padding: 72px 60px;
    }
}

/* ---------- 9. Home sections, continued ---------- */

/* Gold strip and trust strip */

.offer-strip {
    background: var(--gold-500);
    color: var(--green-900);
}

.offer-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 24px;
    padding-block: 14px;
    text-align: center;
}

.offer-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: inherit;
    font-weight: 700;
}

.trust {
    padding-block: 48px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
}

.stat {
    display: grid;
    gap: 4px;
    text-align: center;
}

.stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
    font-weight: 500;
    line-height: 1;
    color: var(--green-900);
}

.stat__number span {
    color: var(--gold-600);
}

.stat__label {
    color: var(--ink-muted);
}

.awards {
    display: grid;
    gap: 12px;
    margin-top: 36px;
}

.award {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.award__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--green-700);
}

.award strong {
    display: block;
    color: var(--green-900);
}

.award span:last-child {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat + .stat {
        border-left: 1px solid var(--line);
    }

    .awards {
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 20px;
        margin-top: 48px;
    }
}

/* Services */

.service-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 20%;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.panel--dark .service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--green-900);
}

.service-card p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.service-card .link-arrow {
    margin-top: auto;
}

.care-card {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    padding: 24px;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius);
    background: rgb(255 255 255 / 0.05);
}

.care-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgb(230 200 94 / 0.16);
    color: var(--gold-500);
}

.care-card h3 {
    font-size: 1.375rem;
}

.care-card p {
    margin-top: 6px;
    color: var(--on-dark-muted);
}

@media (min-width: 640px) {
    .service-card {
        grid-template-columns: 148px 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (min-width: 960px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .care-card {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
        margin-top: 24px;
        padding: 28px 32px;
    }
}

/* How it works */

.steps {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
}

.step__number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--green-900);
    font-weight: 700;
}

.step:nth-child(1) .step__number {
    background: var(--gold-500);
}

.step:nth-child(2) .step__number {
    background: var(--green-900);
    color: var(--on-dark);
}

.step:nth-child(3) .step__number {
    background: var(--green-700);
    color: var(--on-dark);
}

.step h3,
.reason h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.step p,
.reason p {
    margin-top: 4px;
    color: var(--ink-muted);
}

.photo-badge {
    position: relative;
}

.photo-badge__photo {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.photo-badge__badge {
    position: absolute;
    top: -24px;
    right: 16px;
    width: 96px;
    height: 96px;
    border: 6px solid var(--bg);
    border-radius: 50%;
}

@media (min-width: 960px) {
    .photo-badge__badge {
        top: -40px;
        right: 32px;
        width: 128px;
        height: 128px;
    }
}

/* Before and after */

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-chip {
    min-height: 44px;
    padding: 8px 20px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--green-900);
    font-weight: 600;
    cursor: pointer;
}

.filter-chip[aria-pressed='true'] {
    background: var(--gold-500);
}

.ba {
    max-width: 440px;
    margin: 0 auto;
}

.ba__frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    user-select: none;
}

.ba__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.ba__before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__tag-after {
    left: auto;
    right: 10px;
}

.ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    margin-left: -1.5px;
    background: var(--on-dark);
    pointer-events: none;
}

.ba__handle::after {
    content: '‹ ›';
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-900);
    font-weight: 700;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.3);
}

.ba__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.ba__frame:has(.ba__range:focus-visible) {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
}

.ba figcaption {
    margin-top: 12px;
    text-align: center;
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.consent-note {
    margin-top: 20px;
    text-align: center;
    color: var(--on-dark-muted);
    font-size: 0.875rem;
}

/* Why choose PS */

.notch-photo img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.reasons {
    display: grid;
    gap: 22px;
}

.reason {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
}

.reason__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-900);
    color: var(--gold-500);
}

@media (min-width: 640px) {
    .reasons {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }
}

/* Pricing */

.price-table {
    padding: 8px 20px;
    border-radius: var(--radius);
    background: var(--surface);
}

.price-row {
    display: grid;
    gap: 4px;
    padding-block: 20px;
}

.price-row + .price-row {
    border-top: 1px solid var(--line);
}

.price-row__name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--green-900);
}

.price-row__text {
    color: var(--ink-muted);
}

.price-row__price {
    font-weight: 600;
    color: var(--green-700);
}

.price-cta {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 28px;
    text-align: center;
    font-weight: 500;
}

@media (min-width: 768px) {
    .price-table {
        padding: 12px 40px;
    }

    .price-row {
        grid-template-columns: 1fr 2fr auto;
        align-items: center;
        gap: 32px;
        padding-block: 28px;
    }

    .price-row__price {
        min-width: 11rem;
        text-align: right;
    }

    .price-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }
}

/* Branches */

.branch-grid {
    display: grid;
    gap: 20px;
}

.branch-card {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

/* Photo is hidden on phones to keep the four cards short. */
.branch-card > img {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.branch-card__body {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.branch-card h3 {
    font-size: 1.5rem;
}

.branch-card h3 a {
    color: inherit;
    text-decoration: none;
}

.branch-card h3 a:hover {
    color: var(--green-700);
}

.branch-card h3 span {
    margin-left: 6px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-muted);
}

.branch-card__info {
    display: grid;
    gap: 10px;
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.branch-card__info li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
}

.branch-card__info .icon {
    margin-top: 3px;
    color: var(--green-700);
}

.branch-card__info a {
    font-weight: 600;
}

.branch-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (min-width: 640px) {
    .branch-card {
        grid-template-columns: 38% 1fr;
    }

    /* height: 0 stops a tall photo from stretching the card; min-height fills it. */
    .branch-card > img {
        display: block;
        height: 0;
        min-height: 100%;
    }
}

@media (min-width: 1100px) {
    .branch-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Google reviews */

.reviews-head {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.reviews-head__score {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
}

.reviews-head__score > img {
    width: 40px;
    height: 40px;
    margin-top: 4px;
}

.reviews-head h2 {
    font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
}

.reviews-head__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
    color: var(--ink-muted);
}

.reviews-head__rating strong {
    font-size: 1.25rem;
    color: var(--green-900);
}

.reviews-head__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

.review-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    scroll-snap-align: start;
}

.review-card__top {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.review-card__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--on-dark);
    font-weight: 600;
}

.review-card__author {
    font-weight: 600;
    color: var(--green-900);
}

.review-card__meta {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.review-card__google img {
    display: block;
    width: 20px;
    height: 20px;
}

.review-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.review-card__text.is-open {
    display: block;
}

.review-card__more {
    min-height: 44px;
    margin: -8px 0 -10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--green-700);
    font-weight: 600;
    cursor: pointer;
}

@media (min-width: 640px) {
    .review-row {
        grid-auto-columns: 46%;
    }
}

@media (min-width: 960px) {
    .reviews-head {
        grid-template-columns: 1fr auto;
        align-items: end;
        margin-bottom: 40px;
    }

    .review-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

/* Video stories */

.story-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: 14px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
}

.story-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    aspect-ratio: 9 / 16;
    background: var(--green-950);
    color: var(--on-dark);
    text-align: left;
    cursor: pointer;
    scroll-snap-align: start;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgb(7 29 23 / 0.92));
}

.story-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-900);
    transform: translate(-50%, -50%);
}

.story-card__caption {
    position: absolute;
    inset: auto 14px 14px;
    z-index: 1;
    font-size: 0.875rem;
    color: var(--on-dark-muted);
}

.story-card__caption strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--on-dark);
}

@media (min-width: 640px) {
    .story-row {
        grid-auto-columns: 34%;
    }
}

@media (min-width: 960px) {
    .story-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

.video-modal {
    width: min(420px, calc(100vw - 32px));
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--radius);
    background: var(--green-950);
    color: var(--on-dark);
}

.video-modal::backdrop {
    background: rgb(7 29 23 / 0.85);
}

.video-modal__body {
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 9 / 16;
}

.video-modal__body video,
.video-modal__body iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-modal__empty {
    display: grid;
    place-content: center;
    gap: 8px;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: var(--on-dark-muted);
}

.video-modal__empty strong {
    color: var(--on-dark);
    font-size: 1.125rem;
}

.video-modal__close {
    position: absolute;
    top: -52px;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--surface);
    color: var(--green-900);
    cursor: pointer;
}

/* FAQ */

.faq {
    display: grid;
    gap: 8px;
}

.faq__list {
    display: grid;
    gap: 12px;
}

.faq__item {
    border-radius: var(--radius);
    background: var(--surface);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
}

.faq__item summary .icon {
    color: var(--green-700);
    transition: transform 0.2s;
}

.faq__item[open] summary .icon {
    transform: rotate(45deg);
}

.faq__item > p {
    padding: 0 20px 20px;
    color: var(--ink-muted);
}

@media (min-width: 960px) {
    .faq {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 72px;
        align-items: start;
    }

    .faq .section-head {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }

    .faq__item summary {
        padding: 20px 28px;
    }

    .faq__item > p {
        padding: 0 28px 24px;
    }
}

/* Instagram */

.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.insta-grid li:nth-child(n + 7) {
    display: none;
}

.insta-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
}

.insta-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-tile:hover img {
    transform: scale(1.04);
}

.insta-tile__reel {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(7 29 23 / 0.8);
    color: var(--on-dark);
    font-size: 0.8125rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 960px) {
    .insta-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .insta-grid li:nth-child(n + 7) {
        display: block;
    }
}

/* Blog preview */

.blog-grid {
    display: grid;
    gap: 20px;
}

.blog-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.blog-card__meta {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.blog-card h3 {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

/* The whole card is the link target. */
.blog-card h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.blog-card:hover h3 {
    color: var(--green-700);
}

.blog-card .link-arrow {
    margin-top: auto;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* Final CTA band */

.cta-band {
    display: grid;
    gap: 28px;
    padding: 36px 20px 20px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gold-500);
    color: var(--green-900);
}

.cta-band__content {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
}

.cta-band .eyebrow {
    color: var(--green-800);
}

.cta-band h2 {
    font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
}

.cta-band__points {
    display: grid;
    gap: 8px;
    font-weight: 500;
}

.cta-band__points li,
.cta-band__contact,
.cta-band__contact a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cta-band__contact {
    gap: 4px 18px;
}

.cta-band__contact a {
    min-height: 44px;
    color: var(--green-900);
    font-weight: 700;
}

.cta-band__person {
    display: none;
}

.cta-band__form {
    padding: 22px 20px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
}

@media (min-width: 960px) {
    .cta-band {
        grid-template-columns: 1fr 1.05fr;
        gap: 48px;
        padding: 64px 60px;
    }

    .cta-band__content {
        padding-bottom: 300px;
    }

    .cta-band__person {
        position: absolute;
        bottom: -64px;
        left: 0;
        display: block;
        width: auto;
        height: 340px;
    }

    .cta-band__form {
        align-self: center;
        padding: 32px;
    }
}

/* ---------- 10. Footer ---------- */

.site-footer {
    margin-top: 40px;
    background: var(--green-900);
    color: var(--on-dark-muted);
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold-500);
}

.site-footer h2,
.site-footer h3 {
    color: var(--on-dark);
}

.footer-contact {
    background: var(--green-800);
}

.footer-contact__inner {
    display: grid;
    gap: 20px;
    padding-block: 32px;
}

.footer-contact h2 {
    font-size: 2rem;
}

.footer-contact ul {
    display: grid;
    gap: 14px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--on-dark);
    font-size: 1.0625rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.footer-contact a span {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-900);
}

.footer-main {
    display: grid;
    gap: 36px;
    padding-block: 48px;
}

.footer-about {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.footer-hours strong {
    display: block;
    color: var(--gold-500);
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-on-dark);
    border-radius: 50%;
    color: var(--on-dark);
}

.site-footer h3 {
    margin-bottom: 14px;
    font-size: 1.375rem;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.footer-branches ul {
    display: grid;
    gap: 20px;
}

.footer-branches li {
    display: grid;
    gap: 2px;
    font-size: 0.9375rem;
}

.footer-branches address {
    font-style: normal;
}

.footer-branches__name {
    color: var(--on-dark) !important;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 22px;
    border-top: 1px solid var(--line-on-dark);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-branches {
        grid-column: 1 / -1;
    }

    .footer-branches ul {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 960px) {
    .footer-contact__inner {
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 48px;
    }

    .footer-contact ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 16px 36px;
    }
}

@media (min-width: 1100px) {
    .footer-main {
        grid-template-columns: 1.3fr 0.9fr 0.7fr 2fr;
        gap: 48px;
        padding-block: 72px;
    }

    .footer-about,
    .footer-branches {
        grid-column: auto;
    }
}

/* ---------- 11. Inner pages ---------- */

.container--narrow {
    max-width: calc(820px + var(--gutter) * 2);
}

.h3 {
    font-size: 1.5rem;
}

/* Page hero and breadcrumbs */

.page-hero {
    padding-block: 20px 44px;
    background: var(--green-900);
    color: var(--on-dark);
}

.page-hero h1 {
    max-width: 22ch;
    margin-top: 12px;
    font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
    color: var(--on-dark);
}

.page-hero__lead {
    max-width: 40rem;
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--on-dark-muted);
}

.breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--on-dark-muted);
}

.breadcrumbs li + li::before {
    content: '›';
    margin-right: 8px;
}

.breadcrumbs a {
    display: inline-block;
    padding-block: 10px;
    color: var(--on-dark-muted);
}

.breadcrumbs [aria-current] {
    color: var(--on-dark);
}

.page-hero--split {
    margin-bottom: 0;
}

.page-hero--split:has(.hero__form) {
    margin-bottom: 72px;
    padding-bottom: 0;
}

.page-hero__grid {
    display: grid;
    gap: 28px;
}

.page-hero__grid .chips,
.page-hero__grid .hero__actions {
    margin-top: 24px;
}

.page-hero__image {
    width: 100%;
    max-height: 420px;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 25%;
}

/* Softer hero for the chemo wigs page */
.page-hero--care {
    background: var(--green-800);
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    color: var(--on-dark-muted);
}

.info-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
}

.info-list .icon {
    margin-top: 2px;
    color: var(--gold-500);
}

.info-list a {
    color: var(--on-dark);
    font-weight: 600;
}

@media (min-width: 960px) {
    .page-hero {
        padding-block: 28px 64px;
    }

    .page-hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        gap: 56px;
        padding-bottom: 36px;
    }

    .page-hero__lead {
        font-size: 1.1875rem;
    }
}

/* Prose (long text) */

.prose {
    display: grid;
    gap: 16px;
    align-content: start;
}

.prose > * {
    margin: 0;
}

.prose h2 {
    margin-top: 20px;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
}

.prose > .eyebrow + h2,
.prose > h2:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: var(--ink-muted);
    font-size: 1.0625rem;
}

.prose ul,
.prose ol {
    display: grid;
    gap: 8px;
    padding-left: 22px;
    list-style: revert;
}

.prose strong {
    color: var(--ink);
}

.prose blockquote {
    padding: 18px 22px;
    border-left: 4px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-900);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 0.9375rem;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose thead th {
    background: var(--green-900);
    color: var(--on-dark);
}

/* Who it is for */

.who-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.who-card {
    display: grid;
    gap: 6px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
}

.who-card__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--green-700);
}

.who-card h3,
.who-card .h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
}

.who-card p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.who-card--large {
    gap: 10px;
    padding: 28px;
}

@media (min-width: 560px) {
    .who-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Comparison tables: stacked cards on phones, a table from 768px */

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    display: none;
}

.data-table tr {
    display: block;
    margin-bottom: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--surface);
}

.data-table th[scope='row'] {
    display: block;
    margin-bottom: 8px;
    font-size: 1.125rem;
    text-align: left;
    color: var(--green-900);
}

.data-table td {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 12px;
    padding-block: 8px;
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
}

.data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink);
}

@media (min-width: 768px) {
    .data-table-wrap {
        overflow: hidden;
        border-radius: var(--radius);
        background: var(--surface);
    }

    .data-table thead {
        display: table-header-group;
    }

    .data-table tr {
        display: table-row;
    }

    .data-table th,
    .data-table td,
    .data-table th[scope='row'] {
        display: table-cell;
        padding: 20px 24px;
        border-top: 1px solid var(--line);
        font-size: 1rem;
        text-align: left;
        vertical-align: top;
    }

    .data-table td::before {
        content: none;
    }

    .data-table thead th {
        border-top: 0;
        background: var(--green-900);
        color: var(--on-dark);
        font-weight: 600;
    }

    .data-table .is-highlight {
        background: var(--gold-100);
        color: var(--green-900);
        font-weight: 600;
    }

    .data-table thead .is-highlight {
        background: var(--gold-500);
    }
}

/* Process timeline */

.timeline {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.timeline__step {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
}

.timeline__step .step__number {
    background: var(--green-900);
    color: var(--on-dark);
}

.timeline__step h3,
.timeline__step .h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.timeline__step p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.timeline__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--green-700) !important;
}

@media (min-width: 640px) {
    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .timeline {
        grid-template-columns: repeat(5, 1fr);
    }

    .timeline--three {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Price block and care lists */

.price-block {
    display: grid;
    gap: 16px;
    justify-items: start;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--green-900);
    color: var(--on-dark-muted);
}

.price-block h2 {
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
    color: var(--on-dark);
}

.price-block h2 span {
    color: var(--gold-500);
    white-space: nowrap;
}

.tick-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 36px;
}

.tick-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tick-list .icon {
    color: var(--green-700);
}

.care-list {
    display: grid;
    gap: 0;
    margin: 16px 0 0;
}

.care-list div {
    display: grid;
    gap: 4px;
    padding-block: 16px;
    border-top: 1px solid var(--line);
}

.care-list dt {
    font-weight: 600;
    color: var(--green-900);
}

.care-list dd {
    margin: 0;
    color: var(--ink-muted);
}

@media (min-width: 640px) {
    .care-list div {
        grid-template-columns: 9rem 1fr;
        gap: 20px;
    }

    .price-block {
        padding: 48px 40px;
    }
}

/* Generic card grid and tile cards */

.card-grid {
    display: grid;
    gap: 20px;
}

.tile-card {
    position: relative;
    display: grid;
    align-content: start;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.tile-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 25%;
}

.tile-card--person img {
    aspect-ratio: 1;
}

.tile-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.tile-card h3 {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: 0;
}

.tile-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tile-card h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.tile-card p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.tile-card:hover h3 a {
    color: var(--green-700);
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .card-grid:has(> :nth-child(7)) {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Branch page */

.map-card {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    min-height: 320px;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(0deg, rgb(245 243 238 / 0.6), rgb(245 243 238 / 0.6)),
        repeating-linear-gradient(0deg, transparent 0 46px, var(--line) 46px 48px),
        repeating-linear-gradient(90deg, transparent 0 62px, var(--line) 62px 64px),
        #e9efe8;
    color: var(--green-900);
    text-align: center;
    text-decoration: none;
}

.map-card__pin {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--gold-500);
    box-shadow: var(--shadow);
}

.map-card__label strong {
    display: block;
    font-size: 1.125rem;
}

.areas {
    display: grid;
    gap: 24px;
}

.areas h2 {
    margin-block: 10px;
    font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
}

.areas p {
    color: var(--on-dark-muted);
}

@media (min-width: 960px) {
    .areas {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 56px;
    }
}

/* Before & After gallery */

.gallery-filters {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.gallery-item__pair > div {
    position: relative;
}

.gallery-item__pair img,
.gallery-item__single {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
}

.gallery-item__single {
    aspect-ratio: 8 / 5;
}

.gallery-item__caption {
    padding: 16px 18px 18px;
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.gallery-item__caption strong {
    display: block;
    color: var(--green-900);
}

.gallery-empty {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
}

.consent-note--light {
    color: var(--ink-muted);
}

@media (min-width: 640px) {
    .gallery-filters {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* About */

.history {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.history li {
    display: grid;
    gap: 6px;
    padding-left: 20px;
    border-left: 2px solid var(--gold-500);
}

.history__year {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold-500);
}

.history h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
}

.history p {
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.founder {
    display: grid;
    gap: 18px;
    margin: 0;
}

.founder__quote {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
    line-height: 1.35;
    color: var(--green-900);
}

.founder footer {
    color: var(--ink-muted);
}

.awards--center {
    margin-top: 0;
}

@media (min-width: 960px) {
    .history {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Contact */

.contact {
    display: grid;
    gap: 24px;
}

.contact__form,
.contact__aside {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.contact__aside {
    align-self: start;
    background: var(--green-900);
    color: var(--on-dark-muted);
}

.contact__aside .h3 {
    color: var(--on-dark);
}

.contact__note,
.contact__hours {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-block: 10px 22px;
    color: var(--green-700);
    font-weight: 500;
}

.contact__hours {
    margin: 22px 0 0;
    color: var(--on-dark-muted);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.contact-list a {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: center;
    color: var(--on-dark-muted);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-list span {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-900);
}

.contact-list strong {
    color: var(--on-dark);
}

@media (min-width: 960px) {
    .contact {
        grid-template-columns: 1.6fr 1fr;
        gap: 32px;
    }

    .contact__form,
    .contact__aside {
        padding: 40px;
    }
}

/* Blog listing and post */

.filter-chips--left {
    justify-content: flex-start;
}

a.filter-chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.filter-chip[aria-current='true'] {
    background: var(--gold-500);
}

.blog-results {
    margin-bottom: 20px;
    font-weight: 600;
}

.featured-post {
    position: relative;
    display: grid;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.featured-post img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.featured-post__body {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 24px;
}

.featured-post h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
}

.featured-post h2 a {
    color: inherit;
    text-decoration: none;
}

.featured-post h2 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.featured-post p,
.blog-card__body > p:not(.blog-card__meta) {
    color: var(--ink-muted);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pagination__item {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding-inline: 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-weight: 600;
}

.pagination__item[aria-current] {
    background: var(--green-900);
    color: var(--on-dark);
}

.pagination__item--disabled {
    color: var(--ink-muted);
}

.post-meta {
    margin-top: 16px;
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.post {
    display: grid;
    gap: 28px;
    padding-block: 32px 16px;
}

.post__image {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.toc {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
}

.toc h2 {
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-700);
}

.toc ol {
    display: grid;
    margin: 0;
    padding-left: 20px;
}

.toc a {
    display: inline-block;
    padding-block: 8px;
    font-weight: 500;
}

.inline-cta {
    display: grid;
    gap: 16px;
    justify-items: start;
    margin-block: 12px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--green-900);
}

.inline-cta h3 {
    font-size: 1.375rem;
    color: var(--on-dark);
}

.inline-cta p {
    margin-top: 4px;
    color: var(--on-dark-muted);
}

.author-box {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink-muted);
}

.author-box__name {
    font-weight: 600;
    color: var(--green-900);
}

@media (min-width: 768px) {
    .featured-post {
        grid-template-columns: 1.1fr 1fr;
    }

    .featured-post__body {
        padding: 40px;
    }

    .inline-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 28px 32px;
    }
}

/* Legal pages */

.legal {
    display: grid;
    gap: 28px;
}

@media (min-width: 960px) {
    .legal {
        grid-template-columns: 280px minmax(0, 720px);
        gap: 64px;
        align-items: start;
    }

    .toc--sticky {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

/* Thank-you and 404 */

.thanks {
    text-align: center;
}

.thanks .container {
    display: grid;
    gap: 22px;
    justify-items: center;
}

.thanks h1 {
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.thanks__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--on-dark);
}

.thanks__lead {
    max-width: 36rem;
    color: var(--ink-muted);
    font-size: 1.0625rem;
}

.thanks .timeline {
    width: 100%;
    margin-top: 12px;
}

.thanks__branch {
    display: grid;
    gap: 4px;
    justify-items: center;
    width: 100%;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink-muted);
}

.thanks__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: 100%;
    max-width: 520px;
}

.search-form input {
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.link-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 520px;
    text-align: left;
}

.link-columns a {
    display: inline-block;
    padding-block: 8px;
}

/* Ad landing page */

.lp-header {
    background: var(--green-900);
    color: var(--on-dark);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.lp-hero {
    margin-bottom: 0;
    padding-bottom: 32px;
}

.lp-hero .hero__inner {
    padding-top: 16px;
}

.lp-hero__result {
    max-width: 360px;
    margin: 24px 0 0;
}

.lp-form {
    display: grid;
    gap: 12px;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.lp-form > p {
    color: var(--ink-muted);
}

.lp-form .booking-form,
.lp-form .booking-form--short {
    grid-template-columns: 1fr;
}

.lp-form .booking-form__submit {
    grid-column: auto;
}

.lp-final {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.lp-final h2 {
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}

.lp-final p {
    color: var(--on-dark-muted);
}

.lp-footer {
    margin-top: 40px;
    padding-block: 24px;
    background: var(--green-900);
    color: var(--on-dark-muted);
    font-size: 0.875rem;
    text-align: center;
}

.lp-footer a {
    color: var(--on-dark);
}

@media (min-width: 960px) {
    .lp-hero .hero__inner {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
        padding-top: 40px;
    }
}

.form-alert {
    margin-block: 12px;
    padding: 12px 16px;
    border: 1px solid #f0bdb8;
    border-radius: var(--radius-sm);
    background: #fbe7e5;
    color: #8f211a;
    font-weight: 500;
}

/* ---------- 12. Floating WhatsApp button and live chat ---------- */

.float-actions {
    position: fixed;
    right: 16px;
    bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 14px);
    z-index: 58;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.float-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgb(7 29 23 / 0.28);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.float-btn--whatsapp {
    /* Phones already have WhatsApp in the bottom bar. */
    display: none;
    width: 56px;
    background: #128c4b;
    color: #fff;
}

.float-btn--chat {
    padding-inline: 15px;
    background: var(--gold-500);
    color: var(--green-900);
}

.float-btn__label {
    display: none;
}

.float-btn__dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #c62828;
}

.chat-panel {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    color: var(--ink);
}

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

.chat-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px 20px;
    background: var(--green-900);
    color: var(--on-dark-muted);
}

.chat-panel__head h2 {
    font-size: 1.25rem;
    color: var(--on-dark);
}

.chat-panel__head p {
    margin-top: 2px;
    font-size: 0.875rem;
}

.chat-panel__close {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.1);
    color: var(--on-dark);
    cursor: pointer;
}

.chat-panel__start {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 20px;
    overflow-y: auto;
}

.chat-panel__welcome {
    font-weight: 500;
}

.chat-panel__note {
    font-size: 0.8125rem;
}

.chat-panel__note a {
    color: var(--ink-muted);
}

.chat-panel__error {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #fbe7e5;
    color: #8f211a;
    font-size: 0.9375rem;
}

.chat-panel__talk {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.chat-panel__talk[hidden],
.chat-panel__start[hidden] {
    display: none;
}

.chat-log {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 16px;
    overflow-y: auto;
    list-style: none;
    background: var(--bg);
}

.chat-msg {
    display: grid;
    gap: 2px;
    max-width: 84%;
}

.chat-msg p {
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    background: var(--surface);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chat-msg span {
    color: var(--ink-muted);
    font-size: 0.75rem;
}

.chat-msg--visitor {
    align-self: flex-end;
    justify-items: end;
}

.chat-msg--visitor p {
    border-radius: 16px 16px 4px 16px;
    background: var(--green-700);
    color: #fff;
}

.chat-msg--system p {
    background: var(--gold-100);
}

.chat-panel__typing {
    padding: 0 16px 8px;
    background: var(--bg);
    color: var(--ink-muted);
    font-size: 0.875rem;
}

.chat-panel__offer,
.chat-panel__ended {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: var(--gold-100);
}

.chat-panel__offer[hidden],
.chat-panel__ended[hidden],
.chat-panel__compose[hidden] {
    display: none;
}

.chat-panel__compose {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
}

.chat-panel__compose textarea {
    min-height: 48px;
    max-height: 120px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--field);
    resize: none;
}

.chat-panel__send {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--green-700);
    color: #fff;
    cursor: pointer;
}

/* The page behind a full-screen chat does not scroll. */
@media (max-width: 599px) {
    .chat-open {
        overflow: hidden;
    }
}

@media (min-width: 600px) {
    .chat-panel {
        inset: auto 16px calc(var(--mobile-bar-h) + 84px) auto;
        width: 372px;
        height: min(560px, calc(100vh - var(--mobile-bar-h) - 110px));
        overflow: hidden;
        border-radius: var(--radius);
        box-shadow: 0 18px 50px rgb(7 29 23 / 0.32);
    }
}

@media (min-width: 1024px) {
    .float-actions {
        right: 24px;
        bottom: 24px;
    }

    .float-btn--whatsapp {
        display: inline-flex;
    }

    .float-btn--chat {
        padding-inline: 20px;
    }

    .float-btn__label {
        display: inline;
    }

    .chat-panel {
        inset: auto 24px 96px auto;
        height: min(580px, calc(100vh - 120px));
    }
}

/* Photos in chat */

.chat-panel__compose--photo {
    grid-template-columns: 48px 1fr 48px;
}

.chat-panel__attach {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--green-700);
    cursor: pointer;
}

.chat-panel__attach:focus-within {
    outline: 3px solid var(--gold-600);
    outline-offset: 2px;
}

.chat-msg .chat-msg__frame {
    padding: 4px;
}

.chat-msg__photo {
    display: block;
    width: 200px;
    max-width: 100%;
    min-height: 60px;
    border-radius: 12px;
    background: var(--field);
}

.chat-msg--wait p {
    opacity: 0.7;
    font-style: italic;
}

.chat-panel__error--inline {
    margin: 0 12px 8px;
}

/* About: our team */

.team-grid {
    display: grid;
    gap: 20px;
}

.team-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--surface);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 25%;
}

.team-card__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.team-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.team-card__role {
    color: var(--green-700);
    font-weight: 600;
}

.team-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: var(--ink-muted);
    font-size: 0.875rem;
}

.team-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.team-card__meta .icon {
    color: var(--green-700);
}

.team-card__bio {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .team-card {
        grid-template-columns: 1fr;
        padding: 0 0 8px;
        overflow: hidden;
    }

    .team-card img {
        border-radius: 0;
        aspect-ratio: 4 / 3;
    }

    .team-card__body {
        padding: 6px 22px 16px;
    }
}
