/* Pharaoh Vision — front door
   Palette (deuteran-safe, high contrast):
     bg #0b0e13  ink #e7ecf3  gold #d8b24a  muted #9fb0c6
   Meaning is never carried by red-vs-green alone — labels, shape,
   brightness and weight do the work. System fonts only, no trackers. */

:root {
  --bg:        #0b0e13;
  --bg-2:      #11161f;   /* alt band — a notch lighter than bg */
  --panel:     #161d28;   /* cards */
  --line:      #26303f;   /* hairlines / borders */
  --ink:       #e7ecf3;
  --muted:     #9fb0c6;
  --gold:      #d8b24a;
  --gold-ink:  #1a1405;   /* dark text that sits on gold */
  --radius:    16px;
  --maxw:      1080px;
  --ease:      cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* Visible focus for keyboard users — gold ring, never colour-only */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 50;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { left: 12px; text-decoration: none; }

/* ---------- Header ---------- */
.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--gold); display: inline-flex; }
.brand-name { letter-spacing: -0.01em; font-size: 1.06rem; }

.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .site-nav { display: none; } }

/* ---------- Shared bits ---------- */
.eyebrow {
  margin: 0 0 14px; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700;
  color: var(--gold);
}
.accent { color: var(--gold); }
em { font-style: normal; color: var(--ink); border-bottom: 1px dotted var(--muted); }

.btn {
  --pad-y: 14px;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 1px;
  padding: var(--pad-y) 22px; border-radius: 12px;
  font-weight: 650; font-size: 1.02rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .btn-sub { font-size: 0.74rem; font-weight: 500; opacity: 0.82; letter-spacing: 0.01em; }
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary .btn-sub { color: var(--gold-ink); }
.btn-primary:hover { background: #e6c25e; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn.sm { flex-direction: row; align-items: center; gap: 8px; padding: 12px 20px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 84px); }
.hero::before {
  /* soft, off-centre glow — pure dark-on-dark, no colour-coded meaning */
  content: ""; position: absolute; inset: -20% 30% auto -10%; height: 520px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(216,178,74,0.16), transparent 70%);
  pointer-events: none; filter: blur(6px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); margin-bottom: 18px; }
.lede { font-size: clamp(1.05rem, 2.1vw, 1.28rem); color: var(--muted); max-width: 46ch; margin: 0; }
.lede strong { color: var(--ink); }

.hero-art {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 13px; font-size: 0.92rem; color: var(--ink);
}
.chip::before {
  /* the swatch dot — meaning is still spelled out in the label beside it */
  content: ""; width: 18px; height: 18px; border-radius: 6px;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); flex: 0 0 auto;
}
.chip b { font-weight: 600; }
.hero-art-cap { margin: 16px 2px 0; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: 2; }
}

/* ---------- Bands ---------- */
.band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-2); }
.band-head { max-width: 60ch; margin-bottom: 38px; }
.band-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.band-sub { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }

/* Lens */
.lens-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 34px; align-items: start; }
.lens-copy p { color: var(--muted); font-size: 1.06rem; margin: 0 0 22px; max-width: 56ch; }
.lens-copy p em { color: var(--ink); }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  /* shape carries the "yes/included" meaning, not colour */
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--gold); font-weight: 800;
}

.note {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 14px; padding: 22px 22px;
}
.note h3 { font-size: 1.05rem; margin-bottom: 10px; }
.note p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.note strong { color: var(--ink); }

@media (max-width: 820px) { .lens-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Glasses modes */
.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.mode:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.mode-icon { font-size: 1.9rem; line-height: 1; display: block; margin-bottom: 14px; }
.mode h3 { font-size: 1.2rem; margin-bottom: 8px; }
.mode p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.mode p em { color: var(--ink); }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } }

/* Privacy */
.privacy { border-top: 1px solid var(--line); }
.privacy-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; max-width: 760px;
}
.privacy-mark { color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.privacy-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.privacy-card p { color: var(--muted); margin: 0; font-size: 1.04rem; }
.privacy-card strong { color: var(--ink); }
@media (max-width: 560px) { .privacy-card { flex-direction: column; gap: 12px; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.foot-brand { font-weight: 700; margin: 0; }
.foot-legal { color: var(--muted); font-size: 0.86rem; margin: 0; }
