:root {
    --background: #f8f4ef;
    --surface: #ffffff;
    --text: #2f211b;
    --muted: hsl(21, 11%, 41%);
    --accent: #2e1c15;
    --accent-dark: #673629;
    --border: rgba(47, 33, 27, 0.16);
    --header-height: 78px;
    --container-width: 1380px;
    --shadow: 0 8px 24px rgba(17, 17, 17, 0.5);

    --white: #ffffff;
    --cream: #f7f3ed;
    --soft-cream: #fbf9f6;
    --dark: #211f1d;
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}


img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

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

body.menu-open {
    overflow: hidden;
}

.logo-image {
    width: 185px;
    height: auto;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container-width), calc(100% - 48px));
    margin-inline: auto;
}

.section-eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(248, 244, 239, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    height: 46px;
}

.site-logo-text {
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-navigation a {
    position: relative;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    width: 44px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after,
.site-navigation a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.header-contact-button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.header-contact-button::after {
    display: none;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 23px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 761px) and (max-width: 850px) {
    body {
        padding-top: var(--header-height);
    }

    .hero-section {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 42% 58%;
        align-items: center;

        min-height: 0;

        padding: 45px 32px 50px;
    }

    .hero-image-area {
        min-height: 0;
    }

    .hero-image-wrapper {
        min-height: 0;
    }

    .hero-image {
        width: 100%;
        max-width: 500px;
        height: 520px;
        transform: none;
    }

    .hero-content h1 {
        margin-bottom: 22px;
        font-size: clamp(2.35rem, 4.5vw, 3rem);
    }

    .hero-content p {
        margin-bottom: 24px;
        font-size: 1rem;
    }
    .site-navigation a::after {
        right: 0;
        bottom: 14px;
        left: 0;
        height: 1px;
        width: 44px;
    }
    .packaging-builder-promo__preview{
        display: none;
    }
}

@media (min-width: 851px) and (max-width: 1180px) {
    .hero-section {
        min-height: auto;
    }

    .hero-container {
        padding: 55px 32px 60px;
    }

    .hero-image-area {
        min-height: 0;
    }

    .hero-image {
        max-width: 620px;
        transform: none;
    }

}

@media (max-width: 850px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: min(100% - 32px, var(--container-width));
    }
    .site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    
        width: 100%;
        height: var(--header-height);
    
        z-index: 1300;
    
        background: rgba(248, 244, 239, 0.98);
    
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-menu-button {
        position: relative;
        z-index: 1300;
        display: block;
    }

    .site-navigation {
        position: fixed;
        z-index: 1200;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        width: 100%;
        height: calc(100dvh - var(--header-height));

        padding: 34px 24px;

        background: rgba(248, 244, 239, 0.99);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-12px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .site-navigation.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-navigation a {
        width: 100%;
        padding: 17px 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .header-contact-button {
        width: 100%;
        margin-top: 24px;
        border: 0 !important;
        font-family: "Montserrat", sans-serif !important;
        font-size: 0.85rem !important;
    }
    .site-navigation a::after {
        right: 0;
        bottom: 14px;
        left: 0;
        height: 1px;
        width: 44px;
    }
}

.story-hero__content h1 {
    color: white;
}


/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel {
    position: relative;
    width: 100%;
    height: min(840px, 92vh);
    min-height: 640px;
    overflow: hidden;
    background: #211712;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease,
        transform 5s ease;
}

.hero-slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
You can adjust individual image positions like this:

.hero-slide:nth-child(1) .hero-slide-image {
    object-position: 65% center;
}

.hero-slide:nth-child(2) .hero-slide-image {
    object-position: center;
}

.hero-slide:nth-child(3) .hero-slide-image {
    object-position: 60% center;
}
*/

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(24, 15, 11, 0.9) 0%,
            rgba(24, 15, 11, 0.74) 39%,
            rgba(24, 15, 11, 0.36) 65%,
            rgba(24, 15, 11, 0.08) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding-right: 40%;
    color: #fffaf4;
}

.hero-eyebrow {
    margin: 0 0 20px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #e8c69d;
}

.hero-content h1,
.hero-content h2 {
    max-width: 820px;
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fffaf4;
}

.hero-description {
    max-width: 630px;
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255, 250, 244, 0.84);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 27px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: #f2dcc2;
    color: #291b15;
}

.hero-button-primary:hover {
    background: #fff4e5;
}

.hero-button-secondary {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.hero-button-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

/* Carousel arrows */
/* 
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(20, 13, 10, 0.26);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.hero-arrow:hover {
    border-color: #ffffff;
    background: rgba(20, 13, 10, 0.72);
}

.hero-arrow-left {
    left: 28px;
}

.hero-arrow-right {
    right: 28px;
} */

/* Carousel dots */

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.hero-dot.active {
    width: 32px;
    background: #ffffff;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
    .hero-carousel {
        height: 780px;
        min-height: 690px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(24, 15, 11, 0.9) 0%,
                rgba(24, 15, 11, 0.68) 62%,
                rgba(24, 15, 11, 0.26) 100%
            );
    }

    .hero-content {
        padding-right: 12%;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2.7rem, 7vw, 4.6rem);
    }

    .hero-arrow-left {
        left: 18px;
    }

    .hero-arrow-right {
        right: 18px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {
    .hero-carousel {
        height: 760px;
        min-height: 720px;
    }

    .hero-slide {
        align-items: flex-end;
    }

    .hero-slide-image {
        object-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(24, 15, 11, 0.03) 0%,
                rgba(24, 15, 11, 0.25) 30%,
                rgba(24, 15, 11, 0.88) 63%,
                rgba(24, 15, 11, 0.98) 100%
            );
    }

    .hero-content {
        width: 88%;
        padding: 0 0 90px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        font-size: 0.66rem;
        letter-spacing: 0.19em;
    }

    .hero-content h1,
    .hero-content h2 {
        margin-bottom: 16px;
        font-size: clamp(2.15rem, 10vw, 3.2rem);
        line-height: 1.04;
    }

    .hero-content h1 br,
    .hero-content h2 br {
        display: none;
    }

    .hero-description {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
        margin-top: 24px;
    }

    .hero-button {
        width: 100%;
        min-height: 50px;
    }

    .hero-arrow {
        top: 35%;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-arrow-left {
        left: 12px;
    }

    .hero-arrow-right {
        right: 12px;
    }

    .hero-dots {
        bottom: 26px;
    }
    .site-navigation a::after {
        right: 0;
        bottom: 14px;
        left: 0;
        height: 1px;
        width: 44px;
    }

    .packaging-builder-promo__preview{
        display: none;
    }
}

/* Small mobile screens */

@media (max-width: 380px) {
    .hero-carousel {
        height: 790px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-button,
    .hero-arrow,
    .hero-dot {
        transition: none;
    }
}


/* =====================================================
   PACKAGING SYSTEM CAROUSEL
===================================================== */

.system-reveal {
    --active-system-background: #f8f4ef;
    --system-ink: #2f211b;
    --system-muted: #716660;
    --system-accent: #4a2d23;
    --system-line: rgba(74, 45, 35, 0.24);

    position: relative;
    padding: clamp(10px, 10vw, 14px) 0;
    overflow: hidden;
    background: var(--active-system-background);
    color: var(--system-ink);
    transition: background-color 650ms cubic-bezier(0.22, 1, 0.36, 1), color 350ms ease;
}

.system-reveal::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.38), transparent 42%);
    content: "";
    pointer-events: none;
}

.system-reveal > .container {
    position: relative;
    z-index: 1;
}

.system-reveal[data-theme="dark"] {
    --system-ink: #fffaf6;
    --system-muted: rgba(255, 250, 246, 0.76);
    --system-accent: #fffaf6;
    --system-line: rgba(255, 255, 255, 0.32);
}

.system-reveal-heading {
    max-width: 780px;
    margin-bottom: clamp(46px, 7vw, 76px);
}

.system-eyebrow,
.system-progress-text {
    color: var(--system-accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.system-eyebrow {
    margin: 0 0 18px;
}

.system-reveal-heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--system-ink);
    font-size: clamp(2.7rem, 6vw, 3rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.system-intro {
    max-width: 660px;
    margin: 26px 0 0;
    color: var(--system-muted);
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.75;
}

.system-navigation {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 28px;
}

.system-progress {
    width: min(580px, 100%);
}

.system-progress-text {
    margin: 0 0 12px;
}

.system-progress-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 24px;
}

.system-progress-track::before,
.system-progress-fill {
    position: absolute;
    top: 50%;
    right: 7px;
    left: 7px;
    height: 1px;
    transform: translateY(-50%);
    content: "";
}

.system-progress-track::before {
    background: var(--system-line);
}

.system-progress-fill {
    right: auto;
    width: 0;
    background: var(--system-accent);
    transition: width 400ms ease;
}

.system-progress-step {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.system-progress-step span {
    display: block;
    width: 9px;
    height: 9px;
    border: 1px solid var(--system-accent);
    border-radius: 50%;
    background: var(--active-system-background);
    transition: width 220ms ease, height 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.system-progress-step.is-complete span,
.system-progress-step.is-active span {
    background: var(--system-accent);
}

.system-progress-step.is-active span {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 4px var(--active-system-background), 0 0 0 5px var(--system-line);
}

.system-progress-step:focus-visible,
.system-arrow:focus-visible,
.system-slider:focus-visible {
    outline: 2px solid var(--system-accent);
    outline-offset: 3px;
}

.system-arrow-controls {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.system-arrow {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--system-accent);
    border-radius: 50%;
    background: transparent;
    color: var(--system-accent);
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.system-arrow:hover:not(:disabled) {
    background: var(--system-accent);
    color: var(--active-system-background);
    transform: translateY(-2px);
}

.system-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.system-slider {
    display: flex;
    gap: clamp(18px, 2.3vw, 30px);
    padding: 12px 2px 34px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.system-slider::-webkit-scrollbar {
    display: none;
}

.system-slider.is-dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
}

.system-slider.is-dragging * {
    user-select: none;
}

.system-card {
    flex: 0 0 clamp(310px, 31vw, 410px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(74, 45, 35, 0.1);
    border-radius: 18px;
    background: #ffffff;
    opacity: 0.7;
    transform: scale(0.975);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: opacity 420ms ease, transform 420ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.system-card.is-current {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(74, 45, 35, 0.24);
}

.system-card.is-current:hover {
    transform: translateY(-7px);
}

.system-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eee8e3;
}

.system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms ease;
}

.system-card.is-current:hover .system-image img {
    transform: scale(1.04);
}

.system-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(25px, 3vw, 34px);
    background-color: #eee7df;
    z-index: 2;
}

.system-step-label {
    margin-bottom: 16px;
    color: #4a2d23;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.system-content h3 {
    margin: 0 0 14px;
    color: #2f211b;
    font-weight: 500;
    line-height: 1.15;
}

.system-content p {
    margin: 0;
    color: #716660;
    font-size: 0.95rem;
    line-height: 1.72;
}

.system-card--final {
    border-color: #673629;
}

.system-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    color: #4a2d23;
    font-size: 0.9rem;
    font-weight: 600;
}


.system-button span {
    transition: transform 200ms ease;
}

.system-button:hover span {
    transform: translateX(5px);
}

.system-swipe-hint {
    display: none;
    margin: 4px 0 0;
    color: var(--system-muted);
    font-size: 0.76rem;
    text-align: center;
}

@media (max-width: 900px) {
    .system-card {
        flex-basis: clamp(310px, 58vw, 390px);
    }
}

@media (max-width: 600px) {
    .system-reveal {
        padding: 74px 0;
    }

    .system-reveal-heading {
        margin-bottom: 42px;
    }

    .system-reveal-heading h2 {
        font-size: clamp(2rem, 12vw, 2rem);
        font-weight: 400;
        line-height: 1.2;
    }

    .system-navigation {
        display: block;
        margin-bottom: 18px;
    }

    .system-arrow-controls {
        display: none;
    }

    .system-slider {
        gap: 16px;
        padding-bottom: 24px;
    }

    .system-card {
        flex-basis: 86%;
        border-radius: 14px;
        opacity: 0.64;
    }

    .system-card.is-current {
        opacity: 1;
    }

    .system-card.is-current:hover {
        transform: scale(1);
    }

    .system-content {
        padding: 24px 21px 26px;
    }

    .system-content h3 {
        font-size: 1.2rem;
    }

    .system-content p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .system-swipe-hint {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .system-reveal,
    .system-slider,
    .system-card,
    .system-image img,
    .system-progress-fill,
    .system-progress-step span,
    .system-arrow,
    .system-button span {
        scroll-behavior: auto;
        transition: none;
    }
}

/* ==========================================
   INACTIVE CARDS
========================================== */

/* .system-card{
    transition:
        transform .7s cubic-bezier(.22,1,.36,1),
        filter .7s cubic-bezier(.22,1,.36,1),
        opacity .7s cubic-bezier(.22,1,.36,1);

} */

/* Cards before and after the active one */
/* 
.system-card:not(.is-current){
    opacity:.18;
    transform:scale(.92);
    filter:
        blur(5px)
        brightness(.42)
        saturate(.7);
}

.system-card.is-current{
    opacity:1;
    transform:scale(1);
    filter:
        blur(0)
        brightness(1)
        saturate(1);
    z-index:10;
}

.system-slider{
    position:relative;
    overflow:hidden;
}

.system-slider::before,
.system-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:180px;
    height:100%;
    z-index:20;
}

.system-slider::before{
    left:0;
}

.system-image {
    position: relative;
    overflow: hidden;
    background: #eee7e1;
}

.system-image::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.42) 50%,
            rgba(255, 255, 255, 0) 80%
        ),
        #eee7e1;
    transform: translateX(-100%);
    content: "";
    opacity: 0;
}

.system-image.is-loading::before {
    opacity: 1;
}

.system-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 400ms ease;
}

.system-image.is-loading img {
    opacity: 0;
}

@keyframes systemSkeleton {
    to {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .system-image.is-loading::before {
        animation: none;
    }
} */

/* =====================================================
   WHY THE SYSTEM MATTERS
===================================================== */

.system-value-section {
    position: relative;
    padding: clamp(90px, 11vw, 150px) 0;
    overflow: hidden;
    background: #2e1c15;
    color: #fffaf6;
}

.system-value-section::before {
    position: absolute;
    top: 0;
    right: 8%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    content: "";
}



.system-value-section > .container {
    position: relative;
    z-index: 1;
}

.system-value-intro {
    display: grid;
    grid-template-columns:
        minmax(180px, 0.35fr)
        minmax(0, 1fr);
    column-gap: clamp(40px, 8vw, 120px);
    align-items: start;
}

.system-value-intro .section-eyebrow {
    margin-top: 12px;
    color: #d7b99a;
    font-size: 11.2px;
}

.system-value-intro h2 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2.5rem, 5.4vw, 5.2rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #fffaf6;
}

.system-value-description {
    grid-column: 2;
    max-width: 720px;
    margin: 32px 0 0;
    color: rgba(255, 250, 246, 0.72);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.85;
}

.system-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(70px, 9vw, 120px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.system-value-item {
    min-width: 0;
    padding: 38px clamp(24px, 3vw, 46px) 12px 0;
}

.system-value-item:not(:last-child) {
    margin-right: clamp(24px, 3vw, 46px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.system-value-number {
    display: block;
    margin-bottom: 52px;
    color: #d7b99a;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.system-value-item h3 {
    max-width: 290px;
    margin: 0 0 20px;
    font-size: clamp(1.55rem, 2.3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fffaf6;
}

.system-value-item p {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 250, 246, 0.68);
    font-size: 0.95rem;
    line-height: 1.8;
}

.system-value-action {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(56px, 7vw, 90px);
}

.system-value-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    color: #fffaf6;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        border-color 0.25s ease,
        gap 0.25s ease,
        color 0.25s ease;
}

.system-value-link:hover {
    gap: 25px;
    border-color: #d7b99a;
    color: #d7b99a;
}

/* Tablet */

@media (max-width: 900px) {
    .system-value-intro {
        grid-template-columns: 1fr;
    }

    .system-value-description {
        grid-column: 1;
    }

    .system-value-intro .section-eyebrow {
        margin-top: 0;
        font-size: 11.2px;
    }

    .system-value-grid {
        grid-template-columns: 1fr;
    }

    .system-value-item {
        padding: 34px 0;
    }

    .system-value-item:not(:last-child) {
        margin-right: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .system-value-number {
        margin-bottom: 28px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .system-value-section {
        padding: 76px 0;
    }

    .system-value-intro h2 {
        font-size: 20px;
        line-height: 1.5;
        width: 350px;
    }

    .system-value-description {
        margin-top: 24px;
        font-size: 0.96rem;
        line-height: 1.75;
        max-width: 330px;
    }

    .system-value-grid {
        margin-top: 56px;
    }

    .system-value-item h3 {
        font-size: 1.2rem;
    }

    .system-value-action {
        justify-content: flex-start;
        margin-top: 50px;
    }
    .packaging-builder-promo__preview{
        display: none;
    }
}


/* Catalogue section */

.catalogue-section {
    padding: 28px 48px 72px;
    background: #eee7df;
}

.catalogue-heading {
    max-width: 1000px;

    margin: 0 auto 70px;

    text-align: center;
}

.catalogue-cover-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.section-label {
    margin: 0 0 19px;

    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalogue-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 2.4rem);
    color: #282828;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalogue-grid {
    width: 100%;
    max-width: 1160px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;

    margin: 0 auto;
    justify-content: center;
}

.catalogue-item {
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
}

.catalogue-cover-link {
    display: block;
}

.catalogue-cover {
    aspect-ratio: 0.72;

    object-fit: cover;

    background: var(--white);

    box-shadow: var(--shadow);

    transition: transform 0.25s ease;
    width: 90%;
    margin: 0 auto;
}

.catalogue-cover:hover {
    transform: translateY(-6px);
}

.catalogue-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 22px 0 18px;

    color: var(--dark-grey);

    font-size: 0.78rem;
    text-transform: uppercase;
}

.pdf-icon {
    color: #d51327;

    font-size: 0.66rem;
    font-weight: 700;
}

.meta-dot {
    color: var(--black);
}

.catalogue-description {
    max-width: 430px;

    margin: 0 auto 30px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.93rem;
    line-height: 1.45;
}

.catalogue-actions {
    display: flex;
    justify-content: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 235px;
    min-height: 55px;

    padding: 0 22px;

    color: var(--background);
    background: var(--accent);

    border: 2px solid var(--black);
    border-radius: 7px;

    font-size: 0.86rem;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.download-button:hover {
    color: var(--background);
    background: var(--accent-dark);

    transform: translateY(-2px);
}

.download-icon {
    display: inline-grid;
    place-items: center;

    width: 19px;
    height: 19px;

    color: var(--white);
    background: var(--black);

    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 0.8rem;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.gallery-button,
.view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 50px;
    min-height: 55px;

    padding: 0 28px;

    color: var(--accent);
    border: 1px solid var(--accent);
    border: 2px solid var(--accent-dark);
    border-radius: 7px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.view-button {
    background-color: var(--background);
}

.gallery-button:hover ,
.view-button:hover {
    color: var(--background);
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.catalogue-actions {
    display: flex;
    gap: 12px;
}

.catalogue-actions .view-button,
.catalogue-actions .download-button {
    flex: 1;
    max-width: 180px;
}

@media (max-width: 600px) {
    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .catalogue-actions {
        display: flex;
        gap: 12px;
        width: 100%;
    }

    .catalogue-actions .view-button,
    .catalogue-actions .download-button {
        flex: 1;
        width: auto;
        min-width: 0; /* Prevents overflow */
    }
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.fullscreen-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    border: 1px solid #171717;
    border-radius: 3px;

    color: #171717;
    background: transparent;

    font-family: "Montserrat", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.fullscreen-button:hover {
    color: #ffffff;
    background-color: #171717;
    transform: translateY(-2px);
}


/* =========================================================
   CATALOGUE BUTTON RESET
========================================================= */

@media (max-width: 600px) {
    .catalogue-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .catalogue-actions .view-button,
    .catalogue-actions .download-button {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 44px;
        padding: 0 8px;
        font-size: 0.64rem;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
}


/* Tablet */

@media (max-width: 1024px) {

    .hero-container {
        grid-template-columns: 40% 60%;

        padding-inline: 32px;
    }

    .site-header {
        padding-inline: 32px;
    }

    .hero-image-area {
        min-height: 520px;
    }

    .shape-bottom {
        height: 220px;
    }

    .catalogue-grid {
        gap: 40px;
    }

}


/* Mobile */

@media (max-width: 760px) {
    body {
        padding-top: var(--header-height);
    }
    .container {
        width: min(100%, calc(100% - 32px));
        margin-inline: auto;
    }

    .site-header {
        padding: 0;
    }

    .site-footer .container {
        padding-inline: 8px;
    }

    .logo-image {
        width: 150px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 22px 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 15vw, 2rem);
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image-area {
        min-height: 440px;
    }


    .catalogue-section {
        padding: 52px 22px 60px;
    }

    .catalogue-heading {
        margin-bottom: 45px;
    }

    .section-label {
        font-size: 0.83rem;
    }

    .catalogue-heading h2 {
        font-size: 2.3rem;
    }

    .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 70px;

        max-width: 500px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-divider {
        display: none;
    }
    .story-hero h1{
        font-size: 1em;
    }

}


/* Smaller phones */

@media (max-width: 420px) {

    .whatsapp-button {
        width: 100%;
    }

    .hero-image-area {
        min-height: 360px;
    }

    .shape-top {
        height: 125px;
    }

    .shape-left {
        top: 80px;
        height: 160px;
    }

    .shape-right {
        top: 82px;
        height: 168px;
    }

    .shape-bottom {
        top: 210px;
        height: 140px;
    }

    .download-button {
        width: 100%;
    }

    }

/* CTA */

.gallery-cta {
    padding: 110px 0;
    background: var(--text);
    color: #ffffff;
    text-align: center;
}



.gallery-cta .section-eyebrow {
    color: #d5a68f;
    font-size: 11.2px;
}

.gallery-cta h2 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.gallery-cta p {
    max-width: 590px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.72);
}

.gallery-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.gallery-cta-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;

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

    min-width: 210px;
    min-height: 52px;
    padding: 14px 28px;

    border: 1px solid #673629;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s ease;
}

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

/* Explore Gallery */
.gallery-cta-button--secondary {
    background: transparent;
    color: #ffffff;
    border-color: #efe3d8;
}

.gallery-cta-button--secondary:hover {
    background: #efe3d8;
    color: #673629;
}

/* Start Project */
.gallery-cta-button--primary {
    background: #673629;
    color: #ffffff;
}

.gallery-cta-button--primary:hover {
    background: #2e1c15;
    border-color: #2e1c15;
    color: #ffffff;
}

.gallery-cta-button:focus-visible {
    outline: 3px solid rgba(103, 54, 41, 0.22);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .gallery-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .gallery-cta-button {
        min-width: 0;
    }
}
/* Footer */

.site-footer {
    padding: 72px 0 28px;
    background: #211713;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.75fr;
    gap: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-description {
    max-width: 470px;
    margin: 0;
    font-size: 0.9rem;
}

.footer-column h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-socials a {
    display: inline-grid;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    place-items: center;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 0.78rem;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #f2dfc4;
}

@media (max-width: 700px) {
    .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 48px;
}

@media (max-width: 950px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   SCROLL REVEAL ANIMATIONS
========================================================= */

/*
 * Elements remain visible by default.
 *
 * JavaScript adds the "reveal-ready" class to <html>.
 * Only then do reveal elements become hidden before entering
 * the viewport.
 *
 * This prevents content from disappearing if JavaScript fails.
 */

 html.reveal-ready .reveal {
    opacity: 0;
    visibility: hidden;

    transform: translateY(32px);

    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 700ms cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}


/*
 * JavaScript adds this class when an element enters
 * the viewport.
 */

html.reveal-ready .reveal.is-revealed {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   REVEAL DIRECTIONS
========================================================= */

/* Fade upward */

html.reveal-ready .reveal--up {
    transform: translateY(32px);
}

html.reveal-ready .reveal--up.is-revealed {
    transform: translateY(0);
}


/* Fade downward */

html.reveal-ready .reveal--down {
    transform: translateY(-32px);
}

html.reveal-ready .reveal--down.is-revealed {
    transform: translateY(0);
}


/* Fade in from the left */

html.reveal-ready .reveal--left {
    transform: translateX(-40px);
}

html.reveal-ready .reveal--left.is-revealed {
    transform: translateX(0);
}


/* Fade in from the right */

html.reveal-ready .reveal--right {
    transform: translateX(40px);
}

html.reveal-ready .reveal--right.is-revealed {
    transform: translateX(0);
}


/* Simple fade without movement */

html.reveal-ready .reveal--fade {
    transform: none;
}

html.reveal-ready .reveal--fade.is-revealed {
    transform: none;
}


/* Slight scale effect for images and catalogue covers */

html.reveal-ready .reveal--scale {
    transform: scale(0.96);
}

html.reveal-ready .reveal--scale.is-revealed {
    transform: scale(1);
}


/* Fade upward with a very small scale change */

html.reveal-ready .reveal--lift {
    transform:
        translateY(28px)
        scale(0.985);
}

html.reveal-ready .reveal--lift.is-revealed {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   ANIMATION SPEEDS
========================================================= */

.reveal--fast {
    transition-duration: 500ms !important;
}

.reveal--slow {
    transition-duration: 900ms !important;
}


/* =========================================================
   OPTIONAL DELAYS
========================================================= */

.reveal-delay-1 {
    transition-delay: 80ms !important;
}

.reveal-delay-2 {
    transition-delay: 160ms !important;
}

.reveal-delay-3 {
    transition-delay: 240ms !important;
}

.reveal-delay-4 {
    transition-delay: 320ms !important;
}

.reveal-delay-5 {
    transition-delay: 400ms !important;
}


/* =========================================================
   AUTOMATIC STAGGERED CHILDREN
========================================================= */

/*
 * Add:
 *
 * class="reveal-group"
 *
 * to a grid or container.
 *
 * Its direct children will animate one after another.
 */

html.reveal-ready .reveal-group > .reveal {
    transition-delay: calc(
        var(--reveal-index, 0) * 100ms
    );
}


/* =========================================================
   ACCESSIBILITY: REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html.reveal-ready .reveal,
    html.reveal-ready .reveal.is-revealed {
        opacity: 1;
        visibility: visible;

        transform: none;

        transition: none;
        animation: none;

        will-change: auto;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-grid > * {
        min-width: 0;
    }

    .footer-links a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 42px;
    }
}

.reveal-section {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 100px 0;
}

.reveal-item {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    margin-bottom: 120px;
}

.reveal-item:last-child {
    margin-bottom: 0;
}

.reveal-item-reverse .reveal-image-wrapper {
    order: 2;
}

.reveal-item-reverse .reveal-content {
    order: 1;
}

.reveal-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #eee8e1;
}

.reveal-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.reveal-content {
    max-width: 500px;
}

.reveal-eyebrow {
    margin: 0 0 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8b6955;
}

.reveal-content h2 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: #2d211b;
}

.reveal-content p:not(.reveal-eyebrow) {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #6b5c53;
}

/* Tablet */

@media (max-width: 900px) {
    .reveal-section {
        padding: 80px 0;
    }

    .reveal-item {
        gap: 45px;
        margin-bottom: 90px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .reveal-section {
        width: min(100% - 32px, 560px);
        padding: 65px 0;
    }

    .reveal-item {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 75px;
    }

    .reveal-item-reverse .reveal-image-wrapper,
    .reveal-item-reverse .reveal-content {
        order: initial;
    }

    .reveal-image-wrapper {
        width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: 18px;
    }

    .reveal-content {
        max-width: none;
    }

    .reveal-content h2 {
        margin-bottom: 14px;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .reveal-content p:not(.reveal-eyebrow) {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* =========================================================
   WHATSAPP CONTACT BUTTON
========================================================= */

.whatsapp-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    align-items: flex-end;
    gap: 14px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.whatsapp-contact.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-contact__button {
    width: 62px;
    height: 62px;

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

    flex-shrink: 0;

    border-radius: 50%;
    background: #673629;
    color: #ffffff;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(46, 28, 21, 0.24),
        0 4px 10px rgba(46, 28, 21, 0.14);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-contact__button:hover {
    background: #2e1c15;
    transform: translateY(-3px);

    box-shadow:
        0 16px 34px rgba(46, 28, 21, 0.28),
        0 6px 14px rgba(46, 28, 21, 0.16);
}

.whatsapp-contact__button:focus-visible {
    outline: 3px solid rgba(103, 54, 41, 0.35);
    outline-offset: 4px;
}

.whatsapp-contact__button svg {
    width: 30px;
    height: 30px;
}

.whatsapp-contact__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.whatsapp-contact__message {
    position: relative;

    width: min(290px, calc(100vw - 120px));
    padding: 18px 42px 18px 18px;

    border: 1px solid rgba(103, 54, 41, 0.12);
    border-radius: 16px;

    background: #f8f4ef;
    color: #2e1c15;

    box-shadow:
        0 16px 40px rgba(46, 28, 21, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.whatsapp-contact__message.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-contact__message-title {
    margin: 0 0 5px;

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.whatsapp-contact__message-text {
    display: block;

    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(46, 28, 21, 0.72);
}

.whatsapp-contact__close {
    position: absolute;
    top: 9px;
    right: 10px;

    width: 28px;
    height: 28px;

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

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #673629;

    font-size: 1.3rem;
    line-height: 1;

    cursor: pointer;
}

.whatsapp-contact__close:hover {
    background: rgba(103, 54, 41, 0.08);
}

.whatsapp-contact__close:focus-visible {
    outline: 2px solid rgba(103, 54, 41, 0.35);
    outline-offset: 2px;
}

/*
 * Soft attention pulse.
 * It only runs occasionally through JavaScript.
 */
.whatsapp-contact__button.is-pulsing {
    animation: whatsapp-soft-pulse 1.5s ease;
}

@keyframes whatsapp-soft-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.07);
    }

    70% {
        transform: scale(1.02);
    }
}


/* =========================================================
   WHATSAPP — MOBILE
========================================================= */

@media (max-width: 700px) {
    .whatsapp-contact {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .whatsapp-contact__button {
        width: 56px;
        height: 56px;
    }

    .whatsapp-contact__button svg {
        width: 27px;
        height: 27px;
    }

    .whatsapp-contact__message {
        width: min(250px, calc(100vw - 95px));
        padding: 15px 38px 15px 15px;
    }

    .whatsapp-contact__message-title {
        font-size: 0.87rem;
    }

    .whatsapp-contact__message-text {
        font-size: 0.78rem;
    }
}


/* =========================================================
   WHATSAPP — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .whatsapp-contact,
    .whatsapp-contact__button,
    .whatsapp-contact__message {
        transition: none;
    }

    .whatsapp-contact__button.is-pulsing {
        animation: none;
    }
}

@media (max-width: 640px) {
    .story-hero__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .story-scroll-indicator {
        position: relative !important;
        inset: auto !important;

        width: 100%;
        max-width: 370px;

        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 18px;

        margin: 25px 0 0;
        padding: 13px 0;
        background: transparent;
        color: #ffffff;

        font-size: 0.61rem;
        letter-spacing: 0.13em;
        margin-bottom: -40px;
        transform: none !important;
    }

    .story-scroll-indicator > span:first-child {
        flex: 0 1 auto;
        white-space: nowrap;
    }

    .story-scroll-indicator__line {
        width: min(92px, 25vw);
        height: 1px;
        flex: 0 1 92px;

        background: rgba(255, 255, 255, 0.78);
        transition:
            width 220ms ease,
            background-color 220ms ease;
    }

    .story-scroll-indicator:hover .story-scroll-indicator__line,
    .story-scroll-indicator:focus-visible .story-scroll-indicator__line {
        width: min(112px, 31vw);
        height: 1px;
        background: #ffffff;
    }

    .story-scroll-indicator:focus-visible {
        outline: 1px solid rgba(255, 255, 255, 0.85);
        outline-offset: 5px;
    }
}

@media (max-width: 380px) {
    .story-scroll-indicator {
        gap: 12px;
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    .story-scroll-indicator__line {
        width: 48px;
        flex-basis: 48px;
    }
}

/* =========================================================
   HOME SEO + SHOP DISCOVERY IMPROVEMENTS
========================================================= */

.nav-shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid rgba(46, 28, 21, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.nav-shop-link::after {
    display: none;
}

.nav-shop-link:hover,
.nav-shop-link:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.home-hero-button:hover,
.home-hero-button:focus-visible {
    transform: translateY(-2px);
}

.home-hero-button--primary {
    border-color: #fffaf5;
    background: #fffaf5;
    color: #211713;
}

.home-hero-button--primary:hover,
.home-hero-button--primary:focus-visible {
    background: #f1ddd0;
    border-color: #f1ddd0;
}

.home-hero-button--secondary {
    background: rgba(33, 23, 19, 0.18);
    color: #ffffff;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.home-hero-button--secondary:hover,
.home-hero-button--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.system-value-action--multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.system-value-link--primary {
    padding: 12px 18px;
    border: 1px solid #2e1c15;
    background: #2e1c15;
    color: #ffffff;
}

.system-value-link--primary:hover,
.system-value-link--primary:focus-visible {
    background: #673629;
    border-color: #673629;
}

.home-shop-pathways {
    padding: clamp(76px, 10vw, 138px) 0;
    background: #efe7df;
    color: #2e1c15;
}

.home-shop-pathways__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
    gap: 28px 70px;
    align-items: end;
    margin-bottom: clamp(36px, 6vw, 64px);
}

.home-shop-pathways__heading .section-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.home-shop-pathways__heading h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.home-shop-pathways__heading > p:last-child {
    max-width: 530px;
    margin: 0;
    color: #756159;
    font-size: 0.88rem;
    line-height: 1.8;
}

.home-shop-pathways__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(46, 28, 21, 0.18);
    border-left: 1px solid rgba(46, 28, 21, 0.18);
}

.home-shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 28px 24px;
    border-right: 1px solid rgba(46, 28, 21, 0.18);
    border-bottom: 1px solid rgba(46, 28, 21, 0.18);
    background: rgba(255, 253, 249, 0.48);
    transition:
        background-color 220ms ease,
        color 220ms ease,
        transform 220ms ease;
}

.home-shop-card:hover,
.home-shop-card:focus-visible {
    z-index: 2;
    background: #2e1c15;
    color: #ffffff;
    transform: translateY(-4px);
}

.home-shop-card--bespoke {
    background: #673629;
    color: #ffffff;
}

.home-shop-card__number {
    color: #9b7763;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-shop-card:hover .home-shop-card__number,
.home-shop-card:focus-visible .home-shop-card__number,
.home-shop-card--bespoke .home-shop-card__number {
    color: rgba(255, 255, 255, 0.58);
}

.home-shop-card strong {
    margin-top: auto;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    font-weight: 500;
    line-height: 1;
}

.home-shop-card p {
    min-height: 82px;
    margin: 18px 0 25px;
    color: #756159;
    font-size: 0.7rem;
    line-height: 1.7;
}

.home-shop-card:hover p,
.home-shop-card:focus-visible p,
.home-shop-card--bespoke p {
    color: rgba(255, 255, 255, 0.72);
}

.home-shop-card__link {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-shop-pathways__all {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.home-shop-pathways__all a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-cta-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-cta-text-link:hover,
.gallery-cta-text-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 1000px) {
    .home-shop-pathways__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-shop-pathways__heading {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .nav-shop-link {
        justify-content: flex-start;
        min-height: auto;
        padding: 17px 0 !important;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .nav-shop-link:hover,
    .nav-shop-link:focus-visible {
        background: transparent;
        color: var(--accent);
    }
}

@media (max-width: 640px) {
    .home-hero-actions {
        display: grid;
        width: 100%;
        gap: 9px;
        margin-top: 22px;
    }

    .home-hero-button {
        width: 100%;
        min-height: 47px;
        padding: 12px 16px;
        font-size: 0.62rem;
        display: none;
    }

    .home-shop-pathways {
        padding: 72px 0;
    }

    .home-shop-pathways__heading {
        margin-bottom: 34px;
    }

    .home-shop-pathways__heading h2 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .home-shop-pathways__grid {
        grid-template-columns: 1fr;
    }

    .home-shop-card {
        min-height: 270px;
    }

    .home-shop-card p {
        min-height: auto;
    }

    .home-shop-pathways__all {
        justify-content: flex-start;
    }

    .system-value-action--multiple {
        align-items: stretch;
    }

    .system-value-action--multiple .system-value-link {
        justify-content: space-between;
        width: 100%;
    }

    .gallery-cta-actions {
        align-items: stretch;
    }

    .gallery-cta-text-link {
        justify-content: center;
    }
}


.environment-badge {
    position: fixed;
    z-index: 99999;
    right: 14px;
    bottom: 14px;
    min-width: 92px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(46, 28, 21, 0.92);
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 8px 26px rgba(46, 28, 21, 0.2);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

@media (max-width: 620px) {
    .environment-badge {
        right: 9px;
        bottom: 9px;
        min-width: 78px;
        padding: 7px 9px;
        font-size: 0.5rem;
    }
}