/* ============================================================
   YOURVOICEPRINT.COM — Main Stylesheet
   Design: Editorial luxury · Warm authority · Human-first
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

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

:root {
  /* Core palette */
  --ink:        #1a1612;
  --ink-soft:   #3d3830;
  --ink-muted:  #7a7268;
  --paper:      #faf8f4;
  --paper-warm: #f2ede4;
  --paper-deep: #e8e0d2;

  /* Accent — founders: deep ink-green, creators: warm terracotta */
  --founders:       #2b3d2f;
  --founders-light: #e8efe9;
  --founders-mid:   #4a6b50;
  --creators:       #8b3a1e;
  --creators-light: #f5ebe6;
  --creators-mid:   #c4612e;

  /* Gold thread */
  --gold:       #b89a5a;
  --gold-light: #f0e8d4;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* Layout */
  --max-w: 1160px;
  --max-w-narrow: 720px;
  --radius: 3px;
  --radius-lg: 8px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Header ------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--space-md);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--paper-deep);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.lang-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.lang {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.lang:hover { color: var(--ink); border-bottom-color: var(--ink); }
.lang.active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 500; }

/* --- Hero --------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--space-xl) + 4rem) var(--space-md) var(--space-lg);
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 154, 90, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(43, 61, 47, 0.05) 0%, transparent 60%),
    var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(120, 110, 95, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w-narrow);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--ink-soft);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1.5s both;
}

.scroll-hint svg { animation: bounce 2s ease infinite 2s; }

/* --- Paths -------------------------------------------------- */
.paths {
  padding: var(--space-xl) var(--space-md);
  background: var(--paper);
}

.paths-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: stretch;
}

.path-card {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(26, 22, 18, 0.12);
}

.path-card:hover::before { height: 5px; }

/* Founders card */
.path-founders {
  background: var(--founders-light);
  border: 1px solid rgba(43, 61, 47, 0.12);
}

.path-founders::before { background: var(--founders); }
.path-founders .card-tag { color: var(--founders-mid); }
.path-founders .card-title { color: var(--founders); }
.path-founders .card-title em { color: var(--founders-mid); }
.path-founders .card-cta { color: var(--founders); border-top-color: rgba(43, 61, 47, 0.15); }
.path-founders .card-cta svg { stroke: var(--founders); }
.path-founders li::before { background: var(--founders-mid); }

/* Creators card */
.path-creators {
  background: var(--creators-light);
  border: 1px solid rgba(139, 58, 30, 0.12);
}

.path-creators::before { background: var(--creators); }
.path-creators .card-tag { color: var(--creators-mid); }
.path-creators .card-title { color: var(--creators); }
.path-creators .card-title em { color: var(--creators-mid); }
.path-creators .card-cta { color: var(--creators); border-top-color: rgba(139, 58, 30, 0.15); }
.path-creators .card-cta svg { stroke: var(--creators); }
.path-creators li::before { background: var(--creators-mid); }

/* Card internals */
.card-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.card-title em {
  font-style: italic;
  display: block;
}

.card-body {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.card-proof {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-proof li {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
}

.card-proof li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-top: 1.25rem;
  border-top: 1px solid;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.path-card:hover .card-cta { gap: 1rem; }

/* --- Method strip ------------------------------------------ */
.method-strip {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-lg) var(--space-md);
}

.method-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.method-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  min-width: 220px;
}

.method-steps {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(250, 248, 244, 0.2);
  line-height: 1;
}

.step-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(250, 248, 244, 0.8);
  letter-spacing: 0.04em;
}

.step-sep {
  color: var(--gold);
  opacity: 0.4;
  font-size: 1.2rem;
  align-self: center;
  margin-top: 0.5rem;
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--paper-deep);
  padding: var(--space-lg) var(--space-md);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-by {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-by a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-deep);
  transition: border-color 0.2s;
}

.footer-by a:hover { border-bottom-color: var(--ink-soft); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

/* --- Animations -------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* --- Scroll reveal for path cards -------------------------- */
.path-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-card.path-founders { transition-delay: 0.1s; }
.path-card.path-creators { transition-delay: 0.25s; }

.path-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.path-card.visible:hover {
  transform: translateY(-6px);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 860px) {
  .paths-inner {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .path-card {
    padding: 2.5rem 2rem;
  }

  .method-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 2.2rem; }

  .path-card { padding: 2rem 1.5rem; }

  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .method-steps {
    gap: 1rem;
  }
}

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

/* ============================================================
   FAQ BLOCKS — GEO citability sections
   ============================================================ */
.faq-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--paper-warm);
  border-top: 1px solid var(--paper-deep);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.faq-block {
  padding: 2rem 0;
  border-top: 1px solid var(--paper-deep);
}

.faq-block:first-of-type { border-top: none; }

.faq-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.faq-block p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.faq-byline {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-style: italic;
  padding-top: 0.75rem;
  border-top: 1px solid var(--paper-deep);
  margin-top: 1rem;
  display: block;
}

/* Author attribution strip */
.author-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--space-md);
  background: var(--paper);
  border-top: 1px solid var(--paper-deep);
  border-bottom: 1px solid var(--paper-deep);
}

.author-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}

.author-title {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.author-sep {
  color: var(--paper-deep);
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .author-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .author-sep { display: none; }
}
