/* ==========================================================================
   Blessing Your Scalp — homepage
   --------------------------------------------------------------------------
   Everything is namespaced under `.bys-home` so the Bootstrap template
   stylesheets (style.css / responsive.css) cannot reach in, and nothing here
   leaks out to the other public pages.

   Design tokens come from assets/css/bys-nav.css, which loads first.
   ========================================================================== */

.bys-home {
    background: var(--bys-white);
    color: var(--bys-body);
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    /* The template applies `overflow-x` fixes per-page; guarantee it here. */
    overflow-x: clip;
}

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

/* :where() keeps these resets at zero added specificity, so a component class
   such as .bys-hero__title still wins over the bare element selector. Without
   it, `.bys-home h1` (0,1,1) silently beats `.bys-hero__title` (0,1,0). */
.bys-home :where(h1, h2, h3, h4, p, ul, figure) {
    margin: 0;
}

.bys-home :where(h1, h2, h3, h4) {
    color: var(--bys-charcoal);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    text-transform: none;
}

.bys-home img {
    max-width: 100%;
}

.bys-home :where(ul) {
    padding: 0;
    list-style: none;
}

.bys-sprite {
    position: absolute;
}

.bys-home a {
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.bys-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .bys-shell {
        padding: 0 32px;
    }
}

@media (min-width: 1200px) {
    .bys-shell {
        padding: 0 40px;
    }
}

.bys-section {
    /* 80px is the brand's floor; grows to 130px on wide screens. */
    padding: clamp(80px, 9vw, 130px) 0;
}

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

.bys-section--tight {
    padding: clamp(64px, 7vw, 96px) 0;
}

/* --------------------------------------------------------------------------
   Section headers
   -------------------------------------------------------------------------- */

.bys-sechead {
    max-width: 34ch;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.bys-sechead--center {
    max-width: 46ch;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.bys-sechead__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--bys-rose-deep);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bys-sechead__title {
    font-size: clamp(1.75rem, 4vw, 2.875rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.bys-sechead__lede {
    max-width: 60ch;
    margin-top: 16px;
    font-size: 1.0625rem;
}

.bys-sechead--center .bys-sechead__lede {
    margin-right: auto;
    margin-left: auto;
}

/* A header with a trailing link, aligned on one row from tablet up. */
.bys-sechead-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: clamp(36px, 4vw, 56px);
}

@media (min-width: 768px) {
    .bys-sechead-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
    }
}

.bys-sechead-row .bys-sechead {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.bys-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 34px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 300ms var(--bys-ease), color 300ms var(--bys-ease),
        border-color 300ms var(--bys-ease), box-shadow 300ms var(--bys-ease);
}

.bys-btn--primary {
    background: var(--bys-rose);
    /* The rose glow is a brand signal — do not remove. */
    box-shadow: 0 4px 15px rgba(190, 109, 118, 0.3);
    color: #fff;
}

.bys-btn--primary:hover,
.bys-btn--primary:focus-visible {
    background: var(--bys-charcoal);
    box-shadow: 0 6px 20px rgba(53, 49, 47, 0.3);
    color: #fff;
}

.bys-btn--outline {
    border-color: var(--bys-charcoal);
    background: transparent;
    color: var(--bys-charcoal);
}

.bys-btn--outline:hover,
.bys-btn--outline:focus-visible {
    background: var(--bys-charcoal);
    color: #fff;
}

/* On photography: white outline, since charcoal disappears into the image. */
.bys-btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: none;
}

.bys-btn--ghost-light:hover,
.bys-btn--ghost-light:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--bys-charcoal);
}

.bys-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.bys-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--bys-charcoal);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bys-divider);
    transition: color 220ms var(--bys-ease), border-color 220ms var(--bys-ease);
}

.bys-link svg {
    width: 7px;
    height: 11px;
    transition: transform 260ms var(--bys-ease);
}

.bys-link:hover,
.bys-link:focus-visible {
    color: var(--bys-rose-deep);
    border-color: var(--bys-rose);
}

.bys-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.bys-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    /* svh keeps mobile browser chrome from pushing the CTA off-screen;
       vh is the fallback for browsers without the newer viewport units. */
    min-height: 78vh;
    min-height: 78svh;
    /* Never taller than a comfortable reading height on short landscape screens. */
    max-height: 900px;
    background: var(--bys-charcoal);
    isolation: isolate;
}

@media (min-width: 992px) {
    .bys-hero {
        align-items: center;
        min-height: min(88vh, 820px);
        min-height: min(88svh, 820px);
    }
}

.bys-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.bys-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps the subject in frame as the crop narrows on phones. */
    object-position: 50% 32%;
}

@media (min-width: 992px) {
    .bys-hero__media img {
        object-position: 62% 34%;
    }
}

/* Weighted for legibility rather than for the photograph: the sunset sky is
   pale, and white type over it needs a floor of roughly 0.5 opacity to hold
   4.5:1 wherever the copy happens to land. */
.bys-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to top,
        rgba(48, 44, 42, 0.92) 0%,
        rgba(48, 44, 42, 0.8) 38%,
        rgba(48, 44, 42, 0.58) 72%,
        rgba(48, 44, 42, 0.42) 100%
    );
}

@media (min-width: 992px) {
    .bys-hero__scrim {
        background: linear-gradient(
            to right,
            rgba(48, 44, 42, 0.9) 0%,
            rgba(48, 44, 42, 0.74) 38%,
            rgba(53, 49, 47, 0.3) 70%,
            rgba(168, 89, 97, 0.2) 100%
        );
    }
}

.bys-hero__body {
    width: 100%;
    padding-top: 64px;
    padding-bottom: clamp(44px, 7vw, 72px);
}

@media (min-width: 992px) {
    .bys-hero__body {
        padding-top: clamp(64px, 6vw, 96px);
    }
}

/* Sized in rem, not ch: `ch` resolves against this element's own 1rem font
   size, which would squeeze the 4rem headline into a ~12rem column. */
.bys-hero__copy {
    max-width: 34rem;
}

@media (min-width: 992px) {
    .bys-hero__copy {
        max-width: 42rem;
    }
}

.bys-hero__script {
    display: block;
    margin-bottom: 2px;
    color: #f0c3c7;
    font-family: 'Parisienne', 'Mrs Saint Delafield', cursive;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 400;
    line-height: 1.2;
}

.bys-hero__title {
    color: #fff;
    font-size: clamp(2.125rem, 6.4vw, 4rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(30, 27, 26, 0.55);
}

.bys-hero__title em {
    font-style: normal;
    font-weight: 300;
}

@media (min-width: 560px) {
    .bys-hero__title em {
        display: block;
    }
}

.bys-hero__lede {
    max-width: 46ch;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.65;
    text-shadow: 0 1px 12px rgba(30, 27, 26, 0.45);
}

@media (min-width: 992px) {
    .bys-hero__lede {
        max-width: 44ch;
        font-size: 1.125rem;
    }
}

.bys-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 40px);
}

/* Full-width stacked buttons below 380px, where two pills will not fit. */
@media (max-width: 379px) {
    .bys-hero__actions .bys-btn {
        flex: 1 1 100%;
    }
}

.bys-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: clamp(24px, 4vw, 44px);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (min-width: 560px) {
    .bys-hero__meta {
        gap: 8px 20px;
        font-size: 0.8125rem;
    }
}

.bys-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bys-hero__meta svg {
    width: 14px;
    height: 14px;
    color: #f0c3c7;
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Value strip
   -------------------------------------------------------------------------- */

.bys-strip {
    border-bottom: 1px solid var(--bys-divider);
    background: var(--bys-cream);
}

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

@media (min-width: 900px) {
    .bys-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bys-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 16px;
    border-right: 1px solid var(--bys-divider);
    border-bottom: 1px solid var(--bys-divider);
}

/* Remove the borders that would otherwise double up on the grid edges. */
.bys-strip__item:nth-child(2n) {
    border-right: 0;
}

.bys-strip__item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

@media (min-width: 900px) {
    .bys-strip__item {
        justify-content: center;
        padding: 30px 20px;
        border-bottom: 0;
    }

    .bys-strip__item:nth-child(2n) {
        border-right: 1px solid var(--bys-divider);
    }

    .bys-strip__item:last-child {
        border-right: 0;
    }
}

.bys-strip__item svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--bys-rose-deep);
}

.bys-strip__title {
    color: var(--bys-charcoal);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.bys-strip__text {
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.bys-cats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .bys-cats {
        gap: 24px;
    }
}

/* One or two categories read as a deliberate set rather than a half-empty row. */
.bys-cats--1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
}

.bys-cats--2 {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .bys-cats--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bys-cats--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bys-cats--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bys-cat {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bys-blush);
    isolation: isolate;
    transition: box-shadow 320ms var(--bys-ease), transform 320ms var(--bys-ease);
}

.bys-cat:hover,
.bys-cat:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bys-cat__frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

/* A full-width tile at 4:5 is ~800px tall on a phone; banner proportions keep
   both categories reachable without a long scroll. */
.bys-cats--1 .bys-cat__frame,
.bys-cats--2 .bys-cat__frame {
    aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
    .bys-cats--1 .bys-cat__frame,
    .bys-cats--2 .bys-cat__frame {
        aspect-ratio: 5 / 4;
    }
}

.bys-cat__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--bys-ease);
}

.bys-cat:hover .bys-cat__frame img {
    transform: scale(1.05);
}

/* Typographic tile for categories with neither an image nor a product photo. */
.bys-cat__monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, var(--bys-blush), var(--bys-cream));
    color: rgba(190, 109, 118, 0.5);
    font-family: 'Parisienne', cursive;
    font-size: clamp(3rem, 9vw, 5rem);
    line-height: 1;
    user-select: none;
}

.bys-cat__label {
    position: absolute;
    inset: auto 0 0 0;
    padding: 44px 18px 18px;
    background: linear-gradient(to top, rgba(48, 44, 42, 0.86), rgba(48, 44, 42, 0));
}

.bys-cat__name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
}

.bys-cat__name svg {
    flex: 0 0 auto;
    width: 6px;
    height: 10px;
    opacity: 0.85;
    transition: transform 260ms var(--bys-ease);
}

.bys-cat:hover .bys-cat__name svg {
    transform: translateX(4px);
}

.bys-cat__count {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */

.bys-products {
    display: grid;
    gap: 20px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .bys-products {
        gap: 32px 24px;
    }
}

@media (min-width: 1024px) {
    .bys-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bys-product {
    display: flex;
    flex-direction: column;
}

.bys-product__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    /* Product shots are photographed on white; matching it keeps the corners
       from showing a cream halo around the cut-out. */
    background: var(--bys-white);
}

.bys-product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--bys-ease), opacity 350ms var(--bys-ease);
}

.bys-product__media img.bys-product__img--alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* Cross-fade to the second photo. Pointer-only: on touch, a hover state that
   sticks after a tap just hides the primary image. */
@media (hover: hover) {
    .bys-product__media:hover .bys-product__img--main {
        opacity: 0;
    }

    .bys-product__media:hover .bys-product__img--alt {
        opacity: 1;
    }

    .bys-product__media:hover img {
        transform: scale(1.04);
    }
}

.bys-product__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--bys-rose);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bys-product__badge--stock {
    left: auto;
    right: 12px;
    background: var(--bys-charcoal);
}

.bys-product__info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: 14px;
}

.bys-product__cat {
    color: var(--bys-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bys-product__name {
    margin-top: 6px;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.35;
}

.bys-product__name a {
    color: var(--bys-charcoal);
    transition: color 200ms var(--bys-ease);
}

.bys-product__name a:hover,
.bys-product__name a:focus-visible {
    color: var(--bys-rose-deep);
}

.bys-product__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    color: var(--bys-charcoal);
    font-size: 1rem;
    font-weight: 600;
}

.bys-product__price del {
    color: var(--bys-muted);
    font-weight: 400;
    text-decoration: line-through;
}

.bys-product__price ins {
    color: var(--bys-rose-deep);
    text-decoration: none;
}

.bys-product__options {
    margin-top: 6px;
    color: var(--bys-muted);
    font-size: 0.8125rem;
}

/* Pinned to the bottom of the card so buttons line up across the row even when
   product names wrap to different heights. */
.bys-product__action {
    margin-top: auto;
    padding-top: 16px;
}

.bys-product__action .bys-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Brand story
   -------------------------------------------------------------------------- */

.bys-story {
    display: grid;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

@media (min-width: 992px) {
    .bys-story {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

.bys-story__media {
    position: relative;
}

.bys-story__frame {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.bys-story__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* Second, smaller photo overlapping the first. Hidden on phones, where an
   overlap only steals width from the main image. */
.bys-story__inset {
    display: none;
}

@media (min-width: 768px) {
    .bys-story__inset {
        display: block;
        position: absolute;
        right: -16px;
        bottom: -28px;
        width: 42%;
        overflow: hidden;
        border: 6px solid var(--bys-white);
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
    }

    .bys-story__inset img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .bys-story__inset {
        right: -32px;
    }
}

.bys-story__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.01em;
}

.bys-story__text {
    max-width: 60ch;
    margin-top: 20px;
    font-size: 1.0625rem;
}

.bys-story__text + .bys-story__text {
    margin-top: 14px;
}

.bys-story__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin: 32px 0 4px;
    padding: 24px 0 0;
    border-top: 1px solid var(--bys-divider);
    list-style: none;
}

.bys-story__stat-num {
    display: block;
    color: var(--bys-charcoal);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.bys-story__stat-label {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.bys-story__signature {
    margin-top: 28px;
}

.bys-story__signature-name {
    color: var(--bys-charcoal);
    font-family: 'Mrs Saint Delafield', 'Parisienne', cursive;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.1;
}

.bys-story__signature-role {
    display: block;
    margin-top: 2px;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bys-story__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Booking band (dark, photographic)
   -------------------------------------------------------------------------- */

.bys-band {
    position: relative;
    background: var(--bys-espresso);
    isolation: isolate;
}

.bys-band__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.bys-band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38%;
}

.bys-band__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(48, 44, 42, 0.92), rgba(48, 44, 42, 0.7));
}

@media (min-width: 992px) {
    .bys-band__scrim {
        background: linear-gradient(
            to right,
            rgba(48, 44, 42, 0.94) 0%,
            rgba(48, 44, 42, 0.78) 45%,
            rgba(48, 44, 42, 0.42) 100%
        );
    }
}

.bys-band__inner {
    padding: clamp(72px, 8vw, 112px) 0;
}

.bys-band__copy {
    max-width: 34rem;
}

.bys-band__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #f0c3c7;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bys-band__title {
    color: #fff;
    font-size: clamp(1.75rem, 4.4vw, 2.875rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.bys-band__text {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.0625rem;
}

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

@media (min-width: 560px) {
    .bys-band__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 24px;
    }
}

.bys-band__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.bys-band__list svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: #f0c3c7;
}

.bys-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

/* A scroll-snap rail at every width rather than a grid.
   These reviews are screenshots of text: squeezed into a five-column desktop
   grid the messages become unreadable, so the cards stay large and the row
   scrolls instead. Native overflow scrolling — no carousel library, and it
   works with the arrow buttons removed. */
.bys-reviews {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(15rem, 72vw, 19rem);
    gap: 16px;
    /* Bleed to the viewport edges so the next card peeks in. */
    margin: 0 -20px;
    padding: 4px 20px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.bys-reviews::-webkit-scrollbar {
    display: none;
}

.bys-reviews > * {
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .bys-reviews {
        gap: 20px;
        margin: 0 -32px;
        padding: 4px 32px 20px;
    }

    .bys-reviews > * {
        scroll-snap-align: start;
    }
}

@media (min-width: 1200px) {
    .bys-reviews {
        margin: 0 -40px;
        padding: 4px 40px 20px;
    }
}

.bys-review {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bys-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 320ms var(--bys-ease), box-shadow 320ms var(--bys-ease);
}

@media (hover: hover) {
    .bys-review:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

.bys-review__shot {
    display: block;
    width: 100%;
    /* `contain`, never `cover`: cropping a screenshot cuts words out of the
       middle of the review. The fixed frame keeps every card the same height,
       and 1:1 matches the screenshots' own ratios (0.90-1.06) so there is
       almost no letterboxing. */
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: var(--bys-cream);
}

.bys-review__foot {
    padding: 16px 18px;
    border-top: 1px solid var(--bys-divider);
}

/* Rail controls */
.bys-reviews__controls {
    display: none;
}

@media (min-width: 768px) {
    .bys-reviews__controls {
        display: flex;
        gap: 8px;
    }
}

.bys-reviews__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--bys-divider);
    border-radius: 50%;
    background: var(--bys-white);
    color: var(--bys-charcoal);
    cursor: pointer;
    transition: background-color 220ms var(--bys-ease), color 220ms var(--bys-ease),
        border-color 220ms var(--bys-ease);
}

.bys-reviews__btn:hover:not(:disabled) {
    border-color: var(--bys-charcoal);
    background: var(--bys-charcoal);
    color: #fff;
}

.bys-reviews__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.bys-reviews__btn svg {
    width: 8px;
    height: 12px;
}

.bys-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 3.5vw, 44px);
}

.bys-reviews__head .bys-sechead {
    margin-bottom: 0;
}

.bys-review__name {
    color: var(--bys-charcoal);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.bys-review__verified {
    display: block;
    margin-top: 1px;
    color: var(--bys-muted);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.bys-reviews__hint {
    margin-top: 4px;
    color: var(--bys-muted);
    font-size: 0.8125rem;
    text-align: center;
}

@media (min-width: 768px) {
    .bys-reviews__hint {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.bys-contact {
    display: grid;
    gap: clamp(32px, 4vw, 56px);
}

@media (min-width: 992px) {
    .bys-contact {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

.bys-contact__cards {
    display: grid;
    gap: 16px;
}

@media (min-width: 560px) {
    .bys-contact__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bys-contact__card {
    padding: 26px 24px;
    border-radius: 10px;
    background: var(--bys-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.bys-contact__card svg {
    width: 22px;
    height: 22px;
    margin-bottom: 14px;
    color: var(--bys-rose-deep);
}

.bys-contact__label {
    color: var(--bys-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bys-contact__value {
    display: block;
    margin-top: 6px;
    color: var(--bys-charcoal);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    /* Long email addresses must wrap rather than widen the grid on a 320px
       screen. */
    overflow-wrap: anywhere;
}

.bys-contact__note {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    line-height: 1.6;
}

a.bys-contact__value {
    transition: color 200ms var(--bys-ease);
}

a.bys-contact__value:hover,
a.bys-contact__value:focus-visible {
    color: var(--bys-rose-deep);
}

/* --------------------------------------------------------------------------
   Flash messages
   -------------------------------------------------------------------------- */

.bys-toast-wrap {
    position: fixed;
    /* Sits above the sticky header's z-index of 50. */
    z-index: 60;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

@media (min-width: 640px) {
    .bys-toast-wrap {
        left: auto;
        max-width: 22rem;
    }
}

.bys-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-left: 3px solid var(--bys-rose);
    border-radius: 6px;
    background: var(--bys-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--bys-charcoal);
    font-size: 0.9375rem;
    line-height: 1.5;
    pointer-events: auto;
}

.bys-toast--error {
    border-left-color: #b4444f;
}

.bys-toast svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--bys-rose-deep);
}

.bys-toast--error svg {
    color: #b4444f;
}

.bys-toast__close {
    margin-left: auto;
    padding: 0 2px;
    border: 0;
    background: none;
    color: var(--bys-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.bys-empty {
    padding: clamp(40px, 6vw, 64px) 24px;
    border: 1px dashed var(--bys-divider);
    border-radius: 14px;
    background: var(--bys-white);
    text-align: center;
}

.bys-empty svg {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: var(--bys-rose);
}

.bys-empty__title {
    font-size: 1.25rem;
    font-weight: 500;
}

.bys-empty__text {
    max-width: 44ch;
    margin: 8px auto 24px;
}

/* --------------------------------------------------------------------------
   Focus visibility
   -------------------------------------------------------------------------- */

.bys-home a:focus-visible,
.bys-home button:focus-visible,
/* The rail is keyboard-scrollable via tabindex, so it needs a ring too. */
.bys-reviews:focus-visible {
    outline: 2px solid var(--bys-rose);
    outline-offset: 3px;
    border-radius: 4px;
}

.bys-hero a:focus-visible,
.bys-band a:focus-visible,
.bys-cat:focus-visible {
    outline-color: #fff;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------------------
   The hidden state is applied only once the observer script has run, so the
   page is fully readable if JavaScript never executes.
   -------------------------------------------------------------------------- */

[data-bys-reveal='on'] .bys-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--bys-ease), transform 700ms var(--bys-ease);
}

[data-bys-reveal='on'] .bys-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .bys-home *,
    .bys-home *::before,
    .bys-home *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-bys-reveal='on'] .bys-reveal {
        opacity: 1;
        transform: none;
    }
}
