/* ==========================================================
   RATNIA — Fine Gems of Ceylon
   Editorial, motion-led layout.
   Palette: #E8A7B0 (rose) · #191B20 (ink) on warm paper
   Type:    Lustria (titles) · Helvetica Neue (body)
   ========================================================== */

/* Helvetica Neue — pinned to exact faces by name, so machines with
   many Helvetica variants installed don't pick a wrong (bold/italic) one. */
@font-face { font-family: "Ratnia Sans"; font-weight: 300; font-style: normal;
    src: local("HelveticaNeueLTPro-Lt"), local("HelveticaNeue-Light"), local("Helvetica Neue Light"); }
@font-face { font-family: "Ratnia Sans"; font-weight: 400; font-style: normal;
    src: local("HelveticaNeueLTPro-Roman"), local("HelveticaNeue"), local("Helvetica Neue"), local("HelveticaNeue-Roman"); }
@font-face { font-family: "Ratnia Sans"; font-weight: 400; font-style: italic;
    src: local("HelveticaNeueLTPro-It"), local("HelveticaNeue-Italic"), local("Helvetica Neue Italic"); }
@font-face { font-family: "Ratnia Sans"; font-weight: 500; font-style: normal;
    src: local("HelveticaNeueLTPro-Md"), local("HelveticaNeue-Medium"), local("Helvetica Neue Medium"); }
@font-face { font-family: "Ratnia Sans"; font-weight: 700; font-style: normal;
    src: local("HelveticaNeueLTPro-Bd"), local("HelveticaNeue-Bold"), local("Helvetica Neue Bold"); }

:root {
    --rose:       #E8A7B0;
    --rose-deep:  #B4707C;
    --rose-mist:  #F5E3E5;
    --ink:        #191B20;
    --ink-80:     rgba(25, 27, 32, .8);
    --ink-60:     rgba(25, 27, 32, .6);
    --ink-40:     rgba(25, 27, 32, .4);
    --line:       rgba(25, 27, 32, .14);
    --paper:      #F6F2EF;
    --paper-2:    #EEE7E3;
    --white:      #FCFAF8;

    --serif: "Lustria", Georgia, "Times New Roman", serif;
    --sans:  "Ratnia Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --gutter:   20px;
    --header-h: 54px;
    --ease:     cubic-bezier(.22, 1, .36, 1);
    --ease-io:  cubic-bezier(.76, 0, .24, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .005em;
    color: var(--ink);
    background: #FFFFFF;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--rose); color: var(--ink); }

.container { width: 100%; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.t-xl, .t-l, .t-m, .statement, .card__title, .index__name,
.number__val, .footer__big, .menu__text, .service__title,
.end-card__num {
    font-variant-numeric: lining-nums;
    font-family: var(--serif);
    font-weight: 300;
}
.t-xl { font-size: 3.6rem; line-height: .92; letter-spacing: -.025em; }
.t-l  { font-size: clamp(2.4rem, 5.4vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.t-m  { font-size: clamp(1.7rem, 2.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.01em; }
.t-sup { font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; vertical-align: top; margin-left: .4em; position: relative; top: .6em; }

em { font-style: italic; }
.t-xl em, .t-l em, .t-m em, .statement em, .footer__big em { color: var(--rose-deep); }

.label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.label--rose { color: var(--rose); }

/* Underline link */
.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.u-link:hover { background-size: 100% 1px; }

.link-line {
    position: relative; display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    padding-bottom: 6px; transition: transform .5s var(--ease);
}
.link-line::before, .link-line::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; }
.link-line::after { background: var(--rose-deep); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 18px;
    height: 58px; padding: 0 8px 0 28px; border-radius: 100px;
    background: var(--ink); color: var(--paper);
    font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    transition: transform .5s var(--ease), color .5s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--rose); border-radius: inherit;
    transform: translateY(101%); transition: transform .6s var(--ease-io);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn__icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: #FFFFFF; color: var(--ink);
    transition: transform .6s var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); }

/* ---------- Grain ---------- */
.grain {
    position: fixed; inset: -100%; z-index: 400; pointer-events: none; opacity: .055;
    background-image: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 6s steps(8) infinite;
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-4%, 3%); }
    50% { transform: translate(3%, -5%); }
    75% { transform: translate(-2%, 6%); }
}

/* ---------- Page transition ---------- */
.transition {
    position: fixed; inset: 0; z-index: 450;
    display: grid; place-items: center;
    background: #E8A7B0; color: #fff;
    transform: translateY(100%);
    transition: transform .7s var(--ease-io);
    pointer-events: none;
}
.transition.no-anim { transition: none; }
.transition.is-in { transform: none; }
.is-entering .transition { transform: none; animation: panelOut .9s var(--ease-io) .1s forwards; }
@keyframes panelOut { to { transform: translateY(-100%); } }
.transition__mark { width: min(220px, 40vw); height: auto; }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto; z-index: 300;
    height: var(--header-h);
    transition: transform .7s var(--ease), background .5s, color .5s;
}
.header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
    height: 100%; padding: 0 var(--gutter);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.header__menu {
    justify-self: start; display: inline-flex; align-items: center; gap: 12px;
    font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    transition: transform .4s var(--ease);
}
.burger { position: relative; width: 22px; height: 8px; }
.burger i { position: absolute; left: 0; height: 1px; width: 100%; background: currentColor; transition: transform .6s var(--ease), width .6s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { bottom: 0; width: 60%; }
.header__menu:hover .burger i:last-child { width: 100%; }
.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }

.header__logo img { height: 40px; width: auto; }
@media (max-width: 600px) { .header__logo img { height: 34px; } }

/* Desktop: text links replace the menu button */
.header__menu, .header__nav { grid-column: 1; grid-row: 1; }
.header__logo { grid-column: 2; }
.header__nav { display: none; justify-self: start; align-items: center; gap: 34px; }
.header__nav a {
    position: relative; padding: 4px 0;
    font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.header__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--rose-deep); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 901px) {
    .header__menu { display: none; }
    .header__nav { display: flex; }
}

.header__right { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header__cta {
    display: inline-flex; align-items: center; gap: 10px;
    height: 36px; padding: 0 18px; border: 1px solid currentColor; border-radius: 40px;
    font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.header__cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); }
.header__cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.menu-open .header { background: transparent; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header__cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- Fullscreen menu ---------- */
.menu {
    position: fixed; inset: 0; z-index: 250;
    background: var(--ink); color: var(--paper);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1s var(--ease-io);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__inner {
    height: 100%; padding: calc(var(--header-h) + 5vh) var(--gutter) 24px;
    display: grid; grid-template-columns: 2fr 1fr; gap: var(--gutter); align-items: end;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link { display: flex; align-items: flex-start; gap: 18px; border-top: 1px solid rgba(246, 242, 239, .12); padding-top: 4px; }
.menu__text { display: block; overflow: hidden; font-size: clamp(3rem, 8.4vh, 7.6rem); line-height: 1.02; letter-spacing: -.02em; }
.menu__text span {
    display: inline-block; transform: translateY(105%);
    transition: transform 1s var(--ease), color .4s;
    transition-delay: 0s;
}
.menu-open .menu__text span { transform: none; transition-delay: calc(.25s + var(--i) * .06s), 0s; }
.menu__nav:hover .menu__link .menu__text span { color: rgba(246, 242, 239, .35); }
.menu__nav .menu__link:hover .menu__text span { color: var(--rose); font-style: italic; }
.menu__link.is-active .menu__text span { font-style: italic; }
.menu__aside { display: grid; gap: 26px; font-size: 14px; color: rgba(246, 242, 239, .7); }
.menu__aside > div { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(246, 242, 239, .12); }
.menu__aside .label { color: var(--rose); margin-bottom: 6px; }
.menu__aside a:hover { color: var(--paper); }

/* ---------- Reveal: words / fade / clip ---------- */
/* Extra room so descenders (g, y, p) and italic overhangs aren't clipped by the mask */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .08em .28em; margin: -.2em -.06em -.28em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }

.js [data-reveal]:not([data-reveal="clip"]) { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in:not([data-reveal="clip"]) { opacity: 1; transform: none; }

.js [data-reveal="clip"] .gem-visual__inner { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io), transform 1.6s var(--ease); }
.js [data-reveal="clip"] .gem-visual__inner { --sc: 1.35; }
.js [data-reveal="clip"].is-in .gem-visual__inner { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in .gem-visual__inner { --sc: 1.12; }

/* ---------- Gem visual (image block) ---------- */
.gem-visual {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 5;
    color: var(--gem, var(--rose));
    background: var(--paper-2);
}
.gem-visual__inner {
    --sc: 1.12;
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background:
        radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--gem) 30%, #fff) 0%, transparent 58%),
        radial-gradient(120% 90% at 50% 120%, color-mix(in srgb, var(--gem) 26%, var(--paper-2)) 0%, transparent 70%),
        linear-gradient(180deg, var(--white), color-mix(in srgb, var(--gem) 10%, var(--paper-2)));
    transform: translate3d(0, var(--py, 0px), 0) scale(var(--sc));
    transition: transform 1.6s var(--ease);
    will-change: transform;
}
.gem-visual__art {
    width: 34%; max-width: 260px;
    filter: drop-shadow(0 30px 30px color-mix(in srgb, var(--gem) 40%, transparent));
    transition: transform 1.2s var(--ease);
}
.gem-visual__art svg { width: 100%; height: auto; }
.gem-visual.has-image img { width: 100%; height: 100%; object-fit: cover; }
.gem-visual__cap {
    position: absolute; bottom: 14px; z-index: 1;
    font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60);
}
.gem-visual__cap { left: 14px; }
.gem-visual--wide { aspect-ratio: 16 / 7; }
.gem-visual--wide .gem-visual__art { width: 16%; }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(90px, 12vw, 180px) 0; }
.section--tight { padding: clamp(50px, 6vw, 90px) 0; }
.section--flush { padding-top: 0; }
.section--near { padding-top: clamp(50px, 6vw, 90px); }
.section--page-top { padding-top: calc(var(--header-h) + 3vh); }
.section--rose { background: var(--rose-mist); }

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.col-label { grid-column: 1 / 4; }
.col-main  { grid-column: 4 / 13; }

.sec-head {
    display: grid; grid-template-columns: 3fr 6fr 3fr; gap: var(--gutter); align-items: end;
    margin-bottom: clamp(40px, 5vw, 80px);
}
.sec-head > .label { align-self: start; padding-top: .6em; }
.sec-head > :last-child { justify-self: end; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 3vh); }
.hero__banner { aspect-ratio: 16 / 5.5; background: var(--rose-mist); overflow: hidden; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Marquee ---------- */

/* ---------- Statement ---------- */
.statement { font-size: clamp(2rem, 4.1vw, 4.8rem); line-height: 1.04; letter-spacing: -.02em; margin: 0; text-indent: 12%; }
.statement .fw { transition: color .4s; color: var(--ink-40); }
.statement .fw.is-on { color: var(--ink); }
.statement__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(40px, 5vw, 80px); align-items: end; }
.statement__foot p { margin: 0; max-width: 420px; color: var(--ink-80); }
.statement__foot .link-line { justify-self: start; }

/* ---------- Horizontal scroll ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; }
.hscroll__head { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: var(--gutter); align-items: end; }
.hscroll__head > .label:first-child { align-self: start; padding-top: .6em; }
.hscroll__hint { justify-self: end; color: var(--ink-60); }
.hscroll__track { display: flex; gap: var(--gutter); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__item { width: clamp(260px, 25vw, 420px); flex: none; }
.hscroll__item .card__media { aspect-ratio: 4 / 5; max-height: 52vh; }
.hscroll__progress { height: 1px; background: var(--line); position: relative; }
.hscroll__progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.end-card {
    height: 100%; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between;
    padding: 24px; background: var(--ink); color: var(--paper);
    transition: background .6s var(--ease);
}
.end-card:hover { background: var(--rose); color: var(--ink); }
.end-card__num { font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 11vw, 12rem); line-height: .8; letter-spacing: -.04em; }
.end-card__text { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; }
.end-card__arrow { width: 54px; align-self: flex-end; transition: transform .7s var(--ease); }
.end-card:hover .end-card__arrow { transform: rotate(45deg); }

/* ---------- Card ---------- */
.card__link { display: block; }
.card__media { aspect-ratio: 4 / 5; }
.card__link:hover .gem-visual__art { transform: scale(1.12) rotate(-8deg); }
.card__link:hover .gem-visual__inner { --sc: 1.04; }
.card__head { display: flex; align-items: baseline; gap: 14px; padding: 16px 0 8px; border-bottom: 1px solid var(--line); }
.card__title { font-size: clamp(1.6rem, 2.1vw, 2.3rem); line-height: 1.05; letter-spacing: -.01em; position: relative; transition: transform .6s var(--ease), color .4s; }
.card__link:hover .card__title { transform: translateX(8px); font-style: italic; color: var(--rose-deep); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 8px; font-size: 12px; color: var(--ink-60); }
.card__ct { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.card__request { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 40px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .4s, color .4s; }
.card__request svg { width: 12px; height: 12px; transition: transform .5s var(--ease); }
.card__link:hover .card__request { background: var(--ink); color: var(--paper); }
.card__link:hover .card__request svg { transform: rotate(45deg); }

/* ---------- Request availability popup ---------- */
.request { width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 4px; background: #FFFFFF; color: var(--ink); overflow: auto; }
.request::backdrop { background: rgba(25, 27, 32, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.request[open] { animation: request-in .5s var(--ease); }
@keyframes request-in { from { opacity: 0; transform: translateY(24px); } }
.request__panel { position: relative; padding: clamp(22px, 4vw, 32px); }
.request__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.request__close:hover { background: var(--paper-2); }
.request__close svg { width: 18px; height: 18px; }
.request__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.05; margin: 6px 0 4px; padding-right: 40px; }
.request__range { margin: 0 0 18px; font-size: 13px; color: var(--ink-60); }
.request__range span { color: var(--rose-deep); font-weight: 500; font-variant-numeric: tabular-nums; }
.request__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 22px; }
.request .field__label { font-size: 10px; }
.request .field input { font-family: var(--sans); font-size: 16px; font-weight: 400; padding: 6px 0 8px; }
.request .btn { height: 46px; padding: 0 6px 0 22px; gap: 14px; }
.request .btn__icon { width: 34px; height: 34px; }
.request__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.request__error { margin: -12px 0 18px; font-size: 13px; color: #B23A48; }
.request__done p { color: var(--ink-80); margin: 0 0 22px; }
.request .btn[disabled] { opacity: .6; pointer-events: none; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(40px, 5vw, 80px) var(--gutter); }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.number { position: relative; padding-top: 14px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; }
.number__val { font-size: clamp(3.4rem, 6.2vw, 7.5rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.number__plus { font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); color: var(--rose-deep); margin-left: 4px; }
.number .label { flex: 0 0 100%; margin-top: 18px; padding-right: 15%; color: var(--ink-60); }

/* ---------- Index list ---------- */
.index { position: relative; }
.index__head, .index__row a {
    display: grid; grid-template-columns: 60px 3fr 1.3fr 1.2fr .7fr 1.3fr 40px;
    gap: var(--gutter); align-items: center;
}
.index__head { padding-bottom: 12px; color: var(--ink-60); }
.index__row { position: relative; border-top: 1px solid var(--line); }
.index__row:last-child { border-bottom: 1px solid var(--line); }
.index__row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); }
.index__row a { position: relative; padding: clamp(14px, 1.6vw, 24px) 0; transition: color .5s var(--ease), padding .6s var(--ease); }
.index__name { font-size: clamp(1.8rem, 3.3vw, 3.6rem); line-height: 1; letter-spacing: -.02em; transition: transform .7s var(--ease); }
.index__cell { font-size: 13px; color: var(--ink-60); transition: color .5s; }
.index__arrow { width: 22px; transform: rotate(45deg); transition: transform .6s var(--ease); }
.index__row:hover::before { transform: scaleY(1); transform-origin: top; }
.index__row:hover a { color: var(--paper); padding-left: 14px; padding-right: 14px; }
.index__row:hover .index__name { font-style: italic; color: var(--rose); }
.index__row:hover .index__cell { color: rgba(246, 242, 239, .7); }
.index__row:hover .index__arrow { transform: none; }

.index__preview {
    position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
    width: clamp(200px, 18vw, 300px); aspect-ratio: 4 / 5;
    opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6);
    transition: opacity .4s var(--ease), scale .5s var(--ease);
    overflow: hidden; border-radius: 4px;
}
.index__preview.is-visible { opacity: 1; scale: 1.666; }
.index__preview-item { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-io); }
.index__preview-item.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.index__preview .gem-visual { width: 100%; height: 100%; aspect-ratio: auto; }

/* ---------- Origins ---------- */
.origins { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: start; }
.origins__intro { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 30px; padding-right: 4vw; }
.origins__intro p { max-width: 420px; color: var(--ink-80); margin: 0; }
.origin { display: grid; grid-template-columns: 1fr auto; gap: var(--gutter); padding: 30px 0 34px; border-top: 1px solid var(--ink); }
.origin__body p { margin: 12px 0 18px; color: var(--ink-80); max-width: 460px; }
.origin__coord { color: var(--ink-60); padding-top: .8em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 11px; letter-spacing: .06em; padding: 5px 12px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255, 255, 255, .4); }

/* ---------- Page hero ---------- */
.page-hero { padding-top: calc(var(--header-h) + 3vh); padding-bottom: clamp(50px, 7vw, 110px); }
.page-hero__grid { display: grid; grid-template-columns: 8fr 4fr; gap: var(--gutter); align-items: end; margin-top: clamp(40px, 7vh, 90px); }
.page-hero__intro { margin: 0; font-size: 16px; color: var(--ink-80); max-width: 420px; }
.page-hero__media { margin-top: clamp(50px, 7vw, 110px); }
.page-hero--404 { min-height: 80vh; }
.page-hero--404 .t-xl { margin: clamp(40px, 8vh, 100px) 0 30px; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 40px; }

/* ---------- Collection toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 14px 0; margin-bottom: clamp(30px, 4vw, 60px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 8px 0 16px; border-radius: 40px;
    border: 1px solid var(--line); background: transparent; color: var(--ink);
    font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.filter__count {
    min-width: 24px; height: 24px; padding: 0 7px; border-radius: 20px;
    display: inline-grid; place-items: center;
    background: var(--paper-2); color: var(--ink);
    font-size: 11px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums;
    transition: background .35s var(--ease), color .35s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter.is-active .filter__count { background: var(--rose); color: var(--ink); }

/* ---------- About ---------- */
.timeline__row { display: grid; grid-template-columns: 3fr 4fr 5fr; gap: var(--gutter); padding: 28px 0 36px; border-top: 1px solid var(--line); align-items: baseline; }
.timeline__row:last-child { border-bottom: 1px solid var(--line); }
.timeline__when { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.timeline__row p { margin: 0; color: var(--ink-80); max-width: 480px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.value { padding-top: 16px; border-top: 1px solid var(--ink); }
.value p { margin: 14px 0 0; color: var(--ink-80); max-width: 360px; }

/* ---------- Trade ---------- */
.services { border-top: 1px solid var(--ink); }
.service {
    position: relative; display: grid; grid-template-columns: 5fr 5fr 40px; gap: var(--gutter); align-items: center;
    padding: clamp(22px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--line);
    transition: padding .6s var(--ease), color .5s;
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rose); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); }
.service:hover { padding-left: 16px; padding-right: 16px; }
.service:hover::before { transform: scaleY(1); }
.service { isolation: isolate; }
.service__title { font-size: clamp(1.9rem, 3.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; transition: font-style .3s; }
.service:hover .service__title { font-style: italic; }
.service__text { margin: 0; color: var(--ink-80); max-width: 460px; }
.service__icon { font-family: var(--serif); font-size: 2rem; line-height: 1; justify-self: end; transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: rotate(135deg); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.step { padding-top: 16px; border-top: 1px solid var(--ink); }
.step p { margin: 12px 0 0; color: var(--ink-80); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 6fr 6fr; gap: var(--gutter); align-items: start; }
.contact__intro .t-xl { margin: clamp(30px, 5vh, 60px) 0 clamp(40px, 5vw, 70px); }
.contact__details > div { display: grid; grid-template-columns: 170px 1fr; gap: var(--gutter); padding: 12px 0; border-top: 1px solid var(--line); }
.contact__details dt { color: var(--ink-60); padding-top: 3px; }
.contact__details dd { margin: 0; }
.contact__form { padding-top: clamp(30px, 5vh, 60px); }
.contact__form form { display: grid; gap: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.field { position: relative; display: flex; flex-direction: column; gap: 4px; }
.field__label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--serif); font-size: clamp(1.4rem, 1.9vw, 1.9rem); font-weight: 300; color: var(--ink);
    padding: 8px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    outline: none; transition: border-color .4s;
    -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23191B20'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; cursor: pointer; }
.field select option { font-family: var(--sans, inherit); font-size: 14px; font-weight: 400; padding: 8px 14px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose-deep); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error input, .field.has-error textarea { border-color: #C0505E; }
.field__error { font-style: normal; font-size: 12px; color: #B23A48; margin-top: 4px; }
.contact__form .btn { justify-self: start; }
.notice { padding: 40px; background: var(--rose-mist); }
.notice .t-l { margin: 18px 0 20px; }
.notice small { color: var(--ink-60); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246, 242, 239, .72); padding-top: clamp(80px, 10vw, 150px); overflow: hidden; }
.footer__cta { display: grid; gap: 22px; padding-bottom: clamp(60px, 8vw, 120px); }
.footer__big {
    display: inline-flex; align-items: center; gap: .25em; width: fit-content;
    font-size: clamp(3.2rem, 10.5vw, 14rem); line-height: .9; letter-spacing: -.035em; color: var(--paper);
    transition: color .5s;
}
.footer__big em { color: var(--rose); transition: letter-spacing .8s var(--ease); }
.footer__big:hover em { letter-spacing: .02em; }
.footer__arrow { width: .55em; height: .55em; border: 1px solid rgba(246, 242, 239, .3); border-radius: 50%; display: grid; place-items: center; transition: background .5s, transform .8s var(--ease); }
.footer__arrow svg { width: 40%; }
.footer__big:hover .footer__arrow { background: var(--rose); color: var(--ink); transform: rotate(45deg); border-color: var(--rose); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding: 22px 0 50px; border-top: 1px solid rgba(246, 242, 239, .14); font-size: 14px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__col .label { color: var(--rose); margin-bottom: 10px; }
.footer__col a:hover { color: var(--paper); }
.footer__gems { columns: 2; column-gap: 32px; }
.footer__gems a { display: block; width: max-content; margin-bottom: 6px; }
.hallmark { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 22px; margin: 34px 0 0; padding: 18px 0; border-top: 1px solid rgba(246, 242, 239, .14); border-bottom: 1px solid rgba(246, 242, 239, .14); text-align: center; font-size: 12px; letter-spacing: .06em; }
.hallmark__part { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; }
.hallmark__k { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.hallmark__name { font-family: var(--serif); font-size: 15px; letter-spacing: 0; color: var(--paper); }
.hallmark__no { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--paper); }
.hallmark__no small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 242, 239, .55); margin-right: 4px; }
.hallmark__sep { color: var(--rose); font-size: 9px; }
.footer__grid + .footer__mark { margin-top: 30px; }
.footer__mark { display: block; color: var(--rose); }
.footer__mark svg { width: 100%; height: auto; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 20px 0 24px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.footer__social { display: flex; gap: 18px; align-items: center; }
.footer__bottom > :last-child { justify-self: end; }
.footer__social-link { display: grid; place-items: center; color: rgba(246, 242, 239, .72); transition: color .4s, transform .5s var(--ease); }
.footer__social-link:hover { color: var(--rose); transform: translateY(-2px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js [data-split] .w > span, .js [data-reveal], .js [data-reveal] .gem-visual__inner { transform: none !important; opacity: 1 !important; clip-path: none !important; }
    .grain { display: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1280px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .index__head, .index__row a { grid-template-columns: 44px 3fr 1.4fr 1fr 40px; }
    .index__head span:nth-child(5), .index__head span:nth-child(6),
    .index__row .index__cell:nth-of-type(5), .index__row .index__cell:nth-of-type(6) { display: none; }
    .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .origins { grid-template-columns: 1fr; gap: 50px; }
    .origins__intro { position: static; }
    .contact { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 900px) {
    /* Horizontal section becomes a native swipe row */
    .hscroll { height: auto !important; padding: 90px 0; }
    .hscroll__sticky { position: static; height: auto; overflow: visible; gap: 30px; }
    .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; }
    .hscroll__track::-webkit-scrollbar { display: none; }
    .hscroll__item { width: 72vw; scroll-snap-align: start; }
    .hscroll__item .card__media { max-height: none; }
    .hscroll__progress { display: none; }

    .menu__inner { grid-template-columns: 1fr; align-content: space-between; }
    .menu__text { font-size: clamp(2.8rem, 12vw, 5rem); }
    .menu__aside { grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13px; }
    .menu__aside > div:last-child { display: none; }

    .sec-head, .hscroll__head { grid-template-columns: 1fr auto; }
    .sec-head > .label, .hscroll__head > .label:first-child { grid-column: 1 / -1; }
    .sec-head > :last-child:empty { display: none; }
    .grid-12 { grid-template-columns: 1fr; }
    .col-label, .col-main { grid-column: 1 / -1; }
    .col-label { margin-bottom: 20px; }
    .page-hero__grid { grid-template-columns: 1fr; gap: 30px; }
    .timeline__row { grid-template-columns: 1fr 2fr; }
    .timeline__row p { grid-column: 2; }
    .values { grid-template-columns: 1fr; row-gap: 50px; }
    .service { grid-template-columns: 1fr 30px; }
    .service__text { grid-column: 1; grid-row: 2; }
    .service__icon { grid-column: 2; grid-row: 1; }
    .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .request__fields { grid-template-columns: 1fr; gap: 14px; }
    :root { --gutter: 10px; --header-h: 50px; }
    body { font-size: 14px; }
    .header__cta { padding: 0 12px; }
    .header__cta .dot { display: none; }
    .header__menu-label { display: none; }
    .gem-visual--wide { aspect-ratio: 4 / 3.4; }
    .hero__banner { aspect-ratio: 4 / 2.8; }
    .gem-visual--wide .gem-visual__art { width: 30%; }
    .statement { text-indent: 0; }
    .statement__foot { grid-template-columns: 1fr; gap: 24px; }
    .numbers { grid-template-columns: 1fr 1fr; }
    .index__head { display: none; }
    .index__row a { grid-template-columns: 30px 1fr 20px; gap: 10px; }
    .index__cell { display: none; }
    .index__arrow { width: 16px; }
    .origin { grid-template-columns: 1fr; }
    .origin__coord { grid-column: 1; padding-top: 0; }
    .cards { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .card__title { font-size: 1.35rem; }
    .card__meta span:nth-child(n+2) { display: none; }
    .card__head { gap: 8px; }
    .gem-visual__cap { display: none; }
    .contact__details > div { grid-template-columns: 1fr; gap: 2px; }
    .field-row { grid-template-columns: 1fr; gap: 34px; }
    .timeline__row { grid-template-columns: 1fr; gap: 10px; }
    .timeline__row p { grid-column: 1; }
    .steps { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hallmark { flex-direction: column; align-items: center; gap: 14px; }
    .hallmark__sep { display: none; }
    .footer__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .notice { padding: 26px 18px; }
}
