/* ==========================================================================
   LIOR DUEKK DIAMONDS — Design System
   Dark "quiet luxury" palette · champagne gold accents · RTL first
   ========================================================================== */

:root {
  --ink: #060a15;
  --ink-2: #0b1222;
  --ink-3: #111a30;
  --ivory: #f3eee5;
  --ivory-2: #e9e2d5;
  --gold: #c8a96a;
  --gold-2: #e7d4a6;
  --gold-3: #8c7444;
  --text: #f3eee5;
  --text-muted: rgba(243, 238, 229, 0.62);
  --text-faint: rgba(243, 238, 229, 0.56); /* ≥4.5:1 on navy for small text */
  --line: rgba(243, 238, 229, 0.12);
  --line-strong: rgba(243, 238, 229, 0.24);

  --f-display: "Heebo", system-ui, sans-serif;

  /* the specimen surface: deep navy lit by a soft gold glow from the start corner */
  --surface: radial-gradient(80% 120% at 85% 0%, rgba(200, 169, 106, 0.08), transparent 60%), #0b1222;
  --surface-band: radial-gradient(55% 90% at 88% 0%, rgba(200, 169, 106, 0.09), transparent 62%), #0b1222;
  --f-latin: "Cormorant Garamond", "Frank Ruhl Libre", serif;
  --f-body: "Heebo", system-ui, sans-serif;
  --f-brand: "Cinzel", "Cormorant Garamond", serif;

  /* buttons: flat, monochrome; gold only as the hover accent */
  --btn-fill: #f3eee5;
  --btn-on: #060a15;
  --btn-hover: #c8a96a;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1); /* strong ease-out for UI */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* on-screen movement */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gold-grad: linear-gradient(115deg, #8c7444 0%, #e7d4a6 28%, #c8a96a 46%, #fff3d6 58%, #b89553 78%, #e7d4a6 100%);
  color-scheme: dark;
}

*,
*::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;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.015em;
}
/* thin display: hairline weight, tighter tracking as the size grows */
h1, h2 { font-weight: 200; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-latin);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }

.latin { font-family: var(--f-latin); font-style: italic; }
.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.h-xl { font-size: clamp(44px, 8.4vw, 148px); line-height: 0.98; letter-spacing: -0.025em; }
.h-lg { font-size: clamp(36px, 5.4vw, 92px); line-height: 1.04; letter-spacing: -0.02em; }
.h-md { font-size: clamp(28px, 3.4vw, 56px); }
.h-sm { font-size: clamp(22px, 2vw, 32px); }
.lead { font-size: clamp(18px, 1.45vw, 24px); color: var(--text-muted); line-height: 1.6; max-width: 38ch; }
.muted { color: var(--text-muted); }

section { position: relative; }
.section { padding-block: clamp(96px, 14vw, 220px); }
.surface-band { background: var(--surface-band); border-block: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: color 200ms ease, border-color 200ms ease, translate 300ms var(--ease), scale 120ms var(--ease);
}
.btn:active { scale: 0.97; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 250ms var(--ease);
  z-index: -1;
}
.btn--gold { background: var(--btn-fill); color: var(--btn-on); border-color: transparent; font-weight: 500; }
.btn--gold::before { background: var(--btn-hover); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--btn-on); border-color: var(--btn-fill); }
  .btn--gold:hover { border-color: transparent; }
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover .arrow { transform: translateX(-4px); }
}
.btn .arrow { transition: transform 250ms var(--ease); }

.link-line {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--gold-2);
  padding-bottom: 6px;
}
.link-line::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .link-line:hover::after { transform: scaleX(1); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 22px;
  transition: transform 300ms var(--ease), background 300ms ease;
}
/* gold hairline: a faint full rule plus a shimmering fill that tracks scroll progress */
.header-line { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgba(200, 169, 106, 0.16); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.header-line i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: right; background: var(--gold-grad); background-size: 200% 100%; animation: shimmer 6s linear infinite; box-shadow: 0 0 12px rgba(231, 212, 166, 0.45); }
.site-header.is-scrolled .header-line { opacity: 1; }
.site-header.is-scrolled { background: linear-gradient(180deg, rgba(6, 10, 21, 0.86), rgba(11, 18, 34, 0.7)); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 18px 40px -28px rgba(200, 169, 106, 0.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* wordmark: roman capitals like the brand's own mark; trailing tracking trimmed so it centres optically */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; direction: ltr; color: var(--text); text-rendering: geometricPrecision; }
.logo__word { font-family: var(--f-brand); font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: 0.3em; margin-right: -0.3em; }
.logo__sub { display: flex; align-items: center; gap: 10px; font-family: var(--f-brand); font-weight: 400; font-size: 9px; line-height: 1; letter-spacing: 0.55em; margin-right: -0.55em; text-transform: uppercase; color: var(--gold); }
.logo__sub::before, .logo__sub::after { content: ""; width: 16px; height: 1px; background: currentColor; opacity: 0.7; }
.logo__sub::after { margin-left: -0.55em; }

.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; font-size: 15px; color: var(--text-muted); transition: color 200ms ease; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 250ms var(--ease); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--text); } .nav a:hover::after { transform: scaleX(1); } }
.header-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; inset-inline: 10px; height: 1px; background: var(--text); transition: transform 300ms var(--ease), opacity 200ms ease; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 500ms var(--ease-drawer), visibility 0s linear 500ms;
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 500ms var(--ease-drawer); }
.mobile-menu a.mm-link { font-family: var(--f-display); font-size: clamp(36px, 10vw, 56px); line-height: 1.35; display: block; border-bottom: 1px solid var(--line); padding-block: 8px; }
.mobile-menu .mm-foot { margin-top: 40px; display: flex; gap: 24px; color: var(--text-muted); font-size: 14px; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.preloader__inner { text-align: center; direction: ltr; }
.preloader__word { font-family: var(--f-brand); font-size: clamp(34px, 6vw, 64px); letter-spacing: 0.5em; padding-left: 0.5em; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(110%); }
.preloader__bar { width: 160px; height: 1px; background: var(--line); margin: 22px auto 0; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.no-js .preloader, .reduced .preloader { display: none; }

/* ---------- Page transition: native cross-fade, never delays navigation ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 250ms; animation-timing-function: ease; }


/* ---------- WebGL canvas ---------- */
.gl-fixed { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.gl-fallback {
  position: absolute; inset: 0; display: none;
  background: radial-gradient(closest-side, rgba(231, 212, 166, 0.25), transparent 70%);
}
.no-webgl .gl-fallback { display: block; }
main { position: relative; z-index: 2; }

/* ---------- Split text ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .wi { display: inline-block; will-change: transform; }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: clamp(32px, 5vw, 64px);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero__since { white-space: nowrap; font-family: var(--f-latin); font-size: 15px; letter-spacing: 0.3em; color: var(--text-muted); direction: ltr; }
.hero__bottom { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px; }
.hero__title { font-size: clamp(48px, 8.8vw, 156px); line-height: 0.95; letter-spacing: -0.025em; }
.hero__title em { font-style: normal; }
.hero__side { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; padding-bottom: 12px; }
.hero__side p { color: var(--text-muted); max-width: 34ch; margin: 0; }
.scroll-hint { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.3em; color: var(--text-faint); font-family: var(--f-latin); text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 860px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__top .eyebrow { font-size: 11px; }
}

/* ---------- Hero, video variant (index-video.html) ----------
   A full-screen film behind the words on every screen, in the manner of a jewellery-house campaign:
   centred headline and actions low on the frame, a navy veil top and bottom for legibility.
   The top ~13% of the source carries Instagram chrome; crops keep it out of frame. */
.hero-v { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-v__media { position: absolute; inset: 0; margin: 0; z-index: -1; background: var(--ink); }
.hero-v__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 21, 0.72) 0%, rgba(6, 10, 21, 0.08) 22%, rgba(6, 10, 21, 0.12) 38%, rgba(6, 10, 21, 0.66) 60%, rgba(6, 10, 21, 0.92) 82%, #060a15 100%); }
/* landscape screens see a horizontal band of the vertical film: hold it on the box and the ring */
.hero-v__video { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 62%; }
.hero-v__caption { display: none; }
.hero-v__grid { width: 100%; }
.hero-v__text { max-width: 820px; margin-inline: auto; padding-block: 140px clamp(48px, 8vh, 96px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero-v .hero__title { font-size: clamp(48px, 6.2vw, 108px); text-shadow: 0 2px 30px rgba(6, 10, 21, 0.35); }
.hero-v__text p { margin: 0; max-width: 46ch; color: rgba(243, 238, 229, 0.82); }
.hero-v__actions { display: flex; align-items: center; justify-content: center; gap: 14px; }

.hero-v__toggle { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 238, 229, 0.4); background: rgba(6, 10, 21, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--text); transition: border-color 200ms ease, scale 120ms var(--ease); }
.hero-v__toggle:active { scale: 0.94; }
@media (hover: hover) and (pointer: fine) { .hero-v__toggle:hover { border-color: var(--gold); } }
.hero-v__toggle .i-pause { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hero-v__toggle .i-play { width: 0; height: 0; border-block: 7px solid transparent; border-left: 11px solid currentColor; margin-left: 3px; }
.hero-v__toggle[aria-pressed="false"] .i-play, .hero-v__toggle[aria-pressed="true"] .i-pause { display: none; }
/* the film control sits quietly in a corner the WhatsApp button doesn't use */
.hero-v__toggle { position: absolute; z-index: 2; bottom: 32px; inset-inline-start: var(--gutter); }

@media (max-width: 860px) {
  .hero-v__media::after { background: linear-gradient(180deg, rgba(6, 10, 21, 0.78) 0%, rgba(6, 10, 21, 0.12) 22%, rgba(6, 10, 21, 0.14) 36%, rgba(6, 10, 21, 0.88) 64%, #060a15 100%); }
  /* portrait: the whole film fits, so lift the Instagram chrome out of frame */
  .hero-v__video { object-position: center bottom; transform: scale(1.16); transform-origin: center bottom; }
  .hero-v__text { align-items: flex-start; text-align: start; gap: 18px; padding: 120px var(--gutter) 36px; min-height: 100svh; justify-content: flex-end; }
  .hero-v__toggle { bottom: auto; top: 118px; inset-inline-start: auto; inset-inline-end: var(--gutter); width: 44px; height: 44px; }
  .hero-v .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero-v__actions { justify-content: flex-start; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; direction: ltr; background: rgba(6, 10, 21, 0.6); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-latin); font-size: clamp(22px, 2.6vw, 40px); letter-spacing: 0.14em; padding-inline: 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 68px; text-transform: uppercase; color: var(--text-muted); }
.marquee__track span::after { content: "◆"; font-size: 0.4em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.manifesto__text { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 60px); line-height: 1.28; }
.manifesto__text .sw { opacity: 0.14; transition: none; }
.manifesto__meta { display: flex; gap: 60px; margin-top: 70px; flex-wrap: wrap; }
.stat__num { font-family: var(--f-latin); font-size: clamp(54px, 6vw, 96px); line-height: 1; color: var(--gold-2); direction: ltr; display: inline-block; }
.stat__label { color: var(--text-muted); font-size: 15px; margin-top: 10px; }
.manifesto__photo { margin: 0; display: grid; gap: 14px; align-self: start; position: sticky; top: 120px; }
.manifesto__photo-frame { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.manifesto__photo-frame img { width: 100%; height: 118%; object-fit: cover; display: block; filter: saturate(0.85) brightness(0.92); }
.manifesto__photo figcaption { font-size: 13px; color: var(--text-faint); letter-spacing: 0.04em; }
@media (max-width: 860px) { .manifesto__grid { grid-template-columns: 1fr; gap: 40px; } .manifesto__photo { position: static; max-width: 420px; } }

/* ---------- Journey (horizontal pinned) ---------- */
.journey { overflow: hidden; }
.journey__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding-block: 90px 40px; }
.journey__head { display: flex; justify-content: space-between; align-items: end; gap: 20px 30px; flex-wrap: wrap; }
.journey__track { display: flex; gap: clamp(20px, 3vw, 48px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.j-card {
  width: clamp(290px, 34vw, 520px);
  min-height: clamp(360px, 52vh, 520px);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.j-card__num { font-family: var(--f-latin); font-size: clamp(70px, 8vw, 130px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--gold-3); direction: ltr; text-align: end; }
.j-card h3 { font-size: clamp(26px, 2.4vw, 38px); margin-bottom: 14px; }
.j-card p { color: var(--text-muted); margin: 0; }
.j-card__icon { width: 54px; height: 54px; color: var(--gold); }
.j-card--end { background: #e2cb98; color: var(--ink); border: 0; }
.j-card--end p { color: rgba(10, 10, 12, 0.75); }
.j-card--end .j-card__num { -webkit-text-stroke: 1px rgba(10, 10, 12, 0.5); }
.journey__progress { height: 1px; background: var(--line); margin-inline: var(--gutter); position: relative; }
.journey__progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; }

/* ---------- Compare ---------- */
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin-top: 80px; }
.chain { border-top: 1px solid var(--line-strong); }
.chain h3 { font-size: clamp(22px, 2vw, 30px); padding-block: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.chain h3 small { font-family: var(--f-body); font-size: 13px; color: var(--text-muted); letter-spacing: 0.08em; }
.chain ol { list-style: none; margin: 0; padding: 0; }
.chain li { display: flex; align-items: center; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 21px); position: relative; }
.chain li .idx { font-family: var(--f-latin); color: var(--text-muted); width: 34px; direction: ltr; text-align: end; }
.chain li .tag { margin-inline-start: auto; font-size: 12px; letter-spacing: 0.1em; color: #e3998a; opacity: 0; }
.chain--old li.mid .label { position: relative; }
.chain--old li.mid .label::after { content: ""; position: absolute; inset-inline: -4px; top: 52%; height: 1px; background: #e3998a; transform: scaleX(var(--strike, 0)); transform-origin: right; }
.chain--old li.mid { --strike: 0; }
.chain--new li { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 34px); padding-block: 26px; }
.chain--new li .idx { font-family: var(--f-latin); font-size: 16px; }
.chain--new li.hl { background: rgba(200, 169, 106, 0.1); box-shadow: inset 0 0 0 1px rgba(200, 169, 106, 0.45); color: var(--gold-2); padding-inline: 20px; margin-inline: -20px; }
.chain--new li.hl .idx { color: var(--gold); }
.compare__note { margin-top: 36px; font-size: 15px; color: var(--text-muted); max-width: 52ch; }
@media (max-width: 860px) { .compare__grid { grid-template-columns: 1fr; } }

/* ---------- Collections ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 70px; }
.coll {
  background: var(--ink);
  aspect-ratio: 3 / 4.3;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 300ms ease;
}
.coll__photo { position: absolute; inset: 0; z-index: -2; }
.coll__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.88) brightness(0.86); transition: transform 600ms var(--ease), filter 300ms ease; }
.coll__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 10, 21, 0.92) 0%, rgba(6, 10, 21, 0.25) 45%, rgba(6, 10, 21, 0.05) 100%); }
.coll::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 42%, rgba(200, 169, 106, 0.22), transparent 55%); opacity: 0; transition: opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .coll:hover { background: var(--ink-3); }
  .coll:hover::before { opacity: 1; }
  .coll:hover .coll__photo img { transform: scale(1.04); filter: saturate(1) brightness(0.95); }
  .a-card:hover .gem-art, .a-card:hover .a-card__media img { transform: scale(1.04); }
  .a-card:hover h3 { color: var(--gold-2); }
  .acc__q:hover { color: var(--gold-2); }
  .wa-float:hover { scale: 1.06; }
  .pillar:hover::after { transform: scaleX(1); }
  .chip:hover { border-color: var(--gold); color: var(--gold-2); }
}
.coll h3 { font-size: clamp(22px, 1.8vw, 30px); }
.coll__foot { display: flex; justify-content: space-between; align-items: end; position: relative; }
.coll__foot span { font-family: var(--f-latin); color: var(--text-faint); letter-spacing: 0.2em; font-size: 12px; direction: ltr; }
@media (max-width: 1024px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } .coll { aspect-ratio: 4 / 3.6; } }

/* ---------- 4C ---------- */
.fourc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fourc__list { margin-top: 50px; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.c-item__letter { font-family: var(--f-latin); font-size: 52px; line-height: 1; color: var(--gold); direction: ltr; }
.c-item h3 { font-size: 24px; margin-bottom: 6px; }
.c-item h3 small { font-family: var(--f-latin); font-style: italic; color: var(--text-faint); font-size: 17px; margin-inline-start: 10px; }
.c-item p { margin: 0; color: var(--text-muted); }
@media (max-width: 860px) { .fourc__grid { grid-template-columns: 1fr; } .fourc__visual { display: none; } }

/* ---------- Article cards ---------- */
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); margin-top: 60px; }
.a-card { display: flex; flex-direction: column; gap: 18px; position: relative; }
.a-card__media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.a-card__media .gem-art, .a-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 600ms var(--ease); }
.a-card__media img { object-fit: cover; filter: saturate(0.88) brightness(0.9); }
.a-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--text-faint); letter-spacing: 0.04em; }
.a-card__meta .cat { color: var(--gold); }
.a-card h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.25; transition: color 200ms ease; }
.a-card p { color: var(--text-muted); margin: 0; font-size: 15.5px; }
@media (max-width: 960px) { .a-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .a-grid { grid-template-columns: 1fr; } }

/* generated gem art (CSS only, no images) */
.gem-art { background: radial-gradient(120% 90% at 70% 20%, rgba(231, 212, 166, 0.16), transparent 50%), linear-gradient(160deg, #121b33, #060a15); display: grid; place-items: center; }
.gem-art svg { width: 44%; color: var(--gold-2); opacity: 0.9; }
.gem-art--b { background: radial-gradient(100% 80% at 20% 80%, rgba(200, 169, 106, 0.2), transparent 55%), linear-gradient(200deg, #0e1529, #060a15); }
.gem-art--c { background: radial-gradient(90% 90% at 50% 50%, rgba(243, 238, 229, 0.1), transparent 60%), linear-gradient(180deg, #16203a, #060a15); }

/* ---------- Section head ---------- */
.s-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.s-head > div { max-width: 820px; }
.s-head .eyebrow { margin-bottom: 24px; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; text-align: start; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 26px); line-height: 1.35; transition: color 200ms ease; }
.acc__icon { flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: background 200ms ease, border-color 200ms ease; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 200ms var(--ease); }
.acc__item.is-open .acc__icon { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { height: 0; overflow: hidden; }
.acc__a-inner { padding-bottom: 30px; color: var(--text-muted); max-width: 72ch; opacity: 0; transition: opacity 0s; }
.acc__item.is-open .acc__a-inner, .no-js .acc__a-inner { opacity: 1; transition: opacity 200ms var(--ease) 60ms; }
.acc__a-inner p:last-child { margin: 0; }
.acc__a-inner a { color: var(--gold-2); border-bottom: 1px solid currentColor; }
.no-js .acc__a { height: auto; }

/* ---------- CTA ---------- */
.cta { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: 140px; }
.cta .container { padding-top: clamp(180px, 30svh, 320px); }
/* reserved room the 3D stone fits itself into on phones (see data-diamond-anchor-m) */
.stone-stage { display: none; }
@media (max-width: 860px) {
  .stone-stage { display: block; width: 100%; }
  .hero .stone-stage { flex: 1 0 auto; min-height: clamp(200px, 32svh, 320px); margin-block: 8px 16px; }
  .cta .container { padding-top: 0; }
  .cta .stone-stage { height: clamp(200px, 30svh, 300px); margin-bottom: 8px; }
  .hero .scroll-hint { display: none; }
}
.cta__title { font-size: clamp(46px, 8vw, 140px); line-height: 1; letter-spacing: -0.025em; }
.cta p { margin: 30px auto 44px; }
.cta .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(70px, 9vw, 130px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid h2 { font-family: var(--f-latin); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__grid a { color: var(--text-muted); transition: color 200ms ease; }
.footer__grid a:hover { color: var(--text); }
.footer__tag { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; max-width: 18ch; }
.footer__word { font-family: var(--f-brand); font-size: clamp(80px, 21vw, 360px); line-height: 0.8; letter-spacing: 0.08em; text-align: center; direction: ltr; margin-top: 80px; color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 106, 0.35); user-select: none; transform: translateY(12%); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-faint); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; background: #0b1222; color: #e7d4a6; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(200, 169, 106, 0.55), 0 12px 32px rgba(6, 10, 21, 0.28); transition: translate 300ms var(--ease), scale 160ms var(--ease); }
.wa-float:active { scale: 0.94; }
.wa-float svg { width: 26px; height: 26px; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { padding-top: clamp(150px, 18vw, 230px); padding-bottom: clamp(60px, 8vw, 120px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(46px, 7vw, 120px); line-height: 1; margin-block: 26px; }
.page-hero__visual { position: relative; aspect-ratio: 1; max-height: 560px; }
.page-hero__visual canvas { width: 100% !important; height: 100% !important; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__visual { order: -1; max-width: 340px; margin: -40px auto -60px; width: 100%; }
}

/* Why us: pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); margin-top: 70px; }
.pillar { background: var(--surface); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: clamp(28px, 3vw, 50px); min-height: 340px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease); }
.pillar__n { font-family: var(--f-latin); color: var(--gold); font-size: 15px; letter-spacing: 0.2em; direction: ltr; text-align: end; }
.pillar svg { width: 46px; height: 46px; color: var(--gold-2); margin-top: auto; }
.pillar h3 { font-size: clamp(24px, 2vw, 32px); }
.pillar p { color: var(--text-muted); margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* chain diagram */
.flow { margin-top: 70px; display: grid; gap: 70px; }
.flow__row { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; }
.flow__label { font-family: var(--f-display); font-size: 22px; }
.flow__label small { display: block; font-family: var(--f-body); color: var(--text-muted); font-size: 13px; }
.flow__nodes { display: flex; align-items: center; justify-content: space-between; position: relative; }
.flow__nodes::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line-strong); }
.flow__line { position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-top: -0.5px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; }
.flow__node { position: relative; z-index: 1; background: var(--ink); border: 1px solid var(--line-strong); padding: 12px 18px; font-size: 14px; white-space: nowrap; }
.flow__node.x { color: var(--text-faint); }
.flow__node.x::after { content: "+ עמלה"; position: absolute; top: -26px; inset-inline: 0; text-align: center; font-size: 11px; color: #d27a6a; letter-spacing: 0.06em; }
.flow__node.key { border-color: var(--gold); color: var(--gold-2); }
.flow__node.you { background: var(--gold-grad); color: var(--ink); border: 0; font-weight: 500; }
@media (max-width: 860px) {
  .flow__row { grid-template-columns: 1fr; }
  .flow__nodes { flex-direction: column; align-items: stretch; gap: 14px; }
  .flow__nodes::before, .flow__line { inset-inline: auto; right: 50%; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow__line { transform: scaleY(0); transform-origin: top; width: 2px; }
  .flow__node { text-align: center; }
  .flow__node.x::after { position: static; display: block; margin-top: 2px; }
}

/* timeline */
.timeline { position: relative; margin-top: 70px; padding-inline-start: 60px; }
.timeline__rail { position: absolute; inset-inline-start: 12px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__rail i { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.t-step { position: relative; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.t-step::before { content: ""; position: absolute; inset-inline-start: -54px; top: 10px; width: 13px; height: 13px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--ink); }
.t-step h3 { font-size: clamp(26px, 2.6vw, 42px); }
.t-step .k { font-family: var(--f-latin); color: var(--gold); letter-spacing: 0.2em; font-size: 13px; display: block; margin-bottom: 10px; direction: ltr; text-align: end; width: max-content; }
.t-step p { color: var(--text-muted); margin: 0; }
@media (max-width: 760px) { .t-step { grid-template-columns: 1fr; gap: 12px; } .timeline { padding-inline-start: 44px; } .t-step::before { inset-inline-start: -38px; } }

.source-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.source-band__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); }
.source-band__photo img { width: 100%; height: 115%; object-fit: cover; display: block; filter: saturate(0.85) brightness(0.92); }
.source-band__quote { margin: 28px 0 24px; font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 44px); line-height: 1.35; letter-spacing: -0.01em; }
@media (max-width: 860px) { .source-band { grid-template-columns: 1fr; } }
.contact-photo { margin: 0; aspect-ratio: 4 / 5; max-width: 360px; overflow: hidden; border: 1px solid var(--line); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.88) brightness(0.92); }
.big-since { text-align: center; }
.big-since__num { font-family: var(--f-latin); font-size: clamp(120px, 26vw, 420px); line-height: 0.85; direction: ltr; }

/* FAQ page */
.faq-tools { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 50px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; transition: color 200ms ease, border-color 200ms ease, background 200ms ease, scale 120ms var(--ease); }
.chip:active { scale: 0.97; }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.search { position: relative; min-width: min(360px, 100%); }
.search input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--text); font: inherit; padding: 12px 0 12px 34px; outline: none; transition: border-color 200ms ease; }
.search input:focus { border-color: var(--gold); }
.search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; color: var(--text-muted); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; }
.faq-aside { position: sticky; top: 120px; align-self: start; }
.faq-aside .box { border: 1px solid var(--line); padding: 30px; background: var(--surface); }
.faq-aside h3 { font-size: 24px; margin-bottom: 12px; }
.faq-aside p { color: var(--text-muted); font-size: 15px; }
.faq-group-title { font-family: var(--f-latin); color: var(--gold); letter-spacing: 0.24em; font-size: 13px; text-transform: uppercase; margin: 60px 0 10px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-empty { display: none; color: var(--text-muted); padding: 40px 0; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; order: 2; } }

/* Articles index */
.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.feature .a-card__media { aspect-ratio: 16 / 10; }
.feature h2 { font-size: clamp(32px, 3.6vw, 60px); margin-block: 20px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.a-card.is-hidden { display: none; }
.a-grid.is-filtered .a-card { transition: opacity 250ms var(--ease), translate 250ms var(--ease); }
@starting-style { .a-grid.is-filtered .a-card { opacity: 0; translate: 0 12px; } }
[data-faq].is-filtered .faq-group, [data-faq].is-filtered .acc__item, [data-faq].is-filtered .faq-empty { transition: opacity 150ms var(--ease); }
@starting-style { [data-faq].is-filtered .faq-group, [data-faq].is-filtered .acc__item, [data-faq].is-filtered .faq-empty { opacity: 0; } }

/* Article page */
.article-hero { padding-top: clamp(150px, 16vw, 210px); padding-bottom: 60px; text-align: center; }
.article-hero h1 { font-size: clamp(40px, 6vw, 96px); max-width: 16ch; margin: 28px auto; }
.article-hero .lead { margin-inline: auto; }
.article-hero .a-card__meta { justify-content: center; }
.article-cover { aspect-ratio: 21 / 9; border: 1px solid var(--line); overflow: hidden; }
.article-cover .gem-art { height: 100%; }
.article-cover .cover-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; filter: saturate(0.88) brightness(0.9); }
.article-cover .gem-art svg { width: 18%; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px) 1fr; gap: 60px; padding-block: 90px; }
.toc { position: sticky; top: 120px; align-self: start; font-size: 14px; }
.toc h2 { font-family: var(--f-latin); color: var(--gold); letter-spacing: 0.24em; font-size: 12px; text-transform: uppercase; margin-bottom: 18px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding-inline-start: 16px; color: var(--text-faint); transition: color 200ms ease; margin-inline-start: -1px; border-inline-start: 1px solid transparent; }
.toc a.is-active { color: var(--text); border-color: var(--gold); }
.prose { font-size: clamp(17px, 1.15vw, 19.5px); line-height: 1.95; }
.prose > p:first-of-type::first-letter { font-family: var(--f-display); float: right; font-size: 4.6em; line-height: 0.85; margin: 0.08em 0 0 0.12em; color: var(--gold-2); }
.prose h2 { font-size: clamp(28px, 2.6vw, 42px); margin: 2.2em 0 0.7em; scroll-margin-top: 120px; }
.prose h3 { font-size: clamp(21px, 1.7vw, 26px); margin: 1.6em 0 0.5em; color: var(--gold-2); }
.prose p, .prose li { color: rgba(243, 238, 229, 0.82); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 500; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 0; padding-inline-start: 30px; border-inline-start: 2px solid var(--gold); font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.45; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.92em; }
.prose th, .prose td { text-align: start; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--gold-2); font-family: var(--f-display); font-size: 1.05em; }
.callout { border: 1px solid var(--line-strong); padding: 30px 34px; margin: 2.4em 0; background: var(--surface); }
.callout h3 { font-size: 22px; margin-bottom: 10px; color: var(--gold-2); }
.callout p:last-child { margin: 0; }
.article-aside-cta { position: sticky; top: 120px; align-self: start; border: 1px solid var(--line); padding: 28px; background: var(--surface); }
.article-aside-cta h2 { font-size: 22px; margin-bottom: 10px; }
.article-aside-cta p { color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 1180px) { .article-layout { grid-template-columns: 220px minmax(0, 1fr); } .article-aside-cta { display: none; } }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; padding-block: 50px; } .toc { display: none; } .article-cover { aspect-ratio: 16 / 10; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 110px); }
.form { display: grid; gap: 34px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 18px; padding: 16px 0 12px; outline: none; transition: border-color 200ms ease; border-radius: 0; appearance: none; }
.field select option { background: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; inset-inline-start: 0; top: 16px; color: var(--text-muted); pointer-events: none; transition: transform 200ms var(--ease), color 200ms ease; transform-origin: right; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-26px) scale(0.78); color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-stage { border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.contact-info { display: grid; gap: 40px; align-content: start; }
/* contact: form steps aside, confirmation settles in from 97% */
.form.is-leaving { opacity: 0; translate: 0 -8px; transition: opacity 200ms var(--ease), translate 200ms var(--ease); }
.form-done { display: grid; gap: 18px; align-content: start; justify-items: start; transform-origin: top right; transition: opacity 300ms var(--ease), scale 300ms var(--ease); }
.form-done:focus { outline: none; }
.form[hidden], .form-done[hidden] { display: none; }
@starting-style { .form-done { opacity: 0; scale: 0.97; } }
.contact-info .item h2 { font-family: var(--f-latin); color: var(--gold); letter-spacing: 0.24em; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; }
.contact-info .item a, .contact-info .item p { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); margin: 0; }
@media (max-width: 860px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ---------- Reveal defaults ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.reduced [data-reveal], .no-gsap [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Phone refinements ---------- */
@media (max-width: 860px) {
  /* the wordmark already names the house; keep the hero's top line to the date */
  .hero__top .eyebrow { display: none; }
  /* story: words first, the photo follows as a wide frame */
  .manifesto__photo { order: 2; }
  .manifesto__photo-frame { aspect-ratio: 4 / 3; }
  /* pinned journey heading clears the fixed header */
  .journey__pin { padding-top: 112px; gap: 32px; }
  .chain--new li.hl { margin-inline: 0; }
}
@media (max-width: 760px) {
  /* collections and journal become swipeable rails; the next card peeks to invite the swipe */
  .cards4,
  #journal .a-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    background: none;
    border: 0;
  }
  .cards4::-webkit-scrollbar, #journal .a-grid::-webkit-scrollbar { display: none; }
  .cards4 > *, #journal .a-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .cards4 .coll { aspect-ratio: 3 / 4; border: 1px solid var(--line); }
}

/* Reduced motion keeps short fades and colour changes, drops movement */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .gold-text, .scroll-hint i::after { animation: none; }
  .btn .arrow, .coll__photo img, .a-card__media .gem-art, .a-card__media img, .site-header, .mobile-menu { transition: none; }
  .btn:active, .chip:active, .wa-float:active { scale: 1; }
  .header-line i { animation: none; }
  .form.is-leaving { translate: none; }
  .form-done { transition: opacity 200ms ease; }
  .a-grid.is-filtered .a-card { transition: opacity 200ms ease; }
  .manifesto__text .sw { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .coll:hover .coll__photo img, .a-card:hover .gem-art, .a-card:hover .a-card__media img, .btn:hover .arrow { transform: none; }
  .wa-float:hover { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  @starting-style { .form-done { scale: 1; } .a-grid.is-filtered .a-card { translate: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(243, 238, 229, 0.4); --line-strong: rgba(243, 238, 229, 0.7); --text-muted: rgba(243, 238, 229, 0.85); }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* keyboard focus never sits under the sticky header */
html { scroll-padding-top: 110px; }
.site-header:focus-within { transform: none; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 500; padding: 12px 20px; background: var(--gold); color: var(--ink); font-weight: 500; transform: translateY(-160%); transition: transform 200ms var(--ease); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
