:root {
    --bg: #181818;
    --surface: rgba(24, 24, 24, 0.88);
    --surface-strong: rgba(25, 22, 10, 0.92);
    --border: rgba(214, 168, 53, 0.42);
    --gold: #d6a835;
    --gold-soft: #f2d684;
    --gold-deep: #8c6a12;
    --text: #f6f1df;
    --muted: #b8ab7a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius-card: 1.5rem;
    --section-gap: 1.5rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    line-height: 1.5;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(214, 168, 53, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(214, 168, 53, 0.12), transparent 24%),
        linear-gradient(135deg, #181818 0%, #181818 60%, #181818 100%);
}

    body.home-page {
        background:
        linear-gradient(180deg, rgba(24, 24, 24, 0.22), rgba(24, 24, 24, 0.78)),
        url("../img/Mentra Home page.png") center / cover no-repeat fixed,
        linear-gradient(135deg, #181818 0%, #181818 60%, #181818 100%);
    }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

main {
    display: grid;
    gap: var(--section-gap);
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 0 1.25rem;
    gap: 1rem;
}

.site-header-slot {
    display: flex;
    align-items: center;
}

.site-header-left {
    justify-content: flex-start;
}

.site-header-center {
    justify-content: center;
}

.site-header-right {
    justify-content: flex-end;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.7rem;
    background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
    color: #2A2A2A;
    font-family: "Bebas Neue", cursive;
    font-size: 1.7rem;
    letter-spacing: 0.08em;
}

.brand-text,
h1,
h2,
h3 {
    font-family: "Bebas Neue", cursive;
    letter-spacing: 0.04em;
}

.brand-text {
    font-size: 1.8rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 168, 53, 0.32);
    background: rgba(214, 168, 53, 0.12);
    color: var(--gold-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-menu {
    position: relative;
}

.site-menu[open] .menu-toggle {
    border-color: rgba(214, 168, 53, 0.45);
    background: rgba(214, 168, 53, 0.12);
}

.site-menu summary {
    list-style: none;
}

.site-menu summary::-webkit-details-marker {
    display: none;
}

.menu-toggle {
    display: inline-grid;
    gap: 0.28rem;
    width: 3rem;
    height: 3rem;
    padding: 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.menu-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: 20;
    display: grid;
    gap: 0.3rem;
    min-width: 220px;
    padding: 0.7rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    background: rgba(14, 14, 14, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.menu-panel a {
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    color: var(--muted);
}

.menu-panel form {
    margin: 0;
}

.menu-button {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: var(--muted);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.menu-panel a:hover,
.menu-button:hover {
    color: var(--gold-soft);
    background: rgba(214, 168, 53, 0.08);
}

.site-header-right form {
    margin: 0;
}

.nav-button,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.nav-cta {
    background: rgba(214, 168, 53, 0.12);
}

.card-footer a:hover,
.related-item:hover {
    color: var(--gold-soft);
}

.flash-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.flash {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: rgba(21, 21, 21, 0.92);
}

.flash-success {
    color: var(--gold-soft);
}

.flash-error {
    color: #ff8f7d;
}

.hero,
.detail-hero,
.auth-shell {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.home-hero {
    grid-template-columns: 1fr;
    min-height: 70vh;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.listing-hero,
.filters-section,
.featured-section,
.match-section,
.auth-card,
.detail-sidebar,
.detail-card,
.empty-state {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: 0 0 0 1px rgba(214, 168, 53, 0.12), var(--shadow);
    overflow: hidden;
}

.hero-copy,
.hero-panel,
.listing-hero,
.filters-section,
.featured-section,
.match-section,
.auth-card,
.detail-sidebar,
.detail-card,
.empty-state {
    padding: 1.5rem;
}

.home-hero-copy {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.8rem;
    min-height: calc(70vh - 2.5rem);
    padding: 2rem;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.7));
    border: 1px solid rgba(214, 168, 53, 0.16);
    box-shadow: none;
    backdrop-filter: blur(4px);
    text-align: center;
}

.home-hero-copy h1,
.home-hero-copy .hero-text,
.home-hero-copy .hero-actions {
    max-width: 820px;
}

.home-hero-copy .hero-actions {
    justify-content: center;
}

.profile-hero {
    grid-template-columns: 1fr;
    justify-items: center;
}

.profile-hero-content {
    width: min(100%, 920px);
    display: grid;
    justify-items: center;
    text-align: center;
}

.profile-hero .chip-row,
.profile-hero-actions {
    justify-content: center;
}

.profile-share-card {
    width: min(100%, 720px);
    margin: 0 0 1.15rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.profile-share-label {
    margin: 0 0 0.6rem;
    color: var(--gold-soft);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.profile-share-qr {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    color: var(--muted);
    text-align: center;
}

.profile-share-qr-image {
    width: min(100%, 184px);
    aspect-ratio: 1 / 1;
    padding: 0.55rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.profile-share-input {
    flex: 1 1 24rem;
    min-width: 0;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.profile-hero .photo-slideshow {
    width: min(100%, 720px);
}

.events-hero {
    grid-template-columns: 1fr;
    justify-items: center;
}

.events-hero-copy {
    width: min(100%, 860px);
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    text-align: center;
}

.events-hero-copy .hero-actions {
    justify-content: center;
}

.coach-detail-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.9rem 0 0;
}

.coach-detail-back {
    margin-bottom: 1rem;
}

.coach-detail-summary span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ddd3b3;
    font-size: 0.95rem;
    font-weight: 700;
}

.coach-sidebar-compact {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.coach-sidebar-compact .price-panel {
    margin: 0;
}

.coach-bio-panel {
    margin: 0;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.coach-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.coach-sidebar-actions .button,
.coach-sidebar-actions .inline-form,
.coach-sidebar-actions .inline-form .button {
    width: 100%;
}

.coach-sidebar-actions .inline-form {
    margin-top: 0;
}

.detail-layout.profile-layout {
    grid-template-columns: minmax(0, 960px);
    justify-content: center;
}

.detail-layout.profile-layout > .detail-card {
    width: min(100%, 960px);
    margin-inline: auto;
}

.listing-hero {
    display: grid;
    gap: 0.7rem;
}

.coaches-hero {
    min-height: calc(100vh - 9.5rem);
    align-content: center;
    padding-block: 2rem;
}

.coaches-tabs-shell {
    display: flex;
    justify-content: flex-start;
}

.coaches-tabs-shell .tab-links {
    margin-top: 0;
}

.page-header-shell {
    display: grid;
    gap: 0.8rem;
    align-items: start;
}

.page-header-copy {
    display: grid;
    gap: 0.45rem;
}

.page-header-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.98;
}

.page-header-copy p {
    margin: 0;
    max-width: 760px;
}

.page-header-shell .tab-links {
    margin-top: 0;
}

.coaches-hero h1,
.coaches-hero p,
.coaches-hero .tab-links {
    max-width: 820px;
}

.hero-copy::after,
.hero-panel::after,
.featured-section::after,
.match-section::after,
.auth-card::after,
.detail-sidebar::after,
.detail-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% 25%;
    height: 140px;
    background: radial-gradient(circle, rgba(214, 168, 53, 0.18), transparent 65%);
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--muted);
}

h1 {
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 0.95;
    margin: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin: 0;
}

h3 {
    font-size: 2rem;
    margin: 0;
}

.hero-text,
.listing-hero p,
.detail-title,
.detail-meta,
.card-title,
.card-meta,
.card-specialties,
.feature-list,
.match-form,
.detail-card p,
.related-item span,
.empty-state p {
    color: #ddd3b3;
}

.hero-actions,
.stat-row,
.card-footer,
.chip-row,
.card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-actions,
.stat-row {
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    text-align: center;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2A2A2A;
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--gold-soft);
}

.button-tertiary {
    border-color: rgba(214, 168, 53, 0.18);
    background: rgba(214, 168, 53, 0.1);
    color: var(--gold-soft);
}

.button-small {
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
}

.field-note {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.82rem;
}

body.modal-open {
    overflow: hidden;
}

.photo-crop-modal[hidden] {
    display: none;
}

.photo-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(3, 3, 3, 0.82);
    backdrop-filter: blur(10px);
}

.photo-crop-dialog {
    width: min(980px, 100%);
    display: grid;
    gap: 1.2rem;
    padding: 1.35rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(214, 168, 53, 0.38);
    background: linear-gradient(180deg, rgba(16, 14, 10, 0.98), rgba(6, 6, 6, 0.99));
    box-shadow: var(--shadow);
}

.photo-crop-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.photo-crop-header h2,
.photo-crop-header p {
    margin: 0;
}

.photo-crop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
    gap: 1rem;
    align-items: start;
}

.photo-crop-workspace,
.photo-crop-preview-panel {
    display: grid;
    gap: 0.85rem;
}

.photo-crop-stage,
.photo-crop-preview {
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(214, 168, 53, 0.22);
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
        rgba(255, 255, 255, 0.02);
    background-position: 0 0, 14px 14px, 0 0;
    background-size: 28px 28px, 28px 28px, auto;
    aspect-ratio: 16 / 9;
}

.photo-crop-stage img,
.photo-crop-preview img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: top left;
}

.photo-crop-stage {
    cursor: grab;
}

.photo-crop-stage.photo-crop-dragging {
    cursor: grabbing;
}

.photo-crop-stage-frame {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(242, 214, 132, 0.8);
    box-shadow: inset 0 0 0 1px rgba(6, 6, 6, 0.5);
    pointer-events: none;
}

.photo-crop-preview-label {
    margin: 0;
    color: var(--gold-soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.photo-crop-zoom-control {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
}

.photo-crop-zoom-control input {
    width: 100%;
}

.photo-crop-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-picker {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.45rem;
}

.tag-picker-selected {
    min-height: 2.8rem;
    align-items: flex-start;
}

.tag-picker-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.tag-picker-entry input {
    flex: 1 1 220px;
}

.tag-picker-empty {
    color: var(--muted);
    font-size: 0.9rem;
}

.tag-picker-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 168, 53, 0.28);
    background: rgba(214, 168, 53, 0.1);
    color: var(--gold-soft);
    font: inherit;
    cursor: pointer;
}

.profile-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1rem 0 1.15rem;
}

.mini-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 168, 53, 0.24);
    background: rgba(214, 168, 53, 0.08);
    color: var(--gold-soft);
    font-size: 0.92rem;
    font-weight: 800;
}

.mini-action-icon {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: rgba(214, 168, 53, 0.16);
    color: var(--gold-soft);
    font-size: 0.85rem;
    line-height: 1;
}

.organization-summary {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.organization-summary strong {
    color: var(--gold-soft);
    font-size: 1.05rem;
}

.organization-card-rating {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.card-media {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.16);
    background: rgba(255, 255, 255, 0.02);
    aspect-ratio: 16 / 9;
}

.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-media {
    position: relative;
    background:
        linear-gradient(180deg, rgba(7, 7, 7, 0.18), rgba(7, 7, 7, 0.58)),
        rgba(255, 255, 255, 0.02);
}

.event-card-media::after,
.event-photo-slideshow .photo-slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.12), rgba(6, 6, 6, 0.5)),
        radial-gradient(circle at top left, rgba(214, 168, 53, 0.16), transparent 42%);
    pointer-events: none;
}

.event-card-media img,
.event-photo-slideshow .photo-slide {
    filter: saturate(0.92) brightness(0.72) contrast(1.04);
}

.swipe-card-media {
    margin-bottom: 0.9rem;
}

.photo-slideshow {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.photo-slides {
    position: relative;
    min-height: 280px;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(214, 168, 53, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 260ms ease;
}

.photo-slide-active {
    opacity: 1;
}

.event-photo-slideshow .photo-slides {
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.3), rgba(8, 8, 8, 0.62)),
        rgba(255, 255, 255, 0.02);
}

.photo-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.photo-dot {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(214, 168, 53, 0.22);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.photo-dot-active {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.mini-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.95rem;
    border: 1px solid rgba(214, 168, 53, 0.18);
}

.stat-row div {
    min-width: 140px;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-row strong,
.price-callout,
.rating-pill {
    display: block;
    font-size: 1.4rem;
    color: var(--gold-soft);
    font-weight: 800;
}

.hero-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(214, 168, 53, 0.18), rgba(24, 24, 24, 0.95));
    border: 1px solid rgba(214, 168, 53, 0.25);
    min-height: 100%;
}

.panel-label,
.tag,
.chip,
.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(214, 168, 53, 0.26);
    background: rgba(214, 168, 53, 0.08);
    color: var(--gold-soft);
}

.coach-specialty-row {
    gap: 0.35rem 0.75rem;
}

.coach-specialty-row .chip {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(246, 241, 223, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-specialty-row .chip:not(:first-child)::before {
    content: "/";
    margin-right: 0.75rem;
    color: rgba(214, 168, 53, 0.38);
}

.star-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating-text {
    font-weight: 700;
    color: rgba(246, 241, 223, 0.92);
}

.star-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.star-rating-icon {
    color: rgba(214, 168, 53, 0.22);
    font-size: 0.95rem;
    line-height: 1;
}

.star-rating-icon.is-filled {
    color: var(--gold-soft);
}

.star-rating-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 0.55rem;
}

.star-rating-fieldset legend {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(246, 241, 223, 0.9);
}

.star-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
}

.star-rating-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-rating-label {
    cursor: pointer;
    color: rgba(214, 168, 53, 0.22);
    font-size: 1.9rem;
    line-height: 1;
    transition: color 0.18s ease, transform 0.18s ease;
}

.star-rating-label:hover,
.star-rating-label:hover ~ .star-rating-label,
.star-rating-radio:checked + .star-rating-label,
.star-rating-radio:checked + .star-rating-label ~ .star-rating-label {
    color: var(--gold-soft);
}

.star-rating-label:active {
    transform: scale(0.96);
}

.star-rating-radio:focus-visible + .star-rating-label {
    outline: 2px solid rgba(214, 168, 53, 0.6);
    outline-offset: 0.16rem;
    border-radius: 0.35rem;
}

.feature-list {
    margin: 0;
    padding-left: 1.2rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-section,
.match-section,
.filters-section,
.results-section,
.detail-layout,
.listing-hero,
.auth-shell {
    margin-top: 0;
}

.auth-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.auth-card-primary {
    background: linear-gradient(180deg, rgba(214, 168, 53, 0.18), rgba(11, 11, 11, 0.94));
}

.auth-shell-single {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
}

.auth-card h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
}

.account-tabs {
    display: grid;
    width: 100%;
}

.account-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
}

.account-tab-active {
    color: #2A2A2A;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.signup-account-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem 0 1.35rem;
    align-items: stretch;
}

.signup-account-tab {
    position: relative;
    display: grid;
    justify-items: flex-start;
    align-content: flex-start;
    gap: 0.28rem;
    min-height: 9.75rem;
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(214, 168, 53, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(16, 16, 16, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.signup-account-tab::after {
    content: "";
    position: absolute;
    inset: auto 1rem 1rem;
    height: 0.22rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(214, 168, 53, 0), rgba(214, 168, 53, 0.8), rgba(214, 168, 53, 0));
    opacity: 0;
    transition: opacity 180ms ease;
}

.signup-account-tab:hover {
    transform: translateY(-2px);
    color: var(--text);
    border-color: rgba(214, 168, 53, 0.28);
    background:
        linear-gradient(180deg, rgba(214, 168, 53, 0.12), rgba(255, 255, 255, 0.02)),
        rgba(16, 16, 16, 0.95);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.signup-account-tab:hover::after,
.signup-account-tab.account-tab-active::after {
    opacity: 1;
}

.signup-account-tab.account-tab-active {
    color: var(--text);
    border-color: rgba(242, 214, 132, 0.4);
    background:
        radial-gradient(circle at top right, rgba(242, 214, 132, 0.22), transparent 35%),
        linear-gradient(180deg, rgba(214, 168, 53, 0.18), rgba(16, 16, 16, 0.92));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(242, 214, 132, 0.08);
}

.signup-account-tab-kicker {
    color: var(--gold-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.signup-account-tab-label {
    color: var(--text);
    font-family: "Bebas Neue", cursive;
    font-size: 1.65rem;
    letter-spacing: 0.05em;
    line-height: 1;
}

.signup-account-tab-copy {
    color: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}

.signup-default-photo-picker {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.18);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
}

.signup-default-photo-picker legend {
    padding: 0 0.45rem;
    color: var(--gold-soft);
    font-weight: 800;
}

.signup-default-photo-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.55rem;
}

.signup-default-photo-option {
    display: grid;
    gap: 0.7rem;
    justify-items: center;
    padding: 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.14);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    text-align: center;
}

.signup-default-photo-option input {
    margin: 0;
}

.signup-default-photo-option img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0.9rem;
    border: 1px solid rgba(214, 168, 53, 0.14);
}

.signup-default-photo-option span {
    color: var(--text);
    font-weight: 700;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.55rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(214, 168, 53, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-tabs .account-tab {
    flex: 1 1 10rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.admin-tabs .account-tab:hover {
    transform: translateY(-1px);
    color: var(--text);
    border-color: rgba(214, 168, 53, 0.22);
    background: rgba(214, 168, 53, 0.08);
}

.admin-tabs .account-tab-active {
    color: var(--gold-soft);
    border-color: rgba(214, 168, 53, 0.24);
    background: linear-gradient(180deg, rgba(214, 168, 53, 0.16), rgba(214, 168, 53, 0.08));
    box-shadow: 0 10px 24px rgba(214, 168, 53, 0.12);
}

.auth-alt {
    margin-top: 1rem;
    color: var(--muted);
}

.auth-provider-button {
    width: 100%;
}

@media (max-width: 760px) {
    .signup-account-tabs {
        grid-template-columns: repeat(3, minmax(13rem, 1fr));
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
    }

    .signup-account-tabs::-webkit-scrollbar {
        height: 0.45rem;
    }

    .signup-account-tabs::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(214, 168, 53, 0.35);
    }

    .signup-account-tab {
        min-height: auto;
    }

    .signup-default-photo-options {
        grid-template-columns: 1fr;
    }
}

.auth-divider {
    position: relative;
    margin: 1rem 0;
    text-align: center;
    color: var(--muted);
}

.auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    position: relative;
    padding: 0 0.75rem;
    background: rgba(24, 24, 24, 0.88);
}

.auth-note {
    margin-top: 1rem;
    color: var(--muted);
}

.auth-alt a {
    color: var(--gold-soft);
}

.tab-links,
.card-actions,
.swipe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.tab-links {
    margin-top: 1rem;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    text-align: center;
}

.tab-link-active {
    color: #2A2A2A;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-color: transparent;
}

.card-grid,
.detail-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.coach-card {
    padding: 1.2rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16));
    border: 1px solid rgba(214, 168, 53, 0.34);
    box-shadow: 0 0 0 1px rgba(214, 168, 53, 0.1), 0 18px 48px rgba(0, 0, 0, 0.28);
    min-width: 0;
}

.coach-card[data-profile-url],
.swipe-card[data-profile-url] {
    cursor: pointer;
}

.coach-card-large {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.card-actions form,
.inline-form {
    margin: 0;
}

.inline-form {
    margin-top: 1rem;
}

.filters-form,
.match-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.visibility-setting {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(214, 168, 53, 0.3);
    background:
        radial-gradient(circle at top left, rgba(214, 168, 53, 0.18), transparent 45%),
        linear-gradient(135deg, rgba(214, 168, 53, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.visibility-setting-label {
    margin: 0 0 0.25rem;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.visibility-setting h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.15rem;
}

.visibility-setting-copy {
    margin: 0.35rem 0 0;
    color: var(--muted);
    max-width: 34rem;
}

.visibility-setting-alert {
    display: inline-flex;
    align-items: center;
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 143, 125, 0.4);
    background: rgba(255, 143, 125, 0.12);
    color: #ffd4cb;
    font-size: 0.92rem;
    font-weight: 700;
    max-width: 34rem;
}

.switch-control {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 3, 3, 0.45);
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.switch-control-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-control-track {
    position: relative;
    flex: 0 0 auto;
    width: 3.5rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(214, 168, 53, 0.2);
    border: 1px solid rgba(214, 168, 53, 0.28);
    transition: background 180ms ease, border-color 180ms ease;
}

.switch-control-thumb {
    position: absolute;
    top: 0.18rem;
    left: 0.2rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff7d8, var(--gold-soft));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: transform 180ms ease;
}

.switch-control-input:checked + .switch-control-track {
    background: rgba(122, 130, 150, 0.28);
    border-color: rgba(255, 255, 255, 0.18);
}

.switch-control-input:checked + .switch-control-track .switch-control-thumb {
    transform: translateX(1.45rem);
}

.switch-control-input:focus-visible + .switch-control-track {
    outline: 2px solid rgba(214, 168, 53, 0.45);
    outline-offset: 3px;
}

.switch-control-text {
    display: grid;
    gap: 0.1rem;
}

.switch-control-text strong {
    color: var(--text);
    font-size: 0.95rem;
}

.switch-control-text span {
    color: var(--muted);
    font-size: 0.82rem;
}

.filters-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
    color: var(--muted);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 3, 3, 0.6);
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(214, 168, 53, 0.4);
    border-color: rgba(214, 168, 53, 0.45);
}

.price-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.compact-price-panel {
    margin: 0.25rem 0 0.5rem;
}

.price-tile,
.price-summary {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.16);
    background: rgba(214, 168, 53, 0.06);
}

.price-tile strong,
.price-summary strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--gold-soft);
    font-size: 1.05rem;
}

.price-summary {
    display: grid;
    align-content: start;
    gap: 0.25rem;
}

.messages-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr;
    gap: 1rem;
    margin-top: 0;
}

.conversation-list {
    display: grid;
    gap: 0.8rem;
}

.conversation-item {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    min-width: 0;
}

.conversation-item-active {
    border-color: rgba(214, 168, 53, 0.28);
    background: rgba(214, 168, 53, 0.08);
}

.message-reply-form,
.message-compose {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.meeting-card {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 168, 53, 0.18);
    background: rgba(214, 168, 53, 0.06);
}

.meeting-card strong {
    display: block;
    color: var(--gold-soft);
    font-size: 1.1rem;
}

.meeting-card span,
.meeting-card p {
    margin: 0.25rem 0 0;
    color: #ddd3b3;
}

.meeting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.meeting-actions form {
    margin: 0;
}

.meeting-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chat-thread {
    display: grid;
    gap: 0.85rem;
}

.chat-bubble {
    display: grid;
    gap: 0.35rem;
    max-width: min(88%, 640px);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 0;
}

.chat-bubble p {
    margin: 0;
}

.chat-bubble span {
    color: var(--muted);
    font-size: 0.85rem;
}

.chat-bubble-self {
    justify-self: end;
    background: rgba(214, 168, 53, 0.12);
    border: 1px solid rgba(214, 168, 53, 0.24);
}

.chat-bubble-other {
    justify-self: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(214, 168, 53, 0.08);
    border: 1px solid rgba(214, 168, 53, 0.18);
    color: var(--gold-soft);
}

.form-span-full {
    grid-column: 1 / -1;
}

.detail-layout {
    grid-template-columns: 1.25fr 0.9fr;
}

.detail-layout.coach-detail-layout {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
}

.related-list {
    display: grid;
    gap: 0.8rem;
}

.related-item {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.admin-search-form input {
    flex: 1 1 18rem;
}

.admin-user-list {
    display: grid;
    gap: 0.8rem;
}

.admin-user-item {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.admin-user-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
}

.admin-user-summary::-webkit-details-marker {
    display: none;
}

.admin-user-summary strong,
.admin-user-summary span {
    display: block;
}

.admin-user-summary span {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-user-summary-meta {
    text-align: right;
}

.admin-user-panel {
    display: grid;
    gap: 1rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.8rem;
}

.empty-state-tall {
    min-height: 50vh;
}

.discover-shell {
    margin-top: 1.5rem;
}

.discover-nav {
    justify-content: center;
    margin-bottom: 1rem;
}

.swipe-stage {
    position: relative;
    min-height: 620px;
    max-width: 720px;
    margin-inline: auto;
}

.swipe-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #181818, #181818);
    box-shadow: 0 0 0 1px rgba(214, 168, 53, 0.14), var(--shadow);
    transition: transform 220ms ease, opacity 220ms ease;
    overflow: hidden;
}

.swipe-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% 25%;
    height: 160px;
    background: radial-gradient(circle, rgba(214, 168, 53, 0.18), transparent 65%);
    pointer-events: none;
}

.swipe-card-hidden {
    opacity: 0;
    pointer-events: none;
}

.swipe-card-active {
    pointer-events: auto;
}

.swipe-card-stacked {
    pointer-events: none;
}

.swipe-card-exit-left {
    transform: translate3d(-140%, 0, 0) rotate(-18deg) !important;
    opacity: 0;
}

.swipe-card-exit-right {
    transform: translate3d(140%, 0, 0) rotate(18deg) !important;
    opacity: 0;
}

.swipe-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.swipe-card-topline-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.swipe-bookmark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(214, 168, 53, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-soft);
    cursor: pointer;
}

.swipe-bookmark-button svg {
    width: 1.1rem;
    height: 1.1rem;
}


.swipe-card h2 {
    margin: 0.15rem 0 0;
}

.swipe-card .card-title,
.swipe-card .card-meta {
    margin: 0;
}

.swipe-card-bio {
    margin: 0;
    color: #ddd3b3;
    line-height: 1.55;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swipe-card .chip-row {
    margin-top: 0.15rem;
}

.swipe-card-actions,
.swipe-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.swipe-card-actions {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.swipe-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 112px;
    min-height: 2.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
}

.swipe-action-pass,
.swipe-action-save {
    line-height: 1.1;
}

.swipe-action-pass {
    border-color: rgba(255, 143, 125, 0.3);
}

.swipe-action-save {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2A2A2A;
}

.swipe-action-talk {
    border-color: rgba(214, 168, 53, 0.35);
    background: rgba(214, 168, 53, 0.08);
    color: var(--gold-soft);
}

.swipe-card .price-panel {
    margin-top: 0.1rem;
}

.swipe-action-disabled {
    pointer-events: none;
    opacity: 0.55;
}

.swipe-profile-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--gold-soft);
    font-weight: 700;
}

@media (max-width: 920px) {
    .hero,
    .detail-hero,
    .auth-shell,
    .detail-layout,
    .messages-layout,
    .card-grid,
    .filters-form,
    .match-form,
    .price-panel {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .swipe-stage {
        min-height: 720px;
    }

    .swipe-card {
        padding: 1.25rem;
    }

    .swipe-action {
        min-width: 150px;
    }

    .swipe-stage {
        min-height: 680px;
    }

    .coaches-hero {
        min-height: 70vh;
    }

}

@media (max-width: 640px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 0.6rem;
    }

    .brand {
        gap: 0.55rem;
    }

    .brand-mark {
        width: 2.3rem;
        height: 2.3rem;
        font-size: 1.45rem;
    }

    .brand-text {
        font-size: 1.35rem;
    }

    .brand-badge {
        font-size: 0.66rem;
        padding: 0.2rem 0.42rem;
        letter-spacing: 0.1em;
    }

    .menu-panel {
        left: -0.25rem;
        right: auto;
        min-width: min(260px, calc(100vw - 1.5rem));
    }

    .page-shell {
        width: min(100% - 1rem, 100%);
        padding: 0.75rem 0 3rem;
    }

    h1 {
        font-size: clamp(2.4rem, 13vw, 3.4rem);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
    }

    .hero-copy,
    .hero-panel,
    .listing-hero,
    .filters-section,
    .featured-section,
    .match-section,
    .detail-sidebar,
    .detail-card,
    .empty-state {
        padding: 1.15rem;
        border-radius: 1.15rem;
    }

    .hero-actions,
    .tab-links,
    .card-actions,
    .meeting-actions,
    .swipe-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .swipe-card-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .button,
    .tab-links .tab-link,
    .card-actions .button,
    .card-actions a,
    .meeting-actions .button,
    .swipe-action,
    .swipe-actions a,
    .swipe-card-actions a {
        width: 100%;
    }

    .swipe-card-actions .swipe-action {
        min-width: 0;
        padding-inline: 0.55rem;
    }

    .stat-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .stat-row div {
        min-width: 0;
    }

    .filters-form,
    .match-form,
    .meeting-form-grid,
    .price-panel {
        grid-template-columns: 1fr;
    }

    .coaches-tabs-shell .tab-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .coaches-tabs-shell .tab-link {
        min-height: 2.25rem;
        padding: 0.45rem 0.35rem;
        font-size: 0.82rem;
        line-height: 1.1;
    }

    .swipe-stage {
        min-height: auto;
        display: grid;
    }

    .swipe-card {
        position: relative;
        min-height: 0;
    }

    .swipe-card-stacked {
        display: none;
    }

    .swipe-card-active {
        display: block;
    }

    .swipe-card-hidden {
        display: none;
    }

    .swipe-card-topline,
    .card-footer {
        align-items: flex-start;
    }

    .chat-bubble {
        max-width: 100%;
    }

    .conversation-item span,
    .related-item span,
    .card-meta,
    .card-specialties,
    .detail-meta,
    .detail-title,
    .detail-card p,
    .hero-text,
    .listing-hero p {
        overflow-wrap: anywhere;
    }

    .meeting-form-grid {
        grid-template-columns: 1fr;
    }

    .coaches-hero {
        min-height: 60vh;
        align-content: end;
    }

}