/* HQ London. One stylesheet, no framework. Colours are the watch face's own (hq-watch/dial.json). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Original Rose Gold: the house edition */
  --navy: #14224F;
  --navy-edge: #0A1130;
  --navy-deep: #070C22;
  --rose: #D2A062;
  --rose-light: #EFC88F;
  --rose-shine: #FCEBD2;
  --ivory: #F6EFDF;
  --mist: #C9CFE6;
  --muted: #9AA3C4;
  --line: rgba(210, 160, 98, 0.28);
  /* the edition on show; the picker changes these */
  --dial: var(--navy);
  --metal: var(--rose);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-light); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rose-shine); }
:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rose); color: var(--navy-deep); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--ivory); color: var(--navy); padding: 8px 14px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* lettering in the dial's manner: spaced capitals */
.caps {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* the wordmark: HQ over a rule, LONDON spaced beneath, as on the dial */
.mark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--rose); line-height: 1; }
.mark b { font-weight: 600; font-size: 1.75rem; letter-spacing: 0.16em; padding-left: 0.16em; }
.mark i { display: block; width: 2.1rem; height: 1px; background: currentColor; margin: 0.28rem 0 0.32rem; }
.mark span { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 0.5625rem; letter-spacing: 0.42em; padding-left: 0.42em; color: var(--mist); }
.mark:hover { color: var(--rose-light); }

header.site {
  position: sticky; top: 0; z-index: 5;
  background: rgba(7, 12, 34, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 160, 98, 0.14);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
header.site nav { display: flex; gap: clamp(14px, 3vw, 32px); }
header.site nav a { color: var(--mist); text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 0; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--rose-light); }
@media (max-width: 480px) { header.site nav .opt { display: none; } }

/* hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 70% 45%, rgba(28, 47, 114, 0.9), transparent 70%),
    linear-gradient(180deg, var(--navy-edge), var(--navy-deep));
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-top: clamp(40px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 112px); }
.hero h1 { font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.005em; margin: 18px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--rose-light); }
.hero p.lede { font-size: clamp(1.2rem, 2vw, 1.375rem); color: var(--mist); max-width: 34ch; margin: 0 0 32px; text-wrap: pretty; }
.hero .face { position: relative; justify-self: center; width: min(100%, 520px); }
.hero .face .live-face { border-radius: 50%; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.hero .face::after {
  content: ""; position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 160, 98, 0.18), transparent 62%);
}
.hero .note { margin-top: 18px; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .face { order: -1; width: min(82vw, 420px); }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .ctas { justify-content: center; }
}

.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Google Play placeholder: deliberately not a link until the listing is live */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 22px 10px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(7, 12, 34, 0.6);
  color: var(--ivory); text-decoration: none;
  cursor: default;
}
.store svg { flex: none; width: 22px; height: 22px; color: var(--rose); }
.store small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.store strong { display: block; font-weight: 600; font-size: 1.25rem; line-height: 1.15; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-deep); background: linear-gradient(180deg, var(--rose-light), var(--rose));
  transition: filter 160ms ease-out;
}
.btn:hover { color: var(--navy-deep); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--rose-light); box-shadow: inset 0 0 0 1px var(--line); }

/* sections */
section { padding: clamp(64px, 10vw, 128px) 0; }
.head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.head h2 { font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; margin: 12px 0 14px; text-wrap: balance; }
.head p { color: var(--mist); margin: 0; text-wrap: pretty; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.rule { width: 48px; height: 1px; background: var(--rose); border: 0; margin: 0; }
.center .rule { margin: 0 auto; }

/* editions */
.editions { background: linear-gradient(180deg, var(--navy-deep), #0A0F27); transition: background-color 400ms ease-out; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.stage .shown { position: relative; width: min(100%, 520px); justify-self: center; }
.stage .shown::before {
  content: ""; position: absolute; inset: -10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--dial) 75%, transparent), transparent 65%);
  transition: background 400ms ease-out;
}
.stage .shown .live-face { z-index: 1; border-radius: 50%; box-shadow: 0 36px 70px -28px rgba(0, 0, 0, 0.75); transition: opacity 220ms ease-out; }
.stage .shown .live-face.out { opacity: 0.25; }
.stage h3 { font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 10px 0 8px; min-height: 1.1em; }
.stage .desc { color: var(--mist); margin: 0 0 22px; min-height: 3.1em; }
.stage .jewel { display: inline-flex; align-items: center; gap: 8px; color: var(--rose-light); margin-bottom: 22px; }
.stage .jewel[hidden] { display: none; }
.tones { display: flex; gap: 18px; margin: 0 0 28px; padding: 0; list-style: none; }
.tones li { display: flex; align-items: center; gap: 8px; }
.tones i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }

.swatches { display: grid; grid-template-columns: repeat(5, 48px); gap: 14px; margin: 0; padding: 0; border: 0; }
.swatches legend { padding: 0; margin-bottom: 14px; }
.swatches label { position: relative; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.swatches input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatches span {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--d) 80%, white), var(--d) 60%);
  box-shadow: inset 0 0 0 4px var(--m), inset 0 0 0 5px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}
.swatches label:hover span { transform: scale(1.06); }
.swatches input:checked + span { box-shadow: inset 0 0 0 4px var(--m), inset 0 0 0 5px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--navy-deep), 0 0 0 3px var(--rose-light); }
.swatches input:focus-visible + span { outline: 2px solid var(--rose-light); outline-offset: 4px; }
@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; text-align: center; }
  .stage .shown { width: min(82vw, 440px); }
  .tones, .swatches { justify-content: center; margin-left: auto; margin-right: auto; }
  .swatches legend { width: 100%; text-align: center; }
}
@media (max-width: 360px) { .swatches { grid-template-columns: repeat(5, 44px); gap: 10px; } .swatches label { width: 44px; height: 44px; } }

/* all ten at a glance */
.all { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 28px); margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; list-style: none; }
.all figure { margin: 0; text-align: center; }
.all .live-face { border-radius: 50%; }
.all figcaption { margin-top: 10px; font-size: 1rem; line-height: 1.25; color: var(--mist); text-wrap: balance; }
@media (max-width: 820px) { .all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* craft details */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.details li { min-width: 0; }
.crop {
  aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 20px;
  background-repeat: no-repeat; border: 1px solid rgba(210, 160, 98, 0.16);
}
.crop.bezel { background-image: url("/img/face-rose.webp"); background-size: 260%; background-position: 50% 2%; }
.crop.numerals { background-image: url("/img/face-onyx.webp"); background-size: 240%; background-position: 92% 48%; }
.crop.diamond { background-image: url("/img/face-oxblood.webp"); background-size: 330%; background-position: 50% 49%; }
.details h3 { font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 0 0 8px; }
.details p { color: var(--mist); margin: 0; text-wrap: pretty; }
@media (max-width: 820px) { .details { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 22px 18px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts strong { display: block; font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.facts span { display: block; color: var(--muted); font-size: 1rem; margin-top: 4px; }
@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* the wall clock */
.wall { background: #050918; }
.wall figure { margin: 0; }
.wall .screen { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 10px #101216, 0 0 0 11px #24262c, 0 50px 90px -40px rgba(0, 0, 0, 0.9); background: var(--navy-edge); }
.wall figcaption { margin-top: 28px; }

/* coming next */
.next { text-align: center; border-top: 1px solid rgba(210, 160, 98, 0.12); }
.next .head { margin-bottom: 0; }

/* plain pages */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.page article { max-width: 680px; }
.page h1 { font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1.05; margin: 12px 0 24px; }
.page h2 { font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 44px 0 10px; }
.page p, .page li { color: var(--mist); text-wrap: pretty; }
.page p.lead { font-size: 1.375rem; color: var(--ivory); }
.page ul { padding-left: 1.2em; }
.page li { margin: 6px 0; }
.page .updated { margin-top: 48px; }

footer.site { border-top: 1px solid rgba(210, 160, 98, 0.14); padding: 40px 0 48px; color: var(--muted); font-size: 1rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.site a { color: var(--mist); text-decoration: none; }
footer.site a:hover { color: var(--rose-light); text-decoration: underline; }
footer.site p { margin: 0; }

/* Interface guideline fixes (16 Nov): anchors clear the sticky header, taps are immediate, notches respected, motion honoured */
section[id] { scroll-margin-top: 76px; }
a, button, label, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(210, 160, 98, 0.18); }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
@media (max-width: 820px) { .hero .face { width: min(68vw, 400px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
.all figcaption .caps { display: block; margin-top: 4px; font-size: 0.625rem; color: var(--rose-light); }

/* ---------------- The collection (16 Nov): garments drawn as SVG, coloured by --g (cloth) and --t (thread) */
.cloth { fill: var(--g, #14284E); transition: fill 320ms ease-out; }
.rib { stroke: var(--g, #14284E); transition: stroke 320ms ease-out; }
.thread { fill: var(--t, #D4AF37); transition: fill 320ms ease-out; }
.thread-flood { flood-color: var(--t, #D4AF37); }
.mono-hq { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 3px; }
.mono-ldn { font-family: var(--sans); font-weight: 500; font-size: 5.6px; letter-spacing: 2.6px; }
.garment, .detail { display: block; width: 100%; height: auto; }
.stage-cloth {
  display: block; border-radius: 18px; padding: 6% 6% 3%;
  background: radial-gradient(ellipse 85% 75% at 50% 38%, #45464D, #2A2B31 60%, #1E1F24);
  border: 1px solid rgba(210, 160, 98, 0.14);
}
.stage-cloth.close { padding: 0; overflow: hidden; aspect-ratio: 1; }
.illus { margin-top: 12px; color: var(--muted); font-size: 0.625rem; }

.capsule-hero { padding-top: clamp(48px, 8vw, 96px); }
.capsule-hero h1 { font-weight: 600; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; margin: 12px 0 18px; }
.capsule-hero .lede, .product .lede { color: var(--mist); font-size: clamp(1.15rem, 2vw, 1.375rem); text-wrap: pretty; }
.capsule-picker { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 8px auto clamp(28px, 4vw, 44px); }
.edition-now { color: var(--rose-light); margin: 0 0 6px; min-height: 1.2em; }
.capsule-swatches { grid-template-columns: repeat(5, 48px); }
.capsule-swatches legend { width: 100%; text-align: center; }
.product-info .capsule-swatches legend { text-align: left; }

.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.piece-card { display: block; text-decoration: none; color: var(--ivory); }
.piece-card h3 { font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 18px 0 6px; }
.piece-card p { color: var(--mist); margin: 0 0 8px; font-size: 1.05rem; text-wrap: pretty; }
.piece-card .stage-cloth { transition: border-color 200ms ease-out, transform 200ms ease-out; }
.piece-card:hover .stage-cloth { border-color: rgba(239, 200, 143, 0.45); transform: translateY(-2px); }
.price { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-light) !important; }
@media (max-width: 820px) { .pieces { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.join { border-top: 1px solid rgba(210, 160, 98, 0.12); }
.center-ctas { justify-content: center; margin-top: 26px; }
.consent { font-size: 0.95rem; color: var(--muted) !important; margin-top: 14px !important; text-wrap: pretty; }
.consent a { color: var(--mist); }

.product { padding-top: clamp(28px, 5vw, 56px); }
.crumbs { margin: 0 0 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose-light); }
.crumbs a::before { content: "\2039\00a0"; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-media { display: grid; grid-template-columns: 1fr; gap: 16px; position: sticky; top: 92px; }
.product-media .close { width: 46%; justify-self: end; margin-top: -32%; position: relative; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.product-info h1 { font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; text-wrap: balance; }
.product-info .ctas { margin-top: 26px; }
.product-info .btn { min-width: 220px; }
.story { margin: 34px 0 0; color: var(--ivory); text-wrap: pretty; }
.product-info h2.caps { margin: 34px 0 10px; }
.details-list { margin: 0; padding-left: 1.1em; color: var(--mist); }
.details-list li { margin: 6px 0; }
.size-guide { margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.size-guide summary { cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); min-height: 24px; }
.size-guide p { color: var(--mist); margin: 10px 0 0; }
.designed { margin-top: 26px; color: var(--muted); }
.others { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .product-info .capsule-swatches { margin-left: 0; justify-content: start; }
}

.teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 28px); margin-top: clamp(32px, 5vw, 56px); }
.teaser-piece { text-decoration: none; color: var(--mist); text-align: center; }
.teaser-name { display: block; margin-top: 12px; font-size: 1.05rem; line-height: 1.25; }
.teaser-piece:hover { color: var(--rose-light); }
@media (max-width: 480px) { .teaser { gap: 8px; } .teaser .stage-cloth { border-radius: 10px; padding: 8% 4% 2%; } .teaser-name { font-size: 0.875rem; } }

/* ---------------- Live faces (16 Nov): the dial without hands, and each hand as its own layer, turned to the time
   now by live.js. --h, --m and --s are set on <html>; without the script the hands rest at 10:08:30. */
.live-face { position: relative; display: block; aspect-ratio: 1; overflow: hidden; container-type: inline-size; isolation: isolate; }
.live-face > img, .lf-hands, .lf-hands img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lf-hands { filter: drop-shadow(0.29cqw 0.57cqw 0.29cqw rgba(0, 0, 0, 0.35)); }
.lf-hands img { will-change: transform; }
.lf-h { transform: rotate(var(--h, 304deg)); }
.lf-m { transform: rotate(var(--m, 51deg)); }
.lf-s { transform: rotate(var(--s, 180deg)); }
.clock-live .lf-s { transition: transform 170ms cubic-bezier(0.3, 1.9, 0.55, 1); }
.clock-still .lf-s { transition: none; }
.lf-date {
  position: absolute; left: 0; right: 0; top: 60.238%; transform: translateY(-50%);
  text-align: center; font-family: var(--serif); font-weight: 600; font-size: 3.571cqw; line-height: 1;
  letter-spacing: 0.667cqw; padding-left: 0.667cqw; color: var(--ink); font-variant-numeric: lining-nums;
  font-feature-settings: "lnum"; visibility: hidden; white-space: nowrap;
}
.clock-live .lf-date { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .lf-s { display: none; } }

.wall-live { position: relative; }
.wall-live > img { display: block; width: 100%; height: auto; }
.live-face.on-wall { position: absolute; width: 51.406%; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; }
