/* ═══════════════════════════════════════════════════════════════════════════
   Sarah Natasha — Campaign Website Styles
   Design system: warm editorial, cinematic, premium minimal
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  --cream:          #FAF7F2;
  --warm-white:     #F3EDE3;
  --charcoal:       #1C1917;
  --charcoal-soft:  #3D3835;
  --charcoal-muted: #7A7370;
  --blush:          #C9A396;
  --gold:           #B8965A;
  --gold-light:     #C9A96A;
  --gold-pale:      #E8D5B0;
  --hero-overlay:   rgba(18, 14, 10, 0.50);

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

  --max-prose:    660px;
  --max-wide:     1100px;
  --max-page:     1400px;

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--charcoal-soft);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ── Utility: Visually Hidden ────────────────────────────────────────────── */
.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;
}

/* ── Focus Styles ────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Section Label ───────────────────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.25rem;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--blush);
  margin: 2rem auto;
  opacity: 0.6;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.95rem 2.25rem;
  border-radius: 3px;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-primary--dark {
  background: #fff;
  color: var(--charcoal);
}
.btn-primary--dark:hover {
  background: var(--gold-pale);
  color: var(--charcoal);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.25s;
}
.btn-text-link:hover {
  border-color: var(--gold);
}

/* ── Toast (copy confirmation) ───────────────────────────────────────────── */
#copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--charcoal);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  z-index: 9999;
  white-space: nowrap;
}
#copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Background image / video */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.03) brightness(0.92);
  transform: scale(1.01);
}

video.hero-media {
  object-position: center 20%;
}

/* Gradient overlay — bottom-heavy for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(20,13,9,0.76) 0%,
      rgba(20,13,9,0.55) 34%,
      rgba(20,13,9,0.18) 64%,
      rgba(20,13,9,0.08) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(18,14,10,0.08) 0%,
      rgba(18,14,10,0.06) 42%,
      rgba(18,14,10,0.48) 76%,
      rgba(18,14,10,0.74) 100%
    );
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(3rem, 7vh, 5.5rem);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  max-width: 680px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.35));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 2 — MY STORY
   ═══════════════════════════════════════════════════════════════════════════ */
#story {
  background: var(--cream);
  padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.story-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Text column */
.story-text {
  max-width: var(--max-prose);
}

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.story-body p {
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  line-height: 1.85;
  color: var(--charcoal-soft);
  margin-bottom: 1.5rem;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-signature {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--charcoal);
  opacity: 0.7;
}

/* Story media column */
.story-image-wrap {
  position: sticky;
  top: 2rem;
}

.story-image-wrap img,
.story-video {
  display: block;
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  background: var(--charcoal);
}

.story-video {
  object-fit: contain;
  object-position: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 3 — WHY I NEED YOUR HELP
   ═══════════════════════════════════════════════════════════════════════════ */
#reality {
  background: var(--warm-white);
  padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.reality-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
  text-align: left;
}

.reality-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

/* £77 pull stat */
.stat-block {
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(184, 150, 90, 0.25);
  border-bottom: 1px solid rgba(184, 150, 90, 0.25);
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--charcoal-muted);
  max-width: 200px;
}

.reality-body p {
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  line-height: 1.85;
  color: var(--charcoal-soft);
  margin-bottom: 1.4rem;
}
.reality-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 4 — WHAT YOUR SUPPORT MEANS
   ═══════════════════════════════════════════════════════════════════════════ */
#support {
  background: var(--cream);
  padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.support-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
}

.support-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.support-body p {
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  line-height: 1.85;
  color: var(--charcoal-soft);
  margin-bottom: 1.4rem;
}
.support-body p:last-child { margin-bottom: 0; }

.support-cta-wrap {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.support-cta-note {
  font-size: 0.8125rem;
  color: var(--charcoal-muted);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 5 — PRIVACY NOTE
   ═══════════════════════════════════════════════════════════════════════════ */
#privacy-note {
  background: var(--warm-white);
  padding: clamp(4rem, 8vh, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.privacy-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.privacy-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 1.5rem;
  opacity: 0.35;
}

.privacy-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.privacy-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--charcoal-muted);
  margin-bottom: 1.1rem;
}
.privacy-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 6 — FINAL CTA
   ═══════════════════════════════════════════════════════════════════════════ */
#final-cta {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  padding: clamp(6rem, 12vh, 10rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.18;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.45) 0%,
    rgba(28, 25, 23, 0.65) 100%
  );
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: #141210;
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-gfm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gold-pale);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(232, 213, 176, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: 2rem;
}
.footer-gfm:hover {
  color: var(--gold-light);
  border-color: rgba(232, 213, 176, 0.65);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2.5rem;
}

.footer-social a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-social a:hover { color: rgba(255,255,255,0.75); }

.footer-social-sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.75rem;
  user-select: none;
}

.footer-rule {
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 1.75rem;
}

.footer-privacy {
  font-size: 0.75rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.28);
  max-width: 480px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FADE-IN ON SCROLL
   ═══════════════════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.12s; }
.fade-up-delay-2 { transition-delay: 0.24s; }
.fade-up-delay-3 { transition-delay: 0.36s; }
.fade-up-delay-4 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 960px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .story-inner {
    grid-template-columns: 1fr;
  }

  .story-image-wrap {
    position: relative;
    top: auto;
    order: -1;
  }

  .story-image-wrap img,
  .story-video {
    height: 440px;
    object-position: center 15%;
  }

  .story-text {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-media {
    object-position: 47% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(20,13,9,0.69), rgba(20,13,9,0.30)),
      linear-gradient(to bottom, rgba(18,14,10,0.12) 0%, rgba(18,14,10,0.28) 42%, rgba(18,14,10,0.82) 100%);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-scroll { display: none; }

  .story-image-wrap img,
  .story-video {
    height: 320px;
  }

  .stat-block {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stat-label { max-width: 100%; }

  .support-cta-wrap { align-items: stretch; }
  .support-cta-wrap .btn-primary { text-align: center; justify-content: center; }

  .cta-buttons { width: 100%; }
  .cta-buttons .btn-primary { width: 100%; justify-content: center; }

  footer { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll-line { animation: none; }

  .btn-primary,
  .btn-ghost,
  .btn-text-link,
  .footer-gfm,
  .footer-social a {
    transition: none;
  }
}
