@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --black: #090909;
    --cream: #f6f5ef;
    --muted: #71736d;
    --line: #dedfd6;

    --yellow: #f6c941;
    --blue: #2787c5;
    --pink: #d10b59;
    --orange: #f28a28;
    --green: #55a95a;
}

:root {
    --buai-page: #f6f5ef;
    --buai-surface: #fffefa;
    --buai-surface-soft: #f1f2eb;
    --buai-brand: #1f211d;
    --buai-brand-strong: #111310;
    --buai-text: #252923;
    --buai-muted: #73776f;
    --buai-border: #e4e5dc;
    --buai-success: #e7f2e7;
    --buai-warning: #fbf1d9;
    --buai-danger: #f8e9e7;
    --buai-info: #e8f0f5;
    --buai-pastel-pink: #f8e9f0;
    --buai-pastel-peach: #fcf0df;
    --buai-pastel-yellow: #f5f4d9;
    --buai-pastel-mint: #e6f3e8;
    --buai-pastel-sky: #e7f1fb;
    --buai-pastel-lavender: #f3eefb;
    --buai-space-1: 4px;
    --buai-space-2: 8px;
    --buai-space-3: 12px;
    --buai-space-4: 16px;
    --buai-space-5: 24px;
    --buai-space-6: 32px;
    --buai-font: 'Inter', Arial, sans-serif;
    --buai-radius-sm: 10px;
    --buai-radius-md: 16px;
    --buai-radius-lg: 22px;
    --buai-radius-xl: 28px;
    --buai-shadow-sm: 0 4px 16px rgba(38, 43, 34, .06);
    --buai-shadow-md: 0 12px 34px rgba(38, 43, 34, .10);
    --buai-ease: cubic-bezier(.2, .7, .2, 1);
    --buai-duration-fast: 140ms;
    --buai-duration-normal: 200ms;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: #111;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}

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

button {
    font: inherit;
}

main {
    overflow: hidden;
}

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

.dark-panel {
    background: #090909;
    color: #f7f7f4;
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
}

.dark-eyebrow {
    color: #8c8c87;
}

.site-nav {
    height: 98px;
    background: #090909;
    color: #f4f4f2;

    border-bottom: 1px solid #222;

    display: flex;
    align-items: center;

    padding: 0 42px;

    position: relative;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;

    gap: 14px;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 2px;
}

/* the compact lockup used below 900px — hidden on desktop, where the morph
   mark and the wordmark span are shown instead */
.brand-mobile {
    display: none;
    height: 100%;
    width: auto;
}

.brand-mark {
    position: relative;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    overflow: visible;
}

.brand-mark img {

    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: auto;
}

.brand-mark .morph-logo-canvas {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;

    overflow: visible;
}

.brand-mark .morph-logo-canvas canvas {
    display: block;

    opacity: 0;
    transition: opacity .2s ease;
}
.brand-mark.is-morph-ready .morph-logo-canvas canvas {
    opacity: 1;
}

.main-links {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 42px;

    font-size: 17px;

    color: #bbb;
}

.main-links a.active {
    color: #fff;
}

.nav-mobile-toggle {
    display: none;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    background: transparent;
    color: #f4f4f2;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.nav-mobile-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

.nav-mobile-toggle:hover,
.nav-mobile-toggle[aria-expanded="true"] {
    border-color: #e9c94a;
}

.site-nav .nav-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 20px 16px;
    background: #090909;
    border-bottom: 1px solid #222;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    z-index: 40;
}

.site-nav .nav-mobile-panel[hidden] {
    display: none;
}

.site-nav .nav-mobile-panel a {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    color: #cfcfca;
    border-bottom: 1px solid #1c1c1c;
}

.site-nav .nav-mobile-panel a:last-child {
    border-bottom: 0;
}

.site-nav .nav-mobile-panel a.active {
    color: #fff;
}

.site-nav .nav-mobile-panel .nav-mobile-cta {
    margin-top: 6px;
    text-align: center;
    border: 1px solid #aaa;
    border-radius: 40px;
    color: #fff;
}

@media (min-width: 901px) {
    .site-nav .nav-mobile-panel {
        display: none !important;
    }
}

.nav-pill {
    border: 1px solid #aaa;

    border-radius: 40px;

    padding: 16px 27px;

    color: #fff;

    white-space: nowrap;
}

.marketplace-pill {
    border-color: #b99b43;

    color: #f4c84d;

    font-weight: 700;
}

.marketplace-pill i {
    display: inline-block;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #55d36b;

    margin-left: 15px;
}

.market-nav {
    background: #171717;
}

.market-label {
    margin-left: 0;

    color: #f1c63f;

    font-weight: 600;

    white-space: nowrap;
}

.market-links {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 32px;
}

.site-nav.market-nav .account-menu {
    margin-left: 32px;
}

.market-links > a {
    color: #eee;

    white-space: nowrap;
}

.market-links > a:hover {
    color: #fff;
}

.market-links > a.active {
    color: #fff;
    font-weight: 600;
}

.market-brand {
    border: 1px solid #aaa;

    border-radius: 40px;

    padding: 16px 28px;

    font-weight: 700;
}

.home-hero {
    min-height: 730px;

    display: grid;

    grid-template-columns: 1.35fr .65fr;

    padding: 145px 5.5% 90px;

    position: relative;
}

.hero-copy h1 {
    font-size: 9vw;

    line-height: .86;

    letter-spacing: -7px;

    font-weight: 400;

    margin: 45px 0 0;

    max-width: 800px;
}

.hero-copy h1 span {
    color: #686866;
}

.vertical-note {
    writing-mode: vertical-rl;

    font-size: 10px;

    letter-spacing: 4px;

    color: #7d7d79;

    margin-top: 0;
}

.hero-orbit {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 20px 5% 20px 10%;

    z-index: 1;
}

.orbit-shape {
    position: absolute;
    width: 360px;
    height: 360px;

    object-fit: contain;
    right: -70px;
    top: -80px;
    opacity: .32;
    z-index: 0;
}

.hero-orbit p {
    font-size: 21px;

    line-height: 1.45;

    color: #d1d1cc;

    max-width: 350px;

    margin-left: 30px;
}

.light-button,
.outline-button {
    display: inline-flex;

    width: max-content;

    padding: 18px 29px;

    border-radius: 40px;

    font-weight: 700;

    font-size: 21px;

    margin: 7px 0 0 30px;
}

.light-button {
    background: #f5f5f2;

    color: #111;
}

.outline-button {
    border: 1px solid #ddd;

    color: #fff;
}

.structure-section {
    padding: 105px 5.5% 110px;
}

.structure-heading {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    margin-top: 50px;

    align-items: start;
}

.structure-heading h2 {
    font-size: 65px;

    line-height: .95;

    letter-spacing: -4px;

    margin: 0;

    font-weight: 500;
}

.structure-heading h2 span {
    color: #efbf35;
}

.structure-heading p {
    font-size: 19px;

    line-height: 1.55;

    color: #666;

    max-width: 560px;
}

.structure-banner {
    margin-top: 60px;

    width: 100%;

    border-radius: 14px;

    overflow: hidden;

    background: #0d0d0d;

    display: flex;

    align-items: center;

    justify-content: center;
}

.structure-banner img {
    width: 100%;

    max-height: 480px;

    object-fit: cover;

    object-position: center;

    display: block;
}

.triangle-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 70px;
}

.art-card {
    height: 280px;

    border: 1px solid #bbb;

    position: relative;

    overflow: hidden;

    padding: 20px;

    background: #eee;
}

.art-card > b {
    position: relative;

    z-index: 2;

    color: #777;
}

.tri-art {
    position: absolute;

    inset: 30px;

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );
}

.tri-art img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.logo-tri {
    background: #111;
}

.white-tri {
    background: #111;
}

.rainbow-tri {
    background: linear-gradient(
        135deg,
        #4ab2a2,
        #f1d145 55%,
        #e54d55
    );
}

.warm-tri {
    background: linear-gradient(
        135deg,
        #ee405e,
        #f2a129,
        #3e82b9
    );
}

.four-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

.colour-card {
    display: block;

    text-decoration: none;

    min-height: 330px;

    padding: 45px 42px;

    border: 1px solid #272727;

    position: relative;

    overflow: hidden;
}

.colour-card .poly {
    position: absolute;

    width: 260px;
    height: 220px;

    right: -25px;
    bottom: -20px;

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );

    opacity: .85;
}

.colour-card.yellow .poly {
    background: var(--yellow);
}

.colour-card.green .poly {
    background: var(--green);
}

.colour-card.pink .poly {
    background: var(--pink);
}

.colour-card.orange .poly {
    background: var(--orange);
}

.colour-card.blue .poly {
    background: #3B82F6;
}

.colour-card.teal .poly {
    background: #2DD4BF;
}

.colour-card.olive .poly {
    background: #A3A84C;
}

.colour-card.purple .poly {
    background: #A855F7;
}

.colour-card .poly {
    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        filter .45s ease,
        opacity .45s ease;

    filter: brightness(.55) saturate(.6);
    opacity: .6;
}

.colour-card:hover .poly {
    transform: rotate(-6deg) translateY(-12px);

    filter: brightness(1.15) saturate(1.2);
    opacity: 1;

    cursor: pointer;
}

.colour-card.yellow:hover .poly { box-shadow: 0 0 45px 8px rgba(233, 201, 74, .45); }
.colour-card.green:hover .poly { box-shadow: 0 0 45px 8px rgba(74, 222, 128, .45); }
.colour-card.pink:hover .poly  { box-shadow: 0 0 45px 8px rgba(225, 29, 72, .45); }
.colour-card.orange:hover .poly { box-shadow: 0 0 45px 8px rgba(251, 146, 60, .45); }
.colour-card.blue:hover .poly  { box-shadow: 0 0 45px 8px rgba(59, 130, 246, .45); }
.colour-card.teal:hover .poly  { box-shadow: 0 0 45px 8px rgba(45, 212, 191, .45); }
.colour-card.olive:hover .poly { box-shadow: 0 0 45px 8px rgba(163, 168, 76, .45); }
.colour-card.purple:hover .poly { box-shadow: 0 0 45px 8px rgba(168, 85, 247, .45); }

.colour-card h3,
.colour-card p,
.colour-card small {
    position: relative;

    z-index: 1;
}

.colour-card h3 {
    font-size: 31px;

    max-width: 390px;

    margin: 20px 0 15px;

    color: #fff;
}

.colour-card p {
    max-width: 390px;

    color: #aaa;

    line-height: 1.45;
}

.colour-card small {
    color: #777;
}

.gradient-cta {
    min-height: 260px;

    padding: 55px 5.5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            110deg,
            #f05248,
            #f5b62e 32%,
            #58c64d 68%,
            #28a9c7
        );

    color: #fff;
}

.gradient-cta > div {
    font-size: 62px;

    letter-spacing: -4px;

    line-height: .95;

    max-width: 760px;
}

.gradient-cta a {
    border: 1px solid #fff;

    border-radius: 40px;

    padding: 15px 24px;

    white-space: nowrap;
}

.site-footer {
    background: #090909;

    color: #bbb;

    padding: 55px 5.5% 28px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 65px;
}

.footer-grid h4 {
    margin: 0 0 18px;

    color: #fff;
}

.footer-grid a {
    display: block;

    margin: 10px 0;

    color: #999;
}

.footer-kicker {
    font-size: 12px;

    letter-spacing: 3px;

    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-kicker img {
    width: 34px;
    height: 34px;

    object-fit: contain;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #272727;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    font-size: 14px;
}

.inner-hero {
    min-height: 640px;

    padding: 145px 5.5% 80px;

    display: grid;

    grid-template-columns: 1.25fr .75fr;

    position: relative;

    overflow: hidden;
}

.inner-hero h1 {
    font-size: 76px;

    line-height: .9;

    letter-spacing: -4px;

    font-weight: 400;

    margin: 35px 0;
}

.inner-hero h1 span {
    color: #70706d;
}

.inner-hero p {
    font-size: 19px;

    color: #aaa;

    max-width: 660px;

    line-height: 1.5;
}

.faceted {
    align-self: center;
    justify-self: end;

    width: 340px;
    height: 340px;
    margin-right: 4%;
    object-fit: contain;
    opacity: .32;
    position: relative;
}

.faceted:after {
    content: none;
}

.about-intro {
    padding: 145px 5.5% 110px;

    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 110px;
}

.about-intro h2 {
    font-size: 70px;

    line-height: 1;

    letter-spacing: -4px;

    margin: 0;
}

.about-intro p {
    font-size: 21px;

    line-height: 1.55;

    color: #5d5d59;

    margin: 0 0 30px;
}

.numbered-list {
    padding: 0 5.5%;
}

.number-row {
    display: grid;

    grid-template-columns: 100px 1fr 1.7fr;

    gap: 45px;

    padding: 48px 0;

    border-top: 1px solid var(--line);

    align-items: start;
}

.number-row:last-child {
    border-bottom: 1px solid var(--line);
}

.number-row span {
    color: #777;
}

.number-row h3 {
    font-size: 38px;

    margin: 0;
}

.number-row p {
    font-size: 19px;

    color: #70706c;

    line-height: 1.45;

    margin: 0;
}

.principles {
    padding: 100px 5.5%;
}

.principles h2 {
    font-size: 75px;

    font-weight: 400;

    letter-spacing: -4px;

    margin: 25px 0 70px;
}

.principle-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.principle-grid span {
    padding: 25px 0;

    border-top: 1px solid #333;

    color: #ccc;
}

.service-hero {
    min-height: 640px;
}

.service-hero h1 {
    font-size: 78px;
}

.service-list {
    padding: 0 5.5%;
}

.service-row {
    display: grid;

    grid-template-columns: 100px 1.1fr 1.4fr;

    gap: 55px;

    padding: 65px 0;

    border-bottom: 1px solid var(--line);

    align-items: start;
}

.service-no {
    color: #888;
}

.service-row h2 {
    font-size: 60px;

    line-height: .95;

    letter-spacing: -3px;

    margin: 0;
}

.service-row h2 strong {
    font-weight: 700;
}

.tone-01 {
    color: var(--pink);
}

.tone-02 {
    color: var(--blue);
}

.tone-03 {
    color: var(--yellow);
}

.tone-04 {
    color: #58a96c;
}

.tone-05 {
    color: var(--pink);
}

.tone-06 {
    color: var(--orange);
}

.tone-07 {
    color: var(--olive, #A3A84C);
}

.tone-08 {
    color: #A855F7;
}

.service-row h3 {
    font-size: 24px;

    font-weight: 400;

    margin: 0 0 30px;
}

.service-items {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

.service-items span {
    padding: 14px 0;

    border-bottom: 1px solid #d4d4ce;

    color: #70706d;
}

.insight-hero {
    padding: 110px 5.5% 55px;
}

.insight-hero h1 {
    font-size: 82px;

    line-height: .95;

    letter-spacing: -5px;

    font-weight: 400;

    margin: 35px 0 15px;
}

.insight-hero h1 span {
    color: #555;
}

.insight-hero p {
    max-width: 680px;

    font-size: 19px;

    color: #70706d;

    line-height: 1.5;
}

.filter-pills {
    display: flex;

    gap: 10px;

    margin-top: 0;

    flex-wrap: wrap;
}

.insight-toolbar {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-top: 40px;
}

.insight-toolbar .insight-search {
    margin-left: auto;

    flex: 0 1 300px;
}

.filter-pills button {
    border: 1px solid #bdbdb7;

    background: none;

    border-radius: 30px;

    padding: 10px 17px;
}

.insight-grid {
    padding: 10px 5.5% 100px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0 28px;
}

.insight-grid article {
    min-height: 330px;

    border-top: 1px solid var(--line);

    padding: 22px 0 35px;
}

.insight-grid small {
    color: #888;
}

.insight-grid h2 {
    font-size: 34px;

    line-height: 1.02;

    letter-spacing: -1.5px;

    margin: 125px 0 45px;

    overflow-wrap: break-word;
    hyphens: auto;
}

.insight-grid p {
    color: #70706d;

    font-size: 17px;

    line-height: 1.4;
}

.insight-grid a {
    font-size: 14px;

    font-weight: 600;
}

.contact-page {
    min-height: 850px;

    display: grid;

    grid-template-columns: 1fr 1fr;
}

.seller-login {
    min-height: 640px;

    padding: 140px 5.5%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.seller-login h1 {
    font-size: 76px;

    line-height: .92;

    letter-spacing: -4px;

    font-weight: 400;

    margin: 35px 0 30px;
}

.seller-login h1 span {
    color: #e3b72f;
}

.seller-login p {
    max-width: 560px;

    color: #aaa;

    font-size: 20px;

    line-height: 1.5;

    margin-bottom: 45px;
}

.seller-login .light-button {
    margin-left: 0;
}

.contact-left {
    padding: 130px 11% 70px 5.5%;
}

.contact-left h1 {
    font-size: 80px;

    line-height: .9;

    letter-spacing: -5px;

    font-weight: 400;

    margin: 50px 0 120px;
}

.contact-left h1 span {
    color: #666;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.contact-info small {
    letter-spacing: 3px;

    color: #777;

    margin-top: 25px;
}

.contact-info a {
    font-size: 24px;
}

.contact-form {
    background: var(--cream);

    color: #111;

    margin: 0;

    padding: 95px 7%;

    align-self: start;

    min-height: 650px;
}

.form-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;
}

.form-tags span {
    border: 1px solid #bbb;

    border-radius: 30px;

    padding: 11px 17px;
}

.contact-form label {
    display: block;

    letter-spacing: 2px;

    font-size: 14px;

    margin: 30px 0;
}

.contact-form textarea {
    width: 100%;

    height: 145px;

    border: 0;

    border-bottom: 1px solid #aaa;

    background: transparent;

    color: #111;

    resize: vertical;

    padding: 10px 0;

    font: inherit;

    font-size: 18px;

    outline: none;
}

.contact-form textarea::placeholder {
    color: #858581;
}

.contact-form button {
    margin-top: 35px;

    padding: 15px 24px;

    border: 1px solid #111;

    border-radius: 999px;

    background: #111;

    color: #f4f4f2;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .16s ease, transform .16s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
    background: linear-gradient(100deg, #f3d8e6, #f9e3cc 25%, #f4eec6 45%, #d9eddd 65%, #d5e6f5 85%, #e0d1f2);

    border-color: #eee6da;

    color: #26241f;

    box-shadow: 0 4px 16px rgba(38, 43, 34, .14);

    transform: translateY(-1px);
}

.contact-form button:active {
    transform: translateY(0) scale(.98);
}

.market-hero {
    padding: 28px 5.5% 0;

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 0;
}

.market-photo {
    height: 690px;

    position: relative;

    overflow: hidden;

    border: 1px solid #c7c7c1;
}

.market-photo img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.market-photo:after {
    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 35%;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.65)
        );
}

.market-photo span {
    position: absolute;

    left: 40px;

    bottom: 85px;

    color: #fff;

    z-index: 2;

    letter-spacing: 2px;
}

.market-photo h1 {
    position: absolute;

    left: 40px;

    bottom: -15px;

    color: #fff;

    z-index: 2;

    font-size: 76px;

    font-weight: 400;

    letter-spacing: -4px;
}

.market-side {
    border-top: 1px solid #c7c7c1;

    border-right: 1px solid #c7c7c1;

    display: grid;

    grid-template-rows: 1fr 1fr;

    grid-auto-rows: 1fr;

    align-content: stretch;
}

.market-side > div {

    min-height: 0;

    height: 100%;

    padding: 35px;

    border-bottom: 1px solid #c7c7c1;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.market-side > .flipbox {
    min-height: 0;

    height: 100%;
}

.market-side > .flipbox > .flipbox-inner {
    height: 100%;
}

.market-side small {
    color: #777;
}

.market-side label {
    color: #888;

    letter-spacing: 2px;

    margin-top: 50px;
}

.market-side h2 {
    font-size: 54px;

    line-height: .9;

    letter-spacing: -3px;

    font-weight: 400;

    margin: 15px 0;
}

.market-side p {
    color: #777;
}

.market-intro {
    padding: 110px 5.5% 100px;
}

.market-intro h2 {
    font-size: 80px;

    line-height: .9;

    letter-spacing: -5px;

    font-weight: 400;

    margin: 40px 0 25px;
}

.market-intro h2 span {
    color: #e3b72f;
}

.market-intro p {
    max-width: 600px;

    color: #666;

    font-size: 20px;

    line-height: 1.5;
}

.market-extra {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: var(--cream);

    padding: 0 5.5% 100px;
}

.market-extra > div {
    min-height: 345px;

    padding: 35px;

    border-top: 1px solid #c7c7c1;

    border-right: 1px solid #c7c7c1;

    border-bottom: 1px solid #c7c7c1;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.market-extra > div:last-child {
    border-right: none;
}

.market-extra small {
    color: #777;
}

.market-extra label {
    color: #888;

    letter-spacing: 2px;

    margin-top: 50px;
}

.market-extra h2 {
    font-size: 54px;

    line-height: .9;

    letter-spacing: -3px;

    font-weight: 400;

    margin: 15px 0;
}

.market-extra p {
    color: #777;
}

.market-intro.seller-final {
    background: #0a0a0a;

    padding: 90px 5.5% 32px;
}

.seller-final .seller-eyebrow {
    color: #e3b72f;
}

.seller-final h2 {
    color: #fff;

    margin-bottom: 45px;
}

.seller-final .light-button {
    margin-left: 0;

    padding: 18px 34px;
}

.seller-final .light-button:hover {
    background: #e3b72f;
}

.market-categories {
    padding: 0 5.5% 100px;
}

.hub-hero {
    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);

    gap: 60px;

    align-items: center;
}

.hub-hero-copy .eyebrow {
    margin: 0;
}

.hub-hero-copy h2 {
    margin: 30px 0 22px;
}

.hub-hero-copy p {
    color: #9a9a9a;

    font-size: 20px;

    line-height: 1.5;

    margin: 0 0 38px;
}

.hub-hero-ctas {
    display: flex;

    gap: 16px;

    flex-wrap: wrap;
}

.hub-hero-cta--ghost {
    background: transparent;

    color: #fff;

    border: 1px solid #3a3a3a;
}

.hub-hero-cta--ghost:hover {
    border-color: #e3b72f;

    color: #e3b72f;
}

.hub-hero-visual {
    position: relative;

    min-height: 380px;
}

.hub-card {
    position: absolute;

    display: block;

    width: 270px;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 30px 60px rgba(0, 0, 0, .55);

    text-decoration: none;

    transition: transform .35s ease;
}

.hub-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
}

.hub-card--item {
    left: 4%;

    top: 6%;

    transform: rotate(-7deg);

    z-index: 2;
}

.hub-card--service {
    right: 0;

    top: 18%;

    transform: rotate(6deg);

    z-index: 1;
}

.hub-card--service {
    right: 3%;
}

.hub-card-media {
    position: relative;

    display: block;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: inherit;

    border-bottom-left-radius: 0;

    border-bottom-right-radius: 0;

    background: #efece4;
}

.hub-card-media img {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.hub-card-noimg {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    font-weight: 800;

    letter-spacing: 3px;

    color: #b9b4a6;
}

.hub-card-tag {
    position: absolute;

    left: 12px;

    top: 12px;

    padding: 5px 12px;

    border-radius: 999px;

    background: rgba(20, 20, 20, .72);

    color: #fff;

    font-size: 11px;

    font-weight: 700;
}

.hub-card-body {
    display: grid;

    gap: 4px;

    padding: 12px 14px 14px;
}

.hub-card-body strong {
    color: #17181c;

    font-size: 14px;

    font-weight: 700;
}

.hub-card-price {
    color: #17181c;

    font-size: 15px;

    font-weight: 800;
}

.hub-card-seller {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 4px;

    color: #6a6c70;

    font-size: 12px;
}

.hub-card-seller img {
    width: 22px;

    height: 22px;

    border-radius: 50%;

    object-fit: cover;
}

@media (max-width: 980px) {
    .hub-hero {
        grid-template-columns: 1fr;
    }

    .hub-hero-visual {
        min-height: 320px;

        max-width: 480px;
    }
}

.category {
    border-top: 1px solid var(--line);

    padding: 35px 0;
}

.category h3 {
    font-size: 25px;

    margin: 0 0 25px;
}

.category > span {
    display: inline-block;

    width: 32%;

    padding: 16px 0;

    border-bottom: 1px solid #d4d4ce;

    color: #6b6b68;
}

.seller {
    display: grid;

    grid-template-columns: 55px 1fr 80px 100px;

    gap: 20px;

    align-items: center;

    padding: 18px 0;

    border-top: 1px solid #d4d4ce;
}

.seller b {
    width: 40px;
    height: 40px;

    border: 1px solid #aaa;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 13px;
}

.seller span {
    color: #777;
}

.seller button {
    border: 1px solid #999;

    background: none;

    border-radius: 25px;

    padding: 8px 13px;
}

@media (max-width: 900px) {

    .site-nav {
        padding: 0 20px;

        height: 78px;
    }

    .main-links {
        gap: 15px;

        font-size: 13px;
    }

    .main-links a:nth-child(-n+4) {
        display: none;
    }

    .main-links a:nth-child(5) {
        display: none;
    }

    .site-nav {
        gap: 8px;
    }

    .nav-mobile-toggle {
        display: inline-grid;
    }

    .site-nav .main-links {
        display: none;
    }

    /* the brand already pushes everything right with margin-right:auto, so the
       toggle must NOT also claim the auto margin — that would split the gap */
    .nav-mobile-toggle {
        margin-left: 0;
        flex: 0 0 auto;
    }

    .brand span {
        font-size: 13px;
        letter-spacing: 1px;
    }

    /* MOBILE BRAND
       Below 900px the square morph mark + wordmark is replaced by one compact
       lockup image, and the whole brand is pinned to the LEFT of the bar.
       The square mark is 44px tall and does not fit an 78px bar once the
       wordmark and two menu buttons are also in the row. */
    .brand {
        font-size: 15px;

        /* pin to the left edge, ahead of the auto-margin push-right controls */
        order: -1;
        margin-right: auto;
        margin-left: 0;

        flex: 0 1 auto;
        min-width: 0;
        gap: 0;
    }

    /* hide the desktop mark + wordmark span on mobile */
    .brand .brand-mark,
    .brand .brand-word {
        display: none;
    }

    /* show the wide lockup instead */
    .brand-mobile {
        display: block;
        height: 34px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .home-hero,
    .inner-hero,
    .about-intro,
    .contact-page {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 100px 25px 70px;

        min-height: 760px;
    }

    .hero-copy h1,
    .inner-hero h1,
    .service-hero h1 {
        font-size: 15vw;

        letter-spacing: -3px;
    }

    .hero-orbit {
        padding: 80px 0 0;
    }

    .orbit-shape {
        width: 260px;
        height: 260px;
        right: -40px;
        top: -60px;
    }

    .orbit-shape {
        width: min(260px, 62vw);
        height: min(260px, 62vw);
        right: -4vw;
        top: -40px;
    }

    .structure-section,
    .service-list,
    .insight-hero,
    .insight-grid,
    .market-intro,
    .market-categories {
        padding-left: 25px;

        padding-right: 25px;
    }

    .structure-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .structure-heading h2,
    .about-intro h2 {
        font-size: 48px;
    }

    .triangle-cards,
    .four-grid,
    .insight-grid {
        grid-template-columns: 1fr;
    }

    .colour-card {
        min-height: 280px;
    }

    .gradient-cta {
        padding: 50px 25px;

        display: block;
    }

    .gradient-cta > div {
        font-size: 45px;

        margin-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        gap: 15px;

        flex-direction: column;
    }

    .inner-hero {
        padding: 100px 25px 70px;
    }

    .faceted {
        width: min(240px, 58vw);
        height: min(240px, 58vw);
        justify-self: center;
        margin-right: 0;

        margin-right: 0;
    }

    .about-intro {
        padding: 80px 25px;
    }

    .number-row {
        grid-template-columns: 45px 1fr;

        gap: 20px;
    }

    .number-row p {
        grid-column: 2;
    }

    .principles {
        padding: 75px 25px;
    }

    .principles h2 {
        font-size: 55px;
    }

    .principle-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-row {
        grid-template-columns: 45px 1fr;

        gap: 15px;

        padding: 45px 0;
    }

    .service-row > div {
        grid-column: 2;
    }

    .service-row h2 {
        font-size: 48px;
    }

    .service-items {
        grid-template-columns: 1fr;
    }

    .insight-hero h1 {
        font-size: 58px;
    }

    .insight-toolbar {
        flex-direction: column;

        align-items: stretch;

        gap: 14px;
    }

    .insight-toolbar .insight-search {
        margin-left: 0;

        flex: 0 0 auto;

        max-width: none;
    }

    .insight-grid article {
        min-height: auto;

        padding-bottom: 50px;
    }

    .insight-grid h2 {
        margin: 12px 0 10px;
    }

    .insight-grid .insight-thumb {
        max-width: 520px;
    }

    .contact-left {
        padding: 90px 25px;
    }

    .contact-left h1 {
        font-size: 60px;

        margin: 40px 0 70px;
    }

    .contact-form {
        padding: 60px 25px;
    }

    .market-nav .market-links {
        gap: 15px;

        font-size: 13px;
    }

    .market-nav .market-label {
        display: none;
    }

    .market-hero {
        padding: 15px 15px 0;

        grid-template-columns: 1fr;
    }

    .market-photo {
        height: 580px;
    }

    .market-side {
        border-left: 1px solid #c7c7c1;
    }

    .market-side > div {
        min-height: 260px;
    }

    .market-intro h2 {
        font-size: 58px;
    }

    .market-extra {
        grid-template-columns: 1fr;

        padding: 0 15px 80px;
    }

    .market-extra > div {
        border-left: 1px solid #c7c7c1;

        min-height: 260px;
    }

    .market-intro.seller-final {
        padding: 64px 25px 28px;
    }

    .market-intro.seller-final h2 {
        font-size: 58px;
    }

    .category > span {
        width: 49%;
    }

    .seller {
        grid-template-columns: 45px 1fr 50px;
    }

    .seller button {
        grid-column: 2;
    }

    .market-brand {
        padding: 11px 15px;
    }

    .site-footer {
        padding-left: 25px;

        padding-right: 25px;
    }

}

.approach-section {
    background-color: #f4f4f2;
    color: #111111;
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.approach-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .approach-container {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

.approach-subheading {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 24px;
}

.approach-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: #0d0d0d;
}

.approach-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 540px;
}

.approach-graphics {
    position: relative;
    width: 100%;
    height: 400px;
}

@media (min-width: 1024px) {
    .approach-graphics {
        height: 550px;
    }
}

.shape {
    position: absolute;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.03));
    transition: transform 0.5s ease-out;
}

.shape-blue {
    top: -40px;
    right: 5%;
    width: 220px;
    height: 260px;
    transform: rotate(15deg);
}

.shape-green {
    top: 20%;
    left: 10%;
    width: 240px;
    height: 240px;
    transform: rotate(-10deg);
}

.shape-pink {
    bottom: -60px;
    left: 20%;
    width: 220px;
    height: 280px;
    transform: rotate(-5deg);
}

.shape-orange {
    bottom: -20px;
    right: 0%;
    width: 240px;
    height: 180px;
    transform: rotate(8deg);
}

.approach-graphics:hover .shape-blue {
    transform: rotate(18deg) translateY(-8px);
}
.approach-graphics:hover .shape-green {
    transform: rotate(-12deg) translateX(-8px);
}
.approach-graphics:hover .shape-pink {
    transform: rotate(-3deg) translateY(8px);
}
.approach-graphics:hover .shape-orange {
    transform: rotate(10deg) translateX(8px);
}

.services-header-section {
    background-color: #0f0f0f;
    color: #ffffff;
    padding: 100px 24px 60px 24px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.services-header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-header-container {
        flex-direction: row;
        align-items: flex-end;
    }
}

.services-subheading {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 24px;
}

.services-heading {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.services-header-action {
    flex-shrink: 0;
    padding-bottom: 8px;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s ease;
    background-color: transparent;
}

.services-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.services-btn:hover .btn-arrow {
    transform: translate(2px, -2px);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.services-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111111;
    background-color: #f6f6f4;
}

.services-hero {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 80px 24px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #888888;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px 0;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: #aaaaaa;
    max-width: 480px;
    margin: 0;
}

.services-list-section {
    padding: 0 24px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
    border-bottom: 1px solid #e0e0dc;

    scroll-margin-top: 100px;

    transition: background .4s ease, box-shadow .4s ease;
}

.service-row:target {
    background: rgba(0,0,0,.04);
    box-shadow: inset 4px 0 0 #111;
}

@media (min-width: 900px) {
    .service-row {
        grid-template-columns: 80px 1.2fr 1.8fr;
        gap: 32px;
    }
}

.service-number {
    font-size: 13px;
    color: #777777;
    font-weight: 500;
    padding-top: 6px;
}

.service-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0;
}

.service-description {
    font-size: 15px;
    color: #333333;
    font-weight: 500;
    margin: 0 0 28px 0;
}

.service-tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.service-tag-item {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
}

.cta-banner {
    background: linear-gradient(105deg, #e53935 0%, #fb8c00 30%, #43a047 70%, #1e88e5 100%);
    padding: 80px 24px;
    color: #ffffff;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

@media (min-width: 768px) {
    .cta-container {
        flex-direction: row;
        align-items: flex-end;
    }
}

.cta-title {
    font-size: 44px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #111111;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.cta-btn svg {
    width: 14px;
    height: 14px;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.home-hero,
.structure-section,
.approach-section,
.services-header-section,
.four-grid,
.marketplace-section,
.insights-section,
.gradient-cta {
    width: 100%;
}

.home-hero {
    position: relative;
    min-height: 720px;
    padding: 120px 4.5% 70px;
    background: #0d0d0d;
    color: #f4f4f0;

    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;

    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #777773;
    font-weight: 600;
}

.hero-copy h1 {

    margin: 45px 0 0;

    font-size: clamp(70px, 8vw, 145px);
    line-height: .86;
    font-weight: 400;
    letter-spacing: -.07em;
}

.hero-copy h1 span {
    color: #686864;
}

.vertical-note {
    margin-top: 35px;

    writing-mode: vertical-rl;

    color: #666662;
    font-size: 9px;
    letter-spacing: .3em;
}

.hero-orbit {
    position: relative;
    z-index: 2;

    min-height: 480px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    padding-top: calc(14px + 45px);
}

.orbit-shape {
    position: absolute;

    width: 360px;
    height: 360px;

    right: -70px;
    top: -80px;

    object-fit: contain;

    opacity: .32;

    z-index: 0;

}

.hero-description {

    max-width: 360px;

    margin: 0 0 26px;

    color: #c4c4c0;

    font-size: 15px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.light-button,
.outline-button,
.dark-pill,
.services-btn,
.outline-dark-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;
}

.light-button {
    padding: 17px 30px;

    background: #f5f5f1;
    color: #111;

    font-size: 13.5px;
}

.outline-button {
    padding: 16px 30px;

    border: 1px solid #666;
    color: #f5f5f1;

    font-size: 13.5px;
}

.structure-section {
    padding: 110px 4.5% 90px;

    background: #f1f1ec;
    color: #111;
}

.dark-eyebrow {
    color: #777773;
}

.structure-heading {
    margin-top: 45px;
    margin-bottom: 70px;

    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 60px;
}

.structure-heading h2 {
    margin: 0;

    font-size: clamp(60px, 7vw, 120px);
    line-height: .87;
    font-weight: 400;
    letter-spacing: -.07em;
}

.structure-heading h2 span {
    color: #777773;
}

.structure-heading p {
    max-width: 350px;

    margin: 0;

    color: #686864;

    font-size: 15px;
    line-height: 1.5;
}

.triangle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #c8c8c2;
    border-left: 1px solid #c8c8c2;
}

.structure-card {
    position: relative;

    min-height: 470px;

    padding: 25px;

    border-right: 1px solid #c8c8c2;
    border-bottom: 1px solid #c8c8c2;

    overflow: hidden;
}

.structure-card > span {
    position: relative;
    z-index: 3;

    font-size: 11px;
    letter-spacing: .15em;
}

.structure-art {
    position: absolute;

    inset: 0;

    z-index: 1;
}

.foundation-art {
    background: #111;
}

.connection-art {
    background:
        linear-gradient(
            145deg,
            #d5d5cf 0%,
            #eeeeea 45%,
            #999993 100%
        );

    clip-path: polygon(
        20% 0,
        100% 20%,
        75% 100%,
        0 80%
    );
}

.possibility-art {
    background:
        linear-gradient(
            135deg,
            #f23c52,
            #ee8a3a 35%,
            #48c78e 65%,
            #3b8de3
        );

    clip-path: polygon(
        50% 0,
        100% 25%,
        75% 100%,
        0 75%
    );
}

.structure-card-content {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    z-index: 3;
}

.structure-card-content small {
    display: block;

    margin-bottom: 15px;

    font-size: 10px;
    letter-spacing: .2em;
}

.structure-card-content h3 {
    margin: 0;

    max-width: 350px;

    font-size: 30px;
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 400;
}

.foundation-card {
    background: #111;
    color: #fff;
}

.approach-section {
    padding: 110px 4.5% 90px;

    background: #f1f1ec;
}

.approach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 650px;
}

.approach-content {
    padding-right: 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.approach-subheading {
    color: #777773;

    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 600;
}

.approach-heading {
    margin: 45px 0 30px;

    max-width: 700px;

    font-size: clamp(60px, 6vw, 105px);
    line-height: .88;
    letter-spacing: -.07em;
    font-weight: 400;
}

.approach-description {
    max-width: 450px;

    margin: 0;

    color: #666662;

    font-size: 15px;
    line-height: 1.5;
}

.approach-graphics {
    position: relative;

    min-height: 600px;

    overflow: hidden;
}

.approach-shape {
    position: absolute;

    width: 48%;
    height: 48%;

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 80%
    );
}

.approach-blue {
    top: 0;
    right: 0;
    background: #3b82f6;
}

.approach-green {
    top: 25%;
    left: 0;
    background: #4ade80;
    transform: rotate(180deg);
}

.approach-pink {
    right: 5%;
    bottom: 0;
    background: #e11d48;
}

.approach-orange {
    left: 10%;
    bottom: 12%;
    background: #fb923c;
    transform: rotate(180deg);
}

.services-header-section {
    padding: 100px 4.5% 65px;

    background: #0d0d0d;
    color: #f4f4f0;
}

.services-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.services-subheading {
    color: #777773;

    font-size: 10px;
    letter-spacing: .2em;
}

.services-heading {
    margin: 40px 0 0;

    font-size: clamp(60px, 6vw, 110px);
    line-height: .87;
    letter-spacing: -.07em;
    font-weight: 400;
}

.services-btn {
    padding: 13px 18px;

    border: 1px solid #555;

    color: #fff;
}

.four-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    background: #0d0d0d;
}

.colour-card {
    position: relative;

    min-height: 460px;

    padding: 35px;

    color: #111;

    overflow: hidden;

    border-top: 1px solid rgba(255,255,255,.12);
    border-right: 1px solid rgba(255,255,255,.12);
}

.colour-card small,
.colour-card h3,
.colour-card p {
    position: relative;
    z-index: 2;
}

.colour-card small {
    display: block;

    margin-bottom: 80px;

    font-size: 10px;
    letter-spacing: .15em;
}

.colour-card h3 {
    max-width: 500px;

    margin: 0 0 25px;

    font-size: clamp(38px, 4vw, 65px);
    line-height: .92;
    letter-spacing: -.055em;
    font-weight: 400;
}

.colour-card p {
    max-width: 390px;

    margin: 0;

    font-size: 14px;
    line-height: 1.5;
}

.service-shape {
    position: absolute;

    width: 250px;
    height: 250px;

    right: -35px;
    top: 50px;

    opacity: .9;

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 80%
    );
}

.service-yellow {
    background: #d9bd42;
}

.service-yellow .service-shape {
    background: #8d7927;
}

.service-blue {
    background: #4b86c9;
}

.service-blue .service-shape {
    background: #28538c;
}

.service-olive {
    background: #a9a84c;
}

.service-olive .service-shape {
    background: #77772e;
}

.service-green {
    background: #54a978;
}

.service-green .service-shape {
    background: #2e7451;
}

.service-pink {
    background: #d95b87;
}

.service-pink .service-shape {
    background: #9f315a;
}

.service-orange {
    background: #df8142;
}

.service-orange .service-shape {
    background: #a94e24;
}

.service-teal {
    background: #4da9a5;
}

.service-teal .service-shape {
    background: #287773;
}

.service-blue-dark {
    background: #3977ba;
}

.service-blue-dark .service-shape {
    background: #1d4f86;
}

.marketplace-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #f1f1ec;
    color: #111;
}

.marketplace-content {
    padding: 100px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marketplace-label {
    font-size: 10px;
    letter-spacing: .2em;
}

.marketplace-content h2 {
    margin: 40px 0 30px;

    font-size: clamp(60px, 7vw, 115px);
    line-height: .86;
    letter-spacing: -.07em;
    font-weight: 400;
}

.marketplace-content h2 span {
    color: #777773;
}

.marketplace-content > p {
    max-width: 390px;

    color: #666662;

    font-size: 15px;
    line-height: 1.5;
}

.dark-pill {
    align-self: flex-start;

    margin-top: 20px;

    padding: 13px 18px;

    background: #111;
    color: #fff;
}

.marketplace-list {
    margin-top: 70px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #c8c8c2;
}

.marketplace-list div {
    padding: 20px 0;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.marketplace-list div + div {
    padding-left: 25px;

    border-left: 1px solid #c8c8c2;
}

.marketplace-list small {
    color: #888;

    font-size: 9px;
    letter-spacing: .15em;
}

.marketplace-list strong {
    font-size: 14px;
    font-weight: 500;
}

.marketplace-image {
    min-height: 650px;

    background:
        linear-gradient(
            135deg,
            #242424,
            #777 45%,
            #202020
        );

    border-left: 1px solid #c8c8c2;

    position: relative;
}

.marketplace-image::after {
    content: "Barber services · Available now";

    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 12px 17px;

    border-radius: 999px;

    background: #111;
    color: #fff;

    font-size: 11px;
}

.insights-section {
    padding: 110px 4.5% 90px;

    background: #f1f1ec;
    color: #111;
}

.insights-heading {
    margin-bottom: 70px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.insights-heading span {
    color: #777773;

    font-size: 10px;
    letter-spacing: .2em;
}

.insights-heading h2 {
    margin: 40px 0 0;

    font-size: clamp(60px, 6vw, 110px);
    line-height: .87;
    letter-spacing: -.07em;
    font-weight: 400;
}

.outline-dark-button {
    padding: 13px 18px;

    border: 1px solid #999;

    color: #111;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;

    border: 1px solid #c8c8c2;
}

.insight-grid article {
    min-height: 430px;

    padding: 35px;

    display: flex;
    flex-direction: column;

    border-right: 1px solid #c8c8c2;
    border-bottom: 1px solid #c8c8c2;
}

.insight-grid article:nth-child(3n) {
    border-right: 0;
}

.insight-grid article:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.insight-grid .insight-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0 0 16px;
    border-radius: 10px;
    border: 1px solid #e2e2dc;
    background: #f1f0ea;
    overflow: hidden;
}

.insight-grid .insight-thumb.is-empty {
    display: grid;
    place-items: center;
    border-style: dashed;
    background: #f4f3ee;
}

.insight-grid .insight-thumb.is-empty span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #a7a79f;
    text-align: center;
    padding: 0 14px;
}

.insight-grid .insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.insight-grid .insight-thumb:hover img {
    transform: scale(1.04);
}

.insight-grid .insight-thumb.is-empty img,
.insight-grid .insight-thumb:not(a) img {
    display: none;
}

.insight-grid article > h2 {
    margin: 12px 0 10px;
    min-height: 2.05em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-grid article > p {
    margin: 0 0 12px;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-grid article > a:last-child {
    margin-top: auto;
}

.insight-grid small {
    color: #888;

    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.insight-grid article > div {
    margin-top: auto;
}

.insight-grid h3 {
    margin: 0 0 25px;

    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 400;
}

.insight-grid p {
    margin: 0;

    color: #777;

    font-size: 14px;
    line-height: 1.5;
}

.insight-feature {
    position: relative;

    background: #171717;
    color: #fff;

    overflow: hidden;
}

.insight-feature::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 230px;

    right: -20px;
    bottom: -30px;

    background: linear-gradient(
        135deg,
        #ef4050,
        #c00070
    );

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );
}

.gradient-cta {
    min-height: 270px;

    padding: 55px 4.5%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    background:
        linear-gradient(
            105deg,
            #ee174f 0%,
            #f36d28 27%,
            #d0b536 48%,
            #42c84d 70%,
            #25a9c3 100%
        );

    color: #fff;
}

.gradient-cta h2 {
    margin: 0;

    font-size: clamp(55px, 6vw, 110px);
    line-height: .88;
    letter-spacing: -.07em;
    font-weight: 400;
}

.gradient-cta a {
    padding: 13px 18px;

    border-radius: 999px;

    background: #fff;
    color: #111;

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns: 1fr;

        min-height: 800px;

        padding: 100px 25px 60px;
    }

    .hero-copy h1 {
        font-size: 16vw;
    }

    .hero-orbit {
        min-height: 350px;
    }

    .orbit-shape {
        width: 260px;
        height: 260px;
        right: -40px;
        top: -60px;
    }
    .structure-section,
    .approach-section,
    .services-header-section,
    .insights-section {
        padding-left: 25px;
        padding-right: 25px;
    }

    .structure-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .triangle-cards {
        grid-template-columns: 1fr;
    }

    .approach-container {
        grid-template-columns: 1fr;
    }

    .approach-content {
        padding-right: 0;
    }

    .approach-graphics {
        min-height: 400px;
    }

    .services-header-container {
        display: block;
    }

    .services-header-action {
        margin-top: 30px;
    }

    .four-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-section {
        grid-template-columns: 1fr;
    }

    .marketplace-content {
        padding: 80px 25px;
    }

    .marketplace-image {
        min-height: 500px;
    }

    .insights-heading {
        display: block;
    }

    .outline-dark-button {
        margin-top: 30px;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .insight-grid article {
        min-height: auto;

        border-right: 0;
        border-bottom: 1px solid #c8c8c2;
    }

    .insight-grid article:nth-child(3n) {
        border-right: 0;
    }

    .insight-grid article:nth-last-child(-n + 3) {
        border-bottom: 1px solid #c8c8c2;
    }

    .insight-grid article:nth-last-child(-n + 1) {
        border-bottom: 0;
    }

    .gradient-cta {
        display: block;

        padding: 60px 25px;
    }

    .gradient-cta h2 {
        margin-bottom: 30px;
    }
}

.auth-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background: #0d0d0d;
}

.auth-card {
    width: 100%;
    max-width: 460px;

    padding: 50px 45px;

    background: #141414;

    border: 1px solid #272727;
}

.auth-card h1 {
    font-size: clamp(38px, 5vw, 52px);

    line-height: .95;

    letter-spacing: -.05em;

    margin: 18px 0 30px;
}

.auth-card h1 span {
    color: #777773;
}

.auth-error {
    margin-bottom: 22px;

    padding: 12px 16px;

    background: rgba(225, 29, 72, .12);

    border-left: 3px solid #e11d48;

    color: #fca5b5;

    font-size: 13px;
}

.auth-form label {
    display: block;

    margin-bottom: 18px;

    font-size: 10px;

    letter-spacing: .15em;

    color: #888;
}

.auth-form input:not([type="checkbox"]) {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 13px 15px;

    background: #0d0d0d;

    border: 1px solid #2c2c2c;

    color: #fff;

    font-size: 14px;
}

.auth-form input:focus {
    outline: none;

    border-color: #555;
}

.auth-remember {
    display: flex !important;
    align-items: center;
    gap: 10px;

    letter-spacing: normal !important;

    font-size: 13px !important;

    color: #aaa !important;
}

.auth-submit {
    width: 100%;

    margin-top: 8px;

    padding: 15px;

    background: #fff;

    color: #111;

    border: none;

    font-size: 13px;

    letter-spacing: .1em;

    text-transform: uppercase;

    cursor: pointer;

    transition: background .2s ease;
}

.auth-submit:hover {
    background: var(--yellow, #e9c94a);
}

.otp-input {
    font-size: 22px !important;
    letter-spacing: .4em;
    text-align: center;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.otp-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.otp-link {
    padding: 0;
    border: 0;
    background: none;
    color: #e9e9e6;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.otp-link:hover { color: #fff; }

.otp-link--muted { color: #8a8a86; }

.otp-link:disabled {
    color: #5c5c58;
    text-decoration: none;
    cursor: not-allowed;
}

.otp-expiry {
    margin: 18px 0 0;
    font-size: 12px;
    color: #777;
}

.account-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 14px;
}

.pw-rules {
    margin: -10px 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.pw-rule {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .01em;
    color: #7c7c78;
    transition: color .18s ease;
}

.pw-rule-mark {
    position: relative;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
}

.pw-rule-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a4a46;
    transition: opacity .18s ease, transform .18s ease;
}

.pw-rule-mark svg {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .18s ease, transform .22s cubic-bezier(.2, .9, .3, 1.4);
}

.pw-rule.is-met { color: #b8e6c4; }
.pw-rule.is-met .pw-rule-dot { opacity: 0; transform: scale(.4); }
.pw-rule.is-met .pw-rule-mark svg { opacity: 1; transform: none; }

.pw-rule.is-failed { color: #f0a2ae; }
.pw-rule.is-failed .pw-rule-dot { background: #e11d48; }

.pw-rules.is-complete .pw-rule:not(.is-met) { color: #7c7c78; }

.pw-match {
    margin: 0 0 18px;
    padding-left: 25px;
    font-size: 12px;
    color: #b8e6c4;
}

.auth-form input.is-mismatch {
    border-color: #7f2536;
}

.auth-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
    background: #fff;
}

.auth-submit:disabled:hover {
    background: #fff;
}

.auth-alt {
    margin: 25px 0 0;

    font-size: 13px;

    color: #777;
}

.auth-alt a {
    color: #fff;

    text-decoration: underline;
}

.admin-body {
    display: grid;

    grid-template-columns: 250px 1fr;

    min-height: 100vh;

    background: #f6f6f4;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    color: #111;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;

    padding: 30px 20px;

    background: #0d0d0d;
}

.admin-brand {
    margin-bottom: 40px;

    color: #fff;

    font-size: 12px;

    letter-spacing: .18em;

    text-decoration: none;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;

    flex: 1;
}

.admin-nav a {
    padding: 11px 14px;

    color: #999;

    font-size: 14px;

    text-decoration: none;

    border-radius: 4px;

    transition: background .15s ease, color .15s ease;
}

.admin-nav a:hover {
    color: #fff;

    background: #1c1c1c;
}

.admin-nav a.active {
    color: #111;

    background: #e9c94a;

    font-weight: 600;
}

.admin-logout button {
    width: 100%;

    padding: 11px;

    background: transparent;

    border: 1px solid #2c2c2c;

    color: #999;

    cursor: pointer;

    font-size: 13px;

    transition: color .15s ease, border-color .15s ease;
}

.admin-logout button:hover {
    color: #fff;

    border-color: #666;
}

.admin-main {
    display: flex;
    flex-direction: column;

    overflow: visible;

    min-width: 0;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 40px;

    background: #fff;

    border-bottom: 1px solid #e5e5e0;
}

.admin-topbar-title {
    font-size: 22px;

    font-weight: 700;

    letter-spacing: -.02em;
}

.admin-topbar-user {
    font-size: 13px;

    color: #777;
}

.admin-content {
    padding: 40px;

    flex: 1;
}

.admin-alert {
    margin-bottom: 25px;

    padding: 13px 18px;

    font-size: 14px;
}

.admin-alert.success {
    background: #e6f4ea;

    border-left: 3px solid #2e7451;

    color: #1f5c3d;
}

.stat-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;

    margin-bottom: 40px;
}

.stat-card {
    display: block;

    padding: 25px;

    background: #fff;

    border: 1px solid #e5e5e0;

    text-decoration: none;

    transition: box-shadow .2s ease, transform .2s ease;
}

.stat-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.07);

    transform: translateY(-2px);
}

.stat-card small {
    display: block;

    font-size: 10px;

    letter-spacing: .15em;

    color: #888;
}

.stat-card strong {
    display: block;

    margin: 10px 0 4px;

    font-size: 42px;

    font-weight: 700;

    letter-spacing: -.03em;
}

.stat-card span {
    font-size: 12px;

    color: #999;
}

.admin-panel {
    margin-bottom: 30px;

    padding: 30px;

    background: #fff;

    border: 1px solid #e5e5e0;
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 20px;
}

.admin-panel-head h2 {
    margin: 0;

    font-size: 18px;

    font-weight: 700;
}

.admin-empty {
    color: #999;

    font-size: 14px;
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 14px;
}

.admin-table th {
    padding: 10px 12px;

    text-align: left;

    font-size: 10px;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: #888;

    border-bottom: 2px solid #eee;
}

.admin-table td {
    padding: 12px;

    border-bottom: 1px solid #eee;

    vertical-align: top;
}

.msg-cell {
    max-width: 260px;
}

.contact-message summary {
    cursor: pointer;
    line-height: 1.45;
}

.contact-message[open] summary {
    margin-bottom: 8px;
}

.contact-message p {
    max-width: 420px;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.status-badge {
    display: inline-block;

    padding: 3px 10px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .06em;

    border-radius: 20px;

    background: #eee;

    color: #555;
}

.status-badge.new,
.status-badge.pending {
    background: #fdf3d7;

    color: #8a6d1a;
}

.status-badge.read,
.status-badge.approved {
    background: #e6f4ea;

    color: #1f5c3d;
}

.status-badge.replied {
    background: #e3edfb;

    color: #28538c;
}

.status-badge.archived,
.status-badge.rejected {
    background: #fbe4ea;

    color: #9f315a;
}

.status-badge.spam {
    background: #fbe4ea;

    color: #9f315a;
}

.status-badge.pending {
    background: #fdf3d7;

    color: #8a6d1a;
}

.actions-cell {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    min-width: 120px;
}

.actions-cell form {
    display: inline;
}

.btn-mini {
    padding: 6px 12px;

    background: #f2f2ee;

    border: 1px solid #ddd;

    color: #333;

    font-size: 12px;

    cursor: pointer;

    transition: background .15s ease;
}

.btn-mini:hover {
    background: #e5e5df;
}

.btn-mini.danger {
    color: #9f315a;

    border-color: #f0c8d4;

    background: #fdf2f5;
}

.btn-mini.danger:hover {
    background: #fbe4ea;
}

.btn-primary {
    padding: 10px 22px;

    background: #0d0d0d;

    color: #fff;

    border: none;

    font-size: 13px;

    cursor: pointer;
}

.btn-primary:hover {
    background: #333;
}

.admin-form {
    margin-top: 10px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    align-items: start;
}

.admin-form label {
    display: block;

    font-size: 12px;

    font-weight: 600;

    color: #444;
}

.admin-form label small {
    font-weight: 400;

    color: #999;
}

.admin-form input:not([type="checkbox"]),
.admin-form textarea,
.admin-form select {
    display: block;

    width: 100%;

    margin-top: 6px;

    padding: 10px 12px;

    border: 1px solid #ddd;

    font-size: 14px;

    font-family: inherit;

    background: #fbfbf9;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;

    border-color: #999;
}

.admin-form .check-label {
    display: flex !important;

    align-items: center;

    gap: 8px;
}

.admin-form > .btn-primary,
.admin-form > .check-label {
    align-self: end;
}

.admin-form.collapsible {
    display: none;
}

.admin-form.collapsible.open {
    display: grid;
}

.edit-row > td {
    padding: 0 12px 18px;

    background: #fbfbf9;
}

.edit-row .admin-form {
    width: 100%;

    display: none;
}

.edit-row .admin-form.open {
    display: grid;
}

@media (max-width: 900px) {
    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        flex-direction: column;
    }

    .admin-topbar {
        flex-direction: column;

        align-items: flex-start;
    }

    .admin-content {
        padding: 20px;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }
}

.contact-form label {
    display: block;

    font-size: 10px;

    letter-spacing: .15em;

    color: #888;

    margin-top: 18px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 13px 15px;

    background: transparent;

    border: 1px solid #2c2c2c;

    color: #111;

    font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #85827c;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;

    border-color: #555;
}

.form-tag {
    position: relative;

    cursor: pointer;
}

.form-tag input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.form-tag span {
    display: inline-block;

    padding: 9px 16px;

    background: #111;

    border: 1px solid #111;

    border-radius: 999px;

    color: #f4f4f2;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

    transition: background .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .16s ease, transform .16s ease;
}

.form-tag:hover span,
.form-tag input:focus-visible + span,
.form-tag input:checked + span {
    background: linear-gradient(100deg, #f3d8e6, #f9e3cc 25%, #f4eec6 45%, #d9eddd 65%, #d5e6f5 85%, #e0d1f2);

    border-color: #eee6da;

    color: #26241f;

    box-shadow: 0 4px 16px rgba(38, 43, 34, .14);

    transform: translateY(-1px);
}

.form-tag input:checked + span {
    box-shadow: 0 0 0 2px #111 inset, 0 4px 16px rgba(38, 43, 34, .14);
}

.contact-success {
    margin-bottom: 20px;

    padding: 13px 16px;

    background: rgba(74, 222, 128, .1);

    border-left: 3px solid #16a34a;

    /* dark green on the pale-green wash — the old #a7f3c4 was almost the same
       lightness as the background, so the message was barely readable */
    color: #14532d;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-error {
    margin-bottom: 20px;

    padding: 13px 16px;

    background: rgba(225, 29, 72, .12);

    border-left: 3px solid #e11d48;

    /* dark red for the same reason — pale pink on pink was unreadable */
    color: #7f1d1d;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.insight-search {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    max-width: 300px;

    padding: 5px 5px 5px 14px;

    border: 1px solid #d5d5cf;

    border-radius: 999px;

    background: #fff;

    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.insight-search:focus-within {
    border-color: #111;

    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.insight-search svg {
    width: 15px;

    height: 15px;

    flex: 0 0 15px;

    color: #8b8b85;
}

.insight-search input {
    flex: 1;

    min-width: 0;

    padding: 6px 0;

    border: none;

    background: none;

    font-size: 13px;

    font-family: inherit;

    color: #111;
}

.insight-search input:focus {
    outline: none;
}

.insight-search input::placeholder {
    color: #9a9a94;
}

.insight-search button {
    flex: 0 0 auto;

    padding: 7px 14px;

    border: none;

    border-radius: 999px;

    background: #111;

    color: #fff;

    font-size: 11px;

    font-family: inherit;

    letter-spacing: 0.06em;

    cursor: pointer;

    transition: background 0.18s ease;
}

.insight-search button:hover {
    background: #333;
}

.filter-pills a {
    display: inline-block;

    margin: 4px 6px 4px 0;

    padding: 7px 18px;

    border: 1px solid #c9c9c3;

    border-radius: 999px;

    color: #555;

    font-size: 13px;

    transition: all 0.15s ease;
}

.filter-pills a:hover {
    border-color: #111;

    color: #111;
}

.filter-pills a.active {
    background: #111;

    border-color: #111;

    color: #fff;
}

.insight-empty {
    grid-column: 1 / -1;

    padding: 60px 20px;
}

.insight-empty h2 {
    font-size: 28px;

    margin: 0 0 10px;
}

.insight-empty a {
    text-decoration: underline;
}

.insight-thumb {
    display: block;

    margin-bottom: 18px;

    aspect-ratio: 16 / 10;

    overflow: hidden;
}

.insight-thumb img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition: transform 0.4s ease;
}

.insight-thumb:hover img {
    transform: scale(1.04);
}

.article-page {
    max-width: 860px;

    margin: 0 auto;

    padding: 100px 24px 80px;
}

.article-header h1 {
    font-size: clamp(40px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -0.04em;

    margin: 18px 0 20px;
}

.article-standfirst {
    font-size: 20px;

    line-height: 1.5;

    color: #555;

    max-width: 640px;
}

.article-meta {
    display: block;

    margin-top: 24px;

    color: #999;

    font-size: 12px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.article-banner {
    margin: 50px 0;
}

.article-banner img {
    width: 100%;

    max-height: 480px;

    object-fit: cover;

    display: block;
}

.article-body {
    font-size: 17px;

    line-height: 1.6;

    color: #222;
}

.article-body h2 {
    font-size: 32px;

    letter-spacing: -0.02em;

    margin: 48px 0 16px;
}

.article-body p {
    margin: 0 0 14px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 14px;

    padding-left: 24px;
}

.article-body blockquote {
    margin: 20px 0;

    padding: 8px 0 8px 24px;

    border-left: 3px solid #111;

    font-size: 20px;

    font-style: italic;

    color: #444;
}

.article-body a {
    text-decoration: underline;
}

.article-meta {
    display: flex;

    align-items: center;

    gap: 10px;
}

.article-author-img {
    width: 36px;

    height: 36px;

    border-radius: 50%;

    object-fit: cover;
}

.article-sources {
    margin-top: 56px;

    padding: 28px 30px;

    background: #efefe9;
}

.article-sources h3 {
    margin: 0 0 14px;

    font-size: 13px;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.article-sources ol {
    margin: 0;

    padding-left: 22px;
}

.article-sources li {
    margin-bottom: 8px;

    word-break: break-all;
}

.article-sources a {
    text-decoration: underline;

    color: #555;
}

.article-back {
    display: inline-block;

    margin-top: 48px;

    font-size: 14px;

    text-decoration: underline;
}

.admin-form .full-row {
    grid-column: 1 / -1;
}

.field-error {
    display: block;

    margin-top: 6px;

    color: #b03050;

    font-size: 12px;
}

.richtext {
    margin-top: 6px;

    border: 1px solid #ddd;

    background: #fff;
}

.richtext-toolbar {
    display: flex;

    flex-wrap: wrap;

    gap: 4px;

    padding: 8px;

    background: #f4f4f1;

    border-bottom: 1px solid #ddd;
}

.richtext-toolbar button {
    min-width: 34px;

    padding: 7px 9px;

    background: #fff;

    border: 1px solid #ddd;

    cursor: pointer;

    font-size: 13px;

    font-family: inherit;
}

.richtext-toolbar button:hover {
    background: #111;

    color: #fff;

    border-color: #111;
}

.rt-sep {
    width: 1px;

    background: #ddd;

    margin: 4px 4px;
}

.richtext-area {
    min-height: 220px;

    max-height: 480px;

    overflow-y: auto;

    padding: 16px;

    font-size: 15px;

    line-height: 1.7;

    outline: none;
}

.richtext-area:empty::before {
    content: attr(data-placeholder, 'Write the article body here...');

    color: #aaa;
}

.richtext-area:focus {
    box-shadow: inset 0 0 0 2px #1113;
}

.source-rows {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 6px;
}

.source-row {
    display: flex;

    gap: 8px;
}

.source-row input {
    margin-top: 0 !important;

    flex: 1;
}

.source-row .source-remove {
    flex-shrink: 0;
}

.admin-form .add-source {
    margin-top: 8px;

    align-self: start;
}

img.thumb {
    width: 72px;

    height: 54px;

    object-fit: cover;
    object-position: center;

    display: block;
    background: #e5e5df;
    border-radius: 6px;
}

img.thumb.large {
    width: 100%;

    max-width: 320px;

    height: auto;

    max-height: 140px;
}

.no-thumb {
    color: #bbb;
}

.admin-form.article-editor {
    background: #fff;

    padding: 24px;

    gap: 22px;
}

.admin-form.article-editor label {
    font-size: 13px;

    color: #222;
}

.article-title-input {
    font-size: 20px;

    padding: 12px 14px;

    font-weight: 600;
}

.slug-display {
    color: #777;

    background: #f4f4f1;

    cursor: not-allowed;
}

.slug-hint,
.slug-display + small {
    display: block;

    font-weight: 400;

    margin-top: 4px;

    color: #999;
}

.media-preview.is-existing {
    border-color: #bbb;
}

.admin-form.article-editor .editor-status {
    margin-top: 28px;

    font-size: 13px;
}

.media-upload-row {
    display: flex;

    gap: 18px;

    margin-top: 8px;

    align-items: flex-start;
}

.media-preview {
    width: 220px;

    height: 140px;

    object-fit: cover;

    background: #f4f4f1;

    border: 1px solid #ddd;

    flex-shrink: 0;
}

.media-pick {
    flex: 1;

    min-width: 0;
}

.media-pick input[type="file"] {
    width: 100%;
}

@media (max-width: 700px) {
    .media-upload-row {
        flex-direction: column;
    }

    .media-preview {
        width: 100%;

        height: 180px;
    }
}

.recrop-btn {
    margin-top: 10px;
}

.crop-modal {
    width: min(860px, 94vw);

    max-height: 92vh;

    padding: 0;

    border: 1px solid #222;

    border-radius: 16px;

    background: #fff;

    overflow: auto;
}

.crop-modal::backdrop {
    background: rgba(9, 9, 9, .62);
}

.crop-modal-inner {
    display: block;

    padding: 22px 24px 20px;
}

.crop-modal-head h3 {
    margin: 0;

    font-size: 18px;

    letter-spacing: -.3px;
}

.crop-modal-head p {
    margin: 6px 0 16px;

    font-size: 12.5px;

    line-height: 1.5;

    color: #777;
}

.crop-stage-wrap {
    width: 100%;

    display: flex;

    justify-content: center;

    padding: 4px 0 18px;
}

.crop-stage {
    position: relative;

    max-width: 100%;

    background: #111;

    border-radius: 10px;

    overflow: hidden;

    cursor: grab;

    touch-action: none;
}

.crop-stage:active {
    cursor: grabbing;
}

.crop-stage canvas {
    display: block;

    width: 100%;

    height: 100%;
}

.crop-controls {
    display: flex;

    align-items: center;

    gap: 14px;

    font-size: 12px;

    font-weight: 600;

    color: #555;
}

.crop-controls input[type="range"] {
    flex: 1;
}

.crop-modal-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}

.crop-modal-actions .crop-spacer {
    flex: 1;
}

.crop-modal-actions .btn-primary {
    padding: 9px 20px;
}

.market-cat-page {
    padding: 60px 5.5% 100px;
}

.market-back {
    display: inline-block;

    margin-bottom: 24px;

    font-size: 13px;

    letter-spacing: .1em;

    text-transform: uppercase;

    text-decoration: none;

    color: #555;
}

.market-back:hover {
    color: #000;
}

.market-cat-head h1 {
    font-size: clamp(34px, 5vw, 56px);

    letter-spacing: -0.02em;

    margin: 0 0 8px;
}

.market-cat-tagline {
    color: #666;

    font-size: 15px;

    margin: 0 0 8px;
}

.market-sub-grid {
    margin-top: 40px;

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

    border-top: 1px solid #c7c7c1;

    border-left: 1px solid #c7c7c1;
}

.market-sub-card {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 28px 24px;

    border-right: 1px solid #c7c7c1;

    border-bottom: 1px solid #c7c7c1;

    text-decoration: none;

    color: inherit;

    background: transparent;

    transition: background .15s;
}

.market-sub-card:hover {
    background: #ecece6;
}

.market-sub-card small {
    color: #999;

    font-size: 11px;

    letter-spacing: .12em;
}

.market-sub-card h2 {
    font-size: 19px;

    margin: 0;
}

.market-sub-count {
    font-size: 12px;

    color: #888;

    margin-top: auto;
}

.market-business-list {
    margin-top: 36px;

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.market-business-card {
    display: flex;

    gap: 22px;

    padding: 18px;

    border: 1px solid #c7c7c1;

    background: #fff;

    text-decoration: none;

    color: inherit;

    transition: background .15s;
}

.market-business-card:hover {
    background: #f4f4ef;
}

.market-business-img {
    width: 210px;

    flex-shrink: 0;
}

.market-business-img img {
    width: 100%;

    height: 140px;

    object-fit: cover;

    display: block;
}

.market-business-info {
    flex: 1;

    min-width: 0;
}

.market-business-info h2 {
    font-size: 22px;

    margin: 0 0 8px;

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}

.market-business-info p {
    margin: 0 0 10px;

    color: #555;

    font-size: 14px;

    line-height: 1.6;
}

.market-business-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    font-size: 12px;

    letter-spacing: .06em;

    text-transform: uppercase;

    color: #888;
}

.market-business-meta a {
    color: #444;
}

.market-view {
    display: inline-block;

    margin-top: 12px;

    font-size: 13px;

    text-decoration: underline;
}

.market-badge {
    font-size: 10px;

    letter-spacing: .1em;

    text-transform: uppercase;

    padding: 3px 8px;

    border: 1px solid #111;
}

.market-badge.verified {
    background: #111;

    color: #fff;
}

.market-badge.featured {
    background: transparent;

    color: #111;
}

.market-biz-header {
    display: flex;

    gap: 22px;

    align-items: center;

    margin-bottom: 22px;
}

.market-biz-logo {
    width: 84px;

    height: 84px;

    object-fit: cover;

    border: 1px solid #c7c7c1;

    flex-shrink: 0;
}

.market-biz-cover {
    width: 100%;

    max-height: 380px;

    object-fit: cover;

    margin: 20px 0;
}

.market-section {
    margin-top: 56px;
}

.market-item-grid {
    margin-top: 20px;

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 16px;
}

.market-item-card {
    border: 1px solid #c7c7c1;

    background: #fff;

    padding: 22px;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.market-item-card small {
    color: #999;

    font-size: 11px;

    letter-spacing: .12em;
}

.market-item-card h3 {
    font-size: 17px;

    margin: 0;
}

.market-item-card p {
    font-size: 13px;

    color: #666;

    line-height: 1.6;

    margin: 0;
}

.market-price {
    margin-top: auto;

    font-size: 16px;

    font-weight: 600;

    display: flex;

    align-items: baseline;

    gap: 8px;
}

.market-price small {
    font-weight: 400;

    color: #888;

    font-size: 12px;
}

.market-duration {
    font-size: 11px;

    font-weight: 400;

    color: #888;

    letter-spacing: .06em;
}

.market-empty {
    margin-top: 40px;

    color: #777;

    font-size: 15px;
}

@media (max-width: 760px) {
    .market-business-card {
        flex-direction: column;
    }

    .market-business-img {
        width: 100%;
    }

    .market-biz-header {
        flex-direction: column;

        align-items: flex-start;
    }
}

.barber-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 80px 5.5% 60px;
    align-items: center;
}

.barber-label {
    display: inline-block;
    padding: 6px 14px;
    background: #e9c94a;
    color: #111;
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.barber-hero-copy h1 {
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 400;
    margin: 28px 0 24px;
}

.barber-hero-copy h1 span { color: #777; }

.barber-hero-copy p {
    max-width: 420px;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}

.barber-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 28px;
    border: 1px solid #111;
    color: #111;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.barber-cta:hover { background: #111; color: #fff; }

.barber-cta.solid { background: #111; color: #fff; }
.barber-cta.solid:hover { background: #e9c94a; color: #111; border-color: #e9c94a; }

.barber-hero-photo {
    position: relative;
    border: 1px solid #c7c7c1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.barber-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.barber-hero-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,0.92);
    padding: 10px 16px;
    border: 1px solid #ddd;
}

.barber-hero-city { font-weight: 600; font-size: 14px; }
.barber-hero-count { color: #777; font-size: 13px; }

.barber-step { padding: 60px 5.5%; }

.barber-step-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.barber-step-head h2 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.03em;
    font-weight: 400;
    margin: 16px 0 0;
}

.barber-showall {
    font-size: 14px;
    text-decoration: underline;
    color: #111;
}

.barber-step-sub { color: #777; margin: 10px 0 0; font-size: 15px; }

.barber-loc { text-align: right; }
.barber-loc small { display: block; color: #999; letter-spacing: 0.15em; font-size: 11px; }
.barber-loc strong { font-size: 20px; font-weight: 600; }

.barber-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.barber-service-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border: 1px solid #c7c7c1;
    background: #fff;
    text-decoration: none;
    color: #111;
    transition: background 0.2s ease, color 0.2s ease;
}

.barber-service-card small { color: #999; font-size: 12px; }
.barber-service-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.barber-service-card p { color: #777; font-size: 14px; margin: 0; flex: 1; }

.barber-price { font-size: 15px; font-weight: 600; }

.barber-service-card:hover { background: #f4f4ef; }

.barber-service-card.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.barber-service-card.active small,
.barber-service-card.active p { color: #bbb; }

.barber-service-card.static { pointer-events: none; }

.barber-list { display: flex; flex-direction: column; gap: 24px; }

.barber-card {
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    border: 1px solid #c7c7c1;
    background: #fff;
}

.barber-card-photo { border-right: 1px solid #e5e5e0; overflow: hidden; }
.barber-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.barber-card-main { padding: 26px; display: flex; flex-direction: column; gap: 12px; }

.barber-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.barber-card-top h3 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }

.barber-rating { font-weight: 600; white-space: nowrap; }
.barber-rating.big { font-size: 24px; }

.barber-card-meta { display: flex; gap: 20px; color: #777; font-size: 14px; }

.barber-card-services { display: flex; flex-wrap: wrap; gap: 8px; }

.barber-card-services span {
    padding: 5px 12px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #555;
}

.barber-view { margin-top: auto; font-size: 14px; color: #111; text-decoration: underline; }

.barber-card-portfolio {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-left: 1px solid #e5e5e0;
}

.barber-portfolio-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.barber-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.barber-portfolio-thumb span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}

.barber-empty { padding: 40px; border: 1px solid #c7c7c1; color: #555; }
.barber-empty a { text-decoration: underline; }

.barber-profile { padding: 60px 5.5% 80px; }

.barber-back { display: inline-block; margin-bottom: 30px; font-size: 14px; color: #111; text-decoration: underline; }

.barber-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.barber-profile-photo { border: 1px solid #c7c7c1; aspect-ratio: 4/3; overflow: hidden; }
.barber-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.barber-profile-info h1 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.03em;
    font-weight: 400;
    margin: 20px 0;
}

.barber-profile-stats { display: flex; gap: 16px; align-items: baseline; color: #777; font-size: 14px; }

.barber-profile-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.barber-profile-meta small { display: block; color: #999; font-size: 11px; letter-spacing: 0.12em; margin-bottom: 4px; }
.barber-profile-meta strong { font-size: 15px; font-weight: 600; }
.barber-profile-meta strong.ok { color: #1f7a3d; }
.barber-profile-meta strong.off { color: #b03050; }

.barber-profile-section { margin-top: 70px; }

.barber-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.barber-portfolio-card { margin: 0; border: 1px solid #c7c7c1; }
.barber-portfolio-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.barber-portfolio-card figcaption { padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.barber-portfolio-card figcaption strong { font-size: 15px; }
.barber-portfolio-card figcaption span { color: #999; font-size: 12px; }

.barber-book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.barber-book-hours, .barber-book-cta {
    border: 1px solid #c7c7c1;
    padding: 28px;
    background: #fff;
}

.barber-book-hours h3 { margin: 0 0 16px; font-size: 18px; }

.barber-book-hours ul { list-style: none; margin: 0; padding: 0; }
.barber-book-hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.barber-book-hours li:last-child { border-bottom: none; }

.barber-book-cta p { color: #555; font-size: 15px; line-height: 1.6; }
.barber-book-cta .barber-cta { margin: 0 12px 12px 0; }

@media (max-width: 980px) {
    .barber-hero { grid-template-columns: 1fr; padding-top: 50px; }
    .barber-service-grid { grid-template-columns: repeat(2, 1fr); }
    .barber-card { grid-template-columns: 1fr; }
    .barber-card-photo { border-right: none; border-bottom: 1px solid #e5e5e0; aspect-ratio: 16/9; }
    .barber-card-portfolio { border-left: none; border-top: 1px solid #e5e5e0; flex-direction: row; }
    .barber-card-portfolio .barber-portfolio-thumb { flex: 1; }
    .barber-profile-grid { grid-template-columns: 1fr; }
    .barber-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .barber-book { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .barber-service-grid { grid-template-columns: 1fr; }
    .barber-portfolio-grid { grid-template-columns: 1fr; }
    .barber-profile-meta { grid-template-columns: 1fr 1fr; }
    .barber-step-head { align-items: flex-start; }
    .barber-loc { text-align: left; }
}

.sd-body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 240px 1fr;
    background: #f6f6f2;
    font-family: 'Inter', Arial, sans-serif;
    color: #111;
}

.sd-burger { display: none; }

.sd-sidebar {
    background: #0d0d0d;
    color: #fff;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sd-brand { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.sd-brand span { color: #e9c94a; }

.sd-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.sd-nav a {
    padding: 11px 14px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sd-nav a:hover { color: #fff; background: #1c1c1c; }
.sd-nav a.active { color: #111; background: #e9c94a; font-weight: 600; }

.sd-bottom { color: #999; font-size: 13px; text-decoration: underline; }

.sd-main { display: flex; flex-direction: column; min-width: 0; }

.sd-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
    background: #fff;
    border-bottom: 1px solid #e5e5e0;
    flex-wrap: wrap;
}

.sd-topbar-left { display: flex; align-items: center; gap: 14px; }
.sd-topbar-name { font-weight: 600; font-size: 15px; }
.sd-topbar-right { display: flex; align-items: center; gap: 16px; }
.sd-topbar-link { color: #111; font-size: 13px; text-decoration: underline; }

.sd-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.sd-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sd-status.open { color: #1f7a3d; background: #e6f4ea; }
.sd-status.closed { color: #b03050; background: #fbe4ea; }

.sd-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.sd-content { padding: 32px; }

.sd-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.sd-date { display: block; color: #999; letter-spacing: 0.12em; font-size: 11px; margin-bottom: 10px; }
.sd-head h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; margin: 0; line-height: 1.05; }
.sd-head h1 span { color: #777; }
.sd-sub { color: #777; font-size: 15px; margin: 8px 0 0; max-width: 460px; }

.sd-pill {
    padding: 12px 24px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
}

.sd-pill:hover { background: #333; }

.sd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.sd-stat {
    background: #fff;
    border: 1px solid #e5e5e0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sd-stat small { color: #999; font-size: 11px; letter-spacing: 0.12em; }
.sd-stat strong { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.sd-stat span { color: #777; font-size: 13px; }

.sd-panel { background: #fff; border: 1px solid #e5e5e0; padding: 28px; margin-bottom: 28px; }

.sd-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sd-label { display: block; color: #999; letter-spacing: 0.12em; font-size: 11px; margin-bottom: 6px; }
.sd-panel-head h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.sd-panel-link { color: #111; font-size: 13px; text-decoration: underline; }

.sd-rows { display: flex; flex-direction: column; }

.sd-row {
    display: grid;
    grid-template-columns: 80px 1.2fr 1fr 80px auto;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.sd-row:last-child { border-bottom: none; }
.sd-row-time { font-weight: 600; }
.sd-row-name { font-weight: 500; }
.sd-row-service { color: #777; font-size: 14px; }
.sd-row-price { font-weight: 600; }
.sd-row-actions { display: flex; gap: 8px; justify-content: flex-end; }

.sd-mini {
    padding: 8px 16px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

.sd-mini.ghost { background: transparent; color: #111; border: 1px solid #ddd; }
.sd-mini.ghost:hover { border-color: #111; }

.sd-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.sd-badge.upcoming { background: #fdf3d7; color: #8a6d1a; }
.sd-badge.done { background: #e6f4ea; color: #1f7a3d; }
.sd-badge.closed { background: #eee; color: #777; }

.sd-table-wrap { overflow-x: auto; }

.sd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sd-table th { text-align: left; padding: 10px 12px; color: #999; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid #eee; }
.sd-table td { padding: 14px 12px; border-bottom: 1px solid #eee; }
.sd-table tr:last-child td { border-bottom: none; }

.sd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sd-card { margin: 0; background: #fff; border: 1px solid #e5e5e0; }
.sd-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.sd-card figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.sd-card figcaption strong { font-size: 15px; }
.sd-card figcaption span { color: #999; font-size: 12px; }

@media (max-width: 900px) {
    .sd-body { grid-template-columns: 1fr; }

    .sd-burger {
        display: grid;
        place-items: center;
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 60;
        width: 44px;
        height: 44px;
        background: #111;
        color: #fff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }

    .sd-burger svg {
        width: 20px;
        height: 20px;
    }

    .sd-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 250px;
        z-index: 50;
        padding-top: 80px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sd-nav-open .sd-sidebar { transform: translateX(0); }

    .sd-topbar { padding-left: 70px; }

    .sd-stats { grid-template-columns: 1fr; }

    .sd-row { grid-template-columns: 60px 1fr auto; }
    .sd-row-service { display: none; }

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

@media (max-width: 560px) {
    .sd-content { padding: 20px 16px; }
    .sd-gallery { grid-template-columns: 1fr; }
    .sd-row { grid-template-columns: 1fr auto; }
    .sd-row-time { display: none; }
}

.auth-note {
    margin: -10px 0 20px;
    padding: 12px 14px;
    background: #1d1d1d;
    border-left: 2px solid #e9c94a;
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
}

.market-photo-btn {
    position: absolute;
    left: 40px;
    bottom: 130px;
    z-index: 3;
    padding: 12px 22px;
    background: #e9c94a;
    color: #111;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.market-photo-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

.nav-auth-form {
    display: inline-flex;
    margin: 0;
}

.nav-auth {
    color: #f4f4f2;
    border: 1px solid #3a3a3a;
    padding: 9px 16px;
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-auth:hover {
    border-color: #e9c94a;
    background: #1a1a1a;
}

.market-auth {
    display: flex;
    gap: 10px;
    align-items: center;
}

.market-auth-btn {
    padding: 9px 18px;
    border: 1px solid #fff;
    background: #fff;
    color: #111;
    font-size: 13px;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.market-auth-btn:hover { background: #e9c94a; border-color: #e9c94a; color: #111; }

.market-auth-btn.ghost { background: transparent; color: #fff; border-color: #555; }
.market-auth-btn.ghost:hover { background: #fff; color: #111; border-color: #fff; }

.nav-auth-form { margin: 0; }

.account-menu {
    position: relative;
    flex-shrink: 0;
}

.site-nav .account-menu {
    margin-left: 12px;
}

.account-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s ease;
}

.account-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #f4f4f2;
    transition: transform .2s ease, opacity .2s ease;
}

.account-burger:hover { border-color: #e9c94a; }

.account-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.account-burger.open span:nth-child(2) { opacity: 0; }
.account-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.account-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 60;
    width: 240px;
    background: #111;
    border: 1px solid #2c2c2c;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid #2c2c2c;
}

.account-header.guest small { color: #777; font-size: 10px; letter-spacing: .15em; }

.account-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9c94a;
    color: #111;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.account-who { display: flex; flex-direction: column; min-width: 0; }
.account-who strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-who small { color: #777; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.account-links {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
}

.account-links a {
    padding: 10px 14px;
    color: #c9c9c9;
    font-size: 14px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.account-links a:hover { background: #1c1c1c; color: #fff; }

.account-logout {
    display: block;
    width: calc(100% - 28px);
    margin: 10px 14px 14px;
    padding: 10px;
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #c9c9c9;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.account-logout:hover { background: #e11d48; border-color: #e11d48; color: #fff; }

.account-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    background: #f6f6f4;
    min-height: 70vh;
}

.account-head small { display: block; color: #888; font-size: 11px; margin-bottom: 12px; }
.account-head h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 400; letter-spacing: -.03em; margin: 0 0 40px; }

.account-alert {
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #e6f4ea;
    border-left: 3px solid #2e7451;
    color: #1f5c3d;
    font-size: 14px;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.account-panel { background: #fff; border: 1px solid #e2e2dc; padding: 28px; }
.account-panel h2 { margin: 0 0 20px; font-size: 20px; font-weight: 600; }

.account-form label {
    display: block;
    font-size: 10px;
    letter-spacing: .15em;
    color: #888;
    margin-bottom: 16px;
}

.account-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 13px;
    border: 1px solid #d5d5cf;
    font-size: 14px;
    font-family: inherit;
}

.account-form input:focus { outline: none; border-color: #111; }

.account-btn {
    padding: 11px 22px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 13px;
    cursor: pointer;
}

.account-btn:hover { background: #333; }

.account-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #fbe4ea;
    border-left: 3px solid #e11d48;
    color: #9f315a;
    font-size: 13px;
}

.account-back { display: inline-block; margin-top: 32px; color: #555; font-size: 14px; }
.account-back:hover { color: #111; }

.account-empty {
    padding: 60px 30px;
    background: #fff;
    border: 1px solid #e2e2dc;
    text-align: center;
    color: #666;
}

.account-empty a { color: #111; text-decoration: underline; }

.account-bookings { display: flex; flex-direction: column; gap: 12px; }

.account-booking {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #e2e2dc;
}

.ab-date {
    text-align: center;
    min-width: 64px;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.ab-date strong { display: block; font-size: 18px; }
.ab-date span { color: #999; font-size: 12px; }

.ab-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ab-main strong { font-size: 16px; }
.ab-main span { color: #777; font-size: 13px; }

.ab-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ab-price { font-weight: 600; }

.ab-status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eee;
    color: #555;
}

.ab-status.upcoming { background: #fdf3d7; color: #8a6d1a; }
.ab-status.done { background: #e6f4ea; color: #1f5c3d; }
.ab-status.cancelled { background: #fbe4ea; color: #9f315a; }

/* marketplace service booking requests */
.ab-status.pending { background: #fdf3d7; color: #8a6d1a; }
.ab-status.confirmed { background: #e6f4ea; color: #1f5c3d; }

@media (max-width: 700px) {
    .account-grid { grid-template-columns: 1fr; }
    .account-booking { flex-wrap: wrap; }
}

.range-pair { display: flex; gap: 8px; }
.range-pair input { width: 100%; }

.service-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 14px;
    margin-top: 6px;
}

.portfolio-form { margin-top: 14px; border-top: 1px dashed #ddd; padding-top: 14px; }

.portfolio-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.portfolio-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #e5e5e0;
    background: #fbfbf9;
    font-size: 13px;
}

.portfolio-strip-item img { width: 46px; height: 34px; object-fit: cover; display: block; }

.sd-pill.as-label { cursor: default; }

.sd-empty { color: #999; font-size: 14px; padding: 10px 0; }

.sd-inline, .sd-inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }

.sd-price-input { width: 80px; padding: 6px 8px; border: 1px solid #ddd; font-size: 13px; }

.sd-add-work {
    display: none;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sd-add-work.open { display: flex; }

.sd-add-work input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 1px solid #ddd;
}

.sd-add-work input[type="file"] { font-size: 13px; }

.sd-card { position: relative; }

.sd-card-del {
    position: absolute;
    top: 10px;
    right: 10px;
}

.sd-card-del button {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.availability-row { grid-template-columns: 110px 1fr auto; }

.availability-fields { display: inline-flex; align-items: center; gap: 8px; }

.availability-fields input[type="time"] {
    padding: 6px 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    font-family: inherit;
}

.avail-closed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.availability-row.is-closed .availability-fields input[type="time"],
.availability-row.is-closed .availability-fields span { opacity: .35; }

.barber-book-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    max-width: 380px;
}

.barber-book-form input,
.barber-book-form select {
    padding: 12px 14px;
    border: 1px solid #2c2c2c;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-family: inherit;
}

.barber-book-form input:focus,
.barber-book-form select:focus { outline: none; border-color: #111; }

.barber-book-success {
    padding: 12px 14px;
    background: #e6f4ea;
    border-left: 3px solid #2e7451;
    color: #1f5c3d;
    font-size: 14px;
}

.barber-book-error {
    padding: 12px 14px;
    background: #fbe4ea;
    border-left: 3px solid #e11d48;
    color: #9f315a;
    font-size: 14px;
}

.barber-book-closed { color: #9f315a; font-size: 14px; }

body.market-page {
    --cream: #d8d8d2;
}

.market-photo img {
    filter: brightness(.92);
}

.admin-table img.thumb { display: inline-block; vertical-align: middle; margin-right: 10px; }

.account-avatar-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.account-form small {
    display: block;
    color: #70706d;
    font-size: 11px;
    margin-top: 3px;
}

.account-panel .img-preview { border-color: #c9c9c4; }

.dash-panel-hint {
    margin: -8px 0 20px;
    color: #6b6b66;
    font-size: 13px;
    line-height: 1.6;
}

.dash-card-value--sm {
    font-size: 18px;
    word-break: break-word;
}

.dash-form label { display: block; margin-bottom: 18px; }
.dash-form label small {
    display: block;
    margin-top: 5px;
    color: #70706d;
    font-size: 11.5px;
    line-height: 1.5;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 18px;
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.account-avatar-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.account-avatar-row .img-preview { border-color: #c9c9c4; }

.account-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid #e2e2dc;
    border-radius: 10px;
    background: #fafaf7;
    margin-bottom: 20px;
}

.account-toggle-copy strong { display: block; font-size: 14px; color: #111; margin-bottom: 4px; }
.account-toggle-copy p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #6b6b66; max-width: 60ch; }

.account-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}
.account-switch input { position: absolute; opacity: 0; width: 0; height: 0; }

.account-switch-track {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d3d3cd;
    transition: background .18s ease;
    flex: none;
}

.account-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: transform .18s ease;
}

.account-switch input:checked + .account-switch-track { background: #157347; }
.account-switch input:checked + .account-switch-track .account-switch-thumb { transform: translateX(20px); }
.account-switch input:focus-visible + .account-switch-track { outline: 2px solid #111; outline-offset: 2px; }

.account-switch-text { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #666; }
.account-switch input:checked ~ .account-switch-text { color: #157347; }

.dash-content .dash-panel[id] { scroll-margin-top: 90px; }

.action-menu {
    position: relative;
    display: inline-flex;
}
.action-menu-trigger {
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #55554f;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, border-color .15s ease;
}
.action-menu-trigger:hover {
    background: #ecece6;
    border-color: #c9c9c4;
}
.action-menu-trigger:focus-visible {
    outline: 2px solid #111;
    outline-offset: 1px;
}

.action-menu-pop {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 60;
    min-width: 150px;
    background: #fff;
    border: 1px solid #c9c9c4;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(9, 9, 9, .14);
    padding: 6px;
    display: flex;
    flex-direction: column;
}

.action-menu-pop[hidden] {
    display: none;
}

.action-menu.menu-up .action-menu-pop {
    top: auto;
    bottom: calc(100% + 6px);
}

.action-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.action-menu-item:hover {
    background: #f0f0ea;
}
.action-menu-item:focus-visible {
    outline: 2px solid #111;
    outline-offset: -2px;
}
.action-menu-item.danger {
    color: #b00;
}
.action-menu-item.accent {
    color: #0a7d33;
    font-weight: 600;
}

.action-menu-form { display: contents; }

.admin-table,
.dash-table,
.bs-dash-list,
.svc-manage-list {
    overflow: visible;
}
.actions-cell { text-align: right; white-space: nowrap; }

@media (max-width: 640px) {
    .action-menu-pop {
        min-width: 140px;
    }
}

.bs-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bs-dash-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--buai-border, #e4e5dc);
    border-radius: var(--buai-radius-md, 16px);
    background: var(--buai-surface, #fffefa);
    box-shadow: 0 4px 16px rgba(38, 43, 34, .06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.bs-dash-card.is-menu-open { z-index: 5; }
.bs-dash-card:hover { border-color: #d6e1d1; box-shadow: 0 10px 28px rgba(38, 43, 34, .10); transform: translateY(-2px); }
.bs-dash-card.is-boosted { border-color: #e8d4a4; }
.bs-dash-card.is-going { opacity: 0; transform: translateY(-4px); pointer-events: none; }

.bs-dash-card-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: calc(var(--buai-radius-md, 16px) - 1px) calc(var(--buai-radius-md, 16px) - 1px) 0 0;
    background: #f1f2eb;
}
.bs-dash-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fffefa; }
.bs-dash-card-photo .bs-dash-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 12px; font-weight: 700; color: #8b8d84; }
.bs-dash-card.is-sold .bs-dash-card-photo img { filter: grayscale(.85) opacity(.55); }

.bs-dash-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bs-dash-card-save {
    position: absolute; top: 10px; right: 10px;
    display: grid; place-items: center;
    width: 30px; height: 30px; padding: 0;
    border: 1px solid rgba(17, 19, 16, .12);
    border-radius: 999px;
    background: rgba(255, 254, 250, .94);
    color: #111;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(35, 38, 32, .10);
}
.bs-dash-card-save svg { width: 15px; height: 15px; }
.bs-dash-card-save.is-on { color: #b02a2a; border-color: #e6c7c3; }

.bs-dash-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; padding: 14px 15px 16px; }
.bs-dash-card-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    color: var(--buai-text, #252923);
}
.bs-dash-card-title a { color: inherit; text-decoration: none; }
.bs-dash-card-title a:hover { text-decoration: underline; }
.bs-dash-card-price { margin: 0; color: #14150f; font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.bs-dash-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; color: var(--buai-muted, #73776f); font-size: 11.5px; line-height: 1.5; }
.bs-dash-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.bs-dash-card-actions form { margin: 0; }
.bs-dash-card-actions .action-menu { margin-left: auto; }
.bs-dash-card-actions .action-menu-trigger { width: 32px; height: 32px; border-color: var(--buai-border, #e4e5dc); background: #fffefa; }

.bs-dash-card .dash-btn { padding: 7px 13px; border-radius: 999px; background: #111; border-color: #111; color: #f4f4f2; font-size: 12.5px; }
.bs-dash-card .dash-btn.ghost { background: #fffefa; border-color: #111; color: #111; }
.bs-dash-card .dash-btn.danger { background: #fffefa; border-color: #b02a2a; color: #b02a2a; }

@media (max-width: 560px) {
    .bs-dash-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .bs-dash-card-body { padding: 11px 12px 13px; }
    .bs-dash-card-price { font-size: 15px; }
    .bs-dash-card .dash-btn { padding: 6px 10px; font-size: 11.5px; }
}

.bs-dash-grid--wide { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.bs-dash-card-link { color: inherit; text-decoration: none; }
.bs-dash-card-link:hover .bs-dash-card-title a { text-decoration: underline; }

.bs-dash-card-actions .dash-btn { padding: 7px 13px; border-radius: 999px; background: #111; border-color: #111; color: #f4f4f2; font-size: 12.5px; }
.bs-dash-card-actions .dash-btn.ghost { background: #fffefa; border-color: #111; color: #111; }
.bs-dash-card-actions .dash-btn.danger { background: #fffefa; border-color: #b02a2a; color: #b02a2a; }

.bs-dash-card:has(.svc-edit:not([hidden])) {
    grid-column: 1 / -1;
}
.bs-dash-card .svc-edit { margin: 0; }
.bs-dash-card .svc-edit[hidden] { display: none; }
.bs-dash-card .svc-edit form.df-form {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.bs-dash-card .svc-edit .df-card {
    border: 1px solid var(--buai-border, #e4e5dc);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fffefa;
}
.bs-dash-card .svc-edit .df-actions {
    padding: 4px 0 2px;
}

.bs-dash-card-comment { margin: 0; color: var(--buai-text, #252923); font-size: 13px; line-height: 1.55; }
.bs-dash-card-stars { color: #b8860b; font-size: 13px; letter-spacing: .08em; }

.bs-dash-month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bs-dash-month {
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--buai-border, #e4e5dc);
    border-radius: var(--buai-radius-md, 16px);
    background: var(--buai-surface, #fffefa);
}
.bs-dash-month small { color: var(--buai-muted, #73776f); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.bs-dash-month strong { color: #14150f; font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.bs-dash-month span { color: var(--buai-muted, #73776f); font-size: 12px; }

@media (max-width: 560px) {
    .bs-dash-grid--wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .bs-dash-card-actions .dash-btn { padding: 6px 10px; font-size: 11.5px; }
}

.admin-body img.thumb {
    width: 96px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e5df;
    object-fit: contain;
    object-position: center;
    display: block;
}

.admin-body div[style*="width:80px"] {
    width: 96px !important;
    height: 72px !important;
    background: #e5e5df;
    border-radius: 8px;
    overflow: hidden;
}
.admin-body div[style*="width:80px"] img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}

@media (max-width: 900px) {
    .admin-body img.thumb { width: 80px; height: 60px; }
}
@media (max-width: 640px) {
    .admin-body img.thumb { width: 72px; height: 54px; }
}

.admin-body { background: var(--buai-page, #f6f5ef); color: var(--buai-text, #252923); }
.admin-sidebar { background: #263126; }
.admin-nav a.active { border-left-color: #a9be9b; background: rgba(255,255,255,.09); }
.admin-nav a:hover { background: rgba(255,255,255,.08); }
.admin-main { background: var(--buai-page, #f6f5ef); }
.admin-topbar { background: var(--buai-surface, #fffefa); border-bottom-color: var(--buai-border, #e4e5dc); }
.admin-panel,
.admin-content .admin-alert,
.admin-content .admin-form:not(.collapsible) { border-radius: var(--buai-radius-md, 16px); }
.admin-panel { background: var(--buai-surface, #fffefa); border: 1px solid var(--buai-border, #e4e5dc); box-shadow: var(--buai-shadow-sm, 0 4px 16px rgba(38,43,34,.06)); }
.admin-table { border-color: var(--buai-border, #e4e5dc); }
.admin-table th { background: var(--buai-surface-soft, #f1f2eb); }
.admin-table th,
.admin-table td { border-bottom-color: var(--buai-border, #e4e5dc); }
.admin-form input:not([type="checkbox"]),
.admin-form textarea,
.admin-form select { border-color: var(--buai-border, #e4e5dc); border-radius: var(--buai-radius-sm, 10px); }
.admin-body :focus-visible { outline: 3px solid rgba(83,108,74,.42); outline-offset: 2px; }

.admin-menu-toggle { display: none; }
.admin-welcome { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:26px 30px;border:1px solid var(--buai-border);border-radius:var(--buai-radius-lg);background:linear-gradient(120deg,#fffefa 0%,#f2f4ec 100%); }
.admin-welcome small { color:var(--buai-brand-strong);font-weight:700;letter-spacing:.12em; }
.admin-welcome h1 { margin:8px 0 5px;font-size:clamp(22px,3vw,30px);letter-spacing:-.04em; }
.admin-welcome p,.admin-panel-head small { margin:0;color:var(--buai-muted);font-size:13px; }
.admin-welcome .btn-primary { display:inline-flex;align-items:center;gap:10px;border-radius:var(--buai-radius-sm);background:var(--buai-brand-strong);white-space:nowrap; }
.admin-welcome .btn-primary span { display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:99px;background:#fff;color:var(--buai-brand-strong);font-weight:700; }
.stat-grid { grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;margin-bottom:18px; }
.stat-card { min-height:142px;padding:20px;border-radius:var(--buai-radius-md);box-shadow:var(--buai-shadow-sm); }
.stat-card strong { margin:14px 0 5px;font-size:34px; }
.stat-card.pastel-pink { background:#fff7f8; }.stat-card.pastel-mint { background:#f2f8f1; }.stat-card.pastel-blue { background:#f2f8fc; }
.stat-card.pastel-peach { background:#fff7f1; }.stat-card.pastel-lilac { background:#f8f5fc; }.stat-card.pastel-yellow { background:#fffbee; }
.stat-card:hover { border-color:#d9e4d3;box-shadow:var(--buai-shadow-md); }
.admin-dashboard-grid { display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;align-items:stretch; }
.admin-chart-panel,.admin-status-panel { min-width:0;margin-bottom:18px;padding:22px; }
.admin-panel-head>div { display:grid;gap:4px; }
.admin-panel-head a { color:var(--buai-brand-strong);font-weight:650;font-size:13px; }

.admin-panel-head a.btn-primary,
.admin-panel-head .btn-primary { color:#fff; }
.admin-bars,.dash-chart-bars { display:flex;align-items:stretch;gap:clamp(8px,2vw,20px);min-height:190px;padding:18px 8px 4px;overflow-x:auto; }
.admin-bar-item,.dash-chart-bar { display:flex;flex:1 0 44px;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-width:44px;color:var(--buai-muted);font-size:11px; }
.admin-bar-item>strong,.dash-chart-bar>strong { color:var(--buai-text);font-size:12px; }
.admin-bar-track,.dash-chart-track { display:flex;align-items:flex-end;width:min(100%,36px);height:126px;overflow:hidden;border-radius:99px;background:#f0f1ed; }
.admin-bar-track span,.dash-chart-track span { display:block;width:100%;min-height:5px;border-radius:99px 99px 4px 4px;transition:height .3s ease; }
.bar-lavender { background:linear-gradient(180deg,#d9c8f0,#b9a3df); }
.chart-mint { background:linear-gradient(180deg,#c6e5c3,#87b988); }.chart-blue { background:linear-gradient(180deg,#c7e2f4,#89badb); }
.admin-bar-item small,.dash-chart-bar small { white-space:nowrap; }
.status-chart-group { margin-top:20px; }.status-chart-title { display:flex;justify-content:space-between;gap:10px;font-size:13px; }.status-chart-title span { color:var(--buai-muted); }
.status-chart-track,.dash-status-track { display:flex;height:10px;gap:2px;margin:10px 0;border-radius:99px;overflow:hidden;background:#f0f1ed; }
.status-segment,.dash-status-track span { display:block;min-width:3px;border-radius:99px; }
.status-pending,.status-new,.status-dot.status-pending { background:#f3d88a; }.status-approved,.status-available,.status-dot.status-approved,.status-dot.status-available { background:#a9d2a5; }
.status-rejected,.status-sold,.status-closed,.status-dot.status-rejected,.status-dot.status-sold,.status-dot.status-closed { background:#e9b8c2; }
.status-reserved,.status-responded,.status-dot.status-reserved,.status-dot.status-responded { background:#a9cce2; }
.status-inactive,.status-dot.status-inactive { background:#c8c9c4; }
.status-chart-legend,.dash-status-legend { display:flex;flex-wrap:wrap;gap:7px 14px;color:var(--buai-muted);font-size:11px; }
.status-chart-legend span,.dash-status-legend span { display:inline-flex;align-items:center;gap:5px; }.status-chart-legend i,.dash-status-legend i { display:inline-block;width:8px;height:8px;border-radius:50%; }
.status-chart-legend b,.dash-status-legend b { color:var(--buai-text); }
.admin-quick-links { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px; }
.admin-quick-links a { display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid var(--buai-border);border-radius:var(--buai-radius-md);background:var(--buai-surface);font-weight:650;transition:transform .18s ease,background .18s ease; }
.admin-quick-links a span { color:var(--buai-muted);font-size:12px;font-weight:400; }.admin-quick-links a:hover { transform:translateY(-2px);background:#f7f4fb; }
.admin-nav a { border-radius:var(--buai-radius-sm);transition:background .18s ease,color .18s ease,transform .18s ease; }
.admin-nav a.active { color:#263126;background:linear-gradient(100deg,#e7f2e5,#f5edf8 55%,#eef6f8);box-shadow:inset 3px 0 #a9be9b; }
.admin-nav a:hover:not(.active) { color:#fff;background:rgba(255,255,255,.1);transform:translateX(2px); }
.admin-table { display:block;overflow-x:auto;white-space:nowrap; }
.admin-table tbody,.admin-table thead { min-width:100%; }
.admin-table tr:hover td { background:#fbfaf6; }
.admin-body.admin-loading .admin-content { opacity:.58;pointer-events:none; }

@media (max-width:900px) {
    .admin-body { display:block; }

    .admin-menu-toggle { display:inline-grid;place-items:center;order:-1;flex:0 0 auto;width:38px;height:38px;padding:0;border:1px solid var(--buai-border);border-radius:10px;background:#fffefa;color:var(--buai-text);line-height:1;cursor:pointer; }
    .admin-menu-toggle svg { width:19px;height:19px; }
    .admin-sidebar { position:fixed;z-index:111;inset:0 auto 0 0;width:min(290px,86vw);height:100dvh;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:var(--buai-shadow-md); }
    .admin-nav-open .admin-sidebar { transform:translateX(0); }
    .admin-dashboard-grid { grid-template-columns:1fr;gap:0; }
    .admin-quick-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .admin-topbar { flex-direction:row;align-items:center;padding:14px 18px; }
    .admin-content { padding:18px; }
}
@media (max-width:560px) {
    .admin-welcome { align-items:flex-start;flex-direction:column;padding:20px; }
    .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
    .stat-card { min-height:122px;padding:15px; }.stat-card strong { font-size:28px; }
    .admin-quick-links { grid-template-columns:1fr 1fr;gap:8px; }
    .admin-quick-links a { padding:13px;font-size:13px; }
    .admin-topbar { gap:8px; }.admin-topbar-user { max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
}
@media (prefers-reduced-motion:reduce) { .admin-body * { scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important; } }
.admin-alert.error { background:var(--buai-danger);border-left:3px solid #c77b85;color:#783d48; }
.admin-alert ul { margin:8px 0 0;padding-left:20px; }
.admin-loading .admin-main::before { content:"";position:fixed;z-index:120;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#e7c3d3,#f1d4a1,#dce7ae,#bcdcc0,#bad7eb,#d2c2e8); }

.maintenance-right {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #090909;
    color: #f7f7f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maintenance-page {
    min-height: 100vh;
    background: #090909;
    color: #f7f7f4;
}

.maintenance-left {
    padding: 80px 5.5% 60px;
}

.maintenance-title {
    font-size: clamp(42px, 6vw, 88px);
    line-height: .92;
    letter-spacing: -.04em;
    font-weight: 400;
    margin: 28px 0 26px;
}

.maintenance-title span {
    display: block;
}

.maintenance-description {
    max-width: 560px;
    color: #a9a9a3;
    line-height: 1.6;
}

.maintenance-description strong {
    color: #f7f7f4;
    font-weight: 500;
}

.maintenance-question {
    margin: 34px 0 18px;
    color: #a9a9a3;
}

.focus-title {
    font-size: 13px;
    letter-spacing: .22em;
    color: #8c8c87;
    font-weight: 600;
    margin: 0 0 10px;
}

.solutions-heading {
    font-size: 12px;
    letter-spacing: .18em;
    color: #66666a;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 40px;
    margin: 30px 0 26px;
}

.service-item {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.service-number {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    color: #77777a;
    margin-bottom: 10px;
}

.service-item h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

.focus-description {
    max-width: 460px;
    color: #a9a9a3;
    line-height: 1.55;
}

.right-inner {
    padding: 60px 5.5% 50px;
}

.rainbow-bg-wrapper {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .8s ease;
    will-change: top, left;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);

    flex: none;
    width: 620px;
    max-width: none;
    min-width: 620px;
    height: 620px;
    max-height: none;
    min-height: 620px;
    margin-left: -310px;
    margin-top: -310px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 28%, #ff52aa 0%, rgba(255, 82, 170, .45) 34%, transparent 62%),
        radial-gradient(circle at 74% 30%, #ff963c 0%, rgba(255, 150, 60, .38) 32%, transparent 62%),
        radial-gradient(circle at 76% 74%, #ff48c4 0%, rgba(255, 72, 196, .32) 30%, transparent 60%),
        radial-gradient(circle at 28% 76%, #ba5cff 0%, rgba(186, 92, 255, .32) 30%, transparent 60%),
        radial-gradient(circle at 50% 50%, #5c96ff 0%, rgba(92, 150, 255, .30) 34%, transparent 66%),
        radial-gradient(circle at 50% 50%, #d660ff 0%, rgba(214, 96, 255, .22) 40%, transparent 70%);
    filter: blur(34px) saturate(150%);
    -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, #000 40%, transparent 96%);
    mask-image: radial-gradient(circle closest-side, #000 0%, #000 40%, transparent 96%);
}

.maintenance-right.is-lit .rainbow-bg-wrapper {
    opacity: .55;
    mix-blend-mode: screen;
}

.background-lines,
.right-inner {
    position: relative;
    z-index: 1;
}

.right-inner {
    isolation: isolate;
    mix-blend-mode: normal;
}

.home-hero,
.inner-hero,
.auth-section {
    isolation: isolate;
    --gradient-mix: screen;
}

.auth-section {
    position: relative;
    overflow: hidden;
}

.hero-cursor-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
}

.hero-cursor-glow::before {
    content: "";
    position: absolute;
    left: var(--cursor-x, 50%);
    top: var(--cursor-y, 50%);
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    border-radius: 50%;

    background:
        radial-gradient(circle at 36% 32%, var(--orb-a, rgba(255, 128, 200, .85)) 0%, transparent 58%),
        radial-gradient(circle at 68% 70%, var(--orb-b, rgba(148, 108, 255, .75)) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, var(--orb-c, rgba(92, 160, 255, .55)) 0%, transparent 72%);

    filter: blur(34px) saturate(150%);
    opacity: .9;
    mix-blend-mode: screen;
}

.hero-cursor-glow::after {
    content: "";
    position: absolute;
    left: var(--cursor-x, 50%);
    top: var(--cursor-y, 50%);
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(circle,
        var(--orb-b, rgba(148, 108, 255, .40)) 0%,
        var(--orb-c, rgba(92, 160, 255, .22)) 40%,
        transparent 72%);
    filter: blur(46px);
    opacity: .55;
    mix-blend-mode: screen;
}

.home-hero.is-hovering .hero-cursor-glow,
.inner-hero.is-hovering .hero-cursor-glow,
.auth-section.is-hovering .hero-cursor-glow {
    opacity: 1;
}

.auth-section > :not(.hero-cursor-glow) {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.auth-section .hero-cursor-glow::before {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
}

.auth-section .hero-cursor-glow::after {
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    opacity: .45;
}

.home-hero > :not(.hero-cursor-glow),
.inner-hero > :not(.hero-cursor-glow) {
    position: relative;
    z-index: 2;
}

.inner-hero > :not(.hero-cursor-glow) {
    isolation: isolate;
}

.inner-hero .faceted {
    mix-blend-mode: normal;
}

@media (prefers-reduced-motion: reduce) {
    .hero-cursor-glow {
        transition: none;
    }
}

@media (hover: none) {
    .hero-cursor-glow {
        display: none;
    }
}

.crop-modal {
    width: min(780px, 95vw);
    box-shadow: 0 24px 70px rgba(9, 9, 9, .28);
    border: 1px solid #e2e2db;
}

.crop-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.crop-modal-head h3 {
    font-size: 17px;
    font-weight: 700;
}

.crop-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid #e2e2db;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.crop-close:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.crop-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.crop-preset {
    padding: 7px 14px;
    border: 1px solid #dcdcd4;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.crop-preset:hover {
    background: #f6f6f1;
}

.crop-preset.is-active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.crop-stage {
    box-shadow: 0 2px 14px rgba(9, 9, 9, .16);
    background: #0b0b0b;
}

.crop-controls {
    gap: 10px;
}

.crop-controls label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a8a81;
}

.crop-hint-drag {
    font-weight: 500;
    font-size: 11px;
    color: #a3a39a;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .crop-hint-drag { display: none; }
    .crop-modal-inner { padding: 18px 16px 16px; }
    .crop-modal-actions .btn-mini { padding: 9px 14px; }
}

.bsf-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.bsf-photo-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0ea;
    border: 1px solid #e4e4dc;
    animation: bsfTileIn .18s ease-out;
}

@keyframes bsfTileIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}

.bsf-photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bsf-photo-tile.is-cover::after {
    content: 'Cover';
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(17, 17, 17, .82);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.bsf-photo-tile .bsf-tile-remove {
    position: absolute;
    top: 7px;
    right: 7px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 17, 17, .72);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s ease, background .15s ease;
}

.bsf-photo-tile .bsf-tile-remove svg {
    width: 13px;
    height: 13px;
    display: block;
}

.bsf-photo-tile:hover .bsf-tile-remove,
.bsf-photo-tile:focus-within .bsf-tile-remove {
    opacity: 1;
}

.bsf-photo-tile .bsf-tile-remove:hover {
    background: #b3261e;
}

.bsf-photo-tile .bsf-tile-actions {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
    opacity: 0;
    transition: opacity .15s ease;
}

.bsf-photo-tile:hover .bsf-tile-actions,
.bsf-photo-tile:focus-within .bsf-tile-actions {
    opacity: 1;
}

.bsf-tile-btn {
    flex: 1;
    padding: 5px 6px;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    color: #111;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.bsf-tile-btn:hover {
    background: #fff;
}

.bsf-field-full {
    margin-top: 16px;
}

.bsf-conditions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 720px) {
    .bsf-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bsf-condition {
    position: relative;
    display: block;
    cursor: pointer;
}

.bsf-condition input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.bsf-condition-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    padding: 14px 14px 15px;
    border: 1.5px solid #e0e0d8;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .12s ease;
}

.bsf-condition-inner strong {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
}

.bsf-condition-inner small {
    font-size: 11.5px;
    line-height: 1.45;
    color: #85857c;
}

.bsf-condition:hover .bsf-condition-inner {
    border-color: #bdbdb4;
    transform: translateY(-1px);
}

.bsf-condition input:focus-visible + .bsf-condition-inner {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.bsf-condition input:checked + .bsf-condition-inner {
    border-color: #111;
    background: #fbfbf7;
    box-shadow: 0 0 0 1px #111 inset;
}

.bsf-condition input:checked + .bsf-condition-inner::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #111;
}

.bsf-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #b3261e;
}

.bs-condition {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    border: 1px solid transparent;
}

.bs-condition.new {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #c8e6c9;
}

.bs-condition.like-new {
    background: #e7f1fb;
    color: #12466f;
    border-color: #cfe3f5;
}

.bs-condition.good {
    background: #fdf3e0;
    color: #7a4d00;
    border-color: #f5e3c2;
}

.bs-condition.fair {
    background: #f6f2ee;
    color: #6b5a4e;
    border-color: #e8ded5;
}

.bsf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.bsf-main { min-width: 0; }

@media (max-width: 900px) {
    .bsf-layout { grid-template-columns: 1fr; }

    .bsf-preview { order: -1; position: static; }
}

.bsf-preview {
    position: sticky;
    top: 20px;
}

.bsf-preview-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 10px;
    padding: 0 2px;
}

.bsf-preview-head span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8a81;
}

.bsf-preview-head small {
    font-size: 11.5px;
    color: #a3a39a;
}

.bsf-preview-card {
    background: #fff;
    border: 1px solid #e2e2db;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(17, 17, 17, .07);
}

.bsf-preview-photo {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f4f4ef, #e9e9e2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bsf-preview-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bsf-preview-noimg {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #c2c2b8;
    line-height: 1;

    margin-right: -.22em;
}

.bsf-preview-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 15px 15px;
}

.bsf-preview-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bsf-preview-title.is-placeholder {
    color: #b0b0a6;
    font-weight: 600;
}

.bsf-preview-price {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #111;
}

.bsf-preview-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: #77776f;
}

.bsf-preview-seller {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    padding-top: 10px;
    border-top: 1px solid #f0f0ea;
    font-size: 11.5px;
    color: #55554e;
}

.bsf-preview-seller img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    background: #e6e6de;
}

.bsf-preview-hint {
    margin: 10px 2px 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: #a3a39a;
}

.article-preview {
    margin-top: 12px;
    padding: 14px;
    border: 1px dashed #dcdcd4;
    border-radius: 12px;
    background: #fbfbf8;

    width: fit-content;
    max-width: 100%;
}

.article-preview-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.article-preview-head span {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8a81;
}

.article-preview-head small {
    font-size: 11px;
    color: #a3a39a;
}

.article-preview-card {
    width: 320px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e4e4dc;
    border-radius: 12px;
    overflow: hidden;
}

.article-preview-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f1f1ec, #e6e6de);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-preview-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-preview-thumb span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b5b5ab;
    text-align: center;
    padding: 0 12px;
}

.article-preview-body {
    padding: 12px 14px 14px;
}

.article-preview-body small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a8a81;
    margin-bottom: 5px;
}

.article-preview-body h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.article-preview-body p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #77776f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-preview-head {
    flex-wrap: wrap;
}

.article-preview-open {
    margin-left: auto;
    padding: 6px 12px;
    border: 1px solid #d3d3c9;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .02em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.article-preview-open:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.article-preview-open:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

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

.ap-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: grid;
    place-items: center;
    padding: 26px;
}

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

.ap-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 9, .58);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: ap-fade .22s ease both;
}

.ap-modal-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(920px, 100%);
    max-height: min(88vh, 900px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 36px 80px rgba(0, 0, 0, .34);
    overflow: hidden;
    outline: none;
    animation: ap-rise .28s cubic-bezier(.2, .8, .25, 1) both;
}

.ap-modal-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 20px;
    border-bottom: 1px solid #e4e4dc;
    background: #fbfbf8;
}

.ap-modal-badge {
    padding: 4px 9px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ap-modal-note {
    min-width: 0;
    font-size: 11.5px;
    color: #8a8a81;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-modal-close {
    margin-left: auto;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e0e0d7;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.ap-modal-close:hover {
    background: #111;
    color: #fff;
}

.ap-modal-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ap-modal-body {
    padding: 40px clamp(22px, 5vw, 64px) 52px;
    color: #2a2a28;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.ap-modal-category {
    margin-bottom: 12px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #71736d;
}

.ap-modal-head h2 {
    margin: 0;
    max-width: 740px;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -1.2px;
    color: #090909;
    overflow-wrap: anywhere;
}

.ap-modal-excerpt {
    max-width: 660px;
    margin: 16px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: #2a2a28;
}

.ap-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 24px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #090909;
}

.ap-modal-meta strong {
    font-weight: 600;
}

.ap-modal-banner {
    margin: 28px 0 0;
    aspect-ratio: 16 / 10;
    max-height: 400px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #dedfd6;
    background: #f6f5ef;
}

.ap-modal-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ap-modal-content {
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 16.5px;
    line-height: 1.75;
    color: #2a2a28;
    overflow: hidden;
    overflow-wrap: break-word;
}

.ap-modal-content > :first-child { margin-top: 0; }
.ap-modal-content p { margin: 0 0 18px; }
.ap-modal-content h1, .ap-modal-content h2,
.ap-modal-content h3, .ap-modal-content h4 {
    margin: 34px 0 12px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.8px;
    color: #090909;
}
.ap-modal-content h1 { font-size: 30px; }
.ap-modal-content h2 { font-size: 25px; }
.ap-modal-content h3 { font-size: 20px; }
.ap-modal-content ul, .ap-modal-content ol { margin: 0 0 20px; padding-left: 22px; }
.ap-modal-content li { margin-bottom: 9px; }
.ap-modal-content blockquote {
    margin: 26px 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid #111;
    font-size: 19px;
    line-height: 1.5;
    color: #090909;
}
.ap-modal-content a { color: #090909; text-underline-offset: 2px; }
.ap-modal-content img { max-width: 100%; height: auto; border-radius: 10px; }

.ap-modal-content section,
.ap-modal-content div,
.ap-modal-content figure,
.ap-modal-content p:not(.opening-paragraph) {
    max-width: 100% !important;
    box-sizing: border-box;
}

.ap-modal-content .opening-paragraph {
    max-width: none;
    overflow: visible;
}

.ap-modal-content .opening-paragraph .drop-cap {
    float: left;
    margin: 6px 12px 0 0;
    font-size: 62px;
    line-height: .78;
    font-weight: 800;
    letter-spacing: -2px;
    color: #090909;
}

.ap-modal-empty {
    color: #a3a39a;
    font-style: italic;
}

.ap-modal-sources {
    max-width: 700px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid #dedfd6;
    font-size: 13px;
}

.ap-modal-sources h3 {
    margin: 0 0 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #71736d;
}

.ap-modal-sources ol { margin: 0; padding-left: 18px; line-height: 1.7; }
.ap-modal-sources a { color: #2a2a28; overflow-wrap: anywhere; }

@keyframes ap-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ap-rise {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
    .ap-modal { padding: 0; }

    .ap-modal-shell {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .ap-modal-body { padding: 24px 6% 44px; }
    .ap-modal-meta { gap: 22px; }
    .ap-modal-note { display: none; }
    .ap-modal-banner { max-height: 240px; margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-modal-backdrop,
    .ap-modal-shell { animation: none !important; }
}

.edge-tiers {
    margin-top: 60px;
}

.edge-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 0;
    align-items: stretch;

    grid-auto-rows: 1fr;
}

.edge-tier {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1),
                box-shadow .45s ease, filter .45s ease;
}

.edge-tier-media {
    position: relative;
    overflow: hidden;

    aspect-ratio: 1 / 1;
    background: #f1f1ec;
}

.edge-tier-media img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
    transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .6s ease;
}

.edge-tier--3 .edge-tier-media img {
    object-position: left center;
}

.edge-tier-spark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}

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

.edge-tier--1 .edge-tier-media img {
    filter: saturate(.55) brightness(.92);
}

.edge-tier--2 .edge-tier-media img {
    filter: saturate(1.12) brightness(1.02);
}

.edge-tier--3 .edge-tier-media img {
    filter: saturate(1.12) brightness(1.03);
}

.edge-tier--3 .edge-tier-spark {
    opacity: 1;
    background:
        linear-gradient(105deg,
            rgba(255, 255, 255, 0) 42%,
            rgba(255, 255, 255, .85) 49%,
            rgba(255, 255, 255, .35) 53%,
            rgba(255, 255, 255, 0) 60%),
        linear-gradient(105deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, .22) 46%,
            rgba(255, 255, 255, 0) 66%);
    mix-blend-mode: screen;
    transform: translateX(-130%) skewX(-8deg);
    transition: transform .9s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.edge-tier--3:hover .edge-tier-spark,
.edge-tier--3:focus-visible .edge-tier-spark {
    transform: translateX(130%) skewX(-8deg);
}

.edge-tier--3:hover .edge-tier-media,
.edge-tier--3:focus-visible .edge-tier-media {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.edge-tier--3:hover::before,
.edge-tier--3:focus-visible::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(120% 80% at 22% -10%,
        rgba(255, 255, 255, .55) 0%,
        rgba(255, 255, 255, .18) 35%,
        rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    animation: edge-glint .9s ease-out forwards;
}

@keyframes edge-glint {
    0%   { opacity: 0; }
    35%  { opacity: 1; }
    100% { opacity: .55; }
}

.edge-tier--3::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 26%, rgba(255, 255, 255, .9) 0 1.5px, transparent 2px),
        radial-gradient(circle at 72% 18%, rgba(255, 246, 214, .95) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 86% 64%, rgba(214, 240, 255, .9) 0 1.6px, transparent 2.2px),
        radial-gradient(circle at 34% 78%, rgba(255, 226, 240, .9) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 58% 46%, rgba(255, 255, 255, .8) 0 1px, transparent 1.6px);
    opacity: .55;
    animation: edge-twinkle 4.8s ease-in-out infinite;
}

@keyframes edge-twinkle {
    0%, 100% { opacity: .25; }
    50% { opacity: .7; }
}

.edge-tier.is-chosen {
    z-index: 2;
}

.edge-tier--1.is-chosen .edge-tier-media img { filter: saturate(.72) brightness(1.02); }
.edge-tier--2.is-chosen .edge-tier-media img { filter: saturate(1.2) brightness(1.06); }
.edge-tier--3.is-chosen .edge-tier-media img { filter: saturate(1.16) brightness(1.04); }

.edge-rail {
    position: relative;

    margin-top: 0;
    padding: 0;
}

.edge-rail-track {
    position: relative;
    height: 14px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background: linear-gradient(90deg,
        #ff5fa2 0%,
        #ff8a5b 14%,
        #ffd23f 28%,
        #6ee36b 43%,
        #2fd0e8 57%,
        #5b7cff 72%,
        #a15bff 86%,
        #ff5fd0 100%);
    background-size: 200% 100%;
    animation: edge-rainbow-drift 7s linear infinite;
    box-shadow: 0 4px 16px rgba(161, 91, 255, .28);
}

.edge-rail-track::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: rgba(255, 255, 255, .55);
}

.edge-rail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(90deg,
        #ffe3f1 0%,
        #ffe9dc 16%,
        #fff6c9 30%,
        #d3ffd1 45%,
        #c4f6ff 60%,
        #cdd6ff 74%,
        #e3c9ff 88%,
        #ffd0f4 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 18px 2px rgba(255, 255, 255, .85);
    transition: width .55s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
    animation: edge-rainbow-drift 7s linear infinite reverse;
}

.edge-rail[data-stage="1"] .edge-rail-fill {
    width: 6%;
    opacity: .85;
}

@keyframes edge-rainbow-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.edge-rail-input {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: ew-resize;
}

.edge-rail-input::-webkit-slider-runnable-track { background: transparent; height: 14px; }
.edge-rail-input::-moz-range-track { background: transparent; height: 14px; }

.edge-rail-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -2px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: conic-gradient(from 200deg,
        #ff5fa2, #ff8a5b, #ffd23f, #6ee36b, #2fd0e8, #5b7cff, #a15bff, #ff5fa2);
    box-shadow: 0 1px 6px rgba(38, 36, 31, .35), 0 0 0 1px rgba(255, 255, 255, .7);
    transition: transform .2s ease;
}

.edge-rail-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: conic-gradient(from 200deg,
        #ff5fa2, #ff8a5b, #ffd23f, #6ee36b, #2fd0e8, #5b7cff, #a15bff, #ff5fa2);
    box-shadow: 0 1px 6px rgba(38, 36, 31, .35);
}

.edge-rail-input:hover::-webkit-slider-thumb,
.edge-rail-input:active::-webkit-slider-thumb {
    transform: scale(1.25);
}

.edge-rail:has(.edge-rail-input:focus-visible) .edge-rail-track {
    outline: 3px solid #5b7cff;
    outline-offset: 3px;
}

.edge-tier:not(.is-chosen) {
    opacity: .78;
}

.edge-tier {
    transition: transform .45s cubic-bezier(.22, .61, .36, 1),
                box-shadow .45s ease, opacity .45s ease;
}

@media (max-width: 900px) {
    .edge-tiers-grid {
        grid-template-columns: 1fr;
    }

    .edge-tier.is-chosen {
        transform: none;
    }
}

@media (max-width: 640px) {
    .edge-rail-track { height: 12px; }
    .edge-rail-input { height: 12px; }
    .edge-rail-input::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -5px; }
}

@media (prefers-reduced-motion: reduce) {
    .edge-tier,
    .edge-tier-media img,
    .edge-rail-fill,
    .edge-rail-input::-webkit-slider-thumb {
        transition: none;
    }

    .edge-tier--3 .edge-tier-spark,
    .edge-tier--3::after,
    .edge-rail-fill {
        animation: none;
    }

    .edge-tier.is-chosen,
    .edge-tier.is-chosen .edge-tier-media img {
        transform: none;
    }
}

/* Service edit form photo manager */
.svc-edit-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.svc-edit-photo {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .15);
}

.svc-edit-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-edit-photo form {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: center;
    background: rgba(17, 17, 17, .55);
}

.svc-edit-photo button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    padding: 3px 10px;
    cursor: pointer;
}

.svc-edit-photo button:hover {
    background: rgba(192, 57, 43, .85);
}

/* Chat message status ticks (sent / seen) */
.chat-msg-status,
.msg-status {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    color: rgba(17, 17, 17, .45);
}

.chat-bubble-row.chat-mine .chat-bubble-stack .chat-msg-status {
    align-self: flex-end;
}

.msg-status {
    align-self: flex-end;
    margin-left: auto;
}

.chat-msg-status.is-seen,
.msg-status.is-seen {
    color: #1a7f4b;
}

/* Attach-menu SVG icon sizing */
.buai-attach-icon svg {
    display: block;
}

/* status line: tick + seen time */
.chat-msg-status small,
.msg-status small {
    margin-left: 4px;
    font-size: 10.5px;
    line-height: 1;
}
