:root {
  --ink: #241042;
  --purple: #3d176f;
  --purple-deep: #2c0c57;
  --lilac: #f5f0ff;
  --lilac-mid: #e8dcfb;
  --gold: #f6c939;
  --white: #fff;
  --shadow: 0 18px 38px rgba(48, 18, 88, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--lilac);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.site-header {
  min-height: 108px;
  padding: 17px clamp(24px, 5vw, 76px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: var(--white);
}

.wordmark {
  width: 142px;
  display: grid;
  justify-items: center;
  color: #0f0c13;
  text-decoration: none;
  line-height: .68;
}

.wordmark-name {
  font-family: "Outfit", Impact, sans-serif;
  font-size: 2.17rem;
  font-weight: 400;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.m-mark {
  width: 43px;
  height: 37px;
  margin-top: 7px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: var(--gold);
  border: 4px solid var(--purple);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  padding-top: 12px;
}

main { overflow: hidden; }

.hero {
  max-width: 1260px;
  min-height: 585px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) clamp(24px, 5vw, 76px) 76px;
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(350px, 1.08fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #7654aa;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

h1 {
  max-width: 480px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 6vw, 5.5rem);
  letter-spacing: -.055em;
  line-height: .94;
}

h1 em { color: var(--purple); }

.intro {
  max-width: 440px;
  margin-bottom: 30px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.jump-link {
  min-height: 44px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--purple);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.jump-link span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--purple);
  border-radius: 50%;
}

.hero-art { position: relative; }

.hero-art::before {
  position: absolute;
  z-index: -1;
  top: -37px;
  right: -44px;
  width: 180px;
  height: 180px;
  border: 24px solid var(--lilac-mid);
  border-radius: 50%;
  content: "";
}

.hero-photo-frame {
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 10px solid var(--white);
  border-radius: 32px 32px 118px 32px;
  box-shadow: var(--shadow);
  transform: rotate(1.3deg);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.17 / 1;
  object-fit: cover;
  object-position: center 27%;
}

.photo-caption {
  margin: 21px 0 0 10%;
  color: var(--purple);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.14rem;
  font-style: italic;
  transform: rotate(-1.3deg);
}

.photo-caption span { color: var(--gold); }

.favorites {
  padding: 82px clamp(24px, 5vw, 76px) 100px;
  background: var(--white);
}

.section-heading {
  max-width: 1110px;
  margin: 0 auto 36px;
}

h2 {
  max-width: 600px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.interest-grid {
  max-width: 1110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.interest-card {
  position: relative;
  min-height: 295px;
  padding: 27px 26px 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background: var(--purple);
  border-radius: 28px;
  box-shadow: 0 9px 20px rgba(46, 13, 84, .11);
  transition: transform .2s ease, box-shadow .2s ease;
}

.interest-card::after {
  position: absolute;
  right: -28px;
  bottom: -53px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  content: "";
}

.track-card, .animals-card { grid-column: span 3; }
.cooking-card, .water-card, .family-card { grid-column: span 2; }
.animals-card { background: #56258f; }
.cooking-card { background: #32135f; }
.water-card { background: #4e1680; }
.family-card { background: #3c176b; }

.card-number {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.card-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--gold);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2.2rem;
}

h3 {
  max-width: 85%;
  margin: auto 0 9px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.84rem;
  font-weight: 400;
  letter-spacing: -.03em;
}

.interest-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: .92rem;
  line-height: 1.58;
}

footer {
  min-height: 105px;
  padding: 24px clamp(24px, 5vw, 76px);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  background: var(--purple-deep);
}

footer p { max-width: calc(100% - 48px); margin: 0; font-size: .88rem; }
.footer-m { color: var(--gold); font-family: "Outfit", sans-serif; font-size: 2rem; font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (hover: hover) {
  .interest-card:hover {
    box-shadow: 0 16px 28px rgba(46, 13, 84, .18);
    transform: translateY(-5px);
  }
}

@media (max-width: 750px) {
  .site-header { min-height: 92px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 540px; }
  .hero-art { max-width: 540px; width: 100%; margin: 0 auto; }
  .interest-grid { grid-template-columns: 1fr; }
  .track-card, .animals-card, .cooking-card, .water-card, .family-card { grid-column: auto; }
  .interest-card { min-height: 245px; }
}

@media (max-width: 430px) {
  .site-header { padding-right: 22px; }
  .wordmark { width: 122px; }
  .wordmark-name { font-size: 1.88rem; }
  .hero { min-height: auto; padding-top: 44px; padding-bottom: 60px; }
  h1 { font-size: clamp(2.9rem, 15vw, 3.5rem); }
  .hero-photo-frame { border-width: 7px; border-radius: 23px 23px 88px 23px; }
  .photo-caption { margin-left: 2%; font-size: 1rem; }
  .favorites { padding-top: 63px; }
}
