/* Pink Pony Band — coming soon
   Breakpoints: 576px, 768px, 1024px, 1280px */

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

@font-face {
  font-family: "ITC Benguiat";
  src: local("ITC Benguiat Bold"), local("ITCBenguiatStd-Bold"),
    url("fonts/itc-benguiat-bold.woff2") format("woff2"),
    url("fonts/itc-benguiat-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e75480;
  --text: #1f0f18;
  --social: #2d1522;
  --social-hover: #5c1038;
  --focus-ring: #5c1038;
  --hero-max: 72vw;
  --space-content: clamp(1.25rem, 4vw, 2.5rem);
  --space-footer: clamp(1rem, 3vw, 1.75rem);
  --headline-size: clamp(1.45rem, 4.2vw, 2rem);
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
    "Noto Sans", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-content);
  padding-bottom: var(--space-footer);
  row-gap: clamp(1.25rem, 3.5vmin, 2.75rem);
}

.page__content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
  max-width: 40rem;
}

.hero-img {
  display: block;
  width: calc(0.85 * min(var(--hero-max), 20rem));
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0.5rem 2rem rgba(45, 21, 34, 0.18);
}

.headline,
.headline__sub {
  font-family: "ITC Benguiat", "Palatino Linotype", "Book Antiqua", Palatino,
    Georgia, serif;
  font-size: var(--headline-size);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

.headline {
  max-width: 22rem;
  margin: 0;
  transform: translateY(-36px);
}

.headline__sub {
  max-width: 19rem;
  margin: 0;
  /* Reserve layout space for translateY(36px) so text doesn’t paint over the social row */
  padding-bottom: 36px;
  transform: translateY(36px);
}

.social {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 1.75rem);
  padding-top: 0.5rem;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  color: var(--social);
  border-radius: 0.375rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

@media (max-width: 575.98px) {
  .social__link {
    width: 3.85rem;
    height: 3.85rem;
  }
}

.social__link:hover {
  color: var(--social-hover);
  transform: translateY(-1px);
}

.social__link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.social__icon {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (min-width: 576px) {
  :root {
    --hero-max: 58vw;
  }

  .headline {
    max-width: 26rem;
  }

  .headline__sub {
    max-width: 24rem;
  }

  .page__content {
    max-width: 28rem;
  }

  .social__link {
    width: 4.2rem;
    height: 4.2rem;
  }
}

@media (min-width: 768px) {
  :root {
    --hero-max: 42vw;
  }

  .page__content {
    max-width: 32rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --hero-max: 24rem;
  }

  .page {
    /* Extra space above the social row where transforms + big layout need more room */
    row-gap: clamp(1.75rem, 4.5vmin, 3.5rem);
  }

  .page__content {
    max-width: 36rem;
  }

  .headline {
    max-width: none;
    white-space: nowrap;
  }

  .social__link {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --hero-max: 26rem;
  }

  .page__content {
    max-width: 40rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social__link {
    transition: none;
  }

  .social__link:hover {
    transform: none;
  }
}
