:root {
  color-scheme: light;
  --paper: #fbf6f1;
  --light: #fffdf8;
  --ink: #2e2325;
  --muted: #645451;
  --plum: #783e47;
  --plum-dark: #562d38;
  --line: #e7d8d0;
  --blush: #f4e2df;
  background: var(--paper);
  color: var(--ink);
  font: 100%/1.65 "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #936331; outline-offset: 5px; }
[id] { scroll-margin-top: 1.4rem; }
.frame { width: min(calc(100% - 4rem), 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; padding: .55rem 1rem; transform: translateY(-200%); background: var(--light); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); background: var(--light); }
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 5.1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.08rem; font-weight: 700; line-height: 1.18; text-decoration: none; }
.brand img { flex: none; object-fit: contain; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .84rem; font-weight: 450; }
nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem clamp(.8rem, 2.4vw, 1.85rem); margin-left: auto; }
nav a { font-size: .95rem; font-weight: 550; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--plum-dark); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .62rem 1.15rem; border: 1px solid var(--plum); border-radius: .35rem; background: var(--plum); color: white; font-weight: 650; line-height: 1.3; text-decoration: none; }
.button:hover { background: var(--plum-dark); }
.outline { background: transparent; color: var(--plum); }
.outline:hover { background: var(--blush); }
.header-action { flex: none; font-size: .91rem; }
.text-link { color: var(--plum); font-weight: 650; }

h1, h2, h3 { color: var(--ink); font-family: Georgia, serif; line-height: 1.08; font-weight: 400; letter-spacing: -.033em; }
h1 { font-size: clamp(3.5rem, 7.15vw, 6.1rem); }
h1 em { display: block; color: var(--plum); font-weight: inherit; }
h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.31rem, 2.4vw, 1.75rem); }
.label { margin-bottom: 1rem; color: var(--plum); font-size: .9rem; font-weight: 650; letter-spacing: .025em; }

.hero { background: linear-gradient(115deg, #f9ede5, #f9f3ee 52%, #f3dfdc); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(1.65rem, 5vw, 3.65rem); }
.registration { margin-top: .85rem; color: var(--plum-dark); font-size: .92rem; font-weight: 700; }
.hero-intro { max-width: 42ch; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1.03rem, 1.65vw, 1.21rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .72rem 1.25rem; margin-top: 1.75rem; }
.hero-photo { min-width: 0; width: min(100%, 31rem); justify-self: end; padding: .48rem; border: 1px solid #dfbcb7; border-radius: .9rem; background: #f8ede7; }
.hero-photo img { width: 100%; height: auto; max-height: 32rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: .55rem; background: var(--blush); }

.care { padding-block: clamp(2.6rem, 6vw, 4.85rem); border-block: 1px solid var(--line); background: var(--light); }
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.7rem; }
.care-grid article { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 3px solid #a76a73; border-radius: .5rem; background: #fbf4ef; }
.care-grid article:nth-child(2) { border-top-color: #8a936d; }
.care-grid article:nth-child(3) { border-top-color: #ba8355; }
.care-grid p, .family p, .start p { color: var(--muted); margin-top: .78rem; }
.approach { background: var(--plum-dark); color: #f8ede7; }
.approach-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.2rem, 8vw, 7rem); align-items: start; padding-block: clamp(3rem, 7vw, 5.4rem); }
.approach h2 { color: white; }
.approach .label { color: #f2cac6; }
.approach-copy p + p { margin-top: .8rem; }

.family { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; overflow: hidden; margin-block: clamp(2.8rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: .8rem; background: #f5e8e3; }
.family-photo { position: relative; min-height: 19rem; }
.family-photo > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.family-photo .stickers { position: absolute; right: .85rem; bottom: .75rem; width: clamp(5rem, 12vw, 8rem); height: auto; }
.family-copy { padding: clamp(1.4rem, 5vw, 4rem); }
.family-copy .text-link { display: inline-block; margin-top: 1rem; }
.start { border-top: 1px solid var(--line); background: var(--light); }
.start-layout { display: grid; grid-template-columns: .88fr 1fr; gap: clamp(1.4rem, 6vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.start-layout p { max-width: 53ch; }
.contact-action { margin-top: 1.1rem; }
details { padding: .95rem .05rem; border-bottom: 1px solid #d4c4cf; }
details:first-child { border-top: 1px solid #d4c4cf; }
summary { cursor: pointer; font-weight: 650; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; color: var(--muted); font-size: .91rem; }

@media (max-width: 49rem) {
  .hero-inner, .approach-inner, .family, .start-layout { grid-template-columns: 1fr; }
  .hero-photo { width: min(100%, 32rem); justify-self: start; }
  .hero-photo img { max-height: 28rem; aspect-ratio: .95; }
  .care-grid { grid-template-columns: 1fr; }
  .family-photo { min-height: 0; aspect-ratio: 1.65; }
}

@media (max-width: 36rem) {
  .frame { width: calc(100% - 1.75rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .5rem .45rem; padding-block: .65rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 2.1rem; height: 2.1rem; }
  .header-action { padding-inline: .55rem; font-size: .84rem; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; margin-left: 0; }
  nav a { font-size: .9rem; }
  h1 { font-size: clamp(2.75rem, 10.6vw, 3.9rem); }
}
