/* ============================================================
   proof.css — Heritage Cinematique design system
   Funnel proof page stylesheet
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --cream: #F8F6F3;
  --white: #FFFFFF;
  --gold: #C4A57B;
  --gold-hover: #B39167;
  --gold-light: #E8D5B8;
  --espresso: #2D2416;
  --charcoal: #3D3226;
  --brown: #7A6B5D;
  --taupe: #9B8B7E;
  --border: #E8E0D8;
  --green: #7DB895;
  --section-alt: #F3F0EC;
  --error: #C4898A;
  --error-text: #A84040;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 100px;
}

/* ---- Utility ---- */
.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;
}

/* ---- Base Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- Body ---- */
body {
  background: var(--cream);
  color: var(--espresso);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ---- Layout ---- */
.proof-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   1. Header
   ============================================================ */
.proof-header {
  padding: 16px 20px;
}

.proof-header a {
  text-decoration: none;
}

.proof-logo {
  font-family: 'Prata', serif;
  font-size: 20px;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
}

/* ============================================================
   2. Hero
   ============================================================ */
.proof-hero {
  text-align: center;
  padding: 48px 0 32px;
}

.proof-headline {
  font-family: 'Prata', serif;
  font-size: 28px;
  line-height: 36px;
  color: var(--espresso);
  font-weight: 400;
}

.proof-headline em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
}

.proof-subline {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown);
  max-width: 480px;
  margin: 16px auto 0;
}

/* ============================================================
   3. Proof Example
   ============================================================ */
.proof-example {
  margin-bottom: 48px;
}

.proof-example-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--taupe);
  text-align: center;
  margin-bottom: 16px;
}

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

.proof-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
}

/* ============================================================
   4. Arrow
   ============================================================ */
.proof-arrow {
  text-align: center;
  padding: 12px 0;
  color: var(--gold);
}

.proof-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
}

.proof-arrow-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 4px;
}

/* ============================================================
   5. Video
   ============================================================ */
.proof-video-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(45, 36, 22, 0.10);
}

.proof-video {
  width: 100%;
  display: block;
  background: var(--espresso);
}

.proof-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  transition: opacity 300ms ease;
  z-index: 2;
}

.proof-video-play:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 50%;
}

.proof-video-wrap.is-playing .proof-video-play {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   6. Lead Capture
   ============================================================ */
.proof-capture {
  background: var(--section-alt);
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  margin: 32px 0;
}

.proof-capture-title {
  font-family: 'Prata', serif;
  font-size: 24px;
  line-height: 1.3;
  color: var(--espresso);
  font-weight: 400;
}

.proof-capture-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown);
  margin: 8px auto 24px;
  max-width: 400px;
}

.proof-form-row {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.proof-input {
  flex: 1;
  height: 52px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--espresso);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.proof-input::placeholder {
  color: var(--taupe);
}

.proof-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 123, 0.15);
}

.proof-input.has-error {
  border-color: var(--error);
}

.proof-submit {
  height: 52px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease;
  line-height: 1;
}

.proof-submit:hover {
  background: var(--gold-hover);
}

.proof-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.proof-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.proof-form-error {
  color: var(--error-text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
  line-height: 20px;
}

.proof-privacy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--taupe);
  margin-top: 12px;
  line-height: 1.5;
}

.proof-lock {
  margin-right: 4px;
}

/* ============================================================
   7. Trust Bar
   ============================================================ */
.proof-trust {
  padding: 24px 0;
  text-align: center;
}

.proof-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proof-trust-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--taupe);
  line-height: 1;
}

.proof-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* ============================================================
   8. Footer
   ============================================================ */
.proof-footer {
  text-align: center;
  padding: 24px 0 32px;
}

.proof-compliance {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--taupe);
  line-height: 1.6;
}

/* ============================================================
   Responsive — tablet and up (768px)
   ============================================================ */
@media (min-width: 768px) {
  .proof-hero {
    padding: 64px 0 40px;
  }

  .proof-headline {
    font-size: 40px;
    line-height: 48px;
  }

  .proof-photos {
    gap: 8px;
  }

  .proof-capture-title {
    font-size: 32px;
  }
}

/* ============================================================
   Responsive — small mobile (< 480px)
   ============================================================ */
@media (max-width: 479px) {
  .proof-form-row {
    flex-direction: column;
  }

  .proof-submit {
    width: 100%;
  }
}
