/* Fonts */
@font-face {
  font-family: 'DGM Sprinter';
  src: url('assets/fonts/DGM Sprinter/WOFF/DGMSprinter-Regular.woff2') format('woff2'),
       url('assets/fonts/DGM Sprinter/WOFF/DGMSprinter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DGM Sprinter';
  src: url('assets/fonts/DGM Sprinter/WOFF/DGMSprinter-Medium.woff2') format('woff2'),
       url('assets/fonts/DGM Sprinter/WOFF/DGMSprinter-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Resona';
  src: url('assets/fonts/Resona/Resona-Italicdisplay.woff2') format('woff2'),
       url('assets/fonts/Resona/Resona-Italicdisplay.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/Hanken Grotesk/HankenGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/Hanken Grotesk/HankenGrotesk-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --purple: #420475;
  --button-red: #E4002B;
  --text-dark: #1e1e1e;
  --white: #ffffff;
}

body {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  /* no animation */
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  /* delay is set inline via JS */
}

.hero-subtitle {
  animation: fadeInUp 0.4s ease-out 1s both;
}

.cta-button {
  animation: fadeInUp 0.33s ease-out 0s both;
}

.benefit {
  opacity: 0;
  animation: fadeIn 0.4s ease-out both;
}

.benefit:nth-child(1) { animation-delay: 1.2s; }
.benefit:nth-child(2) { animation-delay: 1.35s; }
.benefit:nth-child(3) { animation-delay: 1.5s; }
.benefit:nth-child(4) { animation-delay: 1.65s; }

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--purple);
  color: var(--white);
  padding: 12px 24px;
  z-index: 100;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

/* Focus States */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.cta-button:focus-visible {
  outline-color: var(--white);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--purple);
}

.social-link:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 0;
  border-radius: 4px;
}

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

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding:0px 2rem;
}

.logo {
  width: 160px;
  height: auto;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 40px 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  height: 50%;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  opacity: 0.2;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(84deg, rgb(255, 255, 255) 6%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(178deg, rgba(255, 255, 255, 0) 47%, rgb(255, 255, 255) 89%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  color: var(--purple);
  margin-bottom: 12px;
}

.hero-title-top {
  display: block;
  font-family: 'DGM Sprinter', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 81px);
  line-height: 1.13;
  letter-spacing: -0.5px;
}

.mobile-break {
  display: none;
}

.hero-title-bottom {
  display: block;
}

.hero-title-bottom em {
  font-family: 'Resona', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 6.2vw, 91px);
  line-height: 1.01;
}

.hero-subtitle {
  color: var(--purple);
  font-size: 24px;
  line-height: 1.46;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}

.benefit-title {
  font-family: 'DGM Sprinter', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.01;
  letter-spacing: -0.57px;
  color: var(--purple);
  margin-bottom: 10px;
}

.benefit-description {
  font-size: 12px;
  line-height: 1.46;
  color: var(--text-dark);
  max-width: 220px;
  margin: 0 auto;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  padding: 18px 36px;
  font-family: 'DGM Sprinter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.66px;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: var(--button-red);
}

.cta-button svg {
  flex-shrink: 0;
  animation: arrowNudge 2s ease-in-out 2.5s infinite;
}

@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(6px); }
  50% { transform: translateX(-2px); }
  65% { transform: translateX(3px); }
  80% { transform: translateX(0); }
}

/* Photo Collage */
.collage {
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
}

.collage img {
  width: 102%;
  max-width: 1765px;
  height: auto;
  display: block;
}

/* Footer */
.footer {
  padding: 40px 0 0;
}

.footer-banner {
  padding: 0;
}

.footer-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px 40px;
}

.social-icons {
  position: relative;
  display: flex;
  align-items: center;
}

.social-icons-img {
  height: 62px;
  width: auto;
  display: block;
}

.social-link {
  position: absolute;
  top: 0;
  height: 100%;
  width: 25%;
  z-index: 1;
}

.social-icons {
  transition: opacity 0.2s ease;
}

.social-icons:hover {
  opacity: 0.6;
}

.social-link:nth-child(1) { left: 0; }
.social-link:nth-child(2) { left: 25%; }
.social-link:nth-child(3) { left: 50%; }
.social-link:nth-child(4) { left: 75%; }

.copyright {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.39px;
  color: var(--text-dark);
}

/* ==================== */
/* Mobile Responsive    */
/* ==================== */
@media (max-width: 768px) {
  .header {
    padding: 0 12px;
  }

  .logo {
    width: 68px;
  }

  .hero {
    padding: 80px 20px 40px;
  }

  .hero-bg {
    width: 140%;
    right: -40%;
    height: 40%;
  }

  .hero-title-top {
    font-size: 36px;
    line-height: 1.13;
  }

  .mobile-break {
    display: block;
  }

  .hero-title-bottom em {
    font-size: 40px;
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.46;
    max-width: 200px;
    margin-bottom: 28px;
  }

  .cta-button {
    font-size: 19px;
    padding: 15px 30px;
    gap: 20px;
    order: -1;
    margin-bottom: 40px;
  }

  .hero-title {
    order: -3;
  }

  .hero-subtitle {
    order: -2;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0;
    margin-bottom: 32px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-title {
    font-size: 28px;
  }

  .benefit-description {
    font-size: 11px;
    max-width: 220px;
  }

  .collage {
    margin-top: 10px;
  }

  .collage img {
    width: 230%;
    max-width: none;
  }

  .footer {
    padding-top: 20px;
  }

  .footer-banner {
    padding: 0 16px;
  }

  .footer-banner img {
    width: 100%;
    height: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 32px;
  }

  .social-icons-img {
    height: 50px;
  }

  .copyright {
    font-size: 12px;
  }
}
