/* Front page of the shop: hero with the ruler, the marquee, figures, collections,
   how an automatic works, limited editions, services, the live watch.
   Without JavaScript everything is static and readable: the hero shows its first piece. */

/* --- hero ------------------------------------------------------------------------ */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); overflow: hidden; }
.hero__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 46%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
              radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(201, 189, 167, .35) 100%); }
.hero__stage { position: relative; display: grid; }
.hero__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; min-height: clamp(560px, calc(100vh - 230px), 820px); padding-top: 18px;
  visibility: hidden; pointer-events: none; }
.hero__slide.is-active { visibility: visible; pointer-events: auto; }
html.no-js .hero__slide:not(:first-child) { display: none; }

.hero__top { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.hero__pill { margin: 0; padding: 9px 16px 8px; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.hero__pill b { color: var(--ink); font-weight: 500; }
.hero__avail { margin: 0; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
.hero__avail.stock--ok { color: var(--gold); }

.hero__text { grid-column: 1; grid-row: 2; align-self: center; position: relative; z-index: 2; padding-bottom: 40px; }
.hero__ref { margin: 0 0 18px; font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.hero__title { margin: 0 0 clamp(40px, 7vh, 88px); font-weight: 400; }
.hero__title > .reveal-line:first-child { font: 400 clamp(38px, 4.4vw, 76px)/1 var(--serif); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero__model { margin-top: 12px; font: italic 300 clamp(22px, 2.2vw, 34px)/1.15 var(--serif); color: var(--ink-2); }
.hero__buy { display: grid; justify-items: start; gap: 22px; }
.hero__price { margin: 0; font-size: 15px; letter-spacing: .12em; color: var(--gold); }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero__slide.is-active .reveal-line > span { transform: none; }
.hero__ref .reveal-line > span { transition-delay: .15s; }
.hero__title .reveal-line:first-child > span { transition-delay: .25s; }
.hero__model > span { transition-delay: .4s; }
.hero__price .reveal-line > span { transition-delay: .55s; }
.hero__buy .btn { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .65s, transform 1.2s var(--ease-out) .65s, color .45s, background .45s; }
.hero__slide.is-active .hero__buy .btn { opacity: 1; transform: none; }
html.no-js .reveal-line > span, html.no-js .hero__buy .btn { transform: none; opacity: 1; }

.hero__media { grid-column: 2; grid-row: 1 / 3; position: relative; display: grid; place-items: center; z-index: 1; }
.hero__guilloche { position: absolute; width: min(94%, 700px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background:
    repeating-radial-gradient(circle, transparent 0 11px, rgba(168, 134, 79, .15) 11px 12px),
    repeating-conic-gradient(from 0deg, rgba(168, 134, 79, .11) 0 .35deg, transparent .35deg 6deg);
  -webkit-mask: radial-gradient(circle, #000 38%, transparent 70%); mask: radial-gradient(circle, #000 38%, transparent 70%);
  animation: guilloche 240s linear infinite; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active .hero__guilloche { opacity: 1; }
@keyframes guilloche { to { transform: rotate(360deg); } }
.hero__img { position: relative; width: min(100%, 660px); filter: drop-shadow(0 40px 40px rgba(60, 48, 30, .18));
  opacity: 0; transform: translate3d(60px, 20px, 0) rotate(-9deg) scale(.9);
  transition: opacity 1.2s var(--ease), transform 1.8s var(--ease-out); }
.hero__slide.is-active .hero__img { opacity: 1; transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(var(--rot, 0deg)) scale(1); }
.hero__slide.is-leaving .hero__img { opacity: 0; transform: translate3d(-60px, -10px, 0) rotate(7deg) scale(.94); transition-duration: .9s, 1.1s; }
html.no-js .hero__img { opacity: 1; transform: none; }

.hero__icons { grid-column: 3; grid-row: 2; align-self: center; justify-self: end; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 2; }
.hero__icons form { margin: 0; }
.hero__icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(250, 247, 241, .6); color: var(--ink-2); cursor: pointer; transition: border-color .3s, color .3s, transform .5s var(--ease-out); }
.hero__icon:hover { border-color: var(--ink); color: var(--ink); transform: scale(1.06); }
.hero__icon.is-active { color: var(--sale); }
.hero__icon.is-active .icon { fill: currentColor; }
.hero__icon .icon { width: 18px; height: 18px; }

.hero__bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 18px 40px; }
.ruler { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; grid-column: 2; }
.ruler__item { display: flex; align-items: center; gap: 8px; padding: 10px 2px; text-decoration: none; color: var(--muted); transition: color .4s; }
.ruler__item:hover, .ruler__item.is-active { color: var(--ink); }
.ruler__num { font-size: 10.5px; letter-spacing: .08em; }
.ruler__ticks { position: relative; width: 58px; height: 9px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 7px); }
.ruler__ticks i { position: absolute; inset: 0; width: 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 7px); }
.ruler__item.is-active .ruler__ticks i { width: var(--progress, 100%); }
.ruler li:last-child .ruler__ticks { width: 22px; }
.hero__nav { display: inline-flex; align-items: center; gap: 14px; border: 0; background: none; padding: 8px 0; cursor: pointer; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.hero__nav:hover { color: var(--ink); }
.hero__nav--prev { justify-self: start; }
.hero__nav--next { justify-self: end; }
.hero__nav-dial { position: relative; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; overflow: hidden; }
.hero__nav-dial::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .8s var(--ease); }
.hero__nav--next .hero__nav-dial::after { transform: rotate(180deg); }
.hero__nav:hover .hero__nav-dial::after { transform: rotate(90deg); }

/* --- houses marquee ------------------------------------------------------------------ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__list li { display: flex; align-items: center; white-space: nowrap; }
.marquee__list li::after { content: "✦"; margin: 0 clamp(26px, 3.4vw, 56px); font-size: 12px; color: var(--gold); }
.marquee__list li { font: italic 300 clamp(30px, 3.6vw, 54px)/1 var(--serif); color: var(--ink-2); }

/* --- intro and figures ---------------------------------------------------------------- */
.intro { padding-block: clamp(80px, 12vw, 180px) clamp(56px, 8vw, 120px); }
.intro__text { margin: 0 0 clamp(56px, 8vw, 110px); max-width: 28ch; font: 300 clamp(30px, 3.7vw, 58px)/1.18 var(--serif); letter-spacing: -.005em; }
html.js .intro__text .word { opacity: .16; }
html.js .intro__text .word.is-lit { opacity: 1; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.figures > div { padding: 28px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures__num { font: 300 clamp(48px, 5.2vw, 88px)/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.figures dd { margin: 12px 0 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* --- collections --------------------------------------------------------------------- */
.collections { padding-bottom: clamp(80px, 11vw, 170px); }
.collections__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.collection { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.collection:nth-child(even) { margin-top: 72px; }
.collection__num { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); }
.collection__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: radial-gradient(110% 70% at 50% 42%, #f7f2e9 0%, var(--surface-2) 75%); }
.collection__media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(168, 134, 79, 0); transition: border-color .8s var(--ease), inset .8s var(--ease); }
.collection:hover .collection__media::after { border-color: rgba(168, 134, 79, .55); inset: 10px; }
.collection__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform 1.6s var(--ease); }
.collection:hover .collection__media img { transform: scale(1.07) rotate(-5deg); }
.collection__name { font: 400 clamp(26px, 2.3vw, 36px)/1.1 var(--serif); }
.collection__meta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.collection__meta .icon { color: var(--gold); transition: transform .6s var(--ease); }
.collection:hover .collection__meta .icon { transform: translateX(6px); }

/* --- the haute horlogerie story ----------------------------------------------------------- */
.editorial { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); border-block: 1px solid var(--line); }
.editorial__media { position: relative; min-height: clamp(460px, 80vh, 860px); overflow: hidden; background: var(--dark); }
.editorial__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.editorial__text { align-self: center; padding: clamp(48px, 7vw, 120px) var(--gutter); max-width: 680px; }
.editorial__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin: 36px 0 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.editorial__facts dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.editorial__facts dd { margin: 0; font: 400 22px/1.2 var(--serif); }

/* --- limited editions -------------------------------------------------------------------- */
.limited { background: var(--dark); color: #efe7d6; padding-block: clamp(80px, 11vw, 160px); margin-top: clamp(80px, 11vw, 160px); }
.limited .eyebrow { color: var(--gold-light); }
.limited .lead { color: #b9b19f; }
.limited__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.limited__card { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.limited__media { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: 10px;
  background: radial-gradient(90% 70% at 50% 42%, #2a4a3b 0%, #1a3127 60%, #12221b 100%); border: 1px solid rgba(201, 169, 110, .16); }
.limited__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 1.6s var(--ease); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.limited__card:hover .limited__media img { transform: scale(1.06) rotate(4deg); }
.limited__edition { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.limited__name { font: 400 26px/1.15 var(--serif); }
.limited__price { font-size: 13px; letter-spacing: .12em; color: #b9b19f; }

/* --- services ------------------------------------------------------------------------------ */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: clamp(80px, 10vw, 150px); }
.service { padding: 8px 32px 8px 0; }
.service + .service { padding-left: 32px; border-left: 1px solid var(--line); }
.service .icon { color: var(--gold); margin-bottom: 22px; }
.service h3 { margin: 0 0 10px; font: 400 26px/1.15 var(--serif); }
.service p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* --- the live watch ---------------------------------------------------------- */
.automatic { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(72px, 10vw, 150px); }
.automatic__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.automatic__watch { justify-self: center; width: min(100%, 470px); }
.live-watch { display: block; width: 100%; height: auto; filter: drop-shadow(0 50px 50px rgba(60, 48, 30, .22)); }
.live-watch__brand { font: 500 17px var(--serif); letter-spacing: .34em; fill: #2a2620; font-variant-numeric: lining-nums; }
.live-watch__city { font: italic 400 15px var(--serif); letter-spacing: .12em; fill: #6d6252; }
.automatic__now { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.automatic__now time { color: var(--accent); font-size: 14px; }
.automatic__facts { display: grid; gap: 0; margin: 28px 0 36px; border-top: 1px solid var(--line); }
.automatic__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.automatic__facts dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.automatic__facts dd { margin: 0; font: 400 19px/1.35 var(--serif); }
.automatic__facts a { text-decoration: none; }

@media (max-width: 1180px) {
  .collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection:nth-child(even) { margin-top: 56px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 980px) {
  .hero__slide { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; min-height: 0; }
  .hero__media { grid-column: 1 / -1; grid-row: 2; padding-block: 12px; }
  .hero__img { width: min(82%, 520px); }
  .hero__text { grid-column: 1; grid-row: 3; padding-bottom: 8px; }
  .hero__icons { grid-column: 2; grid-row: 3; align-self: end; padding-bottom: 12px; }
  .hero__title { margin-bottom: 28px; }
  .hero__bar { grid-template-columns: 1fr; justify-items: center; }
  .hero__nav { display: none; }
  .ruler { grid-column: 1; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media { min-height: 70vw; }
  .automatic__row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero__pill { padding: 7px 10px 6px; font-size: 9px; letter-spacing: .18em; }
  .hero__avail { font-size: 9px; }
  .hero__img { width: 92%; }
  .ruler__ticks { width: 26px; }
  .ruler li:last-child .ruler__ticks { width: 10px; }
  .collections__grid { gap: 28px 14px; }
  .collection:nth-child(even) { margin-top: 36px; }
  .editorial__facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 0 0 0 0; border-left: 0; }
  .service + .service { padding-top: 32px; border-top: 1px solid var(--line); }
  .automatic__facts div { grid-template-columns: 1fr; gap: 4px; }
}


/* --- showcase pages: heading, cta, guides -------------------------------------------------- */
.page-head { padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 7vw, 96px); }
.page-head__title { font-size: clamp(44px, 6vw, 96px); max-width: 14ch; }
.page-head__lead { font-size: 18px; max-width: 52ch; }
.page-cta { display: flex; justify-content: center; padding-block: clamp(56px, 8vw, 110px) 0; }
.limited + .page-cta { padding-top: clamp(56px, 8vw, 110px); }
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding-bottom: clamp(40px, 6vw, 80px); }
.guide { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.guide__num { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); grid-row: 1 / 3; }
.guide__name { font: 400 28px/1.15 var(--serif); }
.guide__lead { grid-column: 2; font-size: 14px; color: var(--muted); }
.guide .icon { grid-column: 3; grid-row: 1; color: var(--gold); transition: transform .6s var(--ease); }
.guide:hover .icon { transform: translateX(6px); }
.intro:first-child, .page-head + .intro { padding-top: 0; }

/* --- reading cards on the Automatic page ------------------------------------------------- */
.reads { padding-bottom: clamp(72px, 10vw, 140px); }
.reads__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.reads__head .eyebrow { margin: 0; order: 2; }
.reads__head .h2 { margin: 0; }
.reads__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.read { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 28px 26px 26px;
  background: var(--surface, #fff); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.read::after { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.read__num { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); }
.read__name { font: 400 clamp(24px, 2vw, 30px)/1.15 var(--serif); }
.read__lead { font-size: 14px; line-height: 1.55; color: var(--muted); transition: color .5s var(--ease); }
.read__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); }
.read__more .icon { transition: transform .6s var(--ease); }
.read:hover { background: var(--accent); border-color: var(--accent); color: #f4f1e8; transform: translateY(-4px); }
.read:hover::after { transform: scaleX(1); }
.read:hover .read__lead { color: rgba(244, 241, 232, .72); }
.read:hover .read__more .icon { transform: translateX(6px); }
.read:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 1100px) { .reads__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .reads__head { flex-direction: column; gap: 10px; }
  .reads__head .eyebrow { order: 0; }
  .reads__grid { grid-template-columns: 1fr; }
  .read { min-height: 0; }
}

@media (max-width: 980px) {
  .guides { grid-template-columns: 1fr; }
}
.page-head { padding-top: clamp(32px, 5vw, 72px); }
.page-head + .services, .page-head + .collections { padding-top: 0; }
.collections + .limited { margin-top: 0; }
.page-head + .intro .eyebrow { display: none; }

/* --- the intro film on the front page: a full-bleed background of the first screen ---------- */
.film { position: relative; display: grid; align-items: end; min-height: 520px; height: calc(100svh - var(--header-h) - 36px);
  max-height: 1000px; margin-bottom: clamp(64px, 9vw, 130px); overflow: hidden; color: #efe7d6; background: var(--dark); }
.film__bg { position: absolute; inset: 0; background: radial-gradient(80% 90% at 70% 30%, #2a4d40 0%, #1a3329 45%, var(--dark) 100%); }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a scrim so the headline stays legible over any frame */
.film__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 15, .15) 0%, rgba(10, 20, 15, .05) 40%, rgba(10, 20, 15, .7) 100%); }
.film__content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 8vw, 110px); }
.film__content .eyebrow { color: var(--gold-light); }
.film__title { max-width: 20ch; margin: 0 0 32px; font: italic 400 clamp(44px, 6.4vw, 104px)/1.02 var(--serif); letter-spacing: -.01em; }
@media (max-width: 620px) {
  .film { height: calc(100svh - var(--header-h) - 30px); min-height: 460px; }
  .film__title { margin-bottom: 24px; }
}
/* On the Automatic page the reading cards follow the intro text directly. */
.intro:has(+ .reads) .intro__text { margin-bottom: 0; }
