/* =====================================================================
   The Legal Vault — shared stylesheet
   Gloss black + gold. Used by every page on the site.
   ===================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --black: #0c0c0c;
  --charcoal: #161616;
  --gold: #c9a84c;
  --gold-light: #e4d4a5;
  --gold-hi: #e2c36d;
  --parchment: #f4efe6;
  --muted: rgba(244, 239, 230, 0.65);
  --line: rgba(201, 168, 76, 0.55);
  --metal-gold: linear-gradient(180deg,#fbe7a6 0%,#e0c26a 35%,#b8902f 50%,#d6b555 75%,#f0d68a 100%);
  --piano: linear-gradient(180deg,#141414 0%,#050505 55%,#000 100%);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; }
body {
  background: transparent;
  color: var(--parchment);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Inner pages were built on a zero-margin reset; the homepage uses browser defaults.
   :where() keeps this at zero specificity so every rule below can override it. */
:where(body.page) :where(h1,h2,h3,h4,p,ul,ol,form,label,figure) { margin: 0; padding: 0; }
input, select, textarea, button { font: inherit; }

/* ---------- 3. Gloss background (fixed layer that flows on scroll) ---------- */
.bg-flow { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #000; }
.bg-img {
  position: absolute; left: -5%; top: -10.5%; width: 110%; height: 130.5%;
  background: url('../img/bg-gloss-hq.jpg') center/cover no-repeat;
  will-change: transform; transform-origin: 50% 40%;
}
.bg-sheen {
  position: absolute; inset: -50%; will-change: transform; mix-blend-mode: screen;
  background: linear-gradient(115deg,transparent 42%,rgba(255,226,150,0.10) 48%,rgba(255,245,215,0.16) 50%,rgba(255,226,150,0.10) 52%,transparent 58%);
}
@media (prefers-reduced-motion: reduce) { .bg-img, .bg-sheen { transform: none !important; } }

/* darken only the centre slightly so text stays readable; edges keep full gloss */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 42%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 80%);
}

/* ---------- 4. Layout ---------- */
.container {
  position: relative; z-index: 1;
  width: 100%; max-width: calc(1100px + 3rem);
  margin: 0 auto; padding: 0 1.5rem;
  flex: 1 0 auto;
}

/* ---------- 5. Header + nav ---------- */
.site-header {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg,transparent,var(--gold),transparent) 1;
}
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand a { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; display: block; filter: none; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: var(--parchment); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }
.enter-vault {
  background: rgba(0,0,0,.65); color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.55rem 1.1rem; font-size: 0.72rem !important; letter-spacing: 0.12em;
}
.enter-vault:hover { background: rgba(201,168,76,.12); }
.menu-btn { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.3rem 0.4rem; }

/* ---------- 6. Buttons ---------- */
.btn-gold, .btn {
  display: inline-block;
  background: var(--metal-gold);
  color: #0a0a0a; font-weight: 600;
  padding: 0.85rem 1.6rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px rgba(255,230,160,.4), 0 12px 34px -10px rgba(212,175,80,.75);
  transition: filter .25s, box-shadow .25s;
}
.btn-gold:hover, .btn:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(255,230,160,.6), 0 14px 38px -8px rgba(212,175,80,.9); }
.btn-outline {
  background: rgba(0,0,0,.65); color: var(--parchment);
  border: 1px solid var(--gold);
  padding: 0.85rem 1.6rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.btn-outline:hover { color: var(--gold); }
.btn-block { display: block; width: 100%; }

/* ---------- 7. Piano-black cards (shared by homepage cards + inner options) ---------- */
.feature, .mandate, .option, .status, .result, .panel {
  position: relative; overflow: hidden;
  background: var(--piano);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(201,168,76,.25), 0 18px 40px -18px rgba(0,0,0,1);
}
.feature, .mandate, .option, .status, .result { transition: border-color .3s, transform .3s, box-shadow .3s; }
.feature::before, .mandate::before, .option::before, .status::before, .result::before, .panel::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 48%; pointer-events: none;
  background: linear-gradient(180deg,rgba(255,255,255,0.09),rgba(255,255,255,0));
}
.feature::after, .mandate::after, .option::after, .status::after, .result::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg,transparent,rgba(240,214,138,0.18),transparent);
  transform: skewX(-20deg); transition: left .9s ease;
}
.feature:hover::after, .mandate:hover::after, .option:hover::after, .status:hover::after, .result:hover::after { left: 130%; }
.feature:hover, .mandate:hover, .option:hover, .status:hover, .result:hover {
  border-color: var(--gold-hi); transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 24px -4px rgba(201,168,76,.45), 0 22px 44px -18px #000;
}
.feature > *, .mandate > *, .option > *, .status > *, .result > *, .panel > * { position: relative; }

/* ---------- 8. Homepage ---------- */
.hero { text-align: center; padding: 5.5rem 0 0; }
.limited-banner, .active-badge {
  display: inline-block;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(201,168,76,.7);
  color: #f0dc9e;
  font-size: 0.68rem;
}
.limited-banner { letter-spacing: 0.18em; padding: 0.45rem 1rem; margin-bottom: 2rem; }
.active-badge { letter-spacing: 0.12em; padding: 0.4rem 0.9rem; margin-bottom: 1.8rem; margin-top: 2.5rem; }
.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 1.4rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
.hero h2 .gold {
  background: linear-gradient(180deg,#f9e7ad 0%,#e8ca72 45%,#d1aa4e 75%,#e2c36d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; /* an inherited shadow shows THROUGH transparent gradient text and muddies it */
}
.hero p {
  max-width: 660px; margin: 0 auto 2.2rem;
  font-size: 1.02rem; color: rgba(244,239,230,.88);
}
.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 6rem 0; }
.feature { padding: 1.6rem 1.2rem; text-align: center; }
.feature h3 { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.6rem; text-transform: uppercase; }
.feature p { font-size: 0.82rem; color: var(--muted); }

.showcase { padding-bottom: 5rem; }
.ten-heading-wrap { text-align: center; }
.ten-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 300; letter-spacing: 0.32em; text-align: center;
  color: var(--parchment);
  margin: 0 0 0.6rem;
  border-bottom: 1px solid var(--gold);
  display: inline-block; padding-bottom: 0.3rem; text-transform: uppercase;
  
}
.ten-sub {
  text-align: center; color: var(--muted);
  font-size: 0.95rem; margin: 0.4rem auto 2.2rem;
}
.mandate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mandate { padding: 1.5rem 1.4rem; }
.mandate-header {
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  margin-bottom: 0.8rem; font-size: 0.68rem; letter-spacing: 0.1em;
}
.mandate-header span:first-child { color: var(--muted); }
.mandate-header span:last-child {
  background: linear-gradient(180deg,#e9cf7c,#b8902f);
  color: #0a0a0a; font-weight: 500; padding: 0.2rem 0.55rem; text-align: right;
}
.mandate h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; margin-bottom: 0.3rem; }
.mandate p { font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ---------- 9. Inner pages: glassy piano-black panel ---------- */
.content { padding: 3.5rem 0 5rem; }
.panel {
  max-width: 900px; margin: 0 auto;
  padding: 3rem 3rem 3.2rem;
  background: linear-gradient(180deg, rgba(22,22,22,.92) 0%, rgba(8,8,8,.94) 55%, rgba(0,0,0,.95) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(201,168,76,.25), 0 30px 70px -25px rgba(0,0,0,1), 0 0 40px -18px rgba(201,168,76,.35);
}
.panel::after { /* gold hairline across the top */
  content: ''; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
}
.panel-narrow { max-width: 560px; }
.panel-mid { max-width: 600px; }
.panel.center { text-align: center; }

.page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 500; line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
.page p { color: var(--muted); margin-bottom: 1.2rem; }
.page .sub { color: var(--muted); margin-bottom: 2rem; font-size: 0.9rem; }
.page .panel-narrow h1, .page .panel-mid h1 { font-size: 2.3rem; margin-bottom: 0.5rem; }
.text-center { text-align: center; }

/* Forms */
.page label {
  display: block; font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--gold); margin: 1rem 0 0.3rem; text-transform: uppercase;
}
.page input, .page select, .page textarea {
  width: 100%; padding: 0.8rem 0.9rem;
  background: linear-gradient(180deg,#0e0e0e,#050505);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--parchment);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.8), inset 0 -1px 0 rgba(201,168,76,.12);
  border-radius: 0; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.page input::placeholder, .page textarea::placeholder { color: rgba(244,239,230,.38); }
.page input:focus, .page select:focus, .page textarea:focus {
  border-color: var(--gold-hi);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.8), 0 0 0 1px rgba(226,195,109,.35), 0 0 18px -4px rgba(201,168,76,.5);
}
.page select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 2.4rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a84c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center,
    linear-gradient(180deg,#0e0e0e,#050505);
}
.page select option { background: #0c0c0c; color: var(--parchment); }
.page textarea { resize: vertical; }
.form-stack input, .form-stack select, .form-stack textarea { margin-bottom: 0.4rem; }
.form-stack .btn { display: block; width: 100%; padding: 0.9rem; margin-top: 1.5rem; }

a.back {
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block; margin-top: 2rem;
}
a.back:hover { color: var(--gold-hi); }

/* Candidates / Employers */
.page-intro p { max-width: 640px; }
.page-intro .btn { margin-top: 1rem; }

/* Employer options + Vault home option cards */
.option { display: block; color: var(--parchment); text-decoration: none; }
.option strong { display: block; font-weight: 500; }
.options-stack { display: flex; flex-direction: column; gap: 1rem; max-width: 380px; margin: 0 auto; }
.options-stack .option { padding: 1.1rem; font-size: 0.85rem; letter-spacing: 0.06em; }
.options-stack .option strong { margin-bottom: 0.2rem; color: var(--gold-light); }
.options-stack .option:hover { color: var(--gold); }
.page-employer-options p { margin-bottom: 2.5rem; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.options-grid .option { padding: 1.4rem 1.2rem; }
.options-grid .option strong { margin-bottom: 0.25rem; letter-spacing: 0.04em; color: var(--gold-light); }
.options-grid .option span { font-size: 0.82rem; color: var(--muted); }
.page-vault-home .welcome { margin-bottom: 2.2rem; }
.page-vault-home h1 { margin-bottom: 0.4rem; }

/* Vault login */
.page-vault p { max-width: 480px; margin-left: auto; margin-right: auto; }
.login-form { max-width: 360px; margin: 2rem auto 0; }
.login-form input { margin-bottom: 0.8rem; }
.login-form .btn { width: 100%; }

/* Profile status */
.status { padding: 1rem 1.2rem; margin-bottom: 0.8rem; cursor: pointer; }
.status.active { border-color: var(--gold-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 24px -6px rgba(201,168,76,.55); }
.status strong { display: block; margin-bottom: 0.2rem; font-weight: 500; }
.status span { font-size: 0.82rem; color: var(--muted); }

/* Account */
.item { border-bottom: 1px solid rgba(201,168,76,0.22); padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; }
.item span { color: var(--muted); font-size: 0.85rem; }

/* Partner feeds */
.feed-form { display: flex; gap: 0.6rem; margin-bottom: 2rem; }
.page .feed-form input[type="text"] { flex: 1; font-size: 1rem; padding: 0.8rem 1rem; }
.feed-form button { padding: 0.8rem 1.4rem; }
.result { padding: 1rem 1.2rem; margin-bottom: 0.8rem; }
.result .source { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.result .title a { color: var(--parchment); text-decoration: none; font-weight: 500; }
.result .title a:hover { color: var(--gold); }
.page .empty { color: var(--muted); margin: 2rem 0; }

/* Bored? game */
.game-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.game-wrap canvas {
  display: block; width: 600px; max-width: 100%; height: auto;
  background: #0c0c0c; border: 1px solid rgba(201,168,76,0.55);
  box-shadow: 0 0 30px -8px rgba(201,168,76,.35), 0 20px 40px -20px #000;
  touch-action: manipulation; cursor: pointer;
}
.game-wrap .info { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold); }
.game-wrap a.back { margin-top: 1rem; }

/* ---------- 10. Footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.75);
  border-top: 1px solid rgba(201,168,76,.5);
  padding: 2rem 1rem; margin-top: 3rem;
  text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer .footer-links { margin-bottom: 1rem; }
.site-footer .footer-links a { color: var(--parchment); text-decoration: none; margin: 0 1rem; display: inline-block; }
.site-footer .footer-links a:hover { color: var(--gold); }
.site-footer .copy { color: var(--muted); }

/* ---------- 11. Responsive (single definition) ---------- */
@media (max-width: 800px) {
  .menu-btn { display: block; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: absolute; top: calc(100% + 0.4rem); right: 0; z-index: 100;
    background: linear-gradient(180deg,#141414,#050505);
    padding: 1.2rem 1.4rem; border: 1px solid rgba(201,168,76,0.55);
    box-shadow: 0 20px 40px -10px #000;
  }
  .features { grid-template-columns: 1fr 1fr; }
  .mandate-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 0; }
  .content { padding: 2rem 0 3rem; }
  .panel { padding: 2rem 1.3rem 2.2rem; }
  .page h1 { font-size: 2.2rem; }
  .ten-heading { letter-spacing: 0.22em; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .mandate-header { flex-wrap: wrap; }
  .feed-form { flex-direction: column; }
  .site-footer .footer-links a { margin: 0.3rem 0.7rem; }
}
.page-status .btn { margin-top: 1.5rem; }
/* Portrait phones: a rotated crop keeps the gold sweeps in view instead of the dark centre */
@media (max-width: 800px) and (orientation: portrait) {
  .bg-img { background-image: url('../img/bg-gloss-portrait-hq.jpg'); }
}

/* ---------- 12. Live forms (sign-up, booking, admin) ---------- */
.tj-form { margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap, hidden from people */
.page label.consent {
  display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.4rem 0 0;
  text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.55; cursor: pointer;
}
.page label.consent a { color: var(--gold-light); }
.page label.consent a:hover { color: var(--gold-hi); }
.page input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 18px; height: 18px; padding: 0; margin: 0.15rem 0 0;
  border: 1px solid rgba(201,168,76,0.7); background: linear-gradient(180deg,#0e0e0e,#050505); cursor: pointer; display: grid; place-content: center;
}
.page input[type="checkbox"]::after { content: ''; width: 10px; height: 10px; transform: scale(0); transition: transform .15s; background: var(--metal-gold); }
.page input[type="checkbox"]:checked::after { transform: scale(1); }
.page input.invalid, .page select.invalid, .page textarea.invalid, .page label.consent.invalid input { border-color: #d98a6e !important; box-shadow: 0 0 0 1px rgba(217,138,110,.35) !important; }
.field-error { display: block; font-size: 0.75rem; color: #e7a68f; margin: 0 0 0.3rem; }
.form-msg {
  margin: 1.4rem 0 0; padding: 0.9rem 1.1rem; font-size: 0.86rem; line-height: 1.55; color: var(--parchment);
  border: 1px solid rgba(201,168,76,.5); background: rgba(201,168,76,.07);
}
.form-msg.error { border-color: rgba(217,138,110,.6); background: rgba(217,138,110,.08); color: #f0c4b4; }
.form-done { text-align: center; padding: 0.5rem 0 0; }
.form-done .seal {
  width: 64px; height: 64px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-content: center;
  background: var(--metal-gold); color: #111; font-size: 1.7rem; box-shadow: 0 0 30px -6px rgba(212,175,80,.8);
}
.form-done h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 500; margin-bottom: 0.8rem; }
.form-done p { max-width: 440px; margin: 0 auto 1.6rem; }
.form-done .btn { display: inline-block; width: auto; padding: 0.85rem 2rem; text-decoration: none; }
.tj-form .btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- 13. OG Vault Status counter (homepage) ---------- */
.og-status {
  display: inline-flex; align-items: center; gap: 0.85rem; margin-top: 2rem;
  padding: 0.45rem 1.4rem 0.45rem 0.45rem; text-decoration: none; color: var(--parchment);
  background: linear-gradient(180deg, rgba(20,20,20,.85), rgba(0,0,0,.85));
  border: 1px solid rgba(201,168,76,.6); border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 28px -10px rgba(201,168,76,.6);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.og-status:hover { border-color: var(--gold-hi); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 34px -8px rgba(212,175,80,.8); }
.og-status img { width: 52px; height: 52px; display: block; filter: none; box-shadow: none; }
.og-text { display: inline-flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; text-align: left; }
.og-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1;
  background: linear-gradient(180deg,#f9e7ad 0%,#e8ca72 45%,#d1aa4e 75%,#e2c36d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; /* an inherited shadow shows THROUGH transparent gradient text and muddies it */
}
.og-left { font-size: 0.95rem; letter-spacing: 0.03em; color: #f0dc9e; white-space: nowrap; }
.og-count { font-weight: 600; color: #fff1c1; }
@media (max-width: 480px) {
  .og-status { gap: 0.7rem; padding-right: 1.1rem; }
  .og-status img { width: 44px; height: 44px; }
  .og-title { font-size: 1.25rem; }
  .og-left { font-size: 0.85rem; }
}
.og-earned {
  display: inline-flex; align-items: center; gap: 0.9rem; margin: 0 auto 1.6rem; padding: 0.5rem 1.3rem 0.5rem 0.5rem; text-align: left;
  border: 1px solid rgba(201,168,76,.6); border-radius: 999px; background: rgba(201,168,76,.06); font-size: 0.9rem; color: var(--parchment);
}
.og-earned img { width: 60px; height: 60px; display: block; filter: none; box-shadow: none; }
.og-earned strong { color: var(--gold-light); font-weight: 500; }
/* OG reward on the Create Profile panel: quiet, framed by gold hairlines rather than a button */
.og-reward {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  margin: -0.6rem 0 1.8rem; padding: 1rem 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  position: relative;
}
.og-reward::before, .og-reward::after {
  content: ''; position: absolute; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226,195,109,.7), transparent);
}
.og-reward::before { top: 0; } .og-reward::after { bottom: 0; }
.og-reward:hover { transform: none; box-shadow: none; }
.og-reward img { width: 60px; height: 60px; filter: none; box-shadow: none; }
@media (max-width: 480px) { .og-reward img { width: 48px; height: 48px; } .og-reward { gap: .75rem; } }
/* Phones: hero buttons stack at equal width, and long button labels stay on one line */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; gap: 0.8rem; }
  .hero-buttons a { width: 100%; max-width: 340px; text-align: center; padding-left: 0.8rem; padding-right: 0.8rem; letter-spacing: 0.06em; white-space: nowrap; }
  .page-intro .btn { display: block; width: 100%; padding-left: 0.6rem; padding-right: 0.6rem; letter-spacing: 0.05em; white-space: nowrap; }
}
@media (max-width: 360px) {
  .hero-buttons a, .page-intro .btn { font-size: 0.66rem; letter-spacing: 0.04em; }
  .page-intro .btn { white-space: normal; }   /* very small phones: wrap neatly rather than spill out of the panel */
}

/* ---------- 14. Legibility (crisper small text) ---------- */
/* (font-smoothing removed: it does nothing on Windows and makes text thinner on Macs) */
.site-nav a { font-size: 0.84rem; font-weight: 500; letter-spacing: 0.12em; color: #fbf7ee; }
.site-nav a:hover { color: var(--gold-hi); }
.enter-vault { font-size: 0.78rem !important; font-weight: 500; }
.limited-banner { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; color: #f6e3a8; background: rgba(0,0,0,.72); }
.feature h3 { font-size: 0.76rem; font-weight: 600; color: var(--gold-hi); }
.feature p { font-size: 0.86rem; font-weight: 400; color: rgba(244,239,230,.84); }
.mandate-header { font-size: 0.72rem; }
.mandate-header span:first-child { color: rgba(244,239,230,.78); font-weight: 500; }
.mandate-header span:last-child { font-weight: 600; }
.mandate p { color: rgba(244,239,230,.78); }
.ten-sub { color: rgba(244,239,230,.82); }

/* ---------- 15. Salary tier badges (Platinum top, Gold, Silver) ---------- */
.mandate-header span.tier { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 3px rgba(0,0,0,.6); }
.mandate-header span.tier-platinum {
  background: linear-gradient(180deg, #ffffff 0%, #eef0f3 22%, #c9ced6 48%, #e9ecf0 70%, #fbfcfd 100%);
  color: #14161a; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(120,128,140,.45), 0 0 14px -3px rgba(235,240,248,.55), 0 1px 3px rgba(0,0,0,.6);
}
.mandate-header span.tier-gold { background: linear-gradient(180deg,#f3dc8c 0%,#e2c36d 35%,#b8902f 60%,#d9b75a 100%); color: #0a0a0a; }
.mandate-header span.tier-silver {
  background: linear-gradient(180deg, #b9bdc3 0%, #9a9fa6 50%, #858a91 75%, #a3a8ae 100%);
  color: #101214; font-weight: 600;
}
.feature .tier-bands span { display: block; }
.feature .tier-bands span + span { margin-top: 0.1rem; }
/* Tier badges v2: slimmer and longer bars; Silver as dark gunmetal (opposite of Platinum) */
.mandate-header span.tier { padding: 0.06rem 1.15rem; line-height: 1.55; letter-spacing: 0.2em; min-width: 9.5rem; text-align: center; }
.mandate-header span.tier-silver {
  background: linear-gradient(180deg, #5d636b 0%, #3e434a 45%, #2b2f35 70%, #4a4f57 100%);
  color: #f4f6f9; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(170,178,190,.35), 0 1px 3px rgba(0,0,0,.6);
}

/* ---------- 16. "The Ten" heading, set like the hero headline ---------- */
.ten-heading {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.2rem); line-height: 1.1;
  letter-spacing: 0.01em; text-transform: none;
  border-bottom: 0; padding-bottom: 0.55rem; position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
.ten-heading .gold {
  background: linear-gradient(180deg,#f9e7ad 0%,#e8ca72 45%,#d1aa4e 75%,#e2c36d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; /* an inherited shadow shows THROUGH transparent gradient text and muddies it */
}
.ten-heading::after { /* short gold hairline that fades at both ends */
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 140%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hi) 25%, var(--gold-hi) 75%, transparent);
}

/* ---------- 17. Vault tier choice (Create Profile) + tier badges elsewhere ---------- */
.page .field-help { font-size: 0.78rem; color: rgba(244,239,230,.7); margin: -0.1rem 0 0.7rem; }
.tier-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 0.4rem; }
.page label.tier-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  margin: 0; padding: 1rem 0.7rem 0.95rem; cursor: pointer; text-transform: none; letter-spacing: 0;
  background: linear-gradient(180deg,#0e0e0e,#050505); border: 1px solid rgba(201,168,76,0.3);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.8);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.page label.tier-opt:hover { border-color: rgba(226,195,109,.7); transform: translateY(-2px); }
.page .tier-opt input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; box-shadow: none; }
.tier-opt .tier-name {
  display: block; width: 100%; max-width: 9.5rem; text-align: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.55; padding: 0.06rem 0.6rem;
  opacity: .78; transition: opacity .25s;
}
.tier-opt .tier-range { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; color: var(--parchment); letter-spacing: 0.01em; font-variant-numeric: lining-nums; }
.tier-opt-silver .tier-name, .tier-badge.tier-silver {
  background: linear-gradient(180deg, #5d636b 0%, #3e434a 45%, #2b2f35 70%, #4a4f57 100%); color: #eef1f5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(170,178,190,.35);
}
.tier-opt-gold .tier-name, .tier-badge.tier-gold {
  background: linear-gradient(180deg,#f3dc8c 0%,#e2c36d 35%,#b8902f 60%,#d9b75a 100%); color: #0a0a0a; box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.tier-opt-platinum .tier-name, .tier-badge.tier-platinum {
  background: linear-gradient(180deg, #ffffff 0%, #eef0f3 22%, #c9ced6 48%, #e9ecf0 70%, #fbfcfd 100%); color: #14161a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(120,128,140,.45), 0 0 12px -3px rgba(235,240,248,.5);
}
/* selected */
.page label.tier-opt:has(input:checked) { border-color: var(--gold-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px rgba(226,195,109,.45), 0 0 26px -6px rgba(201,168,76,.65); }
.tier-opt:has(input:checked) .tier-name { opacity: 1; }
.page label.tier-opt:has(input:focus-visible) { outline: 1px solid var(--gold-hi); outline-offset: 2px; }
.tier-choice.invalid { outline: 1px solid #d98a6e; outline-offset: 3px; }
.tier-badge { display: inline-block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.05rem 0.8rem; margin-top: 0.4rem; }
@media (max-width: 480px) {
  .tier-choice { gap: 0.45rem; }
  .page label.tier-opt { padding: 0.8rem 0.35rem 0.75rem; gap: 0.5rem; }
  .tier-opt .tier-name { font-size: 0.62rem; letter-spacing: 0.12em; padding: 0.05rem 0.3rem; }
  .tier-opt .tier-range { font-size: 1.02rem; }
}

/* ---------- 18. Privacy notice (legal reading panel) ---------- */
.panel-legal { max-width: 860px; padding: 3.4rem 3.6rem 3.4rem; }
.panel-legal .lede { font-size: 1.02rem; color: rgba(244,239,230,.85); line-height: 1.75; }
.panel-legal h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.75rem; color: var(--parchment);
  margin: 2.6rem 0 0.9rem; padding-top: 1.6rem; position: relative; scroll-margin-top: 1.5rem;
}
.panel-legal h2::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: linear-gradient(90deg, var(--gold-hi), transparent); }
.panel-legal h3 { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 1.4rem 0 0.6rem; }
.panel-legal p, .panel-legal li { color: rgba(244,239,230,.8); font-size: 0.95rem; line-height: 1.75; }
.panel-legal strong { color: var(--parchment); font-weight: 500; }
.panel-legal ul { margin: 0 0 1.2rem 1.1rem; padding: 0; }
.panel-legal li { margin-bottom: 0.45rem; padding-left: 0.3rem; }
.panel-legal li::marker { color: var(--gold); }
.panel-legal a:not(.btn) { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(226,195,109,.45); text-underline-offset: 3px; }
.panel-legal a:not(.btn):hover { color: var(--gold-hi); }
.panel-legal .toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; margin: 0.4rem 0 1rem; padding: 1rem 0; border-top: 1px solid rgba(201,168,76,.25); border-bottom: 1px solid rgba(201,168,76,.25); }
.panel-legal .toc a { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: rgba(244,239,230,.75); }
.panel-legal .toc a:hover { color: var(--gold-hi); }
.panel-legal .table-scroll { overflow-x: auto; margin: 0 0 1.2rem; }
.panel-legal table.legal { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.panel-legal table.legal th { text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(201,168,76,.45); }
.panel-legal table.legal td { vertical-align: top; padding: 0.8rem 0.9rem; color: rgba(244,239,230,.8); line-height: 1.6; border-bottom: 1px solid rgba(244,239,230,.08); }
.panel-legal table.legal td:last-child { width: 40%; color: var(--parchment); }
.panel-legal ul.cols { columns: 2; column-gap: 2.4rem; }
.panel-legal ul.cols li { break-inside: avoid; }
.panel-legal .back-link { margin-top: 2.6rem; }
.form-note { font-size: 0.78rem; margin: 0.8rem 0 0; }
.form-note a { color: var(--gold-light); }
@media (max-width: 640px) {
  .panel-legal { padding: 2.2rem 1.35rem 2.4rem; }
  .panel-legal h2 { font-size: 1.5rem; margin-top: 2rem; }
  .panel-legal ul.cols { columns: 1; }
  .panel-legal table.legal, .panel-legal table.legal tbody, .panel-legal table.legal tr, .panel-legal table.legal td { display: block; width: 100%; }
  .panel-legal table.legal tr:first-child { display: none; }
  .panel-legal table.legal tr { padding: 0.85rem 0; border-bottom: 1px solid rgba(244,239,230,.1); }
  .panel-legal table.legal td { padding: 0; border: 0; }
  .panel-legal table.legal td:last-child { width: 100%; margin-top: 0.4rem; padding-left: 0.8rem; border-left: 2px solid rgba(226,195,109,.6); }
  }
.page .form-alt { text-align: center; font-size: 0.85rem; margin: 1.4rem 0 0; color: rgba(244,239,230,.8); }
.page .form-alt a { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(226,195,109,.45); text-underline-offset: 3px; }
.page .form-alt a:hover { color: var(--gold-hi); }
