:root {
  color-scheme: light;
  color: #2b2443;
  background: #fbf8f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  padding: 0 22px 46px;
  background: radial-gradient(ellipse at 50% 0%, #fff 0%, transparent 65%);
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 22px 0 20px;
  color: #293c5a;
  font-size: 1.05rem;
  font-weight: 790;
  letter-spacing: -.025em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.page { max-width: 976px; margin: 0 auto; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  padding: 21px 12px 23px;
  text-align: center;
}

.hero-art { display: none; }

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

h1 {
  font: 700 clamp(2rem, 8.65vw, 3.6rem)/.99 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  color: #332447;
}

.hero p {
  margin-top: .8rem;
  color: #544763;
  font-size: 1rem;
}

.groups {
  max-width: 840px;
  margin: 6px auto 0;
}

.groups h2 {
  margin-bottom: 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.group-list {
  display: grid;
  gap: 13px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.group {
  position: relative;
  display: flex;
  min-height: 160px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 16px clamp(16px, 4.5vw, 29px);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 23px;
  box-shadow: 0 5px 18px #2d234308;
}

.group:hover { border-color: var(--action); }
.group:focus-visible { outline: 3px solid #4d4196; outline-offset: 4px; }

.group--bella {
  --surface: #f4e8fc;
  --border: #e4d2f2;
  --ink: #47295d;
  --action: #683a87;
  --art-position: left;
}

.group--noah {
  --surface: #e6f2ed;
  --border: #cee4db;
  --ink: #1e4c43;
  --action: #276452;
  --art-position: right;
}

.group-copy { position: relative; z-index: 1; }

.group-type {
  display: block;
  margin-bottom: 5px;
  font-size: .875rem;
  font-weight: 690;
}

.group h3 {
  font: 700 clamp(1.56rem, 6vw, 2rem)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.038em;
}

.group-action {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--action);
  font-size: .875rem;
  font-weight: 670;
  white-space: nowrap;
}

.group-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: url("/assets/bella-e-noah.jpg") var(--art-position) 57% / auto 120% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
  pointer-events: none;
}

@media (min-width: 600px) {
  .group-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 790px) {
  .brand { padding-top: 26px; }

  .hero {
    min-height: 385px;
    aspect-ratio: 2.3;
    padding: 22px;
    overflow: hidden;
    border-radius: 31px;
    background: #faf3e7;
    border: 1px solid #f1e7ef;
  }

  .hero-art {
    position: absolute;
    inset: 0;
    display: block;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 57%;
  }

  .hero-copy { max-width: 45%; }
  h1 { font-size: clamp(2.15rem, 4.7vw, 3.3rem); }
  .hero p { margin-top: 1rem; }
  .groups { margin-top: 24px; }
  .groups h2 { margin-bottom: 14px; font-size: 1.08rem; }
  .group-list { gap: 16px; }
  .group { min-height: 170px; }
  .group-art { width: 42%; }
}

@media (max-width: 360px) {
  body { padding-right: 15px; padding-left: 15px; }
  .group { padding-inline: 14px; }
  .group-art { width: 43%; }
}
