/* ============================================================
   NADILINI — light editorial theme
   Ivory ground, charcoal type, gold accent. Cormorant Garamond
   for display serif, Jost for every small-caps/label/body use —
   same brand kit as before, laid out the way a heritage maison's
   site is laid out: hairline rules, generous whitespace, photography
   captioned underneath rather than text laid over it.
   ============================================================ */

:root{
  --ivory: #F4F1EA;
  --ivory-2: #EDE9DF;
  --charcoal: #1A1A1A;
  --charcoal-70: rgba(26,26,26,.7);
  --charcoal-50: rgba(26,26,26,.5);
  --gold: #C9A227;
  --gold-antique: #B08D3C;
  --brown: #6A402F;   /* the client's warm brown, sampled from her design */
  /* --gold-antique is ~2.8:1 on ivory — fine for hairlines/large accents,
     fails WCAG AA (4.5:1) as small text. Use --gold-text (4.8:1) wherever
     gold is doing the work of a caption/label/meta line, not a decoration. */
  --gold-text: #86651F;
  /* the logo's tagline + rules: the brand's metallic gold */
  --gold-brand: #9A7410;
  --fine: #6b665c;
  --line: rgba(26,26,26,.14);
  --line-soft: rgba(26,26,26,.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --nav-h: 7.5rem;
}

*, *::before, *::after{ box-sizing: border-box; }
/* No global scroll-behavior:smooth — anchor-link jumps get their own
   smooth scroll in JS instead, scoped to just that one action. */
body{
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4,blockquote,p{ margin: 0; }
button{ font: inherit; }

.skip{
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--charcoal); color: var(--ivory);
  padding: .8rem 1.4rem; font-family: var(--sans); font-size: .8rem;
}
.skip:focus{ left: var(--pad); top: .6rem; }

/* small-caps label used constantly: eyebrows, nav, captions */
.label{
  font-family: var(--sans); font-weight: 400;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal-70);
}

/* ── utility bar ─────────────────────────────────────────── */
/* Cartier's masthead runs a thin, plain-text strip above the real
   nav — a country/contact line that scrolls away with the page while
   the category nav below it stays put. Kept deliberately spare: no
   fake wishlist/account/bag icons, since this isn't an e-commerce
   site pretending to be one. */

.utility{ background: var(--ivory); border-bottom: 1px solid var(--line-soft); }
.utility__inner{
  max-width: 90rem; margin-inline: auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: 2.4rem;
  font-family: var(--sans); font-size: .66rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal-70);
}
.utility__inner a{ text-decoration: none; color: var(--charcoal-70); transition: color .25s ease; }
.utility__inner a:hover{ color: var(--gold-text); }
.utility__links{ display: flex; align-items: center; gap: 1.6rem; }
/* the Journal link lives in the utility bar on wide screens and joins the burger menu on narrow ones, so the five-link row never has to wrap */
.nav__links .nav__sm{ display: none; }

@media (max-width: 46rem){
  .utility__loc{ display: none; }
  .utility__inner{ justify-content: flex-end; }
}

/* ── nav ─────────────────────────────────────────────────── */

.nav{
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner{
  max-width: 90rem; margin-inline: auto;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--nav-h);
}
/* burger and links occupy the same cell — only one is ever visible,
   so they never fight for space at either breakpoint */
.nav__burger, .nav__links{ grid-column: 1; justify-self: start; }
.nav__mark{ grid-column: 2; }
.nav__spacer{ grid-column: 3; }

.nav__links{
  display: flex; gap: 1.8rem; align-items: center;
  font-family: var(--sans); font-size: .74rem; font-weight: 400;
  letter-spacing: .03em; text-transform: uppercase;
}
.nav__links a{
  text-decoration: none; color: var(--charcoal);
  padding: .95rem 0; border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.nav__links a:hover{ border-color: var(--gold); }
.nav__links a:focus-visible, .nav__mark:focus-visible, .btn:focus-visible,
.nav__burger:focus-visible{
  outline: 2px solid var(--gold-text); outline-offset: 3px;
}

/* the wordmark, recreated in type (not a raster image) so it stays
   crisp and re-flows at any size — matches the approved lockup: serif
   caps wordmark, small gold tracked descriptor flanked by hairlines */
.nav__mark{
  text-decoration: none; text-align: center;
  color: var(--charcoal);
}
.nav__word{
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 2.6rem; letter-spacing: .16em; text-transform: uppercase;
}
.nav__desc{
  display: flex; align-items: center; gap: .6em; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: .84rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-brand);
  -webkit-text-stroke: .35px var(--gold-brand); paint-order: stroke fill;
  margin-top: .45rem;
}
.nav__desc i{
  display: block; width: 2.2rem; height: 1px; font-style: normal;
  background: linear-gradient(to right, transparent, var(--gold-brand), transparent);
}

.nav__burger{ display: none; }
.nav.is-stuck{ box-shadow: 0 1px 0 var(--line); }

@media (max-width: 75rem){
  .nav__links{
    display: none;
    /* the base (desktop) rule sets justify-self: start for the grid
       layout — that survives here and, per spec, overrides the
       left:0/right:0 stretch below (justify-self other than
       'stretch' wins over inset-driven sizing on a grid item, even
       once it's absolutely positioned), so the panel was shrinking
       to content width and hugging the left edge instead of
       spanning the header. stretch puts it back in charge of sizing. */
    justify-self: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.2rem;
  }
  .nav__links.is-open{ display: flex; }
  .nav__links .nav__sm{ display: block; }
  .utility__links .util__journal{ display: none; }
  .nav__links a{ padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__burger{
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-width: 44px; min-height: 44px;
    background: none; border: 0; padding: .5rem; cursor: pointer;
  }
  .nav__burger span{
    display: block; width: 15px; height: 1px; background: var(--charcoal);
    margin: 4px 0;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  /* center-to-center distance between adjacent spans is margin(4) +
     height(1) + margin(4) = 9px — the translateY has to match that
     exactly or the two rotated bars don't actually cross at a shared
     point, which reads as two disjointed ticks instead of a clean X */
  .nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }
  :root{ --nav-h: 4.4rem; }
  .nav__word{ font-size: 1.45rem; letter-spacing: .14em; line-height: 1.1; }
  .nav__desc{ font-size: .62rem; letter-spacing: .16em; -webkit-text-stroke-width: .25px; gap: .5em; margin-top: .25rem; white-space: nowrap; }
  .nav__desc i{ width: .9rem; }
  /* the grid's outer columns are meant to mirror each other (1fr each
     side of the centred wordmark), but column 1 carries the 44px
     burger button while column 3's spacer carries nothing — so the
     wordmark was already sitting right of true-centre before any
     extra push. Giving the spacer the same 44px minimum balances the
     two columns so the grid centres the wordmark on its own. */
  .nav__spacer{ min-width: 44px; }
}

/* ── hero ────────────────────────────────────────────────── */

.hero{
  position: relative;
  height: 88svh; min-height: 30rem;
  overflow: hidden;
  /* Matches the hero film's dark studio backdrop, so the pre-load paint
     and any letterbox edge blend into the video rather than flashing a
     pale band behind it. */
  background: var(--charcoal);
}
.hero__stage{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  /* The photograph's dark wood panel is on the left, where the copy sits;
     the model's neck and necklace fill the right. Mobile re-biases this
     vertically below. */
  object-position: 50% 40%;
}
/* Deepens the lower frame the copy sits in, so the type holds as the
   ring's highlights and reflection drift underneath it. */
.hero__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,.5) 0%, rgba(12,11,9,.16) 26%, transparent 46%);
  pointer-events: none;
}
/* Moved to the right edge: the bottom-left corner now belongs to the
   hero copy's buttons, which this used to sit directly underneath. */
.hero__caption{
  position: absolute; right: var(--pad); bottom: 1.6rem; z-index: 2;
  color: var(--ivory);
}
.hero__caption .label{ color: rgba(244,241,234,.82); }

/* Anchored low-left rather than vertically centred: the ring occupies
   roughly the middle 24–75% of the frame, so centred copy clipped its
   left shank. The lower band is unbroken dark surface, which clears the
   ring without having to zoom or pan the footage away from it. */
.hero__copy{
  position: absolute; z-index: 2;
  left: var(--pad); bottom: clamp(2.5rem, 8vh, 5rem);
  max-width: min(28rem, 44%);
  /* the earring fills the left of the new photograph, so the copy sits right,
     on the calm skin tones, under the deepened scrim */
}
.hero__copy .hero__h--single{ color: var(--ivory); }
/* Scoped to the hero: .btn--solid is shared with the contact form,
   which sits on ivory and still wants the charcoal fill. */
.hero__copy .btn--solid{
  background: var(--ivory); color: var(--charcoal); border-color: var(--ivory);
}
.hero__copy .btn--solid:hover{
  background: var(--gold-antique); border-color: var(--gold-antique); color: var(--ivory);
}
.hero__copy .hero__h{ margin-bottom: 1.6rem; }
.hero__copy .hero__actions{ justify-content: flex-start; }
.hero__copy .hero__h--single{ text-shadow: 0 2px 24px rgba(0,0,0,.45); }
/* Sized down from the standalone-band figure it inherits — the copy is
   in a ~44% column now, not the full page width. */
.hero__copy .hero__h--single{
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  font-weight: 500; line-height: 1.08;
  text-transform: uppercase; letter-spacing: .05em;
}

@media (max-width: 62rem){
  .hero__copy{ max-width: min(24rem, 52%); }
}

/* Narrow screens can't hold a side-by-side split, so the separation
   becomes vertical: ring in the upper frame, copy across the bottom.
   The certified/set-by-hand caption is dropped rather than stacked —
   there's only room for one thing at the bottom edge. */
@media (max-width: 46rem){
  /* cover against the full portrait box crops to roughly the middle
     third of a 16:9 frame, which magnifies the ring hugely. Letting the
     film occupy only the upper band shortens the box it has to cover, so
     far less is cropped away and the ring reads at a sane size; the mask
     feathers its lower edge into the hero background so the shortened
     box doesn't show as a seam. */
  .hero__video{ object-position: 50% 100%; }
  /* the necklace sits right behind the buttons on a portrait crop, so phones keep a fuller shade there */
  .hero__scrim{ background: linear-gradient(to top, rgba(12,11,9,.86) 0%, rgba(12,11,9,.62) 26%, rgba(12,11,9,.22) 48%, transparent 64%); }
  /* Sits it up off the bottom edge into the band the film's masked
     lower edge has already faded to background, so the block reads as
     centred in the space under the ring rather than pinned to the floor. */
  .hero__copy{
    bottom: clamp(3rem, 8vh, 5rem);
    left: var(--pad); right: var(--pad);
    max-width: none; text-align: center;
  }
  .hero__copy .hero__actions{ justify-content: center; }
  .hero__caption{ display: none; }
}

.hero__band{
  max-width: 46rem; margin-inline: auto;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6rem) var(--pad) clamp(3rem, 7vw, 4.5rem);
}
.hero__band .label{ display: block; margin-bottom: 1.1rem; }
.hero__h{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.06; margin-bottom: 1.4rem;
}
.hero__h em{ font-style: italic; font-weight: 400; color: var(--gold-text); }
/* Charcoal rather than gold-on-cream (the gold sat too close to the
   film's warm backdrop to hold an edge) and upright rather than italic:
   the italic face is only loaded at weight 300, so asking for a heavier
   italic would get a synthesised fake-bold instead of a real one. */
.hero__h--single{
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--charcoal);
  font-weight: 600;
}
.hero__lede{
  font-size: 1rem; color: var(--charcoal-70);
  max-width: 34rem; margin: 0 auto 2.1rem;
}
.hero__actions{ display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ── buttons ─────────────────────────────────────────────── */

.btn{
  display: inline-block;
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: .95rem 2rem;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid{ background: var(--charcoal); color: var(--ivory); border: 1px solid var(--charcoal); }
.btn--solid:hover{ background: var(--gold-antique); border-color: var(--gold-antique); }
/* Only used in the hero, which sits on the dark film — so it outlines in
   ivory and fills on hover, rather than the charcoal-on-ivory pairing
   the rest of the page's buttons use. */
.btn--ghost{ background: transparent; color: var(--ivory); border: 1px solid var(--ivory); }
.btn--ghost:hover{ background: var(--ivory); color: var(--charcoal); }

/* ── generic section scaffolding ────────────────────────── */

section{ padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section__inner{ max-width: 90rem; margin-inline: auto; padding: 0 var(--pad); }
.section__head{ max-width: 40rem; margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); text-align: center; }
.section__head .label{ display: block; margin-bottom: 1rem; }
.section__h{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.1; margin-bottom: 1rem;
}
.section__h-caps{ text-transform: uppercase; letter-spacing: .04em; }
.section__lede{ color: var(--charcoal-70); font-size: .96rem; }

.rule{
  width: 3.4rem; height: 1px; margin: 0 auto 1.3rem;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

section.on-ivory-2{ background: var(--ivory-2); }

/* ── the story: intro band under the hero ──────────────────
   The header's ivory, so the band reads as part of the page chrome and the
   photographs either side carry the colour. A narrow
   measure with a drop cap keeps the paragraph editorial rather than a
   full-width wall; the gem ornament echoes the cut stone; the closing
   line is set large as the band's last beat. */

.story{
  background: var(--ivory); color: var(--charcoal);
  padding: clamp(4.5rem, 10vh, 6.5rem) 0;
  text-align: center;
}
.story__inner{ max-width: 60rem; margin: 0 auto; padding: 0 var(--pad); }

/* hairline · gem · hairline */
.story__gem{
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-bottom: clamp(1.8rem, 4vh, 2.4rem);
}
.story__gem::before,
.story__gem::after{
  content: ''; width: clamp(3rem, 9vw, 5.5rem); height: 1px;
}
.story__gem::before{ background: linear-gradient(to right, transparent, var(--gold-brand)); }
.story__gem::after{ background: linear-gradient(to left, transparent, var(--gold-brand)); }
.story__gem i{
  width: .6rem; height: .6rem; transform: rotate(45deg);
  border: 1px solid var(--gold-brand); background: var(--gold-brand);
  box-shadow: 0 0 0 .3rem rgba(154,116,16,.18);
}

.story__h{
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.15;
  letter-spacing: .1em; text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: clamp(1.8rem, 4vh, 2.4rem);
}

/* one centred axis: ornament, heading and paragraph share it, and the
   paragraph is held to a reading measure so it never runs as a wide band */
.story__p{
  max-width: 37rem; margin: 0 auto;
  text-wrap: balance;
  font-size: 1.1rem; line-height: 1.9; font-weight: 400;
  color: var(--charcoal);
}

/* ── the journey: six full screens, mine to finger ──────────
   No scroll-jacking and no scroll code at all. Each chapter is one full
   screen that sticks while the next slides up over it, so the page
   scrolls natively and stays smooth on every device. Where the browser
   supports scroll-driven animation each picture eases in from a slight
   zoom and its words rise in (both run on the graphics layer); without
   it the screens simply stack. */
/* the frame is exactly the visible screen under the header, and the section
   lands just below the header when you jump to it, so nothing is hidden */
.fly{
  position: relative; background: var(--ivory); padding: 0; scroll-margin-top: var(--nav-h);
  /* scroll story: one pinned frame, a screen and a bit of scrolling per slide */
  height: calc(100svh - var(--nav-h) + (var(--n, 6) - 1) * 70svh);
}
.fly__pin{ position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); min-height: 34rem; overflow: hidden; }
/* slideshow: one step is shown at a time, the rest wait hidden */
.fly__layer{
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; background: var(--ivory);
  opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.fly__layer.is-active{ opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.fly__media{ position: absolute; inset: 0; transform: scale(1.06); transform-origin: 50% 50%; transition: transform 7s ease-out; }
.fly__layer.is-active .fly__media{ transform: scale(1); }
.fly__img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  user-select: none; -webkit-user-drag: none;
}
/* soft shade behind the words so they read on any photograph */
.fly__layer::after{
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(10,8,6,.55), rgba(10,8,6,.18) 48%, rgba(10,8,6,0) 70%);
}
.fly__cap{
  position: relative; z-index: 2; max-width: 34rem;
  margin-left: clamp(1.5rem, 8vw, 8rem); pointer-events: none;
}
/* the step number now lives in the counter beside the arrows */
.fly__no{
  display: none; margin: 0 0 1.1rem;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: .4em; color: var(--gold);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 3px 16px rgba(0,0,0,.9);
}
.fly__no b{ font-weight: 600; }
.fly__h{
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3rem, 8vw, 6.5rem); line-height: .98;
  color: #fff; margin: 0 0 1.2rem; text-transform: none; letter-spacing: 0;
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
    0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000,
    0 10px 40px rgba(0,0,0,.85);
}
.fly__p{
  max-width: 26rem; font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.75; letter-spacing: .01em;
  color: #fff; text-wrap: pretty;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 4px 18px rgba(0,0,0,.9);
}
.fly__track, .fly__flash{ display: none; }

/* words rise in once their step is on screen */
.fly__cap{ opacity: 0; transform: translateY(22px); transition: opacity .8s ease .35s, transform .8s ease .35s; }
.fly__layer.is-active .fly__cap{ opacity: 1; transform: none; }

/* controls: previous / next, counter and a gold progress line */
.fly__ctrl{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.1rem var(--pad) 1.4rem;
  background: linear-gradient(to top, rgba(10,8,6,.6), rgba(10,8,6,0));
  color: #fff; font-family: var(--serif); letter-spacing: .3em;
}
.fly__count{ font-size: .95rem; font-weight: 600; color: var(--ivory); white-space: nowrap; }
.fly__count span{ color: rgba(244,241,234,.75); }
.fly__arrows{ display: flex; gap: .8rem; }
.fly__btn{
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgba(244,241,234,.75); background: rgba(10,8,6,.5); color: var(--ivory);
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
/* only the arrow you press lights up, in the header cream */
.fly__btn:hover, .fly__btn:focus-visible, .fly__btn:active, .fly__btn.is-lit{
  background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); outline: none;
}
.fly__btn svg{ width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fly__bar{ position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.15); z-index: 3; }
.fly__bar i{ display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s ease; }
/* laptop: the controls sit on the right edge, stacked, away from the words */
@media (min-width: 62.01rem){
  .fly__ctrl{
    top: 50%; bottom: auto; left: auto; right: clamp(1.5rem, 4vw, 4rem);
    transform: translateY(-50%); flex-direction: column; gap: 1.6rem;
    padding: 0; background: none;
  }
  .fly__arrows{ flex-direction: column; gap: 1rem; }
  .fly__btn{
    width: 3.6rem; height: 3.6rem;
  }
  .fly__btn svg{ width: 1.3rem; height: 1.3rem; }
  .fly__count{
    font-size: 1rem; color: #fff; text-shadow: none;
    background: rgba(10,8,6,.62); padding: .45rem 1rem; border-radius: 20px;
  }
  .fly__count span{ color: rgba(244,241,234,.8); }
  .fly__count span:first-child{ color: var(--ivory); font-weight: 600; }
}
/* phones: bigger buttons that are easy to reach with a thumb */
@media (max-width: 62rem){
  .fly__btn{ width: 3.6rem; height: 3.6rem; }
  .fly__ctrl{ padding: 1rem var(--pad) 1.2rem; }
}

/* portrait screens: words move to the bottom, over a taller shade */
@media (max-width: 62rem){
  .fly__layer{ align-items: flex-end; }
  .fly__layer::after{
    inset: auto 0 0 0; height: 58%;
    background: linear-gradient(to top,
      rgba(10,8,6,.9) 0%, rgba(10,8,6,.78) 30%, rgba(10,8,6,.45) 62%, rgba(10,8,6,.14) 85%, rgba(10,8,6,0) 100%);
  }
  .fly__cap{
    margin: 0 var(--pad); max-width: none;
    padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + 5.5rem);
  }
  .fly__h{ font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .fly__p{ font-size: 1.02rem; line-height: 1.6; max-width: none; }
}

/* ── the mosaic: four photographs, edge to edge ───────────── */

.mosaic{ padding: 0; background: var(--ivory); }
.mosaic__grid{
  display: grid; gap: clamp(.25rem, .5vw, .45rem);
  grid-template-columns: 1.1fr .9fr 1.1fr; grid-template-rows: 1fr 1fr;
  height: clamp(28rem, 62vw, 46rem);
}
.mosaic figure{ margin: 0; overflow: hidden; background: var(--ivory-2); }
.mosaic img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic__a{ grid-column: 1; grid-row: 1 / 3; }
.mosaic__b{ grid-column: 2; grid-row: 1; }
.mosaic__c{ grid-column: 2; grid-row: 2; }
.mosaic__d{ grid-column: 3; grid-row: 1 / 3; }
.mosaic__a img{ object-position: 50% 60%; }
.mosaic__b img{ object-position: 50% 72%; }
.mosaic__c img{ object-position: 50% 28%; }
.mosaic__d img{ object-position: 50% 30%; }
@media (max-width: 46rem){
  .mosaic__grid{ height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 14rem 14rem 31rem; }
  .mosaic__a{ grid-column: 1; grid-row: 1 / 3; }
  .mosaic__b{ grid-column: 2; grid-row: 1; }
  .mosaic__c{ grid-column: 2; grid-row: 2; }
  .mosaic__d{ grid-column: 1 / 3; grid-row: 3; }
  .mosaic__d img{ object-position: 50% 50%; }
}

/* ── editorial two-up (assembly / fire) ─────────────────── */

.duo{
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr 1fr;
}
.duo__item{ text-align: center; }
.duo__frame{ aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.duo__frame img, .duo__frame video{ width: 100%; height: 100%; object-fit: cover; }
.duo__cap{
  margin-top: 1.1rem;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--charcoal-70);
}
.duo__h{ font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: .35rem 0 .5rem; }

/* Third duo item spans both columns — same frame/cap/heading
   treatment as its siblings, just proportioned wider (4/3 at double
   width would read as an oddly tall slab) so it sits underneath them
   as one continuous strip, filling the same width as the two above. */
.duo__item--wide{ grid-column: 1 / -1; }
.duo__item--wide .duo__frame{ aspect-ratio: 21 / 8; }
@media (max-width: 46rem){
  .duo__item--wide .duo__frame{ aspect-ratio: 4 / 3; }
}

/* ── the range: one wide showcase, same raised-card language
   as the maisons grid, just a single wide card instead of four
   narrow ones — so the two sections read as one family. */

.range__card{
  max-width: 82rem;
  margin: 0 auto;
}
.range__shot{
  margin: -2.7rem -2.1rem -2.3rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
}
.range__shot picture{ display: block; width: 100%; height: 100%; }
.range__shot img{ width: 100%; height: 100%; object-fit: cover; display: block; }
/* two portraits under the range photograph, same width as the card */
.range__pair{
  max-width: 82rem; margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.5rem);
}
.range__pair figure{ margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.range__pair img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.range__pair figure:nth-child(2) img{ object-position: 50% 20%; }
@media (max-width: 46rem){
  .range__pair{ max-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); gap: .5rem; }
}

@media (max-width: 46rem){
  .duo{ grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; gap: 3rem; }
  /* the mobile shot is its own portrait crop (not the wide desktop
     photo squeezed narrower), so it gets a taller aspect ratio to
     match rather than being cover-cropped down to a sliver */
  .range__shot{ aspect-ratio: 3 / 4; }
  /* breaks the card out of .section__inner's side padding so the
     image runs edge-to-edge on mobile instead of sitting inset —
     a noticeably bigger, more prominent showcase on small screens */
  .range__card{
    max-width: none;
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    border-left: 0; border-right: 0;
  }
}

/* ── creed band: the one thing we guarantee ──────────────────
   The client's ruby-necklace photograph behind the promise, text held to
   the upper (neck) half so the necklace stays clear in the lower half. A
   warm scrim, heaviest at the top where the type sits, keeps it legible
   without dulling the stones. */

.creed{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(34rem, 82vh, 47rem);
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center; color: var(--ivory); background: #2a1c16;
  padding: clamp(3.5rem, 10vh, 6.5rem) 0 clamp(3rem, 8vh, 5rem);
}
.creed__media{ position: absolute; inset: 0; z-index: -2; }
.creed__media img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.creed::after{
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(26,15,10,.66) 0%, rgba(26,15,10,.5) 38%, rgba(26,15,10,.16) 72%, rgba(26,15,10,.06) 100%);
}
.creed .rule{ background: linear-gradient(to right, transparent, var(--gold), transparent); }
.creed__inner{ max-width: 44rem; margin: 0 auto; padding: 0 var(--pad); text-shadow: 0 1px 22px rgba(0,0,0,.35); }
.creed__kicker{
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.12;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.9rem;
}
.creed__q{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.55;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.creed__sub{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.55;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(244,241,234,.86); text-wrap: balance;
}
@media (max-width: 46rem){
  .creed__media img{ object-position: 50% 30%; }
}

/* ── raised card: shared "luxury pop-out" treatment ───────
   Used by the maisons grid and the process steps, so the two feel
   like one design language rather than two different card ideas. A
   soft multi-layer shadow gives the panel real depth against the
   ivory ground; the hover lift + slight rotateX sells the "sitting
   just above the page" read without going full skeuomorphic. */

.raised-card{
  position: relative;
  background: linear-gradient(165deg, #fffdf9 0%, var(--ivory) 100%);
  border: 1px solid var(--line-soft);
  padding: 2.7rem 2.1rem 2.3rem;
  display: flex; flex-direction: column;
  box-shadow:
    0 1px 1px rgba(26,26,26,.05),
    0 10px 20px -10px rgba(26,26,26,.18),
    0 26px 40px -20px rgba(26,26,26,.16);
  transform: perspective(1200px) translateY(0) rotateX(0deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.raised-card::before{
  content: ""; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .85;
}
.raised-card:hover{
  transform: perspective(1200px) translateY(-.55rem) rotateX(2.5deg);
  box-shadow:
    0 2px 3px rgba(26,26,26,.07),
    0 22px 30px -12px rgba(26,26,26,.24),
    0 44px 64px -24px rgba(26,26,26,.2);
}

/* the maisons cards carry a photograph — the gold top-hairline is
   redundant once a photo already anchors the top of the card, so it's
   the photo's edge that reads as the card's "top" instead */
.mcard.raised-card::before{ display: none; }
.mcard__frame{
  margin: -2.7rem -2.1rem 1.7rem;
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--charcoal);
}
.mcard__frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* the numeral/letter badge shared by both card kinds — a small
   embossed disc rather than flat text, for the same "raised" feel */
.card-badge{
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.7rem; height: 2.7rem; margin-bottom: 1.5rem;
  border-radius: 50%; border: 1px solid var(--line);
  background: radial-gradient(circle at 34% 28%, #fff 0%, var(--ivory) 72%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -1px 2px rgba(26,26,26,.06), 0 3px 6px rgba(26,26,26,.1);
  font-family: var(--serif); font-size: 1.05rem; color: var(--gold-text);
}

/* the "Discover" links — Cartier's own card convention: a plain
   underlined text link, never a boxed button, closing out a card */
.card-link{
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: .15rem;
  transition: color .25s ease, border-color .25s ease;
}
.card-link:hover{ color: var(--gold-text); border-color: var(--gold-text); }

@media (max-width: 30rem){
  .raised-card:hover{ transform: none; }
}

/* ── maisons: category cards ────────────────────────────── */

.maisons{
  display: grid; gap: 1.9rem;
  grid-template-columns: repeat(4, 1fr);
}
.mcard__h{ font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: .8rem; }
.mcard__p{ font-size: .87rem; color: var(--charcoal-70); margin-bottom: 1.3rem; flex: 1; }
.mcard__meta{ font-size: .7rem; letter-spacing: .05em; color: var(--gold-text); border-top: 1px solid var(--line); padding-top: 1rem; }

@media (max-width: 62rem){
  .maisons{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 30rem){
  .maisons{ grid-template-columns: 1fr; }
}

/* ── process steps ───────────────────────────────────────── */

.steps{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.9rem;
  grid-template-columns: repeat(4, 1fr);
}
.step__h{ font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: .8rem; }
.step__p{ font-size: .86rem; color: var(--charcoal-70); }

@media (max-width: 56rem){
  .steps{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 30rem){
  .steps{ grid-template-columns: 1fr; }
}

/* "a piece as rare as you": three portraits, then the four steps wrapped
   around one photograph (steps 1/3 left, 2/4 right, photo between). */
.rare{
  display: grid; grid-template-columns: repeat(3, 1fr);
  /* edge to edge with only a hairline between the photographs, so the
     three portraits fill the width instead of floating in the margins */
  gap: .35rem;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
/* phones keep the original framed collage */
@media (max-width: 46rem){
  .rare{ gap: clamp(.75rem, 2vw, 1.5rem); margin-left: 0; margin-right: 0; grid-template-columns: 1fr 1fr; }
  .rare figure:nth-child(1){ grid-column: 1 / 3; aspect-ratio: 4 / 5; }
}
.rare figure{ margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.rare img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.rare figure:nth-child(1) img{ object-position: 50% 30%; }
.rare figure:nth-child(3) img{ object-position: 50% 25%; }

.steps.steps--framed{
  grid-template-columns: 1fr minmax(0, .85fr) 1fr;
  grid-template-areas: "a p b" "c p d";
  align-items: stretch;
}
.steps--framed .step:nth-child(1){ grid-area: a; }
.steps--framed .step:nth-child(2){ grid-area: b; }
.steps--framed .step:nth-child(3){ grid-area: c; }
.steps--framed .step:nth-child(4){ grid-area: d; }
.steps__photo{ grid-area: p; margin: 0; overflow: hidden; background: var(--ivory); min-height: 16rem; }
.steps__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 56rem){
  .steps.steps--framed{
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "p p" "a b" "c d";
  }
  .steps__photo{ aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 30rem){
  .steps.steps--framed{
    grid-template-columns: 1fr;
    grid-template-areas: "p" "a" "b" "c" "d";
  }
}

/* ── contact ─────────────────────────────────────────────── */

.contact{ background: var(--ivory-2); }
.contact__inner{ max-width: 40rem; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.contact__p{ color: var(--charcoal-70); font-size: .95rem; margin-top: 1rem; }

.form{
  margin-top: 2.8rem; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.4rem;
}
.field{ display: flex; flex-direction: column; gap: .5rem; }
.field--wide{ grid-column: 1 / -1; }
.field label{ font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal-70); }
.field input, .field select, .field textarea{
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  color: var(--charcoal); font-family: var(--sans); font-size: .95rem; font-weight: 400;
  padding: .6rem 0; border-radius: 0;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field textarea{ resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--gold-text);
  box-shadow: 0 1px 0 0 var(--gold-text);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  outline: 2px solid var(--gold-text); outline-offset: 2px;
}
.field select option{ background: var(--ivory); color: var(--charcoal); }
.field input::placeholder, .field textarea::placeholder{ color: var(--fine); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"]{
  border-color: #b3402f;
}
.field__error{ font-size: .74rem; color: #b3402f; margin-top: -.15rem; }

.form__foot{ display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__note{ font-size: .8rem; color: var(--gold-antique); }

.contact__direct{
  list-style: none; margin: 3.2rem 0 0; padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  font-size: .87rem; color: var(--charcoal-70); text-align: left;
}
.contact__direct b{ display: block; color: var(--gold-text); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: .3rem; }
.contact__direct a{ color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__direct a:hover{ color: var(--gold-antique); border-color: var(--gold-antique); }

@media (max-width: 34rem){
  .form{ grid-template-columns: 1fr; }
}

/* ── footer ──────────────────────────────────────────────── */

.foot{
  padding: 3.5rem var(--pad) 2.4rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.foot__word{ display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: .16em; padding-left: .16em; line-height: 1; text-transform: uppercase; }
/* same lockup as the header: bold sans tagline in the brand gold, flanked by hairlines */
.foot__desc{
  display: flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  -webkit-text-stroke: .35px var(--gold-brand); paint-order: stroke fill;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-brand); margin-top: .6rem;
}
.foot__desc::before, .foot__desc::after{
  content: ''; display: block; width: 2.2rem; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-brand), transparent);
}
.foot__endorse{ font-family: var(--sans); font-weight: 300; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--charcoal-70); margin: 1.1rem 0 0; }
.foot__line{ margin: 1.5rem 0 1.2rem; color: var(--charcoal-70); font-size: .88rem; }
.foot__fine{ margin: 0; color: var(--fine); font-size: .7rem; }

/* ── sister companies: certificate-wall of clickable wax-seal medals ──
   Pure-CSS radio-tab pattern: five hidden radios, one label-medal per
   radio (the visible clickable seal), five stacked panels shown only
   when their matching radio is checked. No JS needed — the file
   already has a global reveal observer (js/site.js) for [data-lift],
   nothing beyond that is required for this to work, including with
   JS disabled entirely (the browser's native radio-button behavior
   drives it). Keeps the whole section to one compact row + one open
   citation at a time, instead of five full paragraphs stacked. */

.seals__input{
  position: absolute; opacity: 0; pointer-events: none;
}

.seals__row{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 3vw, 3rem);
}

.seals__medal{
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  width: clamp(9rem, 20vw, 13.5rem);
  text-align: center;
}
a.seals__medal{ text-decoration: none; color: inherit; cursor: pointer; }
a.seals__medal .seals__ring{ transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease; }
a.seals__medal:hover .seals__ring, a.seals__medal:focus-visible .seals__ring{ transform: translateY(-4px); box-shadow: 0 1px 1px rgba(26,26,26,.05), 0 14px 26px -10px rgba(26,26,26,.28); }
a.seals__medal:hover .seals__name, a.seals__medal:focus-visible .seals__name{ color: var(--gold-text); }
a.seals__medal:focus-visible{ outline: 2px solid var(--gold-text); outline-offset: 6px; }

.seals__ring{
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow:
    0 1px 1px rgba(26,26,26,.05),
    0 8px 18px -10px rgba(26,26,26,.2);
  display: flex; align-items: center; justify-content: center;
  padding: 14%;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
/* the "seal" ring — a thin gold groove just inside the edge, like an
   embossed wax stamp or certificate seal */
.seals__ring::before{
  content: ""; position: absolute; inset: 6%;
  border: 1px solid var(--gold); border-radius: 50%;
  opacity: .35;
  transition: opacity .4s ease;
}
.seals__ring img{
  width: 100%; height: 100%; object-fit: contain;
  position: relative; z-index: 1;
}

.seals__name{
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  letter-spacing: .04em; color: var(--charcoal-70);
  transition: color .3s ease;
}

.seals__medal:hover .seals__ring{
  transform: translateY(-.2rem);
  box-shadow:
    0 2px 3px rgba(26,26,26,.07),
    0 14px 26px -12px rgba(26,26,26,.24);
}

/* selected state, driven per-company by the matching radio */
#seal-bonas:checked ~ .seals__row label[for="seal-bonas"] .seals__ring,
#seal-mining:checked ~ .seals__row label[for="seal-mining"] .seals__ring,
#seal-cmr:checked ~ .seals__row label[for="seal-cmr"] .seals__ring,
#seal-diamonds:checked ~ .seals__row label[for="seal-diamonds"] .seals__ring,
#seal-refinery:checked ~ .seals__row label[for="seal-refinery"] .seals__ring{
  border-color: var(--gold);
  box-shadow:
    0 2px 3px rgba(26,26,26,.07),
    0 14px 26px -12px rgba(26,26,26,.24),
    0 0 0 3px rgba(201,162,39,.16);
}
#seal-bonas:checked ~ .seals__row label[for="seal-bonas"] .seals__ring::before,
#seal-mining:checked ~ .seals__row label[for="seal-mining"] .seals__ring::before,
#seal-cmr:checked ~ .seals__row label[for="seal-cmr"] .seals__ring::before,
#seal-diamonds:checked ~ .seals__row label[for="seal-diamonds"] .seals__ring::before,
#seal-refinery:checked ~ .seals__row label[for="seal-refinery"] .seals__ring::before{
  opacity: .8;
}
#seal-bonas:checked ~ .seals__row label[for="seal-bonas"] .seals__name,
#seal-mining:checked ~ .seals__row label[for="seal-mining"] .seals__name,
#seal-cmr:checked ~ .seals__row label[for="seal-cmr"] .seals__name,
#seal-diamonds:checked ~ .seals__row label[for="seal-diamonds"] .seals__name,
#seal-refinery:checked ~ .seals__row label[for="seal-refinery"] .seals__name{
  color: var(--gold-text);
}

/* citation panels: stacked in the same grid cell, only the active
   one is visible/interactive — crossfades rather than jumping */
.seals__panels{
  display: grid;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 38rem;
  text-align: center;
  min-height: 6rem;
}
.seals__panel{
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .4s;
}
#seal-bonas:checked ~ .seals__panels [data-panel="bonas"],
#seal-mining:checked ~ .seals__panels [data-panel="mining"],
#seal-cmr:checked ~ .seals__panels [data-panel="cmr"],
#seal-diamonds:checked ~ .seals__panels [data-panel="diamonds"],
#seal-refinery:checked ~ .seals__panels [data-panel="refinery"]{
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .4s ease .05s, transform .4s cubic-bezier(.2,.8,.2,1) .05s, visibility 0s linear;
}

.seals__quote{
  font-family: var(--sans);
  font-size: clamp(.9rem, 1.6vw, 1rem); line-height: 1.7;
  color: var(--charcoal-70);
  margin-bottom: 1rem;
}
.seals__visit{
  display: inline-block;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .06em;
  color: var(--gold-text); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.seals__visit:hover{ border-color: var(--gold-text); }

/* Mobile-only stacked list: hidden on desktop by default. Everything
   is shown at once (logo, name, quote, link) with no click needed —
   the desktop click-to-reveal medal row saves scroll space on a wide
   screen, but on mobile that same interaction just gets in the way
   of reading five short blurbs, so it's swapped for a plain list. */
.seals__mobile{ display: none; }

@media (max-width: 46rem){
  .seals__panels{ display: none; }

  .seals__mobile{
    display: flex; flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
  }
  .seals__mobile-item{
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    gap: .9rem;
  }
  /* On mobile, drop the wax-seal circle treatment entirely — show
     each logo as-is (several are already diamond/triangle marks) at
     a large plain size, rather than masking them into a circle. */
  .seals__mobile-item .seals__ring{
    width: clamp(11rem, 48vw, 14rem);
    aspect-ratio: auto;
    background: none; border: none; box-shadow: none;
    border-radius: 0; padding: 0;
  }
  .seals__mobile-item .seals__ring::before{
    content: none;
  }
  .seals__mobile-item .seals__ring img{
    width: 100%; height: auto;
  }
  .seals__mobile-name{
    font-family: var(--serif); font-weight: 600;
    font-size: 1.3rem; color: var(--charcoal);
  }
  .seals__mobile-item .seals__quote{
    font-size: 1rem;
    margin-bottom: .4rem;
  }
}

/* ── mine footage narrative: two-column context beneath the duo grid
   (the video itself now lives as the third, full-width duo__item —
   see .duo__item--wide above). Sits inside the same .section__inner
   as the duo grid, so no separate max-width/padding/background of
   its own is needed here. */
.mine-footage__narrative{
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line-soft);
}

.mine-footage__narrative-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(3rem, 7vw, 5rem);
  max-width: 60rem;
  margin-inline: auto;
}

.mine-footage__narrative-col{
  max-width: 26rem;
  margin-inline: auto;
}

.mine-footage__narrative-h{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--charcoal);
  margin: 0 0 1rem 0;
  line-height: 1.1;
}

.mine-footage__narrative-p{
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--charcoal-70);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 46rem){
  /* Stack narrative on mobile */
  .mine-footage__narrative-inner{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mine-footage__narrative-col{
    max-width: none;
  }
}

/* ── scroll reveal ───────────────────────────────────────── */

[data-lift]{
  opacity: 0; transform: translateY(1.1rem);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-lift].is-in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; scroll-snap-type: none; }
  [data-lift]{ opacity: 1; transform: none; transition: none; }
}

/* ── the journal: history of high jewellery ─────────────────
   Home: a grid of six story cards. Article pages (journal/*.html) share
   this stylesheet: a narrow reading column, a captioned real photograph,
   and a quiet previous / next pair at the foot. */
#journal{ background: var(--ivory); }
.jgrid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.4vw, 2.2rem); }
.jcard{
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.jcard:hover, .jcard:focus-visible{ transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(26,26,26,.35); }
.jcard:focus-visible{ outline: 2px solid var(--gold-brand); outline-offset: 3px; }
.jcard__img{ display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--charcoal); }
.jcard__img img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.jcard:hover .jcard__img img{ transform: scale(1.04); }
.jcard__kicker{ padding: 1.3rem 1.5rem 0; font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-brand); font-weight: 600; }
.jcard__h{ padding: .55rem 1.5rem 0; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.12; text-wrap: balance; }
.jcard__p{ padding: .7rem 1.5rem 0; font-size: .88rem; line-height: 1.7; color: var(--charcoal-70); flex: 1; }
.jcard__more{ margin: 1.2rem 1.5rem 1.5rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.jcard__more::after{ content: ' \2192'; color: var(--gold-brand); }
@media (max-width: 62rem){ .jgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem){ .jgrid{ grid-template-columns: 1fr; } }

.post{ padding-bottom: clamp(3rem, 8vh, 5rem); }
.post__head{ max-width: 46rem; margin: 0 auto; padding: clamp(2.6rem, 7vh, 4.4rem) var(--pad) 0; text-align: center; }
.post__kicker{ font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-brand); font-weight: 600; margin-bottom: 1.2rem; }
.post__kicker a{ color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.post__kicker a:hover{ border-color: var(--gold-brand); }
.post__h{ font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.06; text-wrap: balance; }
.post__lede{ margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--charcoal-70); text-wrap: balance; }
.post__hero{ max-width: 62rem; margin: clamp(2rem, 5vh, 3rem) auto 0; padding: 0 var(--pad); }
.post__hero img{ width: 100%; height: auto; display: block; max-height: 70vh; object-fit: cover; background: var(--charcoal); }
.post__hero--tall{ max-width: 34rem; }
.post__hero--tall img{ max-height: 78vh; object-fit: contain; }
.post figcaption{ margin-top: .8rem; font-size: .76rem; line-height: 1.55; color: var(--charcoal-70); }
.post figcaption span{ color: var(--charcoal-50); }
.post__body{ max-width: 40rem; margin: clamp(2.2rem, 6vh, 3.4rem) auto 0; padding: 0 var(--pad); font-size: 1.08rem; line-height: 1.9; color: var(--charcoal); }
.post__body p{ margin-bottom: 1.4rem; text-wrap: pretty; }
.post__body > p:first-child::first-letter{ float: left; font-family: var(--serif); font-size: 4.2em; line-height: .78; padding: .1em .1em 0 0; color: var(--gold-brand); font-weight: 500; }
.post__body h2{ margin: 2.6rem 0 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.2; }
.post__fig{ margin: 2rem calc(var(--pad) * -1); }
.post__fig img{ width: 100%; height: auto; display: block; }
.post__fig figcaption{ padding: 0 var(--pad); }
.post__close{ margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; line-height: 1.6; text-align: center; color: var(--charcoal); }
.post__cta{ text-align: center; margin-top: 2rem; }
.post__more{ max-width: 62rem; margin: clamp(3rem, 8vh, 5rem) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.post__more a{ display: block; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; transition: border-color .3s, transform .3s; }
.post__more a:hover{ border-color: var(--gold-brand); transform: translateY(-3px); }
.post__more a:last-child{ text-align: right; }
.post__more span{ display: block; margin-bottom: .5rem; font-family: var(--sans); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-brand); font-weight: 600; }
@media (max-width: 40rem){ .post__more{ grid-template-columns: 1fr; } .post__more a:last-child{ text-align: left; } .post__body{ font-size: 1.02rem; } }

.foot__nav{ display: flex; justify-content: center; gap: 1.8rem; margin: 1.1rem 0 0; font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.foot__nav a{ color: var(--charcoal); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: .15rem; transition: border-color .25s, color .25s; }
.foot__nav a:hover{ color: var(--gold-brand); border-color: var(--gold-brand); }
.jmore{ text-align: center; margin-top: clamp(2rem, 5vh, 3rem); }
.post--index{ padding-bottom: clamp(3rem, 8vh, 5rem); }
.post__list{ margin-top: clamp(2.2rem, 6vh, 3.6rem); }

/* header: three links left of the wordmark, two right of it, so five links
   never crowd one side; on narrow screens all five live in the burger menu */
.nav__links--r{ grid-column: 3; justify-self: end; }
.nav__spacer{ display: none; }
@media (max-width: 75rem){
  .nav__spacer{ display: block; }
  .nav__links--r{ display: none !important; }
}
.nav__links a[aria-current="page"]{ border-color: var(--gold-brand); }

/* ── the story band: the necklace, hung from the top-left ────
   The client's whole necklace, small, in the left margin of the band, clear
   of the words. Both ends run off the band's edges: one strand off the left
   edge, the steep one off the top, so nothing floats and it reads as
   hanging. A soft shadow follows the stones; it swings very slightly from
   the top. On narrow screens it is mirrored into the top-right corner and
   made fainter. No motion for reduced-motion users. */
.story{ position: relative; overflow: hidden; }
.story__inner{ position: relative; z-index: 1; }
.story__hang{
  --nw: clamp(15rem, 26vw, 25rem);
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--nw); left: 0; top: 0;
  transform-origin: 90% 0; animation: pend-swing 8s ease-in-out infinite alternate;
  filter: drop-shadow(0 12px 10px rgba(70, 52, 18, .22));
}
.story__hang img{ display: block; width: 100%; height: auto; }
@keyframes pend-swing{ from{ transform: rotate(-1.2deg); } to{ transform: rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce){ .story__hang{ animation: none; } }
@media (max-width: 75rem){
  .story__hang{ --nw: 9rem; left: auto; right: -1.6rem; transform-origin: 10% 0; }
  .story__hang img{ transform: scaleX(-1); }
}
@media (max-width: 46rem){ .story__hang{ --nw: 7rem; } }
.story__line{
  margin-top: clamp(2rem, 5vh, 3rem); text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--gold-brand);
}

/* craft chapter on phones: the picture sits in the top part of the screen,
   whole and smaller, with the words in a clear band below it */
@media (max-width: 62rem){
  .fly__layer--craft{ align-items: stretch; background: #000; }
  .fly__layer--craft .fly__media{ position: absolute; top: 0; left: 0; right: 0; height: 64svh; background: #000; }
  .fly__layer--craft .fly__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
  .fly__layer--craft::after{ display: none; }
  .fly__layer--craft .fly__cap{ position: absolute; left: var(--pad); right: var(--pad); bottom: 0; top: auto; margin: 0; max-width: none; }
}

/* setting chapter on phones: the photograph fills the whole screen; the
   words sit over a soft fade at the bottom (no solid block) */
@media (max-width: 62rem){
  .fly__layer--set{ background: var(--ivory); }
  .fly__layer--set .fly__media{ position: absolute; inset: 0; height: auto; }
  .fly__layer--set .fly__img{ object-fit: cover; object-position: 50% 0%; }
  .fly__layer--set::after{ display: block; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(6,10,6,.92) 0%, rgba(6,10,6,.7) 40%, rgba(6,10,6,0) 100%); }
  .fly__layer--set .fly__cap{ position: absolute; left: var(--pad); right: var(--pad); bottom: 0; top: auto; margin: 0; max-width: none; }
}

/* guarantee photo: the whole picture is shown (no crop) on a matching green,
   and the dark brown wash is dropped so the photo keeps its own colour */
#promise::after{ display: none; }
#promise{ background: #8fa476; }
#promise .creed__media{ inset: 0; }
#promise .creed__inner{ text-shadow: 0 1px 8px rgba(0,0,0,.25); }
#promise .creed__media img{ object-fit: cover; object-position: 50% 50%; }
/* phones: one full screen. The photograph is edge to edge and anchored to
   the bottom, cut just below the diamonds (no empty green); the words sit in
   the plain green above it, so nothing is printed over the hand */
@media (max-width: 62rem){
  #promise{ display: block; height: auto; min-height: max(100svh, calc(143vw + 12.5rem)); padding-bottom: 0; }
  #promise .creed__inner{ position: relative; z-index: 1; padding: clamp(3.5rem, 9vh, 5rem) var(--pad) 0; text-shadow: none; }
  #promise .creed__media{ position: absolute; inset: auto 0 0 0; z-index: 0; width: 100%; height: 143vw; }
  #promise .creed__media picture{ display: block; width: 100%; height: 100%; }
  #promise .creed__media img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); }
}
@media (min-width: 62.01rem){
  /* the photo's own shape, but never taller than one screen under the header */
  #promise{ height: min(calc(100vw * 0.5601), calc(100svh - var(--nav-h))); min-height: 30rem; max-height: none; }
  #promise .creed__inner{ max-width: 40rem; margin-left: 6vw; margin-right: auto; text-align: left; }
  #promise .creed__inner .rule{ margin-left: 0; }
  /* the two sentences run on together here (no forced break) and wrap evenly */
  #promise .creed__q br{ display: none; }
  #promise .creed__q, #promise .creed__sub, #promise .creed__kicker{ text-wrap: balance; }
  #promise .creed__media{ background: #8fa476; overflow: hidden; }
  /* the section is cut to the photo's own shape, then the photo is nudged
     out a hair so no edge line or side bar can show */
  #promise .creed__media img{ object-fit: cover; object-position: 50% 100%; transform: scale(1.02); transform-origin: 50% 100%; }
}

/* guarantee wording: heading in capitals, body in sentence case (client's layout) */
#promise .creed__q, #promise .creed__sub{
  text-transform: none; letter-spacing: .01em; color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.4; text-wrap: pretty;
}
#promise .creed__q{ margin-bottom: .35rem; }
@media (min-width: 62.01rem){ #promise .creed__q br{ display: none; } }

/* the turning ring, bottom right of the story band, looping; the clip's
   white background multiplies away on the cream */
.story__ring{
  position: absolute; pointer-events: none; mix-blend-mode: multiply;
  right: clamp(1rem, 7vw, 8rem); bottom: clamp(.5rem, 2vw, 2rem);
  width: clamp(11rem, 20vw, 19rem); aspect-ratio: 1;
}
.story__ring video{ width: 100%; height: 100%; display: block; object-fit: cover; }
@media (max-width: 62rem){
  .story__ring{ width: 9rem; right: .5rem; bottom: .5rem; opacity: .95; }
  .story{ padding-bottom: 8rem; }
}
/* phones: the ring sits on the left */
@media (max-width: 46rem){
  .story__ring{ right: auto; left: .5rem; }
}

/* ── Mining step: the client's slide ─────────────────────────
   photograph full bleed, Downtown Mining logo top left, words bottom left,
   seven real stone photographs bottom right that enlarge on hover / tap */
.fly__layer--mining{ align-items: flex-end; }
.fly__layer--mining::after{
  inset: auto 0 0 0; height: 62%;
  background: linear-gradient(to top, rgba(10,8,6,.62), rgba(10,8,6,.28) 55%, rgba(10,8,6,0));
}
.fly__layer--mining .fly__no{ display: none; }
.fly__layer--mining .fly__cap{ margin-bottom: clamp(2.2rem, 7vh, 4.5rem); max-width: 40rem; }
.fly__layer--mining .fly__p{ max-width: 34rem; }
.mine__logo{
  position: absolute; z-index: 3; top: clamp(.8rem, 1.8vw, 1.6rem); left: clamp(1rem, 2.4vw, 2rem);
  width: clamp(4.2rem, 7vw, 6.4rem); height: auto; pointer-events: none;
}
.mine__stones{
  position: absolute; z-index: 4; list-style: none; margin: 0; padding: 0;
  right: clamp(6.5rem, 9vw, 9rem); bottom: clamp(1.4rem, 3.6vh, 2.6rem);
  display: flex; gap: .45rem;
}
.mine__stones li{
  width: clamp(3.6rem, 5.4vw, 5.2rem); aspect-ratio: 1; flex: none;
  cursor: zoom-in; outline: none; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: box-shadow .25s ease, opacity .25s ease;
}
.mine__stones li > img:not(.big){ width: 100%; height: 100%; object-fit: cover; display: block; }
/* the row never moves, so the pointer never skips a photo: the enlarged
   picture opens in a preview above the row instead of growing over its neighbours */
.mine__stones .big{
  position: absolute; left: 50%; bottom: calc(100% + .9rem); width: min(19rem, 70vw); height: auto;
  aspect-ratio: 1; object-fit: cover; transform: translate(-50%, .6rem); opacity: 0;
  pointer-events: none; box-shadow: 0 18px 50px rgba(0,0,0,.55); border: 3px solid var(--ivory);
  transition: opacity .25s ease, transform .25s ease; z-index: 6;
}
.mine__stones:hover li, .mine__stones:focus-within li, .mine__stones.has-open li{ opacity: .6; }
.mine__stones li:hover, .mine__stones li:focus, .mine__stones li.is-open{ opacity: 1; box-shadow: 0 0 0 2px var(--ivory), 0 8px 22px rgba(0,0,0,.45); }
.mine__stones li:hover .big, .mine__stones li:focus .big, .mine__stones li.is-open .big{ opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 62rem){
  .fly__layer--mining .fly__cap{ margin-bottom: 0; padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + 5.2rem); }
  .mine__stones{
    left: var(--pad); right: var(--pad); bottom: 1.4rem; gap: .3rem; justify-content: space-between;
  }
  .mine__stones li{ width: auto; flex: 1 1 0; min-width: 0; }
  .mine__stones .big{ left: 50%; width: min(18rem, calc(100vw - 2 * var(--pad))); }
}
@media (prefers-reduced-motion: reduce){ .mine__stones li{ transition: none; } }

/* ── Sourcing and Sorting slide (the site's own fonts and colours) ── */
.fly__layer--sourcing{ align-items: flex-start; }
.fly__layer--sourcing::after{
  inset: 0 0 auto 0; height: 62%;
  background: linear-gradient(to bottom, rgba(10,8,6,.66), rgba(10,8,6,.38) 55%, rgba(10,8,6,0));
}
.fly__layer--sourcing .fly__no{ display: none; }
.fly__layer--sourcing .fly__cap{
  margin: clamp(1.6rem, 4.2vh, 3.2rem) auto 0; max-width: 62rem; text-align: center; padding: 0 var(--pad);
}
.fly__layer--sourcing .fly__p{ max-width: 52rem; margin-inline: auto; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }
.mine__logo--dd{ filter: none; width: clamp(4.4rem, 7vw, 6.6rem); }
.mine__stones--left{ right: auto; left: clamp(1rem, 2.4vw, 2rem); }
.mine__stones--left li{ width: clamp(4.2rem, 7.6vw, 7.6rem); aspect-ratio: 1; }
.mine__stones--left li > img:not(.big){ object-fit: cover; }
@media (max-width: 62rem){
  .fly__layer--sourcing .fly__cap{ margin-top: clamp(4.4rem, 12vh, 6.6rem); }
  .fly__layer--sourcing .fly__p{ font-size: .98rem; line-height: 1.5; }
  .mine__stones--left{ left: var(--pad); right: var(--pad); bottom: 1.2rem; }
}

/* Sourcing and Sorting: photos as one connected strip at their own proportions (as on the slide) */
.mine__stones--left{ gap: 0; bottom: 0; left: 0; }
.mine__stones--left li{ width: auto; aspect-ratio: auto; height: clamp(5.5rem, 21vh, 11rem); box-shadow: none; }
.mine__stones--left li > img:not(.big){ width: auto; height: 100%; object-fit: cover; }
@media (max-width: 62rem){
  /* phones: words sit on dark above, the photograph below, so no text is over the man's head */
  .fly__layer--sourcing{ background: #0d0b09; }
  .fly__layer--sourcing .fly__media{ top: auto; height: 55%; }
  .fly__layer--sourcing .fly__img{ object-position: 40% 50%; }
  .fly__layer--sourcing::after{ inset: 0 0 auto 0; height: 100%; background: linear-gradient(to bottom, #0d0b09 0%, #0d0b09 45%, rgba(13,11,9,0) 58%); }
  .fly__layer--sourcing .fly__cap{ margin-top: 5.2rem; }
  .fly__layer--sourcing .fly__p{ font-size: .94rem; line-height: 1.45; }
  .mine__stones--left{ left: 0; right: 0; bottom: 0; justify-content: stretch; }
  .mine__stones--left li{ flex: 1 1 0; height: 4.6rem; min-width: 0; }
  .mine__stones--left li > img:not(.big){ width: 100%; }
}

/* ── Cut and Polish (CMR) slide ─────────────────────────── */
.mine__logo--cmr{ width: clamp(3.6rem, 5.2vw, 5rem); filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.fly__layer--cmr .fly__cap{ max-width: 44rem; }
.fly__layer--cmr .fly__p{ max-width: 40rem; font-size: clamp(.95rem, 1.2vw, 1.12rem); line-height: 1.6; }
.mine__stones--video{ gap: .5rem; }
.mine__stones--video li{ width: clamp(4.4rem, 6.4vw, 6.4rem); aspect-ratio: 1; cursor: pointer; }
.mine__stones--video li:last-child{ width: clamp(2.5rem, 3.6vw, 3.6rem); aspect-ratio: auto; }
.mine__stones--video button{ all: unset; display: block; position: relative; width: 100%; height: 100%; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.mine__stones--video button:focus-visible{ outline: 2px solid var(--ivory); outline-offset: 2px; }
.mine__stones--video img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.mine__stones--video i{
  position: absolute; left: 50%; top: 50%; width: 1.9rem; height: 1.9rem; margin: -.95rem 0 0 -.95rem;
  border-radius: 50%; background: rgba(10,8,6,.62);
}
.mine__stones--video i::after{ content: ''; position: absolute; left: .72rem; top: .5rem; border-left: .62rem solid var(--ivory); border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; }
.mine__stones--video li:hover{ opacity: 1; }
.mine__stones--video button:hover i{ background: var(--ivory); }
.mine__stones--video button:hover i::after{ border-left-color: var(--charcoal); }
@media (max-width: 62rem){
  .mine__stones--video li{ flex: 1 1 0; width: auto; aspect-ratio: 1; min-width: 0; }
  .mine__stones--video li:last-child{ flex: .56 1 0; aspect-ratio: auto; }
}
/* video viewer */
.vbox{ position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(10,8,6,.88); padding: 2rem; }
.vbox[hidden]{ display: none; }
.vbox__v{ max-width: min(92vw, 1100px); max-height: 86vh; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.vbox__x{
  position: absolute; top: 1rem; right: 1.2rem; width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: var(--ivory); color: var(--charcoal); font-size: 1.9rem; line-height: 1; cursor: pointer;
}

/* laptop: the slide headings stay on a single line; the paragraph keeps its own width */
@media (min-width: 62.01rem){
  .fly__layer--mining .fly__cap{ max-width: none; }
  .fly__layer--mining .fly__h{ white-space: nowrap; }
}

/* Downtown Refinery slide */
.mine__logo--dr{ width: clamp(4rem, 6vw, 5.6rem); filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.fly__layer--refinery .fly__p{ max-width: 40rem; font-size: clamp(.95rem, 1.2vw, 1.12rem); line-height: 1.6; }

/* ── The Crafting: heading and words centred, the GIA reports, photographs and videos around them ── */
.fly__layer--collage{
  display: grid; align-items: stretch; background: var(--ivory); gap: .5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr 1.7fr 1fr;
  padding: clamp(.6rem, 1.6vh, 1.2rem) clamp(.6rem, 1.6vw, 1.2rem);
}
.fly__layer--collage::after{ display: none; }
.craft__grid{ display: contents; list-style: none; margin: 0; padding: 0; }
.fly__layer--collage .fly__no{ display: none; }
.fly__layer--collage .fly__cap{
  grid-column: 2 / 4; grid-row: 2; align-self: center; margin: 0; max-width: none; padding: 0 clamp(.4rem, 1.4vw, 1.6rem);
  text-align: center; pointer-events: auto;
}
.fly__layer--collage .fly__h{ color: var(--charcoal); text-shadow: none; white-space: nowrap; margin-bottom: .7rem; }
.fly__layer--collage .fly__p{
  color: var(--charcoal); text-shadow: none; font-weight: 600; letter-spacing: .01em; max-width: none; margin-inline: auto;
  font-size: clamp(.95rem, 1.2vw, 1.12rem); line-height: 1.6;
}
.craft__grid li{ min-width: 0; min-height: 0; position: relative; }
.craft__grid li:nth-child(5){ grid-row: 2; grid-column: 1; }
.craft__grid li:nth-child(6){ grid-row: 2; grid-column: 4; }
.craft__grid button{
  all: unset; box-sizing: border-box; display: block; position: relative; width: 100%; height: 100%;
  cursor: zoom-in; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(26,26,26,.14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.craft__grid button:hover, .craft__grid button:focus-visible{ transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,26,26,.28); }
.craft__grid button:focus-visible{ outline: 2px solid var(--charcoal); outline-offset: 2px; }
.craft__grid img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.craft__grid li.cert button{ background: #fbfaf6; }
.craft__grid li.cert img{ object-fit: contain; object-position: 50% 50%; padding: .35rem; }
.craft__grid [data-video]{ cursor: pointer; }
.craft__grid i{ position: absolute; left: 50%; top: 50%; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-radius: 50%; background: rgba(10,8,6,.62); }
.craft__grid i::after{ content: ''; position: absolute; left: .95rem; top: .65rem; border-left: .75rem solid var(--ivory); border-top: .55rem solid transparent; border-bottom: .55rem solid transparent; }
.craft__grid button:hover i{ background: var(--ivory); }
.craft__grid button:hover i::after{ border-left-color: var(--charcoal); }
@media (max-width: 62rem){
  .fly__layer--collage{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)) auto repeat(3, minmax(0, 1fr)); padding: .6rem var(--pad) .6rem; gap: .3rem; }
  .fly__layer--collage .fly__cap{ grid-column: 1 / -1; grid-row: 3; align-self: center; padding: .5rem 0; margin: 0; text-align: center; }
  .fly__layer--collage .fly__h, .fly__layer--collage .fly__p{ text-align: center; margin-inline: auto; }
  .fly__layer--collage .fly__h{ white-space: normal; margin-bottom: .4rem; }
  .fly__layer--collage .fly__p{ font-size: .86rem; line-height: 1.45; font-weight: 600; }
  .craft__grid li:nth-child(5), .craft__grid li:nth-child(6){ grid-row: auto; grid-column: auto; }
}
/* the image in the viewer */
.vbox__i{ max-width: min(94vw, 1300px); max-height: 88vh; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.vbox__i[hidden], .vbox__v[hidden]{ display: none; }
.craft__grid li.cert button{ background: #fbfaf6; }
.craft__grid li.cert img{ object-position: 50% 50%; padding: .35rem; }

/* ── The Setting and Finishing: the photographs fill the whole frame as a collage, words stay as before ── */
.fin__grid{ position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); background: #fff; }
.fin__grid img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.fin__grid .sk{ object-fit: contain; background: #fff; }
.fin__grid .face{ object-position: 50% 80%; }
.fin__grid .wm{ object-position: 50% 22%; }
.fly__layer--mosaic::after{ background: linear-gradient(to right, rgba(10,8,6,.78), rgba(10,8,6,.5) 38%, rgba(10,8,6,.12) 62%, rgba(10,8,6,0) 80%); }
@media (max-width: 62rem){
  .fin__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .fly__layer--mosaic::after{ inset: 0; height: auto; background: linear-gradient(to top, rgba(10,8,6,.88) 0%, rgba(10,8,6,.78) 38%, rgba(10,8,6,.35) 62%, rgba(10,8,6,.1) 82%, rgba(10,8,6,0) 100%); }
}

/* phones: the first three photographs are tall versions (the original photograph in the middle,
   extended above and below), so they show whole rather than cropped */
@media (max-width: 62rem){
  .fly__layer--mining .fly__img{ object-position: 50% 50% !important; }
}

/* phones: every photograph row (Mining, Sourcing, Cut and Polish) has the same even spacing:
   one margin (--pad) at the sides and bottom, the same gap between tiles and above them */
@media (max-width: 62rem){
  .fly__layer--mining{ --gap: .5rem; --edge: var(--pad); --cols: 7; }
  .fly__layer--sourcing{ --cols: 5; }
  .fly__layer--cmr{ --cols: 4; }
  .fly__layer--mining .mine__stones{ left: var(--edge); right: var(--edge); bottom: var(--edge); gap: var(--gap); justify-content: stretch; }
  .fly__layer--mining .mine__stones li,
  .fly__layer--mining .mine__stones--video li,
  .fly__layer--mining .mine__stones--video li:last-child{ flex: 1 1 0; width: auto; min-width: 0; aspect-ratio: 1; }
  .fly__layer--mining .mine__stones--video li:last-child img{ object-fit: cover; }
  .fly__layer--mining .fly__cap{
    padding-bottom: calc(var(--edge) + ((100vw - 2 * var(--edge) - (var(--cols) - 1) * var(--gap)) / var(--cols)) + var(--edge));
  }
}

/* Setting and Finishing: the two hand photographs sit side by side at their natural portrait
   shape, joined as one picture (not zoomed in); the rest of the collage fits around them */
.fin__grid{ grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 54% 46%; gap: 0; }
.fin__grid img:nth-child(1){ grid-column: 1 / 4;  grid-row: 1; object-position: 50% 30%; }
.fin__grid img:nth-child(2){ grid-column: 4 / 7;  grid-row: 1; object-position: 50% 30%; }
.fin__grid img:nth-child(3){ grid-column: 7 / 13; grid-row: 1; object-position: 50% 78%; }
.fin__grid img:nth-child(4){ grid-column: 1 / 5;  grid-row: 2; }
.fin__grid img:nth-child(5){ grid-column: 5 / 9;  grid-row: 2; object-position: 50% 20%; }
.fin__grid img:nth-child(6){ grid-column: 9 / 13; grid-row: 2; }
@media (max-width: 62rem){
  .fin__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 36% 32% 32%; }
  .fin__grid img:nth-child(1){ grid-column: 1; grid-row: 1; }
  .fin__grid img:nth-child(2){ grid-column: 2; grid-row: 1; }
  .fin__grid img:nth-child(3){ grid-column: 1; grid-row: 2; object-position: 50% 78%; }
  .fin__grid img:nth-child(5){ grid-column: 2; grid-row: 2; object-position: 50% 20%; }
  .fin__grid img:nth-child(4){ grid-column: 1; grid-row: 3; }
  .fin__grid img:nth-child(6){ grid-column: 2; grid-row: 3; }
}

/* the two hand photographs are swapped so the wrists sit on the outside and the fingers point
   inward, reading as one whole picture of hands at the waist */
.fin__grid img:nth-child(1){ grid-column: 4 / 7; }
.fin__grid img:nth-child(2){ grid-column: 1 / 4; }
@media (max-width: 62rem){
  .fin__grid img:nth-child(1){ grid-column: 2; }
  .fin__grid img:nth-child(2){ grid-column: 1; }
}
/* the Sourcing slide has 5 tiles: its own spacing, not the Mining slide's 7 */
@media (max-width: 62rem){ .fly__layer--mining[style*="--cols:5"]{ --cols: 5; } }

/* phones: the frame is sized with lvh (the large viewport, which never changes while the address bar
   slides in and out), so the picture always fills the screen and nothing shifts during a swipe; each
   slide gets a full screen of scrolling so slides are not skipped */
@media (max-width: 62rem){
  @supports (height: 100lvh){
    .fly{ height: calc(100lvh - var(--nav-h) + (var(--n, 6) - 1) * 100lvh); }
    .fly__pin{ height: calc(100lvh - var(--nav-h)); }
  }
  .fly__layer{ transition-duration: .6s; }
}

/* phones: each slide simply cross-fades. No zoom and no sliding caption (that read as the picture
   "moving down"), and each slide is its own compositing layer so the fade is smooth */
@media (max-width: 62rem){
  .fly__layer{ will-change: opacity; transition: opacity .45s ease, visibility 0s linear .45s; }
  .fly__layer.is-active{ transition: opacity .45s ease, visibility 0s; }
  .fly__media, .fly__layer.is-active .fly__media{ transform: none; transition: none; }
  .fly__cap, .fly__layer.is-active .fly__cap{ transform: none; transition: opacity .45s ease; }
}

/* ── phones: the browser itself stops at every slide ─────────────────────────
   Six snap points, one screen of scrolling apart; "stop: always" means a hard flick can never carry
   the page past a slide. Switched on by script (html.snap-on) only while inside the journey. */
.fly__snap{ display: none; }
@media (max-width: 62rem){
  .fly{ --L: 100svh; }
  @supports (height: 100lvh){ .fly{ --L: 100lvh; } }
  .fly__snap{
    display: block; position: absolute; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none;
    top: calc(var(--i) * var(--L)); scroll-snap-align: start; scroll-snap-stop: always;
  }
  html.snap-on{ scroll-snap-type: y mandatory; scroll-padding-top: var(--nav-h); }
}

/* ── The Crafting: its own video slide (words unchanged) ── */
.fly__layer--crafting .fly__img{ object-fit: cover; }

/* ── Gallery: the GIA reports, photographs and videos as their own slide, no words ── */
.fly__layer--gallery{ display: flex; align-items: stretch; background: var(--ivory); padding: clamp(.6rem, 1.6vh, 1.2rem); }
.fly__layer--gallery .craft__grid{
  display: grid; position: relative; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem;
}
.fly__layer--gallery .craft__grid li{ grid-row: auto !important; grid-column: auto !important; min-width: 0; min-height: 0; }
@media (max-width: 62rem){
  .fly__layer--gallery .craft__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: .4rem; }
}

/* ── Setting and Finishing: the three photographs from the new set ── */
.fin__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-template-rows: minmax(0, 1fr) !important; gap: 0; }
.fin__grid img{ grid-column: auto !important; grid-row: auto !important; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 62rem){
  .fin__grid{ grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: repeat(3, minmax(0, 1fr)) !important; }
}

/* The Crafting: heading and paragraph in the same place as the other slides (bottom left) */
.fly__layer--crafting .fly__cap{ margin: 0 0 clamp(2.2rem, 7vh, 4.5rem) clamp(1.5rem, 8vw, 8rem); max-width: 40rem; text-align: left; }
.fly__layer--crafting .fly__p{ margin-inline: 0; }
@media (max-width: 62rem){
  .fly__layer--crafting .fly__cap{ margin: 0 var(--pad); max-width: none; padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + 2.5rem); }
}

/* The Crafting: the text sits at the bottom left, the same place as the other slides */
.fly__layer--crafting{ align-items: flex-end; }
.fly__layer--crafting .fly__cap{ position: relative; margin: 0 0 clamp(2.2rem, 7vh, 4.5rem) clamp(1.5rem, 8vw, 8rem); max-width: 40rem; text-align: left; }
@media (max-width: 62rem){
  .fly__layer--crafting .fly__cap{ margin: 0 var(--pad); max-width: none; padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + 2.5rem); }
}

/* The Crafting paragraph: open line spacing so the lines do not sit on top of each other */
.fly__layer--crafting .fly__p{ line-height: 1.75; margin-top: .4rem; }
@media (max-width: 62rem){ .fly__layer--crafting .fly__p{ line-height: 1.6; } }

/* The Crafting: same text block as the other slides; paragraph with normal, even line spacing */
.fly__layer--crafting .fly__h{ margin-bottom: 1.2rem; }
.fly__layer--crafting .fly__p{ line-height: 1.7; max-width: 34rem; margin-top: 0; }
@media (max-width: 62rem){
  .fly__layer--crafting .fly__p{ line-height: 1.55; max-width: none; font-size: 1.02rem; }
  .fly__layer--crafting .fly__cap{ padding-bottom: calc(clamp(2rem, 6vh, 3.5rem) + 2.5rem); }
  .fly__layer--crafting .fly__img{ object-position: 66% 50%; }
}

/* The Crafting paragraph: wider measure so it runs in fewer, longer lines across the slide */
.fly__layer--crafting .fly__p{ max-width: 58rem; }
@media (max-width: 62rem){ .fly__layer--crafting .fly__p{ max-width: none; } }

/* phones, The Crafting: the picture sits higher so the ring is clear of the words */
@media (max-width: 62rem){
  .fly__layer--crafting .fly__media{ top: -24% !important; bottom: auto !important; height: 124% !important; }
  .fly__layer--crafting .fly__img{ position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* laptop: The Crafting picture is enlarged around the hands and ring; Cut and Polish sits a little higher */
@media (min-width: 62.01rem){
  .fly__layer--crafting .fly__media{ transform: scale(1.12); transform-origin: 62% 52%; }
  .fly__layer--crafting .fly__img{ object-position: 62% 50%; }
  .fly__layer--cmr .fly__media{ top: -7% !important; bottom: auto !important; height: 107% !important; }
}

/* phones, The Setting and Finishing: black panel with the three photographs shown whole and neatly
   spaced across the top; heading and paragraph sit below on the black */
@media (max-width: 62rem){
  .fly__layer--mosaic{ background: #000 !important; }
  .fly__layer--mosaic::after{ display: none !important; }
  .fly__layer--mosaic .fly__media{ position: absolute; top: 0; left: 0; right: 0; height: 58%; background: #000; }
  .fin__grid{
    position: absolute; inset: 0; display: grid !important; background: #000;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-template-rows: minmax(0, 1fr) !important;
    gap: 8px; padding: 14px 12px;
  }
  .fin__grid img{ width: 100%; height: 100% !important; object-fit: contain !important; object-position: 50% 50%; background: #000; }
  .fly__layer--mosaic .fly__cap{ position: absolute; left: var(--pad); right: var(--pad); top: 61%; bottom: auto; margin: 0; padding: 0; max-width: none; text-align: left; }
  .fly__layer--mosaic .fly__h{ font-size: clamp(2.2rem, 10vw, 2.9rem); margin: 0 0 .5rem; }
  .fly__layer--mosaic .fly__p{ font-size: .92rem; line-height: 1.55; margin: 0; }
}

/* phones, The Setting and Finishing: the three photographs as one horizontal strip on black,
   fitted to the screen width so they sit neatly side by side */
@media (max-width: 62rem){
  .fly__layer--mosaic{ background: #000 !important; }
  .fly__layer--mosaic::after{ display: none !important; }
  .fly__layer--mosaic .fly__media{ position: absolute; top: 0; left: 0; right: 0; height: 58%; background: #000; }
  .fin__grid{ position: absolute; inset: 0; background: #000; display: flex !important; align-items: center; justify-content: center; }
  .fin__grid img{ display: none !important; }
  .fin__grid::before{
    content: ''; display: block; width: 100%; height: 100%;
    background: #000 url('../img/finish/strip-mobile.jpg') center / contain no-repeat;
  }
  .fly__layer--mosaic .fly__cap{ position: absolute; left: var(--pad); right: var(--pad); top: 61%; bottom: auto; margin: 0; padding: 0; max-width: none; text-align: left; }
  .fly__layer--mosaic .fly__h{ font-size: clamp(2.2rem, 10vw, 2.9rem); margin: 0 0 .5rem; }
  .fly__layer--mosaic .fly__p{ font-size: .92rem; line-height: 1.55; margin: 0; }
}

/* phones, The Setting and Finishing: the three photographs fill the whole screen side by side;
   the heading and paragraph sit on a solid black band at the bottom */
@media (max-width: 62rem){
  .fly__layer--mosaic{ background: #000 !important; }
  .fly__layer--mosaic::after{ display: none !important; }
  .fly__layer--mosaic .fly__media{ position: absolute !important; inset: 0 !important; height: auto !important; top: 0 !important; background: #000; }
  .fin__grid{ position: absolute !important; inset: 0 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-template-rows: minmax(0, 1fr) !important; gap: 0 !important; padding: 0 !important; background: #000; }
  .fin__grid::before{ content: none !important; display: none !important; }
  .fin__grid img{ display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 30%; }
  .fly__layer--mosaic .fly__cap{ position: absolute !important; left: 0; right: 0; bottom: 0; top: auto !important; margin: 0 !important; padding: clamp(1.4rem, 4vh, 2.2rem) var(--pad) calc(clamp(2rem, 6vh, 3.5rem) + 2.5rem) !important; max-width: none !important; text-align: left; background: #000; }
  .fly__layer--mosaic .fly__h{ font-size: clamp(2.2rem, 10vw, 2.9rem); margin: 0 0 .5rem; }
  .fly__layer--mosaic .fly__p{ font-size: .92rem; line-height: 1.55; margin: 0; }
}

/* phones, The Setting and Finishing: each photograph shown whole (not cropped), centred in its column on black */
@media (max-width: 62rem){
  .fin__grid img{ object-fit: contain !important; object-position: 50% 50% !important; background: #000; }
}

/* phones, The Setting and Finishing: the three photographs as one full-screen image (stacked);
   heading and paragraph stay at the bottom on a soft fade */
@media (max-width: 62rem){
  .fly__layer--mosaic{ background: #000 !important; }
  .fly__layer--mosaic .fly__media{ position: absolute !important; inset: 0 !important; height: auto !important; top: 0 !important; background: #000; }
  .fin__grid{ position: absolute !important; inset: 0 !important; display: block !important; padding: 0 !important; gap: 0 !important; background: #000; }
  .fin__grid img{ display: none !important; }
  .fin__grid::before{
    content: '' !important; display: block !important; position: absolute; inset: 0;
    background: #000 url('../img/finish/set-stack-phone.jpg') center / cover no-repeat !important;
  }
  .fly__layer--mosaic .fly__cap{ background: linear-gradient(to top, rgba(10,8,6,.92) 0%, rgba(10,8,6,.65) 60%, rgba(10,8,6,0) 100%) !important; }
}

/* phones, The Setting and Finishing: no dark fade over the bottom photograph; the words keep a soft shadow instead */
@media (max-width: 62rem){
  .fly__layer--mosaic .fly__cap{ background: none !important; }
  .fly__layer--mosaic .fly__h, .fly__layer--mosaic .fly__p{ text-shadow: 0 2px 14px rgba(0,0,0,.55); }
}

/* phones, The Setting and Finishing: a little more shadow behind the words */
@media (max-width: 62rem){
  .fly__layer--mosaic .fly__h, .fly__layer--mosaic .fly__p{ text-shadow: 0 2px 10px rgba(0,0,0,.8), 0 0 4px rgba(0,0,0,.5); }
}

/* phones, The Setting and Finishing: stronger shadow behind the words */
@media (max-width: 62rem){
  .fly__layer--mosaic .fly__h, .fly__layer--mosaic .fly__p{ text-shadow: 0 3px 16px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.7); }
}

/* phones, The Setting and Finishing: a light shadow rising from the bottom edge (the photos keep their colours) */
@media (max-width: 62rem){
  .fly__layer--mosaic::after{
    display: block !important; content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 100%) !important;
  }
  .fly__layer--mosaic .fly__cap{ z-index: 2; }
}

/* phones, The Setting and Finishing: the light bottom-up shadow is part of the photo's own background
   (no separate overlay, so no edge line across the photographs) */
@media (max-width: 62rem){
  .fly__layer--mosaic::after{ display: none !important; }
  .fin__grid::before{
    background-color: #000 !important;
    background-image: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,0) 62%), url('../img/finish/set-stack-phone.jpg') !important;
    background-position: center, center !important; background-size: cover, cover !important; background-repeat: no-repeat, no-repeat !important;
  }
}

/* smoother scrolling: each slide is its own paint layer, so a fade or a move never repaints the rest of the page;
   the photographs are promoted only while they are on screen */
.fly__layer{ contain: layout paint; }
.fly__layer.is-active .fly__media{ will-change: transform; }
.fly__media{ backface-visibility: hidden; }
@media (max-width: 62rem){
  .fly__layer{ -webkit-backface-visibility: hidden; }
}

/* phones: the journey is one frame that stays on screen under the header while the slides fade through it.
   The section is one screen per slide tall, so the frame holds still for each slide's scrolling. */
@media (max-width: 62rem){
  #journey{ --F: calc(100svh - var(--nav-h)); height: calc(var(--n, 7) * var(--F)); }
  #journey > .fly__pin{ position: sticky; top: var(--nav-h); height: var(--F); min-height: 0; overflow: hidden; }
  #journey > .fly__pin > .fly__layer{ position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* phones: no sideways scrolling anywhere; the journey fades top to bottom like the laptop.
   overflow-x: clip stops the page scrolling sideways without breaking the sticky frame. */
@media (max-width: 62rem){
  html, body{ overflow-x: clip; max-width: 100%; }
  #journey, #journey > .fly__pin{ overflow-x: clip; }
  .story, .story__hang{ max-width: 100%; }
}

/* ── phones: stacked slides on normal page scroll (replaces the pinned frame on phones only) ── */
@media (max-width: 62rem){
  #journey{ height: auto !important; overflow: visible !important; }
  #journey > .fly__pin{ position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important; overflow: visible !important; }
  #journey.is-stacked > .fly__pin > .fly__layer{
    position: relative !important; inset: auto !important; width: 100% !important; height: calc(100svh - var(--nav-h)) !important; min-height: 30rem;
    opacity: 1 !important; visibility: visible !important; transition: none !important; overflow: hidden;
  }
  #journey.is-stacked > .fly__pin > .fly__layer .fly__media{ transform: none !important; transition: none !important; }
  #journey.is-stacked > .fly__pin > .fly__layer .fly__cap{ opacity: 0; transform: translateY(26px); transition: opacity .9s ease .15s, transform .9s cubic-bezier(.2,.7,.2,1) .15s !important; }
  #journey.is-stacked > .fly__pin > .fly__layer.is-in .fly__cap{ opacity: 1; transform: none; }
  #journey.is-stacked > .fly__snap{ display: none !important; }
}

/* ── phones: stacked cards. Each photo stays in place and the next one rises over it, driven by the scroll. ── */
@media (max-width: 62rem){
  #journey{ --F: calc(100svh - var(--nav-h)); height: calc(var(--F) + (var(--n, 7) - 1) * var(--F) * .5) !important; overflow: visible !important; }
  #journey > .fly__pin{ position: sticky !important; top: var(--nav-h) !important; height: var(--F) !important; min-height: 0 !important; overflow: hidden !important; }
  #journey > .fly__pin > .fly__layer{ position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; opacity: 1 !important; visibility: visible !important; transition: none !important; box-shadow: 0 -12px 28px rgba(0,0,0,.28); will-change: transform; }
  #journey > .fly__pin > .fly__layer:first-child{ box-shadow: none; }
  #journey > .fly__pin > .fly__layer .fly__media{ transform: none !important; transition: none !important; }
  #journey > .fly__pin > .fly__layer .fly__cap{ transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* phones: the thumbnail strips sit above the stacked cards (moved up into the frame by the script) */
@media (max-width: 62rem){

}

/* ── phones: premium motion and tray (text and images unchanged) ─────────────────────────────── */
@media (max-width: 62rem){
  /* the thumbnail tray: equal squares, the same height on every slide, no dimming that sticks after a tap */
  #journey > .fly__pin > .mine__stones li,
  #journey > .fly__pin > .craft__grid li{ border-radius: 2px; }
  @media (hover: none){
    #journey > .fly__pin > .mine__stones li{ opacity: 1 !important; }
    #journey > .fly__pin > .mine__stones:hover li{ opacity: 1 !important; }
  }

  /* enlarged view: a sheet above the tray, not a card over the middle of the photograph */
  #journey .mine__stones .big{ left: 0 !important; right: 0 !important; width: auto !important; height: auto !important; max-height: 60vh; aspect-ratio: auto !important; transform: none !important; bottom: calc(100% + .75rem) !important; object-fit: contain; }
}

/* ── every screen size: stacked cards, smoothed motion, arrival fade, snap points ── */
#journey{ --F: calc(100svh - var(--nav-h)); height: calc(var(--F) + (var(--n, 7) - 1) * var(--F) * .5) !important; overflow: visible !important; }
#journey > .fly__pin{ position: sticky !important; top: var(--nav-h) !important; height: var(--F) !important; min-height: 0 !important; overflow: hidden !important; }
#journey > .fly__pin > .fly__layer{ position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; opacity: 1 !important; visibility: visible !important; transition: none !important; box-shadow: 0 -12px 28px rgba(0,0,0,.28); will-change: transform; }
#journey > .fly__pin > .fly__layer:first-child{ box-shadow: none; }
  /* the shade on the cards underneath (driven by --shade from the script) */
#journey > .fly__pin > .fly__layer::after{ content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(0,0,0,var(--shade, 0)); }
#journey > .fly__pin > .fly__layer{ will-change: transform; }

/* arrival: the photo stays still; heading and paragraph fade up after the card lands */
#journey > .fly__pin > .fly__layer .fly__cap{ opacity: 1 !important; transform: none !important; transition: none !important; }
#journey > .fly__pin > .fly__layer .fly__h,
#journey > .fly__pin > .fly__layer .fly__p{ opacity: 0; transform: translate3d(0,12px,0); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
#journey > .fly__pin > .fly__layer .fly__p{ transition-delay: .08s; }
#journey > .fly__pin > .fly__layer.is-active .fly__h,
#journey > .fly__pin > .fly__layer.is-active .fly__p{ opacity: 1; transform: none; }

/* the first photograph eases in, a deliberate start */
#journey > .fly__pin > .fly__layer:first-child .fly__media{ animation: fly-kb 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fly-kb{ from{ transform: scale(1.06); } to{ transform: scale(1); } }

/* snap points: one per slide, at the same spacing as the scroll; snapping is on only inside the journey */
#journey > .fly__snap{ display: block !important; position: absolute; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; top: calc(var(--i) * var(--F) * .5); scroll-snap-align: start; scroll-snap-stop: always; }
html.snap-on{ scroll-snap-type: y mandatory !important; scroll-padding-top: var(--nav-h); }


/* ── phones: swipe deck (one frame; the photographs are cards you swipe sideways) ── */
@media (max-width: 62rem){
  #journey{ --F: calc(100svh - var(--nav-h)); height: var(--F) !important; overflow: hidden !important; }
  #journey > .fly__pin{ position: relative !important; top: auto !important; height: var(--F) !important; overflow: hidden !important; touch-action: pan-y; }
  #journey > .fly__snap{ display: none !important; }
  #journey > .fly__pin > .fly__layer{ box-shadow: 0 8px 30px rgba(0,0,0,.35); user-select: none; -webkit-user-select: none; backface-visibility: hidden; }
  #journey > .fly__pin > .fly__layer:first-child{ box-shadow: 0 8px 30px rgba(0,0,0,.35); }
  #journey .fly__img{ -webkit-user-drag: none; pointer-events: none; }
  html.snap-on{ scroll-snap-type: none !important; }
}

/* phones: swipe cues */
@media (max-width: 62rem){
  .swipe-dots{ position: absolute; z-index: 40; top: .75rem; left: 0; right: 0; display: flex; justify-content: center; gap: .4rem; pointer-events: none; }
  .swipe-dots i{ display: block; width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); box-shadow: 0 1px 4px rgba(0,0,0,.45); transition: width .35s ease, background .35s ease; }
  .swipe-dots i.on{ width: 20px; background: var(--gold); }
  .swipe-hint{ position: absolute; z-index: 40; right: .9rem; top: 46%; display: flex; gap: .25rem; pointer-events: none; transition: opacity .5s ease; }
  .swipe-hint.gone{ opacity: 0; }
  .swipe-hint i{ display: block; width: .7rem; height: .7rem; border-top: 2px solid rgba(255,255,255,.95); border-right: 2px solid rgba(255,255,255,.95); transform: rotate(45deg); filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); animation: swipe-pulse 1.6s ease-in-out infinite; }
  .swipe-hint i:nth-child(2){ animation-delay: .18s; }
  .swipe-hint i:nth-child(3){ animation-delay: .36s; }
  @keyframes swipe-pulse{ 0%,100%{ opacity: .25; transform: translateX(0) rotate(45deg); } 50%{ opacity: 1; transform: translateX(-6px) rotate(45deg); } }
}

/* gallery: the frame sets the row heights, so all ten tiles fit and nothing is cut at the bottom */
.fly__layer--gallery .craft__grid li{ min-height: 0; overflow: hidden; }
.fly__layer--gallery .craft__grid li > button{ position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.fly__layer--gallery .craft__grid{ grid-template-rows: repeat(2, minmax(0, 1fr)); }
@media (max-width: 62rem){
  .fly__layer--gallery .craft__grid{ grid-template-rows: repeat(5, minmax(0, 1fr)); }
}
.fly__layer--gallery .craft__grid{ grid-template-rows: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: minmax(0, 1fr) !important; align-content: stretch; }
@media (max-width: 62rem){
  .fly__layer--gallery .craft__grid{ grid-template-rows: repeat(5, minmax(0, 1fr)) !important; }
}

/* ── journey type: the site's own luxury serif (Cormorant Garamond) for every slide heading and paragraph,
   with a soft layered shadow in place of the hard outline so the words stay clear on any photograph ── */
#journey .fly__h{
  font-family: var(--serif); font-weight: 500; letter-spacing: .02em; line-height: 1.02;
  text-shadow: 0 2px 22px rgba(0,0,0,.72), 0 1px 5px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.5);
}
#journey .fly__p{
  font-family: var(--serif); font-weight: 500; letter-spacing: .012em;
  font-size: clamp(1.18rem, 1.55vw, 1.42rem); line-height: 1.5; color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,.8), 0 1px 4px rgba(0,0,0,.85);
}
@media (max-width: 62rem){
  #journey .fly__p{ font-size: 1.12rem; line-height: 1.45; }
}

/* journey type, stronger: heavier weight, firmer shadow, and a soft scrim only behind the words (bottom of each photograph) */
#journey .fly__h{
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 0 3px rgba(0,0,0,.9), 0 4px 28px rgba(0,0,0,.75);
}
#journey .fly__p{
  font-weight: 600; font-size: clamp(1.22rem, 1.6vw, 1.46rem);
  text-shadow: 0 1px 6px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.9), 0 2px 20px rgba(0,0,0,.8);
}
@media (max-width: 62rem){
  #journey .fly__p{ font-size: 1.16rem; }
}
#journey > .fly__pin > .fly__layer:not(.fly__layer--mosaic):not(.fly__layer--gallery)::before{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,8,6,.78) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,0) 100%);
}
@media (min-width: 62.01rem){
  #journey > .fly__pin > .fly__layer:not(.fly__layer--mosaic):not(.fly__layer--gallery)::before{
    height: 100%; background: linear-gradient(to right, rgba(10,8,6,.72) 0%, rgba(10,8,6,.45) 38%, rgba(10,8,6,0) 68%), linear-gradient(to top, rgba(10,8,6,.5), rgba(10,8,6,0) 40%);
  }
}

/* The Setting and Finishing: heading and paragraph match every other slide (size, spacing, shadow) on laptop and phone */
#journey .fly__layer--mosaic .fly__h{ font-size: clamp(3rem, 8vw, 6.5rem); margin: 0 0 1.2rem; line-height: 1.02; }
#journey .fly__layer--mosaic .fly__p{ font-size: clamp(1.22rem, 1.6vw, 1.46rem); line-height: 1.5; margin: 0; }
@media (max-width: 62rem){
  #journey .fly__layer--mosaic .fly__h{ font-size: clamp(2.6rem, 13vw, 3.6rem); }
  #journey .fly__layer--mosaic .fly__p{ font-size: 1.16rem; line-height: 1.45; }
  #journey .fly__layer--mosaic .fly__cap{ padding: 0 0 calc(clamp(2rem, 6vh, 3.5rem) + 2.5rem) !important; margin: 0 var(--pad) !important; left: auto; right: auto; }
}

/* laptop: The Setting and Finishing gets the same soft side shadow as the other slides */
@media (min-width: 62.01rem){
  #journey > .fly__pin > .fly__layer--mosaic::before{
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to right, rgba(10,8,6,.72) 0%, rgba(10,8,6,.45) 38%, rgba(10,8,6,0) 68%), linear-gradient(to top, rgba(10,8,6,.5), rgba(10,8,6,0) 40%);
  }
}

/* ── one frame, slideshow fades (laptop and phone): the frame holds still while each photograph fades into the next ── */
#journey{ --F: calc(100svh - var(--nav-h)); height: calc(var(--F) + (var(--n, 7) - 1) * var(--F) * .7) !important; overflow: visible !important; }
#journey > .fly__pin{ position: sticky !important; top: var(--nav-h) !important; height: var(--F) !important; min-height: 0 !important; overflow: hidden !important; touch-action: auto !important; }
#journey > .fly__pin > .fly__layer{ position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; box-shadow: none !important; transition: none !important; will-change: opacity; }
#journey > .fly__pin > .fly__layer .fly__h,
#journey > .fly__pin > .fly__layer .fly__p{ opacity: 1 !important; transform: none !important; transition: none !important; }
#journey > .fly__pin > .fly__layer:first-child .fly__media{ animation: none; }
.swipe-dots, .swipe-hint{ display: none !important; }
#journey > .fly__snap{ display: none !important; }
html.snap-on{ scroll-snap-type: none !important; }

/* ── phone steadiness: the frame follows the visible screen (dvh) while the scroll length is fixed to the tallest screen (lvh),
   so the address bar hiding never leaves empty space; only nearby slides are kept ready; touch screens snap natively ── */
#journey{ --Fl: var(--F); }
@supports (height: 100dvh){ #journey{ --F: calc(100dvh - var(--nav-h)); --Fl: var(--F); } }
@supports (height: 100lvh){ #journey{ --Fl: calc(100lvh - var(--nav-h)); } }
#journey{ height: calc(var(--Fl) + (var(--n, 7) - 1) * var(--Fl) * .7) !important; }
#journey > .fly__pin > .fly__layer{ will-change: auto; }
#journey > .fly__pin > .fly__layer.is-warm{ will-change: transform; }
@media (pointer: coarse){
  html{ scroll-snap-type: y proximity; scroll-padding-top: var(--nav-h); }
  #journey{ position: relative; }
  #journey > .fly__snap{ display: block !important; position: absolute; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; top: calc(var(--i) * var(--Fl) * .7); scroll-snap-align: start; scroll-snap-stop: normal; }
}
@media (max-width: 62rem){
  #journey .fly__h{ text-shadow: 0 2px 14px rgba(0,0,0,.9); }
  #journey .fly__p{ text-shadow: 0 1px 10px rgba(0,0,0,.95); }
}

/* ── phone: one still frame, swipe crossfade (no pinned scroll, so no lag and no address-bar gap) ── */
@media (max-width: 62rem){
  html{ scroll-snap-type: none !important; }
  #journey > .fly__snap{ display: none !important; }
  #journey{ height: var(--F) !important; }
  #journey > .fly__pin{ position: relative !important; top: auto !important; touch-action: pan-y !important; }
  #journey.is-swipe > .fly__pin > .fly__layer{ will-change: opacity, transform; }
  .sw-dots{ position: absolute; top: 14px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
  .sw-dots i{ width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); box-shadow: 0 1px 4px rgba(0,0,0,.5); transition: background .4s ease, transform .4s ease; }
  .sw-dots i.on{ background: var(--gold); transform: scale(1.5); }
  .sw-hint{ position: absolute; right: 14px; top: 50%; z-index: 6; transform: translateY(-50%); pointer-events: none; color: #fff; font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.8); display: flex; align-items: center; gap: .5rem; animation: sw-nudge 2.2s ease-in-out infinite; transition: opacity .5s ease; }
  .sw-hint::after{ content: '\203A'; font-size: 1.3rem; line-height: 1; color: var(--gold); }
  .sw-hint.is-off{ opacity: 0; animation: none; }
}
@keyframes sw-nudge{ 0%,100%{ transform: translate(0,-50%); } 50%{ transform: translate(-8px,-50%); } }

/* swipe crossfade: the words fade on their own schedule (out before halfway, in after it) so they never overlap */
#journey.is-swipe > .fly__pin > .fly__layer .fly__h,
#journey.is-swipe > .fly__pin > .fly__layer .fly__p{ opacity: var(--tx, 1) !important; transform: translateY(calc((1 - var(--tx, 1)) * 8px)) !important; }
#journey.is-swipe > .fly__pin > .fly__layer.sw-out .fly__h,
#journey.is-swipe > .fly__pin > .fly__layer.sw-out .fly__p{ transition: opacity .25s ease, transform .25s ease !important; }
#journey.is-swipe > .fly__pin > .fly__layer.sw-in .fly__h,
#journey.is-swipe > .fly__pin > .fly__layer.sw-in .fly__p{ transition: opacity .35s ease .2s, transform .35s ease .2s !important; }
@media (max-width: 62rem){
  /* position dots and hint: clearer on bright photographs */
  .sw-dots{ top: 18px; }
  .sw-dots i{ width: 6px; height: 6px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(26,26,26,.35), 0 1px 5px rgba(0,0,0,.55); transition: width .45s cubic-bezier(.2,.8,.2,1), background .4s ease; }
  .sw-dots i.on{ width: 18px; border-radius: 3px; transform: none; background: var(--gold); }
  .sw-hint{ font-size: .68rem; }
  .sw-hint::before{ content: ''; position: absolute; inset: -30px -14px; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); z-index: -1; }
  #journey > .fly__pin::before{ content: ''; position: absolute; inset: 0 0 auto 0; height: 80px; background: linear-gradient(rgba(0,0,0,.32), transparent); z-index: 5; pointer-events: none; }
}

/* phone: when the visitor stops near the story, the frame glides to sit exactly under the header */
@media (max-width: 62rem){
  html{ scroll-snap-type: y proximity !important; scroll-padding-top: var(--nav-h); }
  #journey{ scroll-snap-align: start; }
}

/* the thumbnail strips follow the same schedule as the words, so two strips never blend into a smear */
#journey.is-swipe > .fly__pin > .fly__layer .mine__stones{ opacity: var(--tx, 1) !important; }
#journey.is-swipe > .fly__pin > .fly__layer.sw-out .mine__stones{ transition: opacity .25s ease !important; }
#journey.is-swipe > .fly__pin > .fly__layer.sw-in .mine__stones{ transition: opacity .35s ease .2s !important; }

/* narrow desktop windows (mouse): dots are clickable and the frame takes keyboard focus */
@media (max-width: 62rem) and (hover: hover) and (pointer: fine){
  .sw-dots{ pointer-events: auto; }
  .sw-dots i{ cursor: pointer; }
  .sw-dots i::before{ content: ''; position: absolute; inset: -8px -4px; }
  .sw-dots i{ position: relative; }
  #journey > .fly__pin{ cursor: grab; user-select: none; }
}
#journey > .fly__pin:focus-visible{ outline: 2px solid var(--gold); outline-offset: -4px; }
/* short landscape phones: the words get compact so the heading is never clipped */
@media (max-width: 62rem) and (max-height: 30rem){
  #journey .fly__cap{ padding-top: 1.6rem; }
  #journey .fly__h{ font-size: clamp(1.6rem, 6vh, 2.2rem); }
  #journey .fly__p{ font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce){
  .sw-hint{ animation: none; }
  .sw-dots i{ transition: none; }
  #journey.is-swipe > .fly__pin > .fly__layer .fly__h, #journey.is-swipe > .fly__pin > .fly__layer .fly__p{ transition: none !important; transform: none !important; }
}

/* smoothness: the position dots change colour only (no width animation, so no layout during a swipe) */
@media (max-width: 62rem){
  .sw-dots i{ transition: background .4s ease; }
}

/* "Our Diamond, Your Story": the necklace is a still photograph hanging from the top-left corner (no swing, no shadow);
   its white backdrop melts into the ivory page and the section edge crops the top of the chain */
.story__hang{
  --nw: clamp(16rem, 28vw, 27rem);
  left: -3.5rem !important; right: auto !important; top: -8rem !important;
  transform: none !important; animation: none !important; filter: none !important;
  mix-blend-mode: multiply;
}
.story__hang img{ transform: none !important; }
@media (max-width: 75rem){
  .story__hang{ --nw: 9rem; left: auto !important; right: -1.6rem !important; top: -3rem !important; }
}
@media (max-width: 46rem){ .story__hang{ --nw: 7rem; top: -2.4rem !important; } }

/* laptop: a faded slideshow. The chapter being entered fades in on top while the one being left stays whole underneath,
   then it is released: no dip to the background and nothing jumps. */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer{
    opacity: 0 !important; visibility: hidden !important; z-index: 1 !important; transform: none !important; box-shadow: none !important;
    transition: opacity 0s linear .75s, visibility 0s linear .75s !important; will-change: opacity;
  }
  #journey.is-fade > .fly__pin > .fly__layer.is-active{
    opacity: 1 !important; visibility: visible !important; z-index: 2 !important;
    transition: opacity .75s cubic-bezier(.4,0,.2,1), visibility 0s !important;
  }
}
@media (prefers-reduced-motion: reduce){
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: opacity .2s linear, visibility 0s !important; }
}

/* laptop fade: the words of the chapter being left clear quickly, the new words arrive once the photograph is mostly in */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer .mine__stones{ opacity: 0 !important; transition: opacity .22s ease !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ opacity: 1 !important; transition: opacity .5s ease .35s !important; }
}

/* The Setting and Finishing: no zoom, so the three photographs are never cropped at the sides */
#journey .fly__layer--mosaic .fly__media,
#journey .fly__layer--mosaic.is-active .fly__media{ transform: none !important; transition: none !important; animation: none !important; }

/* laptop: no fading at all. A chapter simply appears and the previous one is gone (still one at a time, never skipped) */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer,
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: none !important; }
  #journey.is-fade > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer .mine__stones,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ transition: none !important; }
}
@media (prefers-reduced-motion: reduce){
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: none !important; }
}

/* laptop: a quiet, luxurious change of chapter. The new photograph eases in over the old one (which stays whole underneath,
   so there is never a dip), and only then does the heading rise a few pixels into place. The old words leave at once, so two
   sets of words are never on screen together. No zoom, no sweep. */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer{ transition: opacity 0s linear .5s, visibility 0s linear .5s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: opacity .5s cubic-bezier(.25,.1,.25,1), visibility 0s !important; }
  #journey.is-fade > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer .fly__p{ opacity: 0 !important; transform: translateY(12px) !important; transition: none !important; }
  #journey.is-fade > .fly__pin > .fly__layer .mine__stones{ opacity: 0 !important; transition: none !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h{ opacity: 1 !important; transform: none !important; transition: opacity .6s ease .2s, transform .7s cubic-bezier(.2,.7,.2,1) .2s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p{ opacity: 1 !important; transform: none !important; transition: opacity .6s ease .32s, transform .7s cubic-bezier(.2,.7,.2,1) .32s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ opacity: 1 !important; transition: opacity .6s ease .45s !important; }
}
@media (prefers-reduced-motion: reduce){
  #journey.is-fade > .fly__pin > .fly__layer.is-active,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ transition: none !important; transform: none !important; }
}

/* laptop: Mining gets a lead-in (half a slide of extra scrolling) so it is not skipped as the frame pins */
@media (min-width: 62.01rem){
  #journey{ height: calc(var(--Fl) + (var(--n, 7) - 1 + .5) * var(--Fl) * .7) !important; }
}
/* laptop: slower, softer luxury timing for the change of chapter */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer{ transition: opacity 0s linear .8s, visibility 0s linear .8s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: opacity .8s cubic-bezier(.45,.05,.25,1), visibility 0s !important; }
  #journey.is-fade > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer .fly__p{ transform: translateY(16px) !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h{ transition: opacity .9s cubic-bezier(.22,.61,.36,1) .28s, transform 1.1s cubic-bezier(.16,1,.3,1) .28s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p{ transition: opacity .9s cubic-bezier(.22,.61,.36,1) .46s, transform 1.1s cubic-bezier(.16,1,.3,1) .46s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ transition: opacity .9s cubic-bezier(.22,.61,.36,1) .7s !important; }
}
@media (prefers-reduced-motion: reduce){
  #journey.is-fade > .fly__pin > .fly__layer.is-active,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p,
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ transition: none !important; transform: none !important; }
}

/* laptop: while the picture is catching up with a fast scroll, the chapters in between change quickly and plainly */
@media (min-width: 62.01rem){
  #journey.is-fade.is-quick > .fly__pin > .fly__layer{ transition: opacity 0s linear .2s, visibility 0s linear .2s !important; }
  #journey.is-fade.is-quick > .fly__pin > .fly__layer.is-active{ transition: opacity .18s linear, visibility 0s !important; }
  #journey.is-fade.is-quick > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade.is-quick > .fly__pin > .fly__layer .fly__p,
  #journey.is-fade.is-quick > .fly__pin > .fly__layer .mine__stones{ transition: none !important; transform: none !important; }
}

/* The Crafting: sound button (the music itself only plays once the visitor taps it) */
.sound{
  position: absolute; right: clamp(1rem, 2.4vw, 2rem); bottom: clamp(1.4rem, 4vh, 2.4rem); z-index: 8;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(12,10,8,.42); border: 1px solid rgba(201,162,39,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}
.sound:hover{ background: rgba(12,10,8,.62); border-color: var(--gold, #C9A227); transform: scale(1.06); }
.sound:focus-visible{ outline: 2px solid var(--gold, #C9A227); outline-offset: 3px; }
.sound .sound__on{ display: none; }
.sound[aria-pressed="true"] .sound__off{ display: none; }
.sound[aria-pressed="true"] .sound__on{ display: block; color: var(--gold, #C9A227); }
@media (max-width: 62rem){ .sound{ bottom: 1.6rem; right: 1rem; } }

/* laptop: quicker, still unhurried. Photograph in ~0.5s, heading and words follow immediately after. */
@media (min-width: 62.01rem){
  #journey.is-fade > .fly__pin > .fly__layer{ transition: opacity 0s linear .5s, visibility 0s linear .5s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active{ transition: opacity .5s cubic-bezier(.4,.05,.2,1), visibility 0s !important; }
  #journey.is-fade > .fly__pin > .fly__layer .fly__h,
  #journey.is-fade > .fly__pin > .fly__layer .fly__p{ transform: translateY(12px) !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__h{ transition: opacity .55s cubic-bezier(.22,.61,.36,1) .12s, transform .7s cubic-bezier(.16,1,.3,1) .12s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .fly__p{ transition: opacity .55s cubic-bezier(.22,.61,.36,1) .22s, transform .7s cubic-bezier(.16,1,.3,1) .22s !important; }
  #journey.is-fade > .fly__pin > .fly__layer.is-active .mine__stones{ transition: opacity .5s cubic-bezier(.22,.61,.36,1) .32s !important; }
  #journey.is-fade.is-quick > .fly__pin > .fly__layer{ transition: opacity 0s linear .14s, visibility 0s linear .14s !important; }
  #journey.is-fade.is-quick > .fly__pin > .fly__layer.is-active{ transition: opacity .12s linear, visibility 0s !important; }
}

/* the film slide (a necklace turning on black): full-bleed, no scrim, no words */
#journey > .fly__pin > .fly__layer--film{ background: #000; }
#journey > .fly__pin > .fly__layer--film::before, #journey > .fly__pin > .fly__layer--film::after{ display: none !important; }
#journey .fly__layer--film .fly__media, #journey .fly__layer--film.is-active .fly__media{ transform: none !important; transition: none !important; animation: none !important; background: #000; }

/* the necklace film slide as a collage: photograph | film | photograph, edge to edge, divided by thin cream gutters */
#journey > .fly__pin > .fly__layer--film{
  display: grid !important; grid-template-columns: 1.65fr 1.25fr 1.35fr; grid-template-rows: 100%; gap: .4rem; padding: .4rem; background: #F4F1EA;
}
#journey .fly__layer--film .fly__media, #journey .fly__layer--film.is-active .fly__media{
  position: relative !important; inset: auto !important; grid-column: 2; grid-row: 1; height: 100%; min-height: 0; overflow: hidden; background: #000;
  transform: none !important; transition: none !important; animation: none !important;
}
#journey .fly__layer--film .film__pic{
  position: static; width: auto; height: 100%; min-height: 0; margin: 0; border: 0; box-shadow: none; aspect-ratio: auto; overflow: hidden;
  opacity: 0; transform: none; pointer-events: none;
}
#journey .fly__layer--film .film__pic--a{ grid-column: 1; grid-row: 1; }
#journey .fly__layer--film .film__pic--b{ grid-column: 3; grid-row: 1; }
#journey .fly__layer--film .film__pic img{ width: 100%; height: 100%; object-fit: cover; display: block; }
#journey .fly__layer--film .film__pic--a img{ object-position: 58% 50%; }
#journey .fly__layer--film .film__pic--b img{ object-position: 45% 40%; }
#journey .fly__layer--film.is-active .film__pic{ opacity: 1; transition: opacity .8s ease .25s; }
#journey .fly__layer--film.is-active .film__pic--b{ transition-delay: .45s; }
@media (max-width: 62rem){
  #journey > .fly__pin > .fly__layer--film{ grid-template-columns: 1fr 1fr; grid-template-rows: 30% 1fr; gap: .3rem; padding: .3rem; }
  #journey .fly__layer--film .film__pic--a{ grid-column: 1; grid-row: 1; }
  #journey .fly__layer--film .film__pic--b{ grid-column: 2; grid-row: 1; }
  #journey .fly__layer--film .fly__media, #journey .fly__layer--film.is-active .fly__media{ grid-column: 1 / span 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce){ #journey .fly__layer--film.is-active .film__pic{ transition: none; } }

/* gallery: nine tiles. Each GIA report leads its own set: a colour bar (pink / blue) is shared with its stones, and an arrow on the report points to them. */
#journey .fly__layer--gallery .craft__grid li.g-pink{ --acc: #e08fb4; }
#journey .fly__layer--gallery .craft__grid li.g-blue{ --acc: #6f93d6; }
#journey .fly__layer--gallery .craft__grid li[class*="g-"]::before{ content: ''; position: absolute; left: 0; right: 0; top: 0; height: .28rem; background: var(--acc); z-index: 4; pointer-events: none; }
#journey .fly__layer--gallery .craft__grid li{ overflow: visible; }
#journey .fly__layer--gallery .craft__grid li > button{ overflow: hidden; }
#journey .fly__layer--gallery .craft__grid li.cert[class*="g-"]::after{
  content: ''; position: absolute; right: -3.3rem; top: 50%; transform: translateY(-50%); z-index: 6; pointer-events: none;
  width: 6.6rem; height: 2.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 30'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15h74M65 4 80 15 65 26' stroke='%230d0b07' stroke-opacity='.82' stroke-width='9'/%3E%3Cpath d='M5 15h74M65 4 80 15 65 26' stroke='%23F4F1EA' stroke-width='2.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.45));
}
@media (max-width: 62rem){
  #journey .fly__layer--gallery .craft__grid li.cert[class*="g-"]::after{ width: 5.2rem; height: 1.75rem; right: -2.6rem; }
}
@media (min-width: 62.01rem){
  #journey .fly__layer--gallery .craft__grid li:last-child{ grid-column: span 2 !important; }
}
@media (max-width: 62rem){
  #journey .fly__layer--gallery .craft__grid li:nth-child(1){ order: 1; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(2){ order: 2; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(4){ order: 3; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(5){ order: 4; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(6){ order: 5; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(7){ order: 6; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(3){ order: 7; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(8){ order: 8; }
  #journey .fly__layer--gallery .craft__grid li:nth-child(9){ order: 9; }
}

@media (max-width: 62rem){
  #journey .fly__layer--gallery .craft__grid li:nth-child(9){ grid-column: span 2 !important; }
}

/* ── header with depth: a bar that sits above the page ──────────────────────────────────────────────
   a soft gradient and a bright top edge, a fine gold line along the bottom, and a shadow cast onto
   whatever is underneath, so it reads as a raised piece rather than a flat strip */
.nav{
  background: linear-gradient(180deg, #fcfaf6 0%, #f6f2ea 48%, #ece6d8 100%);
  border-bottom: 1px solid rgba(168,132,26,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.6),
    0 1px 0 rgba(255,255,255,.35),
    0 10px 20px -10px rgba(42,30,8,.40),
    0 26px 46px -24px rgba(42,30,8,.34);
}
.nav.is-stuck{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.6),
    0 1px 0 rgba(255,255,255,.35),
    0 12px 24px -10px rgba(42,30,8,.48),
    0 30px 52px -24px rgba(42,30,8,.40);
}
.nav::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(201,162,39,.85) 50%, transparent 100%);
}
/* the wordmark is pressed into the bar: a pale lower edge and a soft contact shadow */
.nav__word{
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 2px 1px rgba(255,255,255,.55), 0 3px 6px rgba(70,52,14,.20);
}
.nav__desc{
  text-shadow: 0 1px 0 rgba(255,255,255,.85);
}
/* links: finer tracking, and a gold line that draws in from the centre */
.nav__links a{
  position: relative; letter-spacing: .13em; font-size: .7rem; font-weight: 500; border-bottom-color: transparent !important;
}
.nav__links a::after{
  content: ''; position: absolute; left: 50%; right: 50%; bottom: .55rem; height: 1px; background: var(--gold-brand, #C9A227);
  transition: left .35s cubic-bezier(.22,.61,.36,1), right .35s cubic-bezier(.22,.61,.36,1);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="page"]::after{ left: 0; right: 0; }
@media (max-width: 75rem){
  .nav__links a::after{ display: none; }
}
