/* Oliverx — site styles. Tokens follow the Oliverx brand guide. */
:root {
  --surface: #091E3B;
  --surface-raised: #0F2A4D;
  --surface-deep: #071934;
  --line: #1E3A63;
  --ink: #F3F6FC;
  --ink-muted: #9DADC6;
  --brand-blue: #1A5DFD;
  --brand-navy: #112340;
  --accent: #5B8CFF;
  --on-blue: #FFFFFF;
  --blue-soft: #12305F;
  --focus-ring: #5B8CFF;

  --font-display: "Montserrat", "Avenir Next", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 80px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: max(16px, 4vw); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 68px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: var(--space-4); align-items: center; }
.nav a { color: var(--ink-muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav .btn { color: var(--on-blue); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---------- type ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-3); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.hl { color: var(--accent); }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--ink-muted); max-width: 34em; margin: var(--space-4) 0 0; }
.pillars { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink-muted); margin-top: var(--space-4); }
.pillars span { color: var(--accent); margin: 0 .5em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--radius-md); border: 1.5px solid transparent;
  background: var(--brand-blue); color: var(--on-blue); cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #1449D6; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { background: var(--blue-soft); color: var(--ink-muted); cursor: default; border-color: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--space-7); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-6); align-items: center; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-art .face { position: absolute; border-radius: 50%; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 6px #0b1424, 0 0 0 8px #2a3a55; }
.hero-art .f1 { width: 62%; left: 22%; top: 16%; z-index: 3; }
.hero-art .f2 { width: 40%; left: 0; top: 2%; z-index: 2; opacity: .95; }
.hero-art .f3 { width: 40%; right: 0; bottom: 0; z-index: 2; opacity: .95; }
.glass { position: absolute; border-radius: 22%; background: rgba(26,93,253,.16); border: 1.5px solid rgba(91,140,255,.32); }
.glass.code::after { content: "</>"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); color: var(--accent); font-size: 28px; }
.glass.solid { background: var(--brand-blue); border: 0; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 420px; }
}

/* ---------- sections ---------- */
section.block { padding-block: var(--space-7); }
section.block.alt { background: var(--surface-deep); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head p { color: var(--ink-muted); max-width: 32em; margin: var(--space-3) 0 0; }

/* collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.collection {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.collection:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.collection .faces { display: flex; margin-bottom: var(--space-2); }
.collection .faces img { width: 64px; height: 64px !important; border-radius: 50%; margin-right: -14px; border: 3px solid var(--surface-raised); }
.collection p { color: var(--ink-muted); margin: 0; font-size: 15px; }
.collection .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); margin-top: auto; }
@media (max-width: 860px) { .collections { grid-template-columns: 1fr; } }

/* featured */
.featured {
  display: grid; grid-template-columns: 340px 1fr; gap: var(--space-6); align-items: center;
  background: radial-gradient(120% 140% at 0% 50%, #2a1a12 0%, var(--surface-raised) 55%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6);
}
.featured img { border-radius: 50%; box-shadow: 0 0 0 6px #140d0a, 0 0 60px rgba(255,140,40,.25); }
.featured .tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #FFB46B; background: rgba(255,140,40,.12); border: 1px solid rgba(255,140,40,.35); padding: 4px 10px; border-radius: 999px; margin-bottom: var(--space-3); }
.featured p { color: var(--ink-muted); max-width: 34em; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; padding: var(--space-5); } .featured img { max-width: 260px; margin: 0 auto; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink-muted);
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--on-blue); }

/* catalog grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.card .shot { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, var(--blue-soft), transparent 70%); border-radius: var(--radius-md); }
.card .shot img { width: 82%; border-radius: 50%; box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 5px #0b1424, 0 0 0 7px #2a3a55; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.card .coll { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.status { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status.soon { color: var(--ink-muted); background: var(--blue-soft); }
.status.live { color: #062a1a; background: #45F9B4; }
.card[hidden] { display: none; }

/* apps */
.apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center;
}
.notify { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); }
.notify label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
.notify .row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.notify input {
  flex: 1 1 220px; min-width: 0; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px;
}
.notify input:focus { border-color: var(--accent); outline: none; }
.notify .ok { color: #45F9B4; margin: var(--space-3) 0 0; font-size: 15px; }
.notify small { display: block; color: var(--ink-muted); margin-top: var(--space-3); }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.about p { color: var(--ink-muted); margin: 0 0 var(--space-3); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.stat { border-top: 2px solid var(--brand-blue); padding-top: var(--space-3); }
.stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--surface-deep); border-top: 1px solid var(--line); padding-block: var(--space-6); color: var(--ink-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-5); align-items: start; }
.site-footer img { height: 40px; width: auto; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); flex-basis: 100%; border-top: 1px solid var(--line); padding-top: var(--space-4); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }

/* ---------- product page ---------- */
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-muted); padding-top: var(--space-5); }
.crumbs a { color: var(--ink-muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; padding-block: var(--space-6) var(--space-7); }
.product .stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 45%, var(--blue-soft), transparent 68%); }
.product .stage img { width: 78%; border-radius: 50%; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 8px #0b1424, 0 0 0 10px #2a3a55; }
.product .tagline { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); margin: var(--space-3) 0 0; letter-spacing: -.01em; }
.product .desc { color: var(--ink-muted); margin: var(--space-4) 0 0; max-width: 34em; }
.compat { font-size: 14px; color: var(--ink-muted); margin-top: var(--space-4); }
.compat b { color: var(--ink); font-weight: 600; }
.variants { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.variants button { width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 2px solid var(--line); background: none; cursor: pointer; overflow: hidden; }
.variants button[aria-pressed="true"] { border-color: var(--accent); }
.variants img { width: 100%; height: 100% !important; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.feature { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); }
.feature h3 { font-size: 18px; margin-bottom: var(--space-2); }
.feature p { color: var(--ink-muted); margin: 0; font-size: 15px; }
.color-picker { margin-top: var(--space-4); }
.color-label { margin: 0 0 var(--space-2); font-size: 14px; color: var(--ink-muted); }
.color-label b { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.swatch:hover, .swatch:focus-visible { transform: scale(1.12); box-shadow: 0 0 0 2px var(--ink-muted); outline: none; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.swatch.off { opacity: .45; cursor: default; }
.swatch.off:hover { transform: none; box-shadow: 0 0 0 1.5px var(--line); }
.stage img { transition: opacity .15s; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: var(--space-5); }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .hero > .glass { display: none; } .collections.two { grid-template-columns: 1fr !important; } }
.collections.two { grid-template-columns: repeat(2, 1fr); }

.site-footer .ver { color: var(--ink-muted); opacity: .8; }
.site-footer .ver.test { color: #FFB46B; opacity: 1; }

/* v1.1: On watch view, card hover mockup, gallery */
.card .shot { position: relative; overflow: hidden; }
.card .shot .mock { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); box-shadow: none; opacity: 0; transition: opacity .25s; }
.card:hover .shot .mock, .card:focus-visible .shot .mock { opacity: 1; }
@media (hover: none) { .card:hover .shot .mock { opacity: 0; } }
.grid.show-mock .card .shot .mock { opacity: 1; }
.grid.show-mock .card:hover .shot .mock { opacity: 0; }
@media (hover: none) { .grid.show-mock .card:hover .shot .mock { opacity: 1; } }
.cat-tools { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cat-view { align-self: auto; }
.stage-wrap { display: flex; flex-direction: column; gap: var(--space-3); }
.view-toggle { display: inline-flex; align-self: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.view-toggle button { font: 600 14px var(--font-sans); color: var(--ink-muted); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--brand-blue); color: var(--on-blue); }
.product .stage.watch { background: none; }
.product .stage.watch img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-4); }
.gal-item { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: none; cursor: zoom-in; }
.gal-item img { width: 100%; transition: transform .3s; }
.gal-item:hover img { transform: scale(1.03); }
.gallery:has(.gal-item:only-child) { grid-template-columns: 1fr; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1440px, 94vw); }
.lightbox::backdrop { background: rgba(4,10,22,.88); }
.lightbox img { width: 100%; border-radius: var(--radius-md); }
.lb-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(9,30,59,.8); color: #fff; font-size: 24px; cursor: pointer; }
