/* =========================================================================
   ATELIER SAFFRON — Ultra-Luxury Kilim Gallery
   Color Palette: Sand, Terracotta, Indigo, Saffron.
   ========================================================================= */


@import url("fonts.css");
@import url("fonts-persion.css");
@import url("loader.css");

:root {
    --sand-light: #f9f6f0;
    --sand-mid: #e8e1d5;
    --terracotta: #b54a3a;
    --terracotta-deep: #8c3528;
    --indigo: #2a3a4a;
    --indigo-dark: #1c2632;
    --saffron: #d4a354;
    --saffron-glow: rgba(212, 163, 84, 0.25);
    --cream: #f2e9d8;
    --ink: #17130f;
    --ink-soft: #221c16;

    --serif: "Fraunces", "Iowan Old Style", serif;
    --sans: "Inter", "Helvetica Neue", sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --header-h: 76px;
    --strip-h: 34px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--sand-light);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    width: 100%;
    background: var(--sand-light);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--serif); font-optical-sizing: auto; }
:focus-visible { outline: 1.5px solid var(--saffron); outline-offset: 3px; }

/* -------------------------------------------------------------------------
   Scroll Progress Bar
   ------------------------------------------------------------------------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--saffron), var(--terracotta));
    width: 0%;
    z-index: 9999;
    transition: width 100ms linear;
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    color: var(--terracotta);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.gold-line {
    width: 46px;
    height: 1.5px;
    background: var(--saffron);
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Top Strip — thin marquee signature above the header
   ------------------------------------------------------------------------- */
.top-strip {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    height: var(--strip-h);
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 163, 84, 0.25);
    transition: transform 400ms var(--ease-out);
}
.top-strip.is-hidden { transform: translateY(-100%); }

.top-strip-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    gap: 0.6rem;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(242, 233, 216, 0.75);
}
.top-strip-dot { color: var(--saffron); }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: var(--strip-h);
    z-index: 300;
    width: 100%;
    background: transparent;
    transition: background 400ms var(--ease-out),
                backdrop-filter 400ms var(--ease-out),
                border-color 400ms var(--ease-out),
                box-shadow 400ms var(--ease-out),
                transform 400ms var(--ease-out),
                top 400ms var(--ease-out);
    padding: 0.5rem 0;
}

.site-header.is-scrolled {
    top: 0;
    background: rgba(249, 246, 240, 0.86);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(212, 163, 84, 0.22);
    box-shadow: 0 12px 40px rgba(23, 19, 15, 0.05);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-link:not(.nav-link-cta) { color: var(--ink); }

.site-header.is-hidden { transform: translateY(-100%); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    transition: color 300ms;
}
.site-header:not(.is-scrolled) .brand { color: var(--ink); }

.brand-mark {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--saffron);
    transform: rotate(45deg);
    border-radius: 2px;
    position: relative;
}
.brand-mark::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(212, 163, 84, 0.4);
}
.brand-mark span { transform: rotate(-45deg); }

.brand-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #f2e2bd 0%, var(--saffron) 55%, #a97a34 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--saffron);
    color: var(--saffron);
    text-shadow: 0 1px 1px rgba(23, 19, 15, 0.06);
    filter: drop-shadow(0 0 14px rgba(212, 163, 84, 0.18));
}
.brand-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--saffron), transparent);
    transform: scaleX(0.3);
    transform-origin: left;
    opacity: 0.6;
    transition: transform 500ms var(--ease-out), opacity 500ms var(--ease-out);
}

.brand:hover .brand-name {
    background-position: 100% center;
}

.brand:hover .brand-name::after {
    transform: scaleX(1);
    opacity: 1;
}

.desktop-nav { display: flex; align-items: center; gap: 2.6rem; }

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 4px;
    transition: color 300ms;
}
.site-header.is-scrolled .nav-link { color: var(--ink-soft); }

.nav-link-index {
    font-family: var(--ink);
    font-style: italic;
    font-size: 0.68rem;
    color: var(--ink);
    opacity: 0.9;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 400ms var(--ease-out);
}

.nav-link:hover { color: var(--saffron); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-link-cta {
    padding: 0.55rem 1.35rem;
    border: 1px solid var(--ink);
    color: var(--ink) !important;
    background: rgba(212, 163, 84, 0.08);
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
    background: var(--saffron);
    color: var(--ink) !important;
    box-shadow: 0 6px 24px var(--saffron-glow);
}
.site-header.is-scrolled .nav-link-cta { color: var(--ink) !important; }

/* NOTE: the boxed "signature navigation" header treatment that used to live
   here has been retired in favour of the Gallery Header section at the very
   end of this file, which now owns all header styling end-to-end. */

/* منوی موبایل — دکمه */
.menu-toggle {
    display: none; width: 44px; height: 44px;
    background: transparent; border: none; cursor: pointer;
    color: var(--ink); position: relative; z-index: 310;
}
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 22px; height: 1.5px; background: currentColor;
    position: absolute; left: 50%; transform: translateX(-50%);
    transition: all 0.3s var(--ease-out);
}
.menu-toggle span { top: 50%; transform: translate(-50%, -50%); }
.menu-toggle span::before { content: ""; top: -7px; }
.menu-toggle span::after { content: ""; top: 7px; }
.menu-toggle.is-open { color: var(--cream); }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: translate(-50%, -50%) rotate(45deg); background: var(--cream); }
.menu-toggle.is-open span::after { top: 0; transform: translate(-50%, -50%) rotate(-45deg); background: var(--cream); }

/* منوی موبایل — پنل تمام‌صفحه؛ خروج با opacity والد تا متن‌ها روی صفحه نمانند */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 280;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 320ms var(--ease-out), visibility 0s linear 320ms;
}
.mobile-menu.is-open,
.mobile-menu.is-closing {
    visibility: visible;
}
.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 420ms var(--ease-out), visibility 0s linear 0s;
}
.mobile-menu.is-closing {
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--ease-out), visibility 0s linear 280ms;
}

.mobile-menu-backdrop {
    position: absolute; inset: 0;
    background: var(--ink);
    background-image:
            radial-gradient(circle at 85% 12%, rgba(212, 163, 84, 0.14), transparent 45%),
            radial-gradient(circle at 10% 90%, rgba(181, 74, 58, 0.12), transparent 50%);
}

.mobile-menu-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem clamp(1.5rem, 6vw, 3rem) 3rem;
}

.mobile-menu-brand {
    position: absolute;
    top: 2rem;
    inset-inline-start: clamp(1.5rem, 6vw, 3rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cream);
}
.mobile-menu-brand .brand-mark { width: 38px; height: 38px; font-size: 0.95rem; }
.mobile-menu-brand .brand-mark::before { inset: 5px; }
.mobile-menu-brand strong { display: block; font-family: var(--serif); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.26em; }
.mobile-menu-brand small { display: block; margin-top: 0.25rem; color: rgba(242, 233, 216, 0.6); font-size: 0.52rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }

.mobile-menu-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--saffron);
    font-weight: 600;
    margin: 0 0 1.75rem;
    opacity: 0;
    transform: translateY(14px);
}

.mobile-nav-link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    color: var(--cream);
    font-size: clamp(2rem, 9vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(242, 233, 216, 0.1);
    opacity: 0;
    transform: translateY(18px);
    transition: color 250ms;
}
.mobile-nav-link span {
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--saffron);
}
.mobile-nav-link:hover { color: var(--saffron); }

.mobile-menu.is-open .mobile-menu-eyebrow,
.mobile-menu.is-open .mobile-nav-link,
.mobile-menu.is-closing .mobile-menu-eyebrow,
.mobile-menu.is-closing .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu-eyebrow {
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.mobile-menu.is-open .mobile-nav-link {
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), color 250ms;
}
.mobile-menu.is-open .mobile-nav-link:nth-child(2) { transition-delay: 80ms; }
.mobile-menu.is-open .mobile-nav-link:nth-child(3) { transition-delay: 150ms; }
.mobile-menu.is-open .mobile-nav-link:nth-child(4) { transition-delay: 220ms; }
.mobile-menu.is-open .mobile-nav-link:nth-child(5) { transition-delay: 290ms; }
.mobile-menu.is-open .mobile-nav-link:nth-child(6) { transition-delay: 360ms; }

.mobile-menu-footer {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(14px);
    font-size: 0.78rem;
    color: rgba(242, 233, 216, 0.55);
}
.mobile-menu-footer a { color: var(--saffron); }
.mobile-menu.is-open .mobile-menu-footer,
.mobile-menu.is-closing .mobile-menu-footer { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu-footer {
    transition: opacity 500ms var(--ease-out) 340ms, transform 500ms var(--ease-out) 340ms;
}

body.menu-open { overflow: hidden; }
body.menu-open .top-strip { opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out); }
body.menu-open .site-header,
body.menu-open .site-header.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}
body.menu-open .site-header .brand,
body.menu-open .site-header .menu-toggle { color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu.is-open,
    .mobile-menu.is-closing,
    .mobile-menu.is-open .mobile-menu-eyebrow,
    .mobile-menu.is-open .mobile-nav-link,
    .mobile-menu.is-open .mobile-menu-footer {
        transition: none;
    }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
}

.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo picture,
.hero-photo img { width: 100%; height: 100%; }
.hero-photo img {
    object-fit: cover;
    object-position: center 60%;
    transform: scale(1.02);
    transition: transform 1.5s var(--ease-out);
}

.hero::after {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(23, 19, 15, 0.72) 0%, rgba(23,19,15,0.12) 55%, rgba(23,19,15,0.35) 100%),
    linear-gradient(to right, rgba(23, 19, 15, 0.25) 0%, transparent 45%);
}

.hero-inner {
    position: relative; z-index: 2; width: 100%;
    padding: calc(var(--strip-h) + 8rem) clamp(1.25rem, 4vw, 3rem) 6rem;
}



.hero-content { max-width: 680px; color: #fff; }

.hero-eyebrow-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.hero-eyebrow-row .gold-line { margin-top: 0.45em; }
.hero .eyebrow { color: var(--saffron); opacity: 0.9; }

.hero-title {
    margin: 0;
    font-weight: 300;
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
}
.hero-title em {
    font-style: italic;
    color: var(--saffron);
    text-shadow: 0 0 30px rgba(212, 163, 84, 0.2);
}

.hero-copy {
    margin: 2rem 0 0;
    max-width: 28rem;
    font-size: 1.08rem;
    line-height: 1.8;
    opacity: 0.85;
    font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; }

/* دکمه‌ها */
.btn {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.8);
    color: #fff; background: transparent;
    cursor: pointer; position: relative; overflow: hidden;
    transition: all 400ms var(--ease-out);
}
.btn::before {
    content: ""; position: absolute; inset: 0;
    background: #fff; transform: translateY(100%);
    transition: transform 400ms var(--ease-out);
    z-index: -1;
}
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 300ms; }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary { border-color: var(--saffron); background: transparent; color: var(--ink); }
.btn-primary::before { background: var(--saffron); transform: translateY(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--ink); border-color: var(--saffron); box-shadow: 0 10px 34px var(--saffron-glow); }

.btn-ghost {
    border-color: transparent;
    padding-left: 0.25rem;
    color: rgba(255,255,255,0.7);
}
.btn-ghost::before { background: transparent; }
.btn-ghost:hover { color: var(--saffron); transform: translateX(4px); box-shadow: none; background: transparent; }

.scroll-cue {
    position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 3rem; z-index: 2;
    display: flex; align-items: center; gap: 1rem;
    color: rgba(255,255,255,0.6); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 50px; background: linear-gradient(var(--saffron), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after {
    content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
    background: #fff; animation: scrollDrip 2.4s ease-in-out infinite;
}
@keyframes scrollDrip { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

.nav-link.is-active { color: var(--saffron) !important; }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

/* -------------------------------------------------------------------------
   Page Hero (Collection / interior pages)
   ------------------------------------------------------------------------- */
.page-hero {
    padding: calc(var(--strip-h) + 9rem) 0 5rem;
    background: var(--sand-light);
}
.page-breadcrumb {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: #9a8d7d; margin: 0 0 2.5rem; font-weight: 500;
}
.page-breadcrumb a { color: #9a8d7d; transition: color 250ms; }
.page-breadcrumb a:hover { color: var(--terracotta); }
.page-breadcrumb span:last-child { color: var(--terracotta); }

.page-hero-row { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 900px) { .page-hero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 4rem; } }

.page-hero-title {
    margin: 1.25rem 0 0;
    font-weight: 300;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    color: var(--ink-soft);
}
.page-hero-copy { max-width: 26rem; line-height: 1.85; color: #5a4f45; font-size: 0.98rem; }

/* -------------------------------------------------------------------------
   Products — full-bleed overlay cards (text sits on top of the photo)
   ------------------------------------------------------------------------- */
.products { padding: 1rem 0 7rem; background: var(--sand-light); }

/* Fluid grid — columns count adapts to available width on its own,
   no fixed breakpoint jumps needed for the grid itself. */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

/* کارت تمام‌عکس — تصویر همه‌ی فضا رو می‌گیرد و متن با گرادیانت روی آن می‌نشیند */
.product-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.1;
    border-radius: 18px;
    overflow: hidden;
    background: var(--indigo-dark);
    border: 1px solid rgba(212, 163, 84, 0.16);
    box-shadow: 0 10px 36px rgba(23, 19, 15, 0.14);
    transition: transform 550ms var(--ease-out),
                box-shadow 550ms var(--ease-out),
                border-color 550ms var(--ease-out);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 64px rgba(23, 19, 15, 0.24);
    border-color: rgba(212, 163, 84, 0.55);
}

.product-media {
    position: absolute;
    inset: 0;
    background: var(--indigo-dark);
}
.product-media svg, .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 900ms var(--ease-out);
}
.product-card:hover .product-media svg,
.product-card:hover .product-media img { transform: scale(1.08); }

.product-media-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--indigo-dark), var(--indigo));
}

/* گرادیانت تیره برای خوانایی متن روی عکس */
.product-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(23, 19, 15, 0.94) 0%,
        rgba(23, 19, 15, 0.62) 32%,
        rgba(23, 19, 15, 0.08) 62%,
        transparent 100%
    );
    pointer-events: none;
    transition: background 450ms var(--ease-out);
}
.product-card:hover .product-scrim {
    background: linear-gradient(
        to top,
        rgba(23, 19, 15, 0.97) 0%,
        rgba(23, 19, 15, 0.68) 36%,
        rgba(23, 19, 15, 0.1) 64%,
        transparent 100%
    );
}

.product-exclusive {
    position: absolute; top: 1.1rem; inset-inline-start: 1.1rem;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
    color: var(--sand-light);
    background: rgba(23, 19, 15, 0.4);
    border: 1px solid rgba(212, 163, 84, 0.6);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.product-exclusive svg { width: 11px; height: 11px; color: var(--saffron); }

/* متن روی عکس، چسبیده به پایین کارت */
.product-info {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 2.5rem 1.5rem 1.5rem;
    color: var(--sand-light);
}
.product-code {
    order: -1;
    margin: 0;
    font-size: 0.64rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--saffron);
}
.product-title { margin: 0; font-weight: 500; font-size: 1.2rem; line-height: 1.35; color: #fff; }
.product-desc { margin: 0.1rem 0 0; font-size: 0.85rem; line-height: 1.65; color: rgba(249, 246, 240, 0.78); }
.product-link {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(249, 246, 240, 0.2);
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600;
    color: var(--saffron);
    transition: all 300ms var(--ease-out);
}
.product-card:hover .product-link { color: #fff; gap: 0.6rem; }

/* یادداشت انحصار پایین گرید */
.collection-note {
    margin-top: 5rem;
    max-width: 46rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.collection-note-text {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.55;
    font-weight: 300;
    color: var(--ink-soft);
}
.collection-note-text em { font-style: italic; color: var(--terracotta); }

@media (max-width: 767px) {
    .page-hero { padding-top: calc(var(--strip-h) + 6.5rem); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: all 0.9s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }

/* -------------------------------------------------------------------------
   Provenance
   ------------------------------------------------------------------------- */
.provenance { padding: 9rem 0; background: var(--sand-light); }
.provenance-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
@media (min-width: 900px) { .provenance-grid { grid-template-columns: 0.8fr 2fr; } }

.provenance-title {
    margin: 1.5rem 0 0;
    font-weight: 300;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    line-height: 1.15;
    max-width: 34rem;
    color: var(--ink-soft);
}
.provenance-copy { margin: 2rem 0 0; max-width: 40rem; line-height: 1.9; color: #5a4f45; font-weight: 400; }
.stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
    margin-top: 3.5rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(23, 19, 15, 0.08);
}
.stat-value { margin: 0; font-weight: 400; font-size: clamp(2rem, 2.8vw, 2.5rem); color: var(--terracotta); }
.stat-label { margin: 0.6rem 0 0; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #7a6e62; font-weight: 500; }

/* -------------------------------------------------------------------------
   Hero Pieces
   ------------------------------------------------------------------------- */
.hero-pieces { padding: 5rem 0 4rem; background: var(--sand-light); border-top: 1px solid rgba(23, 19, 15, 0.04); }
.hero-pieces-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3.5rem; align-items: flex-start; }
@media (min-width: 900px) { .hero-pieces-header { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

.hero-pieces-title { margin: 1rem 0 0; font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.15; color: var(--ink-soft); }
.hero-pieces-title em { font-style: italic; color: var(--terracotta); }

.hero-pieces-link {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--terracotta); font-weight: 600; padding-bottom: 2px;
    border-bottom: 1px solid transparent; transition: all 300ms var(--ease-out);
}
.hero-pieces-link:hover { gap: 1rem; border-bottom-color: var(--terracotta); color: var(--indigo-dark); }
.hero-pieces-link svg { width: 16px; height: 16px; }

.hero-pieces-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .hero-pieces-grid { grid-template-columns: repeat(3, 1fr); } }

.hero-piece-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 500ms var(--ease-out);
}
.hero-piece-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); border-color: var(--saffron); }

.hero-piece-swatch { aspect-ratio: 4 / 4.5; overflow: hidden; background: var(--indigo-dark); }
.hero-piece-swatch svg,
.hero-piece-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease-out); }
.hero-piece-card:hover .hero-piece-swatch svg,
.hero-piece-card:hover .hero-piece-swatch img { transform: scale(1.04); }

.hero-piece-body { position: relative; padding: 1.6rem 1.75rem 2rem; display: flex; flex-direction: column; }
.hero-piece-body::before {
    content: "";
    position: absolute; top: 0; left: 1.75rem; right: 1.75rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,163,84,0.5), rgba(212,163,84,0));
}
.hero-piece-number { color: var(--terracotta); font-size: 0.7rem; letter-spacing: 0.1em; margin: 0; font-weight: 600; }
.hero-piece-title { margin: 0.65rem 0 0; font-weight: 500; font-size: 1.3rem; line-height: 1.32; color: var(--ink); }
.hero-piece-meta { margin: 0.7rem 0 0; font-size: 0.85rem; line-height: 1.65; color: #5a4f45; }
.hero-piece-link {
    margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--indigo); font-weight: 500; transition: gap 300ms var(--ease-out);
    border-bottom: 1px solid transparent;
}
.hero-piece-link:hover { gap: 1rem; color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* -------------------------------------------------------------------------
   Collection
   ------------------------------------------------------------------------- */
.collection { background: var(--sand-mid); color: var(--ink); padding: 8rem 0; position: relative; }
.collection::before {
    content: ""; position: absolute; top: -2px; left: 0; right: 0;
    height: 1px; background: linear-gradient(90deg, transparent, var(--saffron), transparent);
}

.collection-head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 5rem; }
@media (min-width: 900px) { .collection-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.collection-title { margin: 0.75rem 0 0; font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); max-width: 30rem; line-height: 1.15; color: var(--ink-soft); }
.collection-intro { max-width: 24rem; color: #5a4f45; line-height: 1.8; font-size: 0.98rem; }

.rug-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

/* تبلت: دو ستونه، به‌جای پرش ناگهانی به سه ستون تنگ */
@media (min-width: 620px) {
    .rug-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* دسکتاپ: سه ستونه با افست پلکانی که روی تمام ردیف‌ها درست تکرار می‌شود
   (nth-child(2)/(3) قبلاً فقط روی اولین ردیف اثر داشت و در ردیف‌های
   بعدی چیدمان را نامنظم می‌کرد) */
@media (min-width: 1024px) {
    .rug-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.75rem;
    }
    .rug-panel:nth-child(3n+2) { margin-top: 3.5rem; }
    .rug-panel:nth-child(3n+3) { margin-top: 1.5rem; }
}

/* کارت محصول — تصویر بالا با نسبت ثابت، متن پایین در جریان عادی سند */
.rug-panel-inner {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: var(--indigo-dark);
    border: 1px solid rgba(212, 163, 84, 0.14);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 600ms var(--ease-out);
}
.rug-panel-inner:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(212, 163, 84, 0.25);
    border-color: rgba(212, 163, 84, 0.5);
}

.rug-swatch { grid-row: 1; grid-column: 1; position: relative; aspect-ratio: 3 / 3.6; overflow: hidden; }
.rug-swatch svg, .rug-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
.rug-panel-inner:hover .rug-swatch svg,
.rug-panel-inner:hover .rug-swatch img { transform: scale(1.07); }

.rug-scrim {
    grid-row: 1; grid-column: 1;
    align-self: stretch; justify-self: stretch;
    background: linear-gradient(to top, rgba(23,19,15,0.55) 0%, rgba(23,19,15,0.05) 55%, transparent 75%);
    opacity: 0.85;
    transition: opacity 500ms var(--ease-out);
    pointer-events: none;
}
.rug-panel-inner:hover .rug-scrim { opacity: 1; }

.rug-exclusive {
    grid-row: 1; grid-column: 1;
    align-self: start; justify-self: start;
    margin-inline-start: 1.4rem; margin-block-start: 1.4rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--saffron); font-size: 0.6rem; letter-spacing: 0.13em;
    text-transform: uppercase; font-weight: 600;
}
.rug-exclusive svg { width: 13px; height: 13px; }

.rug-body {
    grid-row: 2; grid-column: 1;
    position: relative;
    padding: 2rem 1.85rem 2.25rem;
    background: var(--indigo-dark);
    display: flex; flex-direction: column; gap: 0.5rem;
}
.rug-body::before {
    content: "";
    position: absolute; top: 0; left: 1.85rem; right: 1.85rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,163,84,0.65), rgba(212,163,84,0));
}
.rug-title { margin: 0; font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.3; color: #fff; }
.rug-meta { margin: 0.2rem 0 0; font-size: 0.86rem; line-height: 1.65; color: rgba(242, 233, 216, 0.82); font-weight: 400; }
.rug-link {
    margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--saffron); font-weight: 600; transition: all 300ms;
    border-bottom: 1px solid transparent;
}
.rug-link:hover { gap: 1rem; color: #fff; border-bottom-color: var(--saffron); }

/* -------------------------------------------------------------------------
   Craft
   ------------------------------------------------------------------------- */
.craft { padding: 9rem 0; background: #fff; }
.craft-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 900px) { .craft-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }

.craft-visual { aspect-ratio: 4 / 5; background: var(--indigo-dark); position: relative; overflow: hidden; border-radius: 50% 50% 4px 4px; }
.craft-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }

.craft-title { margin: 1.5rem 0 0; font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.18; max-width: 28rem; color: var(--ink-soft); }
.craft-copy { margin: 1.8rem 0 0; max-width: 32rem; line-height: 1.9; color: #5a4f45; }
.craft-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 30rem; margin-top: 3rem; }
.craft-detail-title { margin: 0; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.craft-detail-copy { margin: 0.6rem 0 0; font-size: 0.9rem; line-height: 1.7; color: #5a4f45; }

/* -------------------------------------------------------------------------
   Acquire
   ------------------------------------------------------------------------- */
.acquire { padding: 8rem 0; background: var(--sand-light); }
.acquire-panel {
    display: grid; grid-template-columns: 1fr; border-radius: 24px; overflow: hidden;
    background: #fff; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 163, 84, 0.15);
}
@media (min-width: 900px) { .acquire-panel { grid-template-columns: 0.8fr 1.2fr; } }

.acquire-visual { position: relative; min-height: 320px; background: var(--indigo-dark); display: flex; align-items: flex-end; padding: 3rem; }
.acquire-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; }
.acquire-quote { position: relative; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.6; color: #fff; max-width: 18rem; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.acquire-body { background: #fff; color: var(--ink); padding: 4rem clamp(2rem, 4vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.acquire-title { margin: 1.4rem 0 0; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; max-width: 26rem; color: var(--ink-soft); }
.acquire-copy { margin: 1.4rem 0 0; max-width: 28rem; line-height: 1.8; color: #5a4f45; }
.acquire .btn-primary { margin-top: 2.5rem; width: fit-content; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   Footer — richer, multi-column, echoing the brand's diamond mark + gold line
   ------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
    overflow: hidden;
}

/* نوار هندسی طلایی بالای فوتر — یادآور حاشیه‌ی قالی، هم‌خانواده با brand-mark */
.footer-motif {
    height: 16px;
    background:
        linear-gradient(135deg, transparent 46%, var(--saffron) 46% 54%, transparent 54%) 0 0 / 16px 16px,
        linear-gradient(-135deg, transparent 46%, var(--saffron) 46% 54%, transparent 54%) 0 0 / 16px 16px;
    opacity: 0.4;
}

.footer-main { padding: 5rem 0 3.5rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: clamp(2.5rem, 4vw, 4rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 3.5rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; row-gap: 3rem; } }

/* ستون برند */
.footer-brand-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.footer-brand-row .brand-mark { width: 38px; height: 38px; font-size: 1.05rem; }
.footer-brand-row .brand-name { font-size: 0.92rem; color: var(--saffron); -webkit-text-fill-color: var(--saffron); }

.footer-tagline { margin: 0; max-width: 24rem; font-size: 0.9rem; line-height: 1.75; font-weight: 300; color: rgba(255, 255, 255, 0.5); }

.footer-social-row { display: flex; gap: 0.65rem; margin-top: 1.85rem; }
.footer-social-row .social-icon { width: 36px; height: 36px; }
.footer-social-row .social-icon svg { width: 15px; height: 15px; }

.footer-newsletter { margin-top: 2.25rem; max-width: 280px; }
.footer-newsletter-label {
    display: block; margin: 0 0 0.85rem;
    font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}
.footer-newsletter-form {
    display: flex; align-items: center; gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-bottom: 0.55rem;
    transition: border-color 300ms var(--ease-out);
}
.footer-newsletter-form:focus-within { border-color: var(--saffron); }
.footer-newsletter-form input {
    flex: 1; background: transparent; border: none; color: #fff;
    font-family: var(--sans); font-size: 0.85rem; padding: 0.15rem 0;
}
.footer-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.32); }
.footer-newsletter-form input:focus { outline: none; }
.footer-newsletter-form button {
    background: none; border: none; padding: 0; cursor: pointer;
    color: var(--saffron); display: flex; align-items: center; transition: transform 300ms var(--ease-out);
}
.footer-newsletter-form button svg { width: 16px; height: 16px; }
.footer-newsletter-form button:hover { transform: translateX(3px); }

/* ستون‌های لینک */
.footer-col-title {
    margin: 0 0 1.5rem;
    font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
    color: var(--saffron);
}
.footer-col-links { display: flex; flex-direction: column; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.footer-col-links a {
    display: inline-block;
    font-size: 0.86rem; color: rgba(255, 255, 255, 0.6);
    transition: color 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.footer-col-links a:hover { color: #fff; transform: translateX(4px); }

/* ستون آدرس / بازدید */
.footer-visit-item { margin-bottom: 1.6rem; }
.footer-visit-item:last-child { margin-bottom: 0; }
.footer-visit-city { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; color: #fff; }
.footer-visit-addr { margin: 0.5rem 0 0; font-size: 0.82rem; line-height: 1.75; color: rgba(255, 255, 255, 0.45); }

/* نوار پایینی */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0;
    display: flex; flex-direction: column; gap: 1rem;
    font-size: 0.72rem; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.38);
}
@media (min-width: 760px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

.footer-legal { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.footer-top-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
    color: var(--saffron); transition: gap 300ms var(--ease-out);
}
.footer-top-link:hover { gap: 0.85rem; color: #fff; }
.footer-top-link svg { width: 12px; height: 12px; transition: transform 300ms var(--ease-out); }
.footer-top-link:hover svg { transform: translateY(-2px); }

@media (max-width: 767px) {
    .footer-main { padding: 4rem 0 2.5rem; }
}
/* -------------------------------------------------------------------------
   Product Detail Page
   ------------------------------------------------------------------------- */
.product-detail {
    padding: calc(var(--strip-h) + 7.5rem) 0 7rem;
    background:
        radial-gradient(1100px 500px at 85% -5%, rgba(212, 163, 84, 0.07), transparent 60%),
        var(--sand-light);
}

.page-breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem;
    margin: 0; font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: #a99a88;
}
.page-breadcrumb a {
    color: #a99a88;
    background: linear-gradient(var(--terracotta), var(--terracotta)) no-repeat 0 100% / 0% 1px;
    padding-bottom: 2px;
    transition: color 300ms var(--ease-out), background-size 300ms var(--ease-out);
}
.page-breadcrumb a:hover { color: var(--terracotta); background-size: 100% 1px; }
.page-breadcrumb span { color: rgba(23, 19, 15, 0.25); }
.page-breadcrumb span:last-child { color: var(--terracotta-deep); }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
}
@media (min-width: 960px) {
    .detail-grid { grid-template-columns: 1.12fr 1fr; gap: clamp(3.5rem, 5vw, 5.5rem); align-items: start; }
}

/* گالری — قاب طلایی کج + سایه لایه‌ای */
.detail-gallery {
    display: flex; flex-direction: column; gap: 1.1rem;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}
@media (max-width: 959px) { .detail-gallery { position: static; } }

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: none;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--indigo-dark);
    box-shadow:
        0 2px 6px rgba(23, 19, 15, 0.06),
        0 24px 60px -12px rgba(23, 19, 15, 0.22);
    transition: box-shadow 500ms var(--ease-out);
}
@media (min-width: 960px) {
    .gallery-main::after {
        content: "";
        position: absolute; inset: 0;
        border: 1px solid rgba(212, 163, 84, 0.55);
        border-radius: 4px;
        transform: translate(16px, 16px);
        pointer-events: none;
        transition: transform 600ms var(--ease-out);
    }
    .gallery-main:hover { box-shadow: 0 2px 6px rgba(23,19,15,0.06), 0 34px 80px -14px rgba(23,19,15,0.3); }
    .gallery-main:hover::after { transform: translate(10px, 10px); }
}
.gallery-media { display: block; width: 100%; height: 100%; }
.gallery-media svg, .gallery-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 900ms var(--ease-out);
}
.gallery-main:hover .gallery-media img { transform: scale(1.045); }

.gallery-zoom-hint {
    position: absolute; right: 1.1rem; bottom: 1.1rem; z-index: 2;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.05rem;
    font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
    color: #fff;
    background: rgba(23, 19, 15, 0.5);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(6px);
    transition: all 350ms var(--ease-out);
}
.gallery-zoom-hint svg { width: 14px; height: 14px; }
.gallery-main:hover .gallery-zoom-hint,
.gallery-main:focus-visible .gallery-zoom-hint { opacity: 1; transform: translateY(0); }

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
    border: 1px solid transparent;
    cursor: pointer;
    background: var(--indigo-dark);
    opacity: 0.6;
    transition: opacity 300ms var(--ease-out), border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.gallery-thumb .gallery-media svg,
.gallery-thumb .gallery-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-3px); }
.gallery-thumb.is-active {
    opacity: 1;
    border-color: var(--saffron);
    box-shadow: 0 8px 20px -6px rgba(212, 163, 84, 0.45);
}

/* اطلاعات محصول */
.product-exclusive-static {
    position: static;
    display: inline-flex;
    background: rgba(212, 163, 84, 0.12);
    color: var(--terracotta-deep);
    border: 1px solid rgba(212, 163, 84, 0.4);
    backdrop-filter: none;
    margin-bottom: 1rem;
}

.product-code { margin: 0 0 0.6rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: #a99a88; font-weight: 600; }

.detail-title {
    margin: 0; font-weight: 300;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.08; letter-spacing: -0.01em;
    color: var(--ink-soft);
}
.detail-lead { margin: 1.5rem 0 0; max-width: 32rem; line-height: 1.9; color: #5a4f45; font-size: 1.02rem; }

/* مشخصات — کارت روشن با خطوط ظریف و نشان طلایی */
.detail-facts {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
    margin: 2.75rem 0 0;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(23, 19, 15, 0.07);
    border-radius: 14px;
    overflow: hidden;
}
.detail-facts > div {
    padding: 1.3rem 1.5rem;
    border-top: 1px solid rgba(23, 19, 15, 0.06);
    border-right: 1px solid rgba(23, 19, 15, 0.06);
}
.detail-facts > div:nth-child(-n+2) { border-top: none; }
.detail-facts > div:nth-child(2n) { border-right: none; }
.detail-facts > div:last-child:nth-child(2n+1) { border-bottom-right-radius: 14px; }
.detail-facts > div:nth-last-child(2):nth-child(2n+1) { border-bottom-left-radius: 14px; }
.detail-facts dt {
    margin: 0; font-size: 0.62rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: #a99a88; font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
}
.detail-facts dt::before {
    content: ""; width: 12px; height: 1px;
    background: var(--saffron); flex-shrink: 0;
}
.detail-facts dd { margin: 0.45rem 0 0; font-size: 0.96rem; color: var(--ink-soft); font-weight: 500; }

/* یادداشت یکتایی */
.exclusive-note {
    position: relative;
    display: flex; gap: 1.2rem;
    margin: 2.75rem 0 0;
    padding: 1.9rem 1.85rem;
    background:
        linear-gradient(150deg, rgba(212, 163, 84, 0.1), rgba(212, 163, 84, 0.02) 65%),
        #fffdf8;
    border: 1px solid rgba(212, 163, 84, 0.35);
    border-radius: 4px;
    box-shadow: 0 18px 45px -18px rgba(140, 53, 40, 0.18);
}
.exclusive-note::before {
    content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
    width: 2px; background: linear-gradient(var(--saffron), transparent);
}
.exclusive-note-icon {
    flex-shrink: 0; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--saffron);
    border: 1px solid rgba(212, 163, 84, 0.45);
    border-radius: 50%;
    background: rgba(212, 163, 84, 0.07);
}
.exclusive-note-icon svg { width: 16px; height: 16px; }
.exclusive-note-title { margin: 0.15rem 0 0; font-weight: 400; font-size: 1.15rem; color: var(--ink-soft); letter-spacing: 0.01em; }
.exclusive-note-copy { margin: 0.65rem 0 0; font-size: 0.9rem; line-height: 1.8; color: #5a4f45; }

.detail-cta { margin-top: 2.5rem; }
.detail-reassurance {
    margin: 1.1rem 0 0; font-size: 0.78rem; letter-spacing: 0.04em;
    color: #a99a88; display: flex; align-items: center; gap: 0.55rem;
}
.detail-reassurance::before { content: ""; width: 18px; height: 1px; background: var(--saffron); }

/* داستان محصول */
.detail-story {
    max-width: 44rem; margin: 7rem auto 0;
    padding: 0 0.5rem; text-align: center;
}
.detail-story .gold-line { margin: 0 auto; }
.detail-story-title { margin: 1.4rem 0 0; font-weight: 300; font-size: clamp(1.65rem, 2.8vw, 2.2rem); line-height: 1.25; color: var(--ink-soft); }
.detail-story-copy { margin: 1.6rem 0 0; line-height: 2; color: #5a4f45; font-size: 1rem; }

/* کامنت‌ها */
.detail-comments { max-width: 44rem; margin: 6rem auto 0; padding: 0 0.5rem; }
.comments-head { margin-bottom: 2.5rem; text-align: center; }
.comments-head .gold-line { margin: 0 auto; }
.comments-title { margin: 1.4rem 0 0; font-weight: 300; font-size: clamp(1.65rem, 2.8vw, 2.2rem); color: var(--ink-soft); }

.comments-list { display: flex; flex-direction: column; gap: 1.1rem; }
.comment-card {
    display: flex; gap: 1.15rem;
    padding: 1.6rem 1.7rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 19, 15, 0.06);
    border-radius: 14px;
    box-shadow: 0 10px 30px -18px rgba(23, 19, 15, 0.25);
    transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -18px rgba(23, 19, 15, 0.3);
}
.comment-avatar {
    flex-shrink: 0; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--indigo-dark), var(--indigo));
    color: var(--saffron);
    font-size: 1.05rem; font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(212, 163, 84, 0.35);
}
.comment-meta { margin: 0.15rem 0 0; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.comment-name { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; color: var(--ink-soft); }
.comment-loc { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a99a88; }
.comment-text { margin: 0.55rem 0 0; line-height: 1.8; color: #5a4f45; font-size: 0.94rem; }

.comment-form {
    margin-top: 2.75rem; padding: 2.4rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(23, 19, 15, 0.07);
    border-radius: 16px;
}
.comment-form-title { margin: 0 0 1.3rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.comment-form input, .comment-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.9rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(23, 19, 15, 0.13);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    resize: vertical;
    transition: border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(212, 163, 84, 0.15);
}
.comment-form textarea { margin-bottom: 1.4rem; }
.comment-submit { padding: 0.9rem 1.9rem; }

/* ریسپانسیو صفحه محصول */
@media (max-width: 959px) {
    .detail-grid { margin-top: 2.25rem; gap: 2.75rem; }
}
@media (max-width: 768px) {
    .product-detail { padding: calc(var(--strip-h) + 6rem) 0 5.5rem; }
    .detail-story { margin-top: 5.5rem; }
    .detail-comments { margin-top: 4.5rem; }
    .comment-form { padding: 1.75rem 1.4rem; }
}
@media (max-width: 640px) {
    .comment-form-row { grid-template-columns: 1fr; }
    .detail-facts { grid-template-columns: 1fr; }
    .detail-facts > div { border-right: none; }
    .detail-facts > div:nth-child(2) { border-top: 1px solid rgba(23, 19, 15, 0.06); }
    .comment-card { padding: 1.3rem 1.25rem; gap: 0.9rem; }
    .comment-avatar { width: 38px; height: 38px; }
    .gallery-thumbs { gap: 0.6rem; }
    .exclusive-note { padding: 1.5rem 1.3rem; flex-direction: column; }
}

/* -------------------------------------------------------------------------
   Lightbox — zoomable full-screen image view
   ------------------------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 400;
    visibility: hidden; opacity: 0;
    transition: opacity 350ms var(--ease-out), visibility 0s linear 350ms;
    display: flex; align-items: center; justify-content: center;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity 350ms var(--ease-out); }

.lightbox-backdrop { position: absolute; inset: 0; background: rgba(23, 19, 15, 0.97); }

.lightbox-stage {
    position: relative; z-index: 1;
    width: min(90vw, 900px); height: min(85vh, 900px);
    overflow: hidden;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    touch-action: none;
}
.lightbox-content {
    width: 100%; height: 100%;
    transform-origin: center center;
    transition: transform 60ms linear;
    cursor: zoom-in;
    user-select: none;
}
.lightbox-content svg, .lightbox-content img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 250ms;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-hint {
    position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 2;
    font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .lightbox-hint { font-size: 0.6rem; text-align: center; white-space: normal; padding: 0 2rem; }
    .lightbox-stage { width: 94vw; height: 78vh; }
}

/* -------------------------------------------------------------------------
   About — Hero + Rotating Globe
   ------------------------------------------------------------------------- */
.about-hero { padding: calc(var(--strip-h) + 8.5rem) 0 5rem; background: var(--sand-light); }

.about-hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; margin-top: 2rem;
}
@media (min-width: 960px) { .about-hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.about-hero-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; color: var(--ink-soft); }
.about-hero-title em { font-style: italic; color: var(--terracotta); }
.about-hero-lead { margin: 1.6rem 0 0; max-width: 30rem; line-height: 1.85; color: #5a4f45; font-size: 1rem; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.5rem; }
.about-hero-actions .btn-primary,
.about-hero-actions .btn-ghost { color: var(--ink); border-color: var(--terracotta-deep); }
.about-hero-actions .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.about-hero-actions .btn-primary::before { background: var(--saffron); }
.about-hero-actions .btn-primary:hover { color: var(--ink); }
.about-hero-actions .btn-ghost { color: var(--terracotta-deep); padding-left: 0.25rem; }
.about-hero-actions .btn-ghost:hover { color: var(--terracotta); transform: translateX(4px); }

/* کره */
.globe-stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}
.globe-stage::after {
    content: "";
    position: absolute;
    inset: 12.5%;
    border-radius: 50%;
    box-shadow:
        inset -20px -10px 36px rgba(8, 12, 18, 0.42),
        inset 14px 10px 28px rgba(255, 255, 255, 0.08),
        0 0 40px rgba(212, 163, 84, 0.12);
    pointer-events: none;
    z-index: 2;
}
.globe-shadow {
    position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%);
    width: 72%; height: 9%;
    background: radial-gradient(ellipse at center, rgba(23,19,15,0.28), transparent 70%);
    filter: blur(2px);
}
.globe-svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; overflow: visible; }
.globe-svg { animation: globeFloat 6s ease-in-out infinite; }
@keyframes globeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.globe-land {
    fill: rgba(212, 163, 84, 0.32);
    stroke: rgba(242, 233, 216, 0.45);
    stroke-width: 0.75;
    stroke-linejoin: round;
}

.globe-lat {
    fill: none;
    stroke: rgba(212, 163, 84, 0.22);
    stroke-width: 1;
}
.globe-lat-eq {
    stroke: rgba(212, 163, 84, 0.34);
    stroke-width: 1.2;
}

.meridian {
    fill: none;
    stroke: rgba(212, 163, 84, 0.4);
    stroke-width: 1.15;
    transform-box: fill-box;
    transform-origin: center;
    animation: meridianSpin 22s linear infinite;
}
@keyframes meridianSpin {
    0%   { transform: scaleX(1);    opacity: 0.22; }
    25%  { transform: scaleX(0.03); opacity: 0.5; }
    50%  { transform: scaleX(-1);   opacity: 0.22; }
    75%  { transform: scaleX(0.03); opacity: 0.38; }
    100% { transform: scaleX(1);    opacity: 0.22; }
}

.globe-route {
    animation: routeFlow 3.5s linear infinite;
}
@keyframes routeFlow { to { stroke-dashoffset: -18; } }

.globe-city circle:first-child { filter: drop-shadow(0 0 3px rgba(212,163,84,0.7)); }
.globe-ping {
    transform-box: fill-box; transform-origin: center;
    animation: pingOut 2.6s ease-out infinite;
}
@keyframes pingOut {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(4.2); opacity: 0; }
}

.globe-label {
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.08em;
    fill: rgba(249, 246, 240, 0.75);
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .globe-svg, .meridian, .globe-route, .globe-ping { animation: none !important; }
}

/* -------------------------------------------------------------------------
   Reach stats strip
   ------------------------------------------------------------------------- */
.reach { padding: 3.5rem 0; background: var(--ink); }
.reach-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 760px) { .reach-row { grid-template-columns: repeat(4, 1fr); } }
.reach .stat-value { color: var(--saffron); }
.reach .stat-label { color: rgba(249, 246, 240, 0.55); }

/* -------------------------------------------------------------------------
   Global work section
   ------------------------------------------------------------------------- */
.global-work { padding: 8rem 0; background: #fff; }
.global-work-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; }
@media (min-width: 900px) { .global-work-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; } }

.global-work-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.18; max-width: 24rem; color: var(--ink-soft); }
.global-work-copy { margin: 1.6rem 0 0; max-width: 28rem; line-height: 1.9; color: #5a4f45; }

.global-work-list { display: flex; flex-direction: column; gap: 2.25rem; }
.global-work-item { display: flex; gap: 1.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(23, 19, 15, 0.07); }
.global-work-item:last-child { border-bottom: none; padding-bottom: 0; }
.global-work-num { flex-shrink: 0; font-size: 1.6rem; color: var(--saffron); opacity: 0.85; font-weight: 400; }
.global-work-item-title { margin: 0.3rem 0 0; font-weight: 600; font-size: 1rem; color: var(--ink-soft); }
.global-work-item-copy { margin: 0.5rem 0 0; font-size: 0.92rem; line-height: 1.75; color: #5a4f45; }



/* -------------------------------------------------------------------------
   Buying guide
   ------------------------------------------------------------------------- */
.buying-guide { padding: 8rem 0; background: var(--sand-mid); text-align: center; }
.buying-guide-head { max-width: 34rem; margin: 0 auto 4rem; }
.buying-guide-head .gold-line { margin: 0 auto; }
.buying-guide-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--ink-soft); }
.buying-guide-lead { margin: 1.2rem 0 0; color: #5a4f45; line-height: 1.8; }

.guide-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: left; max-width: 60rem; margin: 0 auto; }
@media (min-width: 480px) { .guide-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-steps { grid-template-columns: repeat(4, 1fr); } }

.guide-step {
    background: #fff; border-radius: 16px; padding: 2rem 1.6rem;
    box-shadow: 0 8px 30px rgba(23, 19, 15, 0.05);
    border: 1px solid rgba(212, 163, 84, 0.12);
}
.guide-step-num { display: block; font-size: 1.3rem; color: var(--saffron); }
.guide-step-title { margin: 0.75rem 0 0; font-weight: 500; font-size: 1.15rem; color: var(--ink-soft); }
.guide-step-copy { margin: 0.7rem 0 0; font-size: 0.88rem; line-height: 1.7; color: #5a4f45; }

.buying-guide-cta { margin-top: 3.5rem; }

/* -------------------------------------------------------------------------
   Connect / social section
   ------------------------------------------------------------------------- */
.connect { padding: 8rem 0; background: var(--ink); }
.connect-panel { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 960px) { .connect-panel { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }

.connect .eyebrow { color: var(--saffron); }
.connect-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.2; color: #fff; max-width: 22rem; }
.connect-copy { margin: 1.4rem 0 0; max-width: 26rem; line-height: 1.85; color: rgba(249, 246, 240, 0.65); }

.social-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 460px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

.social-link {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(249, 246, 240, 0.12);
    border-radius: 14px;
    background: rgba(249, 246, 240, 0.02);
    transition: all 300ms var(--ease-out);
}
.social-link:hover { border-color: var(--saffron); background: rgba(212, 163, 84, 0.06); transform: translateY(-3px); }

.social-icon {
    flex-shrink: 0; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--saffron);
    border: 1px solid rgba(212, 163, 84, 0.35);
}
.social-icon svg { width: 18px; height: 18px; }
.social-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.social-name { display: block; font-size: 0.92rem; font-weight: 600; color: #fff; }
.social-handle { display: block; font-size: 0.78rem; color: rgba(249, 246, 240, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 767px) {
    .about-hero { padding-top: calc(var(--strip-h) + 6.5rem); }
    .globe-stage { max-width: 300px; }
}

/* -------------------------------------------------------------------------
   Contact Page
   ------------------------------------------------------------------------- */
.contact-hero { padding: calc(var(--strip-h) + 8.5rem) 0 4.5rem; background: var(--sand-light); }
.contact-hero-row { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; max-width: 60rem; }
@media (min-width: 900px) { .contact-hero-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 3rem; } }
.contact-hero-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.12; max-width: 26rem; color: var(--ink-soft); }
.contact-hero-copy { max-width: 26rem; line-height: 1.85; color: #5a4f45; font-size: 0.98rem; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.75rem; }
.contact-hero-actions .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-hero-actions .btn-primary::before { background: var(--saffron); }
.contact-hero-actions .btn-primary:hover { color: var(--ink); }
.contact-hero-actions .btn-primary svg { width: 16px; height: 16px; }
.contact-hero-actions .btn-ghost { color: var(--terracotta-deep); padding-left: 0.25rem; }
.contact-hero-actions .btn-ghost:hover { color: var(--terracotta); transform: translateX(4px); }

/* روش‌های تماس */
.contact-methods { padding: 1rem 0 6rem; background: var(--sand-light); }
.methods-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 460px) { .methods-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .methods-grid { grid-template-columns: repeat(3, 1fr); } }

.method-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid rgba(23, 19, 15, 0.06);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(23, 19, 15, 0.04);
    transition: all 300ms var(--ease-out);
}
.method-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(23, 19, 15, 0.08); border-color: rgba(212, 163, 84, 0.4); }
.method-icon {
    width: 40px; height: 40px; margin-bottom: 0.6rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--terracotta-deep);
    border: 1px solid rgba(181, 74, 58, 0.25);
    background: rgba(181, 74, 58, 0.05);
}
.method-icon svg { width: 18px; height: 18px; }
.method-name { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--terracotta); }
.method-value { font-size: 1.02rem; font-weight: 600; color: var(--ink-soft); word-break: break-word; }
.method-note { font-size: 0.8rem; color: #9a8d7d; }

/* شوروم‌ها */
.showrooms { padding: 6rem 0; background: #fff; }
.showrooms-head { margin-bottom: 3rem; }
.showrooms-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--ink-soft); }
.showroom-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 700px) { .showroom-grid { grid-template-columns: repeat(2, 1fr); } }
.showroom-card {
    padding: 2.25rem;
    background: var(--sand-light);
    border-radius: 18px;
    border: 1px solid rgba(212, 163, 84, 0.18);
}
.showroom-city { margin: 0; font-weight: 500; font-size: 1.5rem; color: var(--ink-soft); }
.showroom-address { margin: 1.1rem 0 0; line-height: 1.7; color: #5a4f45; font-size: 0.94rem; }
.showroom-hours { margin: 1rem 0 0; line-height: 1.7; color: #5a4f45; font-size: 0.94rem; }
.showroom-link {
    display: inline-flex; margin-top: 1.4rem;
    font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
    color: var(--terracotta); border-bottom: 1px solid transparent; transition: all 300ms;
}
.showroom-link:hover { gap: 0.4rem; color: var(--indigo-dark); border-bottom-color: var(--indigo-dark); }

/* سوالات متداول */
.support-faq { padding: 7rem 0; background: var(--sand-mid); }
.faq-head { max-width: 34rem; margin-bottom: 3rem; }
.faq-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--ink-soft); }
.faq-lead { margin: 1rem 0 0; color: #5a4f45; line-height: 1.8; }

.faq-list { max-width: 46rem; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
    background: #fff;
    border: 1px solid rgba(23, 19, 15, 0.07);
    border-radius: 14px;
    padding: 0.4rem 1.5rem;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 2rem 1.2rem 0;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink-soft);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute; right: 0; top: 1.1rem;
    font-size: 1.3rem; font-weight: 400; color: var(--saffron);
    transition: transform 300ms var(--ease-out);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1.4rem; line-height: 1.8; color: #5a4f45; font-size: 0.92rem; }

/* فرم تماس */
.contact-form-section { padding: 7rem 0; background: #fff; }
.contact-form-panel {
    max-width: 40rem; margin: 0 auto;
    padding: 3rem clamp(1.75rem, 5vw, 3.5rem);
    background: var(--sand-light);
    border-radius: 22px;
    border: 1px solid rgba(212, 163, 84, 0.18);
    text-align: center;
}
.contact-form-intro .gold-line { margin: 0 auto; }
.contact-form-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--ink-soft); }
.contact-form-copy { margin: 0.9rem 0 0; color: #5a4f45; line-height: 1.8; }

.contact-form { margin-top: 2.25rem; text-align: left; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(23, 19, 15, 0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    resize: vertical;
    transition: border-color 250ms;
    margin-bottom: 1rem;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--saffron); }
.contact-form-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
.contact-form-status { margin: 1.1rem 0 0; font-size: 0.88rem; color: var(--terracotta-deep); line-height: 1.6; opacity: 0; transition: opacity 400ms; }
.contact-form-status.is-visible { opacity: 1; }

@media (max-width: 640px) {
    .contact-form-row { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Contact page — mobile
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .contact-hero { padding-top: calc(var(--strip-h) + 6.5rem); }
}

/* -------------------------------------------------------------------------
   Our Story / Team page
   ------------------------------------------------------------------------- */
.story-hero { padding: calc(var(--strip-h) + 8.5rem) 0 5rem; background: var(--sand-light); }
.story-hero-row { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 900px) { .story-hero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 3rem; } }
.story-hero-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height: 1.1; max-width: 26rem; color: var(--ink-soft); }
.story-hero-title em { font-style: italic; color: var(--terracotta); }
.story-hero-lead { max-width: 27rem; line-height: 1.85; color: #5a4f45; font-size: 0.98rem; }

/* تاریخچه - جدول زمانی */
.history { padding: 2rem 0 7rem; background: var(--sand-light); }
.history-head { margin-bottom: 4rem; }
.history-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--ink-soft); }

.timeline { position: relative; max-width: 50rem; }
.timeline::before {
    content: "";
    position: absolute; left: 72px; top: 8px; bottom: 8px; width: 1px;
    background: linear-gradient(to bottom, rgba(212,163,84,0.5), rgba(212,163,84,0.12));
}
@media (max-width: 640px) { .timeline::before { left: 40px; } }

.timeline-item { display: flex; gap: 2rem; padding-bottom: 3.25rem; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { flex-shrink: 0; width: 72px; display: flex; justify-content: flex-end; padding-top: 0.15rem; padding-right: 10px; position: relative; }
@media (max-width: 640px) { .timeline-marker { width: 40px; padding-right: 8px; } }
.timeline-year { font-size: 1.05rem; color: var(--terracotta); font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) { .timeline-year { font-size: 0.85rem; } }
.timeline-marker::after {
    content: "";
    position: absolute; right: 0; top: 6px; transform: translateX(50%);
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--saffron); border: 3px solid var(--sand-light);
    box-shadow: 0 0 0 1px rgba(212,163,84,0.5);
}

.timeline-body { padding-top: 0; }
.timeline-title { margin: 0; font-weight: 500; font-size: 1.2rem; color: var(--ink-soft); }
.timeline-copy { margin: 0.7rem 0 0; line-height: 1.8; color: #5a4f45; font-size: 0.92rem; max-width: 34rem; }

/* رهبری و تیم */
.team-section { padding: 7rem 0; background: #fff; }
.support-team { padding: 7rem 0; background: var(--sand-mid); }
.team-head { max-width: 34rem; margin-bottom: 3.5rem; }
.team-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: var(--ink-soft); }
.team-lead { margin: 1rem 0 0; color: #5a4f45; line-height: 1.8; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
    padding: 2.25rem;
    background: var(--sand-light);
    border-radius: 18px;
    border: 1px solid rgba(212, 163, 84, 0.16);
    text-align: left;
}
.team-avatar {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin-bottom: 1.4rem;
    border-radius: 50%; color: #fff; font-size: 1.3rem; font-weight: 500;
    background: linear-gradient(145deg, var(--avatar-a, #9a3b2b), var(--avatar-b, #d4a354));
    box-shadow: 0 8px 20px rgba(23,19,15,0.15);
}
.team-name { margin: 0; font-weight: 500; font-size: 1.15rem; color: var(--ink-soft); }
.team-role { margin: 0.35rem 0 0; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.team-bio { margin: 1rem 0 0; font-size: 0.9rem; line-height: 1.75; color: #5a4f45; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 420px) { .support-grid { grid-template-columns: 1fr; } }
@media (min-width: 700px) { .support-grid { grid-template-columns: repeat(5, 1fr); } }
.support-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(23, 19, 15, 0.06);
}
.team-avatar-sm { width: 52px; height: 52px; font-size: 1rem; margin-bottom: 1rem; }
.support-name { margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.support-role { margin: 0.4rem 0 0; font-size: 0.74rem; color: #9a8d7d; line-height: 1.5; }

/* بیانیه ماموریت */
.mission { padding: 8rem 0; background: var(--ink); text-align: center; }
.mission-panel { max-width: 40rem; margin: 0 auto; }
.mission-quote { font-weight: 300; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.6; color: #fff; }
.mission-attribution { margin: 1.5rem 0 0; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--saffron); }
.mission-cta { margin-top: 2.75rem; }

@media (max-width: 767px) {
    .story-hero { padding-top: calc(var(--strip-h) + 6.5rem); }
}

/* -------------------------------------------------------------------------
   Journal / Blog — glassmorphism design
   ------------------------------------------------------------------------- */
.blog-backdrop {
    position: fixed; inset: 0; z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}
.blob-1 { width: 480px; height: 480px; top: -120px; left: -100px; background: radial-gradient(circle, rgba(212,163,84,0.55), transparent 70%); }
.blob-2 { width: 520px; height: 520px; top: 20%; right: -180px; background: radial-gradient(circle, rgba(181,74,58,0.4), transparent 70%); }
.blob-3 { width: 460px; height: 460px; top: 55%; left: -160px; background: radial-gradient(circle, rgba(42,58,74,0.35), transparent 70%); }
.blob-4 { width: 420px; height: 420px; bottom: -140px; right: 10%; background: radial-gradient(circle, rgba(212,163,84,0.4), transparent 70%); }

@media (prefers-reduced-motion: no-preference) {
    .blob { animation: blobDrift 22s ease-in-out infinite; }
    .blob-2 { animation-duration: 26s; animation-delay: -4s; }
    .blob-3 { animation-duration: 30s; animation-delay: -10s; }
    .blob-4 { animation-duration: 24s; animation-delay: -7s; }
}
@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.06); }
}

/* کارت شیشه‌ای پایه */
.glass {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 32px rgba(23, 19, 15, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* هیرو */
.journal-hero { padding: calc(var(--strip-h) + 8.5rem) 0 3rem; }
.journal-hero-row { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 900px) { .journal-hero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 3rem; } }
.journal-hero-title { margin: 1.25rem 0 0; font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink-soft); }
.journal-hero-copy { max-width: 27rem; line-height: 1.85; color: #5a4f45; font-size: 0.98rem; }

.journal-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 3rem; }
.filter-pill {
    padding: 0.6rem 1.3rem;
    font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    cursor: pointer;
    transition: all 280ms var(--ease-out);
}
.filter-pill:hover { border-color: rgba(212, 163, 84, 0.6); }
.filter-pill.is-active { background: var(--ink); color: var(--saffron); border-color: var(--ink); }

/* مقاله شاخص */
.journal-featured { padding: 1rem 0 2rem; }
.featured-card {
    display: grid; grid-template-columns: 1fr; gap: 0;
    border-radius: 24px; overflow: hidden;
}
@media (min-width: 860px) { .featured-card { grid-template-columns: 1.1fr 1fr; } }
.featured-media { aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 860px) { .featured-media { aspect-ratio: auto; height: 100%; } }
.featured-media svg { width: 100%; height: 100%; display: block; transition: transform 700ms var(--ease-out); }
.featured-card:hover .featured-media svg { transform: scale(1.04); }
.featured-body { padding: 2.5rem clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.featured-title { margin: 1rem 0 0; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.28; color: var(--ink-soft); }
.featured-excerpt { margin: 1.1rem 0 0; line-height: 1.8; color: #5a4f45; font-size: 0.94rem; max-width: 30rem; }

.article-tag {
    display: inline-block;
    font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
    color: var(--terracotta-deep);
    background: rgba(212, 163, 84, 0.16);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}
.article-meta { margin: 1.3rem 0 0; font-size: 0.78rem; color: #9a8d7d; }

/* گرید مقالات */
.journal-grid-section { padding: 1rem 0 6rem; }
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 700px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
    display: flex; flex-direction: column;
    border-radius: 20px; overflow: hidden;
    transition: all 400ms var(--ease-out);
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(23, 19, 15, 0.12), inset 0 1px 0 rgba(255,255,255,0.6); }
.article-media { aspect-ratio: 4 / 3; overflow: hidden; }
.article-media svg { width: 100%; height: 100%; display: block; transition: transform 700ms var(--ease-out); }
.article-card:hover .article-media svg { transform: scale(1.06); }
.article-body { position: relative; padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; }
.article-body::before {
    content: "";
    position: absolute; top: 0; left: 1.6rem; right: 1.6rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,163,84,0.45), rgba(212,163,84,0));
}
.article-title { margin: 0.85rem 0 0; font-weight: 500; font-size: 1.15rem; line-height: 1.4; color: var(--ink-soft); }
.article-excerpt { margin: 0.75rem 0 0; font-size: 0.87rem; line-height: 1.75; color: #5a4f45; }

.journal-empty { text-align: center; padding: 3rem 0; color: #9a8d7d; font-size: 0.95rem; }

/* خبرنامه */
.journal-newsletter { padding: 2rem 0 7rem; }
.newsletter-panel {
    max-width: 54rem; margin: 0 auto;
    padding: 3rem clamp(1.75rem, 4vw, 3.5rem);
    border-radius: 24px;
    display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
    text-align: center;
}
@media (min-width: 800px) { .newsletter-panel { grid-template-columns: 1.1fr 1fr; text-align: left; } }
.newsletter-panel .gold-line { margin: 0 auto 0 0; }
@media (max-width: 799px) { .newsletter-panel .gold-line { margin: 0 auto; } }
.newsletter-title { margin: 1.1rem 0 0; font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.2rem); color: var(--ink-soft); }
.newsletter-copy { margin: 0.9rem 0 0; color: #5a4f45; line-height: 1.8; max-width: 26rem; }

.newsletter-form { display: flex; flex-direction: column; gap: 0.9rem; }
@media (min-width: 560px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input {
    flex: 1;
    font-family: var(--sans); font-size: 0.92rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(23, 19, 15, 0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--saffron); }
.newsletter-form .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; white-space: nowrap; justify-content: center; }
.newsletter-form .btn-primary::before { background: var(--saffron); }
.newsletter-form .btn-primary:hover { color: var(--ink); }
.newsletter-status { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; color: var(--terracotta-deep); opacity: 0; transition: opacity 400ms; }
.newsletter-status.is-visible { opacity: 1; }

@media (max-width: 767px) {
    .journal-hero { padding-top: calc(var(--strip-h) + 6.5rem); }
    .blob { filter: blur(50px); opacity: 0.45; }
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .desktop-nav { display: none !important; }
    .menu-toggle { display: block; }
    .nav { display: flex; gap: 0.45rem; padding: 0.65rem 0.8rem; margin-inline: 0.65rem; }
    .brand { gap: 0.75rem; }
    .brand-mark { width: 36px; height: 36px; font-size: 0.9rem; }
    .brand-mark::before { inset: 5px; }
    .brand-name { font-size: 0.88rem; }
    .brand-descriptor { font-size: 0.44rem; letter-spacing: 0.15em; }
    .nav-actions { margin-inline-start: auto; gap: 0.3rem; }
    .nav-actions .atelier-seal,
    .nav-actions .nav-link-cta { display: none; }
    .language-switcher { padding: 0 0.35rem; }
    .top-strip-track { font-size: 0.58rem; letter-spacing: 0.12em; }
    .hero-inner { padding-top: calc(var(--strip-h) + 6.5rem); padding-bottom: 5rem; }
    .hero .eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; max-width: 15rem; }
    .hero-copy { font-size: 0.98rem; line-height: 1.7; }
    .hero-actions { margin-top: 2.25rem; gap: 1rem; }
    .hero-actions .btn { padding: 0.9rem 1.4rem; }
    .scroll-cue { display: none; }
    .stat-row { gap: 1.25rem; }
    .stat-label { letter-spacing: 0.08em; font-size: 0.62rem; }
    .provenance, .craft, .acquire { padding: 5.5rem 0; }
    .collection { padding: 5.5rem 0; }
    .craft-details { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-links { text-align: left; grid-template-columns: 1fr 1fr; }
    .product-detail { padding-top: calc(var(--strip-h) + 6rem); }
}

@media (max-width: 480px) {
    .stat-row { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
    .guide-steps { grid-template-columns: 1fr; }
    .methods-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; text-align: left; gap: 0.85rem; }
    .product-info, .rug-body { padding-inline: 1.15rem; }
    .hero-piece-body, .article-body { padding-inline: 1.25rem; }
}

@media (min-width: 768px) {
    .mobile-menu { display: none; }
}

/* Header breakpoints: keep the navigation intentional at every width. */
@media (min-width: 768px) and (max-width: 1120px) {
    .nav {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: clamp(0.65rem, 1.8vw, 1.25rem);
        padding-inline: clamp(0.8rem, 2vw, 1.35rem);
    }
    .brand { gap: 0.75rem; }
    .brand-mark { width: 38px; height: 38px; font-size: 1rem; }
    .brand-mark::before { inset: 5px; }
    .brand-name { font-size: 0.9rem; }
    .brand-descriptor { font-size: 0.46rem; letter-spacing: 0.15em; }
    .desktop-nav { gap: clamp(0.75rem, 1.4vw, 1.15rem); }
    .nav-link { gap: 0.28rem; font-size: 0.61rem; letter-spacing: 0.1em; }
    .nav-link-index { display: none; }
    .atelier-seal { display: none; }
    .nav-actions { gap: 0.55rem; }
    .nav-link-cta { padding: 0.6rem 0.75rem 0.6rem 0.9rem; box-shadow: 3px 3px 0 rgba(212, 163, 84, 0.72); }
}

@media (max-width: 767px) {
    :root { --strip-h: 0px; }
    .top-strip { display: none; }
    .site-header { top: 0; padding: 0.55rem 0; }
    .nav {
        display: flex;
        width: auto;
        min-height: 58px;
        justify-content: space-between;
        padding: 0.55rem 0.75rem;
        margin-inline: 0.55rem;
        background: rgba(249, 246, 240, 0.9);
        backdrop-filter: blur(14px) saturate(155%);
        -webkit-backdrop-filter: blur(14px) saturate(155%);
    }
    .nav-actions { display: none; }
    .menu-toggle { flex: 0 0 42px; width: 42px; height: 42px; }
    .brand { min-width: 0; }
    .brand-lockup { min-width: 0; }
    .brand-name { font-size: 0.9rem; white-space: nowrap; }
    .brand-descriptor { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-menu-inner {
        justify-content: flex-start;
        overflow-y: auto;
        padding-top: 7.5rem;
        padding-bottom: 2rem;
    }
    .mobile-nav-link { font-size: clamp(1.7rem, 8vw, 2.35rem); padding-block: 0.38rem; }
    .mobile-language-switcher { margin-block-start: 1.15rem; padding-block-start: 1.15rem; }
    .mobile-menu-footer { margin-top: 1.5rem; padding-top: 1.2rem; }
}

@media (max-width: 390px) {
    .brand-descriptor { display: none; }
    .brand-lockup { gap: 0; }
    .brand-name::after { bottom: -4px; }
    .mobile-menu-inner { padding-top: 6.5rem; }
    .mobile-nav-link { font-size: 1.65rem; }
}

/* =========================================================================
   GALLERY HEADER — final direction
   An unboxed, art-gallery placard treatment: hairlines instead of borders,
   no gradients, no glow, no drop-shadows. Generous whitespace, small caps,
   a quiet monogram. Fully responsive; equally at home in English (LTR)
   and Persian (RTL) — see rtl-ltr.css for the mirrored/RTL half.
   ========================================================================= */

/* ---- Top strip — a museum wall-text placard ---- */
.top-strip {
    height: 30px;
    background: var(--ink);
    border-bottom: 1px solid rgba(212, 163, 84, 0.16);
}
.top-strip-track {
    justify-content: center;
    padding-inline: 1rem;
    gap: 0.85rem;
    color: rgba(242, 233, 216, 0.5);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.22em;
}
.top-strip-dot { color: var(--saffron); opacity: 0.8; }

/* ---- Header shell — transparent over the hero, a single hairline once scrolled ---- */
.site-header,
.site-header.is-scrolled {
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 450ms var(--ease-out),
                border-color 450ms var(--ease-out),
                transform 400ms var(--ease-out),
                top 400ms var(--ease-out);
}
.site-header.is-scrolled {
    background: rgba(249, 246, 240, 0.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: rgba(23, 19, 15, 0.08);
}

/* ---- Nav grid — quiet three-column placard, no box, no fill ---- */
.nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 88px;
    margin: 0;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
    gap: clamp(1rem, 2.5vw, 2.5rem);
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* ---- Brand — centered gallery monogram, thin ring, no gradient text ---- */
.brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    gap: 0.85rem;
    color: var(--ink);
}
.site-header:not(.is-scrolled) .brand { color: var(--ink); }
.site-header.is-scrolled .brand { color: var(--ink); }

.brand-mark {
    width: 34px;
    height: 34px;
    border: 1px solid var(--saffron);
    border-radius: 50%;
    color: var(--saffron);
    font-size: 0.85rem;
    font-weight: 400;
    transform: none;
    background: transparent;
}
.brand-mark::before { inset: 4px; border: 1px solid rgba(212, 163, 84, 0.35); border-radius: 50%; }
.brand-mark span { transform: none; }

.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 0.28rem; }
.brand-name {
    position: static;
    width: max-content;
    color: currentColor;
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
    text-shadow: none;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.34em;
}
.brand-name::after { display: none; }
.brand:hover .brand-name { background-position: initial; }
.brand-descriptor {
    color: currentColor;
    opacity: 0.56;
    font-size: 0.46rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

/* ---- Primary links — small caps separated by hairlines, not underline blocks ---- */
.desktop-nav {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-items: center;
    gap: 0;
}
.nav-link {
    position: relative;
    padding: 0.4rem clamp(0.75rem, 1.4vw, 1.15rem);
    gap: 0.4rem;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(23, 19, 15, 0.66);
}
.site-header.is-scrolled .nav-link:not(.nav-link-cta) { color: rgba(23, 19, 15, 0.66); }
.desktop-nav .nav-link:not(:first-child) { border-inline-start: 1px solid rgba(23, 19, 15, 0.12); }
.site-header.is-scrolled .desktop-nav .nav-link:not(:first-child) { border-inline-start-color: rgba(23, 19, 15, 0.12); }

.nav-link-index {
    font-family: var(--serif);
    font-style: italic;
    color: var(--saffron);
    opacity: 0.85;
    font-size: 0.62rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -1px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--saffron);
    transform: translateX(-50%) scale(0);
    transition: transform 300ms var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--saffron); }
.site-header.is-scrolled .nav-link:not(.nav-link-cta):hover { color: var(--terracotta-deep); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: translateX(-50%) scale(1); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }

/* ---- Right side — quiet language toggle + an understated "Enquire" link ---- */
.nav-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.atelier-seal { display: none; }

.language-switcher {
    padding: 0;
    padding-inline-end: 1.1rem;
    gap: 0.3rem;
    border: 0;
    border-inline-end: 1px solid rgba(23, 19, 15, 0.14);
    background: transparent;
}
.site-header.is-scrolled .language-switcher { border-inline-end-color: rgba(23, 19, 15, 0.14); }
.lang-button {
    min-width: 0;
    padding: 0.2rem 0.15rem;
    color: rgba(23, 19, 15, 0.42);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.site-header.is-scrolled .lang-button { color: rgba(23, 19, 15, 0.42); }
.lang-button--active { color: var(--saffron); background: transparent; box-shadow: none; font-weight: 700; }
.lang-button:hover { color: var(--saffron); }
.lang-separator { display: inline; color: rgba(23, 19, 15, 0.2); }
.site-header.is-scrolled .lang-separator { color: rgba(23, 19, 15, 0.2); }

.nav-link-cta {
    padding: 0.4rem 0;
    border: 0;
    color: var(--ink-soft) !important;
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(23, 19, 15, 0.35);
}
.site-header.is-scrolled .nav-link-cta { color: var(--ink-soft) !important; border-bottom-color: rgba(23, 19, 15, 0.35); }
.nav-link-cta:hover {
    color: var(--saffron) !important;
    background: transparent;
    box-shadow: none;
    transform: none;
    border-bottom-color: var(--saffron);
}
.site-header.is-scrolled .nav-link-cta:hover { color: var(--terracotta-deep) !important; border-bottom-color: var(--terracotta-deep); }
.nav-link-cta i { display: none; }

/* ---- Hamburger — two quiet hairlines, refined weight ---- */
.menu-toggle { color: var(--ink); }
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    width: 20px;
    height: 1px;
    background: currentColor;
}

/* ---- Mobile full-screen overlay — restrained, exhibition-catalogue feel ---- */
.mobile-menu-backdrop { background: var(--ink); background-image: none; }
.mobile-menu-inner { padding-top: 7rem; }
.mobile-menu-brand strong { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.3em; }
.mobile-menu-brand small { color: rgba(242, 233, 216, 0.45); }
.mobile-menu-eyebrow { color: rgba(242, 233, 216, 0.4); font-weight: 600; }

.mobile-nav-link {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(242, 233, 216, 0.1);
    color: rgba(242, 233, 216, 0.92);
    letter-spacing: 0;
}
.mobile-nav-link span {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--saffron);
    opacity: 0.85;
}
.mobile-nav-link:hover { color: var(--saffron); }

.mobile-menu-footer { color: rgba(242, 233, 216, 0.4); font-size: 0.72rem; letter-spacing: 0.04em; }
.mobile-menu-footer a { color: var(--saffron); }

/* =========================================================================
   Responsive breakpoints for the Gallery Header
   ========================================================================= */

/* Tablet / narrow desktop — trim the link rhythm before anything collides */
@media (min-width: 900px) and (max-width: 1180px) {
    .nav { padding-inline: clamp(1rem, 2.5vw, 2rem); gap: 1rem; }
    .nav-link { padding-inline: clamp(0.5rem, 1vw, 0.8rem); font-size: 0.62rem; letter-spacing: 0.11em; }
    .nav-link-index { display: none; }
    .brand-name { font-size: 0.82rem; letter-spacing: 0.26em; }
    .nav-actions { gap: 0.8rem; }
}

/* Below 900px the desktop nav gives way to the hamburger */
@media (max-width: 899px) {
    :root { --strip-h: 0px; }
    .top-strip { display: none; }
    .site-header { top: 0; }
    .nav {
        grid-template-columns: minmax(0, 1fr) auto auto;
        min-height: 66px;
        padding-inline: clamp(1.1rem, 4vw, 1.5rem);
        gap: 0.85rem;
    }
    .brand { grid-column: 1; grid-row: 1; justify-self: start; }
    .brand-lockup { align-items: flex-start; }
    .desktop-nav { display: none !important; }
    .nav-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0;
        gap: 0.75rem;
    }
    .nav-link-cta { display: none; }
    .language-switcher { padding-inline-end: 0; border-inline-end: 0; }
    .menu-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
        width: 40px;
        height: 40px;
    }
    .brand-mark { width: 30px; height: 30px; font-size: 0.75rem; }
    .brand-name { font-size: 0.82rem; letter-spacing: 0.26em; }
    .brand-descriptor { font-size: 0.4rem; }
}

/* Small phones — trim further, drop the descriptor, keep the wordmark legible */
@media (max-width: 420px) {
    .nav { min-height: 58px; padding-inline: 0.9rem; gap: 0.6rem; }
    .brand-descriptor { display: none; }
    .brand-lockup { gap: 0; }
    .brand-name { font-size: 0.74rem; letter-spacing: 0.22em; }
    .brand-mark { width: 27px; height: 27px; }
    .lang-button { font-size: 0.56rem; padding-inline: 0.1rem; }
    .mobile-menu-inner { padding-top: 6rem; }
    .mobile-nav-link { font-size: 1.55rem; padding: 0.65rem 0; }
}

/* Very short viewports (landscape phones) — keep the overlay scrollable and tight */
@media (max-height: 480px) and (max-width: 899px) {
    .mobile-menu-inner { padding-top: 5.5rem; padding-bottom: 1.5rem; justify-content: flex-start; overflow-y: auto; }
    .mobile-nav-link { font-size: 1.4rem; padding: 0.5rem 0; }
    .mobile-menu-footer { margin-top: 1rem; padding-top: 0.9rem; }
}

/* =========================================================================
   FLOATING GLASS HEADER — v2
   A soft cream floating plaque with restrained saffron detailing.
   ========================================================================= */

.site-header,
.site-header.is-scrolled {
    top: calc(var(--strip-h) + clamp(0.6rem, 1.6vw, 1rem));
    inset-inline: clamp(0.65rem, 3vw, 2.25rem);
    width: auto;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(140, 53, 40, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 45%),
        rgba(242, 233, 216, 0.38);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 22px 48px -20px rgba(23, 19, 15, 0.1);
    will-change: transform;
    transition: background 700ms var(--ease-out),
                border-color 700ms var(--ease-out),
                box-shadow 700ms var(--ease-out),
                transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
                top 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keep the plaque slightly more opaque once scrolled. */
.site-header.is-scrolled {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 45%),
        rgba(242, 233, 216, 0.48);
    border-color: rgba(140, 53, 40, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 26px 56px -20px rgba(23, 19, 15, 0.12);
}

.site-header.is-hidden { transform: translateY(calc(-100% - 0.75rem)); }

/* One consistent, high-contrast text treatment against the cream plaque. */
.site-header .brand,
.site-header.is-scrolled .brand,
.site-header:not(.is-scrolled) .brand { color: var(--ink); }

.site-header .nav-link:not(.nav-link-cta),
.site-header.is-scrolled .nav-link:not(.nav-link-cta) {
    color: rgba(23, 19, 15, 0.72);
}
.site-header .nav-link:hover,
.site-header.is-scrolled .nav-link:not(.nav-link-cta):hover { color: var(--saffron); }
.site-header .nav-link.is-active,
.site-header.is-scrolled .nav-link.is-active { color: var(--saffron) !important; }

.desktop-nav .nav-link:not(:first-child),
.site-header.is-scrolled .desktop-nav .nav-link:not(:first-child) {
    border-inline-start-color: rgba(23, 19, 15, 0.12);
}

.site-header .nav-link-index,
.site-header.is-scrolled .nav-link-index { color: var(--saffron); opacity: 0.9; }

.site-header .language-switcher,
.site-header.is-scrolled .language-switcher { border-inline-end-color: rgba(23, 19, 15, 0.14); }
.site-header .lang-button,
.site-header.is-scrolled .lang-button { color: rgba(23, 19, 15, 0.5); }
.site-header .lang-button--active,
.site-header.is-scrolled .lang-button--active { color: var(--saffron); }
.site-header .lang-separator,
.site-header.is-scrolled .lang-separator { color: rgba(23, 19, 15, 0.22); }

.site-header .nav-link-cta,
.site-header.is-scrolled .nav-link-cta {
    color: var(--ink-soft) !important;
    border-bottom-color: rgba(23, 19, 15, 0.35);
}
.site-header .nav-link-cta:hover,
.site-header.is-scrolled .nav-link-cta:hover {
    color: var(--saffron) !important;
    border-bottom-color: var(--saffron);
}

.site-header .menu-toggle,
.site-header.is-scrolled .menu-toggle { color: var(--ink); }

.site-header .brand-mark,
.site-header.is-scrolled .brand-mark { border-color: var(--saffron); color: var(--saffron); }
.site-header .brand-descriptor,
.site-header.is-scrolled .brand-descriptor { color: rgba(23, 19, 15, 0.58); }

.nav {
    min-height: 74px;
    padding-inline: clamp(1.2rem, 3vw, 2.1rem);
}

@media (max-width: 899px) {
    .site-header,
    .site-header.is-scrolled {
        top: clamp(0.5rem, 3vw, 0.8rem);
        inset-inline: clamp(0.5rem, 3.5vw, 1rem);
        border-radius: 24px;
        border-color: rgba(212, 163, 84, 0.42);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 45%),
            rgba(242, 233, 216, 0.24);
        backdrop-filter: blur(10px) saturate(125%);
        -webkit-backdrop-filter: blur(10px) saturate(125%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.72),
            0 16px 34px -18px rgba(23, 19, 15, 0.28),
            0 0 0 1px rgba(212, 163, 84, 0.08);
    }
    .site-header.is-scrolled {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 45%),
            rgba(242, 233, 216, 0.32);
    }
    .nav {
        min-height: 56px;
        padding-inline: clamp(1rem, 4vw, 1.35rem);
        border: none;
        box-shadow: none;
        border-radius: 22px;
    }
    .brand { gap: 0.7rem; }
    .brand-name {
        font-size: 0.86rem;
        letter-spacing: 0.28em;
    }
    .brand-mark {
        border-width: 1.5px;
        box-shadow: 0 0 0 3px rgba(212, 163, 84, 0.1);
    }
    .menu-toggle {
        width: 38px;
        height: 36px;
        border: 1px solid rgba(212, 163, 84, 0.52);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            0 4px 12px rgba(23, 19, 15, 0.12);
        transition:
            background-color 350ms var(--ease-out),
            border-color 350ms var(--ease-out),
            transform 250ms var(--ease-out),
            box-shadow 350ms var(--ease-out);
    }
    .menu-toggle:active { transform: scale(0.92); }
    .menu-toggle:focus-visible {
        outline: 2px solid var(--saffron);
        outline-offset: 3px;
    }
    .menu-toggle.is-open {
        background: rgba(242, 233, 216, 0.12);
        border-color: rgba(242, 233, 216, 0.62);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
        color: var(--cream);
    }

    /* Plus / minus control — closed is +, open collapses to a single bar. */
    .menu-toggle span {
        width: 16px;
        height: 1.5px;
        border-radius: 999px;
        transition: width 400ms var(--ease-out), background-color 300ms var(--ease-out);
    }
    .menu-toggle span::before {
        top: 50%;
        left: 50%;
        width: 1.5px;
        height: 16px;
        border-radius: 999px;
        transform: translate(-50%, -50%);
        transition: height 400ms var(--ease-out), background-color 300ms var(--ease-out);
    }
    .menu-toggle span::after { display: none; }
    .menu-toggle.is-open span {
        width: 17px;
        background: currentColor;
    }
    .menu-toggle.is-open span::before {
        top: 50%;
        left: 50%;
        width: 17px;
        height: 1.5px;
        transform: translate(-50%, -50%);
        background: currentColor;
    }
}

@media (max-width: 420px) {
    .site-header, .site-header.is-scrolled {
        border-radius: 30px;
    }
    .nav {
        min-height: 52px;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header, .site-header.is-scrolled { transition: none; }
}

/* Overlay is dark; the floating plaque sits above it (z-index 300 vs 280),
   so drop the glass chrome and switch header controls to cream. */
body.menu-open .site-header,
body.menu-open .site-header.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}
body.menu-open .site-header .brand,
body.menu-open .site-header.is-scrolled .brand,
body.menu-open .site-header .menu-toggle,
body.menu-open .site-header.is-scrolled .menu-toggle {
    color: var(--cream);
}
body.menu-open .site-header .brand-descriptor,
body.menu-open .site-header.is-scrolled .brand-descriptor {
    color: rgba(242, 233, 216, 0.62);
}
body.menu-open .site-header .lang-button,
body.menu-open .site-header.is-scrolled .lang-button {
    color: rgba(242, 233, 216, 0.55);
}
body.menu-open .site-header .lang-button--active,
body.menu-open .site-header.is-scrolled .lang-button--active {
    color: var(--saffron);
}
body.menu-open .site-header .lang-separator,
body.menu-open .site-header.is-scrolled .lang-separator {
    color: rgba(242, 233, 216, 0.3);
}
body.menu-open .site-header .language-switcher,
body.menu-open .site-header.is-scrolled .language-switcher {
    border-inline-end-color: rgba(242, 233, 216, 0.22);
}
body.menu-open .site-header .menu-toggle.is-open {
    color: var(--cream);
    background: rgba(242, 233, 216, 0.12);
    border-color: rgba(242, 233, 216, 0.62);
}

