:root{--ink:#163454;--berry:#a71957;--cream:#fff6ce;--paper:#fffdf2;--display:"Bahnschrift","Avenir Next","Trebuchet MS",sans-serif;--text:"Segoe UI",system-ui,sans-serif}
body{background:var(--cream);color:var(--ink);font:400 17px/1.55 var(--text)}
h1,h2,h3,.header-memory p,.story-score strong,.price{font-family:var(--display);font-weight:750;letter-spacing:-.035em;text-shadow:none}
h1,h2,h3{color:var(--ink);text-transform:none}h1{font-size:clamp(41px,5.4vw,80px);line-height:1.01}h2{font-size:clamp(32px,4vw,57px);line-height:1.05;text-wrap:balance}h3{font-size:clamp(20px,2vw,29px);line-height:1.15}
body .home-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:12px 4%;background:var(--cream);border:none;box-shadow:none}
.home-header .logo{width:62px;height:65px;object-fit:contain}.header-memory{display:block;margin-right:auto}.header-memory p{font-size:17px;line-height:1.1;max-width:200px}.header-video-space[hidden]{display:none}.home-header nav{width:auto;gap:10px}.home-header nav a{border:0;padding:5px;font-size:14px}.home-header .phone{font-size:15px}
.hero{border-radius:28px;background:#c8eafa;gap:clamp(20px,4vw,58px);padding:clamp(22px,4vw,60px);overflow:hidden}.hero figure{transform:none;align-self:stretch;min-height:300px}.hero figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;border-radius:22px}.hero figcaption{left:12px;bottom:12px;transform:none;background:var(--paper);padding:6px 11px;font-size:12px}.hero .lead{font-size:16px;margin:6px 0}.hero .hero-services{margin:8px 0 15px}.hero h1{margin:12px 0}.hero em{color:var(--berry)}
.about-points article{overflow:hidden;padding:0 0 20px;border-radius:22px;background:var(--paper)}.about-points article h3,.about-points article p{padding:0 20px}.about-photo,.package-photo{display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover}.about-photo{margin-bottom:16px}.about-points article:first-child img{object-position:center 40%}
.format-grid img.program-photo,.format-grid img.masterclass-photo{object-fit:cover;aspect-ratio:1.5;height:auto;width:100%}
.packages{align-items:start}.packages article{overflow:hidden;border-radius:20px;background:var(--paper);padding:0 0 18px;gap:0;color:var(--ink)}.packages article>*:not(img){margin-left:18px;margin-right:18px}.packages article .tag{margin-top:18px;color:var(--berry)}.packages article h3{margin-top:4px;margin-bottom:6px;color:var(--ink)}.packages article .price{font-size:32px;color:var(--ink)}.packages .featured{background:#ffe49a;color:var(--ink)}.packages .benefit{font-size:15px;line-height:1.4;min-height:3em}.packages details{padding:10px 0;margin-bottom:16px}.packages summary,.packages article a,.packages .featured summary,.packages .featured a{color:var(--ink)}.packages .featured li{color:var(--ink)}.packages article .small{font-size:13px}.packages .package-photo{border-radius:0}
.story-collage{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.story-collage img,.story-collage .story-wide{width:100%;height:200px;object-fit:cover;border-radius:16px}.story-collage .story-wide{grid-row:span 2;height:410px}.story-collage img:nth-child(2){grid-column:span 2;object-position:50% 38%}
.testimonial blockquote{font:400 18px/1.5 var(--text)}.character-grid article,.show-list li{padding:18px}.eyebrow{letter-spacing:.13em}
@media(max-width:850px){.home-header nav{order:3;width:100%;justify-content:flex-start}.home-header .phone{margin-left:auto}.packages{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr 1fr}.story-collage{grid-template-columns:1.4fr 1fr 1fr}}
@media(max-width:640px){.hero{display:flex;flex-direction:column-reverse;padding:14px 16px 25px;gap:16px}.hero figure{min-height:0;aspect-ratio:1.8}.hero .hero-services{margin:5px 0}.hero h1 br{display:none}.hero h1 br:after{content:" "}.home-header .logo{width:48px;height:50px}.home-header .phone{font-size:13px}.header-memory p{font-size:14px;max-width:142px}.home-header nav{gap:5px}.home-header nav a{font-size:12px}.packages{grid-template-columns:1fr}.packages .benefit{min-height:0}.story-collage{grid-template-columns:1fr 1fr}.story-collage img,.story-collage .story-wide{height:145px;grid-row:auto;grid-column:auto}.story-collage img:nth-child(2){grid-column:auto}.packages article .package-photo{aspect-ratio:2}.hero a{margin:8px 6px 0 0}}
/* Фотографии первого экрана и единый ритм карточек главной. */
.home-header + main { --berry: #a52658; }
main section.hero {
  background: #ffedab;
  border: 1px solid #ebcf77;
  border-radius: 32px;
}
.hero .party-album {
  min-width: 0;
  min-height: 0;
  width: 100%;
  align-self: center;
  position: relative;
  background: #fffdf2;
  padding: 8px;
  border-radius: 23px;
  box-shadow: 0 12px 28px #67431922;
}
.hero .party-album .album-cover {
  position: static;
  display: block;
  aspect-ratio: 1.5;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.hero .party-album figcaption {
  position: static;
  background: transparent;
  padding: 9px 8px 5px;
  text-align: left;
  color: #193754;
  font: 700 15px/1.4 var(--text);
}
.album-choices:not([hidden]) { display: flex; gap: 8px; padding: 3px 8px 7px; }
.album-choices button {
  display: block;
  width: 65px;
  height: 46px;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 2px;
  cursor: pointer;
  background: transparent;
}
.album-choices button[aria-pressed=true] { border-color: #a52658; }
.album-choices button:focus-visible { outline: 3px solid #1c668b; outline-offset: 2px; }
.hero .album-choices img { position: static; display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
#programs .format-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,2vw,24px); }
#programs .format-grid article { display: flex; flex-direction: column; overflow: hidden; background: #fffcef; border-radius: 20px; }
#programs .format-grid img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
#programs .format-grid article > div { padding: 18px; }
#programs .format-grid h3 { font-size: clamp(19px,2vw,27px); margin: 0 0 6px; }
#programs .format-grid p { margin: 0; }
#packages .packages article { border: 1px solid #c9bda3; }
#packages .packages .featured { border-color: #cc8c27; }
#packages details summary { padding: 6px 0; }
.hero h1 { text-wrap: balance; }
@media(max-width:960px) { #programs .format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) {
  .hero .party-album { aspect-ratio: auto; }
  .hero .party-album .album-cover { aspect-ratio: 1.8; }
  #programs .format-grid { gap: 10px; }
  #programs .format-grid article > div { padding: 12px; }
  #programs .format-grid h3 { font-size: 19px; }
  #programs .format-grid p { font-size: 14px; }
}
