/* ═══════════════════════════════════════════════════════════════
   M² — "MIDNIGHT INSTRUMENT" · v5
   A flagship-tech product site. Near-black, hairlines, one green.
   Unbounded / Manrope / IBM Plex Mono.
   ═══════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Archivo', 'Helvetica Neue', sans-serif;
  --fm: 'JetBrains Mono', 'Courier New', monospace;
  --bg: #0A0F1C;
  --srf: #111827;
  --line: #253048;
  --txt: #EDE7DA;
  --mut: #A79F8C;
  --gold: #D6AC5C;
  --gold-d: #8F6F1D;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--fb);
  font-weight: 300;
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(214, 172, 92, 0.35); }

/* ═══════════ THE SKY — one firmament, Fajr to Isha ═══════════ */
#sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#skyGrad {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 800vh;
  will-change: transform;
  /* stop positions account for the visible band: a viewport shows
     rows [s·⅞ … s·⅞+⅛], so sky value s lives at 0.875·s + 0.0625 */
  background: linear-gradient(180deg,
    #070B14 0%, #070B14 6.25%, #0B1120 13.3%, #0E1526 20.3%, #1A2036 27.3%,
    #3B3A55 32.5%, #8A6A5A 36%, #C99A6B 39.5%, #E8D9BC 43%,
    #F5F1E6 47.4%, #F3EEE0 54.4%, #F0E8D4 60.5%, #EBD8AF 65.8%,
    #E2C48F 70.1%, #CD9A6B 74.5%, #96604F 78.9%, #533D4C 83.2%,
    #232238 87.6%, #0A0F1B 93.75%, #0A0F1B 100%);
}
#stars { position: absolute; inset: 0; will-change: opacity; }
#stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(237, 231, 218, 0.85);
  animation: star 5s ease-in-out infinite;
}
#stars i.big { width: 3px; height: 3px; box-shadow: 0 0 6px rgba(237,231,218,0.8); }
@keyframes star { 0%,100% { opacity: 0.15; } 50% { opacity: 0.85; } }
#stars .meteor {
  position: absolute; width: 110px; height: 1px;
  background: linear-gradient(90deg, rgba(237,231,218,0.9), transparent);
  transform: rotate(215deg); transform-origin: left center;
  opacity: 0; animation: meteor 13s linear infinite;
}
#stars .meteor.m2 { animation-delay: 7.5s; animation-duration: 17s; }
@keyframes meteor {
  0% { opacity: 0; translate: 0 0; }
  1.5% { opacity: 0.9; }
  5% { opacity: 0; translate: -300px 210px; }
  100% { opacity: 0; translate: -300px 210px; }
}
#orb { position: absolute; left: 0; top: 0; will-change: transform; }
#orb .sun {
  position: absolute; left: -110px; top: -110px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 244, 214, 0.8) 0%, rgba(255, 226, 160, 0.6) 10%,
    rgba(240, 190, 110, 0.25) 32%, rgba(230, 170, 90, 0.09) 52%,
    transparent 70%);
  will-change: opacity;
}
#sky .moon {
  position: absolute; left: 0; top: 0;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  will-change: opacity;
  filter: drop-shadow(0 0 26px rgba(237, 231, 218, 0.35));
}
main, footer, #nav, #menu { position: relative; z-index: 1; }
#nav, #menu { z-index: 80; }

/* daylight sections: the same components, re-inked for a bright sky */
[data-tone="light"] {
  --txt: #17130B;
  --mut: #5E5645;
  --srf: rgba(255, 252, 243, 0.55);
  --line: rgba(23, 19, 11, 0.22);
  --gold: #8F6F1D;
  color: var(--txt);
}
[data-tone="light"] .feats li:hover { background: rgba(255, 252, 243, 0.85); }
[data-tone="light"] .ed-tabs button.on { color: #F7F1E2; }
[data-tone="light"] .gal-strip figure:hover { border-color: rgba(23, 19, 11, 0.4); }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 95;
  background: var(--gold); color: #1A1408;
  font-family: var(--fm); font-size: 0.72rem;
  padding: 10px 18px; text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* reveals */
.js .r { opacity: 0; transform: translateY(22px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .r.in { opacity: 1; transform: none; }
.js .r.d1 { transition-delay: 100ms; }
.js .r.d2 { transition-delay: 200ms; }
.js .r.d3 { transition-delay: 300ms; }

/* ═══════════ NAV ═══════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 4vw, 44px);
  height: 62px;
  background: rgba(10, 15, 28, 0.85);
  border-bottom: 1px solid var(--line);
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
#nav::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: calc(var(--scrollp, 0) * 100%);
  background: var(--gold);
  transition: width 120ms linear;
}
#nav .logo img {
  height: 22px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
#nav .links { display: flex; gap: clamp(14px, 2.2vw, 30px); }
#nav .links a { text-decoration: none; color: var(--mut); transition: color 300ms var(--ease); padding: 6px 0; }
#nav .links a:hover { color: var(--txt); }
#nav .links a.on { color: var(--gold); }
#nav .right { display: flex; align-items: center; gap: 12px; }
#nav .langs { display: flex; gap: 2px; }
#nav .langs button {
  font: inherit; color: var(--mut); letter-spacing: 0.1em;
  background: none; border: none; cursor: pointer;
  padding: 6px 5px;
}
#nav .langs button.on { color: var(--gold); }
#nav .burger {
  display: none;
  background: none; border: none; cursor: pointer; color: var(--txt);
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
#nav .burger span { display: block; width: 18px; height: 1px; background: currentColor; }
@media (max-width: 1020px) {
  #nav .links { display: none; }
  #nav .burger { display: flex; }
}

/* mobile menu */
#menu {
  position: fixed; inset: 0; z-index: 79;
  background: rgba(10, 15, 28, 0.97);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0 clamp(28px, 8vw, 60px);
  gap: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity 400ms var(--ease);
}
#menu.open { opacity: 1; pointer-events: auto; }
#menu a {
  font-family: var(--fd);
  font-weight: 400;
  font-size: clamp(1.5rem, 6.5vw, 2.4rem);
  color: var(--txt);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between;
}
#menu a .mi { font-family: var(--fm); font-size: 0.6rem; color: var(--gold); }
#menu .m-langs { display: flex; gap: 12px; margin-top: 34px; }
#menu .m-langs button {
  font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.14em;
  background: none; border: 1px solid var(--line);
  color: var(--txt); padding: 10px 16px; cursor: pointer;
}
#menu .m-langs button.on { border-color: var(--gold); color: var(--gold); }

/* ═══════════ SHARED ═══════════ */
section { position: relative; border-bottom: 1px solid var(--line); }
.wrap { max-width: 1400px; margin: 0 auto; padding: clamp(80px, 11vh, 140px) clamp(20px, 4vw, 48px); }

h1, h2, h3 { font-family: var(--fd); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.08; }
h2 em, h1 em { font-style: normal; color: var(--gold); }

.eyebrow {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }

.lede { font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.75; max-width: 520px; color: var(--mut); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fm); font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #1A1408; background: var(--gold);
  border: 1px solid var(--gold);
  padding: 17px 30px;
  text-decoration: none;
  transition: background 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:hover { background: #E3BF70; border-color: #E3BF70; }
.btn.ghost { background: transparent; color: var(--txt); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════ HERO — the night of Fajr ═══════════ */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
#hero .wrap {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(20px, 3vw, 60px);
  padding-top: 130px;
  padding-bottom: 40px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 30px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(214,172,92,0.5); } 50% { opacity: 0.7; box-shadow: 0 0 0 7px rgba(214,172,92,0); } }
#hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 600;
}
#hero h1 .hl { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
#hero h1 .hl-in { display: inline-block; animation: hlIn 850ms var(--ease) both; }
@keyframes hlIn { from { transform: translateY(112%); } }
#hero .lede { margin-top: 30px; }
#hero .hero-ctas { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: visIn 1100ms var(--ease) 450ms both;
}
@keyframes visIn { from { opacity: 0; transform: scale(0.96) translateY(16px); } }
.hero-visual::before {
  content: '';
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 172, 92, 0.13) 0%, rgba(214, 172, 92, 0.04) 45%, transparent 70%);
}
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: 4%;
  width: 56%; height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(6px);
}
.hero-visual img {
  position: relative;
  width: min(30vw, 400px);
  z-index: 1;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6));
  animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* the live data bar */
.live-bar {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto auto 1fr;
  font-family: var(--fm);
  background: rgba(17, 24, 39, 0.55);
}
.live-bar > div {
  padding: 18px clamp(16px, 2.4vw, 38px);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.live-bar > div:last-child { border-right: none; }
.live-bar .k {
  font-size: 0.52rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mut);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.live-bar .k .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-in-out infinite; }
.live-bar .t {
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--txt);
  line-height: 1;
}
.live-bar .hijri {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
  margin-top: 8px;
}
.live-bar .next { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 2; color: var(--mut); }
.live-bar .next b { color: var(--gold); font-weight: 500; }
.live-bar .times { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; align-self: center; }
.live-bar .times > div { text-align: center; padding: 4px 2px; }
.live-bar .times .p { font-size: 0.5rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); display: block; margin-bottom: 8px; }
.live-bar .times .v { font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.live-bar .times > div.live .p, .live-bar .times > div.live .v { color: var(--gold); }
.bar-note {
  font-size: 0.66rem; line-height: 1.6; color: var(--mut); opacity: 0.7;
  padding: 10px clamp(20px, 4vw, 48px) 16px;
  max-width: 760px;
}
@media (max-width: 900px) {
  .live-bar { grid-template-columns: 1fr 1fr; }
  .live-bar .times { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 12px 0; }
}

/* ═══════════ STORY ═══════════ */
#story .headline {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  max-width: 940px;
  font-weight: 500;
}
#story .headline em, #story .headline .acc { color: var(--gold); font-style: normal; }
.story-cols {
  columns: 2; column-gap: clamp(40px, 5vw, 90px);
  max-width: 1060px;
  margin-top: 46px;
  font-size: 0.95rem; line-height: 1.85; color: var(--mut);
}
.story-cols p { break-inside: avoid; margin-bottom: 20px; }
.story-cols strong { color: var(--txt); font-weight: 500; }
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border: 1px solid var(--line);
  background: var(--srf);
}
.stat-band > div { padding: 30px clamp(16px, 2vw, 34px); border-right: 1px solid var(--line); }
.stat-band > div:last-child { border-right: none; }
.stat-band .sn {
  font-family: var(--fd); font-weight: 600;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1; color: var(--gold);
  display: block; margin-bottom: 14px;
}
.stat-band p { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.8; color: var(--mut); }
@media (max-width: 860px) {
  .story-cols { columns: 1; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band > div { border-bottom: 1px solid var(--line); }
}

/* ═══════════ PRODUCT ═══════════ */
#product .duo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}
#product .duo .pv {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
#product .duo .pv::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%;
  opacity: 0.35;
  pointer-events: none;
}
#product .duo img {
  width: 100%; max-width: 460px;
  position: relative;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
  padding: 8%;
}
.spec-table { margin-top: 40px; border-top: 1px solid var(--line); }
.spec-table .row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: clamp(12px, 2vw, 26px);
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--fm);
}
.spec-table .n { font-size: 0.55rem; color: var(--gold); }
.spec-table .k { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); }
.spec-table .v { font-size: 0.82rem; text-align: right; color: var(--txt); }
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 70px; }
.model { background: var(--srf); padding: 30px; }
.model .code { font-family: var(--fm); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 12px; }
.model .nm { font-family: var(--fd); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
.model .d { font-family: var(--fm); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--mut); margin-top: 12px; }
@media (max-width: 900px) {
  #product .duo { grid-template-columns: 1fr; gap: 40px; }
  .models { grid-template-columns: 1fr; }
}

/* editions — segmented control */
.eds { margin-top: 90px; }
.eds .sub-h { font-family: var(--fd); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; margin-bottom: 30px; }
.ed-tabs { display: inline-flex; border: 1px solid var(--line); background: var(--srf); }
.ed-tabs button {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mut);
  background: none; border: none;
  border-right: 1px solid var(--line);
  padding: 14px 28px;
  cursor: pointer;
  transition: color 300ms var(--ease), background 300ms var(--ease);
}
.ed-tabs button:last-child { border-right: none; }
.ed-tabs button.on { color: #1A1408; background: var(--gold); }
.ed-desc { max-width: 760px; font-size: 0.95rem; line-height: 1.8; color: var(--mut); min-height: 6em; padding-top: 28px; }
.ed-desc strong { color: var(--txt); }
.ed-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }
.ed-feats > div { background: var(--srf); padding: 24px; }
.ed-feats strong { font-family: var(--fd); font-size: 0.95rem; font-weight: 500; display: block; margin-bottom: 10px; }
.ed-feats p { font-size: 0.84rem; line-height: 1.65; color: var(--mut); }
.journey { margin-top: 40px; }
.journey .jl { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.journey ol { list-style: none; border-left: 1px solid var(--line); }
.journey li { position: relative; padding: 0 0 22px 28px; }
.journey li::before {
  content: '';
  position: absolute; left: -3px; top: 8px;
  width: 5px; height: 5px;
  background: var(--mut);
}
.journey li.key::before { background: var(--gold); box-shadow: 0 0 8px rgba(214, 172, 92, 0.6); }
.journey strong { font-size: 1rem; font-weight: 500; display: block; color: var(--txt); }
.journey span { font-family: var(--fm); font-size: 0.7rem; color: var(--mut); }
@media (max-width: 720px) { .ed-feats { grid-template-columns: 1fr; } }

/* ═══════════ 360° INSPECT ═══════════ */
#inspect { text-align: center; }
#inspect .eyebrow { justify-content: center; }
#inspect .eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--gold); }
#inspect h2 { margin-bottom: 10px; }
#inspect .sub { font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut); }
.turn-stage {
  position: relative;
  max-width: 640px;
  margin: 30px auto 0;
  touch-action: pan-y;
}
#turnCanvas {
  width: 100%;
  aspect-ratio: 1;
  cursor: grab;
  display: block;
}
.turn-stage.dragging #turnCanvas { cursor: grabbing; }
.turn-ring {
  position: absolute;
  left: 50%; bottom: 8%;
  transform: translateX(-50%);
  width: 74%; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.turn-hint {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--fm); font-size: 0.58rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mut);
  margin-top: 18px;
}
.turn-hint::before, .turn-hint::after { content: ''; width: 26px; height: 1px; background: var(--line); }
.turn-deg { color: var(--gold); font-variant-numeric: tabular-nums; min-width: 4ch; display: inline-block; }

/* ═══════════ THE LAB — white room teardown ═══════════ */
#lab { padding: 0; background: #F3EEE0; color: #111; }
.zw-wrap { position: relative; height: 260vh; }
.zw-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #F3EEE0; }
#zawalCanvas { position: absolute; inset: 0; display: block; mix-blend-mode: multiply; filter: brightness(1.07); }
.lab-mark {
  position: absolute;
  top: 88px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--fm); font-size: 0.6rem;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-d);
  z-index: 4;
  display: flex; align-items: center; gap: 12px;
}
.lab-mark::before, .lab-mark::after { content: ''; width: 26px; height: 1px; background: var(--gold-d); }
.ann-card {
  position: absolute;
  bottom: 100px; left: 52px;
  width: 300px;
  background: #FBF8F0;
  border: 1px solid #D6D0C0;
  border-left: 3px solid var(--gold-d);
  padding: 22px 26px 22px 24px;
  opacity: 0;
  transform: translate3d(-8px, 10px, 0);
  transition: opacity 460ms var(--ease), transform 620ms var(--ease);
  pointer-events: none;
  z-index: 4;
  color: #17130B;
}
.ann-card.visible { opacity: 1; transform: none; }
.ann-num { font-family: var(--fm); font-size: 0.56rem; color: var(--gold-d); letter-spacing: 3px; margin-bottom: 12px; }
.ann-title { font-family: var(--fd); font-size: 1.35rem; font-weight: 500; margin-bottom: 8px; }
.ann-desc { font-size: 0.8rem; line-height: 1.65; color: #55524A; }
.zw-dots { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 4; }
.zw-dots i { width: 6px; height: 6px; background: #CBC5B2; transition: background 300ms; }
.zw-dots i.on { background: var(--gold-d); }
@media (max-width: 700px) {
  .ann-card { left: 16px; right: 16px; width: auto; bottom: 24px; }
  .ann-desc { display: none; }
}

/* ═══════════ FEATURES — card grid ═══════════ */
#features .intro { font-size: 0.95rem; line-height: 1.8; color: var(--mut); max-width: 520px; margin-top: 20px; }
.feats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 50px;
}
.feats li {
  background: var(--srf);
  padding: 30px 28px;
  position: relative;
  transition: background 400ms var(--ease);
}
.feats li:hover { background: #16203A; }
.feats li:hover .fi { border-color: var(--gold); }
.feats .top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.feats .fi {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: border-color 400ms var(--ease);
}
.feats .fi svg { width: 24px; height: 24px; display: block; }
.feats .no { font-family: var(--fm); font-size: 0.58rem; color: var(--mut); letter-spacing: 0.2em; }
.feats .name { font-family: var(--fd); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.feats .what { font-size: 0.85rem; line-height: 1.7; color: var(--mut); margin-top: 10px; }
.feats .statcell {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  background: linear-gradient(160deg, rgba(143, 111, 29, 0.28), rgba(143, 111, 29, 0.06));
}
.feats .statcell .big {
  font-family: var(--fd); font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1; color: var(--gold);
}
.feats .statcell .what { font-family: var(--fm); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ═══════════ GALLERY ═══════════ */
#gallery .gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
#gallery .gal-sub { font-size: 0.92rem; color: var(--mut); max-width: 420px; }
.gal-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  padding: 44px clamp(20px, 4vw, 48px) 60px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  cursor: grab;
  user-select: none;
}
.gal-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.gal-strip figure {
  flex: 0 0 auto;
  scroll-snap-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 500ms var(--ease), border-color 500ms var(--ease);
}
.gal-strip figure:hover { transform: translateY(-6px); border-color: #3A3A40; }
.gal-strip img { width: auto; height: 400px; display: block; pointer-events: none; }
.gal-strip figure:nth-child(even) img { height: 330px; }
@media (max-width: 700px) {
  .gal-strip img { height: 320px; }
  .gal-strip figure:nth-child(even) img { height: 270px; }
}

/* ═══════════ COLOURS ═══════════ */
#colours { text-align: center; }
#colours .eyebrow { justify-content: center; }
#colours .eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--gold); }
#colours .c-sub { font-size: 0.92rem; color: var(--mut); margin-top: 14px; }
.col-visual { position: relative; height: min(52vw, 440px); max-width: 560px; margin: 26px auto 0; }
.col-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  filter: drop-shadow(0 40px 46px rgba(0, 0, 0, 0.55));
}
.col-visual img.on { opacity: 1; transform: none; }
.col-name {
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-top: 6px;
  animation: colIn 500ms var(--ease);
}
@keyframes colIn { from { opacity: 0; transform: translateY(8px); } }
.swatches { display: flex; gap: 14px; justify-content: center; margin: 34px 0 22px; }
.swatches button {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  outline: 1px solid transparent;
  outline-offset: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: outline-color 300ms var(--ease), transform 250ms var(--ease);
}
.swatches button:hover { transform: translateY(-3px); }
.swatches button.on { outline-color: var(--gold); }
.swatches button:focus-visible { outline-color: var(--txt); }
.col-panel { display: none; }
.col-panel.on { display: block; animation: colIn 500ms var(--ease); }
.col-panel .pt { font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mut); display: block; margin-bottom: 16px; }
.col-panel .sym { font-size: 0.95rem; line-height: 1.75; color: var(--mut); max-width: 520px; margin: 0 auto; }

/* ═══════════ CONTACT / CLOSE ═══════════ */
#contact .close-head { text-align: center; max-width: 760px; margin: 0 auto; }
#contact .close-head .lede { margin: 24px auto 0; }
.cert-card {
  max-width: 680px;
  margin: 50px auto 0;
  border: 1px solid var(--gold-d);
  background: linear-gradient(180deg, rgba(143, 111, 29, 0.12), rgba(143, 111, 29, 0.03));
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  text-align: center;
}
.cert-card::before, .cert-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.cert-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cert-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cert-card .seal-logo {
  height: 40px; margin: 0 auto 22px; display: block; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.cert-card .cq { font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.8; color: var(--txt); }
.cert-card .cq em { font-style: normal; color: var(--gold); }

.block { max-width: 1060px; margin: 110px auto 0; }
.block > .sub-h {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 34px;
}
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.legal-grid > div { background: var(--srf); padding: 24px; }
.legal-grid h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; }
.legal-grid p { font-size: 0.8rem; line-height: 1.7; color: var(--mut); }
.legal-foot { font-family: var(--fm); font-size: 0.64rem; line-height: 2; color: var(--mut); margin-top: 22px; text-align: center; }
@media (max-width: 780px) { .legal-grid { grid-template-columns: 1fr; } }

.partners-lead { font-size: 0.95rem; line-height: 1.8; color: var(--mut); max-width: 620px; margin: 0 auto 40px; text-align: center; }
.partner-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-cols > div { background: var(--srf); padding: 28px 26px; }
.partner-cols h3 { font-family: var(--fd); font-size: 1.25rem; font-weight: 500; margin-bottom: 12px; }
.partner-cols p { font-size: 0.82rem; line-height: 1.7; color: var(--mut); }
.partners-note {
  font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  text-align: center; margin-top: 32px; line-height: 2;
}
.partners-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
@media (max-width: 780px) { .partner-cols { grid-template-columns: 1fr; } }

.contact-sub { font-size: 0.95rem; line-height: 1.8; color: var(--mut); text-align: center; max-width: 560px; margin: 0 auto 40px; }
.contact-list { border: 1px solid var(--line); background: var(--srf); }
.contact-list a {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) 1fr auto;
  gap: clamp(14px, 3vw, 40px);
  align-items: center;
  padding: 24px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 300ms var(--ease);
}
.contact-list a:last-child { border-bottom: none; }
.contact-list a:hover { background: #16203A; }
.contact-list a:hover .arrow { transform: translate(4px, -4px); color: var(--gold); }
.contact-list .who { font-family: var(--fd); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; }
.contact-list .addr {
  font-family: var(--fm);
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  color: var(--gold);
  word-break: break-all;
}
.contact-list .role { grid-column: 1 / 3; font-size: 0.78rem; color: var(--mut); margin-top: -12px; padding-bottom: 4px; }
.contact-list .arrow { font-family: var(--fm); color: var(--mut); transition: transform 300ms var(--ease), color 300ms var(--ease); grid-row: 1; grid-column: 3; }
.meta-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.meta-row .k { font-family: var(--fm); font-size: 0.52rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mut); display: block; margin-bottom: 8px; }
.meta-row .v { font-size: 0.85rem; }
@media (max-width: 700px) { .meta-row { grid-template-columns: 1fr 1fr; } }

.recognition { margin: 110px auto 0; padding-top: 56px; border-top: 1px solid var(--line); max-width: 1060px; }
.rec-label {
  font-family: var(--fm); font-size: 0.56rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--mut); margin-bottom: 40px; text-align: center;
}
.rec-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.rec-item { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0.5; transition: opacity 0.25s ease; }
.rec-item:hover { opacity: 0.9; }
.rec-item img { height: 46px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.rec-item span { font-family: var(--fm); font-size: 0.54rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.rec-divider { width: 1px; height: 40px; background: var(--line); }
@media (max-width: 600px) { .rec-divider { display: none; } .rec-logos { gap: 32px; } }

footer {
  color: var(--mut);
  text-align: center;
  padding: 60px 20px 70px;
}
footer .f-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 20px;
}
footer .f-copy { font-family: var(--fm); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; }
footer .f-privacy {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--fm); font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mut);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
footer .f-privacy:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════ PRIVACY PAGE ═══════════ */
.pp-main { max-width: 760px; margin: 0 auto; padding: 150px 24px 90px; }
.pp-main h1 { font-family: var(--fd); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
.pp-updated { font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mut); margin-top: 18px; }
.pp-intro { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--txt); margin-top: 34px; max-width: 600px; }
.pp-main section { padding: 0; margin-top: 56px; border: none; border-top: 1px solid var(--line); padding-top: 28px; }
.pp-main h2 { font-family: var(--fd); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; color: var(--gold); margin-bottom: 14px; }
.pp-main section p { font-size: 0.94rem; line-height: 1.85; color: var(--mut); }
.pp-main section a { color: var(--gold); text-underline-offset: 3px; }
.pp-back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 70px;
  font-family: var(--fm); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--txt); text-decoration: none;
  border: 1px solid var(--line);
  padding: 14px 24px;
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.pp-back:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 980px) {
  #hero .wrap { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-visual { order: 2; margin-top: 10px; }
  .hero-visual img { width: min(54vw, 290px); }
}
