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

/* ====== SKIP LINK (ADA) ====== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

:root {
  --bg: #efe6dd;
  --bg-alt: #e8ddd3;
  --bg-light: #f7f1ea;
  --text: #2f1c1b;
  --text-secondary: #5e453b;
  --text-muted: #7d6b60;
  --accent: #94132f;
  --accent-light: #f2d5db;
  --accent-dark: #7a0f27;
  --green: #2e7245;
  --green-light: #dfeee5;
  --blue: #3b82f6;
  --orange: #e67e22;
  --border: #d5c9bc;
  --card-bg: #faf7f2;
  --shadow: 0 1px 4px rgba(47,28,27,0.07), 0 1px 2px rgba(47,28,27,0.04);
  --shadow-lg: 0 4px 16px rgba(47,28,27,0.10), 0 1px 3px rgba(47,28,27,0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

::selection { background: var(--accent-light); color: var(--accent-dark); }
html { font-family: 'Poppins', -apple-system, system-ui, sans-serif; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; }

.burst {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.7;
}
.burst-accent { background: var(--accent-light); }
.burst-warm { background: #f5dcc0; }

.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  background-image: var(--grain-url);
  background-repeat: repeat;
}

.reveal-line {
  position: relative;
  overflow: hidden;
}
.reveal-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.8s ease;
  z-index: 2;
}
.reveal-line.visible::before { transform: scaleX(1); }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(239, 230, 221, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 201, 188, 0.4);
}
.nav-wordmark {
  font-family: 'Young Serif', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* Hamburger — hidden on desktop */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — hidden on desktop */
.nav-drawer {
  display: none;
}
.nav-drawer-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-drawer-link:hover { color: var(--text); }
.nav-drawer-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  margin-top: 0.5rem;
  text-align: center;
  transition: opacity 0.2s;
}
.nav-drawer-cta:hover { opacity: 0.9; }

.hero {
  min-height: 88dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  padding-top: 5rem;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
h1 {
  font-family: 'Young Serif', serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 720px;
  margin: 0 auto;
}
h2 {
  font-family: 'Young Serif', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.18;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 520px;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 2rem auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.cta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section { padding: 5.5rem 2rem; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin: 0.75rem auto 0;
}

.section-dark {
  background: var(--text);
  color: #fff;
  padding: 5.5rem 2rem;
}
.section-dark .label { color: var(--accent-light); }
.section-dark h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.55); }

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.step { text-align: center; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 0.85rem;
}
.step h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; }
.step p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }

.int-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 1.5rem 0;
}
.int-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0;
  line-height: 1;
  transition: color 0.3s;
}
.int-name:hover { color: var(--text); }
.int-sep {
  color: var(--border);
  font-size: 0.7rem;
  padding: 0 1.4rem;
  font-weight: 300;
  user-select: none;
}

.final-cta {
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--accent-dark);
  color: #fff;
}
.final-cta .hero-label { color: var(--accent-light); }
.final-cta h1 { color: #fff; }
.final-cta .hero-sub { color: rgba(255,255,255,0.7); }
.final-cta .divider { background: var(--accent-light); opacity: 0.5; }
.final-cta .cta-btn {
  background: #fff;
  color: var(--accent-dark);
}
.final-cta .cta-btn:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.final-cta .cta-note { color: rgba(255,255,255,0.5); }

.footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.footer p { margin: 0; }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--accent); }

.marker-hl {
  display: inline;
  font-weight: 700;
  color: var(--text);
  padding: 0 4px;
  position: relative;
}
.marker-hl::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 8px;
  height: 38%;
  background: rgba(148,19,47,0.18);
  transform: rotate(-1deg);
  z-index: -1;
}
.marker-hl-green {
  background: linear-gradient(to top, var(--green-light) 38%, transparent 38%);
  padding: 0 2px;
  font-weight: 700;
  color: var(--green);
}
.marker-hl-warn {
  background: linear-gradient(to top, #fef3cd 38%, transparent 38%);
  padding: 0 2px;
  font-weight: 700;
  color: #856404;
}

.brand { color: var(--accent); font-weight: 600; }
.final-cta .brand {
  color: #fff;
  position: relative;
  display: inline-block;
}
.final-cta .brand::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 2px;
  height: 6px;
  background: rgba(245,220,192,1);
  border-radius: 3px;
  z-index: -1;
  transform: rotate(1deg);
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.anim-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.anim-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.anim-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.anim-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.anim-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.anim-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.hero .hero-label,
.hero h1,
.hero .hero-sub,
.hero .divider,
.hero .cta-btn,
.hero .cta-note {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s ease forwards;
}
.hero .hero-label { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero .hero-sub { animation-delay: 0.35s; }
.hero .divider { animation-delay: 0.45s; }
.hero .cta-btn { animation-delay: 0.55s; }
.hero .cta-note { animation-delay: 0.65s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 5rem 1.5rem 3rem; min-height: 85dvh; }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .divider { margin: 1.5rem auto; }
  .cta-btn { font-size: 0.85rem; padding: 12px 24px; width: 100%; justify-content: center; }
  .cta-note { font-size: 0.7rem; }

  .section, .pitch-section, .section-dark { padding: 3.5rem 1.25rem; overflow: hidden; }
  .section-header { margin-bottom: 2rem; }
  .section-header p { font-size: 0.88rem; }

  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step h3 { font-size: 0.85rem; }
  .step p { font-size: 0.78rem; }

  .burst { transform: scale(0.5); opacity: 0.4; }

  .nav { padding: 0.75rem 1rem; }
  .nav-wordmark { font-size: 1.1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-link { font-size: 0.72rem; }
  .nav-cta { font-size: 0.72rem; padding: 6px 14px; }

  .int-row { flex-direction: column; gap: 0.75rem; }
  .int-sep { display: none; }
  .int-name { font-size: 0.9rem; }

  .final-cta { padding: 4rem 1.5rem; }
  .final-cta h1, .final-cta h2 { font-size: 1.8rem; }
  .final-cta .hero-sub { font-size: 0.9rem; }
  .final-cta .cta-btn { width: auto; }

  .footer { padding: 1.5rem 1rem; font-size: 0.7rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero-sub { font-size: 0.88rem; }
  .hero { padding: 4.5rem 1.25rem 2.5rem; min-height: 82dvh; }
  .section, .section-dark { padding: 3rem 1rem; }
  .label { font-size: 0.65rem; }

  .nav-link { display: none; }
  .nav-links .nav-cta { display: none; }
  .nav-links { gap: 0; }
  .nav-burger { display: flex; }
  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: var(--bg);
    padding: 5rem 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-drawer.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-drawer-link {
    font-size: 1.1rem;
    padding: 1rem 0;
  }
  .nav-drawer-cta {
    margin-top: 1rem;
    align-self: flex-start;
  }

  .footer-links { gap: 0.75rem; }
  .footer-links a { font-size: 0.68rem; }
}
