/* ============================================================
   MARRIED TO THE GROOVE — Landing Page Design System
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Epika Thin';
  src: url('../fonts/epika-thin.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Epika Italic';
  src: url('../fonts/epika-italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --- */
:root {
  --dark:     #121212;
  --burgundy: #380408;
  --oxblood:  #520000;
  --red:      #8A0013;
  --cream:    #EEE7D4;
  --white:    #FFFFFA;

  --font-display:        'Epika Thin', Georgia, serif;
  --font-display-italic: 'Epika Italic', Georgia, serif;
  --font-body:           'Hanken Grotesk', system-ui, sans-serif;

  --container-max: 1100px;
  --container-narrow: 680px;
}

/* --- Base --- */
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { cursor: pointer; }

/* --- Typography scale --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }

p {
  margin: 0 0 1.2rem;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
}
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 1rem 2.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s;
}
.btn--primary {
  background: var(--oxblood);
  color: var(--cream);
}
.btn--primary:hover { background: var(--burgundy); }
.btn--light {
  background: var(--cream);
  color: var(--dark);
}
.btn--light:hover { opacity: 0.88; }

/* --- Scroll animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive breakpoints --- */
@media (max-width: 900px) {
  section { padding: 4.5rem 0; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .container, .container--narrow { padding: 0 1.25rem; }
  h2 { font-size: 1.65rem; }
  p { font-size: 0.95rem; }
}
