/* ==========================================================================
   MIKASH  -  Wear Your Mood
   Palette from the client's logo: wine #683A44, blush #F2BFC4, ivory #FBE5E5
   ========================================================================== */

:root {
    --wine: #683a44;
    --wine-600: #5a313a;
    --wine-700: #4b2830;
    --wine-800: #3b1f26;
    --wine-900: #2a1419;
    --wine-950: #1c0d10;
    --mauve: #8c5a65;
    --blush: #f2bfc4;
    --blush-300: #e7a7ae;
    --blush-100: #fbe9ea;
    --ivory: #fbe5e5;
    --cream: #fdf6f4;

    --text: rgba(251, 229, 229, .92);
    --text-soft: rgba(251, 229, 229, .68);
    --line: rgba(242, 191, 196, .28);
    --line-soft: rgba(251, 229, 229, .12);

    --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --f-serif: 'Playfair Display', Georgia, serif;
    --f-sans: 'Poppins', 'Segoe UI', sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-curtain: cubic-bezier(.76, 0, .24, 1);

    --gutter: clamp(20px, 4.2vw, 64px);
    --wrap: 1320px;
    --hdr-h: 92px;
    --drape-w: 9vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--wine-900);
    color: var(--text);
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blush); color: var(--wine-900); }
:focus-visible { outline: 1px solid var(--blush); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--blush); color: var(--wine-900); padding: 10px 16px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: 11.5px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--blush);
}
.eyebrow--line { display: inline-flex; align-items: center; gap: 18px; }
.eyebrow--line::after { content: ''; width: 46px; height: 1px; background: currentColor; opacity: .7; }

/* Large Bodoni headings use optical size 32: the finer display cuts lose their hairlines on the dark wine. */
.display {
    font-family: var(--f-display);
    font-weight: 500; font-variation-settings: 'opsz' 32;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1.04;
    letter-spacing: .035em;
    text-transform: uppercase;
    color: var(--ivory);
}
.display--reflect { -webkit-box-reflect: below -.16em linear-gradient(transparent 52%, rgba(255, 255, 255, .2)); }

.lede {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(19px, 1.7vw, 23px);
    color: var(--text);
}

.caps-stack {
    font-family: var(--f-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .36em;
    line-height: 2.1;
    text-transform: uppercase;
    color: var(--text);
}

.orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--blush); }
.orn span { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.orn span:last-child { transform: scaleX(-1); }
.orn i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

.shead { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(44px, 5vw, 70px); position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
    --bh: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: var(--bh);
    padding: 0 32px;
    font-family: var(--f-sans);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: .26em;
    text-transform: uppercase;
    transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
    white-space: nowrap;
}
.btn svg { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--solid { background: var(--blush); color: var(--wine-900); }
.btn--solid:hover { background: var(--ivory); }
.btn--ghost { border: 1px solid rgba(251, 229, 229, .55); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--blush); color: var(--blush); }
.btn--sm { --bh: 46px; padding: 0 24px; font-size: 10.5px; }

.link-caps { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); }
.link-caps svg { font-size: 18px; transition: transform .4s var(--ease); }
.link-caps:hover svg { transform: translateX(5px); }

.circle-btn {
    width: 42px; height: 42px;
    display: inline-grid; place-items: center;
    border: 1px solid rgba(251, 229, 229, .5);
    border-radius: 50%;
    color: var(--ivory);
    transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.circle-btn svg { font-size: 17px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   CURTAIN INTRO
   ========================================================================== */
.curtain { display: none; }
.js .curtain { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.curtain__panel {
    position: absolute; top: 0; bottom: 0; width: 50.5%;
    background:
        linear-gradient(90deg, rgba(0,0,0,.35), transparent 18%, transparent 82%, rgba(0,0,0,.35)),
        url('../../images/home/curtain.webp') center / auto 100% repeat-x,
        var(--wine-800);
    transition: transform 2s var(--ease-curtain);
    will-change: transform;
}
.curtain__panel--l { left: 0; box-shadow: 30px 0 60px rgba(0,0,0,.5); transform-origin: left center; }
.curtain__panel--r { right: 0; box-shadow: -30px 0 60px rgba(0,0,0,.5); transform-origin: right center; }
.curtain__panel::after { /* soft gather shading towards the meeting edge */
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.08), transparent 60%);
}
.curtain__logo {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
    transition: opacity .7s var(--ease), transform 1s var(--ease);
}
.curtain__logo img { width: clamp(130px, 14vw, 200px); filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); animation: logoIn 1.1s var(--ease-out) both; }
.curtain__logo span { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--ivory); opacity: .8; animation: logoIn 1.1s .25s var(--ease-out) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.curtain.is-open .curtain__logo { opacity: 0; transform: scale(1.04); }
.curtain.is-open .curtain__panel--l { transform: translateX(calc(-100% + var(--drape-w))) scaleX(.98); }
.curtain.is-open .curtain__panel--r { transform: translateX(calc(100% - var(--drape-w))) scaleX(.98); }
.curtain.is-done { opacity: 0; transition: opacity .6s ease; }
.curtain.is-gone { display: none; }
.is-intro { overflow: hidden; }
.is-intro .hdr { opacity: 0; }
.hdr { transition: opacity 1s .2s var(--ease), background .5s var(--ease), height .5s var(--ease), border-color .5s; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--hdr-h);
    background: linear-gradient(180deg, rgba(28, 13, 16, .72), rgba(28, 13, 16, 0)) border-box no-repeat;
    border-bottom: 1px solid transparent;
}
.hdr.is-scrolled, .hdr.is-menu, .page-soon .hdr {
    --hdr-h: 76px;
    background: rgba(42, 20, 25, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--line-soft);
}
.hdr__inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(24px, 3vw, 56px);
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}
.hdr__nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
.hdr__nav--left { justify-content: flex-end; }
.hdr__nav--right { justify-content: flex-start; }
.hdr__link {
    position: relative;
    font-size: 11.5px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
    color: var(--text); padding: 10px 0; transition: color .3s;
}
.hdr__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--blush);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hdr__link:hover, .hdr__link.is-active, .hdr__link.is-hover { color: var(--blush); }
.hdr__link:hover::after, .hdr__link.is-active::after, .hdr__link.is-hover::after { transform: scaleX(1); transform-origin: left; }

.hdr__logo { display: grid; justify-items: center; gap: 5px; }
.hdr__mark { height: 44px; width: auto; transition: height .5s var(--ease); }
.hdr__word { height: 12px; width: auto; }
.is-scrolled .hdr__mark { height: 36px; }

.hdr__icons { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; }
.hdr__icon { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: var(--text); transition: color .3s; }
.hdr__icon svg { font-size: 21px; }
.hdr__icon:hover { color: var(--blush); }
.hdr__count {
    position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: var(--blush); color: var(--wine-900);
    font-size: 9.5px; font-weight: 500; line-height: 16px; text-align: center;
}
.hdr__burger { display: none; }

/* Mega menu */
.mega {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(42, 20, 25, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .4s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mega__inner {
    max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 44px var(--gutter) 48px;
    display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; gap: 36px;
}
.mega__title {
    display: inline-block; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
    color: var(--blush); padding-bottom: 12px; margin-bottom: 16px; position: relative;
}
.mega__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 1px; background: var(--blush); }
.mega__col li + li { margin-top: 8px; }
.mega__col a:not(.mega__title) { font-family: var(--f-serif); font-size: 19px; color: var(--text); transition: color .3s, padding .3s; }
.mega__col a:not(.mega__title):hover { color: var(--blush); padding-left: 4px; }
.mega__all { font-style: italic; font-size: 16px !important; color: var(--text-soft) !important; }
.mega__promo { position: relative; overflow: hidden; min-height: 230px; border: 1px solid var(--line-soft); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo-text {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 20px;
    background: linear-gradient(transparent, rgba(28, 13, 16, .85));
    display: grid; gap: 2px;
}
.mega__promo-text b { font-family: var(--f-display); font-weight: 500; font-size: 22px; text-transform: uppercase; color: var(--ivory); }
.mega__promo-text em { font-family: var(--f-serif); font-size: 17px; color: var(--blush); }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(15, 6, 8, .6); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
    background: linear-gradient(180deg, var(--wine-800), var(--wine-900));
    transform: translateX(-100%); transition: transform .55s var(--ease-out);
    display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 24px 18px; border-bottom: 1px solid var(--line-soft); }
.drawer__head img { width: 82px; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; }
.drawer__close svg { font-size: 22px; }
.drawer__nav { padding: 14px 24px; display: grid; }
.drawer__nav > a, .drawer__group summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid var(--line-soft);
    font-family: var(--f-serif); font-size: 23px; color: var(--ivory); cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary svg { font-size: 20px; transition: transform .3s; color: var(--blush); }
.drawer__group[open] summary svg { transform: rotate(180deg); }
.drawer__sub { display: grid; padding: 8px 0 14px 14px; border-bottom: 1px solid var(--line-soft); }
.drawer__sub a { padding: 7px 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.drawer__sub .drawer__all { color: var(--blush); }
.drawer__foot { margin-top: auto; padding: 24px; display: grid; gap: 14px; border-top: 1px solid var(--line-soft); }
.drawer__foot a { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.drawer__foot svg { font-size: 19px; color: var(--blush); }
.drawer__tag { font-family: var(--f-serif); font-style: italic; font-size: 27px; color: var(--blush); margin-top: 6px; }

/* Search overlay */
.search {
    position: fixed; inset: 0; z-index: 160;
    background: rgba(28, 13, 16, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.search.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.search__close { position: absolute; top: 26px; right: var(--gutter); width: 46px; height: 46px; display: grid; place-items: center; }
.search__close svg { font-size: 26px; }
.search__inner { width: min(760px, 88vw); display: grid; gap: 26px; text-align: center; transform: translateY(16px); transition: transform .6s var(--ease-out); }
.search.is-open .search__inner { transform: none; }
.search__form { display: flex; border-bottom: 1px solid var(--line); }
.search__form input {
    flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 14px 0;
    font-family: var(--f-serif); font-size: clamp(26px, 4vw, 44px); color: var(--ivory);
}
.search__form input::placeholder { color: rgba(251, 229, 229, .35); font-style: italic; }
.search__form button svg { font-size: 30px; color: var(--blush); }
.search__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; }
.search__chips span { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-soft); margin-right: 6px; }
.search__chips a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; transition: background .3s, color .3s; }
.search__chips a:hover { background: var(--blush); color: var(--wine-900); }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px;
    overflow: hidden;
    background: radial-gradient(120% 90% at 72% 40%, #74424d 0%, var(--wine-700) 34%, var(--wine-900) 72%);
    isolation: isolate;
}
.hero__glow {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(40% 50% at 20% 85%, rgba(242, 191, 196, .12), transparent 70%),
        radial-gradient(30% 40% at 60% 10%, rgba(255, 220, 200, .08), transparent 70%);
}
.hero__media {
    position: absolute; top: 0; bottom: 0; right: var(--drape-w); width: 56vw;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero__media img {
    width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%;
    animation: heroZoom 9s var(--ease-out) both;
}
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,13,16,.45) 0%, transparent 22%, transparent 70%, rgba(28,13,16,.65) 100%); }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero__drape {
    position: absolute; top: 0; bottom: 0; width: var(--drape-w); z-index: 3;
    background:
        linear-gradient(90deg, rgba(0,0,0,.45), transparent 35%, rgba(255,255,255,.04) 60%, rgba(0,0,0,.35)),
        url('../../images/home/curtain.webp') center / auto 100% repeat-x,
        var(--wine-800);
    will-change: transform;
}
.hero__drape--l { left: 0; box-shadow: 22px 0 50px rgba(0, 0, 0, .55); }
.hero__drape--r { right: 0; box-shadow: -22px 0 50px rgba(0, 0, 0, .55); }
.hero__drape::after { /* pelmet shadow at the top */
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 140px;
    background: linear-gradient(rgba(0,0,0,.5), transparent);
}

.hero__petals { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__petals i {
    position: absolute; top: -40px; width: 13px; height: 18px; border-radius: 70% 0 70% 0;
    background: linear-gradient(135deg, rgba(251,229,229,.95), var(--blush-300));
    opacity: 0; filter: blur(.6px);
    animation: petal 16s linear infinite;
}
.hero__petals i:nth-child(1) { left: 18%; animation-delay: 1.5s; }
.hero__petals i:nth-child(2) { left: 34%; animation-delay: 5s; transform: scale(.7); }
.hero__petals i:nth-child(3) { left: 52%; animation-delay: 8s; }
.hero__petals i:nth-child(4) { left: 66%; animation-delay: 3s; transform: scale(.6); }
.hero__petals i:nth-child(5) { left: 80%; animation-delay: 10s; }
@keyframes petal {
    0% { opacity: 0; transform: translate(0, 0) rotate(0); }
    12% { opacity: .5; }
    75% { opacity: .3; }
    100% { opacity: 0; transform: translate(120px, 105vh) rotate(380deg); }
}

.hero__content {
    position: relative; z-index: 4;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: var(--hdr-h) 0 0 calc(var(--drape-w) + clamp(28px, 5vw, 96px));
    max-width: calc(var(--drape-w) + 720px);
}
.hero__title {
    font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32;
    font-size: clamp(56px, 7.6vw, 128px); line-height: .95; letter-spacing: -.02em;
    color: var(--ivory); margin: 26px 0 22px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(21px, 2vw, 28px); color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__scroll {
    position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: grid; justify-items: center; gap: 10px;
    font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--text-soft);
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--blush), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--ivory); animation: scrollCue 2.2s var(--ease) infinite; }
@keyframes scrollCue { to { transform: translateY(92px); } }

/* hero entrance: waits for the curtain to open */
.js .hero__in { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero__title .hero__in { transform: translate3d(0, 105%, 0); transition-duration: 1.3s; }
.js .is-ready .hero__in { opacity: 1; transform: none; }

/* ==========================================================================
   2. NEW ARRIVALS
   ========================================================================== */
.arrivals { position: relative; padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 9vw, 130px); overflow: hidden; isolation: isolate; }
.arrivals__wall {
    position: absolute; inset: -6%; z-index: -2;
    background: url('../../images/home/wall-leaf.webp') center / cover no-repeat, var(--wine-700);
    animation: leafSway 22s ease-in-out infinite alternate;
}
.arrivals__wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,20,25,.55), rgba(75,40,48,.35) 40%, rgba(42,20,25,.8)); }
.arrivals__light {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(40% 50% at 15% 30%, rgba(255, 214, 190, .13), transparent 70%), radial-gradient(35% 45% at 85% 70%, rgba(255, 214, 190, .09), transparent 70%);
    animation: lightDrift 16s ease-in-out infinite alternate;
}
@keyframes leafSway { 0% { transform: scale(1.04) translate(0, 0) rotate(0); } 100% { transform: scale(1.1) translate(-1.5%, 1%) rotate(.6deg); } }
@keyframes lightDrift { 0% { opacity: .7; transform: translateX(-3%); } 100% { opacity: 1; transform: translateX(3%); } }

.side-note {
    position: absolute; top: 10px; right: var(--gutter);
    font-size: 10.5px; letter-spacing: .38em; line-height: 2.2; text-transform: uppercase; text-align: right; color: var(--text);
}

/* Rails (horizontal carousels) */
.rail { position: relative; z-index: 2; }
.rail__track {
    display: grid; grid-auto-flow: column;
    gap: clamp(18px, 2.4vw, 34px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 20px 4px 10px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 42px; }
.rail__btn {
    width: 48px; height: 48px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; color: var(--ivory);
    transition: background .35s var(--ease), color .35s var(--ease), opacity .35s;
}
.rail__btn svg { font-size: 20px; }
.rail__btn:hover:not(:disabled) { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.rail__btn:disabled { opacity: .3; cursor: default; }

/* Arched cards */
.arches { grid-auto-columns: calc((100% - 3 * clamp(18px, 2.4vw, 34px)) / 4); }
.arch__media { position: relative; display: block; padding: 12px 12px 0; }
.arch__frame {
    position: absolute; inset: 0 0 -12px;
    border: 1px solid rgba(242, 191, 196, .45); border-radius: 1000px 1000px 0 0;
    transition: inset .7s var(--ease), border-color .5s;
}
.arch__img { display: block; overflow: hidden; border-radius: 1000px 1000px 0 0; aspect-ratio: 3 / 4.3; background: var(--wine-800); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.arch__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.4s var(--ease); }
.arch:hover .arch__img img { transform: scale(1.07); }
.arch:hover .arch__frame { inset: -8px -8px -20px; border-color: var(--blush); }
.arch__body { text-align: center; padding: 30px 6px 0; }
.arch__body h3 { font-family: var(--f-serif); font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--ivory); }
.arch__body h3 a:hover { color: var(--blush); }
.arch__body p { margin-top: 6px; font-size: 12.5px; letter-spacing: .16em; color: var(--blush); }

/* ==========================================================================
   3. EXPLORE
   ========================================================================== */
.explore { position: relative; padding: clamp(100px, 10vw, 150px) 0; overflow: hidden; isolation: isolate; }
.explore__bg {
    position: absolute; inset: -12% -4%; z-index: -1;
    background: url('../../images/home/explore-bg.webp') center / cover;
}
.explore__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,20,25,.6), rgba(59,31,38,.4) 50%, rgba(42,20,25,.85)); }
.explore__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 30px); }
.xcard { position: relative; display: block; height: clamp(440px, 42vw, 620px); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.xcard__img { position: absolute; inset: -6% 0; }
.xcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; transition: transform 1.6s var(--ease); }
.xcard:hover .xcard__img img { transform: scale(1.06); }
.xcard__panel {
    position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
    padding: clamp(28px, 3.4vw, 56px);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
    background: linear-gradient(90deg, rgba(28, 13, 16, .86) 0%, rgba(28, 13, 16, .6) 70%, transparent);
}
.xcard__title { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(32px, 3.3vw, 52px); line-height: 1; text-transform: uppercase; color: var(--ivory); }
.xcard__rule { width: 46px; height: 1px; background: var(--blush); transition: width .6s var(--ease); }
.xcard:hover .xcard__rule, .jfeature:hover .xcard__rule { width: 84px; }
.xcard__line { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; color: var(--text); margin-bottom: 10px; }
.xcard:hover .btn--ghost, .jfeature:hover .btn--ghost { border-color: var(--blush); color: var(--blush); }
.xcard:hover .btn--ghost svg, .jfeature:hover .btn--ghost svg { transform: translateX(5px); }

/* ==========================================================================
   4. JEWELLERY EDIT
   ========================================================================== */
.jewel { position: relative; padding: 0 0 clamp(100px, 10vw, 150px); background: linear-gradient(180deg, var(--wine-800), var(--wine-900)); }
.jewel__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); min-height: clamp(520px, 46vw, 680px); }
.jfeature { position: relative; overflow: hidden; display: block; min-height: 520px; }
.jfeature img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; object-position: 60% 20%; transition: transform 1.6s var(--ease); }
.jfeature:hover img { transform: scale(1.05); }
.jfeature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,13,16,.75), rgba(28,13,16,.15) 60%), linear-gradient(180deg, transparent 50%, rgba(28,13,16,.8)); }
.jfeature__top { position: absolute; z-index: 2; top: clamp(24px, 3vw, 44px); left: clamp(24px, 3vw, 44px); display: grid; gap: 22px; }
.jfeature__icon { font-size: 44px; color: var(--blush); width: 48px; height: 40px; }
.jfeature__bottom { position: absolute; z-index: 2; left: clamp(24px, 3vw, 44px); bottom: clamp(24px, 3vw, 44px); display: grid; gap: 18px; justify-items: start; }
.jfeature__line { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; color: var(--ivory); }

.jcard { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--wine-950); transition: transform .7s var(--ease); }
.jcard:hover { transform: translateY(-8px); }
.jcard__img { flex: 1; overflow: hidden; min-height: 300px; position: relative; }
.jcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.08); }
.jcard__body { padding: 24px 22px 26px; display: grid; gap: 8px; align-content: start; min-height: 178px; border-top: 1px solid var(--line); position: relative; }
.jcard__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.15; text-transform: uppercase; color: var(--ivory); padding-right: 50px; }
.jcard__line { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--text-soft); padding-right: 50px; }
.jcard__body .circle-btn { position: absolute; right: 20px; bottom: 26px; }
.jcard:hover .circle-btn, .tile:hover .circle-btn { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }

/* ==========================================================================
   5. BEST SELLERS
   ========================================================================== */
.best {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(110px, 11vw, 160px) 0 clamp(90px, 9vw, 130px);
    background: linear-gradient(180deg, var(--wine-700) 0%, var(--wine) 45%, var(--wine-600) 100%);
}
.best__mark { position: absolute; z-index: -1; right: -6vw; top: 6%; width: 46vw; max-width: 680px; opacity: .05; }
.bento {
    display: grid; gap: clamp(12px, 1.3vw, 18px);
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: repeat(2, clamp(230px, 22vw, 320px));
    grid-template-areas: "a b d" "a c d";
}
.tile { position: relative; overflow: hidden; display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; } .tile--d { grid-area: d; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28,13,16,.7) 0%, rgba(28,13,16,.1) 45%, rgba(28,13,16,.55) 100%); transition: opacity .6s; }
.tile__text { position: absolute; z-index: 2; top: clamp(20px, 2.4vw, 34px); left: clamp(20px, 2.4vw, 34px); display: grid; gap: 8px; text-shadow: 0 2px 18px rgba(28, 13, 16, .75); }
.tile__text b { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--ivory); }
.tile__text em { font-family: var(--f-serif); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.3; color: var(--text); }
.tile__cta { position: absolute; z-index: 2; left: clamp(20px, 2.4vw, 34px); bottom: clamp(20px, 2.4vw, 30px); display: flex; align-items: center; gap: 14px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); }

.rail--products { margin-top: clamp(70px, 7vw, 100px); }
.rail__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft); padding-bottom: 18px; }
.rail__title { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); color: var(--ivory); }
.rail__arrows { display: flex; gap: 10px; }
.products { grid-auto-columns: calc((100% - 3 * clamp(18px, 2.4vw, 34px)) / 4); padding-top: 26px; }
.best .center { margin-top: 56px; }
.best__decor { position: absolute; left: var(--gutter); bottom: 54px; display: grid; gap: 14px; opacity: .8; }
.best__decor svg { width: 40px; height: 34px; color: var(--blush); }

/* Product card */
.pcard { position: relative; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wine-800); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.3s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__badge { position: absolute; top: 14px; left: 14px; padding: 5px 10px; background: var(--blush); color: var(--wine-900); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.pcard__badge--new { background: rgba(28, 13, 16, .75); color: var(--ivory); border: 1px solid var(--line); }
.pcard__quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 46px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: rgba(251, 229, 229, .94); color: var(--wine-900);
    font-size: 10.5px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
    transform: translateY(130%); transition: transform .55s var(--ease);
}
.pcard__quick svg { font-size: 16px; }
.pcard:hover .pcard__quick, .pcard__media:focus-visible .pcard__quick { transform: none; }
.pcard__wish {
    position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(28, 13, 16, .45); color: var(--ivory);
    transition: background .3s, color .3s, transform .3s;
}
.pcard__wish svg { font-size: 19px; }
.pcard__wish:hover { transform: scale(1.08); }
.pcard__wish[aria-pressed="true"] { background: var(--blush); color: var(--wine-900); }
.pcard__wish[aria-pressed="true"] svg path { fill: currentColor; }
.pcard__body { padding: 18px 2px 0; display: grid; gap: 4px; }
.pcard__cat { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-soft); }
.pcard__name { font-family: var(--f-serif); font-weight: 500; font-size: 21px; line-height: 1.25; color: var(--ivory); }
.pcard__name a:hover { color: var(--blush); }
.pcard__price { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; letter-spacing: .08em; color: var(--blush); }
.pcard__price s { color: var(--text-soft); font-size: 12.5px; }

/* ==========================================================================
   6. PROMISE STRIP
   ========================================================================== */
.trust { position: relative; padding: 0 0 clamp(60px, 6vw, 84px); background: linear-gradient(180deg, var(--wine-600), var(--wine-800)); }
.trust__line { display: flex; align-items: center; gap: 14px; color: var(--blush); padding: 0 0 clamp(50px, 5vw, 70px); }
.trust__line span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.trust__line span:last-child { transform: scaleX(-1); }
.trust__line i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust__item { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 6px 20px; }
.trust__item + .trust__item { border-left: 1px solid var(--line-soft); }
.trust__item svg { width: 46px; height: 42px; color: var(--blush); }
.trust__item span { font-size: 11.5px; letter-spacing: .3em; line-height: 1.9; text-transform: uppercase; color: var(--ivory); }

/* ==========================================================================
   7. OUR STORY
   ========================================================================== */
.story { padding: clamp(100px, 11vw, 160px) 0; background: linear-gradient(180deg, var(--wine-800), rgba(59, 31, 38, 0) 30%, rgba(59, 31, 38, 0) 75%, var(--wine-800)), radial-gradient(80% 90% at 80% 50%, var(--wine) 0%, var(--wine-800) 65%); overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 120px); align-items: center; }
.story__media { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.story__frame { position: absolute; inset: 0; transform: translate(26px, 26px); border: 1px solid var(--line); z-index: 0; }
.story__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.story__text { display: grid; gap: 24px; justify-items: start; max-width: 520px; }
.story__title { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; color: var(--ivory); }
.story__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--blush); }
.story__text > p:not(.eyebrow):not(.story__quote) { color: var(--text); line-height: 1.85; }
.story__quote { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--text-soft); }
.story__quote span { color: var(--blush); }
.story .btn { margin-top: 10px; }

/* ==========================================================================
   8. CLOSING
   ========================================================================== */
.closing { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 13vw, 190px) var(--gutter); text-align: center; }
.closing__bg { position: absolute; inset: -14% 0; z-index: -1; background: url('../../images/home/drape.webp') center / cover; }
.closing__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(75,40,48,.55), rgba(42,20,25,.9)); }
.closing__inner { display: grid; justify-items: center; gap: 16px; }
.closing__inner img { width: 64px; margin-bottom: 10px; }
.closing h2 { font-family: var(--f-sans); font-weight: 400; font-size: clamp(18px, 2vw, 26px); letter-spacing: .5em; text-transform: uppercase; color: var(--ivory); padding-left: .5em; }
.closing__sub { font-size: 11px; letter-spacing: .6em; text-transform: uppercase; color: var(--blush); padding-left: .6em; }
.closing__line { width: 1px; height: 70px; background: linear-gradient(var(--blush), transparent); margin: 10px 0; }
.closing__text { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2vw, 27px); line-height: 1.5; color: var(--ivory); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { position: relative; background: linear-gradient(180deg, var(--wine-700), var(--wine-900)); padding-top: 0; }
.ftr__orn { display: flex; align-items: center; gap: 14px; color: var(--blush); padding: 0 var(--gutter); }
.ftr__orn span { flex: 1; height: 1px; background: var(--line); }
.ftr__orn i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.ftr__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr; gap: clamp(28px, 3vw, 54px); padding-top: clamp(60px, 6vw, 90px); padding-bottom: clamp(50px, 5vw, 70px); }
.ftr__brand img { width: 190px; margin-bottom: 22px; }
.ftr__brand p { color: var(--text-soft); font-size: 15px; line-height: 1.8; max-width: 320px; }
.ftr__script { font-family: var(--f-serif); font-style: italic; font-size: 34px !important; line-height: 1.2 !important; color: var(--blush) !important; margin-top: 18px; position: relative; padding-bottom: 14px; }
.ftr__script::after { content: ''; position: absolute; left: 0; bottom: 0; width: 120px; height: 1px; background: linear-gradient(90deg, var(--blush), transparent); }
.ftr h4 { font-family: var(--f-sans); font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); margin-bottom: 22px; padding-bottom: 12px; position: relative; }
.ftr h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 24px; height: 1px; background: var(--blush); }
.ftr__col { display: grid; align-content: start; gap: 9px; }
.ftr__col a { font-family: var(--f-serif); font-size: 18px; color: var(--text); transition: color .3s, padding .3s; width: fit-content; }
.ftr__col a:hover { color: var(--blush); padding-left: 4px; }
.ftr__news p { color: var(--text-soft); font-size: 14.5px; line-height: 1.75; }
.ftr__form { display: flex; align-items: center; margin-top: 20px; border: 1px solid var(--line); border-radius: 40px; padding: 5px 5px 5px 22px; transition: border-color .3s; }
.ftr__form:focus-within { border-color: var(--blush); }
.ftr__form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ivory); font: inherit; font-size: 14.5px; padding: 10px 0; }
.ftr__form input::placeholder { color: rgba(251, 229, 229, .45); }
.ftr__form button { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--wine-900); display: grid; place-items: center; transition: background .3s; }
.ftr__form button:hover { background: var(--ivory); }
.ftr__form button svg { font-size: 18px; }
.ftr__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: var(--text-soft); cursor: pointer; }
.ftr__consent input { accent-color: var(--blush); margin-top: 3px; }
.ftr__thanks { margin-top: 12px; color: var(--blush) !important; font-family: var(--f-serif); font-style: italic; font-size: 18px !important; }
.ftr__social { display: flex; gap: 10px; margin-top: 26px; }
.ftr__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.ftr__social a:hover { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.ftr__social svg { font-size: 18px; }
.ftr__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; padding-right: calc(var(--gutter) + 80px); border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--text-soft); }
.ftr__bottom nav { display: flex; gap: 26px; flex-wrap: wrap; }
.ftr__bottom a:hover { color: var(--blush); }
.ftr__top { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.ftr__top svg { font-size: 20px; transform: rotate(180deg); }
.ftr__top:hover { background: var(--blush); color: var(--wine-900); }

/* WhatsApp */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: flex; align-items: center; gap: 0;
    height: 56px; padding: 0 16px; border-radius: 30px;
    background: var(--blush); color: var(--wine-900);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    transition: gap .4s var(--ease), transform .4s var(--ease), opacity .6s;
}
.wa-float svg { font-size: 24px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: max-width .5s var(--ease); }
.wa-float:hover { gap: 10px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 160px; }
.is-intro .wa-float { opacity: 0; }

/* ==========================================================================
   HOLDING PAGE
   ========================================================================== */
.soon { min-height: 100vh; display: grid; place-items: center; padding: 140px var(--gutter) 90px; background: radial-gradient(80% 80% at 50% 40%, var(--wine) 0%, var(--wine-900) 75%); text-align: center; }
.soon__inner { display: grid; justify-items: center; gap: 18px; max-width: 640px; }
.soon__inner img { width: 80px; margin-bottom: 8px; }
.soon .btn { margin-top: 14px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
    .arches, .products { grid-auto-columns: calc((100% - 2 * clamp(18px, 2.4vw, 34px)) / 3); }
    .mega__inner { grid-template-columns: repeat(4, 1fr); }
    .mega__promo { display: none; }
    .ftr__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .ftr__news { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 1080px) {
    :root { --hdr-h: 70px; --drape-w: 7vw; }
    .hdr__nav, .hdr__icon--desk { display: none; }
    .hdr__inner { grid-template-columns: 1fr auto 1fr; }
    .hdr__burger { display: grid; gap: 6px; width: 40px; height: 40px; align-content: center; justify-self: start; }
    .hdr__burger span { display: block; height: 1px; background: var(--ivory); width: 24px; }
    .hdr__burger span:nth-child(2) { width: 16px; }
    .hdr__mark { height: 34px; }
    .hdr__word { height: 10px; }
    .hdr.is-scrolled { --hdr-h: 64px; }
    .is-scrolled .hdr__mark { height: 30px; }
    .mega { display: none; }

    .hero__media { width: 70vw; }


    .jewel__grid { grid-template-columns: 1fr 1fr 1fr; }
    .jfeature { grid-column: 1 / -1; min-height: 480px; }
    .jcard__img { min-height: 260px; }

    .story__grid { gap: 60px; }
}

/* Phones and portrait tablets get the stacked hero: photo on top, words below. */
@media (max-width: 820px), (max-width: 1080px) and (orientation: portrait) {
    .hero { min-height: 700px; }
    .hero__media {
        right: 0; width: 100%;
        -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 92%);
        mask-image: linear-gradient(180deg, #000 45%, transparent 92%);
    }
    .hero__media img { object-position: 52% 0; }
    .hero__media::after { background: linear-gradient(180deg, rgba(28,13,16,.55) 0%, transparent 18%, transparent 30%, rgba(28,13,16,.6) 46%, rgba(28,13,16,.92) 68%); }
    .hero__content { text-shadow: 0 2px 16px rgba(28, 13, 16, .7); }
    .hero__petals { display: none; }
    .hero__drape { width: 5vw; }
    .hero__content { justify-content: flex-end; padding: 0 28px 100px; max-width: none; }
    .hero__title { font-size: clamp(54px, 15vw, 84px); margin: 18px 0 14px; }
    .hero__ctas { margin-top: 28px; width: 100%; flex-direction: row; align-items: stretch; gap: 14px; }
    .hero__ctas .btn { flex: 1 1 200px; }
    .hero__scroll { display: none; }
}

@media (max-width: 820px) {
    .side-note { display: none; }
    .arches, .products { grid-auto-columns: 62%; }
    .rail__track { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }

    .explore__grid { grid-template-columns: 1fr; }
    .xcard { height: 520px; }
    .xcard__panel { width: 100%; top: auto; justify-content: flex-end; background: linear-gradient(0deg, rgba(28,13,16,.9) 0%, rgba(28,13,16,.55) 60%, transparent); padding-top: 120px; }

    .jewel__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; }
    .jewel__grid::-webkit-scrollbar { display: none; }
    .jfeature, .jcard { flex: 0 0 78%; scroll-snap-align: start; }
    .jfeature { min-height: 520px; }
    .jcard { min-height: 520px; }

    .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 220px 220px; grid-template-areas: "a d" "b c" "b c"; }

    .trust__grid { grid-template-columns: 1fr; gap: 30px; }
    .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 30px; }

    .story__grid { grid-template-columns: 1fr; }
    .story__media { justify-self: start; max-width: 88%; }
    .best__decor { display: none; }

    .ftr__inner { grid-template-columns: 1fr 1fr; }
    .ftr__brand { grid-column: 1 / -1; }
    .ftr__bottom { justify-content: center; text-align: center; padding-right: var(--gutter); padding-bottom: 96px; }
    .ftr__top { display: none; }
}

@media (max-width: 520px) {
    .btn { padding: 0 22px; letter-spacing: .2em; }
    .arches, .products { grid-auto-columns: 78%; }
    .bento { grid-template-columns: 1fr; grid-template-rows: 380px 260px 260px 380px; grid-template-areas: "a" "b" "c" "d"; }
    .xcard { height: 460px; }
    .rail__head { align-items: center; }
    .wa-float { right: 16px; bottom: 16px; height: 52px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal, .js .hero__in { opacity: 1; transform: none; }
}

/* ==========================================================================
   SWAG VALANCE (top of The Jewellery Edit): seamless pleats, scalloped swags,
   blush trim and tassels at every swag point
   ========================================================================== */
.jewel { overflow: hidden; }
.valance {
    --sw: 240px;            /* width of one swag */
    --drop: 52px;           /* how far each swag dips */
    --h: 118px;             /* rod to lowest point of a swag */
    position: relative; height: calc(var(--h) + 40px);
    margin-bottom: clamp(44px, 5vw, 80px);
    pointer-events: none;
}
.valance__rod {
    position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 9px;
    background: linear-gradient(180deg, #fbe5e5 0%, #e3a9b2 35%, #9b5a66 75%, #5a2c35 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .55);
}
.valance__swags {
    position: absolute; z-index: 2; left: 0; right: 0; top: 5px; height: var(--h);
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55));
}
.valance__fabric, .valance__trim {
    position: absolute; left: 0; right: 0; top: 0; height: 100%;
    -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(ellipse 50% 100% at 50% 0, #000 calc(100% - 1.5px), transparent);
    -webkit-mask-size: 100% calc(100% - var(--drop)), var(--sw) var(--drop);
    -webkit-mask-position: top, center bottom;
    -webkit-mask-repeat: no-repeat, repeat-x;
    mask-image: linear-gradient(#000 0 0), radial-gradient(ellipse 50% 100% at 50% 0, #000 calc(100% - 1.5px), transparent);
    mask-size: 100% calc(100% - var(--drop)), var(--sw) var(--drop);
    mask-position: top, center bottom;
    mask-repeat: no-repeat, repeat-x;
}
.valance__trim {
    height: calc(100% + 5px);
    background: linear-gradient(180deg, #fbe5e5, #e7a9b2 55%, #b3707c);
}
.valance__fabric {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 30%, transparent 55%, rgba(0, 0, 0, .22) 100%),
        radial-gradient(ellipse 50% 85% at 50% 0, transparent 62%, rgba(0, 0, 0, .28) 78%, transparent 80%, rgba(255, 220, 226, .07) 88%, transparent 93%) center bottom / var(--sw) calc(var(--drop) * 2) repeat-x,
        url('../../images/home/curtain-tile.webp') center top / auto 165% repeat-x,
        var(--wine-800);
}
.valance__tassel {
    position: absolute; z-index: 3;
    top: calc(5px + var(--h) - var(--drop) - 6px);
    left: calc(50% + var(--sw) / 2 + var(--i) * var(--sw));
    width: 16px; height: 58px; margin-left: -8px;
    animation: tasselSway 5s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -.37s);
    transform-origin: 50% 0;
}
.valance__tassel::before { /* knot + cap */
    content: ''; position: absolute; left: 1px; right: 1px; top: 0; height: 17px;
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    background: radial-gradient(circle at 40% 30%, #fff2f3, #e7a9b2 45%, #9b5a66 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .45);
}
.valance__tassel::after { /* fringe */
    content: ''; position: absolute; left: 0; right: 0; top: 13px; bottom: 0;
    top: 15px;
    background: repeating-linear-gradient(90deg, #fbe5e5 0 1px, #d9939d 1px 2px, #9b5a66 2px 2.6px);
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .4));
    clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
@keyframes tasselSway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

@media (max-width: 820px) {
    .valance { --sw: 140px; --drop: 26px; --h: 72px; }
    .valance__tassel { width: 11px; height: 36px; margin-left: -5.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .valance__tassel { animation: none; }
}
