/* =========================================================
   THE RESIN STUDIO
   CONTEMPORARY ART GALLERY EDITION
   FULL MAIN.CSS — FROM SCRATCH
   PALETTE PRESERVED
========================================================= */


/* =========================================================
   01 — CORE DESIGN SYSTEM
========================================================= */

:root {

    --mint: #C6EED6;
    --mint-light: #E9F8EF;
    --mint-soft: #DDF2E5;
    --mint-mid: #A9DCC0;
    --mint-dark: #6E9F82;

    --cream: #F7F3EC;
    --cream-light: #FCFAF6;
    --cream-dark: #EAE3D7;

    --sand: #DED4C4;
    --sand-light: #EEE7DC;
    --sand-dark: #C8BBA8;

    --ink: #242522;
    --ink-soft: #41433E;
    --ink-muted: #77766E;

    --gold: #B59658;
    --gold-light: #D8C18F;
    --gold-dark: #8C713D;

    --white: #FFFFFF;

    --text: #292A27;
    --text-soft: #5D5E57;
    --text-muted: #85857D;

    --border: rgba(36, 37, 34, .11);
    --border-strong: rgba(36, 37, 34, .20);
    --border-gold: rgba(181, 150, 88, .48);

    --display: "Cormorant Garamond", Georgia, serif;
    --body: "DM Sans", Arial, sans-serif;

    --container: 1440px;
    --page-padding: 54px;

    --radius: 0;
    --radius-soft: 4px;
    --radius-round: 999px;

    --shadow-soft:
        0 20px 60px rgba(36, 37, 34, .07);

    --shadow-medium:
        0 35px 90px rgba(36, 37, 34, .11);

    --shadow-deep:
        0 45px 120px rgba(36, 37, 34, .16);

    --ease:
        cubic-bezier(.22, .61, .36, 1);

    --ease-luxury:
        cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   02 — RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--cream);
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(198, 238, 214, .34),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(181, 150, 88, .055),
            transparent 28%
        ),
        var(--cream);

    color: var(--text);

    font-family: var(--body);
    font-size: 15px;
    line-height: 1.75;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--mint);
    color: var(--ink);
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0 0 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: var(--display);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.045em;
}


/* =========================================================
   03 — GLOBAL STRUCTURE
========================================================= */

main {
    position: relative;
    min-height: 100vh;
}

.container,
.section {
    width: min(
        var(--container),
        calc(100% - (var(--page-padding) * 2))
    );

    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: 145px;
}

.section + .section {
    border-top: 1px solid var(--border);
}

.section-dark {
    background:
        linear-gradient(
            135deg,
            var(--sand-light),
            var(--mint-light)
        );
}

.muted {
    color: var(--text-muted);
}


/* =========================================================
   04 — EDITORIAL TYPOGRAPHY
========================================================= */

h1 {
    font-size:
        clamp(
            68px,
            9vw,
            148px
        );
}

h2 {
    font-size:
        clamp(
            52px,
            6vw,
            94px
        );
}

h3 {
    font-size:
        clamp(
            31px,
            3vw,
            50px
        );
}

h4 {
    font-size: 26px;
}

h1 em,
h2 em,
h3 em {
    color: var(--gold-dark);
    font-style: italic;
}

.large-text {
    max-width: 760px;

    font-size:
        clamp(
            20px,
            2vw,
            27px
        );

    line-height: 1.45;
}

.section-title {
    max-width: 900px;
}


/* =========================================================
   05 — EYEBROW / LABELS
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 25px;

    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .28em;
    line-height: 1;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 42px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}


/* =========================================================
   06 — LOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            var(--mint-light),
            var(--cream) 54%,
            var(--sand-light)
        );

    color: var(--ink);

    transition:
        opacity 1s var(--ease-luxury),
        visibility 1s;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    position: relative;

    width: 125px;
    height: 125px;

    display: grid;
    place-items: center;

    margin-bottom: 32px;

    border: 1px solid var(--gold);

    color: var(--gold-dark);

    font-family: var(--display);
    font-size: 72px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.65),
            rgba(198,238,214,.30)
        );

    box-shadow:
        var(--shadow-medium),
        inset 0 0 35px rgba(255,255,255,.5);

    animation:
        loaderRise 1.1s var(--ease-luxury) both;
}

.loader-mark::before {
    content: "";

    position: absolute;
    inset: 10px;

    border: 1px solid rgba(181,150,88,.35);

    transform: rotate(45deg);
}

.loader-line {
    width: 210px;
    height: 1px;

    overflow: hidden;

    background: rgba(36,37,34,.13);
}

.loader-line span {
    display: block;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    animation:
        loaderMove 1.5s infinite var(--ease);
}

.loader p {
    margin-top: 20px;

    color: var(--text-muted);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .34em;
    text-transform: uppercase;
}


/* =========================================================
   07 — CUSTOM CURSOR
========================================================= */

.cursor,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999999;

    pointer-events: none;

    transform:
        translate(-50%, -50%);
}

.cursor {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 20px rgba(181,150,88,.7);
}

.cursor-ring {
    width: 34px;
    height: 34px;

    border:
        1px solid rgba(181,150,88,.55);

    border-radius: 50%;

    transition:
        width .45s var(--ease-luxury),
        height .45s var(--ease-luxury),
        border-color .4s,
        background .4s;
}

body.cursor-hover .cursor-ring {
    width: 68px;
    height: 68px;

    border-color: var(--gold);

    background:
        rgba(181,150,88,.05);
}


/* =========================================================
   08 — HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 5000;

    width: 100%;
    min-height: 94px;

    display: flex;
    align-items: center;

    padding:
        16px
        max(
            30px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    color: var(--ink);

    transition:
        background .55s var(--ease),
        backdrop-filter .55s var(--ease),
        border-color .55s,
        box-shadow .55s;
}

.header.scrolled,
.header.header-scrolled {
    background:
        rgba(247,243,236,.78);

    border-bottom:
        1px solid rgba(36,37,34,.08);

    backdrop-filter:
        blur(25px)
        saturate(125%);

    box-shadow:
        0 12px 40px rgba(36,37,34,.055);
}


/* =========================================================
   09 — LOGO
========================================================= */

.logo {
    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;

    flex-shrink: 0;
}

.logo-mark {
    position: relative;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    background:
        linear-gradient(
            145deg,
            var(--mint-light),
            rgba(255,255,255,.75)
        );

    color: var(--gold-dark);

    font-family: var(--display);
    font-size: 31px;

    overflow: hidden;

    transition:
        transform .5s var(--ease-luxury),
        box-shadow .5s var(--ease);
}

.logo-mark::before {
    content: "";

    position: absolute;
    inset: 6px;

    border:
        1px solid rgba(181,150,88,.25);
}

.logo-mark::after {
    content: "";

    position: absolute;

    top: -30%;
    left: -120%;

    width: 80%;
    height: 170%;

    background:
        rgba(255,255,255,.55);

    transform:
        rotate(25deg);

    transition:
        left .8s var(--ease-luxury);
}

.logo:hover .logo-mark {
    transform:
        translateY(-3px)
        rotate(-2deg);

    box-shadow:
        0 15px 35px rgba(181,150,88,.16);
}

.logo:hover .logo-mark::after {
    left: 150%;
}

.logo-text {
    color: var(--ink);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.1;
}

.logo-text span {
    display: block;

    margin-top: 5px;

    color: var(--gold-dark);

    font-size: 7px;
    letter-spacing: .31em;
}


/* =========================================================
   10 — NAVIGATION
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap:
        clamp(
            18px,
            2.7vw,
            38px
        );

    flex: 1;

    margin-inline: 50px;
}

.desktop-nav a {
    position: relative;

    color: var(--text-soft);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;

    transition:
        color .3s var(--ease);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -9px;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform .45s var(--ease-luxury);
}

.desktop-nav a::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -13px;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold);

    transform:
        translateX(-50%)
        scale(0);

    transition:
        transform .4s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold-dark);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.desktop-nav a:hover::before,
.desktop-nav a.active::before {
    transform:
        translateX(-50%)
        scale(1);
}


/* =========================================================
   11 — HEADER CTA
========================================================= */

.header-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 12px 20px;

    overflow: hidden;

    border: 1px solid var(--gold);

    color: var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;

    transition:
        transform .4s var(--ease),
        color .4s,
        box-shadow .4s;
}

.header-cta::before {
    content: "";

    position: absolute;
    inset: 0;

    background: var(--gold);

    transform:
        translateY(101%);

    transition:
        transform .5s var(--ease-luxury);
}

.header-cta span {
    position: relative;
    z-index: 2;
}

.header-cta:hover {
    color: var(--white);

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px rgba(181,150,88,.18);
}

.header-cta:hover::before {
    transform:
        translateY(0);
}


/* =========================================================
   12 — MOBILE MENU
========================================================= */

.menu-button {
    display: none;

    width: 46px;
    height: 46px;

    background: transparent;

    color: var(--ink);

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 23px;
    height: 1px;

    margin: 6px auto;

    background: currentColor;

    transition:
        transform .45s var(--ease-luxury),
        width .3s;
}

.menu-button:hover span:last-child {
    width: 16px;
}

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 4900;

    display: flex;
    align-items: center;

    padding:
        120px
        8vw
        60px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(198,238,214,.65),
            transparent 32%
        ),
        var(--cream);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-30px);

    transition:
        opacity .5s var(--ease),
        visibility .5s,
        transform .5s var(--ease-luxury);
}

.mobile-menu.open,
body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}

.mobile-menu-inner {
    width: 100%;
}

.mobile-menu-label {
    margin-bottom: 28px;

    color: var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.mobile-menu-inner > a {
    display: block;

    width: fit-content;

    margin: 6px 0;

    color: var(--ink);

    font-family: var(--display);
    font-size:
        clamp(
            48px,
            9vw,
            88px
        );

    transition:
        color .3s,
        transform .5s var(--ease-luxury);
}

.mobile-menu-inner > a:hover {
    color: var(--gold-dark);

    transform:
        translateX(14px);
}


/* =========================================================
   13 — HERO
========================================================= */

.home-hero,
.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 22%,
            rgba(198,238,214,.65),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            var(--cream-light),
            var(--sand-light) 55%,
            var(--cream)
        );
}

.home-hero::before,
.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(247,243,236,.95) 0%,
            rgba(247,243,236,.72) 43%,
            transparent 72%
        );

    pointer-events: none;
}


/* =========================================================
   14 — HERO BACKGROUND
========================================================= */

.hero-background {
    position: absolute;
    inset: 0;

    overflow: hidden;
}

.hero-grid,
.page-hero-grid {
    position: absolute;
    inset: 0;

    opacity: .10;

    background-image:
        linear-gradient(
            rgba(36,37,34,.10) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(36,37,34,.10) 1px,
            transparent 1px
        );

    background-size:
        110px 110px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 25%,
            black 75%,
            transparent
        );
}


/* =========================================================
   15 — HERO ART OBJECTS
========================================================= */

.hero-orb {
    position: absolute;

    border-radius: 50%;

    animation:
        galleryFloat 11s ease-in-out infinite;
}

.hero-orb-one {
    top: 13%;
    right: 6%;

    width:
        clamp(
            320px,
            43vw,
            680px
        );

    aspect-ratio: 1;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255,255,255,.9),
            transparent 8%
        ),
        radial-gradient(
            circle at 68% 70%,
            rgba(181,150,88,.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(198,238,214,.9),
            rgba(222,212,196,.48)
        );

    box-shadow:
        inset -40px -40px 90px rgba(36,37,34,.08),
        inset 25px 20px 60px rgba(255,255,255,.6),
        0 50px 140px rgba(198,238,214,.24);
}

.hero-orb-two {
    right: 27%;
    bottom: 8%;

    width: 170px;
    height: 170px;

    background:
        linear-gradient(
            145deg,
            rgba(181,150,88,.58),
            rgba(198,238,214,.75)
        );

    box-shadow:
        0 30px 80px rgba(181,150,88,.14);

    animation-delay: -3s;
}

.hero-orb-three {
    top: 38%;
    right: 44%;

    width: 60px;
    height: 60px;

    background:
        rgba(255,255,255,.55);

    box-shadow:
        0 10px 40px rgba(255,255,255,.55);

    animation-delay: -6s;
}

.resin-wave {
    position: absolute;

    border:
        1px solid rgba(181,150,88,.18);

    border-radius: 50%;

    transform:
        rotate(-24deg);

    animation:
        waveFloat 13s ease-in-out infinite;
}

.wave-one {
    width: 850px;
    height: 360px;

    right: -290px;
    bottom: 8%;
}

.wave-two {
    width: 620px;
    height: 270px;

    right: -120px;
    bottom: 17%;

    animation-delay: -4s;
}


/* =========================================================
   16 — HERO CONTENT
========================================================= */

.hero-content,
.home-hero-content {
    position: relative;
    z-index: 3;

    width:
        min(
            950px,
            calc(100% - 100px)
        );

    margin-left:
        max(
            50px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    padding-top: 80px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 30px;

    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.hero-kicker span {
    width: 48px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}

.hero-title,
.home-hero h1,
.hero h1 {
    max-width: 1050px;

    margin-bottom: 34px;

    color: var(--ink);

    animation:
        heroTitleIn 1.1s .15s var(--ease-luxury) both;
}

.hero-description {
    max-width: 570px;

    margin-bottom: 40px;

    color: var(--text-soft);

    font-size: 17px;

    animation:
        heroFadeIn 1s .35s var(--ease-luxury) both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    animation:
        heroFadeIn 1s .5s var(--ease-luxury) both;
}

.hero-scroll {
    position: absolute;

    left:
        max(
            50px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 13px;

    color: var(--text-muted);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.hero-scroll::before {
    content: "";

    width: 48px;
    height: 1px;

    background: var(--gold);

    animation:
        scrollLine 2.2s ease-in-out infinite;
}


/* =========================================================
   17 — BUTTONS
========================================================= */

.primary-button,
.button,
.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 56px;

    padding: 15px 28px;

    overflow: hidden;

    background: var(--ink);

    color: var(--cream);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform .4s var(--ease-luxury),
        box-shadow .4s,
        color .4s;
}

.primary-button::before,
.button::before,
.btn::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            110deg,
            var(--gold-dark),
            var(--gold)
        );

    transform:
        translateY(101%);

    transition:
        transform .5s var(--ease-luxury);
}

.primary-button > *,
.button > *,
.btn > * {
    position: relative;
    z-index: 2;
}

.primary-button:hover,
.button:hover,
.btn:hover {
    color: var(--white);

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px rgba(181,150,88,.2);
}

.primary-button:hover::before,
.button:hover::before,
.btn:hover::before {
    transform:
        translateY(0);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 15px 28px;

    border:
        1px solid var(--border-strong);

    background:
        rgba(255,255,255,.25);

    color: var(--ink);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;

    transition:
        transform .4s var(--ease-luxury),
        background .4s,
        border-color .4s,
        box-shadow .4s,
        color .4s;
}

.secondary-button:hover {
    background:
        rgba(198,238,214,.4);

    border-color:
        var(--gold);

    color:
        var(--gold-dark);

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow-soft);
}

.text-button,
.line-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-button span,
.line-link span {
    transition:
        transform .45s var(--ease-luxury);
}

.text-button:hover span,
.line-link:hover span {
    transform:
        translateX(7px);
}


/* =========================================================
   18 — PAGE HERO
========================================================= */

.page-hero {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: end;

    padding:
        180px
        max(
            50px,
            calc(
                (100vw - var(--container)) / 2
            )
        )
        85px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(198,238,214,.62),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            var(--cream-light),
            var(--sand-light),
            var(--cream)
        );
}

.page-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            100deg,
            transparent 50%,
            rgba(255,255,255,.22)
        );

    pointer-events: none;
}

.page-hero-glow {
    position: absolute;

    top: 8%;
    right: 5%;

    width: 48vw;
    max-width: 700px;

    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(181,150,88,.13),
            transparent 65%
        );

    filter: blur(20px);

    animation:
        galleryFloat 12s ease-in-out infinite;
}

.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 1000px;
}

.page-hero h1 {
    margin-bottom: 28px;

    color: var(--ink);
}

.page-hero-content > p:last-child {
    max-width: 640px;

    color: var(--text-soft);

    font-size: 17px;
}

.page-hero-number {
    position: absolute;

    right:
        max(
            50px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    bottom: 20px;

    color:
        rgba(36,37,34,.045);

    font-family: var(--display);

    font-size:
        clamp(
            180px,
            24vw,
            360px
        );

    line-height: .75;

    pointer-events: none;
}


/* =========================================================
   19 — ANNOUNCEMENT
========================================================= */

.announcement-bar {
    position: relative;

    overflow: hidden;

    padding: 12px 0;

    background:
        var(--ink);

    color: var(--cream);

    border-top:
        1px solid rgba(255,255,255,.06);

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.announcement-track {
    display: flex;

    width: max-content;

    animation:
        marquee 32s linear infinite;
}

.announcement-track span {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding-right: 25px;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.announcement-track span::after {
    content: "✦";

    color: var(--gold-light);
}


/* =========================================================
   20 — SECTION HEADER
========================================================= */

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 70px;

    margin-bottom: 75px;
}

.section-header > div {
    max-width: 850px;
}

.section-header-description {
    max-width: 420px;

    color: var(--text-soft);
}


/* =========================================================
   21 — PRODUCT GALLERY / SHOP
========================================================= */

.product-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    background: transparent;
    align-items: stretch;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;

    background: rgba(252,250,246,.94);

    border: 1px solid rgba(36,37,34,.10);

    box-shadow:
        0 8px 30px rgba(36,37,34,.045);

    isolation: isolate;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none;

    transition:
        transform .45s var(--ease-luxury),
        box-shadow .45s var(--ease-luxury),
        border-color .35s var(--ease);
}

.product-card:hover {
    z-index: 5;

    transform:
        translateY(-8px) !important;

    border-color:
        rgba(181,150,88,.42);

    box-shadow:
        0 24px 55px rgba(36,37,34,.12);
}


/* =========================================================
   SHOP REVEAL FIX
========================================================= */

.product-grid .reveal,
.shop-grid .reveal,
.product-grid .reveal-left,
.shop-grid .reveal-left,
.product-grid .reveal-right,
.shop-grid .reveal-right,
.product-card.reveal,
.product-card.reveal-left,
.product-card.reveal-right {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* =========================================================
   22 — PRODUCT IMAGE
========================================================= */

.product-image,
.product-visual {
    position: relative;

    width: 100%;
    min-height: 330px;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(198,238,214,.72),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            var(--mint-soft),
            var(--sand-light)
        );
}

.product-image::before,
.product-visual::before {
    content: "";

    position: absolute;
    inset: 12px;

    z-index: 2;

    border:
        1px solid rgba(181,150,88,.16);

    pointer-events: none;

    transition:
        inset .6s var(--ease-luxury),
        border-color .4s;
}

.product-image::after,
.product-visual::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 38%;

    z-index: 3;

    background:
        linear-gradient(
            to top,
            rgba(36,37,34,.13),
            transparent
        );

    pointer-events: none;
}

.product-image img,
.product-visual img {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 330px;

    object-fit: cover;

    transition:
        transform .8s var(--ease-luxury),
        filter .6s var(--ease);
}

.product-card:hover
.product-image img,
.product-card:hover
.product-visual img {
    transform:
        scale(1.055);

    filter:
        saturate(1.06)
        contrast(1.02);
}

.product-card:hover
.product-image::before,
.product-card:hover
.product-visual::before {
    inset: 18px;

    border-color:
        rgba(181,150,88,.34);
}


/* =========================================================
   23 — PRODUCT INFORMATION
========================================================= */

.product-info {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;

    flex: 1;

    padding:
        23px
        22px
        22px;

    background:
        linear-gradient(
            180deg,
            rgba(252,250,246,.98),
            rgba(247,243,236,.98)
        );
}

.product-category {
    display: inline-block;

    width: fit-content;

    margin-bottom: 8px;

    color:
        var(--gold-dark);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.2;

    text-transform: uppercase;
}

.product-card h3 {
    margin:
        0 0 8px;

    color:
        var(--ink);

    font-family:
        var(--display);

    font-size:
        clamp(27px, 2.2vw, 35px);

    font-weight: 500;

    line-height: .98;

    letter-spacing:
        -.035em;

    transition:
        color .3s var(--ease);
}

.product-card:hover h3 {
    color:
        var(--gold-dark);
}

.product-card p {
    margin:
        0 0 15px;

    color:
        var(--text-soft);

    font-size: 12px;

    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;

    margin:
        auto 0 17px;

    padding-top:
        14px;

    border-top:
        1px solid rgba(36,37,34,.08);

    color:
        var(--gold-dark);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   24 — ADD TO CART
========================================================= */

.add-to-cart {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;

    padding:
        13px 16px;

    overflow: hidden;

    background:
        var(--ink);

    border:
        1px solid var(--ink);

    color:
        var(--cream);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;

    text-transform: uppercase;

    cursor: pointer;

    isolation: isolate;

    transition:
        transform .35s var(--ease-luxury),
        background .35s,
        border-color .35s,
        color .35s,
        box-shadow .35s;
}

.add-to-cart::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            110deg,
            var(--gold-dark),
            var(--gold),
            var(--gold-light)
        );

    transform:
        translateX(-101%);

    transition:
        transform .55s var(--ease-luxury);
}

.add-to-cart:hover {
    transform:
        translateY(-2px);

    border-color:
        var(--gold);

    color:
        var(--white);

    box-shadow:
        0 12px 28px rgba(181,150,88,.18);
}

.add-to-cart:hover::before {
    transform:
        translateX(0);
}


/* =========================================================
   25 — CATEGORY / COLLECTION GALLERY
========================================================= */

.category-grid,
.collections-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 3px;

    background:
        var(--border);
}

.category-card,
.collection-card {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: end;

    padding: 45px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--mint-soft),
            var(--sand-light)
        );

    color: var(--ink);

    transition:
        transform .7s var(--ease-luxury),
        box-shadow .7s;
}

.category-card:hover,
.collection-card:hover {
    z-index: 2;

    transform:
        translateY(-10px);

    box-shadow:
        var(--shadow-deep);
}

.category-card::before,
.collection-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 18%,
            rgba(181,150,88,.18),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            transparent 30%,
            rgba(36,37,34,.24)
        );

    transition:
        transform 1s var(--ease-luxury);
}

.category-card:hover::before,
.collection-card:hover::before {
    transform:
        scale(1.07);
}

.category-card > *,
.collection-card > * {
    position: relative;
    z-index: 1;
}

.category-card h3,
.collection-card h3 {
    margin-bottom: 12px;

    color: var(--ink);

    font-size:
        clamp(42px, 4vw, 62px);
}

.category-card p,
.collection-card p {
    max-width: 480px;

    color: var(--text-soft);
}


/* =========================================================
   26 — FEATURE CARDS
========================================================= */

.feature-grid,
.studio-feature-grid,
.shipping-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 2px;

    background:
        var(--border);
}

.studio-feature,
.shipping-card {
    position: relative;

    min-height: 310px;

    padding: 38px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.72),
            var(--mint-light)
        );

    transition:
        transform .55s var(--ease-luxury),
        box-shadow .55s;
}

.studio-feature:hover,
.shipping-card:hover {
    z-index: 2;

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-medium);
}

.studio-feature.large {
    grid-column:
        span 2;
}


/* =========================================================
   27 — FEATURE VISUALS
========================================================= */

.feature-visual {
    position: relative;

    min-height: 250px;

    margin: 28px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(198,238,214,.8),
            transparent 60%
        ),
        var(--sand-light);
}

.visual-orb {
    position: absolute;

    top: 20%;
    left: 25%;

    width: 165px;
    height: 165px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--gold-light),
            var(--mint-mid)
        );

    box-shadow:
        inset -15px -20px 35px rgba(36,37,34,.08),
        0 0 60px rgba(181,150,88,.15);

    animation:
        galleryFloat 8s ease-in-out infinite;
}

.visual-ring {
    position: absolute;

    right: 15%;
    bottom: 15%;

    width: 125px;
    height: 125px;

    border:
        1px solid var(--gold);

    border-radius: 50%;

    animation:
        ringPulse 5s ease-in-out infinite;
}

.visual-drop {
    position: absolute;

    top: 20%;
    right: 25%;

    width: 42px;
    height: 82px;

    border-radius:
        50% 50% 50% 0;

    background:
        linear-gradient(
            145deg,
            var(--gold),
            var(--gold-light)
        );

    transform:
        rotate(45deg);

    animation:
        dropFloat 5s ease-in-out infinite;
}


/* =========================================================
   28 — PROCESS
========================================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--border);

    border-left:
        1px solid var(--border);
}

.process-card {
    position: relative;

    min-height: 330px;

    padding: 38px;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    transition:
        background .45s,
        transform .45s var(--ease-luxury);
}

.process-card:hover {
    background:
        rgba(198,238,214,.15);

    transform:
        translateY(-5px);
}

.process-number {
    display: block;

    margin-bottom: 70px;

    color: var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .23em;
}

.process-card h3 {
    color: var(--ink);

    font-size: 38px;
}


/* =========================================================
   29 — FAQ
========================================================= */

.faq-list {
    max-width: 1000px;
}

.faq-item {
    border-top:
        1px solid var(--border);

    transition:
        background .35s;
}

.faq-item:last-child {
    border-bottom:
        1px solid var(--border);
}

.faq-item:hover {
    background:
        rgba(198,238,214,.07);
}

.faq-question,
.faq-item summary {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 31px 0;

    background: transparent;

    color: var(--ink);

    font-family: var(--display);

    font-size:
        clamp(25px, 2.5vw, 38px);

    cursor: pointer;
}

.faq-item summary {
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question::after,
.faq-item summary::after {
    content: "+";

    flex-shrink: 0;

    color: var(--gold-dark);

    font-family: var(--body);
    font-size: 26px;
    font-weight: 300;

    transition:
        transform .45s var(--ease-luxury);
}

.faq-item[open] summary::after {
    transform:
        rotate(45deg);
}

.faq-answer,
.faq-item > p,
.faq-item > div {
    max-width: 740px;

    padding-bottom: 30px;

    color: var(--text-soft);
}


/* =========================================================
   30 — FORMS
   RESTORED / FIXED
========================================================= */

form {
    width: 100%;
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        35px 28px;

    width: 100%;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 10px;

    width: 100%;
}

.form-group.full {
    grid-column:
        1 / -1;
}

label {
    display: block;

    width: 100%;

    margin: 0;

    color:
        var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;

    line-height: 1.2;

    text-transform: uppercase;
}


/* INPUTS */

input,
textarea,
select {
    display: block;

    width: 100%;

    min-height: 48px;

    margin: 0;

    padding:
        13px 0;

    background:
        transparent;

    border: 0;

    border-bottom:
        1px solid var(--border-strong);

    outline: none;

    color:
        var(--ink);

    font-family:
        var(--body);

    font-size: 14px;

    line-height: 1.5;

    transition:
        border-color .35s var(--ease),
        padding-left .35s var(--ease);
}

input::placeholder,
textarea::placeholder {
    color:
        var(--text-muted);

    opacity: 1;
}

select {
    cursor: pointer;

    appearance: auto;
}

select option {
    background:
        var(--cream);

    color:
        var(--ink);
}

textarea {
    min-height:
        160px;

    resize:
        vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color:
        var(--gold);

    padding-left:
        9px;
}


/* FORM BUTTONS */

form .button,
form .btn,
form .primary-button {
    margin-top:
        5px;
}


/* =========================================================
   31 — SHOP CONTROLS
========================================================= */

.shop-controls {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);
}

.filter-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.filter-button {
    padding:
        10px 16px;

    background:
        transparent;

    border:
        1px solid var(--border);

    color:
        var(--text-soft);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .35s,
        border-color .35s,
        color .35s,
        transform .35s var(--ease);
}

.filter-button:hover {
    border-color:
        var(--gold);

    color:
        var(--gold-dark);

    transform:
        translateY(-2px);
}

.filter-button.active {
    background:
        var(--ink);

    border-color:
        var(--ink);

    color:
        var(--cream);
}

.shop-search {
    width: 100%;

    max-width:
        300px;
}


/* =========================================================
   RESPONSIVE SHOP + FORMS
========================================================= */

@media (max-width: 1100px) {

    .product-grid,
    .shop-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .product-image,
    .product-visual {
        min-height:
            290px;
    }

    .product-image img,
    .product-visual img {
        min-height:
            290px;
    }
}


@media (max-width: 850px) {

    .product-grid,
    .shop-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .shop-controls {
        display: block;
    }

    .shop-search {
        max-width:
            none;

        margin-top:
            20px;
    }

    .form-grid {
        grid-template-columns:
            1fr;

        gap:
            28px;
    }

    .form-group.full {
        grid-column:
            auto;
    }

    .product-image,
    .product-visual {
        min-height:
            270px;
    }

    .product-image img,
    .product-visual img {
        min-height:
            270px;
    }
}


@media (max-width: 560px) {

    .product-grid,
    .shop-grid {
        grid-template-columns:
            1fr;

        gap:
            16px;
    }

    .product-image,
    .product-visual {
        min-height:
            350px;
    }

    .product-image img,
    .product-visual img {
        min-height:
            350px;
    }

    .product-info {
        padding:
            22px 20px 20px;
    }

    .product-card h3 {
        font-size:
            32px;
    }

    .form-grid {
        gap:
            24px;
    }

    input,
    textarea,
    select {
        font-size:
            14px;
    }
}


/* =========================================================
   FINAL SHOP VISIBILITY FIX
========================================================= */

.product-grid .product-card,
.shop-grid .product-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.product-grid .product-card:hover,
.shop-grid .product-card:hover {
    transform:
        translateY(-8px) !important;
}


/* =========================================================
   32 — CART
========================================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        390px;

    gap: 70px;

    align-items: start;
}

.cart-items {
    border-top:
        1px solid var(--border);
}

.cart-item {
    display: grid;

    grid-template-columns:
        130px
        1fr
        auto;

    gap: 28px;

    padding:
        28px
        0;

    border-bottom:
        1px solid var(--border);
}

.cart-item-image {
    width: 130px;

    aspect-ratio: 1;

    overflow: hidden;

    background:
        var(--mint-soft);

    border:
        1px solid var(--border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s var(--ease-luxury);
}

.cart-item:hover
.cart-item-image img {
    transform:
        scale(1.06);
}

.cart-item h3 {
    margin-bottom: 8px;

    color: var(--ink);

    font-size: 30px;
}

.cart-item-price {
    color: var(--gold-dark);

    font-weight: 800;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;

    margin-top: 17px;

    border:
        1px solid var(--border-strong);
}

.quantity-controls button {
    width: 36px;
    height: 36px;

    background: transparent;

    color: var(--ink);

    cursor: pointer;

    transition:
        background .3s,
        color .3s;
}

.quantity-controls button:hover {
    background:
        var(--mint);

    color:
        var(--ink);
}

.quantity-controls span {
    min-width: 36px;

    text-align: center;
}

.remove-item {
    margin-top: 13px;

    background: transparent;

    color: var(--text-muted);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .3s;
}

.remove-item:hover {
    color:
        var(--gold-dark);
}


/* =========================================================
   33 — CART SUMMARY
========================================================= */

.cart-summary {
    position: sticky;

    top: 115px;

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(221,242,229,.9),
            rgba(238,231,220,.92)
        );

    border:
        1px solid var(--border-gold);

    color: var(--ink);

    box-shadow:
        var(--shadow-soft);

    backdrop-filter:
        blur(15px);
}

.summary-row {
    display: flex;
    justify-content: space-between;

    padding: 15px 0;

    border-bottom:
        1px solid var(--border);
}

.summary-total {
    color: var(--gold-dark);

    font-size: 22px;
    font-weight: 800;
}

.checkout-button {
    width: 100%;

    margin-top: 26px;
}

.empty-cart {
    padding: 70px 20px;

    text-align: center;

    color: var(--text-muted);
}


/* =========================================================
   34 — CART NOTIFICATION
========================================================= */

.cart-notification {
    position: fixed;

    right: 28px;
    bottom: 28px;

    z-index: 8000;

    width:
        min(
            400px,
            calc(100% - 40px)
        );

    padding: 23px;

    background:
        rgba(247,243,236,.94);

    border:
        1px solid var(--border-gold);

    color:
        var(--ink);

    box-shadow:
        var(--shadow-medium);

    backdrop-filter:
        blur(20px);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(25px)
        scale(.96);

    transition:
        opacity .45s var(--ease-luxury),
        visibility .45s,
        transform .45s var(--ease-luxury);
}

.cart-notification.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.cart-notification strong {
    display: block;

    margin-bottom: 5px;

    color:
        var(--gold-dark);
}

.cart-notification p {
    color:
        var(--text-soft);

    font-size: 12px;
}

.cart-notification a {
    color:
        var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* =========================================================
   35 — CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        .85fr
        1.15fr;

    gap: 90px;
}

.contact-details {
    display: grid;

    gap: 28px;
}

.contact-detail {
    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);

    transition:
        transform .4s var(--ease-luxury);
}

.contact-detail:hover {
    transform:
        translateX(8px);
}

.contact-detail span {
    display: block;

    margin-bottom: 8px;

    color:
        var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}


/* =========================================================
   36 — FOOTER
========================================================= */

.footer {
    position: relative;

    padding:
        105px
        max(
            50px,
            calc(
                (100vw - var(--container)) / 2
            )
        )
        32px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(198,238,214,.13),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #252622,
            #20211E
        );

    color:
        var(--cream);
}

.footer::before {
    content: "";

    position: absolute;

    top: -150px;
    right: 7%;

    width: 370px;
    height: 370px;

    border:
        1px solid rgba(181,150,88,.15);

    border-radius: 50%;

    animation:
        ringPulse 9s ease-in-out infinite;
}

.footer-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        1.7fr
        repeat(3, 1fr);

    gap: 60px;

    padding-bottom: 70px;
}

.footer p {
    max-width: 370px;

    color:
        rgba(247,243,236,.58);
}

.footer h4 {
    margin-bottom: 20px;

    color:
        var(--gold-light);

    font-family:
        var(--body);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;

    gap: 11px;
}

.footer-links a {
    width: fit-content;

    color:
        rgba(247,243,236,.58);

    font-size: 12px;

    transition:
        color .3s,
        transform .35s var(--ease-luxury);
}

.footer-links a:hover {
    color:
        var(--gold-light);

    transform:
        translateX(6px);
}

.footer-bottom {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 27px;

    border-top:
        1px solid rgba(255,255,255,.09);

    color:
        rgba(247,243,236,.38);

    font-size: 8px;
}


/* =========================================================
   37 — CONTENT
========================================================= */

.two-column {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 80px;
}

.three-column {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 2px;

    background:
        var(--border);
}

.content-card {
    position: relative;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.72),
            var(--mint-light)
        );

    transition:
        transform .5s var(--ease-luxury),
        box-shadow .5s;
}

.content-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-medium);
}

.number-label {
    display: block;

    margin-bottom: 22px;

    color:
        var(--gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
}


/* =========================================================
   38 — REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity 1s var(--ease-luxury),
        transform 1s var(--ease-luxury);
}

.reveal.visible,
.reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}

.reveal-left {
    opacity: 0;

    transform:
        translateX(-45px);

    transition:
        opacity 1s var(--ease-luxury),
        transform 1s var(--ease-luxury);
}

.reveal-left.visible,
.reveal-left.is-visible {
    opacity: 1;

    transform:
        translateX(0);
}

.reveal-right {
    opacity: 0;

    transform:
        translateX(45px);

    transition:
        opacity 1s var(--ease-luxury),
        transform 1s var(--ease-luxury);
}

.reveal-right.visible,
.reveal-right.is-visible {
    opacity: 1;

    transform:
        translateX(0);
}


/* =========================================================
   39 — TABLET
========================================================= */

@media (max-width: 1100px) {

    :root {
        --page-padding: 35px;
    }

    .desktop-nav {
        gap: 15px;
        margin-inline: 25px;
    }

    .desktop-nav a {
        font-size: 8px;
    }

    .product-grid,
    .shop-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .cart-layout {
        grid-template-columns:
            1fr 330px;

        gap: 35px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-card:nth-child(2) {
        border-right: 0;
    }

    .process-card:nth-child(n+3) {
        border-top:
            1px solid var(--border);
    }
}


/* =========================================================
   40 — MOBILE
========================================================= */

@media (max-width: 850px) {

    :root {
        --page-padding: 20px;
    }

    body {
        font-size: 14px;
    }

    .container,
    .section {
        width:
            calc(100% - 40px);
    }

    .section {
        padding-block:
            90px;
    }

    .header {
        min-height: 74px;

        padding:
            12px 20px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-button {
        display: block;
    }

    body.menu-open
    .menu-button span:first-child {
        transform:
            translateY(3.5px)
            rotate(45deg);
    }

    body.menu-open
    .menu-button span:last-child {
        transform:
            translateY(-3.5px)
            rotate(-45deg);
    }

    body.menu-open
    .menu-button span {
        width: 25px;
    }

    .hero-content,
    .home-hero-content {
        width:
            calc(100% - 40px);

        margin-left:
            20px;
    }

    .home-hero::before,
    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(247,243,236,.9),
                rgba(247,243,236,.45)
            );
    }

    .hero-orb-one {
        right: -28%;
        top: 18%;

        opacity: .58;
    }

    .hero-orb-two {
        right: 5%;
        bottom: 13%;

        width: 125px;
        height: 125px;
    }

    .hero-orb-three {
        display: none;
    }

    .page-hero {
        min-height: 570px;

        padding:
            135px
            20px
            65px;
    }

    .page-hero-number {
        right: 20px;
    }

    .section-header {
        display: block;
    }

    .section-header-description {
        margin-top: 22px;
    }

    .product-grid,
    .shop-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .category-grid,
    .collections-grid,
    .feature-grid,
    .studio-feature-grid,
    .shipping-grid,
    .three-column {
        grid-template-columns:
            1fr;
    }

    .studio-feature.large {
        grid-column:
            auto;
    }

    .two-column,
    .contact-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .cart-layout {
        grid-template-columns:
            1fr;
    }

    .cart-summary {
        position:
            static;
    }

    .shop-controls {
        display: block;
    }

    .shop-search {
        max-width: none;

        margin-top: 20px;
    }

    .footer {
        padding:
            75px
            20px
            25px;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 38px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom > * + * {
        margin-top: 10px;
    }

    .cursor,
    .cursor-ring {
        display: none;
    }
}


/* =========================================================
   41 — SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .container,
    .section {
        width:
            calc(100% - 32px);
    }

    .section {
        padding-block:
            70px;
    }

    h1 {
        font-size:
            clamp(
                48px,
                15vw,
                72px
            );
    }

    h2 {
        font-size:
            clamp(
                40px,
                12vw,
                58px
            );
    }

    h3 {
        font-size: 31px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
    }

    .product-grid,
    .shop-grid {
        grid-template-columns:
            1fr;
    }

    .product-image,
    .product-visual {
        min-height: 350px;
    }

    .category-card,
    .collection-card {
        min-height: 430px;

        padding: 30px;
    }

    .category-card h3,
    .collection-card h3 {
        font-size: 43px;
    }

    .cart-item {
        grid-template-columns:
            90px
            1fr;

        gap: 15px;
    }

    .cart-item-image {
        width: 90px;
    }

    .cart-item > :last-child {
        grid-column: 2;
    }

    .form-grid {
        grid-template-columns:
            1fr;
    }

    .form-group.full {
        grid-column:
            auto;
    }

    .process-grid {
        grid-template-columns:
            1fr;
    }

    .process-card {
        min-height:
            auto;

        border-right:
            0;

        border-bottom:
            1px solid var(--border);
    }

    .process-card:last-child {
        border-bottom:
            0;
    }

    .mobile-menu {
        padding:
            100px
            32px
            40px;
    }

    .mobile-menu-inner > a {
        font-size:
            45px;
    }

    .logo-text {
        font-size:
            8px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .cart-notification {
        right: 15px;
        bottom: 15px;

        width:
            calc(100% - 30px);
    }
}


/* =========================================================
   42 — ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        2px solid var(--gold);

    outline-offset:
        4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}


/* =========================================================
   43 — ANIMATIONS
========================================================= */

@keyframes loaderRise {

    0% {
        opacity: 0;

        transform:
            translateY(70px)
            scale(.75)
            rotate(-8deg);
    }

    65% {
        opacity: 1;

        transform:
            translateY(-8px)
            scale(1.04)
            rotate(2deg);
    }

    100% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1)
            rotate(0);
    }
}

@keyframes loaderMove {

    0% {
        transform:
            translateX(-100%);
    }

    100% {
        transform:
            translateX(100%);
    }
}

@keyframes galleryFloat {

    0%,
    100% {
        transform:
            translate3d(0,0,0)
            rotate(0deg);
    }

    50% {
        transform:
            translate3d(0,-24px,0)
            rotate(3deg);
    }
}

@keyframes waveFloat {

    0%,
    100% {
        transform:
            rotate(-24deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(-21deg)
            translateY(-18px);
    }
}

@keyframes marquee {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }
}

@keyframes heroTitleIn {

    0% {
        opacity: 0;

        transform:
            translateY(55px);
    }

    100% {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes heroFadeIn {

    0% {
        opacity: 0;

        transform:
            translateY(25px);
    }

    100% {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes scrollLine {

    0%,
    100% {
        transform:
            scaleX(.45);

        transform-origin:
            left;
    }

    50% {
        transform:
            scaleX(1);

        transform-origin:
            left;
    }
}

@keyframes ringPulse {

    0%,
    100% {
        transform:
            scale(1);

        opacity: .55;
    }

    50% {
        transform:
            scale(1.09);

        opacity: 1;
    }
}

@keyframes dropFloat {

    0%,
    100% {
        transform:
            rotate(45deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(45deg)
            translateY(-17px);
    }
}


/* =========================================================
   44 — FINAL GALLERY POLISH
========================================================= */

.product-card,
.category-card,
.collection-card,
.content-card,
.studio-feature,
.shipping-card {
    will-change:
        transform;
}

button,
a {
    -webkit-tap-highlight-color:
        transparent;
}

@media (hover: none) {

    .product-card:hover,
    .category-card:hover,
    .collection-card:hover,
    .content-card:hover,
    .studio-feature:hover,
    .shipping-card:hover {
        transform:
            none;
    }
}


/* =========================================================
   END — THE RESIN STUDIO
========================================================= */

/* =========================================================
   STUDIO SECTION VISIBILITY FIX
========================================================= */

.three-column,
.three-column.reveal,
.three-column.reveal.visible,
.three-column.reveal.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.three-column .content-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.collection-banner {
    width: 100%;
    height: 950px;
}

/* =========================================================
   COLLECTION IMAGE
========================================================= */

.collection-banner {
    width: 100%;
    aspect-ratio: 1448 / 950;
    overflow: hidden;
    border-radius: 6px;
    margin: 0;
}

.collection-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   REMOVE EXCESS SPACE AFTER COLLECTION IMAGE
========================================================= */

.collection-banner + .category-grid {
    display: none;
}
html,
body {
    background-color: #ffffff !important;
}