@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Onest:wght@400;500;600;700&display=swap');

:root {
  --red: #e3062c;
  --red-2: #ff3154;
  --red-soft: rgba(227, 6, 44, .08);
  --dark: #171820;
  --text: #20212a;
  --muted: #6f7480;
  --soft: #f5f4f1;
  --soft-2: #faf9f6;
  --white: #ffffff;
  --line: rgba(23, 24, 32, .10);
  --line-strong: rgba(23, 24, 32, .16);
  --shadow-soft: 0 18px 45px rgba(22, 23, 28, .09);
  --shadow-card: 0 16px 36px rgba(22, 23, 28, .08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Onest, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--soft-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: calc(100% - 100px);
  margin-left: 50px;
  margin-right: 50px;
}

.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 3%, rgba(227, 6, 44, .055), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(227, 6, 44, .045), transparent 26%),
    var(--soft-2);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .026;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.5) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.5) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: multiply;
}

/* Header */
.topline {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 20px 0 10px;
  background: transparent;
}
.header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(23,24,32,.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22,23,28,.10);
}
.logo {
  display: inline-flex;
  align-items: center;
  width: 200px;
  min-width: 200px;
}
.logo img { width: 100%; height: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  color: rgba(31,32,40,.76);
  white-space: nowrap;
}
.nav a {
  position: relative;
  padding: 28px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover,
.nav a.active { color: var(--dark); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone {
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(227,6,44,.20);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #f20832; box-shadow: 0 20px 40px rgba(227,6,44,.27); }
.btn.btn-ghost,
.btn.btn-outline {
  background: rgba(255,255,255,.72);
  color: var(--dark);
  border-color: rgba(20,21,27,.14);
  box-shadow: none;
}
.btn.btn-ghost:hover,
.btn.btn-outline:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn.btn-white { background: #fff; color: var(--red); box-shadow: none; }
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(20,21,27,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 10px;
  background: var(--dark);
  transition: .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 105px;
  left: 14px;
  right: 14px;
  padding: 10px 18px 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: .28s var(--ease);
}
.menu-open .mobile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23,24,32,.08);
  font-size: 18px;
  font-weight: 700;
}
.mobile-menu .btn { margin-top: 14px; width: 100%; }

/* General section system */
.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.section.white,
.section.light,
.section.dark { background: transparent; color: var(--text); }
.section.pattern::before,
.section.light::before,
.section.white::before,
.section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 1440px auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: .52;
  pointer-events: none;
}
.section .container { position: relative; z-index: 2; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .56fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 40px;
}
.kicker, .eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.title, .curator-info h2, .partner-panel h2, .cta-copy h2, .subpage-hero h1 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 700;
}
.section-text,
.section-head p.section-text {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.transition-stripe { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  padding: 34px 0 72px;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(250,249,246,.82), rgba(250,249,246,.98)),
    url('../img/field-pattern.svg') center top / 1440px auto repeat-y;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(227,6,44,.06), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(20,21,27,.05), transparent 26%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  padding: 48px 0 16px;
}
.hero-media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50.5vw;
  overflow: hidden;
  border-radius: 0 0 0 86px;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 9s var(--ease) forwards;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,246,.56), rgba(250,249,246,0) 30%), linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16));
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.hero h1 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 500;
}
.hero h1 span { display: inline; color: inherit; -webkit-text-stroke: 0; text-shadow: none; }
.hero-lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.hero-note strong { color: var(--text); font-weight: 700; }
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(227,6,44,.42);
  animation: pulse 2.2s infinite;
  flex: 0 0 auto;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 13px rgba(227,6,44,0); } 100% { box-shadow: 0 0 0 0 rgba(227,6,44,0); } }
.hero-badges,
.hero-ticker { display: none; }

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.advantage-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.advantage-card:hover { transform: translateY(-7px); box-shadow: 0 24px 54px rgba(22,23,28,.12); border-color: rgba(227,6,44,.22); }
.advantage-card::before { display: none; }
.advantage-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 0 24px;
  border-radius: 17px;
  background: rgba(227,6,44,.08);
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
}
.advantage-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
}
.advantage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.48;
  font-weight: 400;
}

/* Story / philosophy */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 46px;
  align-items: stretch;
}
.story-photo {
  position: relative;
  min-height: 575px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('../img/field-pattern.svg') center / 760px auto no-repeat,
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.38));
  opacity: .72;
}
.photo-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 390px;
  padding: 18px 20px;
  border-radius: 19px;
  background: rgba(255,255,255,.88);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  backdrop-filter: blur(14px);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.story-content { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.big-quote {
  padding: 36px 40px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--red), #f60b38);
  color: #fff;
  box-shadow: 0 22px 50px rgba(227,6,44,.17);
}
.big-quote p {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(30px, 3.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 700;
}
.story-list { display: grid; gap: 14px; }
.story-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: 0 12px 34px rgba(22,23,28,.055);
}
.story-item .num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.story-item h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.story-item p { margin: 0; color: var(--muted); line-height: 1.55; font-weight: 400; }

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  color: var(--text);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.10);
  box-shadow: 0 14px 36px rgba(22,23,28,.07);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.program-card:hover { transform: translateY(-7px); box-shadow: 0 24px 56px rgba(22,23,28,.12); border-color: rgba(227,6,44,.22); }
.program-card img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 210px;
  object-fit: cover;
  z-index: 0;
  transition: transform .45s var(--ease);
}
.program-card:hover img { transform: scale(1.045); }
.program-card::after { display: none; }
.program-body {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px;
}
.program-age {
  position: absolute;
  top: -197px;
  left: 14px;
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(227,6,44,.16);
}
.program-card h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 700;
}
.program-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 400;
}
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: max-content;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(227,6,44,.15);
}
.card-link::after { content: ''; }
.card-link:hover { background: var(--dark); transform: translateY(-1px); }

/* Curator */
.curator {
  display: grid;
  grid-template-columns: minmax(340px, .58fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
}
.curator-card {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-soft);
}
.curator-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(.96) contrast(.98);
}
.curator-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23,24,32,.52));
}
.curator-card .licence {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  backdrop-filter: blur(14px);
}
.curator-info .lead {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}
.achievement-list {
  display: grid;
  gap: 11px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.achievement-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}
.achievement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* Coaches */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.coach-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.09);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.coach-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(22,23,28,.12); }
.coach-photo { height: 430px; overflow: hidden; background: #ddd; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.coach-card:hover .coach-photo img { transform: scale(1.04); }
.coach-info { padding: 24px; }
.coach-info h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.12; letter-spacing: -.04em; font-weight: 700; }
.coach-info p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; font-weight: 400; }
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(227,6,44,.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.small-btn:hover { background: var(--red); color: #fff; }

/* Camp */
.camp-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, .75fr);
  gap: 46px;
  align-items: center;
}
.camp-video {
  position: relative;
  min-height: 430px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.camp-video img { width: 100%; height: 100%; object-fit: cover; }
.camp-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.34));
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--red);
  font-size: 26px;
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}
.camp-content {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.tag {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(227,6,44,.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.camp-content h3 { margin: 0 0 14px; font-size: 36px; line-height: 1.05; letter-spacing: -.05em; font-weight: 700; }
.camp-content p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.58; }
.bullet-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.48; }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}
.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 12px 34px rgba(22,23,28,.07);
  background: #ddd;
}
.gallery-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.055); }

/* Partners */
.partners-wrap {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}
.partner-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--red), #ff3154);
  color: #fff;
  box-shadow: 0 24px 58px rgba(227,6,44,.18);
}
.partner-panel .kicker { color: rgba(255,255,255,.76); }
.partner-panel p { margin: 18px 0 0; color: rgba(255,255,255,.86); line-height: 1.55; font-weight: 400; }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.partner-logo {
  min-height: 138px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-right: 1px solid rgba(23,24,32,.10);
  border-bottom: 1px solid rgba(23,24,32,.10);
  color: rgba(23,24,32,.48);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}
.partner-logo.red { color: var(--red); }

/* CTA + Footer */
.cta-section {
  position: relative;
  min-height: 620px;
  padding: 86px 0;
  overflow: hidden;
  color: #fff;
  background: #141620;
  display: flex;
  align-items: center;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(.88) contrast(.94);
  opacity: .48;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(227,6,44,.22), transparent 32%),
    linear-gradient(90deg, rgba(20,22,32,.96) 0%, rgba(20,22,32,.86) 45%, rgba(20,22,32,.70) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
}
.cta-copy {
  max-width: 760px;
  padding: 10px 0;
}
.cta-copy h2 {
  color: #fff;
  max-width: 760px;
}
.cta-copy .kicker { color: #fff; opacity: .76; }
.cta-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.58;
}
.form-card {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: 0 28px 72px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.48);
  backdrop-filter: none;
}
.form-card label { color: var(--muted); font-size: 14px; font-weight: 600; }
.field {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(23,24,32,.12);
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  background: #fff;
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field:focus { border-color: rgba(227,6,44,.42); box-shadow: 0 0 0 4px rgba(227,6,44,.08); }
.form-note { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.footer {
  padding: 44px 0;
  background: #fff;
  border-top: 1px solid rgba(23,24,32,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.footer-logo img { width: 220px; }
.footer p { margin: 0; max-width: 740px; color: var(--muted); line-height: 1.55; }
.footer .phone { color: var(--text); display: block; margin-bottom: 12px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(227,6,44,.08);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
}
.float-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 16px 34px rgba(227,6,44,.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .25s var(--ease);
}
.float-button.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Subpages */
.subpage-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 70px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.subpage-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .54;
}
.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,24,32,.82), rgba(23,24,32,.42));
}
.subpage-hero .container { position: relative; z-index: 2; max-width: none; }
.subpage-hero h1 { color: #fff; max-width: 780px; }
.subpage-hero p:not(.kicker) { max-width: 640px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.56; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.price-card h3 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.04em; }
.price-card .price { margin: 0 0 22px; font-size: 42px; font-weight: 700; letter-spacing: -.05em; color: var(--red); }
.price-card p { color: var(--muted); line-height: 1.5; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 30px;
}
.contact-card {
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.contact-card p { color: var(--muted); line-height: 1.6; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8,9,12,.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal img { max-width: min(1100px, 96vw); max-height: 86vh; border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-animate="left"] { transform: translateX(-28px); }
[data-animate="right"] { transform: translateX(28px); }
[data-animate].is-visible { opacity: 1; transform: translate(0,0); }

@media (max-width: 1200px) {
  .header { grid-template-columns: 210px 1fr auto; gap: 18px; }
  .logo { width: 200px; min-width: 200px; }
  .nav { gap: 16px; font-size: 13px; }
  .phone { font-size: 15px; }
  .advantages-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .programs-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .coach-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .container { width: calc(100% - 40px); margin-left: 20px; margin-right: 20px; }
  .topline { padding: 12px 0 8px; }
  .header { min-height: 70px; grid-template-columns: 1fr auto; border-radius: 22px; }
  .logo { width: 200px; min-width: 0; }
  .nav, .header-actions .phone, .header-actions > .btn { display: none; }
  .burger { display: block; }
  .mobile-menu { display: block; }
  .hero { padding-top: 10px; }
  .hero .container { grid-template-columns: 1fr; padding: 360px 0 40px; }
  .hero-media { left: 20px; right: 20px; top: 16px; bottom: auto; width: auto; height: 330px; border-radius: 28px; clip-path: none; }
  .section { padding: 76px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .advantages-grid, .programs-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid, .curator, .camp-grid, .partners-wrap, .cta-content, .contact-grid { grid-template-columns: 1fr; }
  .story-photo, .curator-card { min-height: 430px; clip-path: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-item.big, .gallery-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 24px); margin-left: 12px; margin-right: 12px; }
  .header { padding: 0 12px; }
  .logo { width: 185px; }
  .hero .container { padding-top: 300px; }
  .hero-media { left: 12px; right: 12px; height: 280px; border-radius: 24px; }
  .hero h1 { font-size: 39px; }
  .hero-lead, .section-text { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .advantages-grid, .programs-grid, .coach-grid, .price-grid, .partner-logos { grid-template-columns: 1fr; }
  .program-card img { height: 220px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.big, .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .title, .curator-info h2, .partner-panel h2, .cta-copy h2, .subpage-hero h1 { font-size: 34px; }
  .big-quote { padding: 26px; }
  .big-quote p { font-size: 32px; }
  .story-item { grid-template-columns: 44px 1fr; padding: 18px; }
  .story-item .num { width: 44px; height: 44px; }
  .form-card { padding: 20px; }
}

/* v3: первый экран полностью помещается в viewport */
@media (min-width: 1025px) {
  .topline {
    padding: 14px 0 8px;
  }

  .header {
    min-height: 66px;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 22px;
    padding: 0 18px 0 14px;
    border-radius: 26px;
  }

  .logo {
    width: 190px;
    min-width: 190px;
  }

  .nav {
    gap: clamp(14px, 1.35vw, 24px);
    font-size: 13.5px;
  }

  .nav a {
    padding: 23px 0;
  }

  .nav a::after {
    bottom: 14px;
  }

  .phone {
    font-size: 15px;
  }

  .btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 13.5px;
  }

  .hero {
    min-height: calc(100svh - 88px);
    padding: 0;
    display: flex;
    align-items: center;
  }

  .hero .container {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: 30px;
    padding: 24px 0 34px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 690px;
    font-size: clamp(40px, 4.15vw, 62px);
    line-height: 1.06;
    letter-spacing: -.055em;
  }

  .hero-lead {
    max-width: 560px;
    margin-top: 22px;
    font-size: 16.5px;
    line-height: 1.52;
  }

  .hero-cta {
    margin-top: 24px;
    gap: 12px;
  }

  .hero-note {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.43;
  }

  .hero-media {
    width: 49vw;
    border-radius: 0 0 0 74px;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .topline {
    padding-top: 10px;
  }

  .header {
    min-height: 62px;
  }

  .logo {
    width: 176px;
    min-width: 176px;
  }

  .hero {
    min-height: calc(100svh - 78px);
  }

  .hero .container {
    padding: 18px 0 26px;
  }

  .hero h1 {
    font-size: clamp(36px, 3.7vw, 54px);
    line-height: 1.05;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.47;
  }

  .hero-cta {
    margin-top: 20px;
  }

  .hero-note {
    margin-top: 14px;
  }
}

/* v5: softer designer typography + mobile philosophy plaque fix */
h1, h2, h3, h4, h5, h6,
.hero h1,
.title,
.curator-info h2,
.partner-panel h2,
.cta-copy h2,
.subpage-hero h1,
.big-quote p,
.story-item h3,
.program-card h3,
.coach-info h3,
.camp-content h3,
.price-card h3 {
  font-family: Onest, Inter, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.kicker, .eyebrow {
  font-weight: 600;
}

.advantage-card h3,
.program-card h3,
.story-item h3,
.coach-info h3 {
  font-weight: 560;
}

.title,
.curator-info h2,
.partner-panel h2,
.cta-copy h2,
.subpage-hero h1 {
  font-weight: 500;
  line-height: 1.08;
}

.hero h1 {
  font-weight: 500;
  letter-spacing: -0.052em;
}

.big-quote p {
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.046em;
}

@media (min-width: 1025px) {
  .hero h1 {
    font-weight: 500;
  }
}

@media (max-width: 620px) {
  .story-grid {
    gap: 28px;
  }

  .story-photo {
    min-height: 420px;
    border-radius: 30px;
  }

  .photo-label {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
    padding: 18px 19px;
    border-radius: 22px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
  }

  .big-quote {
    width: 100%;
    padding: 26px 25px;
    border-radius: 30px;
    overflow: hidden;
  }

  .big-quote p {
    font-size: clamp(28px, 9.2vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.046em;
    font-weight: 500;
  }

  .story-item h3 {
    font-size: 26px;
    line-height: 1.08;
    font-weight: 560;
  }

  .float-button {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .story-photo {
    min-height: 390px;
  }

  .photo-label {
    font-size: 17px;
    padding: 16px 18px;
  }

  .big-quote {
    padding: 24px 22px;
    border-radius: 28px;
  }

  .big-quote p {
    font-size: clamp(27px, 8.7vw, 34px);
    line-height: 1.1;
  }
}

/* Camps page */
.camps-hero {
  position: relative;
  padding: 34px 0 78px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250,249,246,.88), rgba(250,249,246,.98)),
    url('../img/field-pattern.svg') center top / 1440px auto repeat-y;
}
.camps-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(227,6,44,.07), transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(23,24,32,.05), transparent 28%);
  pointer-events: none;
}
.camps-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, .92fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 144px);
}
.camps-hero-copy { max-width: 690px; }
.camps-hero-copy h1 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 1.05;
  letter-spacing: -.064em;
  font-weight: 500;
}
.camps-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
}
.camp-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.camp-hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 11px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,24,32,.09);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(23,24,32,.045);
}
.camps-hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.camps-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.camps-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250,249,246,.34), transparent 30%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.32));
}
.tactic-card {
  position: absolute;
  left: 46px;
  bottom: 30px;
  z-index: 2;
  max-width: 330px;
  padding: 20px 22px;
  border-radius: 21px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.tactic-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -.03em;
  font-weight: 600;
}
.tactic-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.camp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.camp-benefit {
  min-height: 245px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.camp-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(22,23,28,.12);
  border-color: rgba(227,6,44,.22);
}
.camp-benefit span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.camp-benefit h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 600;
}
.camp-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.compact-head { margin-bottom: 34px; }
.camp-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.camp-format-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.camp-format-card:hover { transform: translateY(-7px); box-shadow: 0 26px 58px rgba(22,23,28,.12); }
.camp-format-photo {
  position: relative;
  height: 310px;
  overflow: hidden;
}
.camp-format-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.camp-format-card:hover .camp-format-photo img { transform: scale(1.045); }
.format-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(227,6,44,.18);
}
.camp-format-body { padding: 30px; }
.camp-format-body h3 {
  margin: 0 0 16px;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 600;
}
.camp-format-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.camp-format-body li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.48;
}
.camp-format-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.camp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
}
.camp-gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
  box-shadow: 0 12px 34px rgba(22,23,28,.07);
}
.camp-gallery-item.big { grid-column: span 2; grid-row: span 2; }
.camp-gallery-item.wide { grid-column: span 2; }
.camp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.camp-gallery-item:hover img { transform: scale(1.055); }
.camp-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.52));
}
.camp-gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.camp-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}
.camp-detail-grid.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.camp-detail-copy h2 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -.065em;
  font-weight: 500;
}
.camp-detail-lead {
  margin: 26px 0 0;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 500;
}
.camp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 30px;
}
.camp-facts div {
  min-height: 116px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: 0 12px 34px rgba(22,23,28,.055);
}
.camp-facts span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.camp-facts strong {
  display: block;
  color: var(--text);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 600;
}
.camp-detail-photo {
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.camp-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.day-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.day-timeline article {
  position: relative;
  min-height: 245px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.day-timeline article::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 28px;
  right: -28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(227,6,44,.32), transparent);
  z-index: 0;
}
.day-timeline article:last-child::before { display: none; }
.day-timeline span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 34px;
  padding: 0 15px;
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.day-timeline h3 {
  margin: 0 0 9px;
  font-size: 23px;
  line-height: 1.13;
  letter-spacing: -.04em;
  font-weight: 600;
}
.day-timeline p { margin: 0; color: var(--muted); line-height: 1.5; }
.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.safety-copy {
  position: sticky;
  top: 128px;
}
.safety-cards {
  padding-top: 92px;
}
.safety-copy h2 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: -.062em;
  font-weight: 500;
}
.safety-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.safety-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.safety-cards article {
  min-height: 190px;
  padding: 26px;
  border-radius: 27px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.safety-cards h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 600;
}
.safety-cards p { margin: 0; color: var(--muted); line-height: 1.5; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq-grid details {
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.faq-grid summary {
  cursor: pointer;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 600;
}
.faq-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.54;
}

@media (max-width: 1200px) {
  .camps-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .camps-hero-visual { min-height: 480px; clip-path: none; }
  .camp-benefits-grid, .day-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .camp-detail-grid, .camp-detail-grid.reverse, .safety-grid { grid-template-columns: 1fr; }
  .safety-copy { position: static; }
}
@media (max-width: 980px) {
  .camp-format-grid, .faq-grid { grid-template-columns: 1fr; }
  .camp-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .camp-gallery-item.big, .camp-gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .camps-hero { padding: 18px 0 56px; }
  .camps-hero-grid { gap: 28px; }
  .camps-hero-copy h1 { font-size: clamp(38px, 12vw, 50px); }
  .camps-hero-copy p:not(.eyebrow) { font-size: 16px; }
  .camps-hero-visual { min-height: 350px; border-radius: 26px; }
  .tactic-card { left: 18px; right: 18px; bottom: 18px; }
  .camp-benefits-grid, .day-timeline, .safety-cards, .camp-facts { grid-template-columns: 1fr; }
  .camp-format-photo { height: 240px; }
  .camp-format-body { padding: 24px; }
  .camp-detail-photo { min-height: 330px; border-radius: 26px; }
  .camp-detail-lead { font-size: 24px; }
  .camp-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .camp-gallery-item.big, .camp-gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .day-timeline article::before { display: none; }
}

/* v9: robust media fitting and video block */
.media-box img,
.hero-media img,
.story-photo img,
.curator-card img,
.coach-photo img,
.camp-video img,
.camp-video video,
.camp-video iframe,
.gallery-item img,
.cta-bg img,
.camps-hero-visual img,
.camp-format-photo img,
.camp-gallery-item img,
.camp-detail-photo img,
.safety-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-photo,
.camp-video,
.cta-bg,
.camps-hero-visual,
.camp-detail-photo,
.safety-photo {
  position: relative;
}

.story-photo > img,
.camp-video > img,
.camps-hero-visual > img,
.camp-detail-photo > img,
.safety-photo > img {
  position: absolute;
  inset: 0;
}

.camps-hero-visual,
.camp-detail-photo,
.camp-video,
.safety-photo {
  background: rgba(23,24,32,.05);
}

.camps-hero-visual img,
.camp-detail-photo img,
.camp-video img,
.safety-photo img {
  transform: none;
}

.camp-video-embed {
  min-height: 430px;
  background: #11131a;
}

.camp-video-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  border: 0;
}

.safety-photo {
  width: 100%;
  height: 280px;
  min-height: 0;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.safety-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.22));
  pointer-events: none;
}

@media (max-width: 620px) {
  .camp-video-embed { min-height: 260px; }
  .safety-photo { min-height: 220px; border-radius: 22px; }
}


/* v10: cleaner CTA form and safety alignment */
@media (max-width: 1200px) {
  .safety-cards { padding-top: 0; }
  .cta-section { min-height: auto; padding: 76px 0; }
  .cta-content { grid-template-columns: 1fr; }
  .form-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 620px) {
  .cta-section { padding: 58px 0; }
  .cta-content { gap: 28px; }
  .form-card { padding: 22px; border-radius: 24px; }
  .safety-photo { height: 220px; border-radius: 22px; }
}


/* v11: stable lead/form section for main page and camps page */
.lead-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(227, 6, 44, .10), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(23, 24, 32, .06), transparent 26%),
    #151722;
  color: #fff;
}
.lead-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 1440px auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: .10;
  filter: invert(1);
  pointer-events: none;
}
.lead-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21,23,34,.98), rgba(21,23,34,.88) 48%, rgba(21,23,34,.94));
  pointer-events: none;
}
.lead-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  gap: 48px;
  align-items: center;
}
.lead-info {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1fr);
  grid-template-areas:
    "copy copy"
    "photo points";
  gap: 26px 30px;
  align-items: stretch;
  max-width: 860px;
}
.lead-info > .kicker,
.lead-info > h2,
.lead-info > p { grid-column: 1 / -1; }
.lead-info .kicker {
  color: rgba(255,255,255,.74);
  margin-bottom: 0;
}
.lead-info h2 {
  margin: 0;
  max-width: 830px;
  color: #fff;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.062em;
  font-weight: 500;
}
.lead-info > p {
  margin: -4px 0 0;
  max-width: 690px;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.58;
}
.lead-photo {
  grid-area: photo;
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.lead-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lead-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.28));
  pointer-events: none;
}
.lead-points {
  grid-area: points;
  display: grid;
  align-content: stretch;
  gap: 12px;
}
.lead-points span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.34;
  font-weight: 500;
}
.lead-points span::before {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(227,6,44,.13);
}
.lead-form {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 13px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  margin: 0;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 30px 76px rgba(0,0,0,.30);
}
.lead-form-head {
  margin-bottom: 4px;
}
.lead-form-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 600;
}
.lead-form-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.lead-form label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.lead-form .field {
  min-height: 56px;
  border-radius: 15px;
  background: #fff;
}
.lead-form .btn {
  width: 100%;
  margin-top: 4px;
}
.lead-form .form-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.cta-section { display: none; }

@media (max-width: 1200px) {
  .lead-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .lead-info {
    max-width: none;
  }
  .lead-form {
    justify-self: stretch;
    max-width: none;
  }
}
@media (max-width: 760px) {
  .lead-section {
    padding: 62px 0;
  }
  .lead-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "points"
      "photo";
    gap: 18px;
  }
  .lead-info h2 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.05;
  }
  .lead-info > p {
    font-size: 16px;
  }
  .lead-photo {
    min-height: 220px;
    border-radius: 24px;
  }
  .lead-points span {
    min-height: 58px;
    border-radius: 18px;
  }
  .lead-form {
    padding: 22px;
    border-radius: 24px;
  }
}

/* v12: real logo + faster hover cards */
.logo {
  width: 224px !important;
  min-width: 224px !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo img.logo-mark {
  width: 82px !important;
  min-width: 82px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  line-height: 1.05;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--dark);
}
.logo-copy b {
  color: var(--red);
  font-weight: 700;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
}
.footer-logo img.footer-logo-mark {
  width: 150px !important;
  height: auto;
  object-fit: contain;
}
.footer-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.035em;
  color: #fff;
}
.footer-logo-copy b { color: var(--red); }

.advantage-card,
.program-card,
.coach-card,
.camp-benefit,
.camp-format-card,
.safety-cards article,
.day-timeline article,
.price-card,
.contact-card {
  transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out, background .16s ease-out !important;
  will-change: transform;
}
.program-card img,
.coach-photo img,
.camp-format-photo img,
.camp-gallery-item img,
.gallery-item img,
.curator-card img,
.camp-video img,
.camp-detail-photo img,
.camps-hero-visual img,
.lead-photo img {
  transition: transform .20s ease-out !important;
}
.advantage-card:hover,
.program-card:hover,
.coach-card:hover,
.camp-benefit:hover,
.camp-format-card:hover {
  transform: translateY(-5px);
}
.card-link,
.btn,
.nav a,
.nav a::after {
  transition-duration: .18s !important;
}

@media (max-width: 1100px) {
  .logo { width: 212px !important; min-width: 212px !important; }
  .logo img.logo-mark { width: 76px !important; min-width: 76px; }
  .logo-copy { font-size: 12px; }
}
@media (max-width: 760px) {
  .logo { width: 208px !important; min-width: 0 !important; gap: 10px; }
  .logo img.logo-mark { width: 74px !important; min-width: 74px; max-height: 48px; }
  .logo-copy { font-size: 12px; }
  .footer-logo { gap: 10px; }
  .footer-logo img.footer-logo-mark { width: 118px !important; }
  .footer-logo-copy { font-size: 15px; }
}

/* v14: compact redesigned spring/summer camp detail blocks */
.compact-camp-detail {
  padding: 74px 0;
}
.compact-camp-detail + .compact-camp-detail {
  padding-top: 20px;
}
.compact-camp-detail .camp-detail-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  padding: 14px;
  border-radius: 34px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: 0 24px 70px rgba(22,23,28,.08);
  overflow: hidden;
}
.compact-camp-detail .camp-detail-card::before {
  content: '';
  position: absolute;
  inset: 14px auto 14px 14px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--red), rgba(227,6,44,.14));
  z-index: 2;
}
.compact-camp-detail .camp-detail-card.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.compact-camp-detail .camp-detail-card.reverse::before {
  left: auto;
  right: 14px;
}
.compact-camp-detail .camp-detail-copy {
  position: relative;
  z-index: 3;
  padding: 34px 34px 34px 42px;
  align-self: center;
}
.compact-camp-detail .camp-detail-card.reverse .camp-detail-copy {
  padding: 34px 42px 34px 34px;
}
.compact-camp-detail .camp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.compact-camp-detail .camp-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(227,6,44,.08);
  border: 1px solid rgba(227,6,44,.16);
  color: var(--red);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}
.compact-camp-detail .camp-detail-copy h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.058em;
  font-weight: 500;
}
.compact-camp-detail .camp-detail-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.28;
  letter-spacing: -.032em;
  font-weight: 500;
}
.compact-camp-detail .camp-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 24px;
}
.compact-camp-detail .camp-facts div {
  min-height: 78px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(247,248,250,.88);
  border: 1px solid rgba(23,24,32,.07);
  box-shadow: none;
}
.compact-camp-detail .camp-facts span {
  margin-bottom: 7px;
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
  font-weight: 700;
}
.compact-camp-detail .camp-facts strong {
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 600;
}
.compact-camp-detail .camp-detail-photo {
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: none;
}
.compact-camp-detail .camp-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.compact-camp-detail .camp-detail-card:hover .camp-detail-photo img {
  transform: scale(1.025);
}
.compact-camp-detail .btn {
  min-height: 48px;
  padding: 0 22px;
}

@media (max-width: 1100px) {
  .compact-camp-detail .camp-detail-card,
  .compact-camp-detail .camp-detail-card.reverse {
    grid-template-columns: 1fr;
  }
  .compact-camp-detail .camp-detail-card::before,
  .compact-camp-detail .camp-detail-card.reverse::before {
    inset: 14px 14px auto 14px;
    width: auto;
    height: 4px;
  }
  .compact-camp-detail .camp-detail-card.reverse .camp-detail-photo {
    order: 2;
  }
  .compact-camp-detail .camp-detail-card.reverse .camp-detail-copy {
    order: 1;
  }
  .compact-camp-detail .camp-detail-copy,
  .compact-camp-detail .camp-detail-card.reverse .camp-detail-copy {
    padding: 34px 28px 28px;
  }
  .compact-camp-detail .camp-detail-photo {
    min-height: 360px;
  }
}
@media (max-width: 620px) {
  .compact-camp-detail {
    padding: 46px 0;
  }
  .compact-camp-detail .camp-detail-card {
    border-radius: 28px;
    padding: 10px;
  }
  .compact-camp-detail .camp-detail-copy,
  .compact-camp-detail .camp-detail-card.reverse .camp-detail-copy {
    padding: 28px 20px 22px;
  }
  .compact-camp-detail .camp-facts {
    grid-template-columns: 1fr;
  }
  .compact-camp-detail .camp-detail-photo {
    min-height: 270px;
    border-radius: 22px;
  }
}

/* v15: unified large heading size across pages to match the homepage hero */
:root {
  --site-heading-size: clamp(40px, 4.15vw, 62px);
  --site-heading-line: 1.06;
}

.hero h1,
.title,
.curator-info h2,
.partner-panel h2,
.cta-copy h2,
.subpage-hero h1,
.camps-hero-copy h1,
.camp-detail-copy h2,
.compact-camp-detail .camp-detail-copy h2,
.safety-copy h2,
.lead-info h2,
.big-quote p {
  font-size: var(--site-heading-size);
  line-height: var(--site-heading-line);
  letter-spacing: -0.055em;
  font-weight: 500;
}

.camp-detail-lead,
.compact-camp-detail .camp-detail-lead {
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

@media (min-width: 1025px) and (max-height: 820px) {
  :root {
    --site-heading-size: clamp(36px, 3.7vw, 54px);
  }
}

@media (max-width: 620px) {
  :root {
    --site-heading-size: clamp(34px, 10.5vw, 46px);
  }

  .hero h1,
  .title,
  .curator-info h2,
  .partner-panel h2,
  .cta-copy h2,
  .subpage-hero h1,
  .camps-hero-copy h1,
  .camp-detail-copy h2,
  .compact-camp-detail .camp-detail-copy h2,
  .safety-copy h2,
  .lead-info h2,
  .big-quote p {
    line-height: 1.08;
    letter-spacing: -0.05em;
  }
}

/* v16: hero image on camps page now behaves like the homepage hero image */
@media (min-width: 1025px) {
  .camps-hero {
    min-height: auto;
    padding: 34px 0 72px;
  }

  .camps-hero-grid {
    min-height: calc(100vh - 144px);
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    align-items: center;
    gap: 38px;
    padding: 48px 0 16px;
  }

  .camps-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
  }

  .camps-hero-visual {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50.5vw;
    min-height: auto;
    border-radius: 0 0 0 86px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: none;
    overflow: hidden;
  }

  .camps-hero-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: heroZoom 9s var(--ease) forwards;
  }

  .camps-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(250,249,246,.56), rgba(250,249,246,0) 30%),
      linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16));
  }

  .camps-hero-visual .tactic-card {
    left: 78px;
    bottom: 34px;
    max-width: 330px;
  }
}

@media (max-width: 1024px) {
  .camps-hero-visual {
    position: relative;
    width: auto;
    min-height: 420px;
    margin: 18px 20px 0;
    border-radius: 28px;
    clip-path: none;
  }

  .camps-hero-grid {
    padding-top: 32px;
  }
}

@media (max-width: 620px) {
  .camps-hero-visual {
    min-height: 310px;
    margin: 14px 12px 0;
    border-radius: 24px;
  }

  .camps-hero-visual .tactic-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }
}

/* v17: camps hero image/card fit inside the first screen like the homepage hero */
@media (min-width: 1025px) {
  .camps-hero {
    padding: 24px 0 52px;
  }

  .camps-hero-grid {
    min-height: clamp(620px, calc(100svh - 156px), 760px);
    padding: 38px 0 28px;
  }

  .camps-hero-visual {
    right: 0;
    top: 0;
    bottom: 0;
    width: 50.5vw;
    border-radius: 0 0 0 86px;
    overflow: hidden;
  }

  .camps-hero-visual .tactic-card {
    left: clamp(46px, 5vw, 72px);
    bottom: clamp(52px, 7vh, 78px);
    max-width: 300px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .camps-hero-visual .tactic-card strong {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.2;
  }

  .camps-hero-visual .tactic-card span {
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (min-width: 1025px) and (max-height: 780px) {
  .camps-hero-grid {
    min-height: calc(100svh - 132px);
  }

  .camps-hero-copy h1 {
    font-size: clamp(36px, 3.75vw, 54px);
  }

  .camps-hero-copy p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.5;
  }

  .camp-hero-note {
    margin-top: 18px;
  }

  .camps-hero-visual .tactic-card {
    bottom: 44px;
  }
}


/* v18: summer camp page */
.center-head {
  max-width: 940px;
  margin: 0 auto 44px;
  text-align: center;
}
.center-head .title { margin-left: auto; margin-right: auto; }
.summer-hero {
  position: relative;
  padding: 38px 0 76px;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250,249,246,.88), rgba(250,249,246,.98)),
    url('../img/field-pattern.svg') center top / 1440px auto repeat-y;
}
.summer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(227,6,44,.075), transparent 30%),
    radial-gradient(circle at 74% 12%, rgba(227,6,44,.06), transparent 25%);
  pointer-events: none;
}
.summer-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  align-items: center;
  padding: 58px 0 16px;
}
.summer-hero-copy { max-width: 680px; }
.summer-hero-copy h1 {
  margin: 0;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 500;
}
.summer-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}
.summer-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50.5vw;
  overflow: hidden;
  border-radius: 0 0 0 86px;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  background: rgba(23,24,32,.04);
}
.summer-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.summer-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,246,.58), rgba(250,249,246,0) 30%), linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.14));
}
.summer-hero-card {
  position: absolute;
  left: 76px;
  bottom: 78px;
  z-index: 2;
  width: min(370px, calc(100% - 120px));
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}
.summer-hero-card strong,
.summer-hero-card span { display: block; }
.summer-hero-card strong { margin-bottom: 8px; font-size: 18px; letter-spacing: -.03em; }
.summer-hero-card span { color: var(--muted); line-height: 1.45; }
.summer-note { margin-top: 26px; }
.summer-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.summer-feature {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(23,24,32,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.summer-feature:hover { transform: translateY(-5px); border-color: rgba(227,6,44,.22); box-shadow: 0 20px 48px rgba(22,23,28,.11); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: rgba(227,6,44,.08);
  color: var(--red);
  font-size: 27px;
  font-weight: 700;
}
.summer-feature h3 { margin: 0; font-size: 21px; line-height: 1.24; letter-spacing: -.035em; font-weight: 700; }
.summer-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .62fr);
  gap: 54px;
  align-items: center;
}
.summer-about-copy h2,
.care-copy h2 {
  margin: 0 0 24px;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 500;
}
.summer-about-copy p:not(.kicker),
.care-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}
.summer-about-cards {
  display: grid;
  gap: 16px;
}
.summer-about-cards article {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.summer-about-cards strong,
.summer-about-cards span { display: block; }
.summer-about-cards strong { margin-bottom: 8px; font-size: 21px; letter-spacing: -.04em; }
.summer-about-cards span { color: var(--muted); line-height: 1.45; }
.summer-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 265px;
  gap: 20px;
}
.summer-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: rgba(23,24,32,.05);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.summer-photo.big { grid-row: span 2; }
.summer-photo.wide { grid-column: span 2; }
.summer-photo img,
.summer-video iframe,
.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.summer-photo span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23,24,32,.62);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}
.summer-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.34));
  opacity: .75;
}
.summer-video-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
.summer-video {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 32px;
  background: #10121a;
  box-shadow: var(--shadow-soft);
}
.summer-video iframe { position: absolute; inset: 0; border: 0; }
.summer-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 14px 0;
}
.summer-timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 238px;
  width: 2px;
  background: rgba(23,24,32,.12);
}
.summer-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 190px 96px 1fr;
  gap: 0;
  min-height: 76px;
  align-items: center;
}
.summer-timeline time {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: right;
}
.summer-timeline span {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(227,6,44,.16);
}
.summer-timeline p {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.04em;
}
.price-care-grid {
  display: grid;
  grid-template-columns: minmax(320px, .48fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
.summer-price-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 24px 60px rgba(227,6,44,.22);
}
.summer-price-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/field-pattern.svg') center / 900px auto no-repeat;
  opacity: .09;
}
.summer-price-card > * { position: relative; z-index: 2; }
.summer-price-card p { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.summer-price-card span { display: block; margin-bottom: 58px; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); }
.summer-price-card h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.055em; font-weight: 700; }
.summer-price-card strong { display: block; margin-bottom: 32px; font-size: 24px; }
.care-note { color: var(--text) !important; font-weight: 700; }
.line-faq {
  display: block;
  max-width: 980px;
  margin: 0 auto;
}
.line-faq details {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(227,6,44,.45);
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.line-faq details:last-child { border-bottom: 1px solid rgba(227,6,44,.45); }
.line-faq summary {
  min-height: 72px;
  padding: 22px 72px 22px 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.line-faq summary::after {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  content: '+';
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}
.line-faq details[open] summary::after { content: '×'; font-size: 34px; }
.line-faq details p {
  max-width: 860px;
  margin: 0;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.lead-section-summer { background: var(--dark); }

/* v19: alignment fixes for summer page */
.summer-page .center-head {
  max-width: 100%;
  margin: 0 0 44px;
  text-align: left;
}
.summer-page .center-head .title {
  max-width: 920px;
  margin-left: 0;
  margin-right: 0;
}
.summer-page .summer-advantages .center-head .title {
  max-width: 980px;
}
.summer-page .summer-faq .center-head {
  margin-bottom: 34px;
}
.summer-page .summer-faq .center-head .title {
  max-width: 100%;
}
.summer-page .summer-timeline {
  width: min(860px, 100%);
}
.summer-page .summer-timeline article {
  grid-template-columns: 190px 72px minmax(310px, 520px);
  justify-content: center;
  align-items: center;
}
.summer-page .summer-timeline::before {
  left: calc(50% - 172px);
}
.summer-page .summer-timeline time,
.summer-page .summer-timeline p {
  align-self: center;
}
.summer-page .line-faq {
  width: 100%;
  max-width: 1040px;
  margin-left: 0;
  margin-right: auto;
}
.summer-page .line-faq summary {
  position: relative;
  display: block;
  list-style: none;
  padding-left: 0;
}
.summer-page .line-faq summary::-webkit-details-marker {
  display: none;
}
.summer-page .line-faq summary::marker {
  content: '';
}
.summer-page .line-faq summary::after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.summer-page .line-faq details[open] summary::after {
  transform: translateY(-50%);
}

@media (max-width: 1180px) {
  .summer-hero-grid { grid-template-columns: 1fr; padding-top: 360px; }
  .summer-hero-media { left: 20px; right: 20px; top: 18px; bottom: auto; width: auto; height: 330px; border-radius: 28px; clip-path: none; }
  .summer-hero-card { left: 24px; bottom: 24px; }
  .summer-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summer-about-grid, .summer-video-grid, .price-care-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .summer-hero { min-height: auto; padding-bottom: 56px; }
  .summer-hero-grid { padding-top: 300px; }
  .summer-hero-media { left: 12px; right: 12px; height: 280px; border-radius: 24px; }
  .summer-hero-card { display: none; }
  .summer-hero-copy h1 { font-size: 39px; }
  .summer-hero-copy p:not(.eyebrow) { font-size: 16px; }
  .summer-feature-grid, .summer-photo-grid { grid-template-columns: 1fr; }
  .summer-photo, .summer-photo.big, .summer-photo.wide { grid-column: auto; grid-row: auto; min-height: 245px; }
  .summer-video { min-height: 260px; border-radius: 24px; }
  .summer-page .center-head { text-align: left; margin-left: 0; margin-right: 0; }
  .summer-page .center-head .title { margin-left: 0; margin-right: 0; }
  .summer-page .summer-timeline { width: 100%; margin-left: 0; margin-right: 0; padding-left: 0; }
  .summer-page .summer-timeline::before { left: 96px; }
  .summer-page .summer-timeline article { grid-template-columns: 82px 40px minmax(0, 1fr); justify-content: start; min-height: 70px; }
  .summer-page .summer-timeline time { font-size: 13px; text-align: right; }
  .summer-page .summer-timeline p { font-size: 18px; }
  .summer-page .line-faq { width: 100%; }
  .summer-price-card { padding: 30px; }
  .line-faq summary { font-size: 17px; padding-right: 58px; }
  .line-faq details p { font-size: 16px; }
}


/* v20: summer camp FAQ and centered desktop timeline */
@media (min-width: 761px) {
  .summer-page .summer-day .center-head {
    max-width: 100%;
    margin: 0 auto 44px;
    text-align: center;
  }
  .summer-page .summer-day .center-head .title {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  .summer-page .summer-timeline {
    width: min(900px, 100%);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .summer-page .summer-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .summer-page .summer-timeline article {
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    justify-content: stretch;
    align-items: center;
  }
  .summer-page .summer-timeline time {
    justify-self: end;
    text-align: right;
    padding-right: 22px;
  }
  .summer-page .summer-timeline span {
    justify-self: center;
  }
  .summer-page .summer-timeline p {
    justify-self: start;
    text-align: left;
    padding-left: 22px;
    max-width: 420px;
  }
}
.summer-page .summer-faq .section-head.compact-head {
  align-items: end;
}
.summer-page .summer-faq .faq-grid details {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.summer-page .summer-faq .faq-grid details:hover {
  transform: translateY(-3px);
  border-color: rgba(227,6,44,.22);
  box-shadow: 0 20px 42px rgba(23,24,32,.09);
}
.summer-page .summer-faq .faq-grid summary {
  position: relative;
  display: block;
  list-style: none;
  padding-right: 36px;
}
.summer-page .summer-faq .faq-grid summary::-webkit-details-marker { display: none; }
.summer-page .summer-faq .faq-grid summary::marker { content: ''; }
.summer-page .summer-faq .faq-grid summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}
.summer-page .summer-faq .faq-grid details[open] summary::after {
  content: '×';
  background: var(--red);
  color: #fff;
}
@media (max-width: 760px) {
  .summer-page .summer-faq .section-head.compact-head { align-items: start; }
}

/* v21: one-row FAQ, smooth accordion, 7 partners, compact camp galleries */
.faq-grid,
.summer-page .summer-faq .faq-grid,
.summer-page .summer-faq-grid {
  grid-template-columns: 1fr !important;
  gap: 14px;
  max-width: 1040px;
  margin-left: 0;
  margin-right: auto;
}
.faq-grid details {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.faq-grid details:hover {
  transform: translateY(-2px);
  border-color: rgba(227,6,44,.20);
  box-shadow: 0 18px 42px rgba(23,24,32,.085);
}
.faq-grid summary {
  position: relative;
  display: block;
  list-style: none;
  min-height: 72px;
  padding: 24px 76px 24px 28px !important;
  cursor: pointer;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.035em;
  font-weight: 600;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::marker { content: ''; }
.faq-grid summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 23px;
  line-height: 1;
  font-weight: 600;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.faq-grid details[open] summary::after {
  content: '×';
  background: var(--red);
  color: #fff;
  transform: translateY(-50%) rotate(90deg);
}
.faq-body {
  height: 0;
  overflow: hidden;
  transition: height .26s ease;
}
.faq-body-inner {
  padding: 0 28px 26px;
}
.faq-grid .faq-body p,
.faq-grid details > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.faq-grid details.is-ready[open] .faq-body { height: auto; }

.partner-logos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.partner-logo {
  min-height: 126px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.partner-logo strong {
  font-size: 19px;
  line-height: 1.1;
  font-weight: 700;
}
.partner-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227,6,44,.18);
  background: rgba(227,6,44,.06);
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.partner-icon.ball { border-radius: 50%; }
.partner-icon.stripe { transform: skew(-8deg); }
.partner-icon.flame { border-radius: 16px 16px 22px 22px; }
.partner-icon.wave { border-radius: 22px 10px; }
.partner-icon.circle { border-radius: 50%; font-size: 13px; }
.partner-icon.star { font-size: 20px; }

.compact-camp-detail .camp-detail-gallery {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.compact-camp-detail .camp-detail-card.reverse .camp-detail-gallery { order: -1; }
.camp-detail-shot {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #e9e9e9;
  cursor: zoom-in;
  box-shadow: 0 12px 28px rgba(23,24,32,.08);
}
.camp-detail-shot.main {
  grid-row: 1 / span 3;
  border-radius: 28px;
}
.camp-detail-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}
.camp-detail-shot:hover img { transform: scale(1.045); }
.compact-camp-detail .camp-detail-card.reverse .camp-detail-copy { order: 2; }

@media (max-width: 1100px) {
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-camp-detail .camp-detail-gallery {
    min-height: 360px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 260px 110px;
  }
  .camp-detail-shot.main { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 760px) {
  .faq-grid summary { min-height: 64px; padding: 20px 62px 20px 20px !important; font-size: 18px; }
  .faq-grid summary::after { right: 20px; width: 28px; height: 28px; }
  .faq-body-inner { padding: 0 20px 22px; }
  .partner-logos { grid-template-columns: 1fr; }
  .partner-logo { min-height: 108px; }
  .compact-camp-detail .camp-detail-gallery {
    min-height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 260px 92px;
    gap: 10px;
  }
  .camp-detail-shot { border-radius: 16px; }
  .camp-detail-shot.main { border-radius: 22px; }
}


/* v22 fixes: full-width stable FAQ, larger partner logos, slider galleries */
.faq-section .container { overflow: visible; }
.faq-grid,
.summer-page .summer-faq .faq-grid,
.summer-page .summer-faq-grid {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin: 0 !important;
}
.faq-grid details {
  width: 100% !important;
  min-width: 0;
  border-radius: 22px !important;
  border: 1px solid rgba(23,24,32,.07) !important;
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 16px 40px rgba(23,24,32,.055) !important;
  transform: none !important;
  will-change: auto !important;
}
.faq-grid details:hover {
  transform: none !important;
  box-shadow: 0 18px 42px rgba(23,24,32,.07) !important;
}
.faq-grid summary {
  width: 100% !important;
  min-height: 70px !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 22px 78px 22px 28px !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
}
.faq-grid summary::after {
  right: 26px !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 28px !important;
  text-align: center !important;
  flex: 0 0 30px;
  font-family: Arial, sans-serif;
  font-size: 22px !important;
  transition: transform .18s ease, background-color .18s ease, color .18s ease !important;
}
.faq-grid details[open] summary::after {
  line-height: 30px !important;
  transform: translateY(-50%) rotate(90deg) !important;
}
.faq-body {
  height: 0;
  overflow: hidden;
  transition: height .22s cubic-bezier(.22,.61,.36,1) !important;
  will-change: height;
}
.faq-body-inner {
  padding: 0 28px 26px !important;
  max-width: 980px;
}
.faq-grid .faq-body p,
.faq-grid details > p {
  font-size: 17px !important;
  line-height: 1.58 !important;
}
.faq-grid details.is-ready[open] .faq-body { height: var(--faq-open-height, auto); }

.partner-logos.partner-logos-only {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
}
.partner-logos-only .partner-logo {
  min-height: 170px !important;
  padding: 22px !important;
}
.partner-logos-only .partner-logo strong { display: none !important; }
.partner-logos-only .partner-icon {
  width: 96px !important;
  height: 96px !important;
  border-radius: 24px !important;
  font-size: 42px !important;
  border-width: 2px !important;
  background: rgba(227,6,44,.055) !important;
}
.partner-logos-only .partner-wordmark {
  width: 124px !important;
  font-size: 30px !important;
  letter-spacing: -.06em;
}
.partner-logos-only .partner-icon.circle { font-size: 30px !important; }
.partner-logos-only .partner-icon.star { font-size: 44px !important; }

.compact-camp-detail .camp-detail-slider {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #eef0f2;
  box-shadow: 0 18px 50px rgba(23,24,32,.09);
}
.camp-slider-viewport,
.camp-slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.camp-slider-slide {
  display: block;
  opacity: 0;
  visibility: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  background: transparent;
  transition: opacity .26s ease, visibility .26s ease;
}
.camp-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.camp-slider-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.camp-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--red);
  box-shadow: 0 12px 28px rgba(23,24,32,.16);
  display: grid;
  place-items: center;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .16s ease, background .16s ease;
}
.camp-slider-arrow:hover { transform: translateY(-50%) scale(1.06); background: #fff; }
.camp-slider-arrow.prev { left: 22px; }
.camp-slider-arrow.next { right: 22px; }
.camp-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 22px rgba(23,24,32,.12);
}
.camp-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23,24,32,.25);
  cursor: pointer;
}
.camp-slider-dots button.is-active { background: var(--red); }
.compact-camp-detail .camp-detail-card.reverse .camp-detail-slider { order: -1; }

@media (max-width: 1100px) {
  .compact-camp-detail .camp-detail-slider { min-height: 390px; }
  .compact-camp-detail .camp-detail-card.reverse .camp-detail-slider { order: 2; }
  .partner-logos.partner-logos-only { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .faq-grid summary { min-height: 62px !important; padding: 19px 62px 19px 20px !important; font-size: 17px !important; }
  .faq-grid summary::after { right: 18px !important; width: 28px !important; height: 28px !important; font-size: 20px !important; }
  .faq-body-inner { padding: 0 20px 22px !important; }
  .partner-logos.partner-logos-only { grid-template-columns: 1fr !important; }
  .partner-logos-only .partner-logo { min-height: 130px !important; }
  .partner-logos-only .partner-icon { width: 82px !important; height: 82px !important; font-size: 34px !important; }
  .partner-logos-only .partner-wordmark { width: 106px !important; font-size: 26px !important; }
  .compact-camp-detail .camp-detail-slider { min-height: 300px; border-radius: 22px; }
  .camp-slider-arrow { width: 40px; height: 40px; font-size: 30px; }
  .camp-slider-arrow.prev { left: 12px; }
  .camp-slider-arrow.next { right: 12px; }
}


/* v23: faster stable FAQ accordion */
.faq-grid details {
  overflow: hidden !important;
  transform: none !important;
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease !important;
}
.faq-grid details:hover { transform: none !important; }
.faq-grid summary {
  -webkit-tap-highlight-color: transparent;
}
.faq-grid summary::after {
  top: 50% !important;
  transform: translateY(-50%) !important;
  transition: background-color .14s ease, color .14s ease, opacity .14s ease !important;
  opacity: 1 !important;
}
.faq-grid details[open] summary::after,
.faq-grid details.is-open summary::after {
  content: '×' !important;
  background: var(--red) !important;
  color: #fff !important;
  transform: translateY(-50%) !important;
}
.faq-grid details:not([open]) summary::after {
  content: '+' !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
}
.faq-body {
  height: 0;
  overflow: hidden;
  transition: height .16s cubic-bezier(.22,.61,.36,1) !important;
  will-change: auto;
}
.faq-grid details.is-opening .faq-body,
.faq-grid details.is-closing .faq-body { will-change: height; }
.faq-grid details.is-ready[open] .faq-body { height: var(--faq-open-height, 0px); }
.faq-grid details.is-ready.is-open:not(.is-opening):not(.is-closing) .faq-body { height: auto; }
.faq-grid details.is-closing summary::after {
  content: '+' !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
}


/* v24: окончательная лёгкая версия FAQ без лага */
.faq-grid {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
}
.faq-grid details {
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease !important;
}
.faq-grid details:hover {
  transform: none !important;
}
.faq-grid summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 70px !important;
  box-sizing: border-box !important;
  padding: 22px 78px 22px 28px !important;
  list-style: none !important;
  cursor: pointer !important;
}
.faq-grid summary::-webkit-details-marker { display: none !important; }
.faq-grid summary::marker { content: '' !important; }
.faq-grid summary::after {
  content: '+' !important;
  position: absolute !important;
  top: 50% !important;
  right: 26px !important;
  width: 30px !important;
  height: 30px !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  transition: background-color .14s ease, color .14s ease !important;
}
.faq-grid details.is-open summary::after {
  content: '×' !important;
  background: var(--red) !important;
  color: #fff !important;
}
.faq-grid details.is-closing summary::after,
.faq-grid details:not(.is-open) summary::after {
  content: '+' !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
}
.faq-body {
  height: auto !important;
  display: grid !important;
  grid-template-rows: 0fr !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transition: grid-template-rows .18s ease, opacity .12s ease !important;
  will-change: auto !important;
}
.faq-body-inner {
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 28px 0 !important;
  transition: padding-bottom .18s ease !important;
}
.faq-grid details.is-open .faq-body {
  grid-template-rows: 1fr !important;
  opacity: 1 !important;
}
.faq-grid details.is-open .faq-body-inner {
  padding-bottom: 26px !important;
}
.faq-grid details.is-closing .faq-body {
  grid-template-rows: 0fr !important;
  opacity: 0 !important;
}
.faq-grid .faq-body p {
  margin: 0 !important;
}
@media (max-width: 760px) {
  .faq-grid summary {
    min-height: 62px !important;
    padding: 19px 62px 19px 20px !important;
    font-size: 17px !important;
  }
  .faq-grid summary::after {
    right: 18px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 20px !important;
  }
  .faq-body-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .faq-grid details.is-open .faq-body-inner {
    padding-bottom: 22px !important;
  }
}

/* v25: stable no-lag FAQ override */
.faq-grid,
.summer-page .summer-faq .faq-grid,
.summer-page .summer-faq-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.faq-grid details {
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(23,24,32,.07) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 34px rgba(23,24,32,.052) !important;
  transform: none !important;
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease !important;
  will-change: auto !important;
}
.faq-grid details:hover {
  transform: none !important;
  box-shadow: 0 14px 34px rgba(23,24,32,.052) !important;
}
.faq-grid summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 70px !important;
  box-sizing: border-box !important;
  padding: 22px 78px 22px 28px !important;
  cursor: pointer !important;
  list-style: none !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
}
.faq-grid summary::-webkit-details-marker { display: none !important; }
.faq-grid summary::marker { content: '' !important; }
.faq-grid summary::after {
  content: '+' !important;
  position: absolute !important;
  top: 50% !important;
  right: 26px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  transform: translateY(-50%) !important;
  transition: background-color .12s ease, color .12s ease !important;
}
.faq-grid details.is-open summary::after,
.faq-grid details[open].is-open summary::after {
  content: '×' !important;
  background: var(--red) !important;
  color: #fff !important;
  transform: translateY(-50%) !important;
}
.faq-grid details:not(.is-open) summary::after {
  content: '+' !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
}
.faq-body {
  display: none !important;
  height: auto !important;
  max-height: none !important;
  grid-template-rows: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  transition: none !important;
  will-change: auto !important;
}
.faq-body-inner {
  padding: 0 28px 26px !important;
  min-height: 0 !important;
  overflow: visible !important;
  transition: none !important;
}
.faq-grid details.is-open .faq-body {
  display: block !important;
  animation: faqIn .12s ease-out both;
}
.faq-grid details:not(.is-open) .faq-body {
  display: none !important;
}
.faq-grid .faq-body p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  .faq-grid summary {
    min-height: 62px !important;
    padding: 19px 62px 19px 20px !important;
    font-size: 17px !important;
  }
  .faq-grid summary::after {
    right: 18px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 20px !important;
  }
  .faq-body-inner {
    padding: 0 20px 22px !important;
  }
}

/* v26: headings on the summer camp page matched to the homepage scale */
.summer-page .summer-hero-copy h1,
.summer-page .title,
.summer-page .summer-about-copy h2,
.summer-page .care-copy h2,
.summer-page .summer-price-card h2,
.summer-page .lead-info h2 {
  font-size: var(--site-heading-size) !important;
  line-height: var(--site-heading-line) !important;
  letter-spacing: -0.055em !important;
  font-weight: 500 !important;
}

@media (max-width: 620px) {
  .summer-page .summer-hero-copy h1,
  .summer-page .title,
  .summer-page .summer-about-copy h2,
  .summer-page .care-copy h2,
  .summer-page .summer-price-card h2,
  .summer-page .lead-info h2 {
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }
}


/* v27: group price buttons and popup */
.program-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.program-actions .card-link {
  margin-top: 0;
}
.card-link-secondary {
  border: 1px solid rgba(227,6,44,.22);
  background: #fff;
  color: var(--red);
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
}
.card-link-secondary:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227,6,44,.16);
}
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.price-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,14,20,.62);
  backdrop-filter: blur(7px);
}
.price-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: 32px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    url('../img/field-pattern.svg') center / 760px auto;
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  transform: translateY(12px) scale(.985);
  transition: transform .18s ease;
}
.price-modal.open .price-modal-panel {
  transform: translateY(0) scale(1);
}
.price-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(227,6,44,.22);
}
.price-modal-panel .kicker {
  margin-bottom: 10px;
}
.price-modal-panel h2 {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: var(--site-heading-size);
  line-height: var(--site-heading-line);
  letter-spacing: -.055em;
  font-weight: 500;
}
.price-modal-subtitle {
  max-width: 760px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.price-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-option {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(227,6,44,.20);
  box-shadow: 0 14px 34px rgba(23,24,32,.055);
}
.price-option h3 {
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 700;
}
.price-option p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.price-option strong {
  margin-top: auto;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
}
.price-option a {
  margin-top: 20px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(227,6,44,.16);
}
body.price-modal-open {
  overflow: hidden;
}
@media (max-width: 980px) {
  .price-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-modal-panel { padding: 34px; }
}
@media (max-width: 620px) {
  .program-actions { gap: 8px; }
  .program-actions .card-link { width: 100%; }
  .price-modal {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }
  .price-modal-panel {
    width: min(100%, 430px);
    max-height: calc(100dvh - 24px);
    padding: 22px 16px 20px;
    border-radius: 24px;
    margin: 0 auto;
  }
  .price-modal-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 26px; }
  .price-modal-panel .kicker { margin-bottom: 8px; padding-right: 44px; }
  .price-modal-panel h2 {
    font-size: var(--site-heading-size);
    line-height: 1.08;
    padding-right: 44px;
  }
  .price-modal-subtitle { font-size: 16px; margin: 16px 0 18px; }
  .price-modal-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-option { min-height: 0; padding: 20px; }
  .price-option strong { font-size: 36px; }
}

/* v32: home gallery full-width aligned */
.home-gallery-section {
  padding-top: 48px;
}

.home-gallery-section .container {
  width: calc(100% - 100px);
  margin-left: 50px;
  margin-right: 50px;
}

.home-gallery-showcase {
  display: grid;
  gap: 28px;
}

.home-gallery-video,
.home-gallery-card {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(23,24,32,.06);
  box-shadow: 0 14px 36px rgba(22,23,28,.08);
}

.home-gallery-video {
  position: relative;
  width: 100%;
  min-height: 0;
  height: clamp(390px, 39vw, 610px);
  background: #11131a;
}

.home-gallery-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-gallery-row {
  display: grid;
  gap: 24px;
}

.home-gallery-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-gallery-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-gallery-card {
  min-height: 245px;
  border-radius: 10px;
  cursor: zoom-in;
}

.home-gallery-card-wide {
  min-height: 335px;
}

.home-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}

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

@media (max-width: 980px) {
  .home-gallery-video {
    height: clamp(280px, 54vw, 460px);
  }

  .home-gallery-row-three,
  .home-gallery-row-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gallery-card,
  .home-gallery-card-wide {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .home-gallery-section {
    padding-top: 34px;
  }

  .home-gallery-section .container {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }

  .home-gallery-showcase,
  .home-gallery-row {
    gap: 14px;
  }

  .home-gallery-video {
    height: 230px;
    border-radius: 12px;
  }

  .home-gallery-row-three,
  .home-gallery-row-two {
    grid-template-columns: 1fr;
  }

  .home-gallery-card,
  .home-gallery-card-wide {
    min-height: 230px;
    border-radius: 12px;
  }
}

@media (max-width: 620px) {
  .home-gallery-section .container {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }
}

@media (max-width: 420px) {
  .home-gallery-video {
    height: 215px;
  }

  .home-gallery-card,
  .home-gallery-card-wide {
    min-height: 215px;
  }
}


/* v31: news page */
.news-hero {
  position: relative;
  padding: 172px 0 84px;
  overflow: hidden;
}
.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250,249,246,.98) 0%, rgba(250,249,246,.82) 54%, rgba(250,249,246,.42) 100%),
    url('https://static.tildacdn.com/tild3539-3331-4135-a638-343639336666/_1.jpg') center/cover no-repeat;
  z-index: -2;
}
.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 620px;
  opacity: .24;
  z-index: -1;
}
.news-hero-copy {
  max-width: 760px;
}
.news-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.075em;
}
.news-hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: stretch;
}
.news-featured-card,
.news-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(227,6,44,.10);
  box-shadow: var(--shadow-soft);
}
.news-featured-card {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.news-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.news-featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,24,32,.05) 0%, rgba(23,24,32,.72) 72%, rgba(23,24,32,.86) 100%);
}
.news-featured-card:hover img { transform: scale(1.04); }
.news-featured-content {
  position: relative;
  z-index: 1;
  padding: 34px;
}
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(227,6,44,.10);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.news-featured-card .news-date {
  background: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(8px);
}
.news-featured-content h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: .96;
  letter-spacing: -.06em;
}
.news-featured-content p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.5;
}
.news-aside {
  display: grid;
  gap: 18px;
}
.news-mini-card {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 18px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(227,6,44,.10);
  box-shadow: 0 12px 28px rgba(22,23,28,.06);
}
.news-mini-card img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  border-radius: 18px;
}
.news-mini-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.news-mini-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin-top: 34px;
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.news-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.news-card:hover img { transform: scale(1.04); }
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 24px;
}
.news-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.news-card .card-link {
  margin-top: auto;
}
.news-card .news-date {
  align-self: flex-start;
  margin-bottom: 0;
}
.news-strip {
  margin-top: 54px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.news-strip h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .95;
  letter-spacing: -.055em;
}
.news-strip p {
  margin: 12px 0 0;
  max-width: 700px;
  color: rgba(255,255,255,.72);
}
@media (max-width: 980px) {
  .news-hero { padding: 136px 0 62px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-featured-card { min-height: 440px; }
}
@media (max-width: 760px) {
  .news-hero { padding: 112px 0 46px; }
  .news-hero-copy h1 { font-size: clamp(42px, 13vw, 60px); }
  .news-hero-copy p { font-size: 17px; }
  .news-featured-content { padding: 24px; }
  .news-featured-card { min-height: 390px; border-radius: 28px; }
  .news-mini-card { grid-template-columns: 1fr; }
  .news-mini-card img { height: 210px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card img { height: 220px; }
  .news-strip { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 620px) {
  .home-gallery-section .container {
    width: min(calc(100% - 28px), 1120px);
  }
}

/* v33: news cards in one unified grid + detail popup */
.news-grid-all {
  margin-top: 0;
  align-items: stretch;
}
.news-grid-all .news-card {
  min-height: 100%;
}
.news-grid-all .news-card img {
  height: 260px;
}
.news-detail-button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
}
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.news-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,14,20,.68);
  backdrop-filter: blur(7px);
}
.news-modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr);
  gap: 0;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    url('../img/field-pattern.svg') center / 760px auto;
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 30px 90px rgba(0,0,0,.30);
  transform: translateY(12px) scale(.985);
  transition: transform .18s ease;
}
.news-modal.open .news-modal-panel {
  transform: translateY(0) scale(1);
}
.news-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(227,6,44,.22);
}
.news-modal-hero {
  min-height: 100%;
  background: #111;
}
.news-modal-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.news-modal-content {
  padding: 42px;
}
.news-modal-content h2 {
  margin: 0 52px 18px 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: .95;
  letter-spacing: -.06em;
  color: var(--text);
}
.news-modal-text {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}
.news-modal-text p {
  margin: 0;
}
.news-modal-content h3 {
  margin: 28px 0 14px;
  color: var(--text);
  font-size: 26px;
  letter-spacing: -.04em;
}
.news-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.news-modal-gallery img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(23,24,32,.08);
}
body.news-modal-open {
  overflow: hidden;
}

/* v33: birthday page */
.birthday-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 92px;
  background:
    linear-gradient(105deg, rgba(23,24,32,.96) 0%, rgba(23,24,32,.84) 46%, rgba(227,6,44,.72) 100%),
    url('../img/birthday-new/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
}
.birthday-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 680px;
  opacity: .16;
  pointer-events: none;
}
.birthday-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, .7fr);
  gap: 42px;
  align-items: center;
}
.birthday-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 7.8vw, 106px);
  line-height: .88;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.birthday-hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.55;
}
.birthday-hero .eyebrow,
.birthday-dark .kicker,
.birthday-packages .kicker {
  color: rgba(255,255,255,.78);
}
.birthday-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.08);
}
.birthday-hero-media {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.birthday-hero-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.birthday-about {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(360px, .9fr);
  gap: 30px;
  align-items: stretch;
}
.birthday-about-card {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(227,6,44,.10);
  box-shadow: var(--shadow-soft);
}
.birthday-about-card .title {
  margin-bottom: 22px;
}
.birthday-about-card p:not(.kicker) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}
.birthday-about-card .btn {
  margin-top: 14px;
}
.birthday-about-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  min-height: 460px;
}
.birthday-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.birthday-dark,
.birthday-packages {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 22%, rgba(255,49,84,.34), transparent 34%),
    linear-gradient(115deg, #251015 0%, #b34747 48%, #130b0f 100%);
  color: #fff;
}
.birthday-dark::before,
.birthday-packages::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 720px;
  opacity: .08;
  pointer-events: none;
}
.birthday-dark .container,
.birthday-packages .container {
  position: relative;
  z-index: 1;
}
.light-head .title,
.light-head .section-text {
  color: #fff;
}
.light-head .section-text {
  opacity: .74;
}
.birthday-why-grid,
.birthday-steps-grid,
.birthday-package-grid,
.birthday-gallery-grid {
  display: grid;
  gap: 22px;
}
.birthday-why-grid,
.birthday-steps-grid,
.birthday-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.birthday-why-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.birthday-why-card span,
.birthday-step span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}
.birthday-why-card h3,
.birthday-step h3,
.birthday-package h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.birthday-why-card p,
.birthday-step p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
  line-height: 1.55;
}
.birthday-step {
  padding: 30px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(227,6,44,.10);
  box-shadow: var(--shadow-soft);
}
.birthday-step h3 {
  color: var(--text);
}
.birthday-step p {
  color: var(--muted);
}
.center-head {
  text-align: center;
  justify-content: center;
}
.center-head > div {
  margin: 0 auto;
}
.birthday-package {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 30px;
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 24px 64px rgba(0,0,0,.14);
  text-align: center;
}
.birthday-package-accent {
  background: rgba(255,255,255,.14);
}
.birthday-package-icon {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.03em;
}
.birthday-package h3 {
  color: #fff;
  font-size: 30px;
}
.birthday-package h3 span {
  font-size: 24px;
  opacity: .92;
}
.birthday-package p {
  margin: 30px 0 18px;
  color: rgba(255,255,255,.68);
}
.birthday-package ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255,255,255,.78);
  text-align: left;
  line-height: 1.52;
}
.birthday-package li + li {
  margin-top: 9px;
}
.birthday-package .btn {
  margin-top: auto;
}
.btn-white {
  background: #fff;
  color: var(--red);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--red);
  color: #fff;
}
.birthday-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.birthday-gallery-item {
  min-height: 300px;
  border-radius: 30px;
}
.birthday-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .birthday-hero-grid,
  .birthday-about {
    grid-template-columns: 1fr;
  }
  .birthday-hero-media img {
    height: 420px;
  }
  .birthday-why-grid,
  .birthday-steps-grid,
  .birthday-package-grid {
    grid-template-columns: 1fr;
  }
  .birthday-package {
    min-height: 0;
  }
}
@media (max-width: 980px) {
  .news-modal-panel {
    grid-template-columns: 1fr;
  }
  .news-modal-hero img {
    min-height: 320px;
    max-height: 360px;
  }
  .news-grid-all .news-card img {
    height: 230px;
  }
}
@media (max-width: 760px) {
  .news-modal {
    padding: 12px;
  }
  .news-modal-panel {
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }
  .news-modal-content {
    padding: 24px 16px 18px;
  }
  .news-modal-content h2 {
    margin-right: 44px;
    font-size: clamp(34px, 11vw, 48px);
  }
  .news-modal-gallery {
    grid-template-columns: 1fr;
  }
  .news-modal-gallery img {
    height: 210px;
  }
  .birthday-hero {
    padding: 124px 0 58px;
  }
  .birthday-hero-copy h1 {
    font-size: clamp(42px, 13vw, 62px);
  }
  .birthday-hero-copy p {
    font-size: 17px;
  }
  .birthday-hero-media img {
    height: 310px;
  }
  .birthday-about-card {
    padding: 26px 20px;
  }
  .birthday-about-photo {
    min-height: 320px;
  }
  .birthday-gallery-grid {
    grid-template-columns: 1fr;
  }
  .birthday-gallery-item {
    min-height: 240px;
  }
  .birthday-package {
    padding: 28px 20px;
  }
}

/* v33 tiny footer visibility fix */
.footer-logo-copy { color: var(--text) !important; }

/* v34: unified heading scale + cleaner news modal image */
.news-hero-copy h1,
.birthday-hero-copy h1,
.news-modal-content h2,
.news-strip h2 {
  font-family: Inter, Onest, Arial, sans-serif !important;
  font-size: clamp(32px, 4vw, 58px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.055em !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.news-hero-copy h1,
.birthday-hero-copy h1 {
  max-width: 780px;
}

.birthday-packages .section-head,
.birthday-dark .section-head,
.news-page .section-head,
.birthday-page .section-head {
  text-align: left;
  justify-content: stretch;
}

.birthday-packages .section-head > div,
.birthday-dark .section-head > div,
.news-page .section-head > div,
.birthday-page .section-head > div {
  margin: 0;
}

.news-modal-panel {
  align-items: start;
}

.news-modal-hero {
  min-height: 0 !important;
  background: transparent !important;
  align-self: start;
  overflow: hidden;
}

.news-modal-hero img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(88vh - 56px);
  object-fit: contain !important;
  object-position: center;
  background: transparent !important;
}

@media (max-width: 980px) {
  .subpage-hero h1,
  .camps-hero-copy h1,
  .summer-hero-copy h1,
  .news-hero-copy h1,
  .birthday-hero-copy h1,
  .news-modal-content h2,
  .news-strip h2 {
    font-size: clamp(32px, 8vw, 46px) !important;
    line-height: 1.08 !important;
  }

  .news-modal-hero img {
    max-height: 42vh;
  }
}

@media (max-width: 760px) {
  .subpage-hero h1,
  .camps-hero-copy h1,
  .summer-hero-copy h1,
  .news-hero-copy h1,
  .birthday-hero-copy h1,
  .news-modal-content h2,
  .news-strip h2 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  .news-modal-hero img {
    max-height: 36vh;
  }

  .news-modal-content h2 {
    margin-right: 44px;
  }
}


/* v35: unified soft typography, clean logo/header, richer footer */
.logo-copy,
.footer-logo-copy {
  display: none !important;
}

.logo {
  width: 96px !important;
  min-width: 96px !important;
  gap: 0 !important;
}
.logo img.logo-mark {
  width: 82px !important;
  min-width: 82px !important;
  max-height: 58px;
}
@media (min-width: 981px) {
  .header {
    grid-template-columns: 104px minmax(0, 1fr) auto !important;
  }
}
@media (max-width: 760px) {
  .logo {
    width: 86px !important;
    min-width: 86px !important;
  }
  .logo img.logo-mark {
    width: 74px !important;
    min-width: 74px !important;
  }
}

.news-hero-copy h1,
.birthday-hero-copy h1,
.news-page .title,
.birthday-page .title,
.news-strip h2,
.news-modal-content h2 {
  font-family: Inter, Onest, Arial, sans-serif !important;
  font-size: clamp(42px, 5vw, 76px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.06em !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

.news-page .section-head .title,
.birthday-page .section-head .title {
  font-size: clamp(32px, 4vw, 58px) !important;
  line-height: 1.06 !important;
}

.news-hero-copy p:not(.eyebrow),
.birthday-hero-copy p,
.news-page .section-text,
.birthday-page .section-text,
.news-card p,
.news-strip p,
.news-modal-text,
.birthday-about-card p:not(.kicker),
.birthday-why-card p,
.birthday-step p,
.birthday-package p,
.birthday-package ol,
.lead-info > p,
.lead-form-head p {
  font-size: 18px !important;
  line-height: 1.62 !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
}

.birthday-hero-copy p,
.birthday-dark .section-text,
.birthday-dark .birthday-why-card p,
.birthday-packages .section-text,
.birthday-package p,
.birthday-package ol,
.news-strip p {
  color: rgba(255,255,255,.78) !important;
}

.news-modal-panel {
  width: min(980px, 100%) !important;
  max-height: min(88vh, 900px) !important;
  display: block !important;
  overflow: auto !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(255,255,255,.96)),
    url('../img/field-pattern.svg') center / 760px auto !important;
}
.news-modal-hero {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: #fff !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(23,24,32,.08);
}
.news-modal-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 430px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
}
.news-modal-content {
  padding: 34px 38px 38px !important;
}
.news-modal-gallery img {
  object-fit: cover !important;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 68px 0 34px !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(227,6,44,.18), transparent 34%),
    linear-gradient(135deg, #171820 0%, #20212a 52%, #101116 100%) !important;
  border-top: 0 !important;
  color: #fff;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 900px auto;
  background-position: center top;
  opacity: .08;
  pointer-events: none;
}
.footer-grid-rich {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(230px, .95fr) minmax(280px, 1.15fr) minmax(260px, .8fr) !important;
  gap: 34px !important;
  align-items: start !important;
}
.footer-brand,
.footer-contact {
  display: grid;
  gap: 18px;
}
.footer-logo img.footer-logo-mark {
  width: 132px !important;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.28));
}
.footer p {
  max-width: 430px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.68) !important;
  font-size: 16px;
  line-height: 1.62;
}
.footer .phone,
.footer-phone {
  color: #fff !important;
  margin: 0 !important;
  font-size: 18px !important;
}
.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 8px 0;
}
.footer-menu a {
  position: relative;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.footer-menu a:hover {
  transform: translateY(-2px);
  background: rgba(227,6,44,.18);
  border-color: rgba(227,6,44,.34);
  color: #fff;
}
.footer-contact {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.footer-contact-title {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}
.footer-contact .btn {
  width: fit-content;
}
.footer .socials a {
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 980px) {
  .news-hero-copy h1,
  .birthday-hero-copy h1,
  .news-page .title,
  .birthday-page .title,
  .news-strip h2,
  .news-modal-content h2 {
    font-size: clamp(34px, 8vw, 50px) !important;
    line-height: 1.08 !important;
  }
  .news-modal-panel {
    width: min(720px, 100%) !important;
  }
  .news-modal-hero img {
    max-height: 360px !important;
  }
  .footer-grid-rich {
    grid-template-columns: 1fr !important;
  }
  .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .news-hero-copy h1,
  .birthday-hero-copy h1,
  .news-page .title,
  .birthday-page .title,
  .news-strip h2,
  .news-modal-content h2 {
    font-size: 36px !important;
    line-height: 1.08 !important;
  }
  .news-hero-copy p:not(.eyebrow),
  .birthday-hero-copy p,
  .news-page .section-text,
  .birthday-page .section-text,
  .news-card p,
  .news-strip p,
  .news-modal-text,
  .birthday-about-card p:not(.kicker),
  .birthday-why-card p,
  .birthday-step p,
  .birthday-package p,
  .birthday-package ol,
  .lead-info > p,
  .lead-form-head p {
    font-size: 16px !important;
  }
  .news-modal {
    padding: 10px !important;
  }
  .news-modal-hero img {
    max-height: 300px !important;
  }
  .news-modal-content {
    padding: 22px 16px 18px !important;
  }
  .footer {
    padding: 48px 0 28px !important;
  }
  .footer-menu {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    padding: 20px;
  }
}


/* v36: unified heading/copy system from the homepage hero */
:root {
  --site-heading-size: clamp(40px, 4.15vw, 62px);
  --site-heading-line: 1.06;
  --site-heading-track: -0.055em;
  --site-heading-weight: 500;
  --site-copy-size: 16.5px;
  --site-copy-line: 1.52;
}

@media (min-width: 1025px) and (max-height: 820px) {
  :root {
    --site-heading-size: clamp(36px, 3.7vw, 54px);
  }
}

/* All main block and modal headings use the exact visual system of the first homepage screen */
.hero h1,
main h1,
main h2,
.title,
.section-head .title,
.center-head .title,
.curator-info h2,
.partner-panel h2,
.cta-copy h2,
.subpage-hero h1,
.camps-hero-copy h1,
.summer-hero-copy h1,
.camp-detail-copy h2,
.compact-camp-detail .camp-detail-copy h2,
.safety-copy h2,
.lead-info h2,
.summer-about-copy h2,
.care-copy h2,
.summer-price-card h2,
.price-modal-panel h2,
.news-hero-copy h1,
.birthday-hero-copy h1,
.news-page .title,
.birthday-page .title,
.news-page .section-head .title,
.birthday-page .section-head .title,
.news-strip h2,
.news-modal-content h2,
.birthday-about-card .title,
.light-head .title,
.big-quote p {
  font-family: Onest, Inter, Arial, sans-serif !important;
  font-size: var(--site-heading-size) !important;
  line-height: var(--site-heading-line) !important;
  letter-spacing: var(--site-heading-track) !important;
  font-weight: var(--site-heading-weight) !important;
  text-transform: none !important;
}

/* Card/item headings keep their hierarchy, but use the same softer weight */
.program-card h3,
.advantage-card h3,
.story-item h3,
.coach-info h3,
.camp-content h3,
.price-card h3,
.news-card h3,
.birthday-why-card h3,
.birthday-step h3,
.birthday-package h3,
.lead-form-head h3,
.news-modal-content h3 {
  font-family: Onest, Inter, Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.045em !important;
}

/* All descriptive texts follow the homepage hero lead style */
.hero-lead,
.section-text,
.section-head p.section-text,
.subpage-hero p,
.camps-hero-copy p:not(.eyebrow):not(.kicker),
.summer-hero-copy p:not(.eyebrow):not(.kicker),
.news-hero-copy p:not(.eyebrow):not(.kicker),
.birthday-hero-copy p:not(.eyebrow):not(.kicker),
.camp-detail-lead,
.compact-camp-detail .camp-detail-lead,
.summer-about-copy p,
.care-copy p,
.lead-info > p:not(.kicker),
.lead-form-head p,
.price-modal-subtitle,
.news-card p,
.news-strip p,
.news-modal-text,
.news-modal-text p,
.birthday-about-card p:not(.kicker),
.birthday-why-card p,
.birthday-step p,
.birthday-package p,
.birthday-package ol,
.birthday-package li {
  font-size: var(--site-copy-size) !important;
  line-height: var(--site-copy-line) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
}

/* Preserve readable copy color on dark sections */
.birthday-hero-copy p:not(.eyebrow):not(.kicker),
.birthday-dark .section-text,
.birthday-dark .birthday-why-card p,
.birthday-packages .section-text,
.birthday-package p,
.birthday-package ol,
.birthday-package li,
.news-strip p,
.cta-copy p,
.subpage-hero p,
.camps-hero-copy p:not(.eyebrow):not(.kicker) {
  color: rgba(255,255,255,.78) !important;
}

/* News modal: image fits its own area without black empty space */
.news-modal-panel {
  width: min(980px, 100%) !important;
  max-height: min(88vh, 900px) !important;
  display: block !important;
  overflow: auto !important;
  border-radius: 34px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(255,255,255,.96)),
    url('../img/field-pattern.svg') center / 760px auto !important;
}
.news-modal-hero {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  background: transparent !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(23,24,32,.08) !important;
}
.news-modal-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 430px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}
.news-modal-content {
  padding: 34px 38px 38px !important;
}
.news-modal-content h2 {
  margin: 0 52px 18px 0 !important;
}
.news-modal-gallery img {
  object-fit: cover !important;
}

@media (max-width: 980px) {
  .news-modal-panel {
    width: min(720px, 100%) !important;
  }
  .news-modal-hero img {
    max-height: 360px !important;
  }
}

@media (max-width: 620px) {
  :root {
    --site-heading-size: clamp(34px, 10.5vw, 46px);
    --site-heading-line: 1.08;
    --site-heading-track: -0.05em;
    --site-copy-size: 16px;
    --site-copy-line: 1.55;
  }
  .news-modal {
    padding: 10px !important;
  }
  .news-modal-panel {
    max-height: calc(100dvh - 20px) !important;
    border-radius: 24px !important;
  }
  .news-modal-hero img {
    max-height: 300px !important;
  }
  .news-modal-content {
    padding: 22px 16px 18px !important;
  }
  .news-modal-content h2 {
    margin-right: 44px !important;
  }
}


/* v40: partner logos as editable images */
.partner-logos-only .partner-logo {
  background: rgba(255,255,255,.84) !important;
  overflow: hidden;
}
.partner-logos-only .partner-logo-img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  border-radius: 20px;
}
@media (max-width: 760px) {
  .partner-logos-only .partner-logo-img {
    height: 96px;
  }
}


/* v43: even taller photos in the groups section so kids fit closer to full height */
.program-card img {
  height: 385px !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.program-age {
  top: -372px !important;
}

@media (max-width: 1200px) {
  .program-card img {
    height: 355px !important;
  }
  .program-age {
    top: -342px !important;
  }
}

@media (max-width: 760px) {
  .program-card img {
    height: 360px !important;
  }
  .program-age {
    top: -347px !important;
  }
}

@media (max-width: 420px) {
  .program-card img {
    height: 330px !important;
  }
  .program-age {
    top: -317px !important;
  }
}

/* v44: homepage blocks from latest reference, adapted to current soft site style */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 860px;
}
.hero-stat-card {
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,24,32,.10);
  box-shadow: 0 14px 34px rgba(22,23,28,.07);
  backdrop-filter: blur(10px);
}
.hero-stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 700;
}
.hero-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* six advantages like the reference */
#about .advantages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
#about .advantage-card {
  min-height: 190px;
  padding: 30px;
  border-radius: 28px;
}
#about .advantage-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 22px;
}
#about .advantage-card h3 {
  text-transform: none;
}

/* helper red card inside groups */
.program-help-card {
  position: relative;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(135deg, var(--red), #fb1f45 60%, #c70425);
  color: #fff;
  box-shadow: 0 20px 46px rgba(227,6,44,.19);
  border: 1px solid rgba(227,6,44,.22);
}
.program-help-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 820px auto;
  background-position: center;
  opacity: .13;
}
.program-help-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 34px 26px;
  text-align: center;
}
.program-help-kicker {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.program-help-card h3 {
  margin: 0;
  max-width: 290px;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 700;
}
.btn.btn-dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 15px 34px rgba(0,0,0,.20);
}
.btn.btn-dark:hover { background: #08090f; }

/* formats block */
.formats-section { padding-top: 88px; padding-bottom: 98px; }
.formats-head {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}
.formats-head .section-text {
  margin: 18px auto 0;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.format-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.09);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(22,23,28,.11);
  border-color: rgba(227,6,44,.22);
}
.format-card > span {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.format-card h3 {
  margin: 0 0 7px;
  color: var(--red);
  font-size: clamp(29px, 2.5vw, 42px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 700;
}
.format-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}
.format-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.format-card li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.42;
}
.format-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
}
.format-card .btn { margin-top: auto; width: 100%; min-height: 50px; }
.format-card-accent {
  background:
    radial-gradient(circle at 20% 5%, rgba(255,255,255,.22), transparent 35%),
    linear-gradient(135deg, var(--red), #f72a4e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 22px 52px rgba(227,6,44,.20);
}
.format-card-accent > span,
.format-card-accent p,
.format-card-accent li { color: rgba(255,255,255,.82); }
.format-card-accent h3 { color: #fff; }
.format-card-accent li::before { color: #fff; }
.formats-note {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(227,6,44,.07);
  border: 1px solid rgba(227,6,44,.14);
  color: var(--red);
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
}

/* curator reference composition */
.curator-v44 {
  grid-template-columns: minmax(320px, .72fr) minmax(0, .92fr);
  grid-template-areas:
    "head head"
    "photo info";
  gap: 28px 56px;
}
.curator-headline { grid-area: head; max-width: 780px; }
.curator-v44 .curator-card { grid-area: photo; background: linear-gradient(135deg, var(--red), #fb2b4f); }
.curator-v44 .curator-info {
  grid-area: info;
  padding: 40px;
  border-radius: 34px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.curator-v44 .curator-card .licence {
  left: 28px;
  right: auto;
  bottom: 28px;
  max-width: 310px;
}

/* camp cards */
.camp-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.camp-service-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(23,24,32,.09);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.camp-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(22,23,28,.12);
  border-color: rgba(227,6,44,.20);
}
.camp-service-photo {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: #ddd;
}
.camp-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.camp-service-card:hover .camp-service-photo img { transform: scale(1.045); }
.camp-service-body { padding: 30px; }
.camp-service-body h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 700;
}
.camp-service-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* split lead block */
.lead-split-section {
  padding: 90px 0;
  background: transparent;
}
.lead-split-panel {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, .76fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-soft);
}
.lead-split-info {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 10%, rgba(255,255,255,.20), transparent 32%),
    linear-gradient(135deg, var(--red), #ff284d 58%, #c70325);
}
.lead-split-info::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 960px auto;
  background-position: center;
  opacity: .12;
}
.lead-split-info > * { position: relative; z-index: 2; }
.lead-split-info .kicker { color: rgba(255,255,255,.78); }
.lead-split-info h2 {
  margin: 0;
  max-width: 600px;
  color: #fff;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 700;
}
.lead-split-info p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.58;
}
.lead-steps {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.lead-steps span {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}
.lead-steps b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}
.lead-steps em {
  color: rgba(255,255,255,.86);
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}
.lead-form-v44 {
  min-height: 560px;
  padding: 58px;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: #fff;
}
.lead-form-v44 .lead-form-head h3 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.contact-methods .method {
  min-height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(23,24,32,.10);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}
.contact-methods .method.is-active {
  color: var(--red);
  border-color: rgba(227,6,44,.26);
  background: rgba(227,6,44,.06);
}

/* footer CTA */
.footer-cta-v44 {
  position: relative;
  padding: 76px 0 44px;
  background: transparent;
}
.footer-cta-panel {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 56px;
  border-radius: 34px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 25% 0, rgba(255,255,255,.20), transparent 32%),
    linear-gradient(135deg, var(--red), #ff274b 56%, #bb0525);
  box-shadow: 0 22px 58px rgba(227,6,44,.20);
}
.footer-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/field-pattern.svg');
  background-size: 980px auto;
  opacity: .12;
}
.footer-cta-panel > * { position: relative; z-index: 2; }
.footer-cta-panel .kicker { color: rgba(255,255,255,.78); margin-bottom: 0; }
.footer-cta-panel h2 {
  margin: 0;
  max-width: 920px;
  font-family: Inter, Onest, Arial, sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 700;
}
.footer-cta-panel p {
  margin: 0;
  max-width: 650px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.5;
}
.footer-grid-rich {
  grid-template-columns: minmax(260px, .8fr) minmax(240px, .8fr) minmax(260px, .7fr) !important;
  align-items: start !important;
}
.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}
.footer-menu a {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.3;
}
.footer-menu a:hover { color: var(--red); }

@media (max-width: 1200px) {
  .hero-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
  .formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-split-panel { grid-template-columns: 1fr; }
  .lead-split-info, .lead-form-v44 { min-height: auto; }
  .curator-v44 { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "info"; }
}
@media (max-width: 980px) {
  #about .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .camp-cards-grid { grid-template-columns: 1fr; }
  .footer-grid-rich { grid-template-columns: 1fr !important; }
  .footer-menu { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  #about .advantages-grid { grid-template-columns: 1fr !important; }
  .formats-grid { grid-template-columns: 1fr; }
  .format-card { min-height: auto; }
  .lead-split-info, .lead-form-v44 { padding: 30px 22px; }
  .lead-split-info h2 { font-size: clamp(34px, 11vw, 48px); }
  .contact-methods { grid-template-columns: 1fr; }
  .footer-cta-panel { padding: 38px 22px; min-height: 240px; }
  .footer-cta-panel h2 { font-size: clamp(34px, 11vw, 48px); }
  .camp-service-photo { height: 235px; }
}
@media (max-width: 420px) {
  .hero-stats-row { grid-template-columns: 1fr; }
}

/* v45: fix split lead section readability — remove old dark overlay from legacy lead section */
.lead-split-section::before,
.lead-split-section::after {
  display: none !important;
  content: none !important;
}

.lead-split-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(227, 6, 44, .07), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(227, 6, 44, .06), transparent 28%),
    var(--soft-2) !important;
  color: var(--text) !important;
}

.lead-split-panel {
  position: relative;
  z-index: 2;
}

.lead-split-info {
  opacity: 1 !important;
  transform: none !important;
}

.lead-split-info .kicker,
.lead-split-info h2,
.lead-split-info p,
.lead-split-info .lead-steps em,
.lead-split-info .lead-steps b {
  opacity: 1 !important;
  visibility: visible !important;
}

.lead-split-info .kicker {
  color: rgba(255,255,255,.86) !important;
}

.lead-split-info h2 {
  color: #fff !important;
}

.lead-split-info p {
  color: rgba(255,255,255,.86) !important;
}

.lead-split-info .lead-steps em {
  color: rgba(255,255,255,.92) !important;
}

/* v46: real coach photos and expanded trainer roster */
.coach-card-v46 .coach-photo {
  height: 520px !important;
  background: linear-gradient(135deg, rgba(227,6,44,.08), rgba(23,24,32,.06)) !important;
}
.coach-card-v46 .coach-photo img {
  object-fit: cover !important;
  object-position: center top !important;
}
.coach-card-v46 .coach-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-height: 250px !important;
}
.coach-card-v46 .coach-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(227, 6, 44, .08);
  color: var(--red);
  border: 1px solid rgba(227, 6, 44, .18);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.coach-card-v46 .coach-info h3 {
  margin: 0 !important;
  font-size: 23px !important;
  line-height: 1.08 !important;
}
.coach-card-v46 .coach-info p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
.coach-card-v46 .small-btn {
  margin-top: auto;
}
@media (max-width: 1200px) {
  .coach-card-v46 .coach-photo {
    height: 470px !important;
  }
}
@media (max-width: 760px) {
  .coach-card-v46 .coach-photo {
    height: 460px !important;
  }
  .coach-card-v46 .coach-info {
    min-height: auto !important;
  }
}
@media (max-width: 420px) {
  .coach-card-v46 .coach-photo {
    height: 410px !important;
  }
}

/* v51: simple contacts admin output */
.footer-contact-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.footer-contact-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.footer-contact-list a:hover {
  color: var(--red);
}
.footer-address {
  color: var(--muted);
}


/* v52: header logo text like reference */
.logo-copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  color: var(--dark);
  font-size: 12px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-copy span:first-child {
  font-weight: 900;
}
.logo-copy span:last-child {
  font-size: 10px;
  letter-spacing: .12em;
}
.logo {
  width: 210px !important;
  min-width: 210px !important;
  gap: 12px !important;
}
.logo img.logo-mark {
  width: 78px !important;
  min-width: 78px !important;
  max-height: 54px !important;
}
@media (min-width: 981px) {
  .header {
    grid-template-columns: 218px minmax(0, 1fr) auto !important;
  }
  .nav {
    gap: clamp(8px, .72vw, 14px) !important;
    font-size: 12px !important;
  }
}
@media (max-width: 1180px) and (min-width: 981px) {
  .logo {
    width: 194px !important;
    min-width: 194px !important;
    gap: 10px !important;
  }
  .logo img.logo-mark {
    width: 68px !important;
    min-width: 68px !important;
  }
  .logo-copy {
    font-size: 11px;
  }
  .logo-copy span:last-child {
    font-size: 9px;
  }
  .header {
    grid-template-columns: 200px minmax(0, 1fr) auto !important;
  }
}
@media (max-width: 980px) {
  .logo {
    width: 205px !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  .logo img.logo-mark {
    width: 70px !important;
    min-width: 70px !important;
  }
  .logo-copy {
    font-size: 11px;
  }
  .logo-copy span:last-child {
    font-size: 9px;
  }
}
@media (max-width: 420px) {
  .logo {
    width: 178px !important;
    gap: 8px !important;
  }
  .logo img.logo-mark {
    width: 60px !important;
    min-width: 60px !important;
  }
  .logo-copy {
    font-size: 10px;
  }
  .logo-copy span:last-child {
    font-size: 8px;
  }
}

/* v53 visual Netlify editor */
html.visual-admin-active {
  scroll-padding-top: 110px;
}
body.visual-admin-active {
  padding-top: 96px !important;
}
.visual-admin-bar,
.visual-admin-panel,
.visual-admin-toast,
.visual-admin-bar *,
.visual-admin-panel * {
  box-sizing: border-box;
  font-family: Onest, Inter, Arial, sans-serif;
}
.visual-admin-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  top: 14px;
  z-index: 2147483000;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(23, 24, 32, .08);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 60px rgba(23, 24, 32, .16);
  backdrop-filter: blur(18px);
}
.visual-admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}
.visual-admin-brand img {
  width: 70px;
  height: auto;
}
.visual-admin-brand b,
.visual-admin-brand span {
  display: block;
  line-height: 1.1;
}
.visual-admin-brand b {
  font-size: 15px;
  font-weight: 900;
  color: #171820;
}
.visual-admin-brand span {
  margin-top: 3px;
  font-size: 12px;
  color: #6f7480;
}
.visual-admin-nav,
.visual-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.visual-admin-nav { flex: 1; }
.visual-admin-actions { flex-shrink: 0; }
.visual-admin-nav::-webkit-scrollbar,
.visual-admin-actions::-webkit-scrollbar { display: none; }
.visual-admin-nav a,
.visual-admin-actions a,
.visual-admin-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 17px;
  border: 1px solid rgba(23, 24, 32, .1);
  border-radius: 999px;
  background: #fff;
  color: #171820;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.visual-admin-nav a.active,
.visual-admin-actions .primary {
  border-color: #e3062c;
  background: #e3062c;
  color: #fff;
  box-shadow: 0 14px 28px rgba(227, 6, 44, .22);
}
.visual-editable {
  cursor: pointer !important;
}
.visual-edit-hover {
  outline: 2px dashed rgba(227, 6, 44, .55) !important;
  outline-offset: 4px !important;
}
.visual-edit-selected {
  outline: 3px solid #e3062c !important;
  outline-offset: 5px !important;
  box-shadow: 0 0 0 8px rgba(227, 6, 44, .12) !important;
}
[contenteditable="true"].visual-edit-selected {
  cursor: text !important;
  user-select: text !important;
}
.visual-admin-panel {
  position: fixed;
  z-index: 2147483001;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  max-height: calc(100dvh - 140px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(23, 24, 32, .1);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 26px 70px rgba(23, 24, 32, .2);
  backdrop-filter: blur(18px);
}
.visual-panel-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #e3062c;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.visual-panel-kicker {
  margin: 0 46px 8px 0;
  color: #e3062c;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}
.visual-admin-panel h2 {
  margin: 0 46px 18px 0;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 500;
}
.visual-admin-panel p {
  color: #6f7480;
  line-height: 1.45;
}
.visual-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.visual-field label {
  color: #171820;
  font-weight: 900;
  font-size: 14px;
}
.visual-field input,
.visual-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 24, 32, .12);
  border-radius: 16px;
  background: #fff;
  color: #171820;
  font: inherit;
  outline: none;
}
.visual-field textarea {
  min-height: 150px;
  resize: vertical;
}
.visual-field input:focus,
.visual-field textarea:focus {
  border-color: #e3062c;
  box-shadow: 0 0 0 4px rgba(227, 6, 44, .08);
}
.visual-hint {
  margin: 4px 0 0;
  font-size: 13px;
}
.visual-admin-toast {
  position: fixed;
  z-index: 2147483002;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: #171820;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(23, 24, 32, .24);
  transition: .22s ease;
}
.visual-admin-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.visual-admin-toast.danger {
  background: #e3062c;
}
@media (max-width: 980px) {
  body.visual-admin-active { padding-top: 150px !important; }
  .visual-admin-bar {
    flex-wrap: wrap;
    align-items: flex-start;
    border-radius: 24px;
  }
  .visual-admin-brand { min-width: 100%; }
  .visual-admin-nav { order: 3; width: 100%; flex: auto; }
  .visual-admin-actions { width: 100%; justify-content: flex-start; }
  .visual-admin-nav a,
  .visual-admin-actions a,
  .visual-admin-actions button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }
}
@media (max-width: 620px) {
  body.visual-admin-active { padding-top: 190px !important; }
  .visual-admin-bar { left: 10px; right: 10px; top: 10px; }
  .visual-admin-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    padding: 20px;
    border-radius: 24px;
  }
}


/* v56: requested page order, media page, new promo blocks and pages */
@media (min-width: 981px) {
  .header { grid-template-columns: 218px minmax(0, 1fr) auto !important; }
  .nav { justify-content: flex-start !important; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 12px !important; font-size: 11px !important; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; padding: 28px 0; }
  .header-actions .phone { font-size: 14px !important; }
  .header-actions .btn { padding: 0 18px !important; }
}
.home-feature-section { position: relative; overflow: hidden; }
.home-feature-panel {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(420px,1fr);
  gap: 34px;
  align-items: stretch;
}
.home-feature-section.is-reverse .home-feature-copy { order: 2; }
.home-feature-section.is-reverse .home-feature-media { order: 1; }
.home-feature-copy {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 34px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-soft);
}
.home-feature-copy .title { margin: 0 0 20px; }
.home-feature-copy .section-text { margin: 0 0 28px; max-width: 620px; }
.home-feature-copy .btn { width: fit-content; }
.home-feature-media {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.home-feature-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.cup-home-panel { position: relative; }
.cup-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.cup-title-row img { width: 76px; height: 76px; flex: 0 0 auto; filter: drop-shadow(0 18px 30px rgba(227,6,44,.28)); }
.cup-title-row .title { margin: 0; }
.cup-glow-media { box-shadow: 0 0 0 1px rgba(227,6,44,.12), 0 30px 90px rgba(227,6,44,.24) !important; }
.cup-glow-media::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.28), transparent 42%); pointer-events:none; }
.school-link-row { margin-top: 34px; }
.simple-page-hero {
  padding: clamp(120px, 13vw, 190px) 0 clamp(70px, 8vw, 120px);
  background: radial-gradient(circle at 15% 0, rgba(227,6,44,.08), transparent 34%), var(--soft-2);
}
.simple-page-hero .container { max-width: 1120px; }
.simple-page-hero h1 { max-width: 980px; margin: 0 0 22px; }
.simple-page-hero p:not(.eyebrow) { max-width: 760px; margin: 0 0 28px; color: var(--muted); font-size: var(--site-copy-size); line-height: var(--site-copy-line); }
.page-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.page-card-grid article { padding: 30px; border-radius: 26px; background: rgba(255,255,255,.92); border: 1px solid rgba(23,24,32,.08); box-shadow: var(--shadow-soft); }
.page-card-grid h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.1; }
.page-card-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.cup-page-title { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 26px; align-items: start; }
.cup-page-title > img { width: 104px; height: 104px; filter: drop-shadow(0 20px 34px rgba(227,6,44,.28)); }
.media-page-gallery { padding-top: 40px !important; }
@media (max-width: 980px) {
  .home-feature-panel { grid-template-columns: 1fr; }
  .home-feature-section.is-reverse .home-feature-copy, .home-feature-section.is-reverse .home-feature-media { order: initial; }
  .home-feature-copy, .home-feature-media, .home-feature-media img { min-height: 320px; }
  .page-card-grid { grid-template-columns: 1fr; }
  .cup-page-title { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .home-feature-copy { padding: 26px 20px; border-radius: 26px; }
  .home-feature-media { border-radius: 26px; }
  .cup-title-row { align-items: flex-start; gap: 12px; }
  .cup-title-row img { width: 58px; height: 58px; }
  .simple-page-hero { padding-top: 110px; }
}


/* v57: page backgrounds, leadership cards, fixed grids and content admin panel */
.simple-page-hero.page-hero-bg {
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  color: #fff;
}
.simple-page-hero.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(227,6,44,.28), transparent 34%);
  pointer-events: none;
}
.simple-page-hero.page-hero-bg .container { position: relative; z-index: 2; }
.simple-page-hero.page-hero-bg h1,
.simple-page-hero.page-hero-bg .eyebrow { color: #fff !important; }
.simple-page-hero.page-hero-bg p:not(.eyebrow) { color: rgba(255,255,255,.82) !important; }
.simple-page-hero.page-hero-bg .btn-ghost,
.btn-on-dark { color: #fff !important; border-color: rgba(255,255,255,.42) !important; background: rgba(255,255,255,.08) !important; }

#school-home .advantages-grid,
.school-page .advantages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
#school-home .advantage-card,
.school-page .advantage-card {
  min-height: 230px;
  width: 100%;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.leadership-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(23,24,32,.08);
  box-shadow: var(--shadow-card);
}
.leadership-photo {
  height: 360px;
  overflow: hidden;
  background: #f2f2f2;
}
.leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leadership-info { padding: 24px; }
.leadership-info h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.leadership-info p:not(.kicker) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }

.cup-page-hero { min-height: 620px; display: flex; align-items: center; }
.cup-page-hero .cup-page-title { display: block; max-width: 980px; }
.cup-hero-logo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cup-hero-logo-row img { width: 94px; height: 94px; filter: drop-shadow(0 20px 36px rgba(227,6,44,.36)); }
.cup-page-hero h1 { max-width: 900px !important; margin-bottom: 24px !important; }
.cup-page-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cup-page-hero .hero-cta .btn { width: auto; }

.visual-admin-actions .secondary { background: #171820 !important; color: #fff !important; border-color: #171820 !important; }
.visual-extra-panel {
  position: fixed;
  z-index: 2147483001;
  left: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 40px));
  max-height: calc(100dvh - 140px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(23,24,32,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 26px 70px rgba(23,24,32,.2);
  backdrop-filter: blur(18px);
  display: none;
  box-sizing: border-box;
  font-family: Onest, Inter, Arial, sans-serif;
}
.visual-extra-panel.open { display: block; }
.visual-extra-panel * { box-sizing: border-box; font-family: Onest, Inter, Arial, sans-serif; }
.visual-extra-panel h2 { margin: 0 46px 16px 0; font-size: 32px; line-height: .95; letter-spacing: -.04em; font-weight: 500; }
.visual-extra-close { position:absolute; right:16px; top:14px; width:36px; height:36px; border:0; border-radius:50%; background:#e3062c; color:#fff; font-size:24px; cursor:pointer; }
.visual-extra-tabs { display:flex; gap:8px; overflow:auto; margin: 0 0 16px; }
.visual-extra-tabs button { min-height:38px; padding:0 13px; border:1px solid rgba(23,24,32,.1); border-radius:999px; background:#fff; font-weight:900; cursor:pointer; white-space:nowrap; }
.visual-extra-tabs button.active { background:#e3062c; color:#fff; border-color:#e3062c; }
.visual-extra-section { display:none; }
.visual-extra-section.active { display:block; }
.visual-extra-panel .visual-field { margin-bottom:12px; }
.visual-extra-panel .visual-mini-list { display:grid; gap:8px; margin-top:14px; }
.visual-extra-panel .visual-mini-item { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; border-radius:14px; background:#f7f6f1; color:#171820; font-weight:800; }
.visual-extra-panel .visual-mini-item button { border:0; border-radius:999px; background:#e3062c; color:#fff; font-weight:900; padding:7px 10px; cursor:pointer; }
.media-dynamic-card img,
.dynamic-news-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1100px) {
  .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #school-home .advantages-grid,
  .school-page .advantages-grid,
  .leadership-grid { grid-template-columns: 1fr !important; }
  .leadership-photo { height: 320px; }
  .cup-page-hero { min-height: auto; }
  .visual-extra-panel { left: 10px; right: 10px; bottom: 10px; width: auto; }
}

/* v58: leadership page cards use the same tall photo height as main coach cards */
.leadership-page .leadership-photo {
  height: 520px !important;
}
.leadership-page .leadership-photo img {
  object-fit: cover !important;
  object-position: center top !important;
}
.visual-admin-actions a.secondary {
  background: #171820 !important;
  color: #fff !important;
  border-color: #171820 !important;
}
.media-dynamic-card.is-video {
  min-height: 280px;
  background: #171820;
}
.media-dynamic-card.is-video iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
@media (max-width: 1200px) {
  .leadership-page .leadership-photo { height: 470px !important; }
}
@media (max-width: 760px) {
  .leadership-page .leadership-photo { height: 460px !important; }
}
@media (max-width: 420px) {
  .leadership-page .leadership-photo { height: 410px !important; }
}


/* v59: five format cards and sticky contact widget */
.formats-grid.formats-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.formats-grid-five .format-card {
  min-height: 350px;
  padding: 26px;
}
.formats-grid-five .format-card h3 {
  font-size: clamp(25px, 2vw, 34px);
  letter-spacing: -.05em;
}
.contact-float-widget {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 75;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 15px 18px 14px;
  border-radius: 22px;
  background: rgba(23,24,32,.92);
  color: #fff;
  box-shadow: 0 20px 46px rgba(23,24,32,.22);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-float-widget:hover {
  transform: translateY(-3px);
  background: var(--red);
  box-shadow: 0 24px 54px rgba(227,6,44,.25);
}
.contact-float-widget span {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
}
.contact-float-widget small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}
.contact-float-widget:hover small { color: rgba(255,255,255,.86); }
@media (max-width: 1320px) {
  .formats-grid.formats-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .formats-grid.formats-grid-five { grid-template-columns: 1fr; }
  .formats-grid-five .format-card { min-height: auto; }
  .contact-float-widget {
    right: 16px;
    bottom: 84px;
    min-width: 128px;
    padding: 13px 15px;
    border-radius: 18px;
  }
  .contact-float-widget span { font-size: 14px; }
  .contact-float-widget small { font-size: 11px; }
}


/* v60: homepage order cleanup, compact advantages, cup logo */
#school-home {
  padding-top: clamp(46px, 5vw, 76px);
  padding-bottom: clamp(50px, 5.5vw, 84px);
}
#school-home .section-head {
  margin-bottom: 26px;
}
#school-home .advantages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
}
#school-home .advantage-card {
  min-height: 168px !important;
  padding: 22px 24px !important;
  border-radius: 24px;
}
#school-home .advantage-card .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 18px;
}
#school-home .advantage-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
#school-home .advantage-card p {
  font-size: 14.5px;
  line-height: 1.42;
}
.cup-page-hero {
  min-height: 620px;
}
.cup-page-hero .cup-page-title {
  max-width: 850px;
}
.cup-tournament-brand {
  width: min(300px, 58vw);
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 55px rgba(0,0,0,.16), 0 0 0 1px rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cup-tournament-brand img {
  width: 100%;
  height: auto;
  max-height: 116px;
  object-fit: contain;
  display: block;
}
@media (max-width: 980px) {
  #school-home .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #school-home .advantage-card { min-height: 150px !important; }
}
@media (max-width: 620px) {
  #school-home .advantages-grid { grid-template-columns: 1fr !important; }
  #school-home .advantage-card { min-height: auto !important; padding: 20px !important; }
  .cup-tournament-brand { width: min(240px, 72vw); border-radius: 18px; }
  .cup-tournament-brand img { max-height: 86px; }
}


/* v61: fix Кубок Детства hero tournament logo */
.cup-page-hero .cup-tournament-brand {
  width: clamp(180px, 22vw, 280px) !important;
  margin: 0 0 18px 0 !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.16), 0 0 0 1px rgba(255,255,255,.24) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cup-page-hero .cup-tournament-brand img {
  width: 100% !important;
  height: auto !important;
  max-height: 112px !important;
  object-fit: contain !important;
  display: block !important;
}
.cup-page-hero .cup-page-title {
  text-align: left !important;
}
@media (max-width: 620px) {
  .cup-page-hero .cup-tournament-brand { width: 190px !important; padding: 9px 10px !important; }
  .cup-page-hero .cup-tournament-brand img { max-height: 82px !important; }
}


/* v62: Кубок Детства — аккуратный логотип и компактный блок заявки */
.cup-page-hero .cup-tournament-brand {
  width: clamp(180px, 18vw, 255px) !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
}
.cup-page-hero .cup-tournament-brand img {
  width: 100% !important;
  height: auto !important;
  max-height: 92px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.28));
}
.cup-page-hero h1 {
  margin-top: 0 !important;
}
.cup-join-section {
  padding-top: clamp(46px, 5vw, 76px) !important;
  padding-bottom: clamp(46px, 5vw, 76px) !important;
}
.cup-join-section .home-feature-panel {
  min-height: 0 !important;
  align-items: stretch !important;
}
.cup-join-section .home-feature-copy {
  min-height: 0 !important;
  padding-top: clamp(34px, 4vw, 58px) !important;
  padding-bottom: clamp(34px, 4vw, 58px) !important;
}
.cup-join-section .home-feature-media,
.cup-join-section .home-feature-media img {
  min-height: 0 !important;
  height: clamp(360px, 40vw, 520px) !important;
}
@media (max-width: 760px) {
  .cup-page-hero .cup-tournament-brand {
    width: min(210px, 68vw) !important;
  }
  .cup-page-hero .cup-tournament-brand img {
    max-height: 80px !important;
  }
  .cup-join-section .home-feature-media,
  .cup-join-section .home-feature-media img {
    height: 280px !important;
  }
}

/* v63: tournament logo only in top menu */
.topline-nav a.cup-menu-link,
.mobile-menu a.cup-menu-link,
.footer-menu a.cup-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red, #ef0037) !important;
  font-weight: 900 !important;
}
.topline-nav a.cup-menu-link img,
.mobile-menu a.cup-menu-link img,
.footer-menu a.cup-menu-link img {
  width: 28px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
  display: inline-block;
}
.topline-nav a.cup-menu-link.active,
.mobile-menu a.cup-menu-link.active {
  color: var(--red, #ef0037) !important;
}
.cup-page-hero .cup-tournament-brand { display: none !important; }
@media (max-width: 1180px) {
  .topline-nav a.cup-menu-link img,
  .mobile-menu a.cup-menu-link img { width: 24px; height: 16px; }
}
.nav a.cup-menu-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--red, #ef0037) !important;
  font-weight: 900 !important;
}
.nav a.cup-menu-link img {
  width: 28px !important;
  height: 18px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
}
.nav a.cup-menu-link span { color: inherit !important; font-weight: inherit !important; }
@media (max-width: 1180px) {
  .nav a.cup-menu-link img { width: 24px !important; height: 16px !important; }
}

/* v64: make all two-column promo blocks compact like the Кубок Детства request block */
.home-feature-section,
section:has(> .container.home-feature-panel) {
  padding-top: clamp(46px, 5vw, 76px) !important;
  padding-bottom: clamp(46px, 5vw, 76px) !important;
}
.home-feature-panel {
  min-height: 0 !important;
  align-items: stretch !important;
}
.home-feature-copy {
  min-height: 0 !important;
  padding-top: clamp(34px, 4vw, 58px) !important;
  padding-bottom: clamp(34px, 4vw, 58px) !important;
}
.home-feature-media,
.home-feature-media img {
  min-height: 0 !important;
  height: clamp(360px, 40vw, 520px) !important;
}
@media (max-width: 760px) {
  .home-feature-section,
  section:has(> .container.home-feature-panel) {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }
  .home-feature-copy {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
  .home-feature-media,
  .home-feature-media img {
    height: 280px !important;
  }
}

/* v65: text style controls in visual admin */
.visual-style-title {
  margin: 20px 0 12px;
  color: #171820;
  font-size: 15px;
  font-weight: 900;
}
.visual-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.visual-style-grid .visual-field {
  margin-bottom: 12px;
}
.visual-style-color-row input[type="color"] {
  min-height: 48px;
  padding: 6px;
  cursor: pointer;
}
.visual-style-reset {
  min-height: 42px;
  width: 100%;
  margin: 0 0 14px;
  border: 1px solid rgba(227, 6, 44, .22);
  border-radius: 999px;
  background: rgba(227, 6, 44, .06);
  color: #e3062c;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 520px) {
  .visual-style-grid { grid-template-columns: 1fr; }
}

/* v66: font weight and selected-word formatting controls */
.visual-inline-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}
.visual-inline-actions button {
  min-height: 42px;
  border: 1px solid rgba(23, 24, 32, .12);
  border-radius: 999px;
  background: #fff;
  color: #171820;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.visual-inline-actions button:first-child {
  background: #171820;
  color: #fff;
}
.visual-field select[data-style-weight] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(23, 24, 32, .12);
  border-radius: 16px;
  background: #fff;
  color: #171820;
  font: inherit;
  font-weight: 700;
}

/* visual admin patch v68 */
.visual-add-inline{
  width:100%;
  border:0;
  border-radius:18px;
  padding:14px 16px;
  margin:8px 0 0;
  background:#ea0029;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.visual-add-inline:hover{filter:brightness(.96)}


/* v69: keep homepage hero background clean and make visual-admin text style overrides win */
.hero {
  background: linear-gradient(180deg, rgba(250,249,246,.82), rgba(250,249,246,.98)), url('../img/field-pattern.svg') center top / 1440px auto repeat-y !important;
  background-image: linear-gradient(180deg, rgba(250,249,246,.82), rgba(250,249,246,.98)), url('../img/field-pattern.svg') !important;
}
.visual-admin-active .visual-editable[style*="font-size"],
.visual-admin-active .visual-editable[style*="font-weight"],
.visual-admin-active .visual-editable[style*="color"] {
  transition: outline-color .15s ease;
}

/* v70: admin additions — albums, groups, cleaner leadership cards */
.leadership-card .leadership-info .kicker {
  display: none !important;
}
.media-album {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 34px;
}
.media-album-head {
  margin: 0 0 16px;
}
.media-album-head h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 500;
  color: var(--text);
}
.media-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.media-album-grid .media-dynamic-card {
  min-height: 280px;
  height: 280px;
}
.media-album-grid .media-dynamic-card img,
.media-album-grid .media-dynamic-card iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 0;
  display: block;
}
.program-card[data-added-group] .program-actions {
  gap: 8px;
}
.program-card[data-added-group] .program-actions .card-link {
  width: auto;
}
.visual-admin-panel .visual-field input[type="number"],
.visual-admin-panel .visual-field input[type="color"],
.visual-admin-panel .visual-field select {
  pointer-events: auto !important;
}
@media (max-width: 980px) {
  .media-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .media-album-grid { grid-template-columns: 1fr; }
  .media-album-grid .media-dynamic-card { height: 240px; min-height: 240px; }
  .media-album-grid .media-dynamic-card img,
  .media-album-grid .media-dynamic-card iframe { min-height: 240px; }
}

/* v74: editable icons inside birthday red package circles */
.birthday-package-icon {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.birthday-package-icon > span {
  position: relative;
  z-index: 1;
  transition: opacity .18s ease;
}
.birthday-package-icon-img {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.birthday-package-icon-img[src$="package-icon-placeholder.svg"] {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none;
  opacity: .01;
}
.birthday-package-icon:has(.birthday-package-icon-img:not([src$="package-icon-placeholder.svg"])) > span {
  opacity: 0;
}


/* v75: birthday first screen uses only background image, no side photo */
.birthday-hero-grid {
  grid-template-columns: 1fr !important;
}
.birthday-hero-copy {
  max-width: 860px;
}
.birthday-hero-media {
  display: none !important;
}
