  :root {
    --bg: #0a0a0a; --bg-2: #131313; --bg-3: #1c1c1c;
    --ivory: #f5efe6; --ivory-dim: #c9c2b6;
    --gold: #d4af37; --gold-light: #f0d98a; --gold-dark: #a07b1e;
    --line: rgba(212,175,55,.25);
    --sab: env(safe-area-inset-bottom, 0px);
    --sat: env(safe-area-inset-top, 0px);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg); color: var(--ivory); line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    padding-top: var(--sat); padding-bottom: var(--sab);
  }
  a { color: inherit; text-decoration: none; }

  .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: calc(18px + var(--sat)) 6% 18px;
    background: linear-gradient(180deg, rgba(10,10,10,.7), rgba(10,10,10,0));
    backdrop-filter: blur(4px);
  }
  .brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; letter-spacing: .15em; color: var(--gold-light);
  }
  .brand span { color: var(--ivory); }
  .topbar-cta {
    font-size: .82rem; letter-spacing: .1em; padding: 9px 20px;
    border: 1px solid var(--gold); color: var(--gold-light); border-radius: 999px; transition: all .3s;
  }
  .topbar-cta:hover { background: var(--gold); color: #1a1206; }

  /* HERO — light overlay so the image stays clearly visible */
  .hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
    background: url('assets/hero.jpg') center 68% / cover no-repeat;
    padding: 120px 6% 80px;
  }
  @media (min-width: 901px) {
    .hero { background-image: url('assets/hero-wide.jpg'); background-position: 70% center; }
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.35) 45%, rgba(8,8,8,.15) 100%),
                linear-gradient(180deg, rgba(8,8,8,.35) 0%, rgba(8,8,8,.1) 30%, rgba(8,8,8,.45) 100%);
  }
  .hero-inner { position: relative; z-index: 2; max-width: 720px; width: 100%; overflow-wrap: break-word; word-break: break-word; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; letter-spacing: .35em; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 28px; opacity: .95;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
  }
  .eyebrow::before, .eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--gold); opacity: .8; }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 7.5vw, 4.4rem); font-weight: 700; line-height: 1.15;
    letter-spacing: .01em; margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0,0,0,.7);
  }
  .hero h1 .gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero p.sub {
    font-size: clamp(1rem, 1.6vw, 1.22rem); color: #fff;
    max-width: 560px; margin-bottom: 42px; font-weight: 300;
    text-shadow: 0 1px 6px rgba(0,0,0,.8);
  }
  .btn-gold {
    display: inline-flex; align-items: center; gap: 12px; padding: 18px 40px;
    font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; letter-spacing: .06em;
    color: #1a1206;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: none; border-radius: 2px; cursor: pointer;
    box-shadow: 0 10px 40px rgba(212,175,55,.4), inset 0 1px 0 rgba(255,255,255,.4);
    transition: transform .25s, box-shadow .25s;
  }
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(212,175,55,.55), inset 0 1px 0 rgba(255,255,255,.4); }
  .btn-gold .arrow { transition: transform .25s; }
  .btn-gold:hover .arrow { transform: translateX(4px); }

  .hero-meta { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; }
  .hero-meta .item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: #fff; letter-spacing: .05em; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
  .hero-meta .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px var(--gold); }

  .scroll-hint {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
    color: #fff; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
    opacity: .7; animation: bounce 2s infinite; text-shadow: 0 1px 4px rgba(0,0,0,.8);
  }
  @keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

  .trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 50px 6%; }
  .trust-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
  .trust-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px; }
  .trust-item .icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); }
  .trust-item h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--ivory); letter-spacing: .03em; }
  .trust-item p { font-size: .82rem; color: var(--ivory-dim); font-weight: 300; }

  .view-home section { padding: 110px 6%; }
  .section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
  .section-head .eyebrow { margin-bottom: 20px; text-shadow: none; }
  .section-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
  .section-head h2 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .section-head p { color: var(--ivory-dim); font-weight: 300; font-size: 1rem; }

  .categories { background: var(--bg); }
  .cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
  .cat-card { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; }
  .cat-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
  .cat-card:hover img { transform: scale(1.06); }
  /* subtle bottom gradient only — keeps the image fully visible */
  .cat-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,8,.82) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
  .cat-card .label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
  .cat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 600; color: var(--ivory); }

  .how { background: var(--bg-2); position: relative; }
  .how::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(212,175,55,.08), transparent 60%); pointer-events: none; }
  .steps { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
  .step { text-align: center; padding: 40px 24px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); }
  .step .num { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 600; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 20px; }
  .step h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; color: var(--ivory); }
  .step p { color: var(--ivory-dim); font-size: .92rem; font-weight: 300; }

  .feature { background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
  .feature-img { position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
  .feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .feature-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.25; margin-bottom: 24px; }
  .feature-text h2 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .feature-text > p { color: var(--ivory-dim); font-weight: 300; margin-bottom: 36px; }
  .feature-list { list-style: none; margin-bottom: 40px; }
  .feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ivory); font-size: .95rem; }
  .feature-list li:last-child { border-bottom: none; }
  .feature-list .check { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

  .quote-band { background: var(--bg-2); text-align: center; padding: 80px 6%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .quote-band blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; max-width: 800px; margin: 0 auto 20px; color: var(--ivory); line-height: 1.5; font-style: italic; }
  .quote-band .author { color: var(--gold-light); font-size: .9rem; letter-spacing: .2em; }

  /* Final CTA — lighter overlay so the chrono image shows through */
  .final-cta { position: relative; background: url('assets/final.jpg') center/cover no-repeat; text-align: center; padding: calc(140px + var(--sab)) 6% 140px; }
  .final-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,.35), rgba(8,8,8,.55)); }
  .final-cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
  .final-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 22px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
  .final-cta h2 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .final-cta p { color: #fff; font-weight: 300; margin-bottom: 40px; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0,0,0,.7); }

  footer { background: var(--bg); padding: calc(50px + var(--sab)) 6% 50px; text-align: center; border-top: 1px solid var(--line); }
  footer .brand { margin-bottom: 12px; }
  footer .copy { color: var(--ivory-dim); font-size: .8rem; letter-spacing: .1em; opacity: .7; }

  @media (max-width: 900px) {
    .trust-grid { grid-template-columns: 1fr; gap: 36px; }
    .cat-grid { grid-template-columns: 1fr; max-width: 420px; }
    .steps { grid-template-columns: 1fr; }
    .feature { grid-template-columns: 1fr; gap: 40px; }
    .view-home .topbar { padding: calc(14px + var(--sat)) 5% 14px; }
    .view-home section { padding: 80px 5%; }
  }
  @media (max-width: 600px) {
    .hero { padding: 96px 5% 40px; min-height: 100svh; align-items: flex-start; background-position: 20% center; }
    .hero::before { background: linear-gradient(180deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.5) 55%, rgba(8,8,8,.12) 100%); }
    .hero h1 { font-size: 1.72rem; margin-bottom: 20px; }
    .hero p.sub { font-size: .95rem; margin-bottom: 30px; }
    .hero-meta { display: none; }
    .view-home .topbar-cta { display: none; }
    .section-head { margin-bottom: 50px; }
    .view-home section { padding: 60px 5%; }
    .view-home .btn-gold { padding: 15px 30px; font-size: .95rem; width: 100%; justify-content: center; }
  }

.view-home[hidden],
.view-verify[hidden] { display: none !important; }

body.is-verify { min-height: 100%; }

body.is-verify .view-verify {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

body.is-verify {
    font-family: 'Inter', sans-serif;
    background: var(--bg); color: var(--ivory); line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    padding-top: var(--sat); padding-bottom: var(--sab);
    display: flex; flex-direction: column; min-height: 100vh;
  }

.view-verify a { color: inherit; text-decoration: none; }

.view-verify .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: calc(18px + var(--sat)) 6% 18px;
    background: linear-gradient(180deg, rgba(10,10,10,.85), rgba(10,10,10,0));
    backdrop-filter: blur(6px);
  }

.view-verify .brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; letter-spacing: .15em; color: var(--gold-light);
  }

.view-verify .brand span { color: var(--ivory); }

.view-verify .ver-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 120px 20px 60px; }

.view-verify .ver-card {
    width: 100%; max-width: 460px; background: var(--bg-2);
    border: 1px solid var(--line); border-radius: 8px; padding: 48px 40px;
    text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  }

.view-verify .shield {
    width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
    border: 1px solid var(--line); color: var(--gold);
  }

.view-verify h1 {
    font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700;
    line-height: 1.25; margin-bottom: 10px; color: var(--ivory);
  }

.view-verify h1 .gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.view-verify .sub { color: var(--ivory-dim); font-size: .95rem; font-weight: 300; margin-bottom: 26px; }

.view-verify .step[hidden] { display: none; }

/* Image challenge */

.view-verify .challenge { text-align: left; margin-bottom: 10px; }

.view-verify .ch-prompt {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #0f0f0f; border: 1px solid var(--line); border-radius: 4px;
    padding: 11px 14px; margin-bottom: 8px;
  }

.view-verify .ch-prompt p { font-size: .86rem; color: var(--ivory); line-height: 1.35; }

.view-verify .ch-prompt p b { color: var(--gold-light); font-weight: 600; }

.view-verify .ch-refresh {
    flex: 0 0 auto; background: none; border: none; color: var(--ivory-dim);
    cursor: pointer; padding: 4px; display: flex; transition: color .2s, transform .3s;
  }

.view-verify .ch-refresh:hover { color: var(--gold-light); transform: rotate(90deg); }

.view-verify .ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }

.view-verify .ch-tile {
    position: relative; padding: 0; border: 2px solid transparent; border-radius: 4px;
    overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 1 / 1;
    transition: border-color .15s, transform .15s;
  }

.view-verify .ch-tile img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: .9; transition: opacity .15s, transform .3s; -webkit-user-drag: none;
  }

.view-verify .ch-tile:hover img { opacity: 1; transform: scale(1.05); }

.view-verify .ch-tile.sel { border-color: var(--gold); }

.view-verify .ch-tile.sel::after {
    content: '✓'; position: absolute; top: 5px; left: 5px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold); color: #1a1206;
    font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
  }

.view-verify .ch-grid.wrong { animation: shake .38s ease; }

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20% { transform: translateX(-6px); } 40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
  }

.view-verify .ch-grid.done .ch-tile { cursor: default; }

.view-verify .ch-grid.done .ch-tile img { opacity: 1; transform: none; }

.view-verify .check-msg { font-size: .84rem; color: var(--ivory-dim); min-height: 21px; margin: 8px 0 12px; }

.view-verify .check-msg.ok { color: #34d399; }

.view-verify .check-msg.err { color: #f87171; }

.view-verify .btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 16px 32px;
    font-family: 'Playfair Display', serif; font-size: 1.02rem; font-weight: 600; letter-spacing: .06em;
    color: #1a1206; border: none; border-radius: 2px; cursor: pointer;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    box-shadow: 0 10px 36px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.4);
    transition: transform .25s, box-shadow .25s, opacity .25s;
  }

.view-verify .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(212,175,55,.5), inset 0 1px 0 rgba(255,255,255,.4); }

.view-verify .btn-gold:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }

.view-verify .fine { font-size: .72rem; letter-spacing: .04em; color: rgba(201,194,182,.5); margin-top: 16px; }

/* Lead form */

.view-verify .lead-form { text-align: left; margin-top: 4px; }

.view-verify .field { display: block; margin-bottom: 18px; }

.view-verify .field > span {
    display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ivory-dim); margin-bottom: 8px;
  }

.view-verify .field input {
    width: 100%; padding: 14px 16px; font-family: 'Inter', sans-serif; font-size: 1rem;
    color: var(--ivory); background: #0f0f0f;
    border: 1px solid rgba(212,175,55,.22); border-radius: 3px;
    transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
  }

.view-verify .field input::placeholder { color: rgba(201,194,182,.35); }

.view-verify .field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }

.view-verify .field input.invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.12); }

.view-verify .field .hint { font-size: .74rem; color: rgba(201,194,182,.5); margin-top: 6px; }

.view-verify .lead-form .btn-gold { margin-top: 4px; }

.view-verify .back-link {
    display: inline-block; margin-top: 22px; font-size: .82rem; color: var(--ivory-dim);
    border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
  }

.view-verify .back-link:hover { color: var(--gold-light); border-color: var(--line); }

/* Success */

.view-verify .success-icon {
    width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    display: flex; align-items: center; justify-content: center; color: #06281d;
    animation: pop .5s ease;
  }

@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

.view-verify .success-summary {
    text-align: left; background: #0f0f0f; border: 1px solid var(--line);
    border-radius: 4px; padding: 18px 20px; margin: 24px 0 8px; font-size: .9rem;
  }

.view-verify .success-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }

.view-verify .success-summary div + div { border-top: 1px solid rgba(255,255,255,.06); }

.view-verify .success-summary .k { color: var(--ivory-dim); letter-spacing: .06em; font-size: .76rem; text-transform: uppercase; }

.view-verify .success-summary .v { color: var(--ivory); text-align: right; word-break: break-all; }

.view-verify footer { background: var(--bg); padding: calc(40px + var(--sab)) 6% 40px; text-align: center; border-top: 1px solid var(--line); }

.view-verify footer .brand { margin-bottom: 10px; font-size: 1.2rem; }

.view-verify footer .copy { color: var(--ivory-dim); font-size: .78rem; letter-spacing: .1em; opacity: .7; }

@media (max-width: 480px) {
  .view-verify .ver-wrap { padding: 104px 12px 44px; }
  .view-verify .ver-card { padding: 34px 18px; }
  .view-verify h1 { font-size: 1.58rem; }
}
