/*
Theme Name: ANAN
Theme URI: https://www.ananjewels.com/
Description: Bespoke classic theme for ANAN — Natural Diamond Jewellery House. No build step: one stylesheet, one deferred script, all page content editable via ACF + CPTs. Prefix: aj_.
Author: Anan Jewels
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: aj
*/

/* ============================================================
   0. Self-hosted fonts  (latin subsets — replaces Google Fonts)
   Manrope is a variable face: one file covers weights 300–700.
   ============================================================ */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ============================================================
   ANAN — Foundation & Layout
   Sections
     1  Design tokens
     2  Reset & base
     3  Accessibility helpers
     4  Layout primitives
     5  Typography
     6  Buttons & links
     7  Header / navigation
     8  Hero
     9  Intro
    10  Process
    11  Heritage
    12  CTA
    13  Footer
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Fonts */
  --font-manrope: "Manrope", sans-serif;
  --font-dm-sans: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;

  /* Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Colour — core */
  --color-light: #ffffff;
  --color-dark: #373435;
  --color-title: #000000; /* big titles/headings only — everything else uses --color-dark */

  /* Colour — brand (#93AEBD fails AA for text on white, so it is used
     for fills / tints only; --color-brand-dark is the text-safe, same-hue variant) */
  --color-brand: #93AEBD;
  --color-brand-tint: #eef3f6;
  --color-brand-dark: #5a7686;
  --color-footer-bg: #93AEBD;
  --color-footer-ink: #373435;
  --color-hairline: #e6e6e6;

  /* Type */
  --fs-base: 1rem;              /* 16px: body text */
  --fs-ui: 0.875rem;            /* 14px: nav links, buttons, hero captions */
  --fs-display: clamp(1rem, 4.4vw, 2.5rem);   /* ~16 -> 40 */
  --fs-eyebrow: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);    /* 16 -> 20 */
  --tracking-wide: 0.06em;       /* the "6%" from the prototype */

  /* Space & layout */
  --container-max: 1536px;                    /* 1408 content + 2 x 64 padding */
  --gutter: clamp(1.25rem, 5vw, 4rem);        /* side padding, 64px on desktop */
  --section-space: clamp(4.5rem, 10vw, 10rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* clears the fixed header on anchor jumps */
}
/* Lenis smooth scroll (home page): let it own the easing, so the browser's own
   smooth-scroll and its iframe quirks are switched off. */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-dm-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; } /* phones ignore body-only overflow-x, so the page could pan sideways */

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* buttons and form fields don't pick up the page font on their own (they fall back to Arial) */
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"] {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Light focus ring over dark imagery */
.hero :focus-visible,
.heritage__media :focus-visible,
.site-footer :focus-visible,
.site-header:not(.is-scrolled) :focus-visible {
  outline-color: var(--color-light);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 3. Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-dark);
  color: var(--color-light);
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.875rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transform: translateY(-150%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

/* ---------- 5. Typography ---------- */
.nav-link,
.hero-caption,
.btn-label,
.subheading,
.text-link {
  font-family: var(--font-manrope);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.nav-link { font-size: var(--fs-ui); line-height: 1.375; }
.hero-caption { font-weight: var(--fw-light); font-size: var(--fs-ui); line-height: 1.6; }
.btn-label { font-weight: var(--fw-semibold); font-size: var(--fs-ui); line-height: 1; }
.subheading { font-weight: var(--fw-bold); font-size: var(--fs-ui); line-height: 1.55; }

.eyebrow {
  font-family: var(--font-manrope);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  line-height: 1.375;
}
.eyebrow em {
  font-family: var(--font-dm-sans);
  font-weight: var(--fw-regular);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.eyebrow strong {
  font-weight: var(--fw-bold);
}
/* the bold capitals in the small titles take the theme blue; on photos and dark scenes they stay white */
.eyebrow strong { color: var(--color-brand-dark); }
.story-cover__kicker strong { color: inherit; }
/* small title to big title = 1rem (16px) everywhere; each container has its own gap, so the margin makes up the difference.
   Banners keep their own spacing. */
.eyebrow + .display { margin-top: -0.25rem; }                      /* containers with a 1.25rem gap */
.locations__head .eyebrow + .display,
.journey__intro .eyebrow + .display { margin-top: -0.5rem; }        /* containers with a 1.5rem gap */
.trade-practical__intro .eyebrow + .display { margin-top: -0.125rem; }
.story-cover__content .eyebrow + .display,
.appt .eyebrow + .display { margin-top: 0; }

.display {
  color: var(--color-title);
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: var(--fw-regular); text-transform: none; margin-right: 0.12em; } /* extra word space after the italic word */
.display strong { font-style: normal; font-weight: var(--fw-bold); }

.body-copy {
  font-family: var(--font-dm-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Underlined text link — shared by every "EXPLORE / READ / VIEW" link,
   hero CTA included. On hover the label keeps its colour and a solid
   hairline (same colour as the label) wipes in from the left. */
.text-link {
  position: relative;
  display: inline-block;
  /* stay sized to the label even when blockified as a grid/flex item,
     so the underline tracks the text and never runs wider */
  width: fit-content;
  max-width: 100%;
  font-weight: var(--fw-medium);
  font-size: 14px; /* every underlined link is 14px, on every page and screen size */
  letter-spacing: 0;
  word-spacing: 0.2em; /* a little air between the words of every underlined link */
  padding-bottom: 0;
  line-height: 1.2;
  color: var(--color-title); /* black; links on dark photos override with light */
  transition: color var(--dur) var(--ease);
}
.text-link::after,
.text-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}
.text-link::after { background: currentColor; opacity: 0.5; }
.text-link::before {
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.text-link:hover::before,
.text-link:focus-visible::before { transform: scaleX(1); }

/* ---------- 6. Buttons ---------- */
.btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--light { color: var(--color-light); }
.btn--light:hover { background: var(--color-light); color: var(--color-dark); }
.btn--outline { color: var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: var(--color-light); }
.btn--solid { background: var(--color-dark); color: var(--color-light); border-color: var(--color-dark); }
.btn--solid:hover { background: transparent; color: var(--color-dark); }
/* a pair of buttons under an intro (Social Responsibility: Read our story / Work with us) */
.intro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }
@media (max-width: 599px) { .intro__actions { width: 100%; flex-direction: column; } .intro__actions .btn { width: 100%; } }

/* ---------- 7. Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--color-light);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition-duration: 0.01ms !important; }
}
/* .is-scrolled = past the hero fold; .is-solid = inner pages. The bar is always in view
   (it never hides) and turns into frosted glass: a translucent white pane that blurs
   whatever scrolls behind it, with the dark lockup and dark text. The glass is a pseudo-element
   (not the header itself) because backdrop-filter on the header would trap the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
  color: var(--color-dark);
}
.site-header.is-scrolled::before,
.site-header.is-solid::before {
  opacity: 1;
}
/* thin translucent white hairline under the bar while it sits over the hero */
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.site-header.is-scrolled::after,
.site-header.is-solid::after {
  opacity: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3rem;
  padding-block: 0.65rem;
}

.brand {
  display: block;
  color: inherit;
}
.brand__logo {
  width: auto;
  height: 2.4rem;
  object-fit: contain;
}

/* Two lockups: light-on-dark over the hero, dark-on-light once the
   header goes solid white (on scroll, or always on inner pages). */
.brand__logo--on-light {
  display: none;
}
.site-header.is-scrolled .brand__logo--on-dark,
.site-header.is-solid .brand__logo--on-dark {
  display: none;
}
.site-header.is-scrolled .brand__logo--on-light,
.site-header.is-solid .brand__logo--on-light {
  display: block;
}

/* Menu links are pure black whenever the bar is white */
.site-header.is-scrolled .primary-nav .nav-link,
.site-header.is-solid .primary-nav .nav-link {
  color: #000;
}
@media (hover: hover) and (min-width: 801px) {
  .site-header:hover .primary-nav .nav-link {
    color: #000;
  }
}

/* Pointer over the bar: it turns to the same glass with the dark lockup and dark
   text, like the scrolled state (desktop with a real pointer only). */
@media (hover: hover) and (min-width: 801px) {
  .site-header:hover {
    color: var(--color-dark);
  }
  .site-header:hover::before {
    opacity: 1;
  }
  .site-header:hover::after {
    opacity: 0;
  }
  .site-header:hover .brand__logo--on-dark {
    display: none;
  }
  .site-header:hover .brand__logo--on-light {
    display: block;
  }
}

/* ---- Site switcher (International / India) at the end of the menu ---- */
.region { position: relative; display: flex; align-items: center; }
.region__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.375;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.region__chev { transition: transform var(--dur) var(--ease); }
.region__btn[aria-expanded="true"] .region__chev { transform: rotate(180deg); }
.site-header.is-scrolled .region__btn,
.site-header.is-solid .region__btn { color: #000; }
@media (hover: hover) and (min-width: 801px) {
  .site-header:hover .region__btn { color: #000; }
}
.region__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  z-index: 110;
  min-width: 13rem;
  padding: 0.4rem;
  list-style: none;
  color: var(--color-dark);
  background: var(--color-light);
  border: 1px solid var(--color-hairline);
  box-shadow: 0 16px 40px rgba(20, 18, 19, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.region.is-open .region__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.region__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-manrope);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  color: var(--color-dark);
  transition: background-color var(--dur) var(--ease);
}
.region__opt:hover, .region__opt:focus-visible { background: var(--color-brand-tint); }
.region__opt.is-current { color: var(--color-brand-dark); font-weight: var(--fw-bold); }

/* the header-bar copy of the switcher is for phones only (see the max-width: 800px block) */
.region--bar { display: none; }

/* desktop: the five links are centred in the header; the switcher sits at the far right */
@media (min-width: 801px) {
  .site-header__inner { position: relative; }
  .primary-nav { position: static; }
  .primary-nav__list {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }
  .region { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
}
/* narrower desktops/tablets: no room to centre, so the links and the switcher sit in one row */
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header__inner { gap: 1rem; }
  .primary-nav { display: flex; align-items: center; gap: 1.25rem; }
  .primary-nav__list { position: static; transform: none; gap: 1.1rem; }
  .primary-nav .nav-link { font-size: 0.8125rem; }
  .region { position: relative; right: auto; top: auto; transform: none; }
  .region__btn { font-size: 0.8125rem; }
}
@media (min-width: 801px) and (max-width: 1000px) {
  .site-header__inner { gap: 0.5rem; }
  .primary-nav { gap: 0.75rem; }
  .primary-nav__list { gap: 0.7rem; }
  .primary-nav .nav-link, .region__btn { font-size: 0.6875rem; }
  .region__label { display: none; }
  .region__btn::before { content: "INT'L"; }
}

/* Panel chrome (logo + close + scrim + contact footer) is mobile-only */
.primary-nav__head,
.nav-close,
.nav-scrim {
  display: none;
}

.primary-nav__list {
  display: flex;
  gap: clamp(1.75rem, 2.6vw, 2.75rem);
  list-style: none;
}
.primary-nav .nav-link {
  position: relative;
  color: inherit;
  font-size: 0.875rem;
  padding-block: 0.5rem;
}
.primary-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.primary-nav .nav-link:hover::after,
.primary-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active page — same underline in header, footer and mobile menu. Header +
   mobile menu keep the normal link colour (brand periwinkle was too faint on
   white) and mark the active page with bold weight instead. */
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
}
.primary-nav .nav-link[aria-current="page"] {
  font-weight: var(--fw-bold);
}
.primary-nav .nav-link[aria-current="page"]::after,
.ft__link[aria-current="page"]::before {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bar { margin-inline: auto; }
/* three evenly spaced lines in a 24px x 17px mark (same as the Indian site):
   the lines are 1.5px thick, so the outer two sit 7.75px either side of the middle one
   (the ::after block already starts 1.5px lower, hence 6.25px) */
.nav-toggle__bar::before { transform: translateY(-7.75px); }
.nav-toggle__bar::after { transform: translateY(6.25px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }

  /* ---- Header: copied from the Indian site (anan-india-site/v1/css/home.css) ----
     A white bar (frosted glass once scrolled): 10px above and below, 25px at the sides, a 36px logo,
     the site switcher (14px) and then the 24 x 17px menu button with 1.5rem between them. */
  .site-header {
    padding: 10px 0;
    color: var(--color-dark);
  }
  .site-header:not(.is-scrolled):not(.is-solid) { background: var(--color-light); } /* white at the very top, glass once scrolled */
  .site-header::after { display: none; }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 0;
    padding-block: 0;
    padding-left: 25px;
    padding-right: 25px;
  }
  .brand__logo { height: 36px; width: auto; }
  .brand__logo--on-dark { display: none; }
  .brand__logo--on-light { display: block; }

  /* Hamburger hides while the panel is open (the panel has its own close) */
  .nav-toggle[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
  }

  /* ---- Off-canvas panel (slides in from the right, dim scrim behind) ---- */
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(15, 15, 20, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .nav-scrim.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) var(--ease);
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    width: min(86vw, 400px);
    height: 100vh;
    height: 100dvh;
    background: var(--color-light);
    color: var(--color-dark);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden; /* a closed menu parked off-screen must not widen the page */
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; transition: transform var(--dur) var(--ease); }
  .primary-nav:not(.is-open) { box-shadow: none; } /* a closed menu (just off-screen) must not cast its shadow onto the page */

  .primary-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 10px 25px; /* same as the header bar */
    border-bottom: 1px solid var(--color-hairline);
  }
  .primary-nav__home { display: inline-flex; }
  .primary-nav__logo {
    width: auto;
    height: 36px; /* same as .brand__logo in the header */
  }
  .nav-close {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: -4px -10px -4px 0; /* keeps the head 56px tall, like the header bar */
    border: 0;
    background: transparent;
    color: var(--color-dark);
    cursor: pointer;
  }

  .primary-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
  }
  .primary-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 25px;
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    color: var(--color-dark);
  }
  /* site switcher: phones show it in the header bar (.region--bar), not in the menu */
  .primary-nav .region { display: none; }
  .region--bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
  }
  .region--bar .region__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-manrope);
    font-size: 14px;
    text-transform: uppercase;
    color: inherit;
  }
  .region--bar .region__menu {
    top: calc(100% + 0.9rem);
    right: 0;
    min-width: 13rem;
  }
  .region--bar .region__opt { white-space: nowrap; }
  /* the menu button: three lines drawn as backgrounds (24px x 17px), same as the Indian site */
  .nav-toggle {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    flex: none;
    width: 24px;
    height: 17px;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: transparent;
    background-image:
      linear-gradient(var(--color-dark), var(--color-dark)),
      linear-gradient(var(--color-dark), var(--color-dark)),
      linear-gradient(var(--color-dark), var(--color-dark));
    background-repeat: no-repeat;
    background-size: 100% 1.5px;
    background-position: 0 0, 0 50%, 0 100%;
  }
  .nav-toggle__bar { display: none; }
  /* no chevron on the mobile menu rows */
  .primary-nav .nav-link::after {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- 8. Hero ---------- */
/* Hero pins to the top; the next section scrolls up and overlaps it. */
.hero {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 85vh;
  min-height: 85svh;
  color: var(--color-light);
  background: var(--color-dark); /* placeholder fill until real hero media is back in */
  isolation: isolate;
  z-index: 0;
}
/* Scroll runway so the hero zoom completes before the overlap begins */
.hero-spacer {
  height: 0; /* none: the next section starts right under the hero (a gap would show white) */
}
@media (prefers-reduced-motion: reduce) {
  .hero { position: relative; }
  .hero-spacer { display: none; }
}
.hero__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-dark);
  transform-origin: center;
  z-index: -2;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* A touch heavier than for the old still — the video is brighter and moves,
     so the white caption + CTA need the extra contrast. */
  background: linear-gradient(
    180deg,
    rgba(55, 52, 53, 0.55) 0%,
    rgba(55, 52, 53, 0.34) 38%,
    rgba(55, 52, 53, 0.58) 100%
  );
}
.hero__content {
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 6vh, 4rem);
  text-align: center;
  padding-block: 7rem 3rem; /* mobile: clears the fixed header */
}
/* Both captions: first line sits flush, every wrapped line steps in to a
   fixed stop (intentional stagger from the design). */
.hero__caption {
  --hero-indent: 4.5em;
  max-width: none;
  text-align: left;
  padding-left: var(--hero-indent);
  text-indent: calc(-1 * var(--hero-indent));
}
.hero__caption--lead { justify-self: start; }
.hero__caption--trail { justify-self: end; }

/* Hero CTA is a .text-link, pinned near the bottom of the hero (all sizes) so
   the short caption block stays centred without the CTA dragging it upward. */
.hero__cta {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 5vh, 3rem);
  transform: translateX(-50%);
  color: var(--color-light);
}

@media (min-width: 720px) {
  /* The two captions are the only thing in normal flow, so the hero's
     flex centring puts the row at the true vertical middle. */
  .hero__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding-block: 0;
  }
  .hero__caption--lead { grid-column: 1; }
  .hero__caption--trail { grid-column: 2; }
}

/* ---------- 9. Intro ---------- */
/* Tightened rhythm. The gap ABOVE a heading block should read the same
   section-to-section, so the between-section gap (intro bottom + process top)
   is split to sum to one heading's top space. */
.intro {
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 5.5rem);
}
/* Was missing its own padding-top/bottom (a past edit dropped it), so it was
   silently falling back to the generic .section padding-block (4.5–10rem) —
   much bigger than every other section's own top gap, hence the visibly
   larger gap above "the Collections" than above any other section's heading.
   Matches .intro's numbers so every section opens with the same top gap. */
.process {
  /* white gap above and below the photo + text, same as the other sections (.intro) */
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 5.5rem);
}
/* nothing sits under the heading block any more, so drop its bottom margin */
.process .story-craft__head {
  margin-bottom: 0;
}
/* Every section after the hero rides up over it — needs a stacking context
   above the sticky hero and an opaque background. The -1px overlap closes
   the sub-pixel seam where the pinned hero would otherwise show through. */
.intro,
.process,
.heritage,
.locations,
.cta {
  position: relative;
  z-index: 1;
  background: var(--color-light);
}
.process,
.heritage,
.locations,
.cta {
  margin-top: -1px;
}
.intro__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 44rem;
  text-align: center;
  color: var(--color-dark);
}
/* gold A mark with a thin hairline dropping from it to the heading (For You, "the Process") */
.intro__mark {
  width: auto;
  height: 3rem;
}
.intro__rule {
  display: block;
  width: 1px;
  height: 4.5rem;
  background: color-mix(in srgb, var(--color-dark) 28%, transparent);
}
.intro__copy {
  max-width: 34rem;
}
.intro__cta {
  margin-top: 0.5rem;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--color-title);
}

/* ---------- 10b. Signature collections: photo left, content right ---------- */
/* the photo and the text sit inside the page container (same side margins as the other sections);
   the photo still runs straight into the dark scene below (no bottom padding, see .process) */
.dual__grid {
  display: grid;
  align-items: stretch;
  list-style: none;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.dual__panel { position: relative; }
.dual__link {
  position: relative;
  display: block;
  /* the photo is at least the screen tall and always as tall as the text column beside it,
     so no white strip shows under it */
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: max(100svh, 30rem);
  overflow: hidden;
  color: var(--color-dark);
}
.dual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.dual__link:focus-visible { outline: 2px solid var(--color-dark); outline-offset: -4px; }
.dual__content {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.25rem;
  /* same top/bottom gap as the other sections (.intro) */
  padding: clamp(2.75rem, 6vw, 5.5rem) 0;
  color: var(--color-dark);
}
.dual__content .display { text-align: left; max-width: none; }
.dual__content .intro__cta { margin-top: 0.25rem; }
/* the gold A mark and hairline above the text show on phones only, where the text is centred */
.dual__mark,
.dual__rule { display: none; }
.dual__cs4 {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid color-mix(in srgb, var(--color-dark) 28%, transparent);
}
.dual__cs4-title { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); }
.dual__s { text-transform: lowercase; } /* "4 C's", not "4 C'S" */
.dual__cs4-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  list-style: none;
  font-family: var(--font-dm-sans);
  font-size: 1rem; /* 16px on desktop */
  letter-spacing: 0;
  line-height: 1.5;
}
.dual__cs4-list strong {
  display: block;
  letter-spacing: var(--tracking-wide); /* the CREATED / CRAFTED labels keep their spacing */
  font-family: var(--font-display, inherit);
  font-size: 1.29rem; /* the CREATED / CRAFTED labels keep their size */
  color: #000;
  text-transform: uppercase;
}
/* Grid: stacked on phones/tablets (text first, then the photo), side by side from 900px
   (photo left, text right) */
.dual__content { order: -1; }
@media (min-width: 900px) {
  .dual__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dual__content { order: 0; padding-left: clamp(2rem, 5vw, 5rem); }
}

/* ---------- 11. Heritage ---------- */
/* Full-screen video, playing throughout (not scroll-pinned — this is a plain
   full-height section, in normal flow), with the heading in solid white on
   top of it. */
:root {
  --heritage-ink: color-mix(in srgb, var(--color-brand-dark) 12%, #060607);
}
.heritage {
  padding: 0;
  background: var(--heritage-ink);
  color: var(--color-light);
}
.heritage__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.heritage__media {
  position: absolute;
  inset: 0;
}
/* phones: a landscape film cropped to a full-height portrait screen is zoomed in on just the middle third.
   A shorter, wider stage (4:3) shows most of the picture instead. */
@media (max-width: 719px) {
  .heritage__stage { height: auto; aspect-ratio: 4 / 3; }
}
.heritage__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* dark overlay on the film (all screen sizes) so the white headline always reads */
.heritage__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
/* Quiet block covering the moment before the first video frame paints. */
.heritage__video {
  background: var(--heritage-ink);
}
.heritage__words {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-inline: var(--gutter);
  text-align: center;
  color: var(--color-light);
  font-size: var(--fs-display);
  line-height: 1.12; /* the site headline style (.display): italic lead-in, bold capitals */
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.heritage__words { align-content: center; } /* the two lines stay together in the middle of the video */
.heritage__line { display: block; }

/* ---------- 11b. Office locations / ateliers ---------- */
.locations {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.locations__head {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
/* Map of the four locations: the land comes from images/world-map.svg;
   the pins and city labels are positioned on top by lon/lat (inline left/top %). */
.atlas {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.atlas__map {
  position: relative;
  width: 100%;
}
/* The map runs from the USA to Hong Kong, so all five pins fit on it, New York included.
   Phones show the whole of it inside the page margins, with smaller pins and small
   city labels. */
@media (max-width: 719px) {
  .atlas {
    padding: 0 var(--gutter); /* the map stays inside the page margins; the address cards open upward over the empty top of the map */
  }
  .atlas__map { width: 100%; }
  .atlas .atlas__pin {
    --d: 0.75rem;
    box-shadow: 0 0 0 1.5px var(--color-light), 0 0 0 2.5px var(--color-brand); /* thinner ring to match */
  }
  .atlas .atlas__pin--hq { --d: 0.95rem; }
  /* the badges are small, so each pin gets a larger invisible tap area */
  .atlas .atlas__pin::before {
    content: "";
    position: absolute;
    inset: -0.6rem;
    border-radius: 50%;
  }
  /* city names stay, in a small size; Dubai's goes above its pin and Bangkok's sits a little lower, so no two labels run into each other */
  .atlas .atlas__label {
    font-size: 0.4375rem;
    letter-spacing: 0.06em;
  }
  .atlas .atlas__pin--below .atlas__label { top: calc(100% + 0.4rem); }
  .atlas .atlas__pin--above .atlas__label,
  .atlas .atlas__pin[aria-label^="Dubai"] .atlas__label { top: auto; bottom: calc(100% + 0.4rem); }
  .atlas .atlas__pin[aria-label^="Bangkok"] .atlas__label { top: calc(100% + 0.8rem); } /* a little lower, clear of Mumbai's */
  .atlas .atlas__mark { display: none; } /* plain dots on phones: the gold A is too small to read */
}
.atlas__img {
  display: block;
  width: 100%;
  height: auto;
  /* land runs off every edge of the crop, so dissolve all four edges into the page */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Each pin is a round badge centred on its city, with the gold A mark fitted
   inside (--d is the badge diameter). A soft ring pulses outward from it. */
.atlas__pin {
  --d: clamp(1.4rem, 0.9rem + 1.3vw, 2.1rem);
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: var(--color-brand-dark);
  box-shadow: 0 0 0 3px var(--color-light), 0 0 0 4px var(--color-brand);
  transform: translate(-50%, -50%);
}
.atlas__pin--hq {
  --d: clamp(1.75rem, 1.1rem + 1.8vw, 2.6rem);
}
.atlas__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--color-brand-dark);
  opacity: 0;
  animation: atlas-pulse 2.8s var(--ease) infinite;
}
@keyframes atlas-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas__pin::after { animation: none; }
}
/* Address card: shown on hover, and on keyboard focus / tap (the pin is focusable).
   The card's transparent bottom padding bridges the gap to the pin so the hover
   is not lost on the way to the "Get directions" button. */
.atlas__pin { cursor: pointer; outline: none; }
.atlas__pin.is-open { z-index: 6; }
@media (hover: hover) {
  .atlas__pin:hover,
  .atlas__pin:focus-within { z-index: 5; }
}
.atlas__pin:focus-visible { box-shadow: 0 0 0 3px var(--color-light), 0 0 0 5px var(--color-dark); }
.atlas__card {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: min(17rem, 78vw);
  padding-bottom: 0.95rem;
  text-align: left;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.atlas__pin.is-open .atlas__card {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
/* hover and keyboard focus only on devices that have a real pointer: on touch screens a
   tapped pin keeps :hover / :focus, which would leave two cards open at once */
@media (hover: hover) {
  .atlas__pin:hover .atlas__card,
  .atlas__pin:focus-within .atlas__card {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}
/* just dismissed (after "Get directions"): shut even while hovered or focused */
.atlas__pin.is-closed .atlas__card,
.atlas__pin.is-closed:hover .atlas__card,
.atlas__pin.is-closed:focus-within .atlas__card {
  opacity: 0;
  visibility: hidden;
}
.atlas__card-body {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--color-light);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(55, 52, 53, 0.18), 0 0 0 1px var(--color-hairline);
  color: var(--color-dark);
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
}
/* little pointer toward the pin */
.atlas__card-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--color-light);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 2px 2px 3px rgba(55, 52, 53, 0.08);
}
/* near the right/left edge: align the card to the pin's side instead of centring */
.atlas__pin--end .atlas__card { left: auto; right: -0.75rem; transform: translate(0, 6px); }
.atlas__pin--end.is-open .atlas__card,
.atlas__pin--end:hover .atlas__card,
.atlas__pin--end:focus-within .atlas__card { transform: translate(0, 0); }
.atlas__pin--end .atlas__card-body::after { left: auto; right: calc(var(--d) / 2 + 0.75rem - 5px); transform: rotate(45deg); }
.atlas__pin--start .atlas__card { left: -0.75rem; transform: translate(0, 6px); }
.atlas__pin--start.is-open .atlas__card,
.atlas__pin--start:hover .atlas__card,
.atlas__pin--start:focus-within .atlas__card { transform: translate(0, 0); }
.atlas__pin--start .atlas__card-body::after { left: calc(var(--d) / 2 + 0.75rem - 5px); transform: rotate(45deg); }
.atlas__card-tag {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}
.atlas__card-city {
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-title);
}
.atlas__card-addr {
  font-style: normal;
  font-family: var(--font-dm-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
}
/* "Get directions" is the site's .btn, styled like the contact form's Send Enquiry button */
.atlas__card-btn {
  justify-self: stretch;
  margin-top: 0.6rem;
  padding-block: 10px;
  background: var(--color-dark);
  color: var(--color-light);
  border-color: var(--color-dark);
}
.atlas__card-btn:hover,
.atlas__card-btn:focus-visible {
  background: transparent;
  color: var(--color-dark);
}
/* phones: a smaller address card, and Bangkok's (it sits near the right edge of the
   screen) is aligned to its pin's side like Hong Kong's so it is not cut off */
@media (max-width: 719px) {
  .atlas__card { width: min(13rem, 62vw); padding-bottom: 0.7rem; }
  .atlas__card-body { gap: 0.2rem; padding: 0.8rem 0.9rem 0.9rem; border-radius: 5px; }
  .atlas__card-tag { font-size: 0.5625rem; letter-spacing: 0.14em; }
  .atlas__card-city { font-size: 0.9375rem; }
  .atlas__card-addr { font-size: 0.6875rem; line-height: 1.45; }
  .atlas__card-btn { margin-top: 0.4rem; padding-block: 7px; }
  .atlas__card-btn .btn-label { font-size: 0.6875rem; }
  .atlas__pin--hq .atlas__card { left: auto; right: -0.75rem; transform: translate(0, 6px); }
  .atlas__pin--hq:hover .atlas__card,
  .atlas__pin--hq:focus-within .atlas__card { transform: translate(0, 0); }
  .atlas__pin--hq .atlas__card-body::after { left: auto; right: calc(var(--d) / 2 + 0.75rem - 5px); transform: rotate(45deg); }
}
/* phones: every card is centred on its pin, then main.js nudges it sideways (--nudge) just enough
   to stay on screen; the pointer follows the pin. */
@media (max-width: 719px) {
  .atlas .atlas__pin[aria-label] .atlas__card,
  .atlas .atlas__pin[aria-label]:hover .atlas__card,
  .atlas .atlas__pin[aria-label]:focus-within .atlas__card {
    left: 50%;
    right: auto;
    margin-left: var(--nudge, 0px);
    transform: translate(-50%, 6px);
  }
  .atlas .atlas__pin[aria-label].is-open .atlas__card {
    transform: translate(-50%, 0);
  }
  .atlas .atlas__pin[aria-label] .atlas__card-body::after {
    left: calc(50% - var(--nudge, 0px));
    right: auto;
    transform: translateX(-50%) rotate(45deg);
  }
}
.atlas__mark {
  width: 74%;
  max-width: none;
  height: auto;
}
.atlas__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: clamp(0.625rem, 0.5rem + 0.5vw, 0.875rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-title);
}
.atlas__pin--below .atlas__label { top: calc(100% + 0.65rem); }
.atlas__pin--above .atlas__label { bottom: calc(100% + 0.65rem); }

.locations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
}
.location {
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-hairline);
}
/* no line above the first row (the heading's paragraph runs straight into it); the line
   between the rows stays. The addresses sit 2 across below 900px, 3 across to 1359px and
   5 across from there, so the first row is 2, 3 or 5 addresses. */
.location:first-child,
.location:nth-child(2) { border-top: 0; }
@media (min-width: 900px) {
  .location:nth-child(3) { border-top: 0; }
}
@media (min-width: 1360px) {
  .location:nth-child(4),
  .location:nth-child(5) { border-top: 0; }
}
.location__city {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-title);
  margin-bottom: 0.75rem;
}
.location__tag {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  color: var(--color-brand-dark);
}
.location__addr {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-dark);
}
.location__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  transition: color var(--dur) var(--ease);
}
.location__link:hover { color: var(--color-dark); }

/* Horizontal: the ateliers sit side by side in one row, each with its city
   over its address and a hairline between them. Narrower desktops use a 2 x 2
   grid; phones keep the stacked list. */
@media (min-width: 720px) {
  .locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }
  .location {
    padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  }
  .location__city {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.5rem);
  }
}
@media (min-width: 900px) {
  .locations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1360px) {
  .locations__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/* Mobile: tighten the vertical rhythm so the four ateliers don't run so long */
@media (max-width: 719px) {
  .locations {
    padding-top: clamp(2.25rem, 8vw, 3rem);
    padding-bottom: 0.75rem;
  }
  .locations__head {
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }
  /* the four addresses in a 2 x 2 grid */
  .locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }
  .location {
    padding: 1rem 0;
  }
  .location__city {
    flex-wrap: wrap;
    row-gap: 0.15rem;
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }
  .location__addr {
    line-height: 1.4;
  }
  .location__link {
    margin-top: 0.35rem;
  }
}

/* Atelier city names: one even row, centred, with a thin vertical line between them
   (two per row on phones). This replaces the old list-with-addresses look above. */
.locations__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  column-gap: 0; /* the lines sit exactly midway between two names */
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.location {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.6rem 1rem;
  border: 0;
  border-left: 1px solid var(--color-hairline);
  text-align: center;
}
.location:first-child { border-left: 0; }
.location__city { justify-content: center; margin: 0; }
@media (max-width: 719px) {
  .locations__grid { row-gap: 0.5rem; }
  .location { flex: 1 1 40%; padding: 0.7rem 0.5rem; }
  .location:nth-child(odd) { border-left: 0; }
  .location:last-child { flex-basis: 100%; border-left: 0; }
}

/* ---------- 12. CTA ---------- */
/* Plain white, tight — same vertical rhythm as the rest of the page */
.cta {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.cta__heading { margin-bottom: 0.25rem; }

/* ---- Home page closing CTA: a full-screen scene (.cta--scene) ----
   A black & white photo (mirrored, so the model is on the right and the left
   is clean dark) with light copy on top. Static: no animation. */
.cta--scene {
  padding: 0;
  background: var(--color-dark);
}
.cta__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--color-dark);
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 84%; /* keeps the ring in frame, a little higher up */
  transform-origin: center;
}
/* a darker left side, so the closing lines stay readable over the photo */
.cta--scene .cta__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 19, 0.78) 0%, rgba(20, 18, 19, 0.45) 38%, rgba(20, 18, 19, 0) 68%);
  pointer-events: none;
}
.cta__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  padding-inline: var(--gutter);
  color: var(--color-light);
}
.cta--scene .cta__heading {
  color: var(--color-light); /* sits on a full-bleed photo — .display's default black would be lost on it */
  max-width: min(42vw, 16em);
  margin: 0 0 0.5rem;
  text-align: left; /* size comes from .display (--fs-display), same as every CTA */
}
.cta__line {
  display: block;
}
.cta--scene .cta__copy {
  max-width: 28rem;
}
.cta__link {
  color: var(--color-light);
}
@media (max-width: 899px) {
  /* narrow screens: the copy sits in the middle of the photo, above the ring, over a soft dark band
     (no blur) so the text stays legible and the ring stays clear. */
  .cta__bg {
    object-position: 52% center; /* keep the ring in the narrow crop */
  }
  .cta__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* a soft dark band behind the text (no blur), fading out before the ring below it */
    background: linear-gradient(180deg, rgba(20, 18, 19, 0.2) 0%, rgba(20, 18, 19, 0.5) 30%, rgba(20, 18, 19, 0.5) 46%, rgba(20, 18, 19, 0) 66%);
    pointer-events: none;
  }
  .cta__content {
    z-index: 2;
    inset: 0;
    align-content: center;
    gap: 1rem;
    padding-bottom: 26%; /* the lines sit in the middle of the picture, above the ring */
  }
  .cta--scene .cta__heading {
    max-width: none;
  }
}

/* ---------- 13. Footer ---------- */
/* Deep ink ground. A large statement + enquiry button on top, then four columns
   (brand, explore, ateliers, contact), then a slim copyright bar. */
:root {
  --footer-ground: #2b2829;
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-quiet: rgba(255, 255, 255, 0.55);
  --footer-rule: rgba(255, 255, 255, 0.16);
}
.site-footer {
  position: relative;
  background: var(--footer-ground);
  color: var(--footer-text);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.ft { display: grid; }

.ft__top {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--footer-rule);
}
/* same headline style as the banners: italic lead-in, bold capitals on the key words */
.ft__statement {
  max-width: none;
  color: var(--color-light);
  font-size: clamp(1.3rem, 0.7rem + 2vw, 2.5rem);
  line-height: 1.12;
  text-align: left;
  text-wrap: wrap;
}
.ft__line { display: block; }
.ft__cta {
  justify-self: start;
  padding-block: 0.9rem;
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.6);
}
.ft__cta:hover, .ft__cta:focus-visible { background: var(--color-light); color: var(--footer-ground); }

.ft__grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr 1fr;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.ft__col { display: grid; align-content: start; gap: 1.25rem; min-width: 0; }
.ft__col--brand,
.ft__col:last-child { grid-column: 1 / -1; }

/* the complete lockup (strapline included): undo the header crop */
.brand--footer { height: auto; overflow: visible; justify-self: start; }
.brand--footer .brand__logo { height: 4.25rem; width: auto; object-fit: contain; }

.ft__social { display: flex; gap: 0.75rem; }
.ft__social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-light);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ft__social a:hover, .ft__social a:focus-visible { background: var(--color-light); color: var(--footer-ground); }

.ft__heading {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-quiet);
}
.ft__list { display: grid; gap: 0.7rem; }
.ft__link, .ft__value {
  font-family: var(--font-manrope);
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--footer-text);
}
.ft__link { position: relative; justify-self: start; transition: color var(--dur) var(--ease); }
.ft__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.ft__link:hover, .ft__link:focus-visible { color: var(--color-light); }
.ft__link:hover::after, .ft__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.ft__link[aria-current="page"] { color: var(--color-light); font-weight: var(--fw-semibold); }
.ft__link[aria-current="page"]::after { transform: scaleX(1); }
.ft__tag {
  margin-left: 0.4rem;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-quiet);
}
.ft__list--contact { gap: 1.1rem; }
.ft__list--contact li { display: grid; gap: 0.15rem; }
.ft__label {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-quiet);
}
a.ft__value { transition: color var(--dur) var(--ease); }
a.ft__value:hover, a.ft__value:focus-visible { color: var(--color-light); }

.ft__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--footer-rule);
}
.ft__copy {
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--footer-quiet);
}
.ft__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  list-style: none;
}
.ft__legal-link {
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--footer-quiet);
  transition: color var(--dur) var(--ease);
}
.ft__legal-link:hover, .ft__legal-link:focus-visible { color: var(--color-light); }
@media (max-width: 859px) {
  .ft__bar { flex-wrap: wrap; }
  .ft__legal { order: 3; flex-basis: 100%; }
}
@media (min-width: 860px) {
  .ft__legal { margin-inline: auto; }
}
.to-top {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-light);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.to-top:hover, .to-top:focus-visible { background: var(--color-light); color: var(--footer-ground); }
.to-top svg { pointer-events: none; }

@media (min-width: 860px) {
  .ft__top { grid-template-columns: 1fr auto; gap: 3rem; }
  .ft__grid { grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2rem 3rem; }
  .ft__col--brand,
  .ft__col:last-child { grid-column: auto; }
}

/* --- Story hero: centred title block (shared by the inner pages) --- */
.story-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-light);
  padding-block: clamp(7rem, 14vw, 10rem) clamp(1.5rem, 3vw, 2.75rem);
}

/* --- Story cover (heritage.html only): full-bleed image under a transparent
   header, title anchored bottom-left over the darkest part of the frame so the
   jewellery stays clear. Other pages keep .story-hero's plain white title. --- */
.story-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh; /* a little taller than before so the jewellery in each banner shows clearly; same on every page */
  color: var(--color-light);
  background: var(--color-dark); /* holds the space until the image paints */
  isolation: isolate;
}
.story-cover__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%; /* keeps the necklace in frame when cropped narrow */
}
.story-cover__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* top: legibility for the transparent header; bottom: for the title */
  background:
    linear-gradient(180deg, rgba(20, 18, 19, 0.55) 0%, rgba(20, 18, 19, 0) 28%),
    linear-gradient(0deg, rgba(20, 18, 19, 0.72) 0%, rgba(20, 18, 19, 0) 55%);
}
.story-cover__content {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding-block: 7rem clamp(2.5rem, 7vh, 5rem); /* top clears the fixed header */
}
/* Variant for long, two-line taglines (Work With Us): smaller so both lines
   fit a phone and stay clear of the picture's subject. */
.story-cover--tagline .story-cover__title {
  /* The longest line is ~13.8em wide, so cap the size at what fits between the
     gutters (divisor 15 leaves room for a desktop scrollbar too) — the title always stays on 2 lines. */
  font-size: min(clamp(1.9rem, 4.6vw, 4.5rem), calc((100vw - 2 * var(--gutter)) / 15));
  line-height: 1.08;
}

.story-cover__content > * {
  min-width: 0;
  max-width: 100%; /* long titles wrap inside the gutters instead of running off a phone */
}
.story-cover__kicker {
  color: var(--color-light);
}
.story-cover__lead {
  color: var(--color-light);
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  letter-spacing: 0.02em;
}
.story-cover__title {
  color: var(--color-light); /* sits on a full-bleed photo — .display's default black would be lost on it */
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  line-height: 1;
}
/* The intro no longer sits under a fixed header, so it takes the normal
   section-to-section top space instead of the header-clearing 7–10rem. */
.story-hero--after-cover {
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
}

/* Curtain reveal: the cover stays pinned while the next section slides up
   over it, and the image sinks the other way. Every section after the cover
   needs its own stacking layer + opaque background or the pinned cover shows
   through (same rule as .intro/.process/... on the home page) — the sibling
   selector covers any section added later, too. */
.story-cover ~ section {
  position: relative;
  z-index: 1;
  background: var(--color-light);
}
.story-cover ~ section + section {
  margin-top: -1px; /* closes the sub-pixel seam where the cover peeks through */
}
.story-cover {
  overflow: hidden;
  overflow: clip; /* not "hidden": that would become the scroll container for the
                     animation-timeline below and freeze it */
}
@media (prefers-reduced-motion: no-preference) {
  .story-cover {
    position: sticky;
    top: 0;
    z-index: 0;
  }
}
/* Text-only intro, centred under the cover. */
.story-intro {
  display: grid;
  justify-items: center;
}
.story-intro__text {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 60ch;
  text-align: center;
}
.story-intro__text .body-copy {
  text-wrap: balance; /* even line lengths read better centred */
}
.story-intro__sub {
  display: grid;
  gap: 0.85rem;
}

/* --- The Journey: founding story + timeline (heritage.html only) ---
   Base = a plain text stack (phone / tablet): the intro, then each step on a
   thin line, no pictures. At 1100px+ the script adds
   .is-scene and it becomes a pinned three-column scene: intro | picture |
   timeline, driven by scroll (see the Journey block in main.js). Same colours
   as the footer. */
.journey {
  --journey-pad: clamp(1.75rem, 5vw, 2.75rem);      /* room left of the steps for the line + dots */
  --journey-rule: color-mix(in srgb, var(--color-brand) 55%, transparent); /* theme blue, independent of the footer */
  --journey-soft: var(--color-dark);
  --journey-cut: clamp(2.25rem, 4.5vw, 4.5rem);     /* clipped top-left corner on the pictures */
  --journey-bg: #fff;
  background: var(--journey-bg);
  color: var(--color-footer-ink);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
/* out-ranks the generic ".story-cover ~ section" white background */
.story-cover ~ .journey {
  background: var(--journey-bg);
}
.journey__grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 4rem);
}
.journey__intro {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  max-width: 40rem;
}
.journey__title {
  font-size: var(--fs-display); /* same size as every other section title */
  line-height: 1.05;
}
.journey__body {
  display: grid;
  gap: 1.1rem;
  color: var(--journey-soft);
}
/* the gold A mark and hairline above the intro show on phones only (the desktop scene has its own layout) */
.journey__mark-logo,
.journey__mark-rule { display: none; }
/* phones and tablets: the intro (the Beginning, shaped over decades) is centred, like the other section heads */
@media (max-width: 899px) {
  .journey__intro {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }
}
@media (max-width: 719px) {
  .journey__mark-logo,
  .journey__mark-rule { display: block; }
}
.journey__frame {
  display: none; /* scene only */
}
.journey__viewport {
  max-width: 44rem;
}
.journey__scroller {
  position: relative;
  padding-left: var(--journey-pad);
}
.journey__rail {
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 1px;
  background: color-mix(in srgb, var(--color-brand) 55%, transparent);
}
.journey__fill {
  display: none; /* scene only */
}
.journey__steps {
  list-style: none;
  display: grid;
  gap: clamp(2.75rem, 9vw, 3.75rem);
}
.journey__step {
  position: relative;
  display: grid;
  gap: 0.7rem;
}
/* the dot sitting on the line */
.journey__step::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: calc(-1 * var(--journey-pad) - 3px);
  width: 7px;
  height: 7px;
  background: var(--color-brand-dark);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* Pictures are desktop-only (1100px+): phones and tablets get the text timeline.
   Display:none also keeps the browser from downloading them there. */
.journey__media {
  display: none;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  margin-bottom: 0.4rem;
}
.journey__year {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--color-brand-dark); /* theme blue */
}
.journey__step-title {
  color: var(--color-title);
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}
.journey__copy {
  max-width: 42ch;
  font-family: var(--font-dm-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--journey-soft);
}
@media (min-width: 1100px) {
  .journey:not(.is-scene) .journey__media {
    display: block; /* desktop without the scene (reduced motion / no JS) keeps the pictures */
  }
}
/* Wide screens without the scene (reduced motion / no JS): intro beside the steps */
@media (min-width: 900px) {
  .journey:not(.is-scene) .journey__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 8vw, 6rem);
  }
  .journey:not(.is-scene) .journey__intro {
    position: sticky;
    top: 7rem;
  }
}

/* --- Scene (desktop): a tall track with one pinned screen. Scroll sets t
   (0 … steps-1): the timeline slides up so the current step sits at the top of
   its column, the line fills down to it, steps dim with distance, and the
   picture cross-fades. Only transform / opacity change. --- */
@media (min-width: 1100px) {
  .journey.is-scene {
    padding-block: 0;
  }
  .journey.is-scene .journey__track {
    height: calc(100vh * var(--track-screens, 6));
    height: calc(100svh * var(--track-screens, 6));
  }
  /* Pins the moment its top edge meets the bottom of the fixed header (not
     after sliding up underneath it), and is that much shorter so its bottom
     edge stays at the bottom of the screen. --journey-top is the header's live height, set by main.js. */
  /* progress diamonds down the left edge of the pinned screen */
  .journey__marks {
    position: absolute;
    left: clamp(1rem, 2.4vw, 2.25rem);
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: 1.1rem;
    list-style: none;
    z-index: 2;
  }
  /* the diamond is the li's ::before; the button over it is the (larger) click target */
  .journey__marks li {
    position: relative;
    width: 7px;
    height: 7px;
  }
  .journey__marks li::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-title); /* black */
    opacity: 0.25;
    transform: rotate(45deg);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }
  .journey__marks li.is-active::before {
    background: var(--color-title); /* black for the current step */
    opacity: 1;
    transform: rotate(45deg) scale(1.7);
  }
  .journey__marks li:hover::before { opacity: 1; }
  .journey__mark {
    position: absolute;
    inset: -0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .journey__mark:focus-visible {
    outline: 1px solid var(--color-dark);
    outline-offset: 0;
  }
  .journey.is-scene .journey__stage {
    position: sticky;
    top: var(--journey-top, 0px);
    height: calc(100vh - var(--journey-top, 0px));
    height: calc(100svh - var(--journey-top, 0px));
    overflow: hidden;
  }
  .journey.is-scene .journey__grid {
    position: relative;
    height: 100%;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    /* gap between the section's top edge and the content (picture, heading,
       first step) — measured from the section, not the screen, so it stays put
       now that the stage pins under the header */
    padding-top: max(7.5rem, 20vh);
  }
  /* soft fade at the top and bottom of the pinned screen — gradients in the
     section colour, not a mask (a mask over a moving, sticky layer is costly
     and unreliable — it dropped the picture on some frames). The rgba(148,
     157, 188, 0) stop is --color-footer-bg fully transparent. */
  .journey.is-scene .journey__stage::before,
  .journey.is-scene .journey__stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 14%;
    pointer-events: none;
  }
  .journey.is-scene .journey__stage::before {
    top: 0;
    background: linear-gradient(to bottom, var(--journey-bg), rgba(255, 255, 255, 0));
  }
  .journey.is-scene .journey__stage::after {
    bottom: 0;
    background: linear-gradient(to top, var(--journey-bg), rgba(255, 255, 255, 0));
  }
  /* the thin column rules, running the full height of the stage — between the
     columns only; none at the far left or far right edge */
  .journey.is-scene .journey__grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--gutter);
    right: var(--gutter);
    background:
      linear-gradient(var(--journey-rule), var(--journey-rule)) 33.3333% 0 / 1px 100% no-repeat,
      linear-gradient(var(--journey-rule), var(--journey-rule)) 66.6667% 0 / 1px 100% no-repeat;
    pointer-events: none;
  }
  .journey.is-scene .journey__intro {
    max-width: none;
    padding-left: clamp(1rem, 2vw, 2rem); /* keeps the text clear of the progress diamonds on the left edge */
    padding-right: clamp(1.5rem, 3vw, 3rem);
  }
  .journey.is-scene .journey__title {
    font-size: var(--fs-display);
  }
  .journey.is-scene .journey__frame {
    display: block;
    position: relative;
    width: 100%; /* runs right up to the column line, no gap beside the picture */
    margin: 0;
    aspect-ratio: 5 / 4;
  }
  .journey.is-scene .journey__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }
  .journey.is-scene .journey__frame img:first-child {
    opacity: 1; /* until the script takes over */
  }
  .journey.is-scene .journey__viewport {
    max-width: none;
  }
  .journey.is-scene .journey__scroller {
    padding-left: clamp(1.75rem, 3.2vw, 3rem);
    will-change: transform;
  }
  .journey.is-scene .journey__rail {
    display: none; /* the column rule already draws it */
  }
  /* the filled part of the line: from the first dot down to the next step's dot */
  .journey.is-scene .journey__fill {
    display: block;
    position: absolute;
    left: -0.5px;
    top: calc(0.45rem + 3.5px);
    width: 2px;
    height: 0;
    background: var(--color-brand-dark);
    transition: height 0.9s var(--ease);
  }
  .journey.is-scene .journey__steps {
    display: block;
  }
  .journey.is-scene .journey__step {
    padding-bottom: clamp(7rem, 26vh, 15rem);
  }
  .journey.is-scene .journey__step::before {
    left: calc(-1 * clamp(1.75rem, 3.2vw, 3rem) - 3px);
    background: color-mix(in srgb, var(--color-brand) 70%, transparent);
  }
  .journey.is-scene .journey__step.is-on::before {
    background: var(--color-brand-dark);
  }
  .journey.is-scene .journey__step.is-active::before {
    transform: scale(1.45);
  }
  .journey.is-scene .journey__media {
    display: none;
  }
  .journey.is-scene .journey__step-title {
    font-size: clamp(1.2rem, 1.65vw, 1.6rem);
  }
}
/* --- Scene, phone / tablet (below 1100px): the same scroll animation on the
   timeline alone. The intro scrolls normally; the timeline then pins under the
   header and advances with scroll (line fills, steps dim, current step rises to
   the top). No pictures. The track's height is set in px by main.js. --- */
@media (max-width: 1099px) {
  .journey.is-scene .journey__track {
    height: var(--journey-track-h, auto);
  }
  .journey.is-scene .journey__stage,
  .journey.is-scene .journey__grid {
    height: 100%;
  }
  .journey.is-scene .journey__grid {
    align-content: start;
  }
  .journey.is-scene .journey__viewport {
    position: sticky;
    top: var(--journey-top, 0px);
    height: calc(100vh - var(--journey-top, 0px));
    height: calc(100svh - var(--journey-top, 0px));
    max-width: none;
    overflow: hidden;
  }
  /* soft fade top and bottom of the pinned timeline (gradients, not a mask —
     the rgba stop is --color-footer-bg fully transparent) */
  .journey.is-scene .journey__viewport::before,
  .journey.is-scene .journey__viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 14%;
    pointer-events: none;
  }
  .journey.is-scene .journey__viewport::before {
    top: 0;
    background: linear-gradient(to bottom, var(--journey-bg), rgba(255, 255, 255, 0));
  }
  .journey.is-scene .journey__viewport::after {
    bottom: 0;
    background: linear-gradient(to top, var(--journey-bg), rgba(255, 255, 255, 0));
  }
  .journey.is-scene .journey__scroller {
    will-change: transform;
    padding-top: clamp(2rem, 7vh, 3.5rem);
  }
  .journey.is-scene .journey__rail {
    top: calc(clamp(2rem, 7vh, 3.5rem) + 0.7rem);
    bottom: 0;
  }
  /* the filled part of the line: from the first dot down to the next step's dot */
  .journey.is-scene .journey__fill {
    display: block;
    position: absolute;
    left: -0.5px;
    top: calc(clamp(2rem, 7vh, 3.5rem) + 0.45rem + 3.5px);
    width: 2px;
    height: 0;
    background: var(--color-brand-dark);
    transition: height 0.9s var(--ease);
  }
  .journey.is-scene .journey__steps {
    display: block;
  }
  .journey.is-scene .journey__step {
    padding-bottom: clamp(3.5rem, 14vh, 6rem);
  }
  .journey.is-scene .journey__step:last-child {
    padding-bottom: 2.5rem; /* the timeline ends here — no empty screen after it */
  }
  .journey.is-scene .journey__step::before {
    background: color-mix(in srgb, var(--color-brand) 70%, transparent);
  }
  .journey.is-scene .journey__step.is-on::before {
    background: var(--color-brand-dark);
  }
  .journey.is-scene .journey__step.is-active::before {
    transform: scale(1.45);
  }
}
/* End of the scene: the next section is pulled up (by --journey-cover, set in
   main.js = the empty part of the pinned screen below the picture) so that,
   while the scene is still pinned, its top edge rises until it touches the
   bottom of the picture — then the whole section scrolls up together. Scene
   mode only: the plain stack must not overlap. */
@media (min-width: 1100px) {
  .story-cover ~ .journey.is-scene + section {
    margin-top: calc(-1 * var(--journey-cover, 0px));
  }
}
/* Short laptop screens: the pinned screen is only ~700px tall, so tighten the
   intro column to keep it clear of the fade at the bottom. */
@media (min-width: 1100px) and (max-height: 760px) {
  .journey.is-scene .journey__grid {
    padding-top: 6.5rem;
  }
  .journey.is-scene .journey__intro {
    gap: 1.25rem;
  }
  .journey.is-scene .journey__body {
    gap: 0.8rem;
  }
  .journey.is-scene .journey__title {
    font-size: var(--fs-display);
  }
}

/* --- Craftmanship: centred heading, then a horizontal scroll gallery --- */
.story-craft__head {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* ---------- 18a. Collection rows: feature photo + product slider ---------- */
.coll-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-light);
}
.coll-feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e5e2; /* light, so nothing dark flashes before the photo paints */
  color: var(--color-light);
  isolation: isolate;
}
.coll-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Shade band: a dark tint, strongest at the bottom and fading out toward the
   top (no blur), so the title stays legible over any photo. */
.coll-feature__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 9rem; /* just the caption area, so the photo stays visible */
  max-height: 40%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 18, 19, 0.42) 0%, rgba(20, 18, 19, 0.12) 60%, rgba(20, 18, 19, 0) 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 30%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 0%, #000 30%, transparent 100%);
}
.coll-feature__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.coll-feature__title {
  color: var(--color-light);
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
}
.coll-feature__tag {
  font-family: var(--font-manrope);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* a full sentence instead of a one-line tag: normal case, readable size */
.coll-feature__tag--text {
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* A bright, mostly white photo (the Half-Bezel set): shown whole on a white ground, its top and bottom edges
   feathered into the page, with dark text instead of white. */
.coll-feature--bright .coll-feature__media { background: #fff; }
.coll-feature--bright .coll-feature__media img {
  object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.coll-feature--bright .coll-feature__scrim { display: none; }
.coll-feature--bright .coll-feature__cue { background: rgba(20, 18, 19, 0.72); border-color: transparent; } /* a darker button, white text stays readable on the white photo */
.coll-feature--bright .coll-feature__title,
.coll-feature--bright .coll-feature__tag { color: var(--color-dark); }

/* Illusion: the model wears a bracelet low on the left, which a caption along the bottom would
   cover (and block the click on it). Wide screens: caption on the right, over the dark dress.
   Phones: no room beside it, so the caption sits under the photo. */
@media (min-width: 900px) {
  #bridal-engagement .coll-feature__caption { left: 40%; justify-items: end; text-align: right; }
  #high-jewelry .coll-feature__caption { justify-items: end; text-align: right; } /* same side as Illusion */
  /* shade only the bottom-right corner, so the bracelet stays clear */
  #bridal-engagement .coll-feature__scrim {
    height: 55%;
    max-height: none;
    background: radial-gradient(75% 100% at 100% 100%, rgba(20, 18, 19, 0.6) 0%, rgba(20, 18, 19, 0.34) 50%, rgba(20, 18, 19, 0) 100%);
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 899px) {
  #bridal-engagement .coll-feature__media { aspect-ratio: auto; background: var(--color-light); }
  #bridal-engagement .coll-feature__media img { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 5; }
  #bridal-engagement .coll-feature__scrim { display: none; }
  #bridal-engagement .coll-feature__caption { position: static; }
  #bridal-engagement .coll-feature__title,
  #bridal-engagement .coll-feature__tag { color: var(--color-dark); }
}

.coll-slider {
  display: grid;
  align-content: center;
  gap: 1.75rem;
  min-width: 0;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
}
.coll-slider__stage {
  position: relative;
}
.coll-slider__track {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: 19%;
}
.coll-slider__track::-webkit-scrollbar { display: none; }
.coll-slider__track.is-dragging {
  scroll-snap-type: none; /* free while dragging; snaps again on release */
  cursor: grabbing;
  user-select: none;
}
.coll-slide {
  flex: 0 0 100%; /* of the track's content box, which the 19% side padding narrows to 62% */
  min-width: 0;
  scroll-snap-align: center;
  cursor: pointer;
  display: grid;
  gap: 0.9rem;
  text-align: center;
}
.coll-slide__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.coll-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* diamond marks under the slider — one per piece, the one in view grows and darkens */
.coll-slider__dashes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
}
.coll-slider__dash {
  width: 7px;
  height: 7px;
  padding: 0;
  background: var(--color-title); /* black */
  border: 0;
  opacity: 0.25;
  transform: rotate(45deg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.coll-slider__dash:hover { opacity: 1; }
.coll-slider__dash.is-active {
  background: var(--color-title); /* black for the current piece */
  opacity: 1;
  transform: rotate(45deg) scale(1.7);
}
/* phones / tablets: smaller diamonds, and the current one grows only a little */
@media (max-width: 899px) {
  .coll-slider__dashes { gap: 0.85rem; }
  .coll-slider__dash { width: 5px; height: 5px; }
  .coll-slider__dash.is-active { transform: rotate(45deg) scale(1.3); }
}
@media (min-width: 900px) {
  /* each row fits one screen (below the fixed header): the photo fills its half,
     the slider's picture takes whatever height the text underneath leaves */
  .coll-feature {
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - var(--header-h, 3.75rem));
    height: calc(100svh - var(--header-h, 3.75rem));
    min-height: 32rem;
  }
  .coll-slider {
    grid-template-rows: auto auto;
    align-content: center; /* pictures + dashes sit together in the middle */
    gap: 1.25rem;
    /* side padding keeps the peeking pieces clear of the photo next to the slider */
    padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem);
  }
  /* the centred piece shows in full (52% of the slider); its neighbours peek in
     from each side, cut off at well under half their width */
  .coll-slider__track {
    padding-inline: 24%;
    gap: 1rem;
  }
  .coll-slide {
    gap: 0.6rem;
  }
  /* the picture is 4:5, so cap its width to what keeps it inside the row (row height
     minus padding and dashes); without this it spills out on wide, short windows */
  .coll-slide__media {
    justify-self: center;
    width: min(100%, calc((max(32rem, 100svh - var(--header-h, 3.75rem)) - 6rem) * 4 / 5));
  }
  .coll-slider {
    min-height: 0;
  }
  .coll-feature__media {
    aspect-ratio: auto;
  }
  /* zig-zag: every other row puts the slider first and the photo on the right
     (the photo stays first in the markup, so reading order is unchanged) */
  .coll-feature--flip .coll-feature__media { order: 2; }
}

/* ---------- 18b. Full-screen piece viewer ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 400; /* above the fixed header */
  /* white frosted glass over the page, like the reference */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  color: var(--color-dark);
}
.viewer[hidden] { display: none; }
html.viewer-open { overflow: hidden; }
.viewer__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}
.viewer.is-zoomed .viewer__stage { cursor: grab; }
.viewer__img {
  max-width: min(92vw, 1100px);
  max-height: 80vh; /* leaves room for the counter pill and zoom buttons below */
  max-height: 80svh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  will-change: transform;
}
.viewer__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid color-mix(in srgb, var(--color-dark) 22%, transparent);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.viewer__btn:hover { background: var(--color-dark); color: var(--color-light); }
.viewer__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; background: none; border: 0; }
.viewer__close:hover { background: none; color: var(--color-dark); opacity: 0.55; }
.viewer__prev,
.viewer__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.viewer__prev { left: 1.25rem; }
.viewer__next { right: 1.25rem; }
.viewer__count {
  position: absolute;
  left: 50%;
  bottom: 5.25rem;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--color-light);
  background: color-mix(in srgb, var(--color-dark) 78%, transparent);
  border-radius: 999px;
}
.viewer__count[hidden] { display: none; }
.viewer__zoom {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

/* phones: one column that always fits the screen, like the Indian site's viewer -
   close on top, the picture the full width of the screen in the middle (it takes whatever
   height is left), and the two arrows together underneath. Nothing floats over the picture. */
@media (max-width: 700px) {
  .viewer {
    display: grid;
    grid-template-columns: 1fr 40px 16px 40px 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    height: 100dvh;
    padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
    row-gap: 12px;
    column-gap: 0;
    box-sizing: border-box;
  }
  .viewer > * { position: static; transform: none; }
  .viewer__close { grid-column: 5; grid-row: 1; justify-self: end; }
  .viewer__stage { grid-column: 1 / -1; grid-row: 2; position: relative; min-height: 0; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .viewer__img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
  .viewer__prev { grid-column: 2; grid-row: 3; }
  .viewer__next { grid-column: 4; grid-row: 3; }
  .viewer__zoom { display: none; } /* no - / + on phones */
  .viewer__btn { width: 40px; height: 40px; }
  .viewer__count { display: none; }
}

/* ---------- 18c. Collection looks: look view + piece view ---------- */
/* A collection photo on the Collections page is a button (.coll-feature__open) that
   opens .looks, a full-screen white view: first the look with its pieces, then one
   piece on its own. Built by main.js from #looks-data. */
.coll-feature__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
/* no frame around the whole photo (it showed after closing a popup with Esc): the piece rings show piece by
   piece instead, and keyboard focus is shown on the "View the look" label */
.coll-feature__open:focus-visible { outline: none; }
.coll-feature__open:focus-visible .coll-feature__cue { outline: 2px solid var(--color-light); outline-offset: 3px; }
.coll-feature__cue {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-light);
  background: rgba(20, 18, 19, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color var(--dur) var(--ease);
}
.coll-feature__cue::after { content: "+"; font-size: 1rem; line-height: 1; }
.coll-feature__open:hover .coll-feature__cue,
.coll-feature__open:focus-visible .coll-feature__cue { background: rgba(20, 18, 19, 0.5); }

.looks {
  position: fixed;
  inset: 0;
  z-index: 350; /* above the fixed header, under the zoom viewer (400) */
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-light);
  color: var(--color-dark);
}
.looks[hidden] { display: none; }
html.looks-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .looks:not([hidden]) { animation: looks-in 0.3s var(--ease); }
  @keyframes looks-in { from { opacity: 0; } to { opacity: 1; } }
}
.looks__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--color-dark);
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease);
}
.looks__close:hover { opacity: 0.55; }
/* the X also shows in the piece view: it goes back to the look (or closes, if the piece was opened from the page) */

/* ----- look view ----- */
.looks__look { display: grid; }
.looks__photo { margin: 0; width: 100%; height: 62svh; overflow: hidden; } /* phone: full width, no side gap */
.looks__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; } /* phone: picture pulled up so the jewellery is in frame */
.looks__photo { position: relative; }
/* invisible click areas over the jewellery in the photo; a soft ring shows on hover / focus */
.looks__hots { position: absolute; inset: 0; pointer-events: none; }
.looks__hot {
  position: absolute;
  padding: 0;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
@media (hover: hover) {
  .looks__hot:hover { border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.14); }
}
.looks__hot:focus-visible { border-color: rgba(255, 255, 255, 0.9); outline: none; }
.coll-feature__media .looks__hots { z-index: 2; } /* above the photo's "View the look" button */
/* a bright, mostly white photo: the hover ring is dark, and the "look" photo is shown whole on white */
@media (hover: hover) {
  .coll-feature--bright .looks__hot:hover { border-color: rgba(20, 18, 19, 0.7); background: rgba(20, 18, 19, 0.06); }
  .looks__photo--contain .looks__hot:hover { border-color: rgba(20, 18, 19, 0.7); background: rgba(20, 18, 19, 0.06); }
}
.coll-feature--bright .looks__hot:focus-visible,
.looks__photo--contain .looks__hot:focus-visible { border-color: rgba(20, 18, 19, 0.7); }
.looks__photo--contain { background: #fff; }
.looks__photo--contain img { object-fit: contain; object-position: center 30%; }
.looks__panel { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem var(--gutter) 2.5rem; }
.looks__head { display: grid; justify-items: start; gap: 0.75rem; }
.looks__title { max-width: none; text-align: left; font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); }
.looks__lead { font-size: var(--fs-base); color: color-mix(in srgb, var(--color-dark) 80%, transparent); }
.looks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  list-style: none;
}
.looks__piece {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.looks__piece-media { aspect-ratio: 1 / 1; overflow: hidden; }
.looks__piece-media img { width: 100%; height: 100%; padding: 2%; object-fit: contain; } /* the piece pictures already carry their own margin */
.looks__piece:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 4px; }
.looks__piece-name { font-size: 1rem; line-height: 1.35; }
.looks__piece-code {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}

/* ----- piece view ----- */
.looks__piece-view { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100svh; }
.looks__stage { position: relative; display: flex; flex-direction: column; min-width: 0; }
/* photo area: the photo fills the left half, round arrows sit inside its left and right edges,
   and the thumbnails run along the bottom on a light tray */
.looks__view { position: relative; flex: none; aspect-ratio: 1 / 1; overflow: hidden; } /* the photo fills this edge to edge */
/* phones: the photos are a swipeable row instead (next one peeking in), small enough that the
   name, story and details show below without scrolling */
.looks__track { display: none; }
@media (max-width: 899px) {
  .looks__view, .looks__tray { display: none; }
  .looks__track {
    display: flex;
    gap: 0.6rem;
    padding: 0 var(--gutter);
    scroll-padding-inline: var(--gutter);
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .looks__track::-webkit-scrollbar { display: none; }
  .looks__track--single { justify-content: center; } /* a lone photo sits in the middle */
  .looks__track li { flex: 0 0 min(78%, 46svh); scroll-snap-align: start; }
  .looks__slide { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; background: none; border: 0; cursor: zoom-in; }
  .looks__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
}
.looks__zoom { position: absolute; inset: 0; display: block; padding: 0; background: none; border: 0; cursor: zoom-in; }
.looks__zoom img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* plain product shots (white background): shown whole, with room around them like the text side
   (a piece sets "fit": "contain" in its data), instead of being cropped to fill the frame */
.looks__view.looks--contain { background: #fff; }
.looks__view.looks--contain .looks__zoom img { object-fit: contain; padding: clamp(1.5rem, 6%, 4rem); box-sizing: border-box; }
@media (max-width: 899px) {
  .looks__track.looks--contain .looks__slide { background: #fff; }
  .looks__track.looks--contain .looks__slide img { object-fit: contain; padding: 6%; box-sizing: border-box; }
}
.looks__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--color-dark);
  background: var(--color-brand-tint);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.looks__nav:hover, .looks__nav:focus-visible { background: var(--color-dark); color: var(--color-light); }
.looks__nav--prev { left: 1rem; }
.looks__nav--next { right: 1rem; }
/* phone: thumbnails sit in their own row under the photo, centred */
.looks__tray { padding: 0.75rem 1.25rem 0.25rem; }
@media (min-width: 900px) {
  /* desktop: they float over the bottom of the photo, centred */
  .looks__tray { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 2; padding: 0 1.25rem; pointer-events: none; }
  .looks__tray .looks__shots { pointer-events: auto; }
}
.looks__shots { display: flex; justify-content: center; gap: 0.5rem; list-style: none; overflow-x: auto; }
.looks__shot {
  flex: 0 0 auto;
  width: 2.75rem;
  aspect-ratio: 1 / 1;
  padding: 0.15rem;
  overflow: hidden;
  background: var(--color-light);
  border: 1px solid var(--color-hairline);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.looks__shot:hover { opacity: 1; }
.looks__shot img { width: 100%; height: 100%; object-fit: contain; }
.looks__shot.is-active { opacity: 1; border-color: var(--color-dark); }
.looks__info { display: flex; flex-direction: column; min-width: 0; }
.looks__info-body { flex: 1; display: grid; align-content: start; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 0.3rem; padding: 2rem var(--gutter) 2rem; }
.looks__name { max-width: none; text-align: left; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
.looks__code {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}
.looks__story { max-width: 34rem; margin-top: 1.25rem; } /* the story sits under the spec rows */
.looks__specs { margin-top: 0.7rem; display: grid; gap: 0; width: 100%; font-size: 1rem; }
.looks__specs div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0.65rem 0.3rem 0; border-bottom: 1px solid var(--color-hairline); }
.looks__specs dt { color: var(--color-dark); font-weight: var(--fw-semibold); } /* theme dark, a touch heavier */
/* "Enquire" is the site's .btn, dressed like the contact form's Send Enquiry button */
/* pinned to the bottom of the screen while the details scroll; sits at the foot of the column when they are short */
.looks__cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 1rem var(--gutter) 1.25rem;
  background: var(--color-light);
}
.looks__enquire {
  display: flex;
  width: 100%;
  padding: 10px 2.5rem;
  background: var(--color-dark);
  color: var(--color-light);
  border-color: var(--color-dark);
}
.looks__enquire:hover,
.looks__enquire:focus-visible { background: transparent; color: var(--color-dark); }
.looks__enquire .btn-label { text-align: center; line-height: 1.3; }
@media (max-width: 599px) { /* long label: keep it centred and tidy if it wraps to two lines */
  .looks__enquire { padding: 12px 1.25rem; }
  .looks__enquire .btn-label { font-size: 0.8125rem; }
}


@media (min-width: 600px) {
  .looks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.looks__grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.looks__grid--few .looks__piece-media { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .looks__look { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 100vh; height: 100svh; }
  .looks__photo { height: auto; }
  .looks__photo img { object-position: center 30%; }
  .looks__panel { overflow-y: auto; padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem) 1.5rem; gap: 1.25rem; }
  .looks__piece-media,
  .looks__grid--few .looks__piece-media { aspect-ratio: auto; height: max(22svh, 10.5rem); } /* sized so the look fits one screen; never so short that the pieces become tiny in a small window */
  .looks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .looks__piece-view { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  /* desktop: the photo stays put; only the details column scrolls (the Enquire bar stays pinned inside it) */
  .looks__piece-view { height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
  .looks__stage { height: 100%; min-height: 0; }
  .looks__view { flex: 1; aspect-ratio: auto; min-height: 0; }
  .looks__info { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .looks__info-body { padding: 5rem clamp(1.5rem, 4vw, 4rem) 2rem; }
  .looks__cta { padding-inline: clamp(1.5rem, 4vw, 4rem); }
}
@media (min-width: 1200px) {
  .looks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .looks__grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 18. Collections page ---------- */
/* Reuses .story-hero / .story-hero__head for the centred title. */
.collections-hero__lead {
  max-width: 64ch;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  text-align: center;
}

/* Collections grid: one full-bleed feature picture per collection, two
   staggered columns (the right one starts lower), title centred on each
   picture. Phone: a single column. */
.coll-grid {
  padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}
.coll-grid__list {
  display: flex;
  align-items: flex-start;
  list-style: none;
}
.coll-grid__col-item {
  flex: 1 1 50%;
  min-width: 0;
}
/* Staggered: the right column starts lower by one offset and ends earlier by
   the same offset, so the gap above the right column equals the gap below it.
   The per-collection aspect ratios that make this balance are keyed to each
   page's tile ids, just below the tile/media rules. The offset is a % of the
   list's width — half of a column, hence 17.5%. */
.coll-grid__col-item--offset {
  padding-top: 17.5%;
}
.coll-grid__col {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.coll-tile {
  position: relative;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  overflow: clip;
  background: var(--color-dark);
  color: var(--color-light);
  isolation: isolate;
}
.coll-item {
  scroll-margin-top: var(--header-h, 6rem);
}

.coll-tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coll-tile__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* even wash for the centred title, a little heavier at the bottom */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.5) 100%);
}
.coll-tile__text {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 2rem var(--gutter);
  text-align: center;
}
.coll-tile__title {
  color: var(--color-light); /* sits on a full-bleed photo — .display's default black would be lost on it */
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  line-height: 1.05;
}

@media (max-width: 719px) {
  /* one column, in the order Bridal, Rings, Earrings, Necklaces, Bracelets */
  .coll-grid__list,
  .coll-grid__col {
    display: contents;
  }
  .coll-grid__list {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* tiles are full width (the base rule top-aligns the columns) */
  }
  .coll-grid__col-item {
    display: contents;
  }
  .coll-item {
    order: var(--o);
  }
  .coll-tile {
    aspect-ratio: 4 / 5;
  }
}

body.coll-open {
  overflow: hidden;
}

/* match the tighter hero-to-section rhythm the other inner pages use,
   instead of the full .section space */
.enquiry {
  /* follows the cover image, so the normal section-to-section top space */
  padding-top: clamp(2.75rem, 6vw, 5.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.75rem);
}
/* Mobile source order = hero, intro, form, then the direct channels.
   Desktop re-lays it to intro + channels stacked on the left, form on the right. */
/* Intro + direct channels on the left, the form on the right (stacked on phones). */
.enquiry__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.enquiry__form {
  width: 100%;
  max-width: 44rem;
}
.enquiry__intro {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}
/* phones / tablets: the form comes first, the contact options below it */
@media (max-width: 899px) {
  .enquiry__form { order: -1; }
}
.enquiry__channels {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 1rem;
  list-style: none;
}
.enquiry__channel {
  display: grid;
  grid-template-rows: auto 1fr auto; /* title, text, link — links line up along the bottom of each row */
  justify-items: start;
  gap: 0.6rem;
}
.enquiry__channel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-title);
}
.enquiry__channel .body-copy {
  max-width: 34ch;
}
.enquiry__channel .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  white-space: nowrap; /* keeps the arrow on the same line as "Send a message" */
}
/* 2 x 2 at every size: Call / E-mail on the first row, Message / Appointments on the second */
.enquiry__channels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 2.5rem);
  row-gap: clamp(1.5rem, 4vw, 3rem);
}
/* phones: just the icon + title and the link, so the block stays short */
@media (max-width: 599px) {
  .enquiry__channel .body-copy { display: none; }
  .enquiry__channel-title { font-size: 0.8125rem; gap: 0.5rem; }
  .enquiry__channel .text-link { margin-top: 0; }
}
.enquiry__arrow {
  flex: 0 0 auto;
}
@media (min-width: 900px) {
  .enquiry__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(3rem, 8vw, 7rem);
  }
  .enquiry__intro {
    position: sticky;
    top: 7rem;
  }
  .enquiry__form {
    max-width: none;
  }
}
/* The form sits on a quiet tint panel with a fine dark rule across the top —
   a considered "card" against the white page, without a heavy border. */
.enquiry__form {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.35rem);
  align-content: start;
}
.enquiry__form-title {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}
.field {
  position: relative;
  display: grid;
  gap: 0.35rem;
}
.field--split {
  gap: clamp(1rem, 2.2vw, 1.35rem);
}
.appt__dates { grid-template-columns: 1fr 1fr; } /* Date / Time side by side, even on a phone */
.field__label {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.field__control {
  width: 100%;
  padding: 0.55rem 0;
  font-family: var(--font-dm-sans);
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(55, 52, 53, 0.22);
  border-radius: 0;
}
.field__control::placeholder { color: rgba(55, 52, 53, 0.4); }
.field__control:focus {
  outline: none;
  border-bottom-color: var(--color-dark);
}
textarea.field__control {
  resize: vertical;
  min-height: 3.5rem;
  line-height: 1.6;
}
select.field__control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.75rem;
  cursor: pointer;
  /* periwinkle instead of the OS-blue highlight in the open list */
  accent-color: var(--color-brand-dark);
  color-scheme: light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%235a7686' stroke-width='1.4'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1.05rem;
}
/* the popup list — options are OS-drawn, so only colour is reliable
   (no padding, keeps the list compact); mostly honoured on Chrome/Firefox */
.field__control option {
  background: var(--color-light);
  color: var(--color-dark);
  font-family: var(--font-dm-sans);
}
.field__control option:checked,
.field__control option:hover {
  background: var(--color-brand-tint);
  color: var(--color-dark);
}
/* Custom dropdown (appointment popup "Name of Show"): a styled trigger + list over a
   visually hidden native select, which keeps validation, reset and the submitted value. */
.dd { position: relative; }
.dd__native {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dd__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  text-align: left;
  cursor: pointer;
}
.dd__btn::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.2rem;
  border-right: 1.4px solid var(--color-brand-dark);
  border-bottom: 1.4px solid var(--color-brand-dark);
  transform: translateY(-25%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.dd.is-open .dd__btn { border-bottom-color: var(--color-dark); }
.dd.is-open .dd__btn::after { transform: translateY(20%) rotate(-135deg); }
.dd__value.is-placeholder { color: rgba(55, 52, 53, 0.4); }
.dd__btn:disabled { cursor: default; }
.dd__btn:disabled::after { opacity: 0.35; }
.dd__btn.is-invalid { border-bottom-color: #b3261e; }
.dd__list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--color-light);
  border: 1px solid var(--color-hairline);
  border-top: 2px solid var(--color-brand);
  box-shadow: 0 16px 36px rgba(20, 18, 19, 0.16);
}
.dd__list:not([hidden]) { animation: dd-in 0.18s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* phones: smaller text in the dropdown fields so placeholders like "Select a show first" stay on one line */
@media (max-width: 719px) {
  .dd__btn,
  .appt__form .field__control { font-size: 14px; } /* typed text matches the dropdowns */
  .dd__value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
.dd__item {
  padding: 0.45rem 0.9rem;
  font-family: var(--font-dm-sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-dark);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.dd__item + .dd__item { border-top: 1px solid var(--color-hairline); }
.dd__item.is-active { background: var(--color-brand-tint); }
.dd__item[aria-selected="true"] {
  font-weight: var(--fw-semibold);
  box-shadow: inset 3px 0 0 var(--color-brand-dark);
}
/* Phone: a flag + country select beside the number input. The select is a
   UI helper only (no name attribute) — picking a country or typing a "+code"
   both write the real dial code into the number field itself (main.js).
   The flag + select share one underline as a single unit; the flag is a
   real icon (background-image sprite), not emoji — those don't render
   inside <option> text on Windows. */
.field__phone {
  display: flex;
  gap: 0.75rem;
}
.field__code-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 7.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(55, 52, 53, 0.22);
}
.field__code-wrap:focus-within {
  border-bottom-color: var(--color-dark);
}
.field__flag {
  flex-shrink: 0;
  width: 1.15rem;
  height: 0.85rem;
  border-radius: 2px;
  pointer-events: none;
}
/* select.field__code (not just .field__code) matches select.field__control's
   specificity so these values reliably win over its box/padding/background */
select.field__code {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 0;
  padding-right: 1.1rem;
  border-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-position: right center;
  background-size: 0.85rem;
}
.field__tel {
  flex: 1;
  min-width: 0;
}
/* confident solid submit, full width of the panel */
.enquiry__submit {
  justify-self: stretch;
  margin-top: 0.5rem;
  padding-block: 10px;
  background: var(--color-dark);
  color: var(--color-light);
  border-color: var(--color-dark);
  cursor: pointer;
}
.enquiry__submit:hover {
  background: transparent;
  color: var(--color-dark);
}

@media (min-width: 900px) {
  .field--split {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Schedule-an-appointment popup (Contact page, Trade Shows) ---------- */
/* "Schedule an appointment" uses the theme's standard CTA button (.btn): dark fill, white label,
   outlined on hover — the same as "Request more details" and "Send Enquiry" */
.trade-appt__link {
  margin-top: 1.25rem;
  justify-self: start;
  padding: 10px 2.5rem;
  background: var(--color-dark);
  color: var(--color-light);
  border-color: var(--color-dark);
  cursor: pointer;
}
.trade-appt__link:hover,
.trade-appt__link:focus-visible { background: transparent; color: var(--color-dark); }
@media (max-width: 599px) { .trade-appt__link { display: flex; width: 100%; } } /* phone: full-width button */
.appt {
  position: fixed;
  inset: 0;
  z-index: 360; /* above the fixed header */
  display: grid;
  place-items: center;
  padding: 1rem;
}
.appt[hidden] { display: none; }
html.appt-open { overflow: hidden; }
.appt__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 19, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.appt__card {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--color-light);
  color: var(--color-dark);
  box-shadow: 0 24px 60px rgba(20, 18, 19, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .appt:not([hidden]) .appt__card { animation: appt-in 0.3s var(--ease); }
  @keyframes appt-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
.appt__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--color-dark);
  background: none;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease);
}
.appt__close:hover, .appt__close:focus-visible { opacity: 0.55; }
.appt__body, .appt__thanks { display: grid; justify-items: start; gap: 1rem; }
.appt__body[hidden], .appt__thanks[hidden] { display: none; }
.appt__title { max-width: none; text-align: left; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.appt__form { max-width: none; margin-top: 0.5rem; order: 0; }
/* the "Request via the contact form" link jumps here: keep the form clear of the fixed header */
#enquiry-form { scroll-margin-top: 6rem; }
/* tighter spacing inside the appointment form: smaller gaps between fields and shorter field rows */
.appt__form { gap: 0.85rem; }
.appt__form .field__control { padding-block: 0.3rem; line-height: 1.4; font-size: 14px; } /* 14px on every screen size */
.appt__form .dd__btn { min-height: 2.1rem; }
.appt__form input.field__control { min-height: 0; }

/* a more refined look for the appointment pop-up: a brand-blue top edge, a soft tint behind the
   heading that fades to white, a deeper shadow and a thicker underline on the field in use */
.appt__card {
  border-top: 3px solid var(--color-brand-dark);
  background: linear-gradient(180deg, var(--color-brand-tint) 0, var(--color-light) 11rem);
  box-shadow: 0 32px 80px rgba(20, 18, 19, 0.45);
}
.appt__form .field__control:focus,
.appt__form .dd.is-open .dd__btn { border-bottom-color: var(--color-brand-dark); box-shadow: 0 1px 0 var(--color-brand-dark); }
.appt__form .field__label { color: var(--color-brand-dark); }
.appt__form input[type="date"] { min-height: 2.6rem; font-family: inherit; cursor: pointer; } /* the contact page puts its form first on phones; here the heading comes first */

/* ---------- 21. Work With Us page ---------- */
/* Hero reuses .story-hero + .story-hero__head + .collections-hero__lead.
   "How a collection comes together" reuses .story-founding__grid + .timeline
   (chip holds a step number instead of a year). */
.trade-hero__note {
  font-style: normal; /* same as every other intro paragraph */
}
/* .text-link defaults to fit-content width, so as a grid child it aligns
   to the start of the cell rather than following .collections-hero__lead's
   text-align: center — pull it back to centre explicitly. */
.trade-hero__cta {
  justify-self: center;
}

.trade-ways,
.trade-practical {
  padding-block: clamp(1.5rem, 3vw, 2.75rem);
}
/* white gap under the process tiles before the footer, same as the other sections (.intro) */
.trade-ways {
  padding-bottom: clamp(2.75rem, 6vw, 5.5rem);
}
/* The sticky banner stays pinned for the rest of the page unless every
   section after it also stacks above it — same as .intro/.process/
   .heritage/.locations/.cta on the home page (.cta already shares that
   rule). Missing this on any one of them lets the banner show through. */
.trade-ways {
  position: relative;
  z-index: 1;
  background: var(--color-light);
}
.trade-ways {
  margin-top: -1px;
}

/* Three material worlds — equal bordered cards, same tile language as the
   story-page timeline. */
/* How a collection comes together: the same staggered full-bleed tiles as the
   Collections page (.coll-grid / .coll-tile — see there), with a number, a title
   and a short description on each. Left column tiles are taller, right column
   tiles shorter, so the offset above the right column equals the gap below it
   (all in column-widths, so it holds at any screen size: left 1.3 + 1.3 = 2.6;
   right 0.35 + 0.95 + 0.95 + 0.35 = 2.6). */
/* No solid backing colour behind these pictures (the collections tiles keep one
   until their image paints; here it was drawing over the photo). */
.coll-tile--way {
  background: none;
}
/* Some of these photos are bright (white studio backdrops), so the wash behind
   the white text is heavier than on the Collections tiles. */
.coll-tile--way .coll-tile__scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.7) 100%);
}
/* text blocks all start at the same height (a fixed distance from the top of the
   tile) instead of being centred, so 01 / 02 / 03 / 04 line up across the row */
@media (min-width: 720px) {
  /* the four texts sit together at the bottom of their tiles (01 / 02 / 03 / 04 line up), so each picture
     stays clearly visible above its text; the wash is light on top and heavy where the text is */
  .coll-tile--way .coll-tile__text {
    align-content: end;
    padding-top: 2rem;
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
  }
  .coll-tile--way .coll-tile__scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.68) 62%, rgba(0, 0, 0, 0.78) 100%);
  }
}
.coll-tile--way .coll-tile__title {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.1;
  max-width: 14ch;
}
.coll-tile__num {
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.85);
}
.coll-tile__copy {
  max-width: 34ch;
  font-family: var(--font-dm-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
/* "How a collection comes together": a single row of 4, not the staggered
   2-column layout .coll-grid normally uses — dissolve the column wrappers
   (their padding/offset math has no effect on a display:contents box anyway)
   so all 4 tiles sit as direct grid items, then reorder them into reading
   order via --o (DOM order is 1,3,2,4, left over from the staggered layout's
   two columns). */
.coll-grid--ways .coll-grid__col,
.coll-grid--ways .coll-grid__col-item {
  display: contents;
}
.coll-grid--ways .coll-item {
  order: var(--o);
}
@media (min-width: 720px) {
  /* below this, the existing generic mobile rule already turns .coll-grid__list
     into a single-column flex stack — leave that alone, it's still correct */
  .coll-grid--ways .coll-grid__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 0.75rem; /* same gap as the swipeable row on phones */
  }
  .coll-grid--ways .coll-tile {
    aspect-ratio: 3 / 4; /* uniform now — the old pairing ratios were only for balancing the two staggered columns */
  }
}
/* below 1400px wide: two cards per row, so the 18px text fits inside each card */
@media (min-width: 720px) and (max-width: 1399px) {
  .coll-grid--ways .coll-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* phones: the four steps are a swipeable row, one card at a time with the next one peeking in
   from the right. */
@media (max-width: 719px) {
  .coll-grid--ways .coll-grid__list {
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .coll-grid--ways .coll-grid__list::-webkit-scrollbar { display: none; }
  .coll-grid--ways .coll-item {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}

/* Practical details — photo beside the term/value rows, same media-left
   idea as .trade-ways__layout but with the image (not the title) pinned
   in the left column since the list is the part worth scrolling past.
   At desktop this breaks out of the centred container the same way
   .collection-feature does: the photo runs hard to the true viewport
   edge, and the content column re-adds the page's usual right-hand
   gutter/max-width so its text still lines up with every other section. */
.trade-practical__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 860px) {
  .trade-practical__layout {
    max-width: none;
    padding-inline: 0;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
    align-items: center;
  }
  
  .trade-practical__content {
    padding-right: max(var(--gutter), calc((100% - var(--container-max)) / 2 + var(--gutter)));
  }
}

/* Practical details — bordered term/value rows */
.trade-details__list {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--color-hairline);
}
.trade-details__row {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--color-hairline);
}
.trade-details__term {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}
.trade-details__value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
}
@media (min-width: 640px) {
  .trade-details__row {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }
}

/* Trade shows (Contact page) reuses the practical-details layout with a title
   block where the photo was, and a logo + city on each row. */
.trade-practical__intro {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}
.trade-practical__intro .body-copy {
  max-width: 46ch;
}
@media (min-width: 860px) {
  .trade-practical__intro {
    margin-bottom: 0;
    /* the column starts at the true screen edge, so re-add the page's usual
       left gutter/max-width so the title lines up with the rest of the page */
    padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
  }
}
.trade-details__list--logos .trade-details__row {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.25rem;
}
.trade-details__list--logos .trade-details__term {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* between two logos in one row (Hong Kong) */
  min-height: 5rem;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.trade-details__list--logos .shows__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 16rem;
  max-height: 5rem;
  object-fit: contain;
}
.trade-details__list--logos .trade-details__value {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  color: var(--color-brand-dark);
}
/* the diamond marks under the trade-shows slider only exist on phones / tablets */
.trade-shows__dashes { display: none; }
@media (max-width: 859px) {
  .trade-shows__dashes { display: flex; }
}
/* Phones / tablets: the trade shows become a swipeable slider — one card per
   show (logo over its city), the middle card at full strength and its
   neighbours faded, with diamond marks underneath (built in main.js). */
@media (max-width: 859px) {
  /* as a grid item the list would otherwise grow to its cards' full width and push
     the middle card off-centre — pin it to the width of the page column */
  .trade-practical__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .trade-practical__content {
    min-width: 0;
  }
  .trade-details__list--logos {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0;
    border-bottom: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: 28%; /* the centre card is 44% wide; each neighbour peeks in from the sides */
    padding-bottom: 0.25rem;
  }
  .trade-details__list--logos::-webkit-scrollbar { display: none; }
  .trade-details__list--logos .trade-details__row {
    flex: 0 0 100%; /* of the 44% left inside the side padding */
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
    padding: 1.75rem 0.25rem;
    text-align: center;
    border: 0;
    scroll-snap-align: center;
    cursor: pointer;
  }
  /* the card in the middle is at full strength, its neighbours fade back */
  .trade-details__list--logos .trade-details__row > * {
    opacity: 0.35;
    transition: opacity 0.4s var(--ease);
  }
  .trade-details__list--logos .trade-details__row.is-active > * {
    opacity: 1;
  }
  .trade-shows__dashes {
    margin-top: 1.25rem;
  }
  .trade-details__list--logos .trade-details__term {
    justify-content: center;
    width: 100%;
  }
  /* the cards are narrow, so the logo gets a definite width that scales down to fit
     (an auto-width SVG with no fixed size would otherwise collapse to nothing) */
  .trade-details__list--logos .shows__logo {
    width: 100%;
    max-width: 9rem;
  }
  /* two logos in one card (Hong Kong): each a little smaller so both fit side by side */
  .trade-details__list--logos .trade-details__term { gap: 0.75rem; }
  .trade-details__list--logos .shows__logo:not(:only-child) {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    max-width: 4.25rem;
  }
  .trade-details__list--logos .trade-details__value {
    text-align: center;
  }
}
/* ---------- 404 page ---------- */
.notfound {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--color-light);
  background: var(--color-dark); /* holds the space until the image paints */
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.notfound__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.notfound__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 19, 0.55) 0%, rgba(20, 18, 19, 0) 28%),
    rgba(20, 18, 19, 0.5);
}
.notfound__content {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: 7rem 4rem; /* top clears the fixed header */
}
.notfound__content > * { min-width: 0; max-width: 100%; }
.notfound__code {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(6rem, 22vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--color-brand);
}
.notfound__kicker { color: var(--color-light); }
.notfound__kicker strong { color: inherit; }
.notfound__title {
  color: var(--color-light);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-top: 0;
}
.notfound__lead {
  max-width: 34rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  letter-spacing: 0.02em;
}
.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* ---------- Legal pages (privacy, cookies, terms) ---------- */
.legal {
  /* the header is fixed, so clear it before the title */
  padding-top: calc(var(--header-h, 5rem) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: var(--section-space);
}
/* one centred reading column: title, tabs and text share the same left edge */
.legal__wrap { max-width: calc(46rem + 2 * var(--gutter)); margin-inline: auto; }
.legal__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.legal__title { margin: 0; }
.legal__updated {
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-dark);
}
.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-hairline);
}
.legal__nav a {
  display: inline-block;
  padding-block: 0.25rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.legal__nav a:hover,
.legal__nav a:focus-visible { color: var(--color-brand-dark); }
.legal__nav a[aria-current="page"] { color: var(--color-brand-dark); border-bottom-color: var(--color-brand-dark); }

.legal__body {
  font-size: var(--fs-base);
  line-height: 1.75;
}
.legal__body > * + * { margin-top: 1rem; }
.legal__body h2 {
  margin-top: 2.5rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--color-title);
}
.legal__body h2 + * { margin-top: 0.75rem; }
.legal__body h3 {
  margin-top: 1.75rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--color-title);
}
.legal__body h4 {
  margin-top: 1.25rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-medium, 500);
  font-size: 0.9375rem;
  color: var(--color-title);
}
.legal__body h3 + *,
.legal__body h4 + * { margin-top: 0.6rem; }
.legal__body li > ul { margin-top: 0.5rem; }
.legal__body ul { padding-left: 1.25rem; }
.legal__body li + li { margin-top: 0.5rem; }
.legal__body strong { font-weight: var(--fw-semibold, 700); }
.legal__body a {
  color: var(--color-brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.legal__body a:hover,
.legal__body a:focus-visible { color: var(--color-dark); }
.legal__body code {
  font-family: inherit;
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  background: var(--color-brand-tint);
  border-radius: var(--radius);
}
.legal__table-wrap { overflow-x: auto; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); line-height: 1.55; min-width: 34rem; }
.legal__body th,
.legal__body td { padding: 0.75rem 1rem 0.75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-hairline); }
.legal__body th {
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Phones: body text stays at 14px ---------- */
/* Everything that follows --fs-base (paragraphs, the page's default text, the legal pages),
   plus the paragraph-style text that has its own size. The 16px body text is for larger screens. */
@media (max-width: 719px) {
  :root { --fs-base: 0.875rem; }
  .journey__copy,
  .coll-tile__copy,
  .trade-details__value,
  .location__addr,
  .location__link,
  .notfound__lead,
  .dual__cs4-list { font-size: 0.875rem; }
  .text-link,
  .intro__cta { font-size: 14px; } /* underlined links stay 14px on phones too */
  .looks__piece-name { font-size: 0.875rem; }
  .dual__panel:first-child { display: none; } /* the necklace photo is not shown on phones: just the text */
  .dual__content { justify-items: center; text-align: center; }
  .dual__content .display { text-align: center; }
  .dual__cs4-list { text-align: left; } /* the four C's stay left-aligned under their centred title */
  .dual__mark,
  .dual__rule { display: block; }
  .intro__mark { height: 2rem; } /* smaller gold A mark on phones */
  .intro__rule { height: 3rem; }
  .dual__cs4-list strong { font-size: 1.15em; }
}

/* ---------- Cookie consent banner ---------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(46rem, calc(100% - 2 * var(--gutter))); /* a centred card, not a full-width bar */
  z-index: 380; /* over the header and the popups */
  padding: 1rem 1.25rem;
  background: var(--color-light);
  color: var(--color-dark);
  border-top: 2px solid #c8a24a; /* the gold of the A mark */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
.consent[hidden] { display: none; }
.consent__main,
.consent__panel { max-width: var(--container-max); margin-inline: auto; }
.consent__title {
  margin-bottom: 0.15rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.consent__text { font-size: 0.8125rem; line-height: 1.45; max-width: 62rem; }
.consent__text a { text-decoration: underline; text-underline-offset: 0.2em; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.consent__btn {
  padding: 0.55rem 1rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-light);
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.consent__btn:hover,
.consent__btn:focus-visible { background: transparent; color: var(--color-dark); }
/* Accept and Reject look the same (same weight and size): rejecting is as easy as accepting */
.consent__btn--quiet { background: transparent; color: var(--color-dark); }
.consent__btn--quiet:hover,
.consent__btn--quiet:focus-visible { background: var(--color-dark); color: var(--color-light); }
.consent__panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-hairline); display: grid; gap: 0.8rem; }
.consent__panel[hidden] { display: none; }
.consent__row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; }
.consent__row strong { display: block; font-weight: var(--fw-semibold); }
.consent__row input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--color-dark); }
.consent__panel .consent__btn { justify-self: start; }
@media (max-width: 719px) {
  .consent { padding: 0.85rem 1rem; }
  .consent__text { font-size: 0.75rem; line-height: 1.4; }
  .consent__actions { gap: 0.4rem; margin-top: 0.5rem; }
  .consent__btn { flex: 1 1 40%; padding: 0.5rem 0.6rem; white-space: normal; }
  .consent__actions .consent__btn:last-child { flex-basis: 100%; }
}

/* Beyond the Collections banner on phones: the necklace sits right of centre, so frame the crop on it */
@media (max-width: 899px) {
  .story-cover__media[src*="beyond-cover"] { object-position: 78% 100% !important; }
}

/* Contact banner on phones: nudge the crop so the ring sits in the middle of the screen */
@media (max-width: 899px) {
  .story-cover__media[src*="contact-hero"] { object-position: 53% 50%; }
}

/* Heritage banner on wide screens: a slight zoom so the building fills more of the frame.
   Anchored at the top so the roof does not move up. */
@media (min-width: 900px) {
  .story-cover__media[src*="heritage-banner"] { transform: scale(1.12); transform-origin: 50% 0; }
}

/* ---------- Social Responsibility page ---------- */
/* Built from the site's own pieces (intro blocks, the ruled row from the home page).
   Only the small differences are here. */
.csr-stories .locations__grid { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.location__text { margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.55; color: var(--color-dark); }
.csr-label { margin: 0 0 0.5rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-brand-dark); }
.csr-two .location { text-align: center; }
.csr-two .location__city { margin-top: 0; }
.csr-two .text-link { display: inline-block; margin-top: 0.9rem; }
@media (max-width: 719px) {
  .csr-two .location { flex-basis: 100%; border-left: 0; border-top: 1px solid var(--color-hairline); }
  .csr-two .location:first-child { border-top: 0; }
}

/* Our approach: text on the left, the three principles stacked on the right (50 / 50) */
.csr-approach__split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.csr-approach__text { display: grid; gap: 1.25rem; justify-items: start; text-align: left; } /* the site's 1.25rem container gap */
.csr-approach__text .display { text-align: left; }
@media (max-width: 899px) { /* centred on phones and tablets, like the other sections */
  .csr-approach__text { justify-items: center; text-align: center; }
  .csr-approach__text .display { text-align: center; }
}
.csr-steps { margin: 0; padding: 0; list-style: none; } /* no line above the first principle */
.csr-step { padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--color-hairline); }
.csr-step:last-child { border-bottom: 0; } /* no line under the last principle either */
.csr-step__num { font-family: var(--font-manrope); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--color-brand-dark); }
.csr-step__title {
  margin: 0.7rem 0 0.45rem;
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  text-transform: uppercase;
  color: var(--color-title);
}
.csr-step__text { margin: 0; max-width: 28rem; font-size: 1rem; line-height: 1.55; color: var(--color-dark); }
@media (min-width: 900px) {
  .csr-approach__split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 7vw, 7rem); }
}

/* Hyderabad pilot: the figure, set between two thin lines like the principles beside it */
.csr-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
  margin-top: 0.75rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.csr-stat__num {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: clamp(3.5rem, 2.5rem + 3.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-brand-dark);
}
/* a short gold rule, then the caption */
.csr-stat__label {
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  border-left: 2px solid #c8a24a;
  font-family: var(--font-manrope);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-dark);
}

/* photos on the Social Responsibility page */
.csr-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.csr-thumb { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.1rem; }

/* Hyderabad pilot: the text half sits on the left and the photo panel on the right (the home page puts them the other way round) */
.csr-dual .csr-dual__text { order: 0; padding-left: 0; }
@media (min-width: 900px) {
  .csr-dual .csr-dual__text { padding-right: clamp(2rem, 5vw, 5rem); }
}
@media (max-width: 719px) {
  .csr-dual .dual__panel:first-child { display: grid; } /* the text stays; the photo is left out on phones, as on the home page */
  .csr-dual .dual__panel:last-child { display: none; }
  .csr-dual .csr-stat { justify-items: center; text-align: center; }
}

/* A personal commitment: the quote on the dark brand colour, with the gold of the A mark */
.csr-quote {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--color-brand-dark); /* the site's slate blue, so it does not run into the dark footer */
  color: var(--color-light);
}
/* out-ranks the generic ".story-cover ~ section" white background */
.story-cover ~ .csr-quote { background: var(--color-brand-dark); }
.csr-quote__inner { display: grid; justify-items: center; max-width: 62rem; text-align: center; }
.csr-quote__mark {
  font-family: Georgia, "Times New Roman", serif; /* decorative mark only */
  font-size: clamp(6rem, 4rem + 7vw, 10rem);
  line-height: 1;
  height: 0.55em;
  overflow: hidden;
  color: #c8a24a;
}
.csr-quote .eyebrow,
.csr-quote .eyebrow strong,
.csr-quote .display { color: var(--color-light); }
.csr-quote .eyebrow { margin-top: 0.75rem; }
.csr-quote .eyebrow em { color: rgba(255, 255, 255, 0.85); }
.csr-quote .display { margin-top: 0.75rem; }
.csr-quote__text { display: grid; justify-items: center; margin: clamp(1.75rem, 4vw, 3rem) 0 0; }
.csr-quote__text p {
  margin: 0;
  max-width: 52rem;
  font-family: var(--font-manrope);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.csr-quote__text footer { display: grid; justify-items: center; gap: 0.35rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.csr-quote__rule { width: 3rem; height: 2px; margin-bottom: 1rem; background: #c8a24a; opacity: 1; } /* the same gold as the quote mark, thick enough to show on every screen */
.csr-quote__name {
  font-family: var(--font-manrope);
  font-style: normal;
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.csr-quote__role {
  font-family: var(--font-manrope);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Upcoming initiative: heading on the left, the three paragraphs on the right, the partners named on a ruled line below */
.csr-next__copy { display: grid; gap: 1.25rem; }
.csr-partners {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  text-align: center;
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-title);
}
.csr-partners span { margin-inline: 0.6em; color: #c8a24a; }
@media (max-width: 899px) { .csr-next__copy { text-align: center; } }

/* Hyderabad pilot: a big bold "05" fading in from the top, with its line of text underneath */
.csr-stat-line {
  --g: clamp(11rem, 7rem + 11vw, 18rem); /* size of the numeral */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2rem, 3vw, 3rem); /* about the same gap below the 05 as there is above it */
  width: 100%;
  margin-top: 0.5rem;
}
.csr-ghost {
  display: block;
  margin-left: -0.03em;
  font-family: var(--font-manrope);
  font-weight: 800;
  font-size: var(--g);
  line-height: 0.8;
  letter-spacing: -0.05em;
  /* almost clear at the top, firmer towards the bottom where the text crosses it */
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-brand) 12%, transparent) 0%, var(--color-brand) 100%); /* the theme's brand blue, fading in from the top */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
}
.csr-caption {
  margin: 0;
  font-family: var(--font-manrope);
  font-weight: var(--fw-bold);
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-title);
  white-space: nowrap; /* one line, always */
}
@media (max-width: 719px) {
  .csr-stat-line { align-items: center; text-align: center; }
  .csr-ghost { margin-left: 0; }
}


/* Social Responsibility: spacing taken from the Relationship page
   - after the intro block: 72px bottom + 56px top of the next block = 128px (the Relationship heading block's 72px margin + its grid's 56px padding)
   - after the last content before a band or the footer: 88px (the Relationship section's bottom padding)
   - between the two content blocks (approach, pilot): one 72px space */
main > [aria-labelledby="foundation-title"] { padding-bottom: clamp(2.75rem, 5vw, 4.5rem); }          /* 72px */
main > .csr-approach { padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(2.75rem, 5vw, 4.5rem); } /* 56px / 72px */
main > .csr-dual { padding-top: 0; padding-bottom: clamp(2.75rem, 6vw, 5.5rem); }                        /* 88px before the blue band */
main > .csr-approach.csr-next { padding-top: clamp(2.75rem, 5vw, 4.5rem); padding-bottom: clamp(2.75rem, 6vw, 5.5rem); } /* 72px / 88px before the footer */


/* ============================================================
   Contact Form 7 integration — let the CF7 wrapper pass the
   grid layout straight through to the .enquiry__form element.
   ============================================================ */
.enquiry__grid > .wpcf7 { display: contents; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; margin: 0; padding: 0; border: 0; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: .35rem; font-size: .75rem; color: #b03a3a; }
.wpcf7 .wpcf7-response-output { margin: 1rem 0 0; padding: .75rem 1rem; border: 1px solid var(--color-hairline); font-size: .8125rem; }
.wpcf7 form.invalid .wpcf7-response-output { border-color: #b03a3a; }
.wpcf7 .wpcf7-spinner { margin-left: .5rem; }
/* CF7 markup differences from the hand-written prototype form: fields sit in a
   <span> wrapper (make it block), the submit is an <input> not a <button>, and
   the spinner must not take a row of its own. */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 textarea.field__control { display: block; }
.wpcf7 input.btn { font-family: var(--font-manrope); font-size: var(--fs-ui); font-weight: var(--fw-semibold); line-height: 1; text-transform: uppercase; letter-spacing: var(--tracking-wide); }
/* sending: our own loader sits inside the button, so CF7's small spinner is not needed.
   The ring is an animated SVG because an <input> button cannot hold a child element. */
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7 input.enquiry__submit.is-sending,
.wpcf7 input.enquiry__submit.is-sending:hover {
  cursor: progress;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393AEBD' stroke-width='3'%3E%3Ccircle cx='12' cy='12' r='9' stroke-opacity='.3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem 1.25rem;
  background-position: calc(50% - 4.75rem) 50%;
}
.wpcf7 form .hidden-fields-container { display: none; }
/* appointment pop-up: .appt__body is a start-aligned grid, so the CF7 wrapper must be told to span the whole card width */
.appt__body > .wpcf7 { justify-self: stretch; width: 100%; }
