/* ═══════════════════════════════════════════════════════════════════
   Koushik Gold — Home page
   Implemented from Figma: file PgPc8wd4nl9BcSnfjEXOQe, node 544:743
   Desktop design canvas: 1440 × 4602 (reproduced 1:1)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens (values taken verbatim from the Figma node) ─────── */
:root {
  --teal:        #03515d;
  --teal-deep:   #023d47;
  --ink:         #1c262e;
  --ink-nav:     #151515;
  --muted:       #68777a;   /* 4.54:1 on --white; #6a7a7d was 4.36 and failed AA */
  --white:       #fcfcfc;
  --gold:        #d4af37;
  --gold-text:   #8c721e;   /* the gold that is legible as text - 4.51:1 */
  --gold-soft:   #d7ab6e;
  --gold-label:  #916f3e;   /* 4.50:1 on --white; #bb955f was 2.70 and failed AA */
  --gold-line:   #c18d20;
  --menu-accent: #0b7c93;
  --hairline:    #dde6e8;
  --btn-ink:     #000101;
  --search-bg:   #ececed;

  --gold-grad: linear-gradient(100.14334394326048deg,
      rgb(193,141,32)  9.2133%,
      rgb(253,246,188) 25.205%,
      rgb(238,200,120) 39.735%,
      rgb(190,133,22)  51.968%,
      rgb(220,171,50)  67.296%,
      rgb(238,200,120) 79.474%,
      rgb(193,141,32)  96.311%);

  --serif: 'Cormorant Garamond', Cormorant, Garamond, 'Times New Roman', serif;
  --sans:  'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
  --script:'Great Vibes', 'Segoe Script', cursive;

  /* motion */
  --ease-out:  cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --shadow-card: 0 18px 38px rgba(3, 30, 36, .18);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Chrome/Safari paint their own translucent blue flash on tap for any
   element with an `:active` style — on the white review cards that reads
   as the whole card turning blue. Every interactive element here has its
   own deliberate press feedback, so the native flash is switched off. */
* { -webkit-tap-highlight-color: transparent; }
body {
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, address { margin: 0; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* ── Focus visibility (keyboard users) ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--menu-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px;
  background: var(--teal); color: #fff;
  border-radius: 0 0 8px 8px;
  font: 500 15px/1 var(--sans);
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ── Reading progress ──────────────────────────────────────────────── */
.progress {
  position: fixed; left: 0; top: 0; z-index: 150;
  width: 100%; height: 3px;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  display: block; height: 100%; width: 100%;
  background-image: var(--gold-grad);
  /* driven by transform, not width: scaling is composited on the GPU, so the
     bar no longer forces a layout + paint on every scroll frame */
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .12s linear;
  will-change: transform;
}

/* ── Back to top ───────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(3, 30, 36, .30);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-deep); transform: translateY(-3px); }
.to-top:active { transform: translateY(0) scale(.95); }

/* ── Enquiry list ──────────────────────────────────────────────────
   The showroom takes enquiries rather than orders, so this collects
   pieces and hands the whole list to the contact form. Lives in
   styles.css because the home page does not load pages.css.        */
.enq-live {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.enq-fab {
  position: fixed; right: 26px; bottom: 84px; z-index: 150;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(3, 30, 36, .30);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s,
              background .25s var(--ease-out);
}
.enq-fab.is-shown { opacity: 1; visibility: visible; transform: none; }
.enq-fab:hover { background: var(--teal-deep); transform: translateY(-3px); }
.enq-fab:active { transform: translateY(0) scale(.95); }
.enq-fab__badge {
  position: absolute; right: -3px; top: -3px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background-image: var(--gold-grad);
  color: var(--btn-ink);
  border-radius: 10px;
  font: 600 11px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(3, 30, 36, .35);
}

.enq-scrim {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(3, 30, 36, .45);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.enq-scrim.is-shown { opacity: 1; }
.enq-scrim[hidden] { display: none; }

.enq-panel {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 165;
  width: min(92vw, 390px); height: 100dvh;
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: -18px 0 44px rgba(3, 30, 36, .22);
  transform: translateX(100%);
  transition: transform .34s var(--ease-out);
}
.enq-panel.is-open { transform: translateX(0); }
.enq-panel[hidden] { display: none; }
.enq-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 20px 20px 14px;
  border-bottom: 1px solid var(--hairline);
}
.enq-panel__title {
  font: 600 22px/1.2 var(--serif); color: var(--ink);
}
.enq-panel__close {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--muted);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.enq-panel__close:hover { background: #f2f5f5; color: var(--ink); }
.enq-panel__body { flex: 1 1 auto; overflow-y: auto; padding: 8px 20px 16px; }
.enq-empty { padding: 28px 0; color: var(--muted); font: 400 15px/1.6 var(--sans); }

.enq-row {
  display: grid; grid-template-columns: 62px 1fr 30px;
  gap: 12px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--hairline);
}
.enq-row:last-child { border-bottom: 0; }
.enq-row__media {
  width: 62px; height: 62px; border-radius: 8px; overflow: hidden;
  background: #f1f1f0; display: block;
}
.enq-row__media img { width: 100%; height: 100%; object-fit: cover; }
.enq-row__name {
  display: block; font: 500 15px/1.35 var(--sans); color: var(--ink);
  transition: color .2s var(--ease-out);
}
.enq-row__name:hover { color: var(--teal); }
.enq-row__type { margin-top: 3px; font: 400 12.5px/1 var(--sans); color: var(--gold-label); }
.enq-row__rm {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--muted);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.enq-row__rm:hover { background: #fbeaea; color: #a3342d; }

.enq-panel__foot {
  flex: 0 0 auto; display: grid; gap: 10px;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline); background: #fff;
}
.enq-panel__foot:empty { display: none; }
.enq-send, .enq-clear {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 8px;
  font: 500 15px/1 var(--sans); letter-spacing: .3px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out);
}
.enq-send { background: #1faa53; color: #fff; }
.enq-send:hover { background: #17913f; }
/* the form remains available as a quieter second option */
.enq-send--alt { background: none; color: var(--ink); border: 1px solid var(--gold-line); }
.enq-send--alt:hover { background: #fdf7ea; }
.enq-clear { border: 1px solid var(--gold-line); color: var(--ink); background: none; }
.enq-clear:hover { background: #fdf7ea; }

/* add / added control used on cards and on the product page */
.enq-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.enq-add__tick { display: none; }
.enq-add.is-added .enq-add__tick { display: block; }
.enq-add.is-added .enq-add__plus { display: none; }

/* round variant that sits on a product card */
.enq-add--card {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 34px; height: 34px; padding: 0;
  background: rgba(255, 255, 255, .93); color: var(--teal);
  box-shadow: 0 2px 8px rgba(3, 30, 36, .18);
  border-radius: 50%;
}
.enq-add--card:hover { background: #fff; transform: scale(1.08); }
/* the disc stays 34px, but a fingertip gets a 46px target around it */
.enq-add--card::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.enq-add--card.is-added { background: var(--teal); color: #fff; }

/* full-width variant under the product-page buttons */
/* matched to .btn-solid / .btn-ghost so the three actions line up exactly */
.enq-add--wide {
  height: 46px; padding: 0 26px; border-radius: 6px;
  border: 1px solid var(--gold-line); color: var(--ink); background: none;
  font: 500 16px/1 var(--sans); letter-spacing: .5px;
}
.enq-add--wide:hover { background: #fdf7ea; }
.enq-add--wide.is-added { background: var(--teal); border-color: var(--teal); color: #fff; }

/* the list repeated on the contact page, above the form */
.enq-summary {
  margin-bottom: 22px; padding: 18px 20px;
  border: 1px solid var(--hairline); border-radius: 10px;
  background: #fbfdfd;
}
.enq-summary__title {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font: 500 15px/1 var(--sans); letter-spacing: .4px; color: var(--ink);
}
.enq-summary__title span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--teal); color: #fff;
  font: 600 12px/1 var(--sans); font-variant-numeric: tabular-nums;
}
.enq-summary__list { display: grid; gap: 10px; }
.enq-summary__list li {
  display: grid; grid-template-columns: 52px 1fr 26px;
  gap: 12px; align-items: center;
}
.enq-summary__list img {
  width: 52px; height: 52px; border-radius: 7px; object-fit: cover; background: #f1f1f0;
}
.enq-summary__list a {
  font: 400 14.5px/1.4 var(--sans); color: var(--ink);
  transition: color .2s var(--ease-out);
}
.enq-summary__list a:hover { color: var(--teal); }
.enq-summary__list button {
  width: 26px; height: 26px; border-radius: 50%;
  font: 400 18px/1 var(--sans); color: var(--muted);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.enq-summary__list button:hover { background: #fbeaea; color: #a3342d; }

@media (max-width: 480px) {
  .enq-fab { right: 16px; bottom: 74px; }
}

/* ── Fixed design canvas, scaled to fit the viewport ───────────────── */
.stage { width: 100%; overflow: hidden; }
.page {
  position: relative;
  width: 1440px;
  height: 4912px;
  margin: 0 auto;
  background: var(--white);
  transform-origin: top left;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL-REVEAL SYSTEM
   `--rv-base` lets an element keep its own layout transform
   (e.g. translateX(-50%)) while the reveal composes on top of it.
   ═══════════════════════════════════════════════════════════════════ */
/* transition stays on the bare class (low specificity) so a card's own
   transition list - hover lift, shadow - still overrides it */
.reveal {
  --rv-base: translateY(0);
  transition:
    opacity   .55s var(--ease-out) var(--rv-delay, 0ms),
    transform .55s var(--ease-out) var(--rv-delay, 0ms);
}
/* Hidden only once an inline <head> script has stamped `js` on <html>:
   the reveal is driven by an IntersectionObserver in app.js, so if the
   scripts fail or are blocked the content must simply be visible. */
.js .reveal { opacity: 0; }
.js .reveal:not(.is-in)                            { transform: var(--rv-base) translate3d(0, 30px, 0); }
.js .reveal:not(.is-in)[data-reveal-dir="left"]    { transform: var(--rv-base) translate3d(-40px, 0, 0); }
.js .reveal:not(.is-in)[data-reveal-dir="right"]   { transform: var(--rv-base) translate3d(40px, 0, 0); }
.js .reveal:not(.is-in)[data-reveal-dir="scale-y"] { transform: var(--rv-base) scaleY(0); }
.js .reveal:not(.is-in)[data-reveal-dir="scale-x"] { transform: var(--rv-base) scaleX(0); }
.reveal.is-in { opacity: 1; transform: var(--rv-base) translate3d(0, 0, 0); }
.reveal.is-in[data-reveal-dir="scale-y"] { transform: var(--rv-base) scaleY(1); }
.reveal.is-in[data-reveal-dir="scale-x"] { transform: var(--rv-base) scaleX(1); }

/* ── Shared primitives ─────────────────────────────────────────────── */
.btn-gold {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-image: var(--gold-grad);
  border-radius: 6px;
  font: 500 20px/normal var(--sans);
  letter-spacing: .8px;
  color: var(--btn-ink);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(193, 141, 32, .28);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-gold > span { position: relative; z-index: 2; }
/* ambient shimmer sweep */
.btn-gold::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
      rgba(255,255,255,0) 38%,
      rgba(255,255,255,.62) 50%,
      rgba(255,255,255,0) 62%);
  transform: translateX(-120%);
  animation: sweep 5.5s var(--ease-soft) 1.6s infinite;
}
.btn-gold:hover { box-shadow: 0 12px 26px rgba(193, 141, 32, .42); }
.btn-gold:hover::after { animation: sweep 1.1s var(--ease-soft); }
/* two hover variants: one for scroll-revealed buttons (compose with
   --rv-base), one for intro-animated buttons (after `anim-done`) */
.btn-gold.is-in:hover     { transform: var(--rv-base) translate3d(0, -3px, 0); }
.btn-gold.anim-done:hover { transform: translate3d(0, -3px, 0); }
.btn-gold.is-in:active     { transform: var(--rv-base) translate3d(0, -1px, 0); }
.btn-gold.anim-done:active { transform: translate3d(0, -1px, 0); }

@keyframes sweep {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.btn-outline {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  font: 500 20px/normal var(--sans);
  letter-spacing: .8px;
  color: var(--btn-ink);
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-outline > span { position: relative; z-index: 2; }
.btn-outline::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: var(--gold-grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease-out);
}
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline.is-in:hover { transform: var(--rv-base) translate3d(0, -3px, 0); box-shadow: 0 12px 26px rgba(193,141,32,.3); }

.eyebrow {
  position: absolute;
  font: 400 24px/normal var(--sans);
  letter-spacing: .96px;
  color: var(--gold-label);
  white-space: nowrap;
}
.sec-title {
  position: absolute;
  font: 600 36px/normal var(--serif);
  color: var(--ink);
}


@keyframes dropIn {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ 2. HEADER  (0, 35, 1440 × 100) ═══════════════════ */
.hdr {
  position: absolute; left: 0; top: 0px;
  width: 1440px; height: 100px;
  background: var(--white);
  z-index: 50;
  opacity: 0;
  animation: fadeIn .7s var(--ease-out) .18s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
/* plain dissolve, shared with css/pages.css and the reduced-motion mode */
@keyframes kgFade { from { opacity: 0; } to { opacity: 1; } }

.hdr__logo {
  position: absolute; left: 27px; top: 16px; width: 127px; height: 68px;
  transition: transform .4s var(--ease-out);
}
/* the mark stays put — no zoom, no shift; it is a fixed anchor back to home */
.hdr__logo:hover { transform: none; }
.hdr__logo-bg   { position: absolute; inset: 0; width: 127px; height: 68px; }
.hdr__logo-mark { position: absolute; left: 25px; top: 3px; width: 78px; height: 52px; object-fit: contain; }

.burger { display: none; }

.nav {
  position: absolute; left: 216px; top: 24px;
  width: 704px; height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 67px;
}
.nav__item {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 52px;
  font: 500 18px/normal var(--sans);
  color: var(--ink-nav);
  white-space: nowrap;
  cursor: pointer;
  background: none; border: 0; padding: 0; margin: 0;
  transition: color .25s var(--ease-out);
}
/* animated underline, grows from the centre */
.nav__item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: center;
  transition: transform .32s var(--ease-out);
}
.nav__item:hover { color: var(--teal); }
.nav__item:hover::after,
.nav__item--active::after,
.nav__item--btn[aria-expanded="true"]::after { transform: scaleX(1); }

/* absolutely positioned so the caret never alters the nav metrics
   measured from Figma */
.caret {
  position: absolute; right: -15px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease-out);
  opacity: .65;
}
.nav__item--btn[aria-expanded="true"] .caret { transform: translateY(-30%) rotate(225deg); }

.nav__item--wrap { position: relative; display: flex; align-items: center; height: 52px; }
.nav-scrim { display: none; }

/* ── Collections mega-menu ────────────────────────────────────────── */
/* offset measured from the Figma export: 405px from the header's left
   edge, flush under the 100px-tall header */
.mega {
  position: absolute; left: 405px; top: 100px;
  transform: translateY(-10px);
  width: 1004px; min-height: 447px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(3, 30, 36, .16), 0 4px 12px rgba(3, 30, 36, .06);
  z-index: 40;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.mega.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}

.mega__col { position: absolute; top: 28px; width: 140px; }
.mega__col--women    { left: 47px; }
.mega__col--men      { left: 197px; }
.mega__col--kids     { left: 360px; }
.mega__col--heritage { left: 518px; }

.mega__heading {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--menu-accent);
  font: 500 20px/normal var(--sans);
  color: var(--menu-accent);
  white-space: nowrap;
}
.mega__list { margin-top: 30px; }
.mega__list li {
  height: 32px;
  opacity: 0; transform: translateY(8px);
}
.mega.is-open .mega__list li { animation: itemIn .38s var(--ease-out) forwards; }
.mega__list li:nth-child(1) { animation-delay: .06s; }
.mega__list li:nth-child(2) { animation-delay: .10s; }
.mega__list li:nth-child(3) { animation-delay: .14s; }
.mega__list li:nth-child(4) { animation-delay: .18s; }
.mega__list li:nth-child(5) { animation-delay: .22s; }
.mega__list li:nth-child(6) { animation-delay: .26s; }
.mega__list li:nth-child(7) { animation-delay: .30s; }
.mega__list li:nth-child(8) { animation-delay: .34s; }
@keyframes itemIn { to { opacity: 1; transform: translateY(0); } }

.mega__list a,
.dropdown__list a {
  position: relative;
  display: inline-block;
  font: 400 16px/normal var(--sans);
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease-out), transform .25s var(--ease-out);
}
.mega__list a::after,
.dropdown__list a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--menu-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.mega__list a:hover,
.dropdown__list a:hover { color: var(--menu-accent); transform: translateX(4px); }
.mega__list a:hover::after,
.dropdown__list a:hover::after { transform: scaleX(1); }
.mega__viewall, .dropdown__viewall { text-decoration: underline; text-underline-offset: 3px; }

.mega__divider {
  position: absolute; left: 711px; top: 49px;
  width: 1px; height: 191px;
  background: rgba(11, 124, 147, .4);
}
.mega__img {
  position: absolute; left: 751px; top: 60px;
  width: 213px; height: 173px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.mega.is-open .mega__img { animation: imgIn .6s var(--ease-out) .12s backwards; }
@keyframes imgIn { from { opacity: 0; transform: scale(.94); } }
.mega__img:hover { transform: scale(1.03); box-shadow: var(--shadow-card); }

/* ── Single-column nav dropdown (Gold / Diamond) ──────────────────── */
.dropdown {
  position: absolute; left: 50%; top: 60px;
  transform: translateX(-50%) translateY(-10px);
  width: 230px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(3, 30, 36, .16), 0 4px 12px rgba(3, 30, 36, .06);
  z-index: 40;
  padding: 22px 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility .28s;
}
.dropdown.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__list li { height: 34px; opacity: 0; transform: translateY(8px); }
.dropdown.is-open .dropdown__list li { animation: itemIn .34s var(--ease-out) forwards; }
.dropdown__list li:nth-child(1) { animation-delay: .04s; }
.dropdown__list li:nth-child(2) { animation-delay: .07s; }
.dropdown__list li:nth-child(3) { animation-delay: .10s; }
.dropdown__list li:nth-child(4) { animation-delay: .13s; }
.dropdown__list li:nth-child(5) { animation-delay: .16s; }
.dropdown__list li:nth-child(6) { animation-delay: .19s; }
.dropdown__list li:nth-child(7) { animation-delay: .22s; }
.dropdown__list li:nth-child(8) { animation-delay: .25s; }
.dropdown__list li:nth-child(9) { animation-delay: .28s; }

.search {
  position: absolute; left: 982px; top: 35px;
  width: 234px; height: 42px;
  display: flex; align-items: center;
  background: var(--search-bg);
  border-radius: 21px;
  transition: box-shadow .3s var(--ease-out), background .3s var(--ease-out);
}
.search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--menu-accent), 0 6px 18px rgba(3,30,36,.10);
}
.search__input {
  flex: 1; min-width: 0;
  height: 100%;
  padding: 0 4px 0 16px;
  border: 0; outline: none; background: none;
  font: 400 16px/normal var(--sans);
  color: #49454F;
}
.search__input::placeholder { color: #49454F; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__btn {
  display: flex; align-items: center; justify-content: center;
  /* the glyph stays 24px; the box around it is a thumb-sized target */
  width: 44px; height: 44px;
  margin-right: 0;
  color: #49454F;
  transition: color .25s var(--ease-out), transform .25s var(--ease-out);
}
.search__btn svg { width: 24px; height: 24px; }
.search__btn:hover { color: var(--teal); transform: scale(1.12); }

.btn-enquire {
  position: absolute; left: 1238px; top: 35px;
  width: 147px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal);
  border-radius: 10px;
  font: 500 18px/normal var(--sans);
  color: var(--white);
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
}
.btn-enquire:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(3, 81, 93, .35);
}
.btn-enquire:active { transform: translateY(0); }

/* ═══════════════ 3. HERO  (0, 135, 1440 × 669) ════════════════════ */
.hero {
  position: absolute; left: 0; top: 100px;
  width: 1440px; height: 669px;
  overflow: hidden;
  background: #f4f4f4;
}
.hero__banner {
  position: absolute; left: 0; top: 0;
  width: 1440px; height: 669px;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 1.7s var(--ease-out) .1s forwards;
}
@keyframes kenburns { to { transform: scale(1); } }

.hero__copy { position: absolute; left: 139px; top: 127px; width: 594px; height: 356px; }
.hero__title {
  font: 700 64px/1.22 var(--serif);
  color: var(--ink);
  letter-spacing: 0;
}
/* per-line clip reveal */
.hero__title .line {
  display: block; overflow: hidden;
  padding: 0 8px 6px; margin: 0 -8px -6px;
}
.hero__title .line__i {
  display: block;
  transform: translateY(112%);
  animation: lineUp .8s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) .line__i { animation-delay: .25s; }
.hero__title .line:nth-child(2) .line__i { animation-delay: .36s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-soft);
  background: linear-gradient(100deg,
      #c9a05f 0%, #d7ab6e 28%, #f6e3b8 46%, #d7ab6e 64%, #c9a05f 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShift 7s var(--ease-soft) 1.6s infinite;
}
@keyframes goldShift {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

.hero__sub {
  position: absolute; left: 0; top: 178px;
  width: 538px;
  font: 500 20px/1.2 var(--sans);
  letter-spacing: .8px;
  color: var(--teal);
  opacity: 0;
  animation: riseIn .6s var(--ease-out) .5s forwards;
}
.hero__cta {
  left: 0; top: 308px; width: 306px; height: 48px;
  opacity: 0;
  animation: riseIn .6s var(--ease-out) .62s forwards;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Once an intro animation has played, JS stamps `anim-done` so the
   animation's fill-mode stops shadowing hover/interaction transforms. */
.anim-done { animation: none !important; }
.hdr.anim-done { opacity: 1; transform: none; }
.hero__sub.anim-done, .hero__cta.anim-done { opacity: 1; transform: none; }
.hero__banner.anim-done { transform: scale(1); }
.hero__title .line__i.anim-done { transform: translateY(0); }

/* ═══════════════ 4. STATS BAR  (156, 744, 1128 × 143) ═════════════ */
.stats {
  position: absolute; left: 156px; top: 733px;   /* Figma 744 + 24 */
  width: 1128px; height: 143px;
  background: var(--teal);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(3, 81, 93, .22);
}
.stats__row { position: absolute; left: 21px; top: 43px; width: 1086px; height: 58px; }
.stat {
  position: absolute; top: 0; height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: #fff;
}
.stat--1 { left: 0;     width: 312px; border-right: 1px solid var(--gold-line); }
.stat--2 { left: 338px; width: 361px; border-right: 1px solid var(--gold-line); }
.stat--3 { left: 725px; width: 361px; }
/* lining-nums: Cormorant defaults to old-style figures (short "1", "5" dipping
   below the baseline), which read as a different font next to the headings */
.stat__num   { font: 600 64px/normal var(--serif); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font: 400 24px/1.21 var(--sans); }
.stat--1 .stat__label { width: 145px; }
.stat--2 .stat__label { width: 210px; }
.stat--3 .stat__label { width: 167px; }

/* ═══════════════ 5. CRAFTED WITH LOVE  (80, 954, 1280 × 421) ══════ */
.crafted { position: absolute; left: 80px; top: 919px; width: 1280px; height: 421px; }
.crafted__frame {
  position: absolute; left: 0; top: 30px;
  width: 467px; height: 336px;
  border-radius: 10px;
  overflow: hidden;
}
.crafted__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.crafted__frame:hover .crafted__img { transform: scale(1.06); }

/* Teal “L” bracket. The vertical leg runs 10px past the original
   Figma stop so it fills the corner square, and the two legs keep their
   rounded caps only at the free ends — the meeting corner is mitred
   sharp so the bracket reads as one continuous line. */
.crafted__bracket-v {
  position: absolute; left: 495px; top: 138px;
  width: 10px; height: 262px;          /* 252 + 10 to close the corner */
  background: var(--teal);
  border-radius: 5px 5px 0 0;          /* round the top cap only */
  transform-origin: top center;
}
.crafted-bracket-h {
  position: absolute; left: 302px; top: 1309px;
  width: 283px; height: 10px;
  background: var(--teal);
  border-radius: 5px 0 0 5px;          /* round the left cap only */
  transform-origin: right center;
}
.crafted__title {
  position: absolute; left: 588px; top: 18px; width: 438px;
  font: 600 36px/normal var(--serif);
  color: var(--ink);
}
.crafted__lede {
  position: absolute; left: 588px; top: 72px; width: 538px;
  font: 500 16px/1.25 var(--sans);
  letter-spacing: .64px;
  color: var(--muted);
}
.feature { position: absolute; top: 158px; width: 217px; height: 138px; }
.feature--1 { left: 588px; }
.feature--2 { left: 820px; }
.feature--3 { left: 1052px; }
.feature__icon {
  width: 60px; height: 60px;
  transition: transform .45s var(--ease-out);
}
.feature:hover .feature__icon { transform: translateY(-5px) scale(1.07); }
.feature__title {
  position: absolute; left: 0; top: 68px; width: 217px;
  font: 500 18px/normal var(--sans);
  letter-spacing: .72px;
  color: var(--gold-text);
}
.feature__desc {
  position: absolute; left: 0; top: 98px; width: 223px;
  font: 500 16px/1.25 var(--sans);
  letter-spacing: .64px;
  color: var(--muted);
}
.crafted__cta { left: 588px; top: 354px; width: 203px; height: 48px; }

/* ═══════════════ 6. OUR COLLECTIONS  (80, 1391, 1280 × 521) ═══════ */
.collections { position: absolute; left: 80px; top: 1356px; width: 1280px; height: 521px; }
.collections__eyebrow { left: 566px; top: 12px; }
.collections__title   { left: 433px; top: 41px; width: 464px; text-align: center; }

.carousel { position: absolute; left: 0; top: 115px; width: 1280px; height: 362px; }
.collections__track {
  width: 1280px; height: 362px;
  display: flex; gap: 42px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  outline-offset: 6px;
}
.collections__track::-webkit-scrollbar { display: none; }

/* ── Autoplay marquee (Our Collections) ─────────────────────────────
   CSS smooth-scroll and scroll-snap both fight a continuous rAF drift,
   so they are switched off while autoplay owns the track. Prev/Next
   still animate because they pass behavior:'smooth' explicitly. */
.carousel--auto .collections__track {
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior-x: contain;
  will-change: scroll-position;
}
.carousel--auto .ccard { scroll-snap-align: none; }
/* cloned cards are decorative duplicates — never hidden by the reveal
   observer, never focusable */
.carousel--auto .ccard[data-clone] { opacity: 1; transform: none; }

.ccard {
  position: relative; flex: 0 0 auto;
  width: 299px; height: 362px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f1f0;   /* the lazy-loaded photo's fallback, not the page's — see .pcard__media */
  scroll-snap-align: start;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(3, 30, 36, .06);
  transition:
    opacity   .55s var(--ease-out) var(--rv-delay, 0ms),
    transform .55s var(--ease-out),
    box-shadow .45s var(--ease-out);
}
.ccard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
/* “image 17” is the untouched Figma source — reproduce its exact crop box */
.ccard__img--raw {
  position: absolute;
  width: 127.84%; height: 115.93%;
  left: -22.87%;  top: -15.82%;
  max-width: none;
  object-fit: fill;
}
/* the lift-on-hover only makes sense for a real mouse — on a touch
   screen :hover fires (and sticks) on tap, which read as the card
   silently drifting upward right before the page navigated away */
@media (hover: hover) and (pointer: fine) {
  .ccard.is-in:hover { transform: translate3d(0, -10px, 0); box-shadow: var(--shadow-card); }
  .ccard:hover img { transform: scale(1.07); }
}
/* tap feedback: the card enlarges in place for a beat before the browser
   navigates, so the tap has a visible result instead of an instant jump */
.ccard--pop {
  transform: scale(1.06);
  box-shadow: 0 22px 46px rgba(3, 30, 36, .32);
  z-index: 6;
  transition: transform .26s cubic-bezier(.22, .85, .32, 1.1), box-shadow .26s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .ccard--pop { transform: none; transition: none; }
}
.ccard__bar {
  position: absolute; left: 0; bottom: 0;
  width: 299px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal);
  border-radius: 25px 25px 10px 10px;
  transition: background .35s var(--ease-out);
}
.ccard:hover .ccard__bar { background: var(--teal-deep); }
.ccard__bar span {
  font: 600 24px/normal var(--serif);
  color: #fff;
  white-space: nowrap;
}

/* overlay carousel arrows — appear on hover / focus, no layout shift */
.cnav {
  position: absolute; top: 50%; z-index: 5;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .94);
  color: var(--teal);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(3, 30, 36, .22);
  opacity: 0;
  transform: translateY(-50%) scale(.86);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .25s;
}
.cnav--prev { left: -10px; }
.cnav--next { right: -10px; }
.carousel:hover .cnav,
.carousel:focus-within .cnav { opacity: 1; transform: translateY(-50%) scale(1); }
.cnav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
/* mobile-only affordance: the desktop canvas keeps the carousel arrows */
.collections__viewall { display: none; }
.cnav[disabled] { opacity: 0 !important; pointer-events: none; }

/* ═══════════════ 7. FIND YOUR PERFECT SPARKLE  (80, 1912) ═════
   Figma node 544:3330 - a tall FOR KIDS panel on the left, two stacked
   banner panels on the right, each label set over its own photo. */
.sparkle { position: absolute; left: 80px; top: 1877px; width: 1280px; height: 1081px; }
.sparkle__head {
  position: absolute; left: 0; top: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center;
}
.sparkle__head .sec-title { position: static; width: 100%; }
.sparkle__sub {
  width: 516px;
  font: 400 24px/normal var(--sans);
  letter-spacing: .96px;
  color: var(--muted);
}

/* The grid is sized from the photographs themselves: each panel gets
   the exact aspect ratio of the picture it holds, so the image fills
   it corner to corner with no letterbox and no meaningful crop.
   448 + 40 gutter + 792 = 1280 wide; the banner column stacks 446 + 446
   with the same 32px gap, which is the height of the kids panel. */
.sparkle__grid {
  position: absolute; left: 0; top: 157px;
  width: 100%; height: 924px;
  display: grid;
  grid-template-columns: 448px 792px;
  grid-template-rows: 446px 446px;
  gap: 32px 40px;
}
.tile {
  position: relative; display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #efe6da;
}
.tile--kids { background: #f1efe8; }
.tile--kids { grid-row: 1 / span 2; }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
/* FOR KIDS is drawn at a much larger scale relative to its own frame
   than FOR WOMEN / FOR MEN are, so a shared width across the three
   tiles left the title visibly bigger here. The tile is sized instead
   to match their text scale, then the photo is let to sit inside it
   at its own aspect ratio (contain, not cover) so nothing is cropped -
   the gap above and below is filled with the photo's own backdrop
   tone, set on .tile--kids above, so the join is not visible. This
   has to come after the shared .tile img rule above: both selectors
   share one class + one element specificity, so without this order
   the cover rule below would win on source order and undo it. */
.tile--kids img { object-fit: contain; object-position: 50% 100%; }   /* anchored to the bottom so the letterbox gap collects above the photo, not below it */
/* Every panel now matches its photo, so the picture simply fills the
   tile. The tint behind it only shows while the image decodes. */
.tile--women, .tile--men { background: #f2ebdf; }
.tile picture { position: absolute; inset: 0; display: block; }
/* The panel rises into place and the photograph eases out of a slight
   over-scale, so the tile looks like it is settling rather than snapping.
   Hover only takes over once the reveal has finished. */
.tile img { transform: scale(1.055); }
.tile.is-in img { transform: scale(1); }
.tile.is-in:hover img { transform: scale(1.04); }
.tile.reveal:not(.is-in) { transform: var(--rv-base) translate3d(0, 26px, 0) scale(.986); }

/* The set titles are lettered into the photographs themselves, so
   there is no text overlay on these tiles. */

/* ═══════════════ 8. STORY BAND  (0, 3009, 1440 × 340) ═════════════ */
.story {
  position: absolute; left: 0; top: 3024px;
  width: 1440px; height: 340px;
  overflow: hidden;
  background: url('assets/leaf-texture.jpg') 0 0 / 1440px 688px no-repeat, #0b3b44;
  background-image: image-set(url('assets/w/leaf-texture-1280w.webp') type('image/webp'),
                              url('assets/leaf-texture.jpg') type('image/jpeg'));
}
/* a 1280px texture behind a 375px screen is bytes for nothing */
@media (max-width: 1023px) {
  .story {
    background-image: image-set(url('assets/w/leaf-texture-640w.webp') type('image/webp'),
                                url('assets/leaf-texture.jpg') type('image/jpeg'));
  }
}
.story__img {
  position: absolute; left: 1010px; top: 32px;
  width: 329px; height: 280px;
  object-fit: cover;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.5deg); }
}
.story__title {
  position: absolute; left: 87px; top: 35px; width: 594px;
  font: 600 64px/1.22 var(--serif);
  color: var(--white);
}
.story__cta {
  left: 87px; top: 229px; width: 182px; height: 48px;
  background-image: linear-gradient(96.07394051771195deg,
      rgb(193,141,32)  9.2133%,
      rgb(253,246,188) 25.205%,
      rgb(238,200,120) 39.735%,
      rgb(190,133,22)  51.968%,
      rgb(220,171,50)  67.296%,
      rgb(238,200,120) 79.474%,
      rgb(193,141,32)  96.311%);
}

/* ═══════════════ 9. SIGNATURE COLLECTIONS  (103, 3099) ════════════ */
.signature { position: absolute; left: 103px; top: 3409px; width: 1337px; height: 597px; }
.signature__eyebrow { left: 543px; top: 15px; }
.signature__title   { left: 512px; top: 44px; width: 337px; text-align: center; }
.signature .carousel { position: absolute; left: 0; top: 124px; width: 1337px; height: 470px; }
.signature__track {
  width: 1337px; height: 384px;
  display: flex; gap: 30px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  outline-offset: 6px;
}
.signature__track::-webkit-scrollbar { display: none; }
.scard {
  flex: 0 0 auto;
  width: 329px; height: 384px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 15px;
  background: var(--teal);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition:
    opacity   .55s var(--ease-out) var(--rv-delay, 0ms),
    transform .55s var(--ease-out),
    box-shadow .45s var(--ease-out);
}
.scard__media {
  display: block; position: relative;
  width: 299px; height: 290px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f1f0;
  flex-shrink: 0;
}
.scard__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .7s var(--ease-out);
}
.scard__img--raw { object-position: left top; }

.scard.is-in:hover { transform: translate3d(0, -10px, 0); box-shadow: var(--shadow-card); }
.scard:hover .scard__media img { transform: scale(1.08); }
.scard__name {
  width: 299px; height: 71px;
  font: 400 18px/normal var(--sans);
  color: var(--white);
  transition: color .3s var(--ease-out);
}
.scard:hover .scard__name { color: #f3dfa8; }

.signature__nav { position: absolute; left: 605px; top: 426px; width: 149px; height: 32px; }
.pill {
  position: absolute; top: 0;
  width: 68px; height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 25px;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out), opacity .3s;
}
.pill--prev { left: 0; }
.pill--next { left: 81px; }
/* both arrows sit centred in their 68×32 pill — (68 − 24) / 2 = 22.
   The Figma source had the left arrow at x=46, which pushed it against
   the pill's right edge (and overflowed it by 2px). */
.pill svg {
  position: absolute; top: 4px; left: 22px;
  width: 24px; height: 24px;
  transition: transform .3s var(--ease-out);
}
.pill:hover { background: var(--teal-deep); }
.pill--prev:hover svg { transform: translateX(-5px); }
.pill--next:hover svg { transform: translateX(5px); }
.pill[disabled] { opacity: .35; pointer-events: none; }

/* ═══════════════ 10. REVIEWS  (80, 3715, 1280 × 434) ══════════════ */
.reviews { position: absolute; left: 80px; top: 4025px; width: 1280px; height: 434px; }
.reviews__eyebrow { left: 589px; top: 22px; }
.reviews__title   { left: 337px; top: 51px; width: 609px; text-align: center; }
.reviews__divider { position: absolute; left: 508px; top: 101px; width: 266.144px; height: 24.144px; }

.rcard {
  position: absolute;
  width: 392px;
  border-radius: 10px;
  text-align: center;
  transition:
    opacity   .55s var(--ease-out) var(--rv-delay, 0ms),
    transform .5s var(--ease-out),
    box-shadow .45s var(--ease-out),
    border-color .25s var(--ease-out);
}
.rcard--left   { left: 23px;  top: 183px; height: 210px; background: var(--white); border: 1px solid var(--hairline); }
.rcard--right  { left: 867px; top: 188px; height: 210px; background: var(--white); border: 1px solid var(--hairline); }
/* white like the left/right cards — the centre card is still the
   featured one, by size and shadow, not by a permanent gold border */
.rcard--center { left: 445px; top: 163px; height: 249px; background: var(--white); border: 1px solid var(--hairline); box-shadow: 0 12px 30px rgba(3,81,93,.14); }
.rcard.is-in:hover { transform: translate3d(0, -8px, 0); box-shadow: var(--shadow-card); }
/* gold border is a response to touch/pointer interaction, not a resting state */
.rcard.is-in:hover,
.rcard.is-in:focus-visible,
.rcard.is-in:active { border-color: var(--gold-line); }

.rcard__quote {
  position: absolute; left: 0; right: 0;
  font: 500 18px/normal var(--sans);
  color: var(--ink);
}
.rcard--left  .rcard__quote,
.rcard--right .rcard__quote { top: 18px; }
.rcard--center .rcard__quote { top: 28px; }

.stars { position: absolute; left: 135px; display: flex; gap: 0; }
.rcard--left .stars, .rcard--right .stars { top: 48px; }
.rcard--center .stars { top: 58px; }
.stars svg { opacity: 0; transform: scale(.4) rotate(-40deg); }
.rcard.is-in .stars svg { animation: starPop .5s var(--ease-out) forwards; }
.rcard.is-in .stars svg:nth-child(1) { animation-delay: .22s; }
.rcard.is-in .stars svg:nth-child(2) { animation-delay: .30s; }
.rcard.is-in .stars svg:nth-child(3) { animation-delay: .38s; }
.rcard.is-in .stars svg:nth-child(4) { animation-delay: .46s; }
.rcard.is-in .stars svg:nth-child(5) { animation-delay: .54s; }
@keyframes starPop {
  0%   { opacity: 0; transform: scale(.4) rotate(-40deg); }
  70%  { opacity: 1; transform: scale(1.18) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.rcard__body {
  position: absolute; left: 18px; width: 354px;
  font: 400 16px/20px var(--sans);
  color: var(--muted);
}
.rcard--center .rcard__body { top: 97px; }
.rcard--left  .rcard__body { top: 89px; }
.rcard--right .rcard__body { top: 90px; }

.rcard__name {
  position: absolute; left: 0; right: 0;
  font-family: var(--script);
  color: var(--teal);
}
.rcard--left  .rcard__name { top: 165px; font-size: 19px; }
.rcard--right .rcard__name { top: 164px; font-size: 19px; }
.rcard--center .rcard__name { top: 190px; font-size: 24px; }

/* ═══════════════ 11. FOOTER  (0, 4491, 1440 × 350) ════════════════ */
.ftr {
  position: absolute; left: 0; top: 4506px;
  width: 1440px; height: 350px;
  overflow: hidden;
  background: linear-gradient(90deg, #033d41 0%, #035561 50%, #045a68 100%);
  color: var(--white);
}
.ftr__banner {
  position: absolute; left: 0; top: 0;
  width: 1440px; height: 350px;
  object-fit: cover;
}

.ftr__head {
  position: absolute;
  font: 500 18px/21px var(--sans);
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.ftr__head--contact { left: 326px;  top: 70px; }
.ftr__head--about   { left: 723px;  top: 68px; }
.ftr__head--service { left: 928px;  top: 68px; }
.ftr__head--follow  { left: 1180px; top: 68px; }

/* address, phone and email now share one pattern: a 24px icon, a 14px
   gap, then the text. The address had no icon, so its text sat 38px
   left of the other two and the column read as broken. */
.ftr__addr {
  position: absolute; left: 326px; top: 108px; width: 319px;
  display: flex; align-items: flex-start;
  font: 400 16px/24px var(--sans);
  color: var(--white);
}
.ftr__addr svg { width: 24px; height: 24px; flex: 0 0 24px; }
.ftr__addr span { margin-left: 14px; }
.ftr__row {
  position: absolute; left: 326px;
  display: flex; align-items: center;
  height: 24px;
  font: 400 16px/24px var(--sans);
}
.ftr__row svg { width: 24px; height: 24px; flex: 0 0 24px; }
/* the 14px sits on whatever directly follows the icon, so a row holding two
   phone links keeps normal inline spacing around the comma between them */
.ftr__row > a,
.ftr__row > .ftr__nums {
  margin-left: 14px; white-space: nowrap;
}
.ftr__row a { transition: color .25s var(--ease-out); }
.ftr__row a:hover { color: var(--gold); }
.ftr__row--phone { top: 200px; }
.ftr__row--mail  { top: 244px; }

.ftr__list { position: absolute; }
/* mobile-only footer pieces: inert on desktop */
.ftr__logo-mob { display: none; }
.ftr__cols { display: contents; }

.ftr__list li { height: 24.8px; margin-bottom: 11px; }
.ftr__list a {
  position: relative; display: inline-block;
  font: 400 16px/24.8px var(--sans);
  color: var(--white); white-space: nowrap;
  transition: color .25s var(--ease-out), transform .25s var(--ease-out);
}
.ftr__list a::after {
  content: ''; position: absolute; left: 0; bottom: 1px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.ftr__list a:hover { color: var(--gold); transform: translateX(4px); }
.ftr__list a:hover::after { transform: scaleX(1); }
.ftr__list--about   { left: 723px; top: 118px; width: 107px; }
.ftr__list--service { left: 928px; top: 118px; width: 154px; }

.ftr__social { position: absolute; left: 1180px; top: 118px; width: 144px; height: 36px; }
.soc {
  position: absolute; top: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--white);
  transition: background .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
.soc:nth-child(1) { left: 6px; }
.soc:nth-child(2) { left: 54px; }
.soc:nth-child(3) { left: 102px; }
.soc:hover {
  background: var(--gold);
  color: var(--teal);
  transform: translateY(-4px) scale(1.08);
}

/* ═══════════════ 12. COPYRIGHT  (0, 4841, 1440 × 56) ══════════════ */
.copyright {
  position: absolute; left: 0; top: 4856px;
  width: 1440px; height: 56px;
  background: var(--white);
}
.copyright p {
  position: absolute; left: 0; right: 0; top: 20px;
  font: 400 14px/17px var(--sans);
  color: var(--teal);
  text-align: center;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — below 1024px the fixed canvas is abandoned and the
   page reflows into a single readable column.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  .stage { height: auto !important; overflow: visible; }
  .page {
    width: 100%; max-width: 100vw; height: auto !important;
    transform: none !important;
    overflow: visible;
  }

  /* unwind the absolute canvas */
  .hdr, .hero, .stats, .crafted, .crafted-bracket-h,
  .collections, .sparkle, .story, .signature, .reviews, .ftr, .copyright {
    position: relative; left: auto; top: auto; right: auto;
    width: 100%; height: auto;
  }


  /* ── header ── */
  .hdr {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 16px; gap: 12px;
    position: sticky; top: 0; z-index: 80;
    box-shadow: 0 2px 14px rgba(3, 30, 36, .10);
  }
  /* relative, not static — keeps the absolutely positioned logo images
     inside the link instead of letting them anchor to the sticky header */
  /* a thicker bar with the mark at a readable size — the design's 43px
     logo was too small to read on a real handset */
  .hdr__logo {
    position: relative; left: auto; top: auto;
    width: 112px; height: 60px; flex: 0 0 auto;
  }
  .hdr__logo-bg { width: 112px; height: 60px; }
  .hdr__logo-mark { left: 22px; top: 3px; width: 68px; height: 46px; }

  .burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 44px; height: 44px; padding: 10px;
    flex: 0 0 auto;
  }
  .burger span {
    display: block; height: 2px; width: 100%;
    background: var(--teal); border-radius: 2px;
    transition: transform .32s var(--ease-out), opacity .2s var(--ease-out);
  }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MUST stay below .hdr's z-index (80). The header is sticky with its own
     z-index, so it forms a stacking context and the drawer's z-index:90 is
     scoped inside it — a scrim above 80 covers the whole header, drawer
     included, and silently swallows every tap on the menu. */
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 70;
    background: rgba(3, 30, 36, .45);
    opacity: 0; transition: opacity .35s var(--ease-out);
  }
  .nav-scrim[hidden] { display: none; }
  .nav-scrim.is-shown { opacity: 1; }

  /* nav becomes a slide-in drawer */
  .nav {
    position: fixed; right: 0; top: 0; bottom: 0; left: auto;
    width: min(88vw, 350px); height: 100dvh;
    display: flex; flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 22px 22px calc(32px + env(safe-area-inset-bottom));
    background: #fff;
    /* The shadow belongs to the open drawer only: parked 2% past the
       edge, its 48px blur used to bleed a grey band down the right side
       of every page on a phone. Closed, the drawer is also hidden from
       focus and screen readers once it has slid away. */
    box-shadow: none;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .38s var(--ease-soft), box-shadow .38s var(--ease-soft),
                visibility 0s linear .38s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 90;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -18px 0 48px rgba(3, 30, 36, .22);
    transition: transform .38s var(--ease-soft), box-shadow .38s var(--ease-soft),
                visibility 0s linear 0s;
  }

  .nav__item--wrap { display: block; width: 100%; height: auto; }
  .nav__item {
    width: 100%; height: auto;
    justify-content: space-between;
    padding: 15px 2px; font-size: 17px;
    border-bottom: 1px solid #ececec;
  }
  .nav__item::after { display: none; }
  .nav__item--active { color: var(--teal); }
  .caret { position: static; margin-left: auto; transform: rotate(45deg) translateY(-2px); }
  .nav__item--btn[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }

  /* menus become inline accordions */
  .mega, .dropdown {
    position: static; transform: none !important;
    width: 100%; min-height: 0;
    background: transparent; box-shadow: none;
    border-radius: 0; padding: 4px 0 10px;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none;
  }
  .mega.is-open, .dropdown.is-open { display: block; }
  .mega__col { position: static; width: 100%; margin: 10px 0 4px; }
  .mega__heading { font-size: 16px; }
  .mega__list { margin-top: 12px; }
  .mega__list li, .dropdown__list li {
    height: auto; padding: 7px 0 7px 12px;
    opacity: 1; transform: none; animation: none !important;
  }
  .mega__divider, .mega__img, .mega__promo { display: none; }

  /* search + Enquire are relocated into the drawer by app.js.
     That script is deferred, so until it runs the two still lay out
     inside the header - and the header reflows the moment they leave.
     Every element in the bar jumped (the logo went from 4px wide to
     112px) and the whole document below it moved: that single reflow
     was a 0.42 layout shift, most of the mobile CLS.
     Hiding them while they are still header children makes the first
     paint match the post-move geometry, so the relocation is invisible. */
  .hdr > .search,
  .hdr > .btn-enquire { display: none; }
  .search {
    position: static; width: 100%; height: 44px;
    margin: 4px 0 14px; order: -1; flex: 0 0 auto;
  }
  .btn-enquire {
    position: static; width: 100%; height: 48px;
    margin-top: 20px; font-size: 17px; flex: 0 0 auto;
  }

  /* ── hero ──
     the mobile design leads with the words and puts the photograph
     underneath, so the two children swap round on small screens. The
     banner's own patterned backdrop is reused behind the copy, and the
     photograph is cropped to the podium (which sits at 51-97% of the
     source) instead of being squashed into a full-width strip. */
  .hero {
    padding-bottom: 26px; overflow: hidden;
    display: flex; flex-direction: column;
    background: #f4f4f4 url('assets/hero-banner.jpg') left top / 260% auto no-repeat;
    /* the same file the <img> above resolves to on a phone, so the
       backdrop and the banner share one download */
    background-image: image-set(url('assets/w/hero-banner-800w.webp') type('image/webp'),
                                url('assets/hero-banner.jpg') type('image/jpeg'));
  }
  .hero__copy   { order: 1; }
  .hero__banner { order: 2; margin-top: 10px; }
  .hero__banner {
    position: relative; width: 100%; height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover; object-position: 95% center;
    animation: none; transform: none;
  }
  /* the mobile design centres the whole hero block */
  .hero__copy {
    position: static; width: 100%; height: auto;
    padding: 26px 20px 0; text-align: center;
  }
  .hero__title { font-size: clamp(30px, 7.6vw, 44px); }
  .hero__sub {
    position: static; width: 100%; margin-top: 16px;
    font-size: 16px; line-height: 1.45;
  }
  /* design width is ~61% of the viewport; height is held at 46px so the
     tap target stays above the 44px minimum */
  .hero__cta {
    position: static; width: 61%; min-width: 220px; max-width: 250px;
    height: 46px; margin: 26px auto 0; font-size: 16px;
  }

  /* ── stats ──
     three separate teal cards on mobile: 10+ and 50+ share the first row,
     100+ runs full width underneath. The desktop single-panel-with-dividers
     treatment is dropped here entirely. */
  .stats {
    /* the cards are their own band, not something hanging off the podium:
       26px of the hero's own backdrop, then a further 24px of page before
       the first card */
    width: calc(100% - 40px); margin: 24px auto 0;
    padding: 0; border-radius: 0;
    background: none; box-shadow: none;
  }
  .stats__row {
    position: static; width: 100%; height: auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .stat {
    position: static; width: auto !important; height: auto;
    display: flex; flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 2px;
    padding: 12px 16px 14px;
    background: var(--teal); border-radius: 10px;
    border: 0 !important;
  }
  /* placed explicitly so the pairing does not depend on source order */
  .stat--1 { grid-column: 1; grid-row: 1; }
  .stat--3 { grid-column: 2; grid-row: 1; }
  .stat--2 { grid-column: 1 / -1; grid-row: 2; }
  .stat__num { font-size: 28px; line-height: 1.15; }
  .stat__label { font-size: 16px; line-height: 1.3; width: auto !important; }

  /* ── crafted ── */
  .crafted { padding: 48px 20px 0; }
  .crafted__frame { position: static; width: 100%; height: auto; aspect-ratio: 467 / 336; }
  .crafted__bracket-v, .crafted-bracket-h { display: none; }
  .crafted__title { position: static; width: 100%; font-size: 27px; margin-top: 26px; }
  /* copy and the three promises are centred on mobile, and the icon sits
     above its own heading rather than beside it */
  .crafted__lede  {
    position: static; width: 100%; margin-top: 12px;
    font-size: 15px; text-align: center;
  }
  .feature {
    position: static; width: 100%; height: auto; margin-top: 30px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .feature__icon { position: static; margin: 0 auto; }
  .feature__title, .feature__desc { position: static; width: 100%; text-align: center; }
  .feature__title { margin-top: 12px; }
  .feature__desc  { margin-top: 4px; }
  /* not part of the mobile design */
  .crafted__cta { display: none; }

  /* ── collections ── */
  .collections { padding: 50px 0 0; }
  .collections__eyebrow, .collections__title {
    position: static; width: 100%; text-align: center; padding: 0 20px;
  }
  .collections__eyebrow { font-size: 17px; letter-spacing: .6px; }
  .collections__title { font-size: 27px; margin-top: 6px; }
  .carousel, .signature .carousel {
    position: static; width: 100%; height: auto; margin-top: 22px;
  }
  .collections__track, .signature__track {
    width: 100%; height: auto;
    padding: 4px 20px 8px; gap: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .ccard {
    width: min(78vw, 300px); height: auto;
    aspect-ratio: 299 / 362;
  }
  .ccard__bar { width: 100%; height: 46px; }
  .ccard__bar span { font-size: 19px; }
  .cnav { display: none; }

  /* Collections keep the continuous right-to-left marquee on mobile,
     the same as desktop — the cards drift past rather than sitting in
     a static grid. */
  .collections__track {
    display: flex;
    gap: 16px; padding: 4px 20px 8px;
    overflow-x: auto;
  }
  .collections__track .ccard { width: min(60vw, 230px); }
  .collections__viewall {
    display: block; width: fit-content; margin: 22px auto 0;
    padding-bottom: 3px;
    font: 500 17px/1 var(--sans); letter-spacing: .4px; color: var(--ink);
    border-bottom: 1px solid var(--gold-line);
  }
  .collections__viewall:hover { color: var(--teal); border-bottom-color: var(--teal); }

  /* heading and workshop photograph show on mobile too, as on desktop;
     the title is centred to sit with the copy beneath it */
  .crafted__title { text-align: center; }

  /* ── sparkle ──
     The three panels stack full-width. FOR KIDS swaps to a wide crop of
     its own (see the media-qualified <source>), so all three banners
     share the same proportions down the page. Each image is laid out at
     its natural size rather than filling a fixed box, which is what keeps
     the lettering in the artwork from ever being cut off. */
  .sparkle { padding: 50px 0 0; }
  .sparkle__head {
    position: static; width: 100%; padding: 0 20px; gap: 6px;
  }
  .sparkle__head .sec-title { font-size: 27px; }
  .sparkle__sub { width: 100%; font-size: 15px; text-align: center; }
  .sparkle__grid {
    position: static; width: 100%; height: auto;
    display: flex; flex-direction: column; gap: 14px;
    margin-top: 22px; padding: 0 20px;
  }
  .tile { border-radius: 12px; }
  .tile picture { position: static; display: block; }
  .tile img {
    position: static;
    width: 100%; height: auto;
    object-fit: fill;
  }
  /* FOR KIDS is served a landscape photograph here, so the width/height
     attributes on the tag (which describe the desktop portrait) would
     reserve the wrong box. State the ratio of the file mobile actually
     receives, so the space is held before the image decodes and the page
     below it does not jump. */
  .tile--kids  img { aspect-ratio: 1600 / 900; }
  .tile--women img,
  .tile--men   img { aspect-ratio: 1600 / 900; }
  /* the panel still rises into place, but the photograph does not ease out
     of an over-scale here - mobile lays each image out at its exact size,
     so a scaled frame would clip the lettering in the artwork */
  .tile img, .tile.is-in img, .tile.is-in:hover img { transform: none; }

  /* ── story ──
     mobile stacks rings first, then the line, then the button — all centred */
  .story {
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 20px 52px; margin-top: 50px;
    background-size: cover, auto;
    background-position: center;
    text-align: center;
  }
  .story__img {
    position: static; width: min(58vw, 220px); height: auto;
    margin: 0 auto; align-self: center; order: 1;
  }
  .story__title {
    position: static; width: 100%; order: 2;
    margin-top: 24px; font-size: clamp(28px, 7.6vw, 42px); text-align: center;
  }
  .story__cta {
    position: static; width: 100%; max-width: 240px;
    height: 52px; margin: 28px auto 0; order: 3;
  }

  /* ── signature ── */
  .signature { padding: 52px 0 0; }
  .signature__eyebrow, .signature__title {
    position: static; width: 100%; text-align: center; padding: 0 20px;
  }
  .signature__eyebrow { font-size: 17px; }
  .signature__title { font-size: 27px; margin-top: 6px; }
  .scard { width: min(76vw, 290px); height: auto; }
  .scard__media { width: 100%; height: auto; aspect-ratio: 299 / 290; }
  .scard__name { width: 100%; height: auto; min-height: 52px; font-size: 16px; }
  /* stays `relative` so the absolutely-placed pills keep anchoring here
     instead of escaping to the section box */
  .signature__nav {
    position: relative; left: auto; top: auto;
    width: 149px; height: 32px;
    margin: 22px auto 0;
  }

  /* ── reviews ── */
  .reviews { padding: 52px 20px 0; }
  .reviews__eyebrow, .reviews__title {
    position: static; width: 100%; text-align: center;
  }
  .reviews__eyebrow { font-size: 17px; }
  .reviews__title { font-size: 27px; margin-top: 6px; }
  .reviews__divider { position: static; margin: 14px auto 0; }
  .rcard {
    position: static; width: 100%; height: auto !important;
    max-width: 420px; margin: 20px auto 0;
    padding: 22px 18px 24px;
  }
  .rcard__quote, .rcard__body, .rcard__name {
    position: static; width: 100%; left: auto; top: auto !important;
  }
  .rcard__body { margin-top: 14px; }
  .rcard__name { margin-top: 16px; }
  .stars { position: static; justify-content: center; margin-top: 12px; }

  /* ── footer ── */
  .ftr {
    padding: 40px 20px 34px; margin-top: 54px;
    display: block;
  }
  .ftr__banner { display: none; }
  .ftr__head, .ftr__addr, .ftr__row, .ftr__list, .ftr__social {
    position: static; left: auto; top: auto; width: 100%;
  }
  .ftr__head { margin: 26px 0 12px; }
  .ftr__head--contact { margin-top: 0; }
  /* address, phone and email keep the same 20px rhythm they have on
     desktop; the address block has no bottom margin of its own */
  .ftr__addr { margin-bottom: 0; }
  .ftr__addr, .ftr__row { margin-top: 20px; }
  .ftr__row { height: auto; }
  .ftr__row > a, .ftr__row > .ftr__nums { white-space: normal; }
  .ftr__list li { height: auto; margin-bottom: 8px; }
  .ftr__social { height: 36px; position: relative; }

  /* ── copyright ── */
  .copyright { padding: 18px 20px; height: auto; }
  .copyright p { position: static; white-space: normal; }

  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(28px, 8.4vw, 40px); }
  .stat__num { font-size: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION — honour the OS-level preference
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* Reduce, not remove. Nothing travels, zooms or drifts, but content
     still dissolves in - on load and as it is scrolled to - so the site
     does not read as broken on a machine with animations switched off
     (Windows "Animation effects" off reports reduced motion to the
     browser). A pure opacity fade has no vestibular effect. */
  .reveal {
    transform: var(--rv-base) !important;
    transition: opacity .6s var(--ease-out) var(--rv-delay, 0ms) !important;
  }
  .hero__title .line__i { transform: none !important; }
  .hero__banner { transform: none !important; }
  .page:not(.page--flow) .hdr,
  .hero__sub, .hero__cta, .hero__title .line__i, .hero__banner {
    animation-name: kgFade !important;
    animation-duration: .8s !important;
  }
  .stars svg { opacity: 1 !important; transform: none !important; }
  .tile img { transform: none !important; }
  .mega__list li, .dropdown__list li { opacity: 1 !important; transform: none !important; }
  .btn-gold::after { display: none; }
}

/* ── Print ─────────────────────────────────────────────────────────── */
@media print {
  .progress, .to-top, .burger, .nav-scrim, .cnav, .signature__nav { display: none !important; }
  .page { transform: none !important; }
}

/* ═══════════════ MOBILE FOOTER (all 90 pages) ═══════════════
   Same layout whether the page uses the home footer (.ftr) or the inner
   page one (.ftr.ftr--flow): brand mark on top, contact block, the two link
   lists side by side, then Follow Us and the social circles.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .ftr, .ftr.ftr--flow {
    padding: 44px 20px 28px;
    display: block;
  }
  .ftr__banner { display: none; }

  /* brand mark — logo-mark.png already contains the KOUSHIK GOLD wordmark,
     so nothing is typed underneath it */
  .ftr__logo-mob,
  .ftr.ftr--flow .ftr__brand img {
    display: block; width: 145px; height: auto;
    margin: 0 0 52px;
  }
  .ftr.ftr--flow .ftr__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; padding: 0; max-width: none;
  }
  .ftr.ftr--flow .ftr__brand {
    grid-column: 1 / -1;
    display: block; text-align: left;
  }

  .ftr__head, .ftr__addr, .ftr__row, .ftr__list, .ftr__social {
    position: static; left: auto; top: auto; width: 100%;
  }

  /* spacing rhythm: a heading breathes 24px before its content,
     groups are separated by ~45px */
  .ftr__head, .ftr.ftr--flow .ftr__head { margin: 0 0 24px; }
  .ftr__head--contact { margin-top: 0; }
  .ftr__addr, .ftr.ftr--flow .ftr__addr { margin-bottom: 0; }
  /* one rhythm for the whole contact column - address, phone and email
     sat 24px and 8px apart, which read as a broken gap */
  .ftr__addr, .ftr__row, .ftr.ftr--flow .ftr__row { height: auto; margin-top: 20px; }
  .ftr.ftr--flow .ftr__col--contact .ftr__row:first-of-type { margin-top: 20px; }
  .ftr__row > a, .ftr__row > .ftr__nums { white-space: normal; }
  .ftr__list li { height: auto; margin-bottom: 8px; }

  /* the two link lists sit side by side */
  .ftr__cols {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 18px; margin-top: 45px;
  }
  .ftr__cols .ftr__head { margin: 0 0 34px; }
  .ftr__cols .ftr__list { margin: 0; }
  .ftr__cols .ftr__head--about   { grid-column: 1; grid-row: 1; }
  .ftr__cols .ftr__list--about   { grid-column: 1; grid-row: 2; }
  .ftr__cols .ftr__head--service { grid-column: 2; grid-row: 1; }
  .ftr__cols .ftr__list--service { grid-column: 2; grid-row: 2; }

  .ftr.ftr--flow .ftr__col--contact { grid-column: 1 / -1; }
  .ftr.ftr--flow .ftr__col--about   { grid-column: 1; margin-top: 45px; }
  .ftr.ftr--flow .ftr__col--service { grid-column: 2; margin-top: 45px; }
  .ftr.ftr--flow .ftr__col--about .ftr__head,
  .ftr.ftr--flow .ftr__col--service .ftr__head { margin-bottom: 34px; }

  /* Follow Us drops clear of the columns above it */
  .ftr__head--follow,
  .ftr.ftr--flow .ftr__col--follow { margin-top: 48px; }
  .ftr.ftr--flow .ftr__col--follow { grid-column: 1 / -1; }
  .ftr__head--follow { margin-bottom: 0; }
  .ftr.ftr--flow .ftr__col--follow .ftr__head { margin-bottom: 30px; }

  .ftr__social { height: 40px; position: relative; margin-top: 30px; }
  .ftr.ftr--flow .ftr__social { height: auto; display: flex; gap: 8px; margin-top: 0; }
  .soc { width: 40px; height: 40px; }
  .ftr:not(.ftr--flow) .soc:nth-child(1) { left: 0; }
  .ftr:not(.ftr--flow) .soc:nth-child(2) { left: 48px; }
  .ftr:not(.ftr--flow) .soc:nth-child(3) { left: 96px; }

  .copyright { padding: 18px 20px; height: auto; }
  .copyright p { position: static; white-space: normal; }
}

/* ═══════════ MOBILE MARQUEE ═══════════
   One composited transform carries the whole track; the browser runs it
   off the main thread, so the strip keeps drifting at a steady rate
   while the page is being scrolled. app.js measures one set of cards,
   clones enough to cover the fold, and sets --mq-set (how far to travel
   before the seam) and --mq-dur (that distance at a fixed px/second, so
   every strip on the page moves at the same visible speed).
   ══════════════════════════════════════ */
/* ══════════════════════════════════════
   PAGE TRANSITIONS
   Browsers that support it cross-fade between pages instead of the
   white flash of a fresh document, which is what makes a multi-page
   site feel like an app. Costs no JavaScript, and older browsers
   simply navigate as before.
   ══════════════════════════════════════ */
@view-transition { navigation: auto; }

/* The outgoing page dissolves as it lifts a few pixels away; the
   incoming one rises into place just behind it, on a long soft ease,
   so the swap reads as one continuous movement rather than a cut. */
::view-transition-old(root) {
  animation: kg-vt-out .26s cubic-bezier(.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: kg-vt-in .52s cubic-bezier(.16, 1, .3, 1) .05s both;
}
@keyframes kg-vt-out {
  to { opacity: 0; transform: translate3d(0, -12px, 0); }
}
@keyframes kg-vt-in {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
}

/* Between two inner pages the header is the same bar in the same place,
   so it is lifted out of the page snapshot and simply stays put while
   the content below it changes. (The home header sits on the scaled
   design canvas, so it is left as part of the page.) */
.page--flow .hdr { view-transition-name: kg-header; }
::view-transition-group(kg-header) { animation-duration: .4s; }
::view-transition-old(kg-header),
::view-transition-new(kg-header) { animation: none; mix-blend-mode: normal; }

/* Browsers without cross-document view transitions get a short fade
   out instead (js/motion.js adds the class on an internal link), and
   the inner pages' own entrance takes it from there. */
html.is-leaving body {
  opacity: 0;
  transition: opacity .18s cubic-bezier(.4, 0, 1, 1);
}

@media (prefers-reduced-motion: reduce) {
  /* a straight cross-fade: nothing moves */
  ::view-transition-old(root) { animation: kg-vt-fade-out .22s ease both; }
  ::view-transition-new(root) { animation: kgFade .32s ease both; }
  html.is-leaving body { transition-duration: .18s !important; }
}
@keyframes kg-vt-fade-out { to { opacity: 0; } }

@keyframes kg-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * var(--mq-set, 0px)), 0, 0); }
}

/* These only bite once app.js has added the classes, so they are safe at
   every width: the collections strip is marked up on phones only (the
   desktop one drifts through its own scroll carousel), the reviews strip
   on phones and desktop alike. */
/* pan-y: the page still scrolls vertically, horizontal drags reach
   app.js, which moves the strip under the finger */
.mq-viewport { overflow: hidden; touch-action: pan-y; }
.mq-track {
  display: flex; flex-wrap: nowrap; width: max-content;
  overflow: visible;
  animation: kg-marquee var(--mq-dur, 30s) linear infinite;
  will-change: transform;
  -webkit-user-select: none; user-select: none;
}
.mq-track img { -webkit-user-drag: none; }
/* held while a finger is down, and while the strip is off-screen */
.mq-track.is-paused { animation-play-state: paused; }
.js .mq-track .reveal { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  /* the track is the moving layer now, so nothing inside it scrolls,
     snaps or reveals on its own */
  .mq-viewport .collections__track {
    padding: 4px 20px 8px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .mq-viewport .ccard { scroll-snap-align: none; }
}

/* ── Desktop reviews: the same drifting strip the phone gets, so the
      section is not the one static block on an otherwise moving page.
      The cards lose their three fixed Figma positions and flow in a row
      instead, since a loop has no "centre" card to feature. ── */
@media (min-width: 1024px) {
  .reviews__strip {
    position: absolute; left: 0; top: 150px;
    width: 1280px;
    /* if the marquee never starts (reduced motion, or JS off) the row
       stays swipeable rather than clipped */
    overflow-x: auto;
    scrollbar-width: none;
  }
  .reviews__strip::-webkit-scrollbar { display: none; }
  .reviews__track {
    display: flex; flex-wrap: nowrap; align-items: stretch;
    gap: 28px; width: max-content;
    padding: 10px 23px 16px;
  }
  .reviews__track .rcard {
    position: static; flex: 0 0 auto;
    width: 392px; height: auto;
    margin: 0; padding: 24px 20px 26px;
    background: var(--white); border: 1px solid var(--hairline);
  }
  .reviews__track .rcard--center { box-shadow: 0 12px 30px rgba(3, 81, 93, .14); }
  .reviews__track .rcard__quote,
  .reviews__track .rcard__body,
  .reviews__track .rcard__name {
    position: static; width: 100%; left: auto; top: auto;
  }
  .reviews__track .rcard__body { margin-top: 14px; }
  .reviews__track .rcard__name { margin-top: 16px; font-size: 21px; }
  .reviews__track .stars { position: static; justify-content: center; margin-top: 12px; }
}

/* ── Reviews read as one horizontal strip on a phone, like the
      collections above them. The strip stands on its own so that a
      reader who has asked for reduced motion still gets the strip -
      swipeable, simply not self-propelled - rather than dropping back
      to a tall stack the section above it never falls back to. ── */
@media (max-width: 1023px) {
  .reviews__strip {
    margin-top: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews__strip::-webkit-scrollbar { display: none; }
  .reviews__strip.mq-viewport { overflow-x: hidden; }
  .reviews__track {
    display: flex; flex-wrap: nowrap; align-items: stretch;
    gap: 14px; padding: 4px 20px 10px;
    width: max-content;
  }
  .reviews__track .rcard {
    flex: 0 0 auto;
    width: min(74vw, 290px);
    max-width: none;
    margin: 0;                 /* the track owns the spacing now */
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
}

/* ═══════════ MOBILE: SKIP WORK THAT IS NOT ON SCREEN ═══════════
   The phone home page is a tall column. Telling the browser it may skip
   rendering a section until it is near the viewport removes that layout
   and paint from the critical path; the intrinsic sizes keep the
   scrollbar honest so nothing jumps as sections are reached.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .story, .signature, .reviews, .ftr {
    content-visibility: auto;
  }
  /* Placeholder heights, used only while a section is still off-screen.
     .story was reserving 620px against a real 364px of content, so ~256px
     of bare dark teal sat below the Explore button until the section
     scrolled in and collapsed — the empty blue strip, plus a jump.

     These are CONTENT-box heights: padding is added on top, so each value
     is (measured height - padding). Measured at 390px wide:
       story 464 - 100 = 364   reviews 484 - 52 = 432
       signature 551 - 52 = 499   footer 763 - 72 = 691 */
  .story    { contain-intrinsic-size: auto 364px; }
  .signature{ contain-intrinsic-size: auto 499px; }
  .reviews  { contain-intrinsic-size: auto 432px; }
  .ftr      { contain-intrinsic-size: auto 691px; }
}

/* <picture> is a selection wrapper, never a layout box: its child must
   stay the flex/grid item so rules like .hero__banner { order: 2 } and
   the height:100% card images keep resolving against the real parent.
   This lives here, not in pages.css, because the home page loads only
   this stylesheet. */
picture { display: contents; }

/* JS owns transform on these when motion.js is active — CSS cedes hover */
.js-motion .btn-gold.is-in:hover, .js-motion .btn-gold.anim-done:hover { transform: none; }
.js-motion .btn-enquire:hover { transform: none; }

/* cheapen paint scope of the per-frame scrollLeft marquee write */
.carousel { contain: layout paint; }

/* footer contact links are stacked tap targets; keep each at the 24px
   minimum without changing how the block looks */
.ftr__nums a, .ftr a[href^="mailto:"] {
  display: inline-block; min-height: 24px;   /* line-height already gives 24px; padding would offset the text rhythm */
}

/* Set by the motion layer once the page has moved off the top. The bar
   lifts off the page instead of sitting flat on it; kept to shadow and
   background so no transform the header already owns is contested. */
.is-scrolled .hdr {
  box-shadow: 0 6px 22px rgba(3, 30, 36, .10);
  transition: box-shadow .35s var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════════════
   TOUCH INTERACTION MODEL
   A touch screen has no hover, but it still MATCHES :hover on tap and
   then latches there until the next tap elsewhere. Every lift, shift
   and zoom below was written for a cursor; on a phone they fired on
   tap and stayed applied, so cards sat 10px off their own grid and
   footer links hung 4px to the right of the column for the rest of the
   session. Hover is withdrawn here and replaced with a press response,
   which is the feedback a finger actually expects.
   ═══════════════════════════════════════════════════════════════════ */
@media (hover: none) {
  /* — cards keep their place — */
  .scard.is-in:hover,
  .rcard.is-in:hover              { transform: translate3d(0, 0, 0); box-shadow: none; }
  .rcard--center.is-in:hover      { box-shadow: 0 12px 30px rgba(3,81,93,.14); }
  .scard:hover .scard__media img,
  .crafted__frame:hover .crafted__img,
  .mega__img:hover                { transform: none; }
  .scard:hover .scard__name       { color: var(--white); }
  .feature:hover .feature__icon   { transform: none; }

  /* — links stay in their column — */
  .mega__list a:hover,
  .dropdown__list a:hover,
  .ftr__list a:hover              { transform: none; }

  /* — controls stay on their baseline — */
  .btn-gold.is-in:hover,
  .btn-gold.anim-done:hover,
  .btn-outline.is-in:hover,
  .to-top:hover,
  .enq-fab:hover,
  .soc:hover,
  .search__btn:hover,
  .cnav:hover                     { transform: none; }
  .cnav:hover                     { transform: translateY(-50%); }
  .enq-add--card:hover            { transform: none; background: rgba(255,255,255,.86); }

  /* — press feedback: a short, shallow settle under the finger —
       transform only, so it composites and cannot shift the layout */
  /* `.is-in` guards match the rest of the file: a press must never
     override the transform a not-yet-revealed element is holding */
  .scard.is-in:active,
  .rcard.is-in:active,
  .tile.is-in:active              { transform: scale(.985); }
  .btn-gold.is-in:active,
  .btn-gold.anim-done:active,
  .btn-outline:active,
  .btn-enquire:active,
  .collections__viewall:active    { transform: scale(.97); }
  .soc:active,
  .search__btn:active,
  .enq-add--card:active,
  .to-top:active,
  .enq-fab:active                 { transform: scale(.92); }
  .scard, .rcard, .tile, .soc, .search__btn, .enq-add--card,
  .btn-enquire, .collections__viewall {
    transition: transform .13s var(--ease-out), box-shadow .3s var(--ease-out),
                background .3s var(--ease-out), color .3s var(--ease-out);
  }
}

/* ── Light reflection on the photography ────────────────────────────
   A single soft band travels across the piece once per hover, the way
   a display-case light crosses gold when you lean in. Cursor devices
   only: it is a hover flourish, and on a phone it would either never
   run or run stuck. Pure transform on a pseudo-element, so it stays on
   the compositor and never touches layout. */
@media (hover: hover) and (pointer: fine) {
  .ccard::after,
  .scard__media::after {
    content: ''; position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    background: linear-gradient(104deg,
        rgba(255,255,255,0)   42%,
        rgba(255,246,224,.34) 50%,
        rgba(255,255,255,0)   58%);
    transform: translateX(-130%);
    transition: transform .85s var(--ease-soft);
  }
  .ccard:hover::after,
  .scard:hover .scard__media::after { transform: translateX(130%); }
  /* the bar is the card's label, not part of the photograph */
  .ccard::after { bottom: 50px; }
}

/* Ambient loops (button shimmer, hero gold shift, the floating rings)
   are decorative and run `infinite`. app.js drops this class on them
   while their element is off-screen, so an idle phone is not holding
   three compositor animations awake behind the fold.

   Deliberately narrow: the shimmer lives on .btn-gold::after, while the
   button ITSELF may be mid-intro (.hero__cta runs `riseIn`). Pausing the
   element wholesale would freeze that intro half-played, so only the
   pseudo-element is paused for buttons, and only the two elements whose
   own animation is the ambient one are paused directly. */
.amb-idle::after                { animation-play-state: paused !important; }
.hero__title em.amb-idle,
.story__img.amb-idle            { animation-play-state: paused !important; }

/* ═══════════ HERO "EXPLORE OUR COLLECTIONS" BUTTON ═══════════
   Just the button: the soft gold glow that sat behind it (resting and on
   hover) read as a blur, so it is gone, and so is the hover lift. A tap
   or click shrinks the button under the finger and it springs back on
   release. Declared last and with the anim-done / :active pairs so it
   outranks every earlier .btn-gold hover and press rule. */
.hero__cta,
.hero__cta:hover,
.hero__cta.anim-done:hover,
.hero__cta.is-in:hover { box-shadow: none; }
.hero__cta.anim-done:hover { transform: none; }
.hero__cta.anim-done {
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
}
.hero__cta.anim-done:active {
  transform: scale(.92);
  transition-duration: .1s;
  transition-timing-function: ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .hero__cta.anim-done:active { transform: scale(.96); }
}
