/* Ocean Gem & Jewel — white editorial theme: video hero, company profile, product cards, contact */

:root {
  --bg: #f6f3ee;              /* warm pearl page */
  --surface: #ffffff;         /* cards, header */
  --surface-2: #f1ede6;       /* photo wells, chips */
  --ink: #1b1915;             /* headings */
  --ink-2: #3f3a33;           /* body */
  --ink-soft: #665f55;        /* secondary */
  --label: #73695c;           /* small caps labels (≥4.5:1 on white) */
  --line: rgba(27, 25, 21, .12);
  --line-soft: rgba(27, 25, 21, .07);
  --champagne: #c8ab78;
  --champagne-deep: #8a6b3a;  /* accent text on white */
  --shadow-card: 0 1px 2px rgba(27, 25, 21, .05), 0 22px 44px -28px rgba(27, 25, 21, .32);
  --shadow-lift: 0 2px 4px rgba(27, 25, 21, .06), 0 34px 60px -30px rgba(27, 25, 21, .42);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --display: "Marcellus", "Cormorant Garamond", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 20px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* the home page is laid out as full-screen frames (About ×2, each collection); scrolling stays free */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- HEADER: one white bar; the navigation is a quiet pill in the middle ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__mark { width: 48px; height: auto; flex: none; overflow: visible; display: block; filter: drop-shadow(0 3px 6px rgba(27, 25, 21, .18)); }
.brand__word { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand__name { font-family: var(--display); font-size: 14px; line-height: 1.3; letter-spacing: .26em; white-space: nowrap; color: var(--ink); }
.brand__tag { font-family: var(--serif); font-style: italic; font-size: 13px; line-height: 1.3; letter-spacing: .02em; color: var(--ink-soft); white-space: nowrap; }

.nav {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color .3s ease;
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 2px; }
.nav__pill {
  position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 0;
  z-index: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(27, 25, 21, .08), 0 6px 14px -8px rgba(27, 25, 21, .25);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
  pointer-events: none;
}
.header-contact {
  position: relative;
  z-index: 2;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header-contact:hover, .header-contact[aria-current] { background: #3a352d; box-shadow: 0 10px 22px -12px rgba(27, 25, 21, .6); }
.header-contact:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 3px; }
.header-contact::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }

/* narrower screens: the navigation sits on its own row under the logo, on the same white band */
@media (max-width: 1360px) {
  :root { --nav-row: 50px; }
  .nav { top: calc(var(--header-h) + 3px); transform: translateX(-50%); max-width: calc(100vw - 24px); overflow-x: auto; }
  .site-header::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: calc(var(--nav-row) + 6px);
    background: #ffffff;
    box-shadow: 0 1px 0 var(--line-soft);
    pointer-events: none;
  }
  .site-header { box-shadow: none; }
}
/* frames carry their own room for the header, so a section link lands exactly on its frame */
#about, #gemstones, #jewellery, #watches { scroll-margin-top: 0; }

/* ---------------- TYPE ---------------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--label);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--champagne-deep); }
.headline { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; color: var(--ink); }
.headline em, .chapter-title em { font-style: italic; color: var(--champagne-deep); }
.lede { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-soft); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link:hover { background-size: 0 1px; }

/* ---------------- HERO: the film is pinned while the scroll plays it; the logo sits in the clean light ---------------- */
.hero {
  --hero-h: 360vh;
  /* how much of each title shows, from the eased scroll progress (--hp): the first, the second, the closing welcome */
  --b1: calc(1 - clamp(0, (var(--hp, 0) - .16) * 11, 1));
  --b2: min(clamp(0, (var(--hp, 0) - .36) * 11, 1), calc(1 - clamp(0, (var(--hp, 0) - .6) * 11, 1)));
  --end: clamp(0, (var(--hp, 0) - .84) * 7, 1);
  position: relative;
  height: var(--hero-h);
  background: var(--bg);
}
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* the first frame shows until the canvas draws the film (js/hero.js); the canvas fits it like object-fit: cover */
  background: #e9e5de url("../assets/m/hero-poster.webp") 50% 46% / cover no-repeat;
  /* the film settles from a slightly wider view as it plays */
  transform: scale(calc(1.06 - var(--hp, 0) * .06));
  transform-origin: 50% 50%;
  filter: blur(calc(var(--end) * 9px));   /* the film softens behind the closing welcome */
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 243, 238, .92) 0%, rgba(246, 243, 238, .62) 26%, rgba(246, 243, 238, 0) 46%),
    linear-gradient(0deg, rgba(246, 243, 238, .86) 0%, rgba(246, 243, 238, 0) 28%);
  /* the light band behind the titles comes and goes with them, so the stone is seen clear in between */
  opacity: max(var(--b1), var(--b2));
  pointer-events: none;
}
/* each title follows the eased scroll progress (--hp): the first leaves as the silk is pulled away, the second comes
   with the floating stone and leaves before the ring; the veil behind them goes with them */
.hero__beat { position: absolute; left: var(--gutter); bottom: clamp(48px, 10vh, 110px); max-width: min(560px, 60vw); pointer-events: none; }
.hero__beat--1 { opacity: var(--b1); transform: translateY(calc((1 - var(--b1)) * -24px)); }
.hero__beat--2 { opacity: var(--b2); transform: translateY(calc((1 - var(--b2)) * 24px)); }
.hero__beat-title { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.04; color: var(--ink); }
.hero__beat-title em { font-style: italic; color: var(--champagne-deep); }
.hero__beat-text { margin: 14px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); }
.hero__mark { justify-self: center; width: clamp(88px, 7.5vw, 122px); height: auto; margin-bottom: 4px; overflow: visible; filter: drop-shadow(0 10px 18px rgba(27, 25, 21, .22)); }
/* the closing title: as the ring arrives (the last part of the scroll) the film blurs behind a soft light and the
   welcome fades up in the middle; all of it follows the same eased scroll progress (--hp) as the film */
.hero__welcome {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 0 var(--gutter);
  text-align: center;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .62), rgba(255, 255, 255, .22) 70%);
  opacity: var(--end);
}
.hero__welcome > * { margin: 0; transform: translateY(calc((1 - var(--end)) * 16px)); }
.hero__welcome-pre { font: 600 12px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--champagne-deep); }
.hero__welcome-name { font-weight: 400; font-family: var(--display); font-size: clamp(30px, 4.6vw, 70px); line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-shadow: 0 2px 24px rgba(255, 255, 255, .9); }
.hero__tag { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 25px); color: var(--ink-2); }
.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 10vh, 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: calc(1 - var(--hp, 0) * 4);
}
.hero__cue i { width: 1px; height: 40px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------- SECTIONS ---------------- */
main, .footer { position: relative; z-index: 1; }
.section { position: relative; padding: clamp(88px, 13vh, 150px) var(--gutter); max-width: 1320px; margin: 0 auto; }

/* reveal: the block rises in, then its heading, text and details follow */
[data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .5s ease var(--stagger, 0ms), transform .6s var(--ease-out) var(--stagger, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal] :is(h2, h3, .headline, .eyebrow) { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .55s var(--ease-out); }
[data-reveal] p:not(.eyebrow) { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .55s var(--ease-out); }
[data-reveal] :is(dl, ul, ol, figcaption) { opacity: 0; transition: opacity .45s ease; }
[data-reveal].is-in .eyebrow { opacity: 1; transform: none; transition-delay: calc(var(--stagger, 0ms) + 80ms); }
[data-reveal].is-in :is(h2, h3, .headline) { opacity: 1; transform: none; transition-delay: calc(var(--stagger, 0ms) + 120ms); }
[data-reveal].is-in p:not(.eyebrow) { opacity: 1; transform: none; transition-delay: calc(var(--stagger, 0ms) + 180ms); }
[data-reveal].is-in :is(dl, ul, ol, figcaption) { opacity: 1; transition-delay: calc(var(--stagger, 0ms) + 240ms); }

/* ---------- ABOUT: one company profile ---------- */
.profile { padding-top: 0; padding-bottom: 0; }
/* About is two frames: who we are (with the films), then what we do and what we provide */
.profile__top, .profile__layers { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + var(--nav-row, 0px) + 28px) 0 40px; align-content: center; }
.profile__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.profile__intro { max-width: 620px; }
.profile__title { font-size: clamp(38px, 4.2vw, 60px); }
.profile__lead { margin: 18px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--ink-2); }
.profile__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; padding: 18px 20px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-card); }
.profile__facts div { padding-right: 14px; }
.profile__facts div + div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.profile__facts dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.profile__facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); }
.profile__presence { margin: 22px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.profile__presence span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }

/* the gemstone film leads; the watch and ring films stand beside it */
.profile__media { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 18px); align-items: end; }
.profile__side { display: grid; gap: clamp(12px, 1.4vw, 18px); margin-bottom: 12%; }
.profile__fig :is(img, video) { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--surface-2); box-shadow: var(--shadow-card); }
.profile__fig--main video { max-height: min(62vh, 560px); width: auto; max-width: 100%; }
.profile__fig figcaption { margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); }

/* the second About frame: what we do as four photographed panels (each opens its collection), and what we provide
   as one strip beneath them */
.profile__layers { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(16px, 2.6vh, 28px); }
.profile__layer { min-width: 0; }
.profile__label { margin: 0 0 clamp(14px, 2.2vh, 22px); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--label); display: flex; align-items: center; gap: 12px; }
.profile__label::before { content: ""; width: 24px; height: 1px; background: var(--champagne-deep); }
.profile__do { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.profile__do li { position: relative; display: flex; flex-direction: column; min-height: 0; }
.do__pic { margin: 0; overflow: hidden; border-radius: 14px; background: var(--surface-2); box-shadow: var(--shadow-card); }
.do__pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.profile__do li:hover .do__pic img { transform: scale(1.045); }
.do__text { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 12px; padding-top: 14px; }
.do__text span { grid-row: 1 / 3; font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--champagne-deep); }
.profile__do h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; }
.profile__do h3 a { color: var(--ink); }
.profile__do h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }   /* the whole panel opens the collection */
.profile__do li:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.profile__do p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.profile__layer--provide { display: flex; align-items: center; gap: 12px clamp(20px, 3vw, 44px); padding: 16px clamp(18px, 2.4vw, 32px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.profile__layer--provide .profile__label { flex: none; margin: 0; }
.profile__provide { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.profile__provide li { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; line-height: 1.3; color: var(--ink); }
.profile__provide li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne-deep); }
@media (max-width: 1080px) {
  .profile__do { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .profile__layer--provide { flex-direction: column; align-items: flex-start; }
}
/* larger screens: each About frame is filled edge to edge. The three films take their height from the screen (the
   two side films together match the lead film), and the what-we-do photographs take the second frame's free height */
@media (min-width: 721px) {
  .profile__top {
    --fh: clamp(340px, min(100svh - var(--header-h) - 230px, (min(100vw, 1320px) - 2 * var(--gutter)) * .46), 640px);
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .profile__media { grid-template-columns: auto auto; align-items: stretch; }
  .profile__side { margin-bottom: 0; align-content: space-between; }
  .profile__fig--main video { height: var(--fh); width: auto; max-width: none; max-height: none; }
  .profile__side .profile__fig video { height: calc((var(--fh) - 46px) / 2); width: auto; }
}
@media (min-width: 1081px) {
  .profile__layers { height: 100vh; height: 100svh; }
  .profile__layer--do { display: flex; flex-direction: column; min-height: 0; }
  /* photographs share one row and the captions another, so every caption starts on the same line */
  .profile__do { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; row-gap: 0; }
  .profile__do li { grid-row: span 2; display: grid; grid-template-rows: subgrid; }
  .do__pic { min-height: 0; }
  .do__pic img { height: 100%; aspect-ratio: auto; }
}

/* ---------- CATEGORY: a clear section header, then the pieces to browse ---------- */
.category { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + var(--nav-row, 0px) + 8px) 0 12px; overflow-x: clip; }
.category + .category { border-top: 1px solid var(--line-soft); }
.category__intro { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.category__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(24px, 4vw, 64px); align-items: end; }
.category__head .eyebrow { grid-column: 1 / -1; margin-bottom: 10px; }
.category__head .lede { margin: 0; padding-bottom: 8px; color: var(--ink-soft); }
.chapter-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.3vw, 52px); line-height: 1; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }

/* ---------- CATALOG + CAROUSEL: each card holds one piece's photograph and its own details ---------- */
.catalog {
  --mh: clamp(220px, 28vh, 320px);
  --cpad: var(--gutter);
  position: relative;
  width: 100%;          /* the frame centres its content vertically (flex column); keep the full width */
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(18px, 2.6vh, 30px) var(--gutter) 0;
}
.carousel {
  --ar: 52px;
  --ag: 14px;
  --room: calc(var(--ar) + var(--ag) + 4px);
  position: relative;
  display: flow-root;   /* keeps the scroller's negative margins inside, so the arrows line up with the photographs */
  margin-inline: calc(-1 * var(--cpad));
  padding-inline: max(var(--cpad), var(--room));
}
.carousel__viewport {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
  /* room for the card shadow and the hover lift inside the scroller */
  padding: 12px 4px 18px;
  margin: -12px -4px -18px;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: -2px; border-radius: var(--radius); }
.carousel__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel__track { --per: 3; --cg: clamp(18px, 2vw, 28px); display: flex; gap: var(--cg); }
.slide {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--cg)) / var(--per));
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 10px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  scroll-snap-align: none;
  transition: transform .6s var(--ease-out), box-shadow .45s ease;
}
.slide:nth-child(3n + 1) { scroll-snap-align: start; }

.slide__media { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.slide__frame {
  position: relative;
  width: 100%;
  height: var(--mh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
  transition: clip-path .6s var(--ease-out) var(--d, 0ms);
}
.slide__img { display: none; width: auto; height: auto; max-width: 100%; max-height: 100%; user-select: none; -webkit-user-drag: none; transition: transform .7s var(--ease-out) var(--d, 0ms), opacity .4s ease; }
.slide__img.is-on { display: block; }
.slide__img--paper { background: #fff; padding: 5%; }

.slide__views { display: flex; gap: 8px; }
.slide__view {
  position: relative;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: 600 11px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.slide__view::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.slide__view:hover { color: var(--ink); border-color: rgba(27, 25, 21, .3); }
.slide__view.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.slide__view:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 2px; }

/* text: number, name, one line of description, then the details as aligned label / value rows */
.slide__info { min-width: 0; padding: 2px 8px 0; }
.slide__idx { float: right; display: flex; align-items: baseline; gap: 6px; margin: 2px 0 0 12px; font-family: var(--serif); font-size: 15px; color: var(--ink-soft); }
.slide__idx b { font-size: 19px; font-weight: 500; color: var(--champagne-deep); }
.slide__idx span { display: none; }
.slide__tag { display: inline-block; margin: 0 0 10px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.slide__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 1.8vw, 27px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.slide__desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.slide__details { margin: 10px 0 0; border-top: 1px solid var(--line-soft); }
.slide__details div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.45; }
.slide__details dt { padding-top: 2px; font: 600 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.slide__details dd { margin: 0; color: var(--ink); }

/* ---------- card entrance, shared timing: the photograph first, then the text line by line ---------- */
.slide :is(.slide__views, .slide__idx, .slide__tag, .slide__title, .slide__desc, .slide__details) { transition: opacity .4s ease, transform .5s var(--ease-out), background-size .6s var(--ease-out); }
.js .slide:not(.is-in) :is(.slide__views, .slide__idx, .slide__tag, .slide__title, .slide__desc, .slide__details) { opacity: 0; }
.slide.is-in .slide__views { transition-delay: calc(var(--d, 0ms) + 80ms); }
.slide.is-in .slide__idx, .slide.is-in .slide__tag { transition-delay: calc(var(--d, 0ms) + 100ms); }
.slide.is-in .slide__title { transition-delay: calc(var(--d, 0ms) + 130ms); }
.slide.is-in .slide__desc { transition-delay: calc(var(--d, 0ms) + 160ms); }
.slide.is-in .slide__details { transition-delay: calc(var(--d, 0ms) + 190ms); }

/* ---------- GEMSTONES · the loupe: each photograph opens from a point, like an eye to a loupe; on hover the card
   tilts toward the pointer and a prismatic band of light crosses the stone ---------- */
.category--gem .slide { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.category--gem .slide.is-tilting { transition: transform .12s linear, box-shadow .45s ease; box-shadow: var(--shadow-lift); }
.category--gem .slide__frame { clip-path: circle(76% at 50% 50%); }
.js .category--gem .slide:not(.is-in) .slide__frame { clip-path: circle(0% at 50% 50%); }
.js .category--gem .slide:not(.is-in) .slide__img { transform: scale(1.12); }
.js .category--gem .slide:not(.is-in) :is(.slide__views, .slide__idx, .slide__tag, .slide__title, .slide__desc, .slide__details) { transform: translateY(10px); }
.category--gem .slide__frame::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 34%, rgba(255, 196, 196, .26) 42%, rgba(255, 255, 255, .55) 50%, rgba(186, 214, 255, .32) 58%, rgba(255, 255, 255, 0) 66%);
  transform: translateX(-70%);
  pointer-events: none;
}
.category--gem .slide.is-lit .slide__frame::after { animation: sheen 1.15s var(--ease-io) both; }
@keyframes sheen { from { transform: translateX(-70%); } to { transform: translateX(70%); } }

/* ---------- the details of a jewellery or watch card live behind a button (cards.js): a turned-over back for
   jewellery, a raised spec sheet for watches. Shared parts first. ---------- */
.slide__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid rgba(27, 25, 21, .2);
  border-radius: 999px;
  background: transparent;
  font: 600 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: opacity .7s ease, transform .9s var(--ease-out), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.slide__more svg, .slide__close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slide__more svg { transition: transform .35s var(--ease-out); }
.slide__more:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.slide__more:hover svg { transform: translateX(3px); }
.slide__more:focus-visible, .slide__close:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 3px; }
.slide__specs { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(18px, 2.4vh, 26px) 22px; border-radius: inherit; overflow: auto; }
.slide__specs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slide__specs-label { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.slide__specs-label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.slide__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: transform .4s var(--ease-out), background-color .3s ease; }
.slide__close:hover { transform: rotate(90deg); }
.slide__specs-title { margin: clamp(12px, 2vh, 20px) 0 4px; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); font-weight: 500; line-height: 1.12; }
.slide__specs-desc { margin: 6px 0 0; font-size: 14px; line-height: 1.55; opacity: .82; }
.js :is(.category--ring, .category--watch) .slide__info .slide__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__specs .slide__details { display: block; margin-top: 10px; }
.slide__specs .slide__details div { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: clamp(8px, 1.3vh, 12px) 0; font-size: 14px; }
.slide__specs .slide__details dt { padding-top: 2px; }
.js .slide:not(.is-in) .slide__more { opacity: 0; transform: translateY(12px); }
.slide.is-in .slide__more { transition-delay: calc(var(--d, 0ms) + 200ms), calc(var(--d, 0ms) + 200ms), 0ms, 0ms, 0ms; }

/* ---------- JEWELLERY · the jewellery box: each card opens toward the viewer like the lid of a box, hinged at its
   foot; "View details" turns the card over to its back; on hover a fine gold line draws around it ---------- */
.category--ring .slide {
  --ox: 0deg; --oy: 0deg;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--ox)) rotateY(var(--oy));
  transition: transform .6s var(--ease-out) var(--d, 0ms), opacity .45s ease var(--d, 0ms), box-shadow .45s ease;
}
.js .category--ring .slide:not(.is-in) { --ox: 62deg; opacity: 0; transform-origin: 50% 100%; }
.category--ring .slide.is-open { --oy: 180deg; }
.category--ring .slide > :is(.slide__media, .slide__info) { backface-visibility: hidden; }
.category--ring .slide__specs { z-index: 1; background: var(--surface); color: var(--ink); transform: rotateY(180deg) translateZ(1px); backface-visibility: hidden; }
.category--ring .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--champagne);
  clip-path: inset(0 100% 0 0 round var(--radius));
  transition: clip-path .75s var(--ease-io);
  pointer-events: none;
}
.js .category--ring .slide:not(.is-in) :is(.slide__views, .slide__idx, .slide__tag, .slide__title, .slide__desc) { transform: translateY(14px); }
/* display case: the photograph fills the card edge to edge, the caption floats on a white panel over its foot, and
   with a mouse the panel rises on hover to show the description (with JavaScript only: without it the details stay
   on the card, which would not fit over a photograph) */
.js .category--ring .carousel { --card-inset: 0px; }   /* the arrows stay centred on the photographs */
.js .category--ring .slide { padding: 0; gap: 0; }
.js .category--ring .slide__media { position: relative; }
.js .category--ring .slide__frame { border-radius: var(--radius); }
.js .category--ring .slide__img.is-fill { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.js .category--ring .slide__views { position: absolute; top: 14px; left: 14px; z-index: 1; }
.js .category--ring .slide__info {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px -18px rgba(27, 25, 21, .5);
}
.js .category--ring .slide__more { margin-top: 12px; }
/* phones: the photograph is shorter, so the caption sits below it, just overlapping its foot, and never hides the piece */
@media (max-width: 720px) {
  .js .category--ring .slide__info { position: relative; right: auto; bottom: auto; left: auto; margin: -32px 12px 12px; }
}
@media (hover: hover) and (pointer: fine) {
  .js .category--ring .slide.is-in .slide__desc { max-height: 0; margin-top: 0; opacity: 0; transition: max-height .6s var(--ease-out), margin-top .6s var(--ease-out), opacity .45s ease; }
  .js .category--ring .slide.is-in:is(:hover, :focus-within) .slide__desc { max-height: 3.3em; margin-top: 8px; opacity: 1; }
  .category--ring .slide.is-in:hover { box-shadow: var(--shadow-lift); }
  .category--ring .slide:hover::after { clip-path: inset(0 0 0 0 round var(--radius)); }
  .category--ring .slide:hover .slide__img { transform: scale(1.04); transition-delay: 0ms; }
}

/* ---------- WATCHES · the dial: each photograph is revealed by a sweep that goes round like a watch hand; "View
   specifications" raises a dark spec sheet over the card, its lines arriving one by one; on hover the card shows
   its caseback ---------- */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
/* night dial: dark cards with champagne accents (more below) */
.category--watch .slide { overflow: hidden; background: #1d1b17; box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 28px 50px -26px rgba(27, 25, 21, .62); color: #f4efe6; }
.category--watch .slide__frame {
  --sweep: 360deg;
  background: #2a2722;
  -webkit-mask-image: conic-gradient(#000 var(--sweep), transparent 0);
  mask-image: conic-gradient(#000 var(--sweep), transparent 0);
  transition: --sweep .75s var(--ease-io) var(--d, 0ms);
}
.js .category--watch .slide:not(.is-in) .slide__frame { --sweep: 0deg; }
.js .category--watch .slide:not(.is-in) :is(.slide__views, .slide__idx, .slide__tag, .slide__title, .slide__desc) { transform: translateY(10px); }
.category--watch .slide__frame .slide__img { display: block; position: absolute; inset: 0; margin: auto; opacity: 0; }
.category--watch .slide__frame .slide__img.is-on { opacity: 1; }
.category--watch .slide.is-peek .slide__frame .slide__img { opacity: 1; }
.category--watch .slide.is-peek .slide__frame .slide__img.is-on { opacity: 0; }
.category--watch .slide__specs { z-index: 4; background: var(--bg); color: var(--ink); transform: translateY(101%); transition: transform .75s var(--ease-io); }
.category--watch .slide.is-open .slide__specs { transform: none; }
.category--watch .slide__specs-label { color: var(--champagne-deep); }
.category--watch .slide__close:hover { background: rgba(27, 25, 21, .06); }
.category--watch .slide__specs .slide__details div { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .6s var(--ease-out); }
.category--watch .slide.is-open .slide__specs .slide__details div { opacity: 1; transform: none; transition-delay: calc(280ms + var(--i, 0) * 70ms); }
.category--watch .slide__title { padding-bottom: 6px; color: #fff; background: linear-gradient(var(--champagne), var(--champagne)) 0 100% / 0 1px no-repeat; }

/* night dial: the watch cards are dark with champagne accents, so the section reads apart from the light jewellery
   cases; on hover a point of light circles the card's edge like a seconds hand */
@property --hand { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.category--watch .slide__idx { color: rgba(255, 255, 255, .6); }
.category--watch .slide__idx b { color: var(--champagne); }
.category--watch .slide__desc { color: rgba(255, 255, 255, .76); }
.category--watch .slide__view { background: transparent; border-color: rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .8); }
.category--watch .slide__view:hover { color: #fff; border-color: rgba(255, 255, 255, .55); }
.category--watch .slide__view.is-on { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.category--watch .slide__view:focus-visible, .category--watch .slide__more:focus-visible { outline-color: var(--champagne); }
.category--watch .slide__more { border-color: rgba(255, 255, 255, .3); color: #fff; }
.category--watch .slide__more:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.category--watch .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--hand), transparent 0 72%, var(--champagne) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
@keyframes hand { to { --hand: 360deg; } }
@media (hover: hover) and (pointer: fine) {
  .category--watch .slide:hover .slide__title { background-size: 100% 1px; transition-delay: 0ms; }
  .category--watch .slide:hover::before { opacity: 1; animation: hand 2.6s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .category--ring .slide, .category--watch .slide__specs, .category--watch .slide__specs .slide__details div { transition-duration: .01ms; }
  .category--watch .slide:hover::before { animation: none; }
}

/* ---------- section headings: each section reveals its title in its own way (see titles.js) ---------- */
.chapter-title .w { display: inline-block; white-space: nowrap; }
.chapter-title .c { display: inline-block; }
.category__head .eyebrow, .category__head .lede { transition: opacity .45s ease, transform .55s var(--ease-out); }
.js .category__head:not(.is-in) :is(.eyebrow, .lede) { opacity: 0; transform: translateY(10px); }
.category__head.is-in .lede { transition-delay: .18s; }
/* gemstones: words rise from behind a mask, like lines under a loupe */
.category--gem .chapter-title .w { overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.category--gem .chapter-title .wi { display: inline-block; transition: transform .55s var(--ease-out) calc(var(--i) * 40ms); }
.js .category--gem .category__head:not(.is-in) .chapter-title .wi { transform: translateY(110%); }
/* jewellery: words tilt into place one after another, like stones set in a row */
.category--ring .chapter-title .wi { display: inline-block; transform-origin: 0 100%; transition: transform .55s var(--ease-out) calc(var(--i) * 45ms), opacity .45s ease calc(var(--i) * 45ms); }
.js .category--ring .category__head:not(.is-in) .chapter-title .wi { opacity: 0; transform: translateY(.4em) rotate(-6deg); }
/* watches: letters tick in one by one, like a precise mechanism */
.category--watch .chapter-title .c { transition: transform .4s var(--ease-out) calc(var(--i) * 12ms), opacity .3s ease calc(var(--i) * 12ms); transform-origin: 50% 100%; }
.js .category--watch .category__head:not(.is-in) .chapter-title .c { opacity: 0; transform: translateY(.35em) rotateX(-80deg); }

/* ---------- ABOUT: the three films rise like a curtain, one after another ---------- */
.profile__fig video { transition: clip-path .65s var(--ease-out); }
.profile__side .profile__fig:nth-child(1) video { transition-delay: .08s; }
.profile__side .profile__fig:nth-child(2) video { transition-delay: .16s; }
.js .profile__media:not(.is-in) .profile__fig video { clip-path: inset(100% 0 0 0 round 16px); }
.profile__media.is-in .profile__fig video { clip-path: inset(0 0 0 0 round 16px); }

@media (min-width: 721px) {
  .slide__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .slide__details div { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 7px 0; }
  .slide__details dt { padding-top: 0; }
  .slide__desc { margin-top: 6px; }
}
/* laptop-height screens: tighten the cards so every section still fits one full-screen frame */
@media (min-width: 721px) and (max-height: 940px) {
  .catalog { --mh: clamp(160px, 21vh, 260px); padding-top: clamp(12px, 1.8vh, 20px); }
  .category__head .eyebrow { margin-bottom: 6px; }
  .chapter-title { font-size: clamp(32px, 2.9vw, 46px); }
  .slide__desc { line-height: 1.5; }
  .slide__details { margin-top: 8px; }
  .slide__details div { padding: 4px 0; }
}
@media (min-width: 721px) and (max-height: 820px) {
  .catalog { --mh: clamp(140px, 19vh, 220px); }
  .category { padding-top: calc(var(--header-h) + var(--nav-row, 0px)); padding-bottom: 2px; }
  .slide__title { font-size: 22px; }
  .slide__desc { font-size: 13.5px; }
  .slide__details div { font-size: 13px; line-height: 1.4; }
}
@media (max-width: 1100px) {
  .carousel__track { --per: 2; }
  .slide:nth-child(3n + 1) { scroll-snap-align: none; }
  .slide:nth-child(2n + 1) { scroll-snap-align: start; }
}
/* arrows beside the cards: ← [ cards ] →, centred on the photographs */
.carousel__btn--prev, .carousel__btn--next { position: absolute; z-index: 2; top: calc(var(--card-inset, 10px) + var(--mh) / 2 - var(--ar) / 2); }
.carousel__btn--prev { left: calc(max(var(--cpad), var(--room)) - var(--ar) - var(--ag)); }
.carousel__btn--next { right: calc(max(var(--cpad), var(--room)) - var(--ar) - var(--ag)); }
.carousel__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--ar, 52px);
  height: var(--ar, 52px);
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line-soft);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.carousel__btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.carousel__arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.carousel__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.carousel__btn[data-prev]:hover:not(:disabled) .carousel__arrow { transform: translateX(-2px); }
.carousel__btn[data-next]:hover:not(:disabled) .carousel__arrow { transform: translateX(2px); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 3px; }
.carousel__foot { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; }
.carousel__count { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 16px; color: var(--ink-soft); }
.carousel__count b { font-weight: 500; color: var(--ink); }
.carousel__bar { position: relative; width: clamp(80px, 14vw, 200px); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.carousel__bar i { position: absolute; left: 0; top: 0; height: 2px; background: var(--ink); transition: transform .5s var(--ease-out); }
.carousel__note { margin: 6px auto 0; max-width: 70ch; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); text-align: center; }

/* ---------------- FOOTER ---------------- */
.footer { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 36px var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; background: var(--surface); border-top: 1px solid var(--line-soft); }
.footer__mark { width: 44px; height: auto; color: var(--ink); }
.footer__name { margin: 8px 0 0; font-family: var(--display); letter-spacing: .3em; font-size: 13px; color: var(--ink); }
.footer__tag { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.footer__small { margin: 12px 0 0; font-size: 12px; color: var(--label); }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: center; gap: 12px; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.social__link:hover, .social__link:focus-visible { color: #fff; background: var(--ink); box-shadow: none; outline: none; }
.social__icon { width: 19px; height: 19px; fill: currentColor; }

/* ---------------- CONTACT PAGE: details beside the map ---------------- */
.page-backdrop { position: fixed; inset: 0; z-index: 0; background: var(--bg); pointer-events: none; }
.contact-page { position: relative; z-index: 1; min-height: calc(100vh - 160px); display: flex; align-items: center; padding: calc(var(--header-h) + var(--nav-row, 0px) + 48px) var(--gutter) 72px; }
.contact-page__inner { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-page .headline { font-size: clamp(38px, 4.4vw, 60px); }
.contact-page__lead { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.contact-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; }
.cbtn:hover, .cbtn:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); outline: none; }
.cbtn--whatsapp { color: #fff; background: var(--ink); box-shadow: none; }
.cbtn--whatsapp:hover, .cbtn--whatsapp:focus-visible { background: #3a352d; box-shadow: none; }
.cbtn__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ledger { margin: 0; display: grid; padding: 8px 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.ledger div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--label); padding-top: 4px; }
.ledger dd { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink); }
.ledger dd a { display: inline-block; padding: 9px 0; margin: -9px 0; }
.contact-page__ledger { margin-top: 36px; }
.contact-page__ledger dd a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-page__ledger dd a:hover { border-color: var(--champagne-deep); }
.contact-page__address { letter-spacing: .02em; }
.contact-map { margin: 0; position: sticky; top: calc(var(--header-h) + var(--nav-row, 0px) + 24px); }
.contact-map__frame { position: relative; aspect-ratio: 4 / 3.4; background: var(--surface-2); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-top: 14px; font-size: 13px; letter-spacing: .06em; color: var(--ink-2); }
.contact-map figcaption .link { margin-top: 0; }
.page-contact .footer { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .contact-page__inner { grid-template-columns: minmax(0, 1fr); }
  .contact-map { position: static; }
  .contact-map__frame { aspect-ratio: 4 / 3.6; }
}

/* ---------------- TABLETS AND PHONES ---------------- */
@media (max-width: 900px) {
  .category__head { grid-template-columns: minmax(0, 1fr); }
  .category__head .lede { margin-top: 14px; padding-bottom: 0; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --nav-row: 46px; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: 12px; letter-spacing: .2em; }
  .brand__tag { font-size: 12px; }
  .header-contact { padding: 9px 14px; font-size: 11px; letter-spacing: .1em; }
  .nav { padding: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .nav__pill { top: 4px; bottom: 4px; }
  .nav a { padding: 9px 12px; font-size: 12px; letter-spacing: .02em; }

  /* hero on phones: the film fills the screen; the logo sits low on a soft light band */
  .hero { --hero-h: 280vh; }
  /* phones: the wide film sits in the upper part of the screen at a size where the whole stone fits; the logo sits
     on the plain page below it rather than over the film */
  /* phones: the film fills the screen (portrait frames, js/hero.js); no blur at the end, it is costly on phones */
  .hero__video { background-position: 50% 50%; filter: none; }
  .hero__veil { background: linear-gradient(0deg, rgba(246, 243, 238, .95) 0%, rgba(246, 243, 238, .78) 30%, rgba(246, 243, 238, 0) 56%); }
  .hero__beat { left: var(--gutter); right: var(--gutter); max-width: none; bottom: calc(36px + env(safe-area-inset-bottom)); }
  .hero__beat-title { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__beat-text { font-size: 15px; }
  .hero__mark { width: 64px; }
  .hero__cue { display: none; }
  .hero__welcome { gap: 8px; padding-top: calc(var(--header-h) + var(--nav-row, 0px)); background: rgba(255, 255, 255, .74); }
  .hero__welcome-name { letter-spacing: .1em; }

  .section { padding: 72px var(--gutter); }
  .profile { padding-top: 0; padding-bottom: 0; }
  /* phones: sections follow one another at their natural height with even spacing (no full-screen frames); a section
     link still lands just below the header */
  #about, #gemstones, #jewellery, #watches { scroll-margin-top: calc(var(--header-h) + var(--nav-row, 0px)); }
  .profile__top, .profile__layers { min-height: 0; padding-top: 36px; padding-bottom: 28px; }
  .profile__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .profile__title { font-size: 36px; }
  .profile__lead { font-size: 15.5px; }
  .profile__facts { padding: 14px 14px; }
  .profile__facts dd { font-size: 17px; }
  .profile__facts div { padding-right: 8px; }
  .profile__facts div + div { padding-left: 10px; }
  .profile__media { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .profile__fig--main { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .profile__fig--main video { max-height: 46vh; }
  .profile__side { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
  .profile__do { gap: 22px 12px; }
  .profile__do h3 { font-size: 21px; }
  .profile__do p { font-size: 13.5px; }
  .profile__provide li { font-size: 16px; }

  .category { min-height: 0; padding: 36px 0 32px; }
  .chapter-title { font-size: clamp(38px, 11vw, 50px); }
  .catalog { --mh: min(42vh, 380px); --cpad: 16px; padding: 22px 16px 0; }
  .carousel { --ar: 40px; --ag: 5px; }
  .carousel__track { --per: 1; --cg: 14px; }
  .slide { flex-basis: 100%; }
  .slide:nth-child(n) { scroll-snap-align: start; }
  .slide__title { font-size: 24px; }
  .slide__details div { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .carousel__arrow { width: 18px; height: 18px; }
  .carousel__bar { width: 56px; }
  .carousel__count { gap: 10px; font-size: 15px; }

  .ledger { padding: 4px 18px; }
  .ledger div { grid-template-columns: 104px minmax(0, 1fr); }
  .ledger dd { font-size: 18px; }
}
@media (max-width: 400px) {
  .nav a { padding: 9px 9px; font-size: 11.5px; letter-spacing: 0; }
  .brand__name { letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue i { animation: none; }
  .hero__video, .hero__beat { transform: none; }
  [data-reveal], [data-reveal] *, .slide, .slide *, .slide::after, .category__head * { transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .category--gem .slide.is-lit .slide__frame::after { animation: none; }
}
