:root {
  --color-bg: #fff8f6;
  --color-bg-alt: #fff0ec;
  --color-surface: #ffffff;
  --color-text: #1c1412;
  --color-text-muted: #6b5c58;
  --color-primary: #e8345f;
  --color-primary-dark: #c91f4a;
  --color-accent: #ff6b4a;
  --color-border: rgba(28, 20, 18, 0.08);
  --gradient-hero: linear-gradient(135deg, #ff4d6d 0%, #ff6b4a 45%, #ff8e53 100%);
  --gradient-soft: linear-gradient(180deg, #fff8f6 0%, #ffe8e3 100%);
  --shadow-sm: 0 4px 20px rgba(232, 52, 95, 0.08);
  --shadow-md: 0 12px 40px rgba(232, 52, 95, 0.12);
  --shadow-lg: 0 24px 60px rgba(232, 52, 95, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: min(1120px, calc(100% - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--gradient-hero);
  color: white !important;
}

.nav-cta:hover {
  opacity: 0.92;
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  z-index: -1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.18) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding-top: 1rem;
  border-top: 2px solid rgba(232, 52, 95, 0.2);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hero-stats span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.profile-preview {
  width: min(300px, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(2deg);
}

.profile-photo {
  height: 320px;
  background-image: url("assets/marthe-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-bio {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.swipe-hint {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 0 0 1.25rem;
  font-size: 1.5rem;
}

.swipe-no {
  color: #ccc;
}

.swipe-yes {
  color: var(--color-primary);
}

.floating-badge {
  position: absolute;
  padding: 0.6rem 1rem;
  background: var(--color-surface);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
}

.badge-2 {
  top: 45%;
  right: -5%;
  animation-delay: 1s;
}

.badge-3 {
  bottom: 10%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.section-header p:last-child {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: white;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.step p {
  color: var(--color-text-muted);
  margin: 0;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background-image: url("assets/marthe-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}

.about-initials {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.about-content p:last-of-type {
  margin-bottom: 1.5rem;
}

/* Quote */

.quote-block {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  font-style: italic;
}

.quote-block cite {
  font-style: normal;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-form {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 52, 95, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}

.footer-inner p {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-copy {
  text-align: right;
}

/* Mobile */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-card {
    order: -1;
    min-height: 320px;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: rgba(255, 248, 246, 0.98);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-menu .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root {
    --container: min(1120px, calc(100% - 1.5rem));
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }
}
