/*
Theme Name: Whit3 Crate
Theme URI: https://whit3crate.com
Author: Whit3 Crate
Description: Editorial showcase theme for luxury watch models: Rolex, Patek Philippe, Audemars Piguet, Vacheron Constantin, Richard Mille, Cartier and Omega, each with its own palette. Cinematic hero stage, scroll reveals, card hover, 3D tilt; respects prefers-reduced-motion.
Version: 4.2.3
Requires at least: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: whit3crate
*/

:root {
  --paper: #f4f2ed;
  --tile: #eeece7;            /* matches the product-image background */
  --ink: #1b1b1a;
  --ink-2: #6a655d;
  --line: rgba(27, 27, 26, .14);
  --rolex: #00603a;
  --rolex-deep: #0b3d29;
  --gold: #a7843f;
  --carbon: #0f0f10;
  --carbon-2: #18181a;
  --rm-red: #e2231a;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --rule: var(--line);
  --accent: var(--ink);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tech: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --head: var(--serif);

  --gutter: clamp(1.25rem, 3.5vw, 2.75rem);
  --maxw: 1280px;
  --sp: clamp(3rem, 6vw, 5rem);
}
body.brand-rolex { --accent: var(--rolex); }
body.brand-rm {
  --bg: var(--carbon); --fg: #ececea; --fg-2: #9a9893; --rule: rgba(255, 255, 255, .12);
  --accent: var(--rm-red); --head: var(--tech);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
h1, h2, h3, .wordmark { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 500; line-height: 1.1; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: .75rem; left: .75rem; z-index: 99; background: #fff; color: #000; padding: .5rem .9rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--sp) 0; }

.kicker { margin: 0 0 .9rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.h-display { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em; font-weight: 400; }
.h-page { font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -.015em; font-weight: 400; }
.h-section { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 1.75rem; }
body.brand-rm .h-page, body.brand-rm .h-section { letter-spacing: -.02em; }

.btn {
  display: inline-block; padding: .8rem 1.4rem; border: 1px solid currentColor; border-radius: 2px;
  font: 500 .85rem/1 var(--sans); text-decoration: none; color: var(--fg);
}

/* ---------- header ---------- */
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font: 500 1.2rem/1 var(--serif); letter-spacing: 0; text-decoration: none; }
body.brand-rm .site-header .wordmark { font-family: var(--serif); }
.site-nav .menu { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.site-nav a { font-size: .9rem; text-decoration: none; color: var(--fg-2); padding: .3rem 0; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--fg); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { border-bottom: 1px solid var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); color: var(--fg); font: 500 .8rem/1 var(--sans); padding: .55rem .8rem; border-radius: 2px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
  .nav-open .site-nav { display: block; }
  .site-nav .menu { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .site-nav a { display: block; padding: .7rem 0; font-size: 1rem; border: 0 !important; }
}

.photo-credit { font-size: .78rem; color: var(--fg-2); padding: .9rem 0 0; }

/* ---------- home: collections ---------- */
.collections { display: grid; grid-template-columns: 1fr 1fr; }
.collection { padding: var(--sp) var(--gutter); }
.collection--rolex { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.collection--richard-mille { background: var(--carbon); color: #ececea; --fg-2: #9a9893; --rule: rgba(255,255,255,.12); }
.collection__head { margin-bottom: 2rem; }
.collection__head .draw-line { margin-bottom: 1rem; }
.collection__title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.collection__title a { text-decoration: none; }
.collection--rolex .collection__title { color: var(--rolex); }
.collection--richard-mille .collection__title { font-family: var(--tech); letter-spacing: -.02em; }
.collection__note { color: var(--fg-2); margin: .5rem 0 0; font-size: .95rem; }
.collection__more { margin: 2rem 0 0; }
.collection__more a { font-size: .9rem; font-weight: 500; }
.collection .grid { max-width: 620px; }
.collection--rolex .grid { margin-left: auto; }
.collection--rolex .collection__head, .collection--rolex .collection__more { max-width: 620px; margin-left: auto; }
.collection--richard-mille .collection__head, .collection--richard-mille .collection__more { max-width: 620px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 2rem 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card__link { display: block; text-decoration: none; }
.card__media { background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-size: 1.15rem; font-weight: 400; margin: .8rem 0 .2rem; }
.card.brand-richard-mille .card__title { font-family: var(--tech); font-size: 1.02rem; letter-spacing: -.01em; }
.card__line { font-size: .84rem; color: var(--fg-2); margin: 0; }



/* ---------- home: strip ---------- */
.strip { border-top: 1px solid var(--line); padding: 2.5rem 0; }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.strip p { margin: 0; max-width: 40rem; color: var(--ink-2); }

/* ---------- collection pages ---------- */
.page-intro { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.page-intro__grid { --intro-rule: var(--rule); --intro-w: 1px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 2.5rem; background: linear-gradient(var(--intro-rule), var(--intro-rule)) 50% 100% / calc(100% - 2 * var(--gutter)) var(--intro-w) no-repeat; }
.page-intro__tag { margin: 1rem 0 0; color: var(--fg-2); }
.page-intro__text { color: var(--fg); padding-top: .4rem; }
body.brand-rolex .h-page { color: var(--rolex); }
body.brand-rolex .page-intro__grid { --intro-rule: var(--gold); }
body.brand-rm .page-intro__grid { --intro-rule: var(--rm-red); --intro-w: 2px; }
.section--grid { padding-top: 2.5rem; }
.page-intro--plain { padding-bottom: 0; }
.page-intro--plain .h-page { padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.section--page { padding-top: 2rem; }

/* ---------- product ---------- */
.product { padding: clamp(2rem, 4vw, 3.5rem) 0 var(--sp); }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.product__media { position: sticky; top: 88px; }
.crumbs { font-size: .85rem; margin: 0 0 .75rem; }
.crumbs a { color: var(--accent); text-decoration: none; }
.product__title { margin-bottom: 1rem; }
.product__lead { font-size: 1.1rem; color: var(--fg); margin-bottom: 1.5rem; }
.prose { max-width: 40rem; }
.prose p { color: var(--fg); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 500; color: var(--fg-2); }
.product .prose p { color: var(--fg-2); }
.specs { margin: 2rem 0 1.75rem; border-top: 1px solid var(--rule); }
.specs__row { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.specs dt { color: var(--fg-2); }
.specs dd { margin: 0; }
.product__actions { margin: 0; }
.section--more { border-top: 1px solid var(--rule); }

/* ---------- form ---------- */
.contact-form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .35rem; }
.field span { font-size: .85rem; color: var(--fg-2); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .75rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; font: 400 1rem/1.4 var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { justify-self: start; background: none; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: .8rem 1rem; border-left: 3px solid var(--rolex); background: var(--tile); margin-bottom: 1rem; }
.form-notice.is-err { border-color: var(--rm-red); }

/* ---------- footer ---------- */
.site-footer { background: #111112; color: #c9c6bf; padding: 3rem 0 2rem; font-size: .88rem; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .wordmark { color: #f1efea; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: #c9c6bf; }
.footer-links a:hover { color: #fff; }
.site-footer__legal { padding-top: 1.5rem; color: #85827c; font-size: .78rem; line-height: 1.6; max-width: 60rem; }
.site-footer__legal p { margin: 0 0 .5rem; }
.site-footer__legal a { color: #b5b2ab; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .product__grid, .page-intro__grid, .collections { grid-template-columns: 1fr; }
  .collection .grid, .collection--rolex .collection__head, .collection--rolex .collection__more, .collection--richard-mille .collection__head, .collection--richard-mille .collection__more { max-width: none; margin-left: 0; }
  .product__media { position: static; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid { gap: 1.5rem .9rem; }
  .card__title { font-size: 1.05rem; }
  .card.brand-richard-mille .card__title { font-size: .92rem; }
  .card__line { font-size: .78rem; }
  .strip__inner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .specs__row { grid-template-columns: 1fr; gap: .1rem; }
}

/* =====================================================================
   v3 — motion and stage layer
   Everything below animates transform / opacity only (plus a few
   one-off colour transitions). Reduced-motion users get static pages.
   ===================================================================== */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --cream: #f1efea;
  --gold-hi: #d6b878;
  --stage: #0b0b0c;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- page-load curtain ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--bg); transform: translate3d(0, -100%, 0);
  animation: curtainUp .75s var(--ease-io) both;
}
body.has-hero::before { background: var(--stage); }
body.has-hero.brand-rolex::before { background: #062418; }
body.is-leaving::before { animation: curtainIn .38s var(--ease-io) both; }
@keyframes curtainUp { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -100%, 0); } }
@keyframes curtainIn { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }

/* ---------- header: sticky, blurs on scroll, hides going down ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--rule);
  transition: transform .5s var(--ease), background-color .4s ease, border-color .4s ease;
}
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
body.admin-bar .site-header { top: 32px; }
body.has-hero .site-header {
  position: fixed; left: 0; right: 0;
  --fg: var(--cream); --fg-2: rgba(241, 239, 234, .68); --rule: rgba(255, 255, 255, .12);
  color: var(--fg); background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.has-hero .site-header.is-scrolled {
  background: rgba(11, 11, 12, .72); border-bottom-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
body.has-hero.brand-rolex .site-header.is-scrolled { background: rgba(6, 36, 24, .8); }
body.has-hero .site-header .wordmark { color: var(--cream); }
body.has-hero.brand-rolex .site-nav .current-menu-item > a, body.has-hero.brand-rolex .site-nav .current_page_item > a { border-bottom-color: var(--gold-hi); }
.site-nav a { position: relative; transition: color .3s ease; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left;
}
body.home .scroll-progress { background: linear-gradient(90deg, var(--gold-hi), var(--rm-red)); }
body.brand-rolex .scroll-progress { background: var(--gold); }
@media (max-width: 760px) {
  body.has-hero .site-nav { background: rgba(11, 11, 12, .96); }
  body.has-hero.brand-rolex .site-nav { background: rgba(6, 36, 24, .97); }
  .site-nav a::after { display: none; }
}

/* ---------- text entrances ---------- */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; transform: translate3d(0, 108%, 0); animation: lineUp 1.1s var(--ease) var(--d, 0s) forwards; }
.split-in { opacity: 0; transform: translate3d(0, 18px, 0); animation: fadeUp 1s var(--ease) var(--d, 0s) forwards; }
@keyframes lineUp { to { transform: translate3d(0, 0, 0); } }
@keyframes fadeUp { to { opacity: 1; transform: translate3d(0, 0, 0); } }

/* ---------- scroll reveals (IntersectionObserver adds .is-in) ---------- */
.js .reveal {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* lines that draw themselves */
.draw-line { display: block; height: 2px; width: 100%; background: var(--line-c, var(--gold)); transform: scaleX(0); transform-origin: left; position: relative; overflow: hidden; }
.reveal.is-in .draw-line, html:not(.js) .draw-line { transform: scaleX(1); transition: transform 1.3s var(--ease-io) calc(var(--rd, 0s) + .15s); }
.draw-line--load { animation: drawX 1.3s var(--ease-io) .35s forwards; margin: 1.1rem 0 1.25rem; max-width: 7rem; }
@keyframes drawX { to { transform: scaleX(1); } }
.collection--richard-mille .draw-line, body.brand-rm .draw-line { --line-c: var(--rm-red); }
/* RM: a bright pulse runs along the red line */
.collection--richard-mille .draw-line::after, body.brand-rm .draw-line::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 180, .95), transparent);
  transform: translate3d(-110%, 0, 0); animation: scan 3.6s var(--ease-io) 1.6s infinite;
}
@keyframes scan { 0% { transform: translate3d(-110%, 0, 0); } 55%, 100% { transform: translate3d(360%, 0, 0); } }

/* ---------- buttons and links ---------- */
.btn { position: relative; overflow: hidden; z-index: 0; transition: color .45s var(--ease), border-color .45s; }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fg);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-io);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }
.link-arrow { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.crumbs a span { display: inline-block; transition: transform .45s var(--ease); }
.crumbs a:hover span { transform: translateX(-5px); }

/* ---------- cards ---------- */
.card__media { position: relative; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card__media img { transform: scale(1.12); transition: transform 1.6s var(--ease), opacity .6s ease; }
html:not(.js) .card__media img, .card.is-in .card__media img { transform: scale(1); }
.card__link:hover .card__media img { transform: scale(1.065); transition-duration: 1s; }
.card__link:hover .card__media { transform: translate3d(0, -6px, 0); box-shadow: 0 34px 50px -30px rgba(0, 0, 0, .5); }
.card.brand-richard-mille .card__link:hover .card__media { box-shadow: 0 34px 60px -30px rgba(226, 35, 26, .55); }
.card.brand-rolex .card__link:hover .card__media { box-shadow: 0 34px 60px -30px rgba(0, 70, 42, .55); }
.card__media::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io);
}
.card.brand-richard-mille .card__media::before { background: var(--rm-red); }
.card__link:hover .card__media::before { transform: scaleX(1); }
.card__media::after { /* pointer spotlight; --mx/--my set by JS on fine pointers */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .55), transparent 45%);
  mix-blend-mode: soft-light;
}
.card__link:hover .card__media::after { opacity: 1; }
.card__title { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.card__arrow { flex: none; opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .45s ease, transform .55s var(--ease); color: var(--gold); }
.card.brand-richard-mille .card__arrow { color: var(--rm-red); }
.card__link:hover .card__arrow { opacity: 1; transform: none; }
.js img.fade { opacity: 0; }
.js img.fade.is-loaded { opacity: 1; }

/* ---------- glows, beams, floors (shared by home stage + brand heroes) ---------- */
.glow {
  position: absolute; left: 50%; top: 46%; width: min(118%, 900px); aspect-ratio: 1; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0); pointer-events: none; transition: opacity 1.4s ease;
  animation: breathe 8s ease-in-out infinite alternate;
}
.glow--rolex { background: radial-gradient(closest-side, rgba(28, 140, 90, .55), rgba(0, 96, 58, .28) 45%, rgba(167, 132, 63, .08) 68%, transparent 100%); }
.glow--richard-mille { background: radial-gradient(closest-side, rgba(226, 35, 26, .42), rgba(150, 20, 14, .2) 48%, transparent 100%); }
@keyframes breathe { from { transform: translate3d(-50%, -50%, 0) scale(.92); } to { transform: translate3d(-50%, -50%, 0) scale(1.08); } }
.stage__beam {
  position: absolute; left: 50%; top: -30%; width: 70%; height: 120%; pointer-events: none;
  transform: translateX(-50%); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 60%, transparent 85%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); opacity: .7;
}
.stage__floor {
  position: absolute; left: 50%; bottom: 2%; width: 56%; height: 34px; border-radius: 50%; pointer-events: none;
  transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent);
}
.stage__intro { display: block; position: relative; height: 100%; animation: stageIn 1.6s var(--ease) .25s both; }
@keyframes stageIn { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(.94); } }
.stage__float { display: block; position: relative; height: 100%; animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translate3d(0, 6px, 0) rotate(-1.2deg); } to { transform: translate3d(0, -14px, 0) rotate(1.2deg); } }
.stage__media img, .brand-hero__media img { filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .55)); }

/* ---------- home stage ---------- */
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 88px 0 0; background: radial-gradient(120% 90% at 70% 40%, #17171a 0%, var(--stage) 55%, #060607 100%); color: var(--cream);
  --fg: var(--cream); --fg-2: rgba(241, 239, 234, .64);
}
.stage__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage__grain { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage__grid { position: relative; width: 100%; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(1rem, 4vw, 4rem); align-items: center; flex: 1; }
.stage__text { position: relative; z-index: 2; max-width: 42rem; }
.stage .kicker { color: var(--gold-hi); letter-spacing: .14em; }
.stage__title { font: 400 clamp(2.9rem, 5.5vw, 5.3rem)/.98 var(--serif); letter-spacing: -.025em; margin: 0; }
.stage__title em { font-style: italic; color: rgba(241, 239, 234, .72); }
.stage__sub { color: var(--fg-2); font-size: 1.05rem; max-width: 30rem; margin: 1.6rem 0 2rem; }
.stage__links { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.pill {
  position: relative; overflow: hidden; z-index: 0; display: inline-flex; align-items: center; gap: .65rem;
  padding: .9rem 1.45rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font: 500 .9rem/1 var(--sans); text-decoration: none; color: var(--cream); transition: border-color .5s ease;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pill, #fff); flex: none; transition: transform .5s var(--ease); }
.pill::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pill-bg, #fff);
  transform: translate3d(-101%, 0, 0); transition: transform .6s var(--ease-io);
}
.pill:hover { border-color: transparent; }
.pill:hover::after { transform: none; }
.pill:hover::before { transform: scale(1.6); }
.pill--rolex { --pill: var(--gold-hi); --pill-bg: var(--rolex); }
.pill--rm { --pill: var(--rm-red); --pill-bg: #2a0d0b; }
.stage__media { position: relative; height: min(74vh, 720px); min-height: 360px; will-change: transform; }
.stage__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate3d(0, 30px, 0) scale(.9); pointer-events: none;
  transition: opacity 1.1s ease, transform 1.5s var(--ease);
}
.stage__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage__slide.is-leaving { opacity: 0; transform: translate3d(0, -24px, 0) scale(1.06); transition: opacity .8s ease, transform 1.1s var(--ease); }
.stage__slide img { max-height: 92%; width: auto; max-width: 92%; object-fit: contain; }
.stage .glow { opacity: 0; }
.stage__foot { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1.6rem; }
.stage__caption { margin: 0; font-size: .82rem; color: var(--fg-2); transition: opacity .45s ease, transform .45s var(--ease); min-height: 1.4em; }
.stage__caption.is-swap { opacity: 0; transform: translate3d(0, 8px, 0); }
.stage__brand { color: var(--gold-hi); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-right: .4rem; }
.stage.is-rm .stage__brand { color: var(--rm-red); }
.stage__name { color: var(--cream); }
.stage__ref { margin-left: .4rem; font-family: var(--tech); opacity: .6; }
.stage__dots { display: flex; gap: .45rem; }
.stage__dot { background: none; border: 0; padding: .8rem 0; cursor: pointer; width: 34px; }
.stage__dot i { display: block; position: relative; height: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.stage__dot i::after { content: ""; position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.stage__dot.is-done i::after { transform: scaleX(1); }
.stage__dot.is-active i::after { animation: dotFill var(--dur, 6s) linear forwards; }
.stage.is-paused .stage__dot.is-active i::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.stage__scroll { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); display: inline-flex; align-items: center; gap: .7rem; }
.stage__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--cream), transparent); transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee of references ---------- */
.marquee {
  overflow: hidden; background: #0b0b0c; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 1.15rem 0; position: relative; --mq-bg: #0b0b0c;
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--mq-bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--mq-bg), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; white-space: nowrap; font: 500 clamp(1.15rem, 2.2vw, 1.9rem)/1 var(--tech); letter-spacing: .01em; color: rgba(241, 239, 234, .17); }
.marquee__item--rolex { font-family: var(--serif); font-weight: 400; color: rgba(214, 184, 120, .26); }
.marquee__item::after { content: ""; width: 5px; height: 5px; margin: 0 2.6rem; border-radius: 50%; background: rgba(241, 239, 234, .18); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
body.brand-rolex .marquee { --mq-bg: #062418; background: #062418; border-color: rgba(214, 184, 120, .12); }

/* ---------- home: brand panels ---------- */
.collection { position: relative; overflow: hidden; }
.collection--rolex {
  background: radial-gradient(110% 70% at 100% 0%, #0f5a3b 0%, var(--rolex-deep) 42%, #062418 100%);
  color: #efe9dc; --fg-2: rgba(239, 233, 220, .62); --rule: rgba(214, 184, 120, .22); border-top: 0;
}
.collection--rolex .collection__title { color: var(--gold-hi); }
.collection--rolex .card__line { color: rgba(239, 233, 220, .58); }
.collection--rolex .card__arrow { color: var(--gold-hi); }
.collection--rolex .card__media::before { background: var(--gold-hi); }
.collection--rolex .collection__more a, .collection--richard-mille .collection__more a { color: inherit; }
/* carbon fibre weave */
.carbon, .collection--richard-mille, .brand-hero--richard-mille {
  background-color: #111112;
  background-image:
    radial-gradient(120% 90% at 0% 0%, rgba(226, 35, 26, .10), transparent 50%),
    linear-gradient(27deg, #151516 5px, transparent 5px),
    linear-gradient(207deg, #151516 5px, transparent 5px),
    linear-gradient(27deg, #19191a 5px, transparent 5px),
    linear-gradient(207deg, #19191a 5px, transparent 5px),
    linear-gradient(90deg, #121213 10px, transparent 10px),
    linear-gradient(#141415 25%, #101011 25%, #101011 50%, transparent 50%, transparent 75%, #171718 75%, #171718);
  background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
}
.collection--richard-mille .card__media, .collection--rolex .card__media { box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .6); }
.strip { background: var(--stage); color: var(--cream); border-top: 1px solid rgba(255, 255, 255, .06); --fg: var(--cream); --bg: var(--stage); }
.strip p { color: rgba(241, 239, 234, .66); }

/* ---------- brand hero (collection pages) ---------- */
.brand-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--cream);
  --fg: var(--cream); --fg-2: rgba(241, 239, 234, .66);
  min-height: min(92vh, 860px); display: flex; align-items: center;
  padding: calc(64px + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2rem, 4vw, 3rem);
}
.brand-hero--rolex { background: radial-gradient(90% 100% at 78% 45%, #12643f 0%, var(--rolex-deep) 42%, #052016 100%); }
.brand-hero__grid { width: 100%; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.brand-hero .kicker { color: var(--gold-hi); letter-spacing: .14em; }
.brand-hero--richard-mille .kicker { color: var(--rm-red); }
body.brand-rolex .brand-hero .h-page, .brand-hero .h-page { color: var(--cream); font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; }
.brand-hero--richard-mille .h-page { letter-spacing: -.035em; }
.brand-hero .page-intro__tag { color: var(--cream); font-size: 1.1rem; margin: 0 0 1.25rem; }
.brand-hero .page-intro__text p { color: rgba(241, 239, 234, .72); }
.brand-hero .prose a { color: var(--gold-hi); }
.brand-hero--richard-mille .prose a { color: #ff5a4f; }
.brand-hero .draw-line--load { --line-c: var(--gold-hi); }
.brand-hero--richard-mille .draw-line--load { --line-c: var(--rm-red); }
.brand-hero__media { position: relative; display: block; height: min(66vh, 620px); min-height: 340px; text-decoration: none; }
.brand-hero__media img { height: 88%; width: auto; max-width: 92%; object-fit: contain; margin: 4% auto 0; }
.brand-hero__cap { position: absolute; left: 0; right: 0; bottom: -.5rem; text-align: center; font-size: .78rem; color: var(--fg-2); letter-spacing: .04em; }
.brand-hero__media:hover .brand-hero__cap { color: var(--cream); }
body.brand-rolex .section--grid { background: var(--paper); }

/* ---------- product page ---------- */
.tilt { perspective: 1100px; }
.tilt__inner { position: relative; display: block; transform-style: preserve-3d; transition: transform .8s var(--ease), box-shadow .8s var(--ease); animation: productIn 1.4s var(--ease) .1s both; }
@keyframes productIn { from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.97); } }
.tilt.is-active .tilt__inner { transition: transform .15s linear, box-shadow .4s ease; }
.tilt__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .7), transparent 55%);
}
.tilt.is-active .tilt__glare { opacity: 1; }
body.brand-rolex .tilt__inner { box-shadow: 0 50px 80px -50px rgba(0, 70, 42, .55); }
body.brand-rm .tilt__inner { box-shadow: 0 50px 90px -45px rgba(226, 35, 26, .45); }
body.brand-rm .product { background: radial-gradient(60% 70% at 25% 35%, rgba(226, 35, 26, .10), transparent 70%); }
body.brand-rolex .product { background: radial-gradient(60% 70% at 25% 35%, rgba(0, 96, 58, .07), transparent 70%); }
.product__title { margin-bottom: 0; }
.product .draw-line--load { --line-c: var(--gold); }
.specs { border-top: 0; }
.specs__row { position: relative; border-bottom: 0; }
.specs__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io) calc(var(--rd, 0s) + .1s); }
.specs::before { content: ""; display: block; height: 1px; background: var(--rule); }
.specs__row.is-in::after, html:not(.js) .specs__row::after { transform: scaleX(1); }
.specs__row dt { transition: color .3s ease; }
.specs__row:hover dt { color: var(--accent); }
body.brand-rolex .specs__row:hover dt { color: var(--gold); }
.count { font-variant-numeric: tabular-nums; }

/* ---------- responsive (v3) ---------- */
@media (max-width: 900px) {
  .stage { padding-top: 72px; justify-content: flex-start; }
  .stage__grid { grid-template-columns: 1fr; gap: .5rem; align-content: start; }
  .stage__media { order: -1; height: 44svh; min-height: 300px; }
  .stage__title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .stage__sub { font-size: .98rem; margin: 1.1rem 0 1.4rem; }
  .stage__scroll { display: none; }
  .brand-hero { min-height: 0; }
  .brand-hero__grid { grid-template-columns: 1fr; }
  .brand-hero__media { order: -1; height: 46svh; min-height: 300px; }
  .collection { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 640px) {
  .stage__foot { flex-wrap: wrap; gap: .5rem 1rem; }
  .stage__caption { width: 100%; }
  .card__arrow { display: none; }
  .marquee { padding: .85rem 0; }
}

/* ---------- reduced motion: everything lands in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  body::before { display: none; }
  .marquee__track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card__media img { transform: none !important; }
}
.section--page .wrap.prose { max-width: 760px; }

/* =====================================================================
   v4 — seven houses. Rolex and Richard Mille keep their v3 rules above;
   the five newer brands share one set of rules driven by a palette
   (.bx + .bx--slug custom properties).
   ===================================================================== */
.bx--patek-philippe { --bx-deep: #0f1d33; --bx-mid: #20375d; --bx-deepest: #070e1a; --bx-acc: #a8854a; --bx-acc-hi: #e0c58e; --bx-glow: 74 120 196; --bx-paper: #f4f1ea; --bx-ink: #13233d; --bx-head: var(--serif); }
.bx--audemars-piguet { --bx-deep: #182029; --bx-mid: #2d4157; --bx-deepest: #0b0f14; --bx-acc: #5d84aa; --bx-acc-hi: #a9c4de; --bx-glow: 96 142 190; --bx-paper: #eef0f1; --bx-ink: #18222d; --bx-head: var(--sans); }
.bx--vacheron-constantin { --bx-deep: #3a1421; --bx-mid: #642538; --bx-deepest: #1c0910; --bx-acc: #a8864c; --bx-acc-hi: #dcc28c; --bx-glow: 176 64 86; --bx-paper: #f5f0ea; --bx-ink: #4a1828; --bx-head: var(--serif); }
.bx--cartier { --bx-deep: #5a0f17; --bx-mid: #8f1e29; --bx-deepest: #2b0509; --bx-acc: #b08a45; --bx-acc-hi: #e4c98f; --bx-glow: 210 52 62; --bx-paper: #f7f2e8; --bx-ink: #7c1620; --bx-head: var(--serif); }
.bx--omega { --bx-deep: #0a1222; --bx-mid: #173563; --bx-deepest: #04070d; --bx-acc: #d6232f; --bx-acc-hi: #ff5d68; --bx-glow: 46 108 210; --bx-paper: #0c0f15; --bx-ink: #eef1f6; --bx-head: var(--tech); }

/* page-level */
body.bx { --bg: var(--bx-paper); --accent: var(--bx-acc); --head: var(--bx-head); }
body.bx--omega { --fg: #e9ecf2; --fg-2: #98a1b0; --rule: rgba(255, 255, 255, .12); --line: rgba(255, 255, 255, .12); --tile: #eeece7; }
body.bx .h-page { color: var(--bx-ink); }
body.bx--audemars-piguet .h-page, body.bx--audemars-piguet .h-section { letter-spacing: -.03em; font-weight: 300; }
body.bx--omega .h-page { letter-spacing: -.02em; }
body.bx::before, body.has-hero.bx::before { background: var(--bx-deepest); }
body.has-hero.bx .site-header.is-scrolled { background: color-mix(in srgb, var(--bx-deep) 84%, transparent); }
body.has-hero.bx .site-nav .current-menu-item > a { border-bottom-color: var(--bx-acc-hi); }
body.bx .scroll-progress { background: var(--bx-acc); }
body.bx .section--grid { background: var(--bx-paper); }
body.bx .marquee { --mq-bg: var(--bx-deepest); background: var(--bx-deepest); border-color: rgba(255, 255, 255, .06); }
body.bx .crumbs a { color: var(--bx-acc); }
body.bx--omega .crumbs a { color: var(--bx-acc-hi); }
body.bx .product { background: radial-gradient(60% 70% at 25% 35%, rgb(var(--bx-glow) / .09), transparent 70%); }
body.bx--omega .product { background: radial-gradient(60% 70% at 25% 35%, rgb(var(--bx-glow) / .16), transparent 70%); }
body.bx .tilt__inner { box-shadow: 0 50px 80px -50px rgb(var(--bx-glow) / .6); }
body.bx .product .draw-line--load { --line-c: var(--bx-acc); }
body.bx .specs__row:hover dt { color: var(--bx-acc); }
body.bx--omega .specs__row:hover dt { color: var(--bx-acc-hi); }
body.bx--omega .btn:hover { color: #0c0f15; }
body.bx--omega .field input, body.bx--omega .field select, body.bx--omega .field textarea { border-color: transparent; }
@media (max-width: 760px) {
  body.has-hero.bx .site-nav { background: var(--bx-deepest); }
}

/* glows */
.glow.bx { background: radial-gradient(closest-side, rgb(var(--bx-glow) / .5), rgb(var(--bx-glow) / .22) 46%, rgb(var(--bx-glow) / .06) 68%, transparent 100%); }
.glow.bx--cartier { background: radial-gradient(closest-side, rgb(var(--bx-glow) / .42), rgb(150 20 30 / .2) 48%, rgb(228 201 143 / .06) 70%, transparent 100%); }
.glow.bx--patek-philippe, .glow.bx--vacheron-constantin { background: radial-gradient(closest-side, rgb(var(--bx-glow) / .46), rgb(var(--bx-glow) / .2) 46%, rgb(224 197 142 / .08) 70%, transparent 100%); }

/* brand hero */
.brand-hero.bx { background: radial-gradient(90% 100% at 78% 45%, var(--bx-mid) 0%, var(--bx-deep) 45%, var(--bx-deepest) 100%); }
.brand-hero.bx .kicker { color: var(--bx-acc-hi); }
.brand-hero.bx .prose a { color: var(--bx-acc-hi); }
.brand-hero.bx .draw-line--load { --line-c: var(--bx-acc-hi); }
.brand-hero.bx .h-page { color: var(--cream); }
.brand-hero--audemars-piguet .h-page { font-weight: 300; letter-spacing: -.04em; }
.brand-hero--omega .h-page { letter-spacing: -.035em; }
.brand-hero--omega .draw-line--load { --line-c: var(--bx-acc); }
.brand-hero--cartier { background: radial-gradient(90% 100% at 78% 45%, #9a2430 0%, var(--bx-deep) 45%, var(--bx-deepest) 100%); }
/* Audemars Piguet: slowly turning octagon behind the watch */
.octagon { position: absolute; left: 50%; top: 47%; width: min(78%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(22.5deg); pointer-events: none; fill: none; stroke: rgb(169 196 222 / .22); stroke-width: .35; animation: octa 60s linear infinite; }
.octagon polygon + polygon { stroke: rgb(169 196 222 / .1); }
@keyframes octa { to { transform: translate(-50%, -50%) rotate(382.5deg); } }

/* cards */
.card.bx .card__title { font-family: var(--bx-head); }
.card.bx--audemars-piguet .card__title { font-weight: 300; letter-spacing: -.01em; }
.card.bx--omega .card__title { font-size: 1.02rem; letter-spacing: -.01em; }
.card.bx .card__media::before { background: var(--bx-acc); }
.card.bx .card__arrow { color: var(--bx-acc); }
.card.bx--omega .card__arrow { color: var(--bx-acc-hi); }
.card.bx .card__link:hover .card__media { box-shadow: 0 34px 60px -30px rgb(var(--bx-glow) / .6); }
@media (max-width: 640px) { .card.bx--omega .card__title { font-size: .92rem; } }

/* marquee */
.marquee__item.bx { color: color-mix(in srgb, var(--bx-acc-hi) 28%, transparent); }
.marquee__item.bx--patek-philippe, .marquee__item.bx--vacheron-constantin, .marquee__item.bx--cartier { font-family: var(--serif); font-weight: 400; }
.marquee__item.bx--audemars-piguet { font-family: var(--sans); font-weight: 300; }
.marquee__item.bx--audemars-piguet::after { border-radius: 0; width: 7px; height: 7px; clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); }
.marquee__item.bx--omega { color: rgb(255 93 104 / .3); }
.marquee__track { animation-duration: var(--mq-dur, 48s); }

/* home stage: one glow per house, switched by data-b */
.stage[data-b="rolex"] .glow--rolex, .stage[data-b="richard-mille"] .glow--richard-mille,
.stage[data-b="patek-philippe"] .glow--patek-philippe, .stage[data-b="audemars-piguet"] .glow--audemars-piguet,
.stage[data-b="vacheron-constantin"] .glow--vacheron-constantin, .stage[data-b="cartier"] .glow--cartier,
.stage[data-b="omega"] .glow--omega { opacity: 1; }
.stage__brand { transition: color .6s ease; }
.stage[data-b="patek-philippe"] .stage__brand { color: #e0c58e; }
.stage[data-b="audemars-piguet"] .stage__brand { color: #a9c4de; }
.stage[data-b="vacheron-constantin"] .stage__brand { color: #dcc28c; }
.stage[data-b="cartier"] .stage__brand { color: #ff6b74; }
.stage[data-b="omega"] .stage__brand { color: #ff5d68; }
.pill--plain { --pill: var(--gold-hi); --pill-bg: #f1efea; }
.pill--plain:hover { color: #111; }
.pill--plain span, .pill--ghost span { position: relative; transition: color .5s ease; }
.pill--ghost { --pill: rgba(241, 239, 234, .5); --pill-bg: #26262a; }

/* home: brand index */
.bi { background: #0b0b0c; color: var(--cream); padding: var(--sp) 0; --fg: var(--cream); --fg-2: rgba(241, 239, 234, .6); }
.bi__head { max-width: 40rem; margin-bottom: 2.5rem; }
.bi__head .draw-line { max-width: 6rem; margin-bottom: 1.4rem; --line-c: var(--gold-hi); }
.bi .kicker { color: var(--gold-hi); letter-spacing: .14em; }
.bi__title { font: 400 clamp(2.2rem, 4.2vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 .9rem; }
.bi__lede { color: var(--fg-2); margin: 0; }
.bi__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row dense; gap: 1rem; }
.bi__panel {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: stretch; min-height: 440px;
  border-radius: 3px; text-decoration: none; color: var(--cream);
  background: radial-gradient(110% 90% at 85% 40%, var(--bx-mid, #1d1d20) 0%, var(--bx-deep, #141416) 48%, var(--bx-deepest, #0b0b0c) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.bi--rolex { grid-column: span 2; background: radial-gradient(100% 110% at 85% 30%, #12643f 0%, var(--rolex-deep) 44%, #052016 100%); }
.bi--richard-mille { grid-column: span 2; }
/* Six houses: Rolex + Patek, three singles, then Richard Mille across the full row (no empty cell). */
@media (min-width: 1001px) { .bi__grid--n6 .bi--richard-mille { grid-column: 1 / -1; } }
.bi--cartier { background: radial-gradient(110% 90% at 85% 40%, #9a2430 0%, var(--bx-deep) 48%, var(--bx-deepest) 100%); }
.bi__panel.bi--richard-mille {
  background-color: #111112;
  background-image: radial-gradient(90% 120% at 85% 50%, rgba(226, 35, 26, .18), transparent 60%), linear-gradient(27deg, #151516 5px, transparent 5px), linear-gradient(207deg, #151516 5px, transparent 5px), linear-gradient(27deg, #19191a 5px, transparent 5px), linear-gradient(207deg, #19191a 5px, transparent 5px), linear-gradient(90deg, #121213 10px, transparent 10px), linear-gradient(#141415 25%, #101011 25%, #101011 50%, transparent 50%, transparent 75%, #171718 75%, #171718);
  background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
}
.bi__glow { position: absolute; right: -10%; top: 50%; width: 80%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%) scale(.9); z-index: -1; opacity: .55; transition: opacity .8s ease, transform 1.2s var(--ease);
  background: radial-gradient(closest-side, rgb(var(--bx-glow, 214 184 120) / .45), transparent 100%); }
.bi--rolex .bi__glow { background: radial-gradient(closest-side, rgba(28, 140, 90, .5), transparent 100%); right: 0; width: 50%; }
.bi--richard-mille .bi__glow { background: radial-gradient(closest-side, rgba(226, 35, 26, .35), transparent 100%); right: 0; width: 50%; }
.bi__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem 1.6rem 1.5rem; flex: 1; min-width: 0; }
.bi__note { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-acc-hi, var(--gold-hi)); margin-bottom: .55rem; }
.bi--richard-mille .bi__note { color: #ff5a4f; }
.bi__name { font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1.02 var(--bx-head, var(--serif)); letter-spacing: -.02em; }
.bi--richard-mille .bi__name { font-family: var(--tech); letter-spacing: -.035em; }
.bi--audemars-piguet .bi__name { font-weight: 300; letter-spacing: -.04em; }
.bi--omega .bi__name { letter-spacing: -.035em; }
.bi__count { margin-top: .8rem; font-size: .85rem; color: rgba(241, 239, 234, .62); display: inline-flex; gap: .5rem; align-items: center; }
.bi__arrow { display: inline-block; transition: transform .5s var(--ease); color: var(--bx-acc-hi, var(--gold-hi)); }
.bi__media { position: absolute; z-index: 1; left: 0; right: 0; top: 4%; bottom: 30%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.bi--rolex .bi__media, .bi--richard-mille .bi__media { left: auto; top: 0; bottom: 0; width: 44%; right: 6%; }
.bi--rolex .bi__glow, .bi--richard-mille .bi__glow { right: 3%; }
.bi__glow { top: 40%; right: 10%; }
.bi__text { max-width: 100%; }
.bi__media img { max-height: 92%; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .5)); transform: translate3d(0, 8px, 0) rotate(-3deg); transition: transform 1.2s var(--ease); }
.bi__panel:hover .bi__media img, .bi__panel:focus-visible .bi__media img { transform: translate3d(0, -6px, 0) rotate(0deg) scale(1.04); }
.bi__panel:hover .bi__glow { opacity: 1; transform: translateY(-50%) scale(1.05); }
.bi__panel:hover .bi__arrow { transform: translateX(6px); }
.bi__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: var(--bx-acc-hi, var(--gold-hi)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
.bi--richard-mille::after { background: var(--rm-red); }
.bi--omega::after { background: var(--bx-acc); }
.bi__panel:hover::after { transform: scaleX(1); }
.bi--audemars-piguet .bi__media::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgb(169 196 222 / .16); clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); background: rgb(169 196 222 / .04); }
@media (max-width: 1000px) {
  .bi__grid { grid-template-columns: repeat(2, 1fr); }
  .bi--rolex, .bi--richard-mille { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bi__grid { grid-template-columns: 1fr; gap: .75rem; }
  .bi--rolex, .bi--richard-mille { grid-column: auto; }
  .bi__panel { min-height: 240px; }
  .bi__media, .bi--rolex .bi__media, .bi--richard-mille .bi__media { left: auto; top: 0; bottom: 0; width: 46%; right: 2%; }
  .bi__glow, .bi--rolex .bi__glow, .bi--richard-mille .bi__glow { top: 50%; right: -8%; width: 70%; }
  .bi__text { padding: 1.25rem; max-width: 56%; }
  .bi__name { font-size: 1.6rem; }
}

/* ---------- nav: Brands dropdown ---------- */
.site-nav .menu { align-items: center; }
.site-nav .has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .3rem 0; margin: 0; cursor: pointer; font: 400 .9rem/1.65 var(--sans); color: var(--fg-2); transition: color .3s ease; }
.sub-toggle:hover, .has-sub.is-open .sub-toggle, .has-sub.current-menu-ancestor .sub-toggle { color: var(--fg); }
.chev { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.has-sub.is-open .chev { transform: translateY(1px) rotate(-135deg); }
.sub {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 340px; padding: .5rem; z-index: 70;
  background: rgba(14, 14, 15, .96); color: var(--cream); border: 1px solid rgba(255, 255, 255, .09); border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0; visibility: hidden; transform: translate3d(-50%, -8px, 0);
  transition: opacity .3s ease, transform .45s var(--ease), visibility 0s linear .45s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition: opacity .3s ease, transform .45s var(--ease), visibility 0s; }
.sub__list { list-style: none; margin: 0; padding: 0; }
.site-nav .sub a { display: grid; grid-template-columns: 44px 1fr; column-gap: .7rem; align-items: center; padding: .62rem .75rem; border-radius: 4px; color: rgba(241, 239, 234, .86); border: 0 !important; transition: background-color .3s ease, color .3s ease; }
.site-nav .sub a::after { display: none; }
.site-nav .sub a:hover, .site-nav .sub a:focus-visible, .site-nav .sub .current-menu-item > a { background: rgba(255, 255, 255, .07); color: #fff; }
.sub__logo { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 30px; color: var(--dot); opacity: .8; transition: opacity .3s ease, transform .45s var(--ease); }
.site-nav .sub a:hover .sub__logo, .site-nav .sub a:focus-visible .sub__logo, .site-nav .sub .current-menu-item > a .sub__logo { opacity: 1; }
.site-nav .sub a:hover .sub__logo { transform: scale(1.06); }

/* brand logos: single-colour inline SVGs, tinted through currentColor */
.logo { display: block; width: auto; height: calc(var(--lh, 22px) * var(--k, 1)); max-width: 100%; fill: currentColor; flex: none; }
.logo--omega { --k: .92; }
.logo--richard-mille { --k: .6; }
.logo--cartier { --k: .52; }
.sub__logo .logo { --lh: 22px; }
.bi__logo { position: absolute; top: 1.5rem; left: 1.6rem; display: block; color: var(--bx-acc-hi, var(--gold-hi)); opacity: .92; }
.bi__logo .logo { --lh: 34px; }
.bi--richard-mille .bi__logo { color: #ff5a4f; }
.brand-mark { display: block; margin: 0 0 1.7rem; color: var(--bx-acc-hi, var(--gold-hi)); }
.brand-mark .logo { --lh: 40px; }
.brand-hero--richard-mille .brand-mark { color: #ff5a4f; }
.sub__name { font: 400 1rem/1.25 var(--serif); }
.sub__meta { grid-column: 2; font-size: .72rem; line-height: 1.3; color: rgba(241, 239, 234, .5); letter-spacing: .02em; }
.has-sub.is-open .sub li { animation: subIn .5s var(--ease) both; }
.has-sub.is-open .sub li:nth-child(2) { animation-delay: .03s; } .has-sub.is-open .sub li:nth-child(3) { animation-delay: .06s; }
.has-sub.is-open .sub li:nth-child(4) { animation-delay: .09s; } .has-sub.is-open .sub li:nth-child(5) { animation-delay: .12s; }
.has-sub.is-open .sub li:nth-child(6) { animation-delay: .15s; } .has-sub.is-open .sub li:nth-child(7) { animation-delay: .18s; }
@keyframes subIn { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
@media (max-width: 760px) {
  .site-nav { max-height: calc(100svh - 64px); overflow-y: auto; }
  .site-nav .menu { align-items: stretch; }
  .sub-toggle { display: block; width: 100%; text-align: left; pointer-events: none; padding: .9rem 0 .3rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
  .sub-toggle .chev { display: none; }
  .sub, .has-sub.is-open .sub { position: static; width: auto; padding: 0 0 .5rem; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: inherit; transition: none; }
  .sub::before { display: none; }
  .sub__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .site-nav .sub a { padding: .55rem 0; color: var(--fg); background: none !important; }
  .sub__meta { display: none; }
  .site-nav .sub .current-menu-item > a .sub__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .site-nav .sub a { grid-template-columns: 38px 1fr; column-gap: .5rem; }
  .site-nav .sub a .sub__logo { grid-row: auto; width: 38px; height: 26px; }
  .sub__logo .logo { --lh: 20px; }
  .bi__logo { top: 1.25rem; left: 1.25rem; }
  .bi__logo .logo { --lh: 26px; }
  .brand-mark .logo { --lh: 32px; }
  .has-sub.is-open .sub li { animation: none; }
  .site-nav .menu > li:not(.has-sub) { border-top: 1px solid var(--rule); }
}

/* footer */
.footer-links--brands { gap: .5rem 1.4rem; }
.footer-links--brands a { color: #e6e3dc; }
.site-footer__sub { padding-top: 1.25rem; }
.site-footer__sub .footer-links a { color: #9d9a93; font-size: .82rem; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .octagon { animation: none; }
  .bi__media img { transform: none !important; }
}


/* =====================================================================
   v4.2 — collection filter on brand pages
   ===================================================================== */
.filter { margin: 0 0 2.2rem; }
.filter__bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__pill {
  --f-acc: var(--accent); --f-ink: var(--fg);
  appearance: none; cursor: pointer; font: 500 .84rem/1 var(--sans); letter-spacing: .01em;
  color: var(--f-ink); background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: .62rem 1rem; display: inline-flex; align-items: center; gap: .5rem;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.filter__pill:hover { border-color: var(--f-acc); transform: translate3d(0, -2px, 0); }
.filter__pill .filter__n { font-size: .72rem; opacity: .55; font-variant-numeric: tabular-nums; }
.filter__pill.is-active { background: var(--f-acc); border-color: var(--f-acc); color: #fff; }
.filter__pill.is-active .filter__n { opacity: .8; }
body.brand-rolex .filter__pill { --f-acc: var(--rolex); }
body.brand-rm .filter__pill { --f-acc: var(--rm-red); --f-ink: #ececea; }
body.bx .filter__pill { --f-acc: var(--bx-acc); --f-ink: var(--bx-ink); }
body.bx--omega .filter__pill { --f-acc: var(--bx-acc); --f-ink: #e9ecf2; }
body.bx--omega .filter__pill:hover { border-color: var(--bx-acc-hi); }
.filter__status { margin: .9rem 0 0; font-size: .8rem; color: var(--fg-2); min-height: 1.2em; }
.card[hidden] { display: none !important; }
@media (max-width: 640px) {
  .filter__bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filter__bar::-webkit-scrollbar { display: none; }
  .filter__pill { flex: none; }
}

/* image credits: one collapsible block per house */
.credits-group { border-top: 1px solid var(--rule); }
.credits-group:last-of-type { border-bottom: 1px solid var(--rule); }
.credits-group > summary { cursor: pointer; list-style: none; padding: 1rem 0; display: flex; justify-content: space-between; font: 500 1.05rem/1.2 var(--head); }
.credits-group > summary::-webkit-details-marker { display: none; }
.credits-group > summary span { margin-left: auto; color: var(--fg-2); font: 400 .85rem var(--sans); }
.credits-group > summary::after { content: "+"; margin-left: 1rem; font: 300 1.4rem/1 var(--sans); }
.credits-group[open] > summary::after { content: "–"; }
.credits-group table { margin-bottom: 1.5rem; }
