/* ============================================================
   L'CLAIRE JEWELLERY — "CUT IN LIGHT"
   One design language for the whole site.

   Two surfaces, like a jeweller's counter:
     velvet — the tray a stone is shown on (night, ivory type)
     paper  — the card that comes with it (ivory, ink type)
   Components read --fg / --accent from whichever surface holds them.
   ============================================================ */

:root {
    --velvet: #120f15;
    --velvet-2: #1a1520;
    --velvet-3: #251d2b;
    --ivory: #f3ead7;
    --paper: #f6efe1;
    --paper-2: #efe5d2;
    --paper-3: #e4d6bc;
    --ink: #1d1a1f;
    --gold: #D4AF37;
    --gold-bright: #e6c86e;
    --gold-deep: #9a7b2a;

    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Outfit', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gutter: clamp(16px, 4vw, 56px);
    --max: 1320px;
    --header: 76px;

    --noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.25 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}

/* ---------- surfaces ---------- */
.surface-velvet,
body {
    --fg: var(--ivory);
    --fg-2: rgba(243, 234, 215, 0.7);
    --fg-3: rgba(243, 234, 215, 0.44);
    --line: rgba(243, 234, 215, 0.14);
    --line-2: rgba(212, 175, 55, 0.32);
    --accent: var(--gold);
    --accent-text: var(--gold-bright);
    --card: rgba(255, 255, 255, 0.025);
    --bg: var(--velvet);
    color: var(--fg);
}

.surface-velvet {
    background-color: var(--velvet);
    background-image:
        radial-gradient(ellipse 70% 55% at 75% 15%, rgba(94, 64, 110, 0.26), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 95%, rgba(212, 175, 55, 0.05), transparent 70%),
        var(--noise-light);
}

.surface-paper {
    --fg: var(--ink);
    --fg-2: rgba(29, 26, 31, 0.72);
    --fg-3: rgba(29, 26, 31, 0.5);
    --line: rgba(29, 26, 31, 0.12);
    --line-2: rgba(154, 123, 42, 0.4);
    --accent: #b08d35;
    --accent-text: var(--gold-deep);
    --card: rgba(255, 255, 255, 0.45);
    --bg: var(--paper);
    color: var(--fg);
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255, 255, 255, 0.6), transparent 60%),
        var(--noise-dark);
}

.surface-plum {
    background-color: var(--velvet-2);
    background-image:
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(94, 64, 110, 0.35), transparent 70%),
        var(--noise-light);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    background: var(--velvet);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(212, 175, 55, 0.35); color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.wrap--text { max-width: 720px; }
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.4rem; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 300; color: var(--fg); letter-spacing: -0.015em; }
.display { font-size: clamp(3.2rem, 8.4vw, 7.6rem); line-height: 0.98; letter-spacing: -0.03em; }
.h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.06; }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; font-weight: 400; }
.h4 { font-size: 1.35rem; line-height: 1.25; font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }

.foil {
    font-style: italic;
    background: linear-gradient(100deg, var(--fg) 0%, var(--gold-bright) 36%, #fff6dc 50%, var(--gold) 68%, var(--fg) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: foil 9s ease-in-out infinite;
    padding-right: 0.06em;
}
.surface-paper .foil { background-image: linear-gradient(100deg, #6b5518 0%, #b08d35 40%, #d9b95c 52%, #8a6d22 70%, #6b5518 100%); }
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.7; }
.center .eyebrow::after, .eyebrow--center::after { content: ''; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.7; }

.lede { font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.85; color: var(--fg-2); max-width: 36rem; }
.center .lede { margin-left: auto; margin-right: auto; }
.serif-line { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.5; font-weight: 300; color: var(--fg-2); }
.small-caps { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-3); }
.zh { font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif; letter-spacing: 0.08em; }

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .h2 + .lede { margin-top: 1.4rem; }

/* ---------- ornaments ---------- */
.rule { display: flex; align-items: center; gap: 1.2rem; color: var(--accent); margin: 0 auto; max-width: 320px; }
.rule::before, .rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.rule::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.rule svg { width: 14px; height: 14px; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; }
.sparkle { display: inline-block; width: 0.8em; height: 0.8em; vertical-align: -0.05em; }

/* ---------- buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.05rem 2.2rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fg);
    border: 1px solid var(--accent);
    overflow: hidden;
    isolation: isolate;
    transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
    white-space: nowrap;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--velvet); }
.btn .sparkle { color: var(--accent-text); transition: transform 0.8s var(--ease), color 0.4s; }
.btn:hover .sparkle { transform: rotate(90deg) scale(1.1); color: var(--velvet); }

.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid .sparkle { color: var(--gold); }
.btn--ghost { border-color: var(--line); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-text);
    padding-bottom: 4px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size 0.5s var(--ease), gap 0.5s var(--ease);
}
.link:hover { gap: 1rem; }
.link--quiet { color: var(--fg-2); background-size: 0 1px; }
.link--quiet:hover { color: var(--fg); background-size: 100% 1px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.62rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--fg-2);
    transition: all 0.4s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.chip:hover { border-color: var(--line-2); color: var(--fg); }
.chip[aria-pressed="true"], .chip.is-active { border-color: var(--accent); color: var(--fg); background: rgba(212, 175, 55, 0.09); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--accent)); }
.chip[aria-pressed="true"] .chip__dot, .chip.is-active .chip__dot { box-shadow: 0 0 10px 2px var(--dot, var(--accent)); }

/* ---------- header ---------- */
.lc-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header);
    color: var(--ivory);
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.lc-header[data-tone="dark"] { color: var(--ink); }
.lc-header.is-scrolled { background: rgba(18, 15, 21, 0.72); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 1px 0 rgba(212, 175, 55, 0.14); }
.lc-header.is-scrolled[data-tone="dark"] { background: rgba(246, 239, 225, 0.8); box-shadow: 0 1px 0 rgba(154, 123, 42, 0.18); }
.lc-header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.lc-header__nav { display: flex; gap: clamp(1rem, 1.7vw, 2rem); }
.lc-header__nav a, .lc-header__actions a { white-space: nowrap; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.86; transition: opacity 0.3s; position: relative; padding: 0.4rem 0; }
.lc-header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.lc-header__nav a:hover, .lc-header__nav a[aria-current="page"] { opacity: 1; }
.lc-header__nav a:hover::after, .lc-header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.lc-logo { display: block; justify-self: center; }
.lc-logo img { height: 30px; width: auto; }
.lc-logo .lc-logo--dark { display: none; }
.lc-header[data-tone="dark"] .lc-logo--light { display: none; }
.lc-header[data-tone="dark"] .lc-logo--dark { display: block; }
.lc-header__actions { justify-self: end; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.lc-stone-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.lc-stone-link .sparkle { color: var(--gold); width: 0.9em; height: 0.9em; }
.lc-bag { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.lc-bag svg { width: 21px; height: 21px; }
.lc-bag__count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--velvet); font-size: 0.62rem; font-weight: 500; display: grid; place-items: center; transform: scale(0); transition: transform 0.4s var(--ease); }
.lc-bag__count.has-items { transform: scale(1); }
.lc-menu-btn { display: none; align-items: center; gap: 0.8rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; height: 40px; }
.lc-menu-btn__lines { position: relative; width: 24px; height: 9px; }
.lc-menu-btn__lines::before, .lc-menu-btn__lines::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.lc-menu-btn__lines::before { top: 0; }
.lc-menu-btn__lines::after { top: 8px; right: 6px; }

/* ---------- menu overlay ---------- */
.lc-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    visibility: hidden;
    pointer-events: none;
}
.lc-menu::before { content: ''; position: absolute; inset: 0; background: var(--velvet); opacity: 0; transition: opacity 0.6s var(--ease); }
.lc-menu.is-open { visibility: visible; pointer-events: auto; }
.lc-menu.is-open::before { opacity: 0.985; }
.lc-menu__close { position: absolute; top: 18px; right: var(--gutter); z-index: 2; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory); height: 40px; display: flex; align-items: center; gap: 0.8rem; }
.lc-menu__close span { font-size: 1.3rem; line-height: 1; }
.lc-menu__list { position: relative; align-self: center; padding: 6rem var(--gutter) 3rem; }
.lc-menu__list a { display: flex; align-items: baseline; gap: 1.4rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.12; color: var(--ivory); opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.3s; }
.lc-menu__list a small { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--gold); min-width: 2.2rem; }
.lc-menu__list a:hover { color: var(--gold-bright); font-style: italic; }
.lc-menu.is-open .lc-menu__list a { opacity: 1; transform: none; }
.lc-menu.is-open .lc-menu__list a:nth-child(2) { transition-delay: 0.05s; }
.lc-menu.is-open .lc-menu__list a:nth-child(3) { transition-delay: 0.1s; }
.lc-menu.is-open .lc-menu__list a:nth-child(4) { transition-delay: 0.15s; }
.lc-menu.is-open .lc-menu__list a:nth-child(5) { transition-delay: 0.2s; }
.lc-menu.is-open .lc-menu__list a:nth-child(6) { transition-delay: 0.25s; }
.lc-menu.is-open .lc-menu__list a:nth-child(7) { transition-delay: 0.3s; }
.lc-menu.is-open .lc-menu__list a:nth-child(8) { transition-delay: 0.35s; }
.lc-menu__aside { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2rem; border-left: 1px solid rgba(243, 234, 215, 0.08); padding: 6rem 2rem 3rem; color: var(--ivory); opacity: 0; transition: opacity 0.9s var(--ease) 0.2s; text-align: center; }
.lc-menu.is-open .lc-menu__aside { opacity: 1; }
.lc-menu__aside canvas { width: min(300px, 70%); aspect-ratio: 1; }
.lc-menu__aside .small-caps { color: rgba(243, 234, 215, 0.5); }
.lc-menu__aside .h3 { color: var(--ivory); font-style: italic; }
.lc-menu__social { display: flex; gap: 1.6rem; margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 234, 215, 0.6); }
.lc-menu__social a:hover { color: var(--gold-bright); }

/* ---------- bag drawer ---------- */
.lc-bag-drawer { position: fixed; inset: 0; z-index: 210; visibility: hidden; pointer-events: none; }
.lc-bag-drawer.is-open { visibility: visible; pointer-events: auto; }
.lc-bag-drawer__scrim { position: absolute; inset: 0; background: rgba(8, 6, 10, 0.55); opacity: 0; transition: opacity 0.5s var(--ease); }
.lc-bag-drawer.is-open .lc-bag-drawer__scrim { opacity: 1; }
.lc-bag-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.6s var(--ease); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4); }
.lc-bag-drawer.is-open .lc-bag-drawer__panel { transform: none; }
.lc-bag-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); }
.lc-bag-drawer__head .h3 { font-style: italic; }
.lc-bag-drawer__close { font-size: 1.6rem; line-height: 1; color: var(--fg-2); width: 40px; height: 40px; }
.lc-bag-drawer__items { flex: 1; overflow-y: auto; padding: 0.6rem 1.8rem; }
.lc-bag-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.lc-bag-item img { width: 76px; height: 92px; object-fit: cover; }
.lc-bag-item h4 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.2; margin-bottom: 0.2rem; }
.lc-bag-item p { font-size: 0.85rem; color: var(--fg-2); }
.lc-qty { display: inline-flex; align-items: center; gap: 0.2rem; margin-top: 0.6rem; border: 1px solid var(--line); }
.lc-qty button { width: 28px; height: 28px; color: var(--fg-2); }
.lc-qty span { min-width: 1.4rem; text-align: center; font-size: 0.85rem; }
.lc-bag-item__remove { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); align-self: start; padding-top: 0.2rem; }
.lc-bag-item__remove:hover { color: var(--fg); }
.lc-bag-drawer__empty { padding: 4rem 1.8rem; text-align: center; }
.lc-bag-drawer__empty p { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin-bottom: 1.6rem; color: var(--fg-2); }
.lc-bag-drawer__foot { padding: 1.6rem 1.8rem 1.8rem; border-top: 1px solid var(--line); }
.lc-bag-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.lc-bag-total span:first-child { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-3); }
.lc-bag-total strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.lc-bag-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1.6; color: var(--fg-3); text-align: center; }

/* ---------- toast ---------- */
.lc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; padding: 0.95rem 1.6rem; background: var(--velvet-3); color: var(--ivory); border: 1px solid rgba(212, 175, 55, 0.35); font-size: 0.8rem; letter-spacing: 0.06em; display: flex; gap: 0.7rem; align-items: center; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.lc-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.lc-toast .sparkle { color: var(--gold); }

/* ---------- product card ---------- */
.piece { display: block; color: var(--fg); position: relative; }
.piece__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); margin-bottom: 1.2rem; }
.piece__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.piece:hover .piece__img img { transform: scale(1.05); }
.piece__tag { position: absolute; top: 0.9rem; left: 0.9rem; padding: 0.32rem 0.75rem; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; background: rgba(18, 15, 21, 0.7); color: var(--gold-bright); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.piece__add { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; padding: 0.85rem; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; background: rgba(246, 239, 225, 0.94); color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.3s; }
.piece:hover .piece__add, .piece:focus-within .piece__add { opacity: 1; transform: none; }
.piece__add:hover { background: var(--gold-bright); }
.piece__stone { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.35rem; display: block; }
.piece__name { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.3rem; }
.piece__price { font-size: 0.88rem; color: var(--fg-2); letter-spacing: 0.04em; }
@media (hover: none) { .piece__add { opacity: 1; transform: none; position: static; margin-top: 0; width: 100%; display: none; } }

/* rail: a row of pieces that scrolls sideways */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: clamp(1rem, 2.4vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.4rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 0.6rem; }
.rail-controls button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--fg-2); transition: border-color 0.3s, color 0.3s; }
.rail-controls button:hover { border-color: var(--accent); color: var(--fg); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.head-row .section-head { margin-bottom: 0; }

/* ---------- arch card (categories) ---------- */
.arch { display: block; text-align: center; color: var(--fg); }
.arch__img { position: relative; aspect-ratio: 3 / 4.4; border-radius: 999px 999px 0 0; overflow: hidden; margin-bottom: 1.3rem; box-shadow: 0 0 0 1px var(--line-2); }
.arch__img::after { content: ''; position: absolute; inset: 8px 8px 0; border-radius: 999px 999px 0 0; border: 1px solid rgba(255, 255, 255, 0.5); border-bottom: 0; pointer-events: none; transition: inset 0.8s var(--ease); }
.arch:hover .arch__img::after { inset: 14px 14px 0; }
.arch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.arch:hover .arch__img img { transform: scale(1.06); }
.arch__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; font-style: italic; }
.arch__meta { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- medallion (round stone photo) ---------- */
.medal { width: var(--size, 132px); height: var(--size, 132px); border-radius: 50%; overflow: hidden; flex: none; background: var(--card); box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px var(--bg), 0 0 0 7px var(--line-2), 0 18px 40px rgba(0, 0, 0, 0.25); }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.medal--orb { background: radial-gradient(circle at 36% 30%, #fff 0%, var(--orb, #d9d2cc) 42%, color-mix(in srgb, var(--orb, #d9d2cc) 55%, #000) 100%); }

/* ---------- certificate card ---------- */
.cert { position: relative; background-color: #f7f1e3; background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.7), transparent 60%), var(--noise-dark); color: var(--ink); padding: clamp(2rem, 5vw, 3.6rem); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35); --fg: var(--ink); --fg-2: rgba(29, 26, 31, 0.72); --fg-3: rgba(29, 26, 31, 0.5); --line: rgba(29, 26, 31, 0.12); --accent: #b08d35; --accent-text: var(--gold-deep); --bg: #f7f1e3; }
.cert::before, .cert::after { content: ''; position: absolute; pointer-events: none; }
.cert::before { inset: 12px; border: 1px solid rgba(160, 128, 40, 0.5); }
.cert::after { inset: 17px; border: 0.5px solid rgba(160, 128, 40, 0.28); }
.surface-paper .cert { box-shadow: 0 30px 70px rgba(80, 60, 30, 0.14); }

/* ---------- panel / plate ---------- */
.plate { border: 1px solid var(--line); padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--card); position: relative; transition: border-color 0.4s var(--ease); }
.plate:hover { border-color: var(--line-2); }

/* ---------- fields ---------- */
.field { display: block; }
.field > span { display: block; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 0.35rem; }
.field input, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--serif); font-size: 1.5rem; padding: 0.25rem 0 0.45rem; outline: none; transition: border-color 0.3s; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--fg-3); opacity: 0.6; }
.field input:focus, .field select:focus { border-bottom-color: var(--accent); }
.field select { cursor: pointer; padding-right: 1.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b08d35' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2rem center; }
.field select option { color: var(--ink); background: var(--paper); }
.search { display: flex; align-items: center; gap: 0.8rem; border-bottom: 1px solid var(--line); padding: 0.4rem 0; min-width: 220px; }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 0.95rem; }
.search input::placeholder { color: var(--fg-3); }
.search svg { width: 16px; height: 16px; color: var(--fg-3); flex: none; }
.search:focus-within { border-bottom-color: var(--accent); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header) + clamp(4rem, 9vw, 8rem)) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.page-hero .display, .page-hero .h1 { max-width: 14ch; }
.page-hero.center .display, .page-hero.center .h1 { margin-left: auto; margin-right: auto; }
.page-hero__ornament { position: absolute; right: -6vw; top: 50%; transform: translateY(-46%); width: min(46vw, 620px); opacity: 0.5; color: var(--gold); pointer-events: none; }
.page-hero__ornament path, .page-hero__ornament polygon, .page-hero__ornament circle { vector-effect: non-scaling-stroke; }

/* chapter index (in-page nav) */
.chapters { display: flex; flex-wrap: wrap; gap: 0.4rem 2.2rem; margin-top: 2.6rem; }
.chapters a { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-2); display: inline-flex; gap: 0.7rem; padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.chapters a small { color: var(--accent-text); font-size: 0.66rem; }
.chapters a:hover, .chapters a.is-active { color: var(--fg); border-bottom-color: var(--line-2); }
.center .chapters { justify-content: center; }

/* sticky sub-navigation bar */
.subnav { position: sticky; top: var(--header); z-index: 50; background: rgba(246, 239, 225, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.surface-velvet .subnav, .subnav.surface-velvet { background: rgba(18, 15, 21, 0.86); }
.subnav__inner { display: flex; gap: 0.3rem 2rem; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); padding: 1.05rem 0; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.subnav a:hover { color: var(--fg); }
.subnav a.is-active { color: var(--fg); border-bottom-color: var(--accent); }

/* accordion (details) */
.fold { border-top: 1px solid var(--line); }
.fold:last-child { border-bottom: 1px solid var(--line); }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ''; margin-left: auto; width: 11px; height: 11px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.4s var(--ease); flex: none; }
.fold[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.fold__body { padding: 0 0 1.8rem; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; font-weight: 400; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); padding: 0 1rem 1rem 0; border-bottom: 1px solid var(--line-2); }
.table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
.table td:first-child { color: var(--fg); font-family: var(--serif); font-size: 1.2rem; }
.table-scroll { overflow-x: auto; }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise { display: flex; gap: 1.1rem; align-items: center; padding: 2rem clamp(1rem, 2.5vw, 2rem); }
.promise + .promise { border-left: 1px solid var(--line); }
.promise svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.promise strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.promise span { font-size: 0.82rem; color: var(--fg-3); }

/* ---------- footer ---------- */
.lc-footer { padding: clamp(4rem, 8vw, 7rem) 0 2.4rem; }
.lc-footer__sign { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -0.03em; margin: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.lc-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.6fr; gap: 2.4rem; padding-bottom: 3.6rem; }
.lc-footer h4 { font-family: var(--sans); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.3rem; }
.lc-footer li + li { margin-top: 0.6rem; }
.lc-footer li a { font-size: 0.92rem; color: var(--fg-2); transition: color 0.3s; }
.lc-footer li a:hover { color: var(--fg); }
.lc-footer__brand img { height: 26px; width: auto; margin-bottom: 1.2rem; }
.lc-footer__brand p { font-size: 0.9rem; color: var(--fg-3); max-width: 17rem; }
.lc-footer__news p { font-size: 0.9rem; color: var(--fg-2); margin-bottom: 1rem; }
.lc-footer__news form { display: flex; border-bottom: 1px solid var(--line); }
.lc-footer__news input { flex: 1; background: none; border: 0; outline: none; padding: 0.7rem 0; font-size: 0.92rem; }
.lc-footer__news input::placeholder { color: var(--fg-3); }
.lc-footer__news button { color: var(--accent-text); font-size: 1.1rem; padding: 0 0.4rem; }
.lc-footer__news .note { margin-top: 0.8rem; font-size: 0.78rem; color: var(--accent-text); min-height: 1.2em; }
.lc-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--fg-3); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
.lc-live-link { display: none; align-items: center; padding: 0.4rem 0.8rem !important; border: 1px solid rgba(227, 106, 95, 0.5); }
@media (max-width: 1240px) {
    .lc-header__nav { display: none; }
    .lc-menu-btn { display: inline-flex; }
    .lc-live-link { display: inline-flex; }
}
@media (max-width: 1080px) {
    .lc-stone-link span:not(.sparkle) { display: none; }
    .lc-footer__cols { grid-template-columns: repeat(3, 1fr); }
    .lc-footer__brand, .lc-footer__news { grid-column: span 3; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    :root { --header: 64px; }
    .split, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .lc-menu { grid-template-columns: 1fr; }
    .lc-menu__aside { display: none; }
    .promises { grid-template-columns: 1fr; }
    .promise + .promise { border-left: 0; border-top: 1px solid var(--line); }
    .head-row { flex-direction: column; align-items: flex-start; }
    .lc-logo img { height: 25px; }
}

@media (max-width: 560px) {
    .lc-menu-btn__label { display: none; }
    .lc-footer__cols { grid-template-columns: repeat(2, 1fr); }
    .lc-footer__brand, .lc-footer__news { grid-column: span 2; }
    .grid-4 { gap: 1.2rem 0.9rem; }
    .btn { padding: 1rem 1.6rem; }
    .rail { grid-auto-columns: 78%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- live ---------- */
.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e36a5f; margin-right: 0.55rem; vertical-align: 0.1em; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #e36a5f; opacity: 0; animation: livePulse 2.2s var(--ease) infinite; }
@keyframes livePulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.nav-live { display: inline-flex; align-items: center; }
.live-badge { display: inline-flex; align-items: center; gap: 0.1rem; padding: 0.35rem 0.8rem; border: 1px solid rgba(227, 106, 95, 0.55); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg); }
.social-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.social-btns svg.icon { width: 16px; height: 16px; }
