:root {
  --gold: #d4a020;
  --gold-logo: #c9a02a;
  --yellow: #f3c12f;
  --ink: #3d2a02;
  --dark: #161616;
  --line: #2b2b2b;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--dark); scrollbar-gutter: stable; }
body { font-family: var(--font); color: #fff; background: var(--dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ================= header ================= */
.site-header { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 50; opacity: 0; transform: translateY(-12px); transition: opacity .9s ease .25s, transform .9s ease .25s; }
body.ready .site-header { opacity: 1; transform: none; }
body.seq-on .site-header { opacity: 0; pointer-events: none; transition-delay: 0s; }
.burger { position: absolute; left: clamp(16px, 2.3vw, 46px); top: clamp(20px, 4.2vh, 54px); width: 52px; height: 34px; z-index: 2; }
.burger span { position: absolute; left: 0; height: 2px; background: var(--ink); transition: all .45s cubic-bezier(.7, 0, .2, 1), background .6s; }
.burger span:nth-child(1) { top: 8px; width: 48px; }
.burger span:nth-child(2) { top: 22px; width: 24px; }
.burger:hover span:nth-child(2) { width: 48px; }
body.on-dark .burger span { background: #fff; }
body.menu-open .burger span { background: #fff; top: 16px; width: 34px; }
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

.logo { position: absolute; left: 50%; top: clamp(18px, 3.8vh, 50px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); transition: color .6s ease; z-index: 2; }
body.on-dark .logo, body.menu-open .logo { color: var(--gold-logo); }
.mono { width: 18px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-name { font-weight: 600; font-size: 15px; letter-spacing: .12em; padding-left: .12em; margin-top: 3px; }
.logo-year { font-weight: 500; font-size: 9px; letter-spacing: .08em; margin-top: 3px; }

.menu { position: fixed; inset: 0; z-index: 45; background: rgba(14, 14, 14, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 34px); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
body.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu a { font-size: clamp(22px, 3vw, 46px); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, color .3s; }
.menu a:hover { color: var(--gold); }
body.menu-open .menu a { opacity: 1; transform: none; }
body.menu-open .menu a:nth-child(2) { transition-delay: .07s, .07s, 0s; }
body.menu-open .menu a:nth-child(3) { transition-delay: .14s, .14s, 0s; }
body.menu-open .menu a:nth-child(4) { transition-delay: .21s, .21s, 0s; }

/* ================= hero ================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: linear-gradient(128deg, #ffd85e 0%, #f8bf27 30%, #efad18 58%, #d8900d 82%, #a8650a 100%); color: var(--ink); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; }
.hero-bounce { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 0% 100%, rgba(255, 240, 200, .6), rgba(255, 240, 200, 0) 60%); }

/* Progressive blur, as in the design: the word is drawn in 4 stacked layers, each blurred more
   and shown only in its own horizontal band (cross-faded masks), so it runs from nearly crisp
   at the top of the letters to soft at the bottom. The colour is solid; the group opacity
   gives the faint .3 tone, so overlapping bands never darken. */
.big-word { position: absolute; left: 0; right: 0; top: 11.5%; height: min(15.5vw, 30vh); pointer-events: none; will-change: transform; color: rgb(92, 58, 0); opacity: .3; }
.bw-layer { position: absolute; inset: 0; display: flex; justify-content: space-between; padding: 0 .6%; }
.bw1 { filter: blur(1px);  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 44%); mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 44%); }
.bw2 { filter: blur(3px);  -webkit-mask-image: linear-gradient(180deg, transparent 26%, #000 44%, #000 50%, transparent 66%); mask-image: linear-gradient(180deg, transparent 26%, #000 44%, #000 50%, transparent 66%); }
.bw3 { filter: blur(6px);  -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 66%, #000 72%, transparent 86%); mask-image: linear-gradient(180deg, transparent 50%, #000 66%, #000 72%, transparent 86%); }
.bw4 { filter: blur(10px); -webkit-mask-image: linear-gradient(180deg, transparent 72%, #000 86%); mask-image: linear-gradient(180deg, transparent 72%, #000 86%); }
.big-word span { font-weight: 500; font-size: min(15.5vw, 30vh); line-height: 1; }


/* the Breitling B (assets/b-logo.png): static, no animation, 5% */
.mono-big { position: absolute; right: -3.5vw; bottom: -12vh; width: min(25vw, 48vh); pointer-events: none; }
.mono-big img { display: block; width: 100%; height: auto; opacity: .05; }

.stage { position: absolute; will-change: transform; }
.stage canvas { display: block; width: 100%; height: 100%; }
.stage-fallback { display: none; width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.no-webgl .stage canvas { display: none; }
.no-webgl .stage-fallback { display: block; }

.flare { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.flare i { position: absolute; display: block; }
.flare .core { left: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 246, 210, .85) 8%, rgba(255, 214, 120, .35) 28%, rgba(255, 200, 80, 0) 62%); }
.flare .h { left: -190px; top: -2px; width: 380px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 230, 160, 0), rgba(255, 250, 230, .95) 50%, rgba(255, 230, 160, 0)); filter: blur(1px); }
.flare .v { left: -1.5px; top: -60px; width: 3px; height: 120px; border-radius: 3px; background: linear-gradient(180deg, rgba(255, 230, 160, 0), rgba(255, 250, 230, .8) 50%, rgba(255, 230, 160, 0)); filter: blur(1px); }

.callout { position: absolute; top: 60%; pointer-events: none; will-change: transform; }
.callout-inner { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateX(-30px); transition: opacity 1.2s var(--ease) 1.3s, transform 1.2s var(--ease) 1.3s; }
body.ready .callout-inner { opacity: 1; transform: none; }
.callout p { text-align: right; font-weight: 500; font-size: max(11px, .9vw); letter-spacing: .32em; line-height: 1.65; }
.callout svg { width: max(40px, 3.2vw); overflow: visible; }
.callout path { fill: none; stroke: var(--ink); stroke-opacity: .7; stroke-width: 1; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s ease 1.9s; }
.callout circle { fill: var(--ink); opacity: 0; transition: opacity .4s ease 2.8s; }
body.ready .callout path { stroke-dashoffset: 0; }
body.ready .callout circle { opacity: .8; }

.hero-bottom { position: absolute; inset: 0; pointer-events: none; }
.explore, .tagline { position: absolute; opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.explore { left: 1.6vw; bottom: 3vh; pointer-events: auto; transition-delay: 1.5s; }
.tagline { right: 1.9vw; bottom: 3.8vh; text-align: right; color: #6a4703; transition-delay: 1.6s; }
body.ready .explore, body.ready .tagline { opacity: 1; transform: none; }
.thumbs { display: flex; align-items: flex-end; gap: 1.4vw; margin-bottom: 2.5vh; }
.thumb { position: relative; width: max(84px, 6.5vw); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .35); flex: 0 0 auto; transition: width .75s cubic-bezier(.22, .8, .2, 1); }
.thumb:hover, .thumb:focus-visible { width: max(240px, 20.5vw); }
.thumb img { position: absolute; left: 50%; top: 50%; height: 130%; }
.t1 { background: linear-gradient(135deg, #3a3a3a, #0e0e0e); }
.t1 img { transform: translate(-50%, -50%) rotate(-18deg) scale(1.5); }
.t2 { background: linear-gradient(135deg, #2a1f12, #0b0b0b); }
.t2 img { height: 150%; transform: translate(-50%, -38%) scale(1.3); }
.t3 { background: linear-gradient(180deg, #1c2330 0%, #3a4250 60%, #dfe4ea 100%); }
.t3 img { transform: translate(-50%, -50%) scale(1.15); }
.explore-link { color: #5b3e04; font-weight: 500; font-size: max(11px, .9vw); letter-spacing: .32em; border-bottom: 1px solid rgba(91, 62, 4, .6); padding-bottom: 4px; }
.since { font-weight: 500; font-size: max(11px, 1.1vw); letter-spacing: .9em; margin-right: -.9em; opacity: .8; margin-bottom: 3.5vh; }
.journey { font-weight: 600; font-size: max(18px, 2.2vw); letter-spacing: .06em; line-height: 1; }

/* ================= collection ================= */
.collection { position: relative; overflow: hidden; background: linear-gradient(112deg, #282828 0%, #1b1b1b 45%, #121212 100%); padding-top: max(110px, 20vh); }
.collection.grid-mode { padding-bottom: 120px; }
.collection-head { text-align: center; margin-bottom: max(60px, 10vh); will-change: transform; }
.collection-head h2 { color: #d8a71e; font-weight: 600; font-size: clamp(20px, 1.7vw, 36px); letter-spacing: .1em; }
.view-all { margin-top: max(16px, 1.2vw); padding-bottom: 3px; color: #fff; font-weight: 500; font-size: clamp(13px, 1.15vw, 22px); letter-spacing: .06em; border-bottom: 1px solid rgba(255, 255, 255, .8); }
.rail-wrap { border-top: 1px solid var(--line); overflow: hidden; touch-action: pan-y; cursor: grab; will-change: transform; }
.rail-wrap.dragging { cursor: grabbing; }
.rail { display: flex; width: max-content; will-change: transform; }
.grid-mode .rail-wrap { cursor: default; }
.grid-mode .rail { display: grid; width: auto; grid-template-columns: repeat(auto-fill, minmax(min(380px, 80vw), 1fr)); transform: none !important; border-left: 1px solid var(--line); }
.grid-mode .card { width: auto; border-bottom: 1px solid var(--line); }

.card { --cw: clamp(240px, 28vw, 640px); position: relative; flex: 0 0 auto; width: var(--cw); aspect-ratio: 1 / 1.43; border-right: 1px solid var(--line); overflow: hidden; user-select: none; outline: none; container-type: inline-size; }
.card-bg { position: absolute; inset: 0; background: linear-gradient(205deg, #b8730a 0%, #e4a116 30%, #f5bd2a 62%, #fbd36a 85%, #fff0c4 100%); opacity: 0; transition: opacity .55s var(--ease); }
.card-ref { position: absolute; right: 4%; top: 3.5%; font-weight: 300; font-size: max(14px, 1.45vw); letter-spacing: .35em; color: #3d3d3d; white-space: nowrap; transition: color .5s var(--ease); }
/* each photo is measured and framed like the design (vars set per image in js/site.js; cqw = % of card width) */
.card img { position: absolute; left: var(--fl, 1.4cqw); top: var(--ft, 13.6cqw); width: var(--fw, 109.5cqw); transform-origin: var(--fo, 43.8% 45.7%); transform: none; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .55)); transition: transform .8s var(--ease), filter .6s; pointer-events: none; }
.card-name { position: absolute; left: 0; right: 0; top: 84%; text-align: center; font-weight: 500; font-size: max(13px, 1.15vw); letter-spacing: .07em; line-height: 1.3; transition: all .55s var(--ease); }
.card:hover .card-bg, .card:focus-visible .card-bg { opacity: 1; }
.card:hover .card-ref, .card:focus-visible .card-ref { color: rgba(70, 45, 0, .75); }
/* hover: the watch turns ~4.3deg counter-clockwise about its own head, same size and place (measured from the design) */
.card:hover img, .card:focus-visible img { transform: rotate(-4.3deg); filter: drop-shadow(0 24px 26px rgba(90, 50, 0, .35)); }
.card:hover .card-name, .card:focus-visible .card-name { color: #6a4805; top: 86.5%; }

/* ================= product ================= */
.product { position: relative; display: flex; height: max(720px, 100vh); background: linear-gradient(112deg, #1d1d1d 0%, #171717 50%, #121212 100%); overflow: hidden; }
.gallery { position: relative; flex: 0 0 47%; height: 100%; overflow: hidden; touch-action: pan-y; }
.gallery-anchor { position: absolute; }
.gallery-slide { width: 100%; height: 100%; transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.gallery-slide.out { opacity: 0; transform: translateX(-50px); filter: blur(8px); }
.gallery-slide.in { opacity: 0; transform: translateX(50px); filter: blur(8px); transition: none; }
.gallery-slide img { display: block; width: 100%; height: 100%; transform-origin: 42.8% 43.5%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); user-select: none; }
body.seq-on .gallery-anchor { visibility: hidden; }
.arrow { position: absolute; top: calc(46.8% - 28px); padding: 8px; opacity: .8; transition: opacity .3s, transform .3s; }
.arrow:hover { opacity: 1; }
.arrow svg { width: 22px; height: 40px; fill: none; stroke: #d0d0d0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prev { left: 9%; } .prev:hover { transform: translateX(-4px); }
.next { right: 6%; } .next:hover { transform: translateX(4px); }
.progress { position: absolute; left: 8.6%; right: 8%; top: 87.3%; height: 4px; border-radius: 4px; background: #333; overflow: hidden; }
.progress-bar { width: var(--seg, 25%); height: 100%; border-radius: 4px; background: var(--yellow); transition: transform .6s var(--ease); }
.gallery .arrow, .gallery .progress { transition: opacity .5s; }
body.seq-leaving .gallery .arrow, body.seq-leaving .gallery .progress { opacity: 0; }

.details { flex: 1 1 auto; min-width: 0; padding: 17vh 3.7vw 0 0; }
.d-block { transition: transform .9s var(--ease-io), opacity .9s var(--ease-io); }
body.seq-leaving .d0 { transform: translateX(120px); opacity: 0; }
body.seq-leaving .d1 { transform: translateX(210px); opacity: 0; transition-delay: .06s; }
body.seq-leaving .d2 { transform: translateX(300px); opacity: 0; transition-delay: .18s; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.product.in-view .reveal { opacity: 1; transform: none; }
.product.in-view .reveal:nth-of-type(2) { transition-delay: .08s; }
.d1 .reveal { transition-delay: .2s !important; }
.d2 .reveal { transition-delay: .3s !important; }
.ref { color: #8d8d8d; font-size: max(11px, .8vw); letter-spacing: .35em; }
.title { margin-top: 3vh; font-weight: 600; font-size: clamp(28px, 2.6vw, 56px); line-height: 1.08; letter-spacing: .06em; }
.title.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(16px); } }
.buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 3vh; }
.btn { font-weight: 500; font-size: clamp(13px, 1.2vw, 22px); letter-spacing: .07em; padding: .95em 1.85em; transition: background .3s, transform .3s; }
.btn-gold { background: var(--yellow); color: #2a1d00; }
.btn-gold:hover { background: #ffd451; }
.btn-dark { background: #333; color: #fff; padding-inline: 1.1em; }
.btn-dark:hover { background: #444; }
.btn.wide { width: 100%; margin-top: 26px; font-size: 15px; }
.tech-title { margin-top: 9vh; color: #9c9c9c; font-weight: 600; font-size: clamp(14px, 1.3vw, 26px); letter-spacing: .08em; }
.specs { margin-top: 3vh; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #2e2e2e; border-left: 1px solid #2e2e2e; -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, .28) 100%); mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, .28) 100%); }
.specs.open { -webkit-mask-image: none; mask-image: none; }
.spec { border-right: 1px solid #2e2e2e; border-bottom: 1px solid #2e2e2e; padding: 3.4vh 1.8vw; color: #c4c4c4; font-size: clamp(13px, 1.3vw, 24px); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec b { font-weight: 400; color: #e2e2e2; margin-left: .4em; }
.spec.extra { display: none; }
.specs.open .spec.extra { display: block; animation: swap .45s var(--ease) both; }
.view-more-wrap { text-align: center; margin-top: 3.5vh; }
.view-more { color: #9a9a9a; font-weight: 500; font-size: max(11px, .8vw); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.view-more svg { width: 12px; height: 8px; fill: none; stroke: #9a9a9a; stroke-width: 1.4; transition: transform .3s; }
.view-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ================= modal ================= */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #141414; border: 1px solid #2e2e2e; padding: 36px clamp(20px, 5vw, 40px); transform: translateY(30px); transition: transform .5s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; right: 14px; top: 10px; color: #aaa; font-size: 28px; line-height: 1; }
.modal h3 { font-size: 22px; font-weight: 600; letter-spacing: .06em; margin: 10px 0 26px; }
.modal label { display: block; color: #9a9a9a; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.modal input, .modal select, .modal textarea { display: block; width: 100%; margin-top: 8px; background: #1c1c1c; border: 1px solid #333; color: #fff; font: 14px var(--font); letter-spacing: .04em; padding: 13px 14px; border-radius: 0; color-scheme: dark; }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: none; border-color: var(--yellow); }
.modal textarea { resize: vertical; }
.modal .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thanks { text-align: center; padding: 30px 0; }
.thanks h3 { color: var(--gold); letter-spacing: .12em; }
.thanks p { color: #bdbdbd; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }

/* ================= order sequence ================= */
/* --u = 1 reference pixel (design frame 2000 x 1283) */
.seq { --u: .5px; position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; visibility: hidden; }
.seq.on { visibility: visible; pointer-events: auto; }
.seq > * { position: absolute; }
.seq-bg { inset: 0; background: linear-gradient(112deg, #1d1d1d 0%, #171717 50%, #121212 100%); opacity: 0; transition: opacity .9s; }
.seq-light { inset: 0; opacity: 0; transition: opacity 1.6s .3s; pointer-events: none; }
.seq-light i { position: absolute; display: block; }
.seq-light .band { left: calc(50% - 360 * var(--u)); width: calc(720 * var(--u)); top: 0; bottom: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .03) 25%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, 0)); -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 55%, transparent); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 55%, transparent); }
.seq-light .cone { left: calc(50% - 240 * var(--u)); width: calc(480 * var(--u)); top: calc(-80 * var(--u)); height: calc(560 * var(--u)); background: radial-gradient(50% 50% at 50% 30%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); }

.seq-back, .seq-front, .seq-lid { inset: 0; pointer-events: none; }
.seq-back > *, .seq-front > *, .seq-lid > * { position: absolute; }
.rim { left: calc(50% - 295 * var(--u)); top: calc(50% + (590 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(180 * var(--u)); clip-path: polygon(6.78% 0, 93.22% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 6%, #1c1c1c 100%); }
.rim i { position: absolute; display: block; }
.rim .hole { inset: 0; clip-path: polygon(8.5% 9%, 91.5% 9%, 97% 100%, 3% 100%); background: linear-gradient(180deg, #050505 0%, #0d0d0d 40%, #171717 100%); }
.rim .hole-shade { left: 8.5%; right: 8.5%; top: 9%; height: 22%; background: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)); }
.pillow { left: calc(50% - 170 * var(--u)); top: calc(50% + (618 - 641.5) * var(--u)); width: calc(335 * var(--u)); height: calc(154 * var(--u)); border-radius: calc(64 * var(--u)) calc(64 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)) / calc(46 * var(--u)) calc(46 * var(--u)) calc(4 * var(--u)) calc(4 * var(--u)); background: radial-gradient(120% 90% at 50% 8%, #3b3b3b 0%, #232323 45%, #141414 100%); box-shadow: inset 0 calc(3 * var(--u)) calc(4 * var(--u)) rgba(255, 255, 255, .08), 0 calc(10 * var(--u)) calc(20 * var(--u)) rgba(0, 0, 0, .6); }
.floor-shadow { left: calc(50% - 310 * var(--u)); top: calc(50% + (930 - 641.5) * var(--u)); width: calc(620 * var(--u)); height: calc(110 * var(--u)); background: radial-gradient(50% 50% at 50% 30%, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); filter: blur(calc(6 * var(--u))); }
.face { left: calc(50% - 295 * var(--u)); top: calc(50% + (770 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(192 * var(--u)); background: linear-gradient(180deg, #1f1f1f 0%, #151515 55%, #0e0e0e 100%); border-top: max(1px, calc(2 * var(--u))) solid rgba(255, 255, 255, .32); box-shadow: inset calc(2 * var(--u)) 0 0 rgba(255, 255, 255, .06), inset calc(-2 * var(--u)) 0 0 rgba(255, 255, 255, .06); }
.face i { position: absolute; left: 30%; right: 30%; top: 25%; height: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(140, 70, 20, .1), rgba(0, 0, 0, 0)); }

.seq-watch { left: 0; top: 0; transform-origin: 42.8% 43.5%; pointer-events: none; will-change: transform; }
.seq-watch-inner { position: relative; width: 100%; height: 100%; transform-origin: 42.8% 43.5%; will-change: transform, clip-path; }
.seq-watch img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 calc(30 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .65)); }
/* a band of studio light that sweeps across the watch, masked to the watch itself */
.seq-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 240, 215, .18) 47%, rgba(255, 252, 240, .42) 50%, rgba(255, 240, 215, .18) 53%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 120% 0;
  -webkit-mask: url('../assets/image 30.png') center / 100% 100% no-repeat; mask: url('../assets/image 30.png') center / 100% 100% no-repeat; }
.cushion-shadow { left: calc(50% + (885 - 1000) * var(--u)); top: calc(50% + (650 - 641.5) * var(--u)); width: calc(230 * var(--u)); height: calc(120 * var(--u)); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, 0)); opacity: 0; will-change: transform, opacity, filter; }
.pillow { transform-origin: 50% 100%; }
.pillow-crease { position: absolute; left: 12%; right: 12%; top: 34%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); }
.seq-shade { inset: 0; pointer-events: none; }
.seq-shade i { position: absolute; display: block; left: calc(50% - 295 * var(--u)); top: calc(50% + (590 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(180 * var(--u)); clip-path: polygon(6.78% 0, 93.22% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .7)); opacity: 0; }

.lid-top { left: calc(50% - 295 * var(--u)); top: calc(50% + (247 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(46 * var(--u)); clip-path: polygon(6.78% 0, 93.22% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #3a3a3a 0%, #262626 30%, #1b1b1b 100%); }
.lid-face { left: calc(50% - 295 * var(--u)); top: calc(50% + (292 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(184 * var(--u)); background: linear-gradient(180deg, #1c1c1c 0%, #131313 60%, #0e0e0e 100%); border-top: max(1px, calc(2 * var(--u))) solid rgba(255, 255, 255, .3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(4 * var(--u)); color: #f4f1ea; line-height: 1; }
.lid-face .mono { width: calc(36 * var(--u)); height: calc(44 * var(--u)); color: #f0b51e; stroke-width: 2.2; }
.lid-name { font-weight: 500; font-size: calc(40 * var(--u)); letter-spacing: .08em; padding-left: .08em; }
.lid-year { font-weight: 500; font-size: calc(26 * var(--u)); letter-spacing: .04em; }
.lid-seam { left: calc(50% - 295 * var(--u)); top: calc(50% + (474 - 641.5) * var(--u)); width: calc(590 * var(--u)); height: calc(4 * var(--u)); background: rgba(0, 0, 0, .6); }

.seq-text { width: 800px; text-align: center; color: var(--gold); font-weight: 600; font-size: max(16px, calc(36 * var(--u))); white-space: nowrap; top: calc(50% + 6.5 * var(--u)); transform: translateY(-50%); opacity: 0; letter-spacing: .3em; transition: opacity 1.2s var(--ease), letter-spacing 1.2s var(--ease), translate 1.2s var(--ease); }
.seq-text.left { left: calc(50% + (418 - 1000) * var(--u) - 400px); translate: -60px 0; }
.seq-text.right { left: calc(50% + (1607 - 1000) * var(--u) - 400px); translate: 60px 0; transition-delay: .15s; }
.seq-close { white-space: nowrap; left: 50%; bottom: max(28px, 7vh); translate: -50% 10px; color: #fff; font-weight: 500; font-size: 13px; letter-spacing: .3em; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 4px; opacity: 0; pointer-events: none; transition: opacity .8s, translate .8s; }
.seq.s7 .seq-close { pointer-events: auto; }

/* ================= small screens ================= */
@media (max-width: 860px) {
  .product { flex-direction: column; height: auto; }
  .gallery { flex: 0 0 auto; height: min(105vw, 620px); }
  .details { padding: 24px 20px 64px; }
  .title { margin-top: 14px; }
  .tech-title { margin-top: 40px; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding: 18px; }
  .progress { top: 94%; }
  .prev { left: 4%; } .next { right: 4%; }
}
@media (max-width: 760px) {
  .explore .thumbs { display: none; }
  .explore { left: 20px; bottom: 3vh; }
  .tagline { bottom: calc(3vh + 44px); right: 20px; }
  .since { font-size: 10px; letter-spacing: .6em; margin-right: -.6em; }
  .journey { font-size: 20px; }
  .bw2 { filter: blur(2px); } .bw3 { filter: blur(4px); } .bw4 { filter: blur(6px); }
  .callout p { font-size: 10px; }
  .callout svg { display: none; }
  .mono-big { width: 45vw; }
  .collection-head h2 { font-size: 16px; }
  .seq-text { width: 100vw; left: 0 !important; translate: 0 0 !important; }
  .seq-text.left { top: calc(50% + (330 - 641.5) * var(--u)); }
  .seq-text.right { top: calc(50% + (1010 - 641.5) * var(--u)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================= Lenis smooth scroll ================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* phones only: one large card at a time */
@media (max-width: 520px) {
  .card { --cw: 72vw; }
  .card-ref { font-size: 13px; }
}

/* ================= page transitions ================= */
body { animation: page-in .6s ease both; }
body.page-out { opacity: 0; transition: opacity .42s ease; }
@keyframes page-in { from { opacity: 0; } }
/* the detail page sits under the fixed header like the other sections */
.page-product main { min-height: 100vh; }

/* ================= premium letter reveal (headings) =================
   Each letter rises out of an invisible mask on a long expo ease, with a tight stagger,
   when the heading scrolls into view. Letters are split by js/site.js (splitLetters). */
.split .w { display: inline-block; white-space: nowrap; }
.split .m { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.split .c { display: inline-block; transform: translate3d(0, 112%, 0) rotate(5deg); transform-origin: 0% 100%; opacity: 0;
  transition: transform 1.25s cubic-bezier(.16, 1, .3, 1), opacity .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i) * 32ms + var(--d, 0ms)); will-change: transform; }
.split.in .c { transform: none; opacity: 1; }

/* the hero's big word: its blur would be clipped by a mask, so its letters rise and settle unmasked,
   slower and more spaced out (all 4 blur layers share the same timing, so they stay aligned) */
.big-word span { display: inline-block; transform: translate3d(0, 38%, 0) scale(.96); opacity: 0;
  transition: transform 1.9s cubic-bezier(.16, 1, .3, 1), opacity 1.4s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i) * 70ms + 150ms); }
.big-word.in span { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .split .c, .big-word span { transform: none !important; opacity: 1 !important; }
}

/* ================= preloader (home page) =================
   Logo (assets/Group 12.png) is cut into its three bands with clip-path so each part animates
   on its own: monogram (y 0-43%), BREITLING (y 48-73%), 1884 (y 78-100%). */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(118deg, #141414 0%, #1b1712 38%, #251a0d 70%, #352309 100%);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1) .25s; }
.pl-glow { position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(45% 40% at 82% 85%, rgba(206, 140, 30, .22), rgba(206, 140, 30, 0) 70%);
  animation: pl-breathe 5s ease-in-out infinite alternate; }
@keyframes pl-breathe { to { transform: translate3d(-4%, -3%, 0) scale(1.08); opacity: .7; } }

.pl-center { position: relative; display: flex; flex-direction: column; align-items: center; transition: opacity .7s ease, transform .9s cubic-bezier(.76, 0, .24, 1); }
.pl-logo { position: relative; width: clamp(170px, 12vw, 260px); aspect-ratio: 375 / 176; }
.pl-part { position: absolute; inset: 0; background: url('../assets/Group 12.png') center / contain no-repeat; }

/* 1. the monogram draws itself in with a diagonal sweep, sharpening as it rises */
.pl-mono { clip-path: inset(0 0 57% 0);
  -webkit-mask: linear-gradient(105deg, #000 42%, transparent 58%) 100% 0 / 320% 100% no-repeat;
  mask: linear-gradient(105deg, #000 42%, transparent 58%) 100% 0 / 320% 100% no-repeat;
  opacity: 0; transform: translateY(10px); filter: blur(6px);
  animation: pl-mono 1.3s cubic-bezier(.16, 1, .3, 1) .15s forwards; }
@keyframes pl-mono { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 1; transform: none; filter: blur(0); -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* 2. BREITLING opens out from the centre while its width settles, like tracking in */
.pl-name { clip-path: inset(48% 50% 27% 50%); transform: scaleX(1.09); opacity: 0;
  animation: pl-name 1.3s cubic-bezier(.16, 1, .3, 1) .55s forwards; }
@keyframes pl-name { to { clip-path: inset(48% 0 27% 0); transform: none; opacity: 1; } }

/* 3. 1884 fades up */
.pl-year { clip-path: inset(78% 0 0 0); opacity: 0; transform: translateY(8px);
  animation: pl-year 1s cubic-bezier(.16, 1, .3, 1) 1s forwards; }
@keyframes pl-year { to { opacity: 1; transform: none; } }

/* 4. a soft band of light sweeps across the gold, repeating slowly while loading */
.pl-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 246, 214, .95) 50%, transparent 62%) 140% 0 / 300% 100% no-repeat;
  -webkit-mask: url('../assets/Group 12.png') center / contain no-repeat; mask: url('../assets/Group 12.png') center / contain no-repeat;
  animation: pl-sheen 2.8s cubic-bezier(.45, 0, .2, 1) 1.4s infinite; }
@keyframes pl-sheen { 0% { background-position: 140% 0; } 55%, 100% { background-position: -40% 0; } }

/* loading bar: thin track, gold fill driven by real progress (js) */
.pl-bar { position: relative; width: clamp(170px, 12vw, 260px); height: 3px; margin-top: clamp(26px, 3.3vh, 44px); background: rgba(255, 255, 255, .1); overflow: hidden;
  opacity: 0; animation: pl-year .9s ease .3s forwards; }
.pl-bar i { position: absolute; inset: 0; background: #f3c12f; transform-origin: 0 50%; transform: scaleX(0); }

/* exit: the logo lifts away, then the panel rises like a curtain to reveal the hero */
.preloader.done .pl-center { opacity: 0; transform: translateY(-18px); }
.preloader.done { transform: translateY(-100%); }
.preloader.gone { display: none; }

@media (prefers-reduced-motion: reduce) {
  .pl-part, .pl-bar { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .pl-sheen, .pl-glow { animation: none; }
}

/* extra product shots in the detail gallery */
.gallery-shot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.gallery-shot[hidden] { display: none; }
/* a whole watch (e.g. three-quarter view): centred, about the same visual size as the front view */
.gallery-shot img.contain { width: min(88%, 92vh); height: auto; max-height: 86%; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .45)); }
/* a close-up cropped by the photo's own edges: fills the panel, so its edges meet the panel's edges */
.gallery-shot img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
