/* =========================================================
   LUXSOME TAGS PAGE
========================================================= */

.tags-page {
    --tag-ink: #2f211b;
    --tag-muted: #71645d;
    --tag-line: rgba(47, 33, 27, 0.12);
    --tag-card: rgba(255, 255, 255, 0.58);
    --tag-serif: "Cormorant Garamond", Georgia, serif;
    --tag-sans: "Montserrat", Arial, sans-serif;
    --tag-ease: cubic-bezier(0.22, 1, 0.36, 1);

    background: #f8f4ef;
    color: var(--tag-ink);
    font-family: var(--tag-sans);
}

.tags-page main {
    overflow: clip;
}

.tags-eyebrow {
    margin: 0 0 14px;
    color: #673629;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.tags-section-heading {
    max-width: 900px;
    margin-bottom: clamp(42px, 6vw, 78px);
}

.tags-section-heading h2 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(3.8rem, 7vw, 7.8rem);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.8;
}

.tags-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.tags-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tags-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 25px;
    border: 1px solid var(--tag-ink);
    border-radius: 999px;
    background: var(--tag-ink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.tags-button:hover {
    border-color: #673629;
    background: #673629;
    transform: translateY(-2px);
}

.tags-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.85s var(--tag-ease),
        transform 0.85s var(--tag-ease);
}

.tags-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* HERO */

.tags-hero {
    position: relative;
    min-height: calc(100svh - var(--header-height, 78px));
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 50% 58%,
            rgba(255,255,255,1) 0%,
            rgba(250,252,255,.94) 24%,
            rgba(239, 217, 202,.5) 46%,
            transparent 70%
        ),
        radial-gradient(
            circle at 82% 36%,
            rgba(198, 145, 94,.34) 0%,
            rgba(224, 190, 158,.18) 32%,
            transparent 66%
        ),
        radial-gradient(
            circle at 13% 18%,
            rgba(246, 235, 226,.52) 0%,
            rgba(251, 246, 241,.24) 38%,
            transparent 68%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #f3ece6 48%,
            #eaded7 100%
        );
}

.tags-hero__texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.016;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='tagNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23tagNoise)' opacity='.65'/%3E%3C/svg%3E");
}

.tags-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100svh - var(--header-height, 78px));
    padding: clamp(78px, 9vw, 130px) 0 0;
}

.tags-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1050px;
    text-align: center;
}

.tags-hero h1 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(4.5rem, 8.6vw, 9rem);
    font-weight: 400;
    letter-spacing: -0.068em;
    line-height: 0.78;
}

.tags-hero__description {
    max-width: 620px;
    margin: 24px auto 0;
    color: var(--tag-muted);
    font-size: clamp(0.9rem, 1.1vw, 1.03rem);
    line-height: 1.75;
}

.tags-hero__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 0 clamp(40px, 5vw, 80px) 28px;
    isolation: isolate;
}

.tags-hero__visual img {
    position: relative;
    z-index: 2;
    width: min(78vw, 980px);
    max-width: 980px;
    max-height: 720px;
    object-fit: contain;
    filter:
        drop-shadow(0 22px 18px rgba(74, 45, 35, 0.08))
        drop-shadow(0 50px 54px rgba(103, 54, 41, 0.13));
}

.tags-hero__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: min(75vw, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.98) 0%,
            rgba(247, 235, 226,.58) 42%,
            transparent 72%
        );
    filter: blur(24px);
    transform: translate(-50%, -50%);
}

.tags-hero__shadow {
    position: absolute;
    bottom: 38px;
    left: 50%;
    z-index: 1;
    width: min(50%, 570px);
    height: 38px;
    border-radius: 50%;
    background: rgba(103, 54, 41, 0.15);
    filter: blur(27px);
    transform: translateX(-50%);
}

/* VALUE */

.tags-value,
.tag-pieces,
.tags-faq {
    padding: clamp(90px, 10vw, 150px) 0;
    background: #fffdf9;
}

.tags-value__grid,
.tag-pieces__grid,
.tag-finishes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tags-value-card,
.tag-piece-card,
.tag-finish-card {
    border: 1px solid var(--tag-line);
    border-radius: 22px;
    background: #fff;
}

.tags-value-card {
    min-height: 340px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(74, 45, 35,.05);
}

.tags-value-card__number,
.tag-piece-card span {
    color: #673629;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.tags-value-card h3 {
    margin: 76px 0 14px;
    font-family: var(--tag-serif);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 0.95;
}

.tags-value-card p,
.tag-piece-card p,
.tag-finish-card p {
    margin: 0;
    color: var(--tag-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

/* COLLECTION */

.tags-collection {
    position: relative;
    overflow: hidden;
    padding-top: clamp(80px, 9vw, 130px);
    background:
        radial-gradient(circle at 50% 34%, rgba(255,255,255,.94), transparent 56%),
        linear-gradient(145deg, #faf7f3, #eaded7);
}

.tags-collection__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 920px;
    text-align: center;
}

.tags-collection__intro h2 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(4rem, 7.8vw, 8.2rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.79;
}

.tags-collection__intro > p:last-child {
    max-width: 530px;
    margin: 20px auto 0;
    color: var(--tag-muted);
}

/* CAROUSEL */

.tags-carousel {
    width: 100%;
    margin-top: 52px;
    padding: 32px 0 clamp(70px, 8vw, 110px);
    overflow: hidden;
    border-top: 1px solid var(--tag-line);
    background: rgba(255,255,255,.18);
}

.tags-carousel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.tags-carousel__header > p {
    margin: 0;
    color: #673629;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tags-carousel__controls {
    display: flex;
    gap: 8px;
}

.tags-carousel__controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(47, 33, 27,.23);
    border-radius: 50%;
    background: rgba(255,255,255,.32);
    cursor: pointer;
    transition: 0.25s ease;
}

.tags-carousel__controls button:hover:not(:disabled) {
    background: var(--tag-ink);
    color: #fff;
    transform: translateY(-2px);
}

.tags-carousel__controls button:disabled {
    opacity: 0.3;
    cursor: default;
}

.tags-carousel__viewport {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.tags-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.tags-carousel__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.tags-carousel__track {
    display: flex;
    gap: clamp(14px, 1.5vw, 23px);
    width: max-content;
    padding-left: max(18px, calc((100vw - 1380px) / 2));
    padding-right: max(18px, 6vw);
}

.tags-carousel-card {
    flex: 0 0 clamp(260px, 23vw, 370px);
    scroll-snap-align: start;
    transition: transform 0.4s var(--tag-ease);
}

.tags-carousel-card:hover {
    transform: translateY(-6px);
}

.tags-carousel-card__image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    padding: clamp(22px, 2.7vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(47, 33, 27,.06);
    border-radius: 22px;
    background: var(--tag-card);
    box-shadow: 0 18px 45px rgba(74, 45, 35,.06);
}

.tags-carousel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.tags-carousel-card__caption {
    padding: 17px 4px 0;
}

.tags-carousel-card__caption h3 {
    margin: 0;
    font-size: clamp(1.08rem, 1.5vw, 1.4rem);
}

.tags-carousel-card__caption p {
    margin: 5px 0 0;
    color: var(--tag-muted);
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tags-carousel__progress {
    height: 1px;
    margin-top: 38px;
    overflow: hidden;
    background: rgba(47, 33, 27,.14);
}

.tags-carousel__progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: #673629;
}

/* STORY SECTIONS */

.tag-story {
    position: relative;
    overflow: hidden;
}

.tag-story--one {
    background:
        radial-gradient(circle at 78% 42%, rgba(255,255,255,.92), transparent 30%),
        linear-gradient(135deg, #fbf9f6, #f0e7e1);
}

.tag-story--two {
    background:
        radial-gradient(circle at 22% 40%, rgba(255,255,255,.9), transparent 30%),
        linear-gradient(135deg, #f4ece7, #f8f3ef);
}

.tag-story--three {
    background:
        radial-gradient(circle at 76% 38%, rgba(255,255,255,.92), transparent 30%),
        linear-gradient(135deg, #f2e9e3, #eaded7);
}

.tag-story__inner {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(450px,1.15fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
    min-height: 92svh;
    padding-block: clamp(85px, 9vw, 135px);
}

.tag-story--two .tag-story__copy {
    order: 2;
}

.tag-story--two .tag-story__visual {
    order: 1;
}

.tag-story__copy h2 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(4rem, 7vw, 7.6rem);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.8;
}

.tag-story__copy > p:not(.tags-eyebrow) {
    max-width: 540px;
    margin: 26px 0 0;
    color: var(--tag-muted);
    line-height: 1.8;
}

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

.tag-story__points li {
    position: relative;
    padding-left: 22px;
    font-size: 0.84rem;
}

.tag-story__points li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 1px;
    background: #673629;
    content: "";
}

.tag-story__visual {
    display: grid;
    place-items: center;
}

.tag-story__visual img {
    width: min(100%, 760px);
    max-height: 74svh;
    object-fit: contain;
    filter: drop-shadow(0 44px 54px rgba(103, 54, 41,.14));
}

/* PIECES & FINISHES */

.tag-piece-card {
    min-height: 300px;
    padding: 30px;
}

.tag-piece-card h3 {
    margin: 70px 0 12px;
    font-family: var(--tag-serif);
    font-size: 2rem;
    font-weight: 500;
}

.tag-finishes {
    padding: clamp(90px, 10vw, 150px) 0;
    background: linear-gradient(145deg, #f3ece6, #eaded7);
}

.tag-finish-card {
    min-height: 210px;
    padding: 28px;
    background: rgba(255,255,255,.58);
}

.tag-finish-card h3 {
    margin: 0 0 12px;
    font-family: var(--tag-serif);
    font-size: 1.8rem;
    font-weight: 500;
}

/* FAQ */

.tags-faq__layout {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    gap: clamp(42px, 7vw, 100px);
}

.tags-faq__intro h2 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 0.84;
}

.tags-faq__intro > p:last-child {
    color: var(--tag-muted);
}

.tags-faq__items details {
    border-top: 1px solid var(--tag-line);
}

.tags-faq__items details:last-child {
    border-bottom: 1px solid var(--tag-line);
}

.tags-faq__items summary {
    position: relative;
    padding: 22px 42px 22px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

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

.tags-faq__items summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    content: "+";
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.tags-faq__items details[open] summary::after {
    content: "−";
}

.tags-faq__items details p {
    margin: 0;
    padding: 0 42px 22px 0;
    color: var(--tag-muted);
    line-height: 1.75;
}

/* CTA */

.tags-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 12vw, 180px) 0;
    background:
        radial-gradient(circle at 76% 28%, rgba(198, 145, 94,.28), transparent 34%),
        #2e1c15;
    color: #fff;
}

.tags-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    text-align: center;
}

.tags-cta .tags-eyebrow {
    color: #e8c69d;
}

.tags-cta h2 {
    margin: 0;
    font-family: var(--tag-serif);
    font-size: clamp(4rem, 7.8vw, 8.2rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.78;
}

.tags-cta__inner > p:not(.tags-eyebrow) {
    max-width: 600px;
    margin: 24px auto 0;
    color: rgba(255,255,255,.74);
}

.tags-button--light {
    border-color: #fff;
    background: #fff;
    color: #2e1c15;
}

.tags-link--light {
    color: #fff;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .tags-value__grid,
    .tag-pieces__grid,
    .tag-finishes__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .tag-story__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tag-story--two .tag-story__copy,
    .tag-story--two .tag-story__visual {
        order: initial;
    }
}

@media (max-width: 700px) {
    .tags-hero {
        min-height: auto;
    }

    .tags-hero__inner {
        min-height: auto;
        padding-top: 62px;
    }

    .tags-hero h1 {
        font-size: clamp(3.8rem, 17vw, 5.6rem);
    }

    .tags-hero__visual {
        margin-top: 12px;
        padding: 0 18px 18px;
    }

    .tags-hero__visual img {
        width: min(94vw, 520px);
        max-width: 520px;
        max-height: none;
    }

    .tags-value__grid,
    .tag-pieces__grid,
    .tag-finishes__grid,
    .tags-faq__layout {
        grid-template-columns: 1fr;
    }

    .tags-section-heading h2,
    .tags-collection__intro h2,
    .tag-story__copy h2,
    .tags-cta h2 {
        font-size: clamp(3.5rem, 15vw, 5.2rem);
    }

    .tags-carousel-card {
        flex-basis: 74vw;
    }

    .tags-carousel__header,
    .tags-carousel__progress {
        width: calc(100% - 32px);
        margin-inline: auto;
    }

    .tags-carousel__track {
        padding-inline: 16px;
    }

    .tag-story__inner {
        gap: 30px;
        padding-block: 70px;
    }

    .tag-story__visual img {
        width: min(94vw, 520px);
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tags-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .tags-carousel__viewport {
        scroll-behavior: auto;
    }
}


/* =========================================================
   LUXSOME TAGS — SUBTLE WARM GRADIENT SYSTEM
   Soft, wide gradients; no circular spotlight effect.
========================================================= */

.tags-page {
    background: #f8f4ef;
    color: #2f211b;
}

/* Hero: mostly uniform cream with a very soft directional wash */
.tags-hero {
    background:
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fbf7f3 42%,
            #f4ebe5 100%
        ) !important;
}

/* Remove the large circular “egg” halo */
.tags-hero__halo {
    display: none !important;
}

/* Keep only a realistic product shadow */
.tags-hero__visual img {
    filter:
        drop-shadow(0 18px 16px rgba(74, 45, 35, 0.06))
        drop-shadow(0 38px 42px rgba(74, 45, 35, 0.10)) !important;
}

.tags-hero__shadow {
    width: min(42%, 460px);
    height: 24px;
    bottom: 34px;
    background: rgba(74, 45, 35, 0.10) !important;
    filter: blur(22px);
}

/* White editorial sections */
.tags-value,
.tag-pieces,
.tags-faq {
    background: #fffdf9 !important;
}

/* Collection: very gentle, nearly flat gradient */
.tags-collection {
    background:
        linear-gradient(
            180deg,
            #faf7f3 0%,
            #f6f0eb 52%,
            #efe5de 100%
        ) !important;
}

/* Product cards stay clean, not tinted */
.tags-carousel-card__image {
    background: rgba(255, 255, 255, 0.70) !important;
    border-color: rgba(47, 33, 27, 0.07) !important;
    box-shadow:
        0 14px 34px rgba(74, 45, 35, 0.055) !important;
}

/* Story sections alternate using subtle linear shifts only */
.tag-story--one {
    background:
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #f8f3ef 100%
        ) !important;
}

.tag-story--two {
    background:
        linear-gradient(
            135deg,
            #f5eee9 0%,
            #fbf8f5 100%
        ) !important;
}

.tag-story--three {
    background:
        linear-gradient(
            135deg,
            #faf7f3 0%,
            #eee3dc 100%
        ) !important;
}

/* Finishes: a refined warm wash instead of a strong coloured block */
.tag-finishes {
    background:
        linear-gradient(
            145deg,
            #f6f0eb 0%,
            #eee3dc 100%
        ) !important;
}

/* Final CTA: deep brown with only one restrained glow */
.tags-cta {
    background:
        linear-gradient(
            145deg,
            #2e1c15 0%,
            #3f271e 58%,
            #5a3529 100%
        ) !important;
}

.tags-cta::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            transparent 34%
        );
    content: "";
    pointer-events: none;
}

/* Warm accents */
.tags-eyebrow,
.tags-value-card__number,
.tag-piece-card span,
.tags-carousel__header > p {
    color: #673629 !important;
}

.tags-carousel__progress span,
.tag-story__points li::before {
    background: #673629 !important;
}

.tags-button {
    border-color: #2e1c15;
    background: #2e1c15;
}

.tags-button:hover {
    border-color: #673629;
    background: #673629;
}

.tags-cta .tags-eyebrow {
    color: #e8c69d !important;
}

.tags-button--light {
    border-color: #ffffff;
    background: #ffffff;
    color: #2e1c15;
}
