html[data-composition="family"] {
  color-scheme: light;
  --page: #edf1fc;
  --ink: #192c50;
  --muted: #4d5d79;
  --blue: #294cc7;
  --rule: #c8d2e7;
  --focus: #172b79;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

html[data-composition="family"] * {
  box-sizing: border-box;
}

html[data-composition="family"] body {
  margin: 0;
}

html[data-composition="family"] a {
  color: inherit;
  text-underline-offset: 0.25em;
}

html[data-composition="family"] a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
  border-radius: 3px;
}

html[data-composition="family"] svg {
  display: block;
}

html[data-composition="family"] .page-width {
  width: min(100% - 96px, 1200px);
  margin-inline: auto;
}

html[data-composition="family"] .visually-hidden,
html[data-composition="family"] .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html[data-composition="family"] .skip-link:focus {
  position: fixed;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 12px 20px;
  background: #fff;
}

html[data-composition="family"] .site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}

html[data-composition="family"] .wordmark {
  display: inline-block;
  flex-shrink: 0;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-decoration: none;
}

html[data-composition="family"] .wordmark span {
  color: var(--blue);
}

html[data-composition="family"] .site-header p {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

html[data-composition="family"] .introduction {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 64px;
  padding-block: 48px 52px;
}

html[data-composition="family"] h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(3.25rem, 6.7vw, 6rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

html[data-composition="family"] h1 span {
  color: var(--blue);
}

html[data-composition="family"] .introduction-copy {
  max-width: 340px;
  padding-bottom: 4px;
}

html[data-composition="family"] .introduction-copy p {
  margin: 0 0 20px;
  font-size: 1.1875rem;
  line-height: 1.6;
}

html[data-composition="family"] .family-jump {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: var(--blue);
  font-weight: 650;
  text-decoration-thickness: 1px;
}

html[data-composition="family"] .family-jump:hover {
  text-decoration-thickness: 2px;
}

html[data-composition="family"] .family-section {
  scroll-margin-top: 24px;
}

html[data-composition="family"] .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 8px;
}

html[data-composition="family"] .section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

html[data-composition="family"] .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

html[data-composition="family"] .profile-link-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.875rem;
}

html[data-composition="family"] .profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

html[data-composition="family"] .profile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 32px;
  border: 1px solid var(--profile-rule);
  border-radius: 20px;
  background: var(--profile-background);
}

html[data-composition="family"] .profile-blue {
  --profile-background: #fbfcff;
  --profile-rule: #d2dcf2;
  --profile-accent: #294cc7;
  --profile-tint: #e6ecfd;
}

html[data-composition="family"] .profile-violet {
  --profile-background: #f8f6ff;
  --profile-rule: #ddd5ef;
  --profile-accent: #695099;
  --profile-tint: #ece5fa;
}

html[data-composition="family"] .profile-terracotta {
  --profile-background: #fff7f1;
  --profile-rule: #ead6c9;
  --profile-accent: #9c4e32;
  --profile-tint: #fae5d8;
}

html[data-composition="family"] .profile-top {
  margin-bottom: 28px;
}

html[data-composition="family"] .profile-top img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

html[data-composition="family"] .profile-top picture {
  display: block;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

html[data-composition="family"] .profile h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

html[data-composition="family"] .profile h3 span {
  display: block;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 5px;
}

html[data-composition="family"] .profile-description {
  max-width: 65ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

html[data-composition="family"] .profile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--profile-rule);
  color: var(--profile-accent);
  font-weight: 650;
  text-decoration: none;
}

html[data-composition="family"] .profile-link-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

html[data-composition="family"] .profile-destination {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

html[data-composition="family"] .link-arrow {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--profile-tint);
  font-size: 1.25rem;
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}

html[data-composition="family"] .profile-link:hover .profile-link-label {
  text-decoration: underline;
}

html[data-composition="family"] .profile-link:hover .link-arrow {
  background: var(--profile-rule);
  transform: translate(2px, -2px);
}

html[data-composition="family"] .site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 72px;
  padding-block: 32px 24px;
  border-top: 1px solid var(--rule);
}

html[data-composition="family"] .footer-introduction .wordmark {
  font-size: 1.375rem;
}

html[data-composition="family"] .footer-introduction p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

html[data-composition="family"] .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

html[data-composition="family"] .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
}

html[data-composition="family"] .footer-links a:hover {
  color: var(--blue);
}

html[data-composition="family"] .footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--muted);
}

html[data-composition="family"] .footer-bottom small {
  font-size: 0.8125rem;
}

html[data-composition="family"] .heart {
  color: #9c4e32;
}

@media (max-width: 1000px) {
  html[data-composition="family"] .page-width {
    width: calc(100% - 56px);
  }

  html[data-composition="family"] .introduction {
    gap: 32px;
    padding-block: 40px 44px;
  }

  html[data-composition="family"] .profiles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  html[data-composition="family"] .profile {
    padding: 24px;
  }

  html[data-composition="family"] .profile-top img,
html[data-composition="family"] .profile-top picture {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 760px) {
  html[data-composition="family"] .introduction {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 36px;
  }

  html[data-composition="family"] h1 {
    font-size: clamp(3.25rem, 10vw, 4.75rem);
  }

  html[data-composition="family"] .introduction-copy {
    max-width: 440px;
  }

  html[data-composition="family"] .profile {
    padding: 28px;
  }

  html[data-composition="family"] .profile-top {
    margin-bottom: 22px;
  }

  html[data-composition="family"] .profile-top img,
html[data-composition="family"] .profile-top picture {
    width: 104px;
    height: 104px;
  }

  html[data-composition="family"] .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }
}

@media (max-width: 480px) {
  html[data-composition="family"] .page-width {
    width: calc(100% - 40px);
  }

  html[data-composition="family"] .site-header {
    padding-block: 22px;
  }

  html[data-composition="family"] .site-header p {
    max-width: 140px;
    font-size: 0.8125rem;
    text-align: right;
  }

  html[data-composition="family"] .wordmark {
    font-size: 1.5rem;
  }

  html[data-composition="family"] h1 {
    font-size: clamp(2.875rem, 12vw, 3.75rem);
  }

  html[data-composition="family"] .introduction-copy p {
    font-size: 1.0625rem;
  }

  html[data-composition="family"] .section-heading {
    display: block;
  }

  html[data-composition="family"] .section-heading p {
    margin-top: 4px;
  }

  html[data-composition="family"] .profile {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-composition="family"] .link-arrow {
    transition: none;
  }

  html[data-composition="family"] .profile-link:hover .link-arrow {
    transform: none;
  }
}
