:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #f6f2e9;
  background: #151410;
  font-synthesis: none;
  --gold: #d5bd8b;
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1 { margin: 0; }

.scenery, .scene, .scenery::after { position: fixed; inset: 0; width: 100%; height: 100%; }
.scenery { z-index: -1; background: #151410; }
.scene { object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.8s ease; }
.scene.is-active { opacity: 1; }
.scenery::after {
  content: "";
  background: linear-gradient(180deg, rgba(10, 10, 8, .53), rgba(10, 10, 8, .16) 23%, rgba(10, 10, 8, .27) 60%, rgba(10, 10, 8, .84)),
    linear-gradient(90deg, rgba(10, 10, 8, .15), rgba(10, 10, 8, .30) 50%, rgba(10, 10, 8, .15));
}
.page { min-height: 100svh; display: flex; flex-direction: column; padding: 38px 4.5vw 25px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.horology { font-size: 14px; letter-spacing: .19em; }
.horology span { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; font-style: italic; letter-spacing: .03em; margin-left: 9px; }
.launch-status { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .23em; text-transform: uppercase; }
.launch-status span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-copy { min-height: calc(100svh - 85px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 75px 0 85px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: .36em; margin-bottom: 24px; }
h1 { font-weight: 400; }
.wordmark { display: block; font-family: 'Times New Roman', Georgia, serif; font-size: clamp(82px, 14vw, 210px); font-weight: 400; line-height: .95; letter-spacing: .085em; padding-left: .085em; }
.brand-detail { display: block; font-size: 13px; font-weight: 400; letter-spacing: .65em; padding-left: .65em; text-transform: uppercase; margin-top: 23px; }
/* Tagline set between two gold hairlines, under the wordmark. */
.tagline { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 38px 0 22px; font: 400 17px/1 'Times New Roman', Georgia, serif; letter-spacing: .42em; color: #f4ead6; }
.tagline span { padding-left: .42em; }
.tagline::before, .tagline::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.tagline::after { background: linear-gradient(90deg, var(--gold), transparent); }
.invitation { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-style: italic; color: #f0e8d8; }
.footer-bottom { border-top: 1px solid rgba(225, 211, 180, .25); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #c2bdb1; letter-spacing: .045em; }

@media (max-width: 800px) {
  .page { padding: 27px 6vw 22px; }
  .wordmark { font-size: 17vw; }
  .hero-copy { padding: 65px 0; }
  .scene-drive { object-position: 55% center; }
}

@media (max-width: 480px) {
  .horology { font-size: 11px; letter-spacing: .13em; }
  .horology span { font-size: 12px; margin-left: 4px; }
  .launch-status { font-size: 8px; letter-spacing: .13em; gap: 7px; }
  .masthead { gap: 12px; }
  .eyebrow { font-size: 8px; letter-spacing: .25em; margin-bottom: 27px; }
  .brand-detail { font-size: 10px; letter-spacing: .5em; margin-top: 20px; }
  .invitation { font-size: 17px; }
  .tagline { gap: 14px; margin: 32px 0 20px; font-size: 13px; letter-spacing: .32em; }
  .tagline span { padding-left: .32em; }
  .tagline::before, .tagline::after { width: 30px; }
  .footer-bottom { font-size: 9px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
a { color: inherit; }
button { font: inherit; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.discover { margin-top: 42px; padding: 12px 0; color: #f0e8d8; font-size: 10px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid #b5a78b; }
.discover span { margin-left: 16px; }
footer { background: #050b13; margin: 0 -4.5vw -25px; padding: 25px 4.5vw; }

/* The viewing table: both watches rest on their sides, case backs up. */
.watch-section { --ease: cubic-bezier(.16, .84, .24, 1); margin: 0 -4.5vw; padding: 96px 0 84px; background: #050b13; }
.salon-heading { text-align: center; padding: 0 24px 52px; }
.salon-heading .eyebrow { color: var(--gold); font-size: 9px; letter-spacing: .3em; margin-bottom: 18px; }
.salon-heading h2 { font: 400 clamp(38px, 5vw, 66px)/1.1 Georgia, serif; margin: 0 0 18px; }
.salon-heading > p:last-child { color: #aeb6c0; font: italic 15px Georgia, serif; }
.touch-hint { display: none; }

.viewing-table { --frame-h: min(88svh, 60vw); position: relative; height: var(--frame-h); min-height: 440px; display: grid; place-items: center; overflow: hidden; overflow: clip; isolation: isolate; background: radial-gradient(ellipse 70% 60% at 50% 48%, #13213b, #0a1528 55%, #050b13 100%); }
.viewing-table::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(3, 7, 13, .55)); }
.table-stage { position: relative; width: min(100%, calc(var(--frame-h) * 1672 / 941)); aspect-ratio: 1672 / 941; }
.table-photo {
  position: absolute; inset: 0; overflow: hidden; overflow: clip; transition: filter .8s var(--ease), transform 1.2s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.table-photo img { display: block; width: 100%; height: 100%; }
/* Shallow depth of field: the case backs stay sharp while the near and far table fall away. */
.table-focus {
  position: absolute; inset: 0; background: url('../../images/wynne-viewing-table.webp') center / 100% 100%; filter: blur(7px);
  -webkit-mask-image: linear-gradient(#000 0%, transparent 21%, transparent 60%, #000 96%);
  mask-image: linear-gradient(#000 0%, transparent 21%, transparent 60%, #000 96%);
}
.table-light { position: absolute; inset: -10% -40%; background: linear-gradient(105deg, transparent 42%, rgba(255, 233, 196, .09) 49%, rgba(255, 240, 214, .14) 50%, rgba(255, 233, 196, .09) 51%, transparent 58%); mix-blend-mode: screen; animation: table-light 14s ease-in-out infinite; }
@keyframes table-light { 0%, 18% { transform: translateX(-38%); } 62%, 100% { transform: translateX(38%); } }

.caseback-spot { position: absolute; z-index: 4; left: var(--x); top: var(--y); width: var(--d); aspect-ratio: 1; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.caseback-spot::before, .caseback-spot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.caseback-spot::before { border: 1px solid rgba(232, 214, 174, .55); opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .7s var(--ease); }
.caseback-spot::after { inset: 47%; background: rgba(240, 225, 190, .9); box-shadow: 0 0 0 6px rgba(240, 225, 190, .14), 0 0 18px 4px rgba(240, 225, 190, .35); animation: spot-breathe 3.6s ease-in-out infinite; transition: opacity .4s ease; }
.caseback-spot:hover::before, .caseback-spot:focus-visible::before, .caseback-spot[aria-expanded="true"]::before { opacity: 1; transform: scale(1); }
.caseback-spot:hover::after, .caseback-spot:focus-visible::after, .caseback-spot[aria-expanded="true"]::after { opacity: 0; }
.caseback-spot:focus-visible { outline: none; }
@keyframes spot-breathe { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.15); } }

.loupe {
  --loupe: clamp(250px, 31%, 460px);
  position: absolute; z-index: 5; left: var(--x); top: var(--y); width: var(--loupe); margin: 0; pointer-events: none;
  opacity: 0; visibility: hidden; filter: blur(10px); transform: translate(-50%, -50%) scale(.42);
  transition: transform .75s var(--ease), opacity .45s ease, filter .6s ease, visibility 0s linear .75s;
}
.loupe-glass { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #0b1320; box-shadow: 0 0 0 1px rgba(232, 214, 174, .6), 0 0 0 10px rgba(5, 11, 19, .5), 0 0 0 11px rgba(232, 214, 174, .2), 0 45px 120px rgba(0, 0, 0, .75); }
.loupe-glass img { display: block; width: 100%; height: 100%; }
.loupe-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(110% 70% at 28% 12%, rgba(255, 255, 255, .2), transparent 46%), radial-gradient(closest-side, transparent 80%, rgba(0, 0, 0, .5)); }
.loupe figcaption { position: absolute; top: 100%; left: 50%; display: grid; gap: 9px; justify-items: center; margin-top: 30px; white-space: nowrap; transform: translate(-50%, 8px); opacity: 0; transition: opacity .5s ease, transform .7s var(--ease); text-shadow: 0 2px 18px #000; }
.loupe-name { font: 400 26px/1 Georgia, serif; color: #f6f2e9; }
.loupe-detail { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.loupe.is-open { opacity: 1; visibility: visible; filter: none; transform: translate(-50%, -50%) scale(1); transition-delay: 0s; }
.loupe.is-open figcaption { opacity: 1; transform: translate(-50%, 0); transition-delay: .18s; }
.viewing-table.is-viewing .table-photo { filter: blur(6px) brightness(.45) saturate(.9); transform: scale(1.015); }
.viewing-table.is-viewing .caseback-spot::after { opacity: 0; animation: none; }

@media (hover: hover) {
  .viewing-table:has(.caseback-spot:hover) .table-photo { filter: blur(6px) brightness(.45) saturate(.9); transform: scale(1.015); }
  .viewing-table:has(.caseback-spot:hover) .caseback-spot::after { opacity: 0; animation: none; }
  .viewing-table:has([data-watch="heritage"]:hover) #loupe-heritage,
  .viewing-table:has([data-watch="phantom"]:hover) #loupe-phantom { opacity: 1; visibility: visible; filter: none; transform: translate(-50%, -50%) scale(1); transition-delay: 0s; }
  .viewing-table:has([data-watch="heritage"]:hover) #loupe-heritage figcaption,
  .viewing-table:has([data-watch="phantom"]:hover) #loupe-phantom figcaption { opacity: 1; transform: translate(-50%, 0); transition-delay: .18s; }
}

/* Columns centred under the case backs at 32.1% and 66.1% of the table. */
.table-captions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 34px 16.8% 0 15%; font: 400 21px Georgia, serif; color: #f1ebdf; text-align: center; }
.caption-detail { display: block; margin-top: 9px; font: 9px Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #8f9cad; }

@media (max-width: 800px) {
  .watch-section { margin: 0 -6vw; }
  footer { margin: 0 -6vw -22px; padding: 25px 6vw 22px; }
}
@media (max-width: 700px) {
  .watch-section { padding-top: 64px; }
  .salon-heading { padding-bottom: 34px; }
  .viewing-table { --frame-h: 110vw; min-height: 0; }
  .table-stage { width: 140%; }
  .loupe { --loupe: min(68vw, 340px); left: 50%; top: 40%; }
  .loupe figcaption { margin-top: 22px; }
  .loupe-name { font-size: 22px; }
  .table-captions { font-size: 17px; padding: 26px 3.6% 0 1%; }
  .caption-detail { letter-spacing: .14em; font-size: 8px; line-height: 1.6; }
}
@media (hover: none) { .hover-hint { display: none; } .touch-hint { display: inline; } .caseback-spot { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .table-light { display: none; }
}
