/*
 * Vayomeie — storytelling section styles
 * Tokens already defined in style.css: --clay, --clay-dark, --cream, --warm-white,
 * --text-dark, --text-body, --shadow-card, --shadow-card-hover, --radius-lg,
 * --space-* etc. We only add component-level styles below.
 */

/* =================================================================
   Audit yellow #36 — :focus-visible. Keyboard users get a clear ring;
   mouse users don't see it (modern browsers gate :focus-visible
   to keyboard / programmatic focus by default).
   ================================================================= */
*:focus { outline: none; } /* let :focus-visible take over */
*:focus-visible {
    outline: 2px solid var(--clay, #B08968);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible,
.nav__icon:focus-visible,
.size-btn:focus-visible,
.vy-wishlist-btn:focus-visible,
.vy-accordion__summary:focus-visible {
    outline: 2px solid var(--clay-dark, #8C6B4F);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(176, 137, 104, 0.18);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--clay, #B08968) !important;
    box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.18) !important;
}

/* Skip-to-main link for screen-reader users — appears on focus only */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--clay, #B08968);
    color: #fff;
    padding: 8px 16px;
    z-index: 99999;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* =================================================================
   Footer-page hero band — consistent across Customer Care / Size Guide /
   Shipping / Privacy / Terms. Use class="page-hero" on the section.
   ================================================================= */
.page-hero {
    padding: 4rem 1.5rem 3rem;
    background: var(--cream, #FDEBC7);
    text-align: center;
}
.page-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--clay, #B08968);
    margin: 0 0 0.6rem;
}
.page-hero__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-dark, #2A1A1A);
    margin: 0 0 0.8rem;
}
.page-hero__subtitle {
    color: var(--text-body, #4A3A30);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}
.page-prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--text-body, #4A3A30);
    line-height: 1.8;
    font-size: 1.02rem;
}
.page-prose h2 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--text-dark, #2A1A1A);
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}
.page-prose h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--text-dark, #2A1A1A);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.6rem;
}
.page-prose ul, .page-prose ol { margin: 0.5rem 0 1rem 1.25rem; }
.page-prose li { margin-bottom: 0.4rem; }
.page-prose a { color: var(--clay, #B08968); border-bottom: 1px dashed currentColor; text-decoration: none; }
.page-prose a:hover { border-bottom-style: solid; }

/* =================================================================
   Festival / curated-collection landing — /collection/<slug>
   ================================================================= */
.festival-hero {
    background: var(--cream, #FDEBC7);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: clamp(4rem, 14vw, 8rem) 0;
    text-align: center;
    margin-top: calc(-1 * var(--vy-header-height, 76px));
    padding-top: calc(var(--vy-header-height, 76px) + 4rem);
    position: relative;
}
.festival-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    opacity: 0.85;
}
.festival-hero__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 auto 1rem;
    max-width: 900px;
    line-height: 1.15;
}
.festival-hero__subtitle {
    max-width: 640px;
    margin: 0 auto 0.75rem;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.6;
    opacity: 0.92;
}
.festival-hero__until {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 1rem 0 0;
}
.festival-body__copy {
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--text-body, #4A3A30);
    line-height: 1.75;
    font-size: 1rem;
}
.festival-body__copy h2,
.festival-body__copy h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--text-dark, #2A1A1A);
    margin-top: 2rem;
}

/* =================================================================
   Reviews + Wishlist (Agent 16)
   Stars + review list + write-a-review form + heart button.
   Uses existing tokens — clay primary, cream surfaces, Playfair headings.
   ================================================================= */
.vy-stars { display: inline-flex; gap: 2px; color: #E0B85F; font-size: 0.95rem; }
.vy-stars i { display: inline-block; }

.product-info__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-body, #4A3A30);
    font-size: 0.85rem;
    margin: 0.5rem 0 1rem;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.2s;
}
.product-info__rating:hover { border-color: var(--clay, #B08968); }

.vy-wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid rgba(176, 137, 104, 0.4);
    border-radius: 50px;
    padding: 0.6rem 1.1rem;
    color: var(--text-dark, #2A1A1A);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    margin: 0.75rem 0 0;
    transition: all 0.2s;
}
.vy-wishlist-btn:hover { border-color: var(--clay, #B08968); background: rgba(253, 235, 199, 0.45); }
.vy-wishlist-btn.is-active { background: rgba(176, 137, 104, 0.12); border-color: var(--clay, #B08968); color: var(--clay-dark, #8C6B4F); }
.vy-wishlist-btn.is-active i { color: #c0392b; }
.vy-wishlist-btn i { font-size: 1rem; transition: transform 0.25s; }
.vy-wishlist-btn.is-active i { transform: scale(1.1); }

.vy-reviews { max-width: 900px; margin: 0 auto; }
.vy-reviews__head { text-align: center; margin-bottom: 2rem; }
.vy-reviews__summary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--text-body, #4A3A30);
    font-size: 1rem;
    margin: 0.5rem 0 0;
}

.vy-reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.vy-review {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(176, 137, 104, 0.18);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
}
.vy-review__head {
    display: flex; align-items: center; gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-body, #4A3A30);
}
.vy-review__author { color: var(--text-dark, #2A1A1A); font-weight: 600; }
.vy-review__badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(74, 124, 89, 0.15);
    color: #4a7c59;
    border-radius: 50px;
    padding: 2px 9px;
    font-size: 0.7rem;
    font-weight: 600;
}
.vy-review__date { color: #999; font-size: 0.78rem; margin-left: auto; }
.vy-review__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    margin: 0.25rem 0 0.4rem;
    font-size: 1.05rem;
    color: var(--text-dark, #2A1A1A);
}
.vy-review__body { color: var(--text-body, #4A3A30); line-height: 1.65; margin: 0; font-size: 0.92rem; }

.vy-reviews__form-wrap {
    background: var(--cream, #FDEBC7);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 2rem;
}
.vy-reviews__form-wrap h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--text-dark, #2A1A1A);
    margin: 0 0 1rem;
    font-size: 1.4rem;
}
.vy-review-form { display: grid; gap: 1rem; }
.vy-review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .vy-review-form__row { grid-template-columns: 1fr; } }
.vy-review-form label {
    display: block;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-dark, #2A1A1A);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.vy-review-form input,
.vy-review-form textarea {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid rgba(176, 137, 104, 0.3);
    background: #fff;
    border-radius: 10px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-dark, #2A1A1A);
}
.vy-review-form input:focus,
.vy-review-form textarea:focus {
    outline: none;
    border-color: var(--clay, #B08968);
    box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.15);
}
.vy-rating-input {
    display: inline-flex;
    gap: 4px;
    font-size: 1.4rem;
    color: #d6c2a3;
    margin-top: 0.4rem;
    cursor: pointer;
}
.vy-rating-input i { transition: color 0.15s, transform 0.15s; }
.vy-rating-input i.is-on { color: #E0B85F; }
.vy-rating-input i:hover { transform: scale(1.15); }
.vy-review-form__msg { margin: 0; font-size: 0.88rem; min-height: 1.2em; }
.vy-review-form__msg.is-error { color: #b00020; }
.vy-review-form__msg.is-success { color: #4a7c59; }

/* =================================================================
   Size selector — supports the full XS–6XL matrix with status pills
   for sold-out and pre-order rare sizes.
   ================================================================= */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.size-btn {
    position: relative;
    min-width: 56px;
    padding: 0.6rem 0.7rem 0.5rem;
    border: 1.5px solid rgba(176, 137, 104, 0.3);
    background: #fff;
    color: var(--text-dark, #2A1A1A);
    border-radius: 10px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.size-btn:hover { border-color: var(--clay, #B08968); }
.size-btn.active {
    background: var(--clay, #B08968);
    color: #fff;
    border-color: var(--clay, #B08968);
}
.size-btn__label { font-size: 0.875rem; }
.size-btn__status {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}
.size-btn--soldout {
    color: #999;
    border-color: rgba(0, 0, 0, 0.08);
    background: #fafafa;
    cursor: not-allowed;
    text-decoration: line-through;
}
.size-btn--soldout .size-btn__status { color: #b00020; text-decoration: none; }
.size-btn--preorder {
    border-color: rgba(176, 137, 104, 0.45);
    background: rgba(253, 235, 199, 0.45);
    color: var(--clay-dark, #8C6B4F);
}
.size-btn--preorder .size-btn__status { color: var(--clay, #B08968); }
.size-btn--preorder:hover { background: rgba(253, 235, 199, 0.85); }
.size-options__note {
    flex: 1 1 100%;
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--text-body, #4A3A30);
    line-height: 1.5;
}

/* =================================================================
   Product accordion — Fabric / Care / Shipping
   Compact collapsible rows that sit alongside the size selector.
   ================================================================= */
.vy-accordion {
    margin-top: 1.25rem;
    border-top: 1px solid rgba(176, 137, 104, 0.18);
}
.vy-accordion__row {
    border-bottom: 1px solid rgba(176, 137, 104, 0.18);
}
.vy-accordion__summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark, #2A1A1A);
    transition: color 0.2s ease;
}
.vy-accordion__summary::-webkit-details-marker { display: none; }
.vy-accordion__summary:hover { color: var(--clay, #B08968); }
.vy-accordion__summary > span > i { color: var(--clay, #B08968); margin-right: 0.5rem; }
.vy-accordion__chevron {
    color: var(--clay, #B08968);
    transition: transform 0.25s ease;
    font-size: 0.8rem;
}
.vy-accordion__row[open] .vy-accordion__chevron { transform: rotate(180deg); }
.vy-accordion__body {
    padding: 0 0 1rem;
    color: var(--text-body, #4A3A30);
    font-size: 0.875rem;
    line-height: 1.7;
}
.vy-accordion__body p { margin: 0 0 0.6rem; }
.vy-accordion__body p:last-child { margin-bottom: 0; }

/* =================================================================
   USP cards — photo on top, title + body underneath.
   Replaces the previous abstract SVG icon with a real lifestyle photo.
   ================================================================= */
.usp__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--cream, #FDEBC7);
    box-shadow: 0 6px 20px rgba(42, 26, 26, 0.08);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.usp__card:hover .usp__photo { transform: translateY(-3px); }
.usp__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.usp__card:hover .usp__photo img { transform: scale(1.04); }

/* =================================================================
   Logo sizing — bumped from 70px → 92px so the brand mark fills the nav.
   Scrolled state stays trim. Adjusts the header padding to match.
   ================================================================= */
.nav__logo-img { height: 92px !important; }
.header.scrolled .nav__logo-img { height: 64px !important; }
.header { padding-top: 0.4rem; padding-bottom: 0.4rem; }
@media (max-width: 768px) {
    .nav__logo-img { height: 56px !important; }
    .header.scrolled .nav__logo-img { height: 44px !important; }
}

/* =================================================================
   Layout — push <main> below the fixed header so hero, login,
   and any "min-height: 100vh" page section is not clipped by it.
   The base style.css positions .header as fixed at top:0 but never
   reserves vertical space for it, so every page top was hidden.
   ================================================================= */
:root { --vy-header-height: 108px; }
@media (max-width: 768px) { :root { --vy-header-height: 70px; } }

main { padding-top: var(--vy-header-height); }

/* When the hero is the first child of <main>, let it consume the
   freshly-revealed space without the fixed header overlapping its content. */
main > .hero,
main > .auth-page,
main > .about-hero,
main > .page-hero {
    /* keep the visual height honest by subtracting the spacer */
    min-height: calc(100vh - var(--vy-header-height));
}

/* The breadcrumb/back row that some pages put right at the top of <main>
   (e.g. shop, cart) had a clamp top margin pulling it under the nav. */
main > .container > .breadcrumbs:first-child,
main > .breadcrumbs:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* =================================================================
   Heritage monument silhouette band — sits above the footer
   Toggle: feature_heritage_band (default ON)
   ================================================================= */
.heritage-band {
    width: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(253, 235, 199, 0.4) 100%);
    color: var(--clay-dark, #6E4F36); /* monuments inherit currentColor */
    margin: 0;
    padding-top: 1rem;
    overflow: hidden;
}
.heritage-band__svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 140px;
    opacity: 0.85;
}
@media (max-width: 640px) {
    .heritage-band__svg { max-height: 90px; }
}

/* =================================================================
   Product detail — Amazon-style zoom (data-feat-product-zoom="1")
   ================================================================= */
/* The lens — a small square that floats inside the main image to indicate
   what region is being zoomed. */
.vy-zoom-lens {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(176, 137, 104, 0.10);
    box-shadow: 0 0 0 9999px rgba(42, 26, 26, 0.18); /* darken the rest of the image */
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.18s ease;
    border-radius: 6px;
    will-change: transform;
}
.vy-zoom-lens.is-active { opacity: 1; }

/* The popup — small fixed-position glass panel that follows the cursor
   with a 3D-ish lift. Sized in JS (default 280×280). */
.vy-zoom-pane {
    position: fixed;
    width: 280px;
    height: 280px;
    background-color: rgba(255, 255, 255, 0.55);
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow:
        0 24px 60px -12px rgba(42, 26, 26, 0.35),
        0 8px 20px rgba(176, 137, 104, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
            backdrop-filter: blur(8px) saturate(140%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.92);
    transform-origin: top left;
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}
.vy-zoom-pane.is-active {
    opacity: 1;
    transform: scale(1);
}
/* Subtle highlight ring to give the popup a 3D feel */
.vy-zoom-pane::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px), (hover: none) {
    /* No zoom panel on narrow / touch viewports — pinch-to-zoom takes over. */
    .vy-zoom-lens, .vy-zoom-pane { display: none !important; }
}

/* Override the existing cursor on the gallery image to make the zoom intent clear */
body[data-feat-product-zoom="1"] .product-gallery__img { cursor: crosshair; }

/* =================================================================
   Brand-story carousel — section #our-craft (data-feat-brand-carousel)
   ================================================================= */
.brand-carousel {
    padding: var(--space-section, 5rem) 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.brand-carousel__heading {
    text-align: center;
    margin-bottom: var(--space-2xl, 3rem);
}
.brand-carousel__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-dark, #2A1A1A);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.brand-carousel__subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-body, #4A3A30);
    margin: 0;
}

.brand-carousel__viewport {
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    background: var(--warm-white);
    box-shadow: var(--shadow-card, 0 2px 8px rgba(42, 26, 26, 0.06));
}
.brand-carousel__track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}
.brand-carousel__slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    min-height: 380px;
}
@media (max-width: 768px) {
    .brand-carousel__slide { grid-template-columns: 1fr; min-height: auto; }
}

.brand-carousel__media {
    background: var(--cream);
    background-size: cover;
    background-position: center;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(176, 137, 104, 0.15);
}
@media (min-width: 769px) {
    .brand-carousel__media { aspect-ratio: auto; min-height: 380px; border-bottom: none; }
}

.brand-carousel__copy {
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}
.brand-carousel__eyebrow {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay, #B08968);
    margin: 0;
}
.brand-carousel__copy h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: var(--text-dark, #2A1A1A);
    margin: 0;
    line-height: 1.25;
}
.brand-carousel__copy p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 300;
    color: var(--text-body, #4A3A30);
    margin: 0;
    line-height: 1.7;
}

/* Controls */
.brand-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: var(--space-xl, 2rem);
}
.brand-carousel__prev, .brand-carousel__next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(176, 137, 104, 0.4);
    background: var(--warm-white);
    color: var(--clay, #B08968);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.brand-carousel__prev:hover, .brand-carousel__next:hover {
    background: var(--clay, #B08968);
    color: #fff;
    transform: translateY(-1px);
}
.brand-carousel__dots {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.brand-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(176, 137, 104, 0.35);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.brand-carousel__dot.is-active {
    background: var(--clay, #B08968);
    transform: scale(1.4);
}

/* =================================================================
   Raw materials section — #raw-materials (data-feat-raw-materials)
   Continuously-scrolling horizontal strip ("logo carousel" pattern).
   Drop real photos into /assets/img/raw-materials/<name>.jpg to swap
   the Font Awesome icon fallbacks for real raw-material imagery.
   ================================================================= */
.raw-materials {
    padding: var(--space-section, 5rem) 0;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}
.raw-materials__heading {
    text-align: center;
    margin-bottom: var(--space-xl, 2rem);
}
.raw-materials__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--text-dark, #2A1A1A);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.raw-materials__subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-body, #4A3A30);
    margin: 0;
    max-width: 520px;
    margin-inline: auto;
}

/* The horizontally-scrolling strip */
.raw-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Soft fade on both edges so cards don't appear / disappear hard */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.raw-marquee__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    /* Smaller cards now scroll a touch quicker — ~3s per card. */
    animation: vy-marquee 35s linear infinite;
    will-change: transform;
    padding: 0.5rem 0; /* room for hover lift */
}

@keyframes vy-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* track is duplicated, so -50% lands on the seam */
}

.raw-marquee:hover .raw-marquee__track,
.raw-marquee:focus-within .raw-marquee__track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .raw-marquee__track { animation: none; }
}

.raw-marquee__card {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.raw-marquee__card:hover {
    transform: translateY(-6px);
}

.raw-marquee__media {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.75rem;
    border-radius: 50%; /* circular badges — feels more refined */
    overflow: hidden;
    background: var(--cream, #FDEBC7);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(42, 26, 26, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    outline: 1px solid rgba(176, 137, 104, 0.22);
    outline-offset: 1px;
    transition: outline-color 0.3s ease, box-shadow 0.3s ease;
}
.raw-marquee__card:hover .raw-marquee__media {
    outline-color: var(--clay, #B08968);
    box-shadow: 0 8px 20px rgba(42, 26, 26, 0.14);
}

.raw-marquee__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.raw-marquee__icon {
    font-size: 1.6rem;
    color: var(--clay-dark, #8C6B4F);
}

.raw-marquee__name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark, #2A1A1A);
    margin: 0 0 0.15rem;
    line-height: 1.25;
    letter-spacing: 0.005em;
}
.raw-marquee__caption {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 300;
    font-size: 0.72rem;
    color: var(--text-body, #4A3A30);
    margin: 0;
    line-height: 1.4;
    padding: 0 0.4rem;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .raw-marquee__track { gap: 0.75rem; }
    .raw-marquee__card { width: 110px; }
    .raw-marquee__media { width: 64px; height: 64px; }
    .raw-marquee__icon { font-size: 1.3rem; }
    .raw-marquee__name { font-size: 0.85rem; }
    .raw-marquee__caption { font-size: 0.68rem; }
}
