/* ==========================================================================
   Watch Vault Insurance — site stylesheet

   Built to the family standard (~/Projects/aveneg-design-kit/family-standard.md)
   from a cut-down copy of the Watch Vault Media site's stylesheet. What that
   fixes here:

     - The family's colour tokens. Do not invent a colour.
     - Headlines (h1, h2) in the system serif; everything else in the system
       sans; labels in mono capitals.
     - Body 18px. No sentence under 15px. Labels 14px. All in rem.
     - 64 to 104px between sections. One left edge: nothing is centred.
     - Brass marks only what can be tapped or what is selected (the owner,
       2026-10-27): the lockups (each a link), the Register interest button
       and a link's underline. Labels and the notice tag are muted.
     - One radius, 3px. No glows.

   No inline style="" anywhere and no script: static/_headers ships a Content
   Security Policy that allows neither.
   ========================================================================== */

:root {
  --ink: #0E0F12;
  --surface: #16181D;
  --surface-2: #1E2128;
  --surface-3: #23262E;
  --line: #2A2E37;
  --text: #E7E4DC;
  --prose: #B9BCC2;
  --muted: #A8ABB2;
  --muted-2: #9297A2;
  --brass: #C6A15B;
  --brass-lit: #D3B273;
  --brass-ink: #15120B;
  --lockup: #D6D5D3;

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --r: 3px;
  --tap: 3rem;

  --wrap: 1080px;                                   /* including gutters */
  --gut: clamp(20px, 5vw, 40px);
  --section: clamp(4rem, 2.5rem + 6vw, 6.5rem);     /* 64 to 104 */

  color-scheme: dark;
}

/* ── reset ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  background: var(--ink);
  color: var(--prose);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

svg { display: block; }

/* A link in a sentence is the sentence's own colour with a brass underline:
   it never depends on colour alone. */
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brass-lit); }
::selection { background: var(--brass); color: var(--brass-ink); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--r); }

/* ── layout ──────────────────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: var(--section); }
.section::before {
  content: ""; position: absolute; top: 0;
  left: var(--gut); right: var(--gut);
  border-top: 1px solid var(--line);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brass); color: var(--brass-ink); padding: 14px 18px;
  font: 600 .875rem/1 var(--mono); text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* ── type ────────────────────────────────────────────────────────────────── */

/* Labels: mono capitals, 14px. */
.eyebrow, .notice-tag {
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
}

h1, h2, h3 { color: var(--text); font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); }

.display {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);    /* 36 to 56 */
  line-height: 1.08;
  letter-spacing: -.012em;
}
h2 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem);    /* 28 to 34 */
  line-height: 1.18;
  max-width: 24ch;
}
h3 { font-size: clamp(1.25rem, 1.2rem + .2vw, 1.375rem); line-height: 1.3; }

.lead {
  font-size: clamp(1.1875rem, 1.13rem + .25vw, 1.3125rem);   /* 19 to 21 */
  line-height: 1.5;
  max-width: 34rem;
  text-wrap: pretty;
}
p { max-width: 38rem; text-wrap: pretty; }

/* ── notice bar and masthead ─────────────────────────────────────────────── */

.notice { background: var(--surface); border-bottom: 1px solid var(--line); }
.notice-in {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 16px;
  padding-block: 12px;
  font-size: .9375rem; line-height: 1.4;
}
/* Outlined, as the family's notice tag is, but muted: a date cannot be
   tapped, so it takes no brass here. */
.notice-tag {
  letter-spacing: .12em;
  color: var(--text);
  border: 1px solid var(--muted-2);
  border-radius: var(--r);
  padding: 4px 8px;
  white-space: nowrap;
}

.masthead { border-bottom: 1px solid var(--line); }
.brand { display: inline-block; padding-block: 12px; text-decoration: none; }

/* The lockup, 40px high, set in type as watchvaultarchive.com sets its own:
   the name in --lockup, VAULT and the ring in brass, the sub-line muted, the
   TM in the sans face and the text colour (standard 4.1). */
.lockup { display: flex; align-items: center; gap: 12px; height: 40px; }
.lockup-mark { width: 40px; height: 40px; flex: none; color: var(--brass); }
.lockup-text { display: flex; flex-direction: column; gap: 6px; }
.lockup-name {
  font: 600 1.0625rem/1 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lockup);
  white-space: nowrap;
}
.lockup-name b { color: var(--brass); font-weight: 600; }
/* A real space between Watch and Vault, drawn at almost no width, so
   anything that reads the logo gets "Watch Vault", not "WatchVault". */
.lockup-gap { font-size: 1px; letter-spacing: 5px; }
.lockup-tm {
  font-size: max(8px, .5em);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  color: var(--text);
}
.lockup-sub {
  font: 500 .6875rem/1 var(--mono);                 /* 11px, the one thing under 14 */
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  padding: 0 1.5rem;
  background: var(--surface-2);
  /* muted-2, not a hairline colour: an older eye must see the edge. */
  border: 1px solid var(--muted-2);
  border-radius: var(--r);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
}
.btn:hover { background: var(--surface-3); color: var(--text); }
.btn.primary { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); font-weight: 600; }
.btn.primary:hover { background: var(--brass-lit); border-color: var(--brass-lit); color: var(--brass-ink); }

/* ── hero: the product on the left, the family on the right ─────────────────────
   One column on a phone (the name first, so the h1 is on the first screen);
   two from 960, the family column the narrower. */

.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem) var(--section); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
@media (min-width: 60em) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: start; } }
.hero .eyebrow { margin-bottom: 20px; }
.hero .lead { margin-top: 24px; }
/* The tagline under the name: the Title role (serif, 28 to 34), as the
   standard sets h2. */
.hero .tagline { margin-top: 16px; }
.hero-main > p { margin-top: 16px; max-width: 34rem; }
.hero-main > .lead { margin-top: 24px; }
.hero-main > h3 { margin-top: 48px; }
.hero-main > h3 + p { margin-top: 12px; }
.hero-main > .close { margin-top: 32px; color: var(--text); }
.hero-main strong { font-weight: 600; }
.cta { margin-top: 32px; }
.cta .fine { margin-top: 12px; font-size: .9375rem; line-height: 1.6; max-width: 30rem; }

/* The family: one bordered plate, a product to a row, a hairline between. */
.family { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.family > .eyebrow { max-width: none; margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.promo { padding: 24px; }
.promo + .promo { border-top: 1px solid var(--line); }
.promo-mark { display: inline-block; text-decoration: none; }
.promo-text { margin-top: 16px; font-size: 1.0625rem; }     /* 17px, body inside a card */
.promo-facts {
  display: flex; flex-wrap: wrap; column-gap: .5em;
  margin-top: 12px;
  font: 500 .875rem/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.promo-facts span { white-space: nowrap; }
.promo .btn { margin-top: 20px; }

/* The Media and Tracker lockups are the owner's artwork as inline SVG, never
   redrawn. Sized by height, coloured here (their sites' own classes). */
.product-lockup { height: 40px; width: auto; }
.lk-ring { fill: none; stroke: var(--brass); stroke-width: 3; stroke-miterlimit: 10; }
.lk-brass { fill: var(--brass); }
.lk-word { fill: var(--lockup); }
.lk-sub { fill: var(--muted); }
.lk-tm { fill: var(--text); font-family: var(--sans); font-size: 30px; font-weight: 500; letter-spacing: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── footer ──────────────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding-block: 48px; background: var(--surface); font-size: .9375rem; line-height: 1.6; }
.foot p + p, .foot p + ul, .foot ul + p { margin-top: 8px; }
/* The addresses: a list, each a 48px target, two across from 720. */
.foot-mail { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; max-width: 44rem; }
@media (min-width: 45em) { .foot-mail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-mail li { display: flex; align-items: center; gap: 12px; min-height: var(--tap); color: var(--muted); }
.foot-mail a { overflow-wrap: anywhere; }
