:root {
  --ink: #2d1738;
  --ink-soft: #65586c;
  --paper: #fff9f7;
  --white: #ffffff;
  --pink: #ff4f98;
  --pink-soft: #ffe3ef;
  --purple: #7d58e8;
  --purple-dark: #351544;
  --yellow: #ffd95c;
  --blue: #73c8ec;
  --blue-deep: #2847c7;
  --line: rgba(45, 23, 56, 0.14);
  --shadow: 0 1.5rem 4.5rem rgba(69, 37, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

body:has(.lightbox[open]) {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  scroll-margin-top: 5rem;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding-block: 0.85rem;
  background: rgba(255, 249, 247, 0.84);
  border-bottom: 1px solid rgba(45, 23, 56, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.4rem);
}

.nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.nav__links a:not(.nav__album-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__album-link {
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
}

.nav__toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.72rem;
  border: 0;
  border-radius: 50%;
  background: var(--pink-soft);
  cursor: pointer;
}

.nav__toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 0.3rem 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(7rem, 13vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
  background:
    radial-gradient(circle at 7% 24%, rgba(255, 217, 92, 0.9) 0 5.2rem, transparent 5.3rem),
    radial-gradient(circle at 91% 77%, rgba(115, 200, 236, 0.8) 0 8rem, transparent 8.1rem),
    linear-gradient(135deg, #fff8f3 0%, #ffe6f0 55%, #edddff 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100svh - 13rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.hero__copy {
  padding-block: 2rem;
}

.eyebrow,
.section-number {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--pink);
}

.eyebrow span {
  width: 2.75rem;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 8ch;
  margin: 1.35rem 0 1.6rem;
  font-size: clamp(4.8rem, 9.8vw, 9.4rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.085em;
}

.hero h1 em,
.section-heading h2 em,
.about h2 em,
.family h2 em,
.albums h2 em {
  color: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  max-width: 31rem;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.primary-button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.8rem 1.8rem rgba(45, 23, 56, 0.22);
}

.primary-button span {
  font-size: 1.2rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(2.5rem, 7vh, 5rem) 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  padding-right: 1rem;
}

.hero__facts div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero__facts dt {
  margin-bottom: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.hero__facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 850;
}

.hero-collage {
  position: relative;
  min-height: clamp(36rem, 72vh, 48rem);
}

.hero-collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-collage__main {
  inset: 2% 5% 3% 22%;
  border: 0.7rem solid var(--white);
  border-radius: 14rem 14rem 2.5rem 2.5rem;
  transform: rotate(2.4deg);
}

.hero-collage__main img {
  object-position: center 36%;
}

.hero-collage__small {
  z-index: 2;
  width: 42%;
  aspect-ratio: 4 / 5;
  bottom: 0;
  left: 0;
  border: 0.55rem solid var(--white);
  border-radius: 2rem;
  transform: rotate(-7deg);
}

.hero-collage__small img {
  object-position: center 42%;
}

.hero-collage__round {
  z-index: 3;
  width: 34%;
  aspect-ratio: 1;
  top: 0;
  right: 0;
  border: 0.55rem solid var(--yellow);
  border-radius: 50%;
  transform: rotate(6deg);
}

.hero-collage__round img {
  object-position: center 43%;
}

.hero-collage__sticker {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 9%;
  display: grid;
  width: 7.3rem;
  height: 7.3rem;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 0 0 0.5rem rgba(255, 79, 152, 0.18);
}

.hero-collage__sticker span {
  position: absolute;
  right: 1.15rem;
  bottom: 0.8rem;
  color: var(--yellow);
  font-size: 1rem;
}

.hero__decor {
  position: absolute;
  z-index: 1;
  color: var(--pink);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
}

.hero__decor--one {
  top: 13%;
  left: -1rem;
  transform: rotate(17deg);
}

.hero__decor--two {
  right: 3%;
  bottom: 2%;
  color: var(--purple);
  transform: rotate(-12deg);
}

.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  padding: clamp(0.75rem, 1.5vw, 1.2rem);
  border-radius: 13rem 13rem 2.5rem 2.5rem;
  background: var(--pink-soft);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5.7;
  display: block;
  border-radius: 12rem 12rem 1.8rem 1.8rem;
  object-fit: cover;
  object-position: center 34%;
}

.photo-frame__label {
  position: absolute;
  right: -1.3rem;
  bottom: 2.7rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--purple);
  font-size: 0.84rem;
  font-weight: 800;
  transform: rotate(-5deg);
}

.section-number {
  color: var(--purple);
}

.about h2,
.family h2,
.albums h2,
.section-heading h2 {
  margin: 1rem 0 2rem;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.about__intro {
  max-width: 30ch;
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
}

.about__text {
  max-width: 44rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.fact-card {
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border-radius: 1.4rem;
}

.fact-card span {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.fact-card p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.3;
}

.fact-card--pink {
  background: var(--pink-soft);
}

.fact-card--yellow {
  background: var(--yellow);
}

.fact-card--blue {
  color: var(--white);
  background: var(--blue-deep);
}

.hobbies {
  position: relative;
  color: var(--white);
  background: var(--purple-dark);
  overflow: hidden;
}

.hobbies::before {
  content: "✦";
  position: absolute;
  top: -5rem;
  right: -2rem;
  color: rgba(255, 255, 255, 0.06);
  font-size: 22rem;
  line-height: 1;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 8ch;
  margin: 1rem 0 0;
}

.section-heading--light .section-number {
  color: var(--yellow);
}

.section-heading--light h2 em {
  color: var(--yellow);
}

.hobby-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hobby-card {
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-radius: 2rem;
  color: var(--ink);
  transition: transform 220ms ease;
}

.hobby-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

.hobby-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 auto;
}

.hobby-card__number {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 850;
}

.hobby-card__symbol {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.hobby-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hobby-card p {
  max-width: 28rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.hobby-card--ballet {
  background: var(--pink);
}

.hobby-card--gymnastics {
  background: var(--yellow);
}

.hobby-card--boxing {
  color: var(--white);
  background: var(--blue-deep);
}

.hobby-card--skates {
  background: var(--blue);
}

.family {
  background: #fff2dd;
}

.family__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(25rem, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.family h2 {
  max-width: 8ch;
}

.family__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.family-cards {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.family-cards article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.58);
}

.family-cards span {
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.family-cards h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
  text-align: right;
}

.family__photos {
  position: relative;
  min-height: clamp(34rem, 68vw, 45rem);
}

.family__photos figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.family__photos img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.family__main-photo {
  inset: 0 8% 0 22%;
  padding: 0.7rem;
  border-radius: 2rem;
  background: var(--pink);
  transform: rotate(3deg);
}

.family__main-photo img {
  border-radius: 1.45rem;
  object-position: center center;
}

.family__detail-photo {
  z-index: 2;
  width: 40%;
  aspect-ratio: 4 / 5;
  bottom: 6%;
  left: 0;
  padding: 0.55rem;
  border-radius: 50% 50% 1.5rem 1.5rem;
  background: var(--white);
  transform: rotate(-7deg);
}

.family__detail-photo img {
  border-radius: 50% 50% 1rem 1rem;
  object-position: center 40%;
}

.albums {
  background: var(--white);
}

.albums__heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.albums__heading h2 {
  max-width: 8ch;
  margin-bottom: 0;
}

.albums__intro {
  max-width: 30rem;
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.album-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.album-button {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.album-button:hover {
  transform: translateY(-2px);
}

.album-button.is-active {
  color: var(--white);
  background: var(--ink);
}

.album-button span {
  font-weight: 850;
}

.album-button small {
  color: inherit;
  font-size: 0.72rem;
  opacity: 0.7;
  white-space: nowrap;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(12rem, 20vw, 18rem);
  gap: 1rem;
}

.gallery-card {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--pink-soft);
}

.gallery-card--wide {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-card--tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-card--small {
  grid-column: span 4;
}

.gallery-card--medium {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-card--contain {
  grid-column: span 12;
  grid-row: span 2;
  padding: 1rem;
  background: var(--pink);
}

.gallery-card button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--position, center center);
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 480ms ease;
}

.gallery-card--contain img {
  object-fit: contain;
}

.gallery-card button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(24, 12, 29, 0.52));
  opacity: 0.65;
  transition: opacity 200ms ease;
}

.gallery-card button:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.gallery-card button:hover::after {
  opacity: 0.9;
}

.gallery-card button > span {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.85rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.footer {
  padding-block: clamp(3rem, 7vw, 5rem);
  color: var(--white);
  background: var(--ink);
}

.footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer__name {
  margin: 0 0 0.35rem;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.footer__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(22, 10, 28, 0.97);
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  grid-template-columns: minmax(3.5rem, 1fr) minmax(0, 8fr) minmax(3.5rem, 1fr);
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(22, 10, 28, 0.97);
}

.lightbox__figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(4rem, 8vh, 5.5rem) 0 2rem;
  place-items: center;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 8rem);
  display: block;
  object-fit: contain;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.45);
}

.lightbox__counter {
  padding-top: 0.8rem;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.lightbox__close,
.lightbox__nav {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  position: fixed;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: color 180ms ease, background 180ms ease;
}

.lightbox__nav:hover {
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    gap: 2rem;
  }

  .hero-collage {
    min-height: 37rem;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero__facts div,
  .hero__facts div + div {
    padding: 0;
    border: 0;
  }

  .about__grid,
  .family__grid {
    gap: 3rem;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-card {
    min-height: 7.5rem;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 2rem, 42rem);
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    background: rgba(255, 249, 247, 0.98);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav__links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links a {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
  }

  .nav__album-link {
    margin-top: 0.25rem;
    text-align: center;
  }

  .nav__toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 21vw, 7rem);
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__facts div + div {
    padding-left: 0.8rem;
    border-left: 1px solid var(--line);
  }

  .hero-collage {
    min-height: min(140vw, 39rem);
  }

  .about__grid,
  .family__grid {
    grid-template-columns: 1fr;
  }

  .about__portrait {
    width: min(88%, 27rem);
    margin-inline: auto;
  }

  .about__content {
    order: -1;
  }

  .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .family__photos {
    min-height: min(125vw, 43rem);
  }

  .albums__heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .album-switcher {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 18rem;
  }

  .gallery-card--wide,
  .gallery-card--tall,
  .gallery-card--small,
  .gallery-card--medium {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-card--contain {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: 4.5rem;
  }

  .hero {
    background:
      radial-gradient(circle at 0 22%, rgba(255, 217, 92, 0.74) 0 3.7rem, transparent 3.8rem),
      linear-gradient(145deg, #fff8f3 0%, #ffe6f0 56%, #edddff 100%);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__facts {
    gap: 0;
  }

  .hero__facts dt {
    font-size: 0.64rem;
  }

  .hero__facts dd {
    font-size: 0.78rem;
  }

  .hero-collage__main {
    inset: 2% 1% 3% 18%;
  }

  .hero-collage__round {
    right: -2%;
  }

  .hero-collage__sticker {
    right: 1%;
    width: 6rem;
    height: 6rem;
    font-size: 1.12rem;
  }

  .about h2,
  .family h2,
  .albums h2,
  .section-heading h2 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-card {
    min-height: 7rem;
  }

  .hobby-grid {
    grid-template-columns: 1fr;
  }

  .hobby-card {
    min-height: 16rem;
  }

  .family-cards article {
    display: block;
  }

  .family-cards h3 {
    margin-top: 0.35rem;
    text-align: left;
  }

  .family__main-photo {
    inset: 0 1% 0 17%;
  }

  .photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-card,
  .gallery-card--wide,
  .gallery-card--tall,
  .gallery-card--small,
  .gallery-card--medium,
  .gallery-card--contain {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 5;
  }

  .gallery-card--contain {
    aspect-ratio: 3 / 4;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) 4.5rem;
    padding-inline: 0.75rem;
  }

  .lightbox__figure {
    grid-column: 1 / -1;
    padding: 4rem 0 0.75rem;
  }

  .lightbox__nav {
    justify-self: center;
  }

  .lightbox__nav--prev {
    grid-column: 1;
    grid-row: 2;
  }

  .lightbox__nav--next {
    grid-column: 2;
    grid-row: 2;
  }

  .lightbox__image {
    max-height: calc(100dvh - 9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
