/*
 * Light editorial direction.
 *
 * The original stylesheet remains the structural base for all pages.
 * This layer intentionally changes only the visual language and the gallery,
 * so the redesign stays easy to review and roll back.
 */

:root {
  --milk: #ffffff;
  --paper: #ffffff;
  --sand: #f3f3ef;
  --sand-dark: #e4e3dc;
  --clay: #1b1b1a;
  --clay-dark: #1b1b1a;
  --olive: #1b1b1a;
  --olive-light: #6d6c66;
  --graphite: #181817;
  --muted: #6e6d67;
  --line: rgba(24, 24, 23, 0.16);
  --line-light: rgba(24, 24, 23, 0.16);
  --display:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --body:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --shell: 84rem;
  --header-height: 9rem;
  --photo-grade: saturate(0.9) contrast(1.02) brightness(1.01);
}

/* Финальная арт-дирекция по комментариям дизайнера. */
.editorial-line {
  display: block;
}

.editorial-line--nowrap {
  white-space: nowrap;
}

.fact-line {
  display: block;
}

.fact-line + .fact-line {
  margin-top: 0.3rem;
}

.page--directions .page-hero__copy > p:not(.eyebrow),
.page--directions .section-heading p {
  max-width: 42rem;
}

.direction-card--image .direction-card__content,
.direction-card--event .direction-card__content,
.home-next__card--image > div,
.path-card__body {
  padding-bottom: clamp(2.25rem, 4vw, 4.5rem);
}

.home-gallery__grid figure:nth-child(2) img {
  object-position: 50% 62%;
}

.home-gallery__grid figure:nth-child(3) img {
  object-position: 50% 38%;
}

.page--schedule .page-hero__media img {
  object-position: 50% 48%;
}

.page--contacts .page-hero__copy,
.page--contacts .page-hero__copy h1 {
  text-align: left;
}

body {
  background: #ffffff;
}

body::before {
  display: none;
}

::selection {
  background: #181817;
  color: #ffffff;
}

h1,
h2,
h3,
.path-card__body strong,
.home-contact address,
.schedule-card__date strong {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.editorial-line {
  display: block;
}

@media (min-width: 54.01rem) {
  .hero h1 .editorial-line,
  .path-card__body strong .editorial-line,
  .home-next__card h3 .editorial-line {
    white-space: nowrap;
  }
}

.section {
  padding-block: clamp(6.5rem, 10vw, 10rem);
}

.eyebrow,
.section-index {
  color: var(--graphite);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.section-index,
.path-card__index,
.direction-card > span,
.direction-card__content > span,
.event-format > span,
.outing-card > span {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.13em;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: #ffffff;
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 1.35rem 2rem;
  min-height: var(--header-height);
  padding-block: 1.45rem 1.25rem;
}

.brand {
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: center;
  gap: 0.7rem;
  font-weight: 500;
}

.brand__logo {
  display: block;
  width: clamp(9.5rem, 14vw, 12rem);
  height: auto;
}

.brand__mark {
  width: 1.85rem;
  height: 1.85rem;
  background: var(--graphite);
}

.brand__mark span {
  width: 1.35rem;
  height: 0.45rem;
  border-color: #ffffff;
  border-right-color: transparent;
  border-left-color: transparent;
}

.brand__name {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.nav {
  grid-row: 2;
  grid-column: 1 / -1;
  gap: clamp(1.15rem, 2.5vw, 2.5rem);
}

.nav a {
  color: #454542;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nav a[aria-current="page"] {
  color: var(--graphite);
}

.header-cta {
  position: absolute;
  right: 0;
  bottom: 0.9rem;
  min-height: 2.35rem;
  padding: 0.65rem 0.9rem;
  border-color: var(--graphite);
  background: #ffffff;
  color: var(--graphite);
}

.header-cta:hover {
  background: var(--graphite);
  color: #ffffff;
}

.button {
  min-height: 3.45rem;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.button--compact {
  min-height: 2.5rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.65rem;
}

.button--dark,
.button--accent {
  background: var(--graphite);
  color: #ffffff;
}

.button--dark:hover,
.button--accent:hover {
  background: #3b3b38;
}

.button--line,
.button--contact {
  border-color: var(--graphite);
  background: transparent;
  color: var(--graphite);
}

.button--line:hover,
.button--contact:hover {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #ffffff;
}

.button--light {
  border: 1px solid var(--graphite);
  background: #ffffff;
  color: var(--graphite);
}

.button--light:hover {
  background: var(--graphite);
  color: #ffffff;
}

.contact-choice {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 18, 17, 0.66);
  color: var(--graphite);
  backdrop-filter: blur(5px);
}

body.contact-choice-open {
  overflow: hidden;
}

.contact-choice__inner {
  position: relative;
  width: min(40rem, 100%);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: #ffffff;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.3);
}

.contact-choice__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-choice h2 {
  max-width: 10ch;
  margin: 1.5rem 0;
  font-size: clamp(2.7rem, 8vw, 5rem);
  line-height: 0.94;
}

.contact-choice__description {
  max-width: 35rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.contact-choice__lead-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-choice__lead-code[hidden] {
  display: none;
}

.contact-choice__lead-code span,
.contact-choice__lead-code button {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-choice__lead-code strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.contact-choice__lead-code button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.contact-choice__lead-note {
  max-width: 38rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-choice__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--graphite);
  background: var(--graphite);
}

.contact-choice__option {
  position: relative;
  display: grid;
  min-height: 11.5rem;
  padding: 1.4rem;
  background: #ffffff;
  color: var(--graphite);
  transition: background 160ms ease, color 160ms ease;
}

.contact-choice__option--primary,
.contact-choice__option:hover {
  background: var(--graphite);
  color: #ffffff;
}

.contact-choice__option--primary:hover {
  background: #3b3b38;
}

.contact-choice__option span {
  align-self: start;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-choice__option strong {
  align-self: end;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.text-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(6rem, 10vw, 9rem);
}

.hero__inner {
  grid-template-columns: minmax(0, 1.02fr) minmax(25rem, 0.78fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.hero__copy {
  padding-block: 0;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.55rem, 5.2vw, 5.85rem);
  line-height: 0.98;
}

.hero__lead {
  max-width: 35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

.hero__media::before {
  display: none;
}

.hero__media img {
  height: clamp(38rem, 58vw, 52rem);
  filter: var(--photo-grade);
}

.hero__media figcaption {
  color: var(--muted);
  font-weight: 500;
}

.hero__about {
  margin-top: clamp(5rem, 8vw, 7rem);
}

.hero__about-copy {
  max-width: 38rem;
  font-family: var(--body);
  font-size: clamp(1.55rem, 2.35vw, 2.3rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.section-heading {
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.section-heading h2 {
  max-width: 15ch;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  line-height: 0.98;
}

.section-heading > div > p {
  max-width: 37rem;
}

.home-paths,
.home-gallery,
.home-next,
.gallery,
.schedule,
.directions,
.direction-group,
.direction-group--paper,
.direction-group--sand,
.event-formats,
.event-story,
.event-mood,
.contact-guide,
.contact-photo {
  background: #ffffff;
}

.home-paths__grid,
.directions-grid,
.event-formats__grid,
.contact-guide__grid {
  border-color: var(--line);
}

.path-card,
.direction-card,
.event-format,
.contact-guide__card {
  border-color: var(--line);
  background: #ffffff;
}

.page--directions a.direction-card {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.page--directions a.direction-card--image {
  color: var(--paper);
}

.page--directions a.direction-card:focus-visible {
  z-index: 3;
  outline: 3px solid currentcolor;
  outline-offset: -3px;
}

.page--directions a.direction-card--image:focus-visible {
  outline-color: #648da8;
}

.direction-picker {
  width: min(100%, 24rem);
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
}

.direction-picker summary {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.direction-picker summary::-webkit-details-marker {
  display: none;
}

.direction-picker summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.direction-picker[open] summary::after {
  content: "−";
}

.direction-picker__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem;
  padding: 0.4rem;
  border-top: 1px solid var(--line);
}

.direction-picker__links a {
  display: flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.direction-picker__links a:hover {
  background: var(--sand);
}

.direction-picker summary:focus-visible,
.direction-picker__links a:focus-visible {
  z-index: 1;
  outline: 3px solid #648da8;
  outline-offset: -3px;
}

.page--directions a.direction-card[id] {
  scroll-margin-top: 2rem;
}

.page--directions a.direction-card:target {
  z-index: 2;
  outline: 4px solid #648da8;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 7px var(--paper);
  transform: none;
}

.page--directions .direction-card > .direction-card__link-label,
.page--directions .direction-card__content > .direction-card__link-label {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentcolor;
  color: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  opacity: 1;
  text-transform: none;
}

.path-card {
  min-height: 26rem;
}

.path-card--paper,
.path-card--sand,
.direction-card--sand,
.contact-guide__card--sand {
  background: #f5f5f2;
}

.path-card__body strong {
  max-width: 15ch;
  font-size: clamp(2.25rem, 3.7vw, 3.9rem);
  line-height: 1;
}

.path-card > img,
.direction-card--image > img,
.direction-card--event > img,
.home-next__card--image img,
.home-gallery__grid img,
.gallery-card img,
.page-hero__media img,
.event-story__image img,
.event-mood__grid img,
.contact-photo img {
  filter: var(--photo-grade);
}

.home-gallery__grid {
  gap: clamp(1.5rem, 3.3vw, 3.5rem);
}

.home-gallery__grid figure:nth-child(2) {
  margin-top: 5rem;
}

.home-gallery__grid figure:nth-child(3) {
  margin-top: 0;
}

@media (min-width: 54.01rem) {
  .home-gallery__grid figure:nth-child(3) {
    grid-column: 4 / span 5;
  }
}

.home-gallery__grid figure:nth-child(1) img {
  object-position: center 42%;
}

.home-gallery__grid figure:nth-child(2) img {
  object-position: center 24%;
}

.home-gallery__grid figure:nth-child(3) img {
  aspect-ratio: 0.78;
  object-position: center 48%;
}

.home-gallery__grid figcaption,
.photo-card figcaption {
  color: var(--graphite);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-next__grid {
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #ffffff;
}

.home-next__card {
  min-height: 31rem;
  padding: clamp(2.5rem, 4.5vw, 4.5rem);
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.home-next__card:last-child {
  border-right: 0;
}

.home-next__card h3 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1;
}

.home-next__card--image > div {
  display: flex;
  width: 100%;
  min-height: 100%;
  padding-bottom: 0;
  flex: 1;
  flex-direction: column;
}

.home-next__card--image h3 {
  margin: auto 0 2rem;
}

.home-next__card--image > div > span {
  display: block;
  transform: translateY(-0.65rem);
}

.home-contact,
.page-cta,
.schedule-cta {
  background: #f2f2ee;
  color: var(--graphite);
}

.home-contact .eyebrow,
.page-cta .eyebrow {
  color: var(--graphite);
}

.home-contact h2,
.page-cta h2 {
  line-height: 0.98;
}

.home-contact address,
.page-cta__inner > p,
.schedule-cta p span {
  color: var(--muted);
}

.page-hero,
.page-hero--sand,
.page-hero--event {
  background: #ffffff;
}

.page-hero {
  padding-block: clamp(5rem, 8vw, 8rem);
}

.page-hero__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 0.82fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.page-hero__copy h1 {
  max-width: 12ch;
  font-size: clamp(3.7rem, 6.4vw, 6.8rem);
  line-height: 0.96;
}

.page-hero__media img {
  filter: var(--photo-grade);
}

.page--events .page-hero__copy h1 {
  max-width: 14ch;
}

@media (min-width: 38.01rem) {
  .page--events .page-hero__copy h1 .editorial-line {
    white-space: nowrap;
  }
}

.page--gallery .page-hero {
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.page--gallery .page-hero__inner {
  grid-template-columns: 1fr;
}

.page--gallery .page-hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.55fr);
  gap: 2rem clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.page--gallery .page-hero__copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.page--gallery .page-hero__copy h1 {
  grid-column: 1;
  max-width: 10ch;
}

.page--gallery .page-hero__copy > p:not(.eyebrow),
.page--gallery .page-hero__copy .text-link {
  grid-column: 2;
}

.page--gallery .page-hero__copy > p:not(.eyebrow) {
  margin: 0 0 1.8rem;
}

.page--gallery .page-hero__copy .text-link {
  grid-row: 3;
  width: max-content;
}

.gallery-page {
  padding-top: clamp(5rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.photo-wall {
  gap: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 3vw, 3rem);
}

.photo-card {
  margin: 0;
}

.photo-card:nth-child(1) {
  grid-column: 1 / -1;
}

.photo-card:nth-child(2) {
  grid-column: 1 / span 4;
}

.photo-card:nth-child(3) {
  grid-column: 6 / -1;
  margin-top: 8rem;
}

.photo-card:nth-child(4) {
  grid-column: 1 / span 3;
  margin-top: 0;
}

.photo-card:nth-child(5) {
  grid-column: 5 / -1;
  margin-top: 5rem;
}

.photo-card:nth-child(6) {
  grid-column: 1 / span 5;
}

.photo-card:nth-child(7) {
  grid-column: 8 / -1;
  align-self: end;
  margin-top: 7rem;
}

.photo-card__link {
  display: block;
  overflow: hidden;
  background: #eeeeea;
  cursor: zoom-in;
}

.photo-card img,
.photo-card--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade);
}

.photo-card:nth-child(1) .photo-card__link {
  aspect-ratio: 1.5;
}

.photo-card:nth-child(2) .photo-card__link {
  aspect-ratio: 0.72;
}

.photo-card:nth-child(3) .photo-card__link {
  aspect-ratio: 0.96;
}

.photo-card:nth-child(3) img {
  object-position: center 35%;
}

.photo-card:nth-child(4) .photo-card__link {
  aspect-ratio: 1;
}

.photo-card:nth-child(4) img {
  transform: scale(1.16);
  object-position: center 18%;
}

.photo-card:nth-child(5) .photo-card__link {
  aspect-ratio: 1.55;
}

.photo-card:nth-child(6) .photo-card__link,
.photo-card:nth-child(7) .photo-card__link {
  aspect-ratio: 0.72;
}

.photo-card__link:hover img {
  transform: scale(1.012);
}

.photo-card:nth-child(4) .photo-card__link:hover img {
  transform: scale(1.18);
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 0;
  background: rgba(255, 255, 255, 0.98);
  color: var(--graphite);
}

.lightbox:not([open]) {
  display: none;
}

.lightbox::backdrop {
  background: rgba(255, 255, 255, 0.96);
}

.lightbox__figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1rem clamp(3rem, 8vw, 7rem);
  pointer-events: none;
  place-items: center;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox__figure img,
.lightbox__figure figcaption {
  pointer-events: auto;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
}

.lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  width: min(100%, 72rem);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__arrow {
  position: fixed;
  z-index: 2;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  place-items: center;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  background: var(--graphite);
  color: #ffffff;
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.3rem;
}

.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__arrow--prev {
  left: 1.25rem;
}

.lightbox__arrow--next {
  right: 1.25rem;
}

.schedule-page,
.schedule {
  background: #ffffff;
}

.demo-note {
  border-color: var(--line);
  background: #f5f5f2;
  color: var(--graphite);
}

.schedule-list {
  border-color: var(--graphite);
}

.schedule-filters button {
  border-radius: 0;
}

.schedule-card {
  border-color: var(--line);
}

.schedule-card__title > p,
.process-list li > span {
  color: var(--graphite);
}

.schedule-card__meta div {
  border-color: var(--line);
}

.direction-card,
.event-format {
  min-height: 26rem;
}

.direction-card--olive,
.event-format--clay,
.event-format--olive {
  background: #f2f2ee;
  color: var(--graphite);
}

.direction-card--olive > span,
.direction-card--olive p,
.event-format--clay p,
.event-format--olive p {
  color: var(--muted);
}

.direction-card h3,
.direction-card__content h3,
.event-format h3 {
  font-size: clamp(2.35rem, 3.7vw, 3.75rem);
  line-height: 1;
}

.event-mood {
  background: #f5f5f2;
}

.contacts {
  background: #ffffff;
  color: var(--graphite);
}

.contacts .eyebrow,
.contacts address,
.contacts__email {
  color: var(--graphite);
}

.contacts__email {
  border-color: var(--graphite);
}

.contact-guide__card {
  min-height: 22rem;
}

.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.footer__inner--site {
  grid-template-columns: 1fr;
}

.footer__inner--site > p {
  text-align: right;
}

.footer .brand {
  grid-row: auto;
  grid-column: auto;
  justify-self: start;
}

.footer .brand__logo {
  width: 7.25rem;
}

.brand--footer {
  color: var(--graphite);
}

.brand--footer .brand__mark {
  border: 0;
  background: var(--graphite);
}

.footer__nav a {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__nav a:hover,
.footer__nav a[aria-current="page"] {
  color: var(--graphite);
}

@media (max-width: 73rem) {
  :root {
    --header-height: 5rem;
  }

  .page--directions a.direction-card[id] {
    scroll-margin-top: calc(var(--header-height) + 2rem);
  }

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    grid-template-columns: auto auto 1fr auto;
    grid-template-rows: 1fr;
    gap: 1.25rem;
    min-height: var(--header-height);
    padding-block: 0;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }

  .brand__mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__logo {
    width: 7.75rem;
  }

  .js .menu-toggle {
    grid-row: 1;
    grid-column: 2;
  }

  .header-cta {
    position: static;
    grid-row: 1;
    grid-column: 4;
  }

  .js .nav {
    grid-row: auto;
    grid-column: auto;
    background: #ffffff;
  }

  .js .nav a[aria-current="page"] {
    color: var(--graphite);
  }

  html:not(.js) .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding-block: 0.75rem;
  }

  html:not(.js) .nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  html:not(.js) .header-cta {
    grid-row: 1;
    grid-column: 3;
  }
}

@media (max-width: 54rem) {
  .hero__inner,
  .page-hero__inner,
  .page--gallery .page-hero__copy {
    grid-template-columns: 1fr;
  }

  .hero__media {
    width: 88%;
  }

  .page--gallery .page-hero__copy .eyebrow,
  .page--gallery .page-hero__copy h1,
  .page--gallery .page-hero__copy > p:not(.eyebrow),
  .page--gallery .page-hero__copy .text-link {
    grid-row: auto;
    grid-column: 1;
  }

  .page--gallery .page-hero__copy > p:not(.eyebrow) {
    max-width: 38rem;
    margin: 0.5rem 0 1rem;
  }

  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 1rem;
  }

  .photo-card:nth-child(1),
  .photo-card:nth-child(3),
  .photo-card:nth-child(5),
  .photo-card:nth-child(6) {
    grid-column: 1 / -1;
  }

  .photo-card:nth-child(2),
  .photo-card:nth-child(4),
  .photo-card:nth-child(7) {
    grid-column: auto;
  }

  .photo-card:nth-child(3),
  .photo-card:nth-child(5),
  .photo-card:nth-child(7) {
    margin-top: 0;
  }

  .lightbox__figure {
    padding-inline: 3.5rem;
  }

  .lightbox__arrow--prev {
    left: 0.75rem;
  }

  .lightbox__arrow--next {
    right: 0.75rem;
  }
}

@media (max-width: 38rem) {
  main .editorial-line {
    display: inline;
  }

  main .editorial-line--nowrap {
    white-space: normal;
  }

  main .editorial-line + .editorial-line::before {
    content: " ";
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .js .menu-toggle {
    grid-column: 3;
  }

  .brand__logo {
    width: 7rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .contact-choice__options {
    grid-template-columns: 1fr;
  }

  .contact-choice__option {
    min-height: 8.5rem;
  }

  .hero__media {
    width: 100%;
  }

  .page-hero__copy h1,
  .section-heading h2 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .home-paths__grid,
  .photo-wall {
    grid-template-columns: 1fr;
  }

  .home-next__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-next__card {
    min-width: 0;
    min-height: 27rem;
    padding: 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-next__card h3 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .home-next__card:last-child {
    border-bottom: 0;
  }

  .photo-card:nth-child(n) {
    grid-column: 1;
    margin-top: 0;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox__figure {
    padding: 3.5rem 0 4.5rem;
  }

  .lightbox__figure img {
    max-height: calc(100vh - 10rem);
  }

  .lightbox__figure figcaption {
    padding-inline: 0.5rem;
  }

  .lightbox__arrow {
    top: auto;
    bottom: 0.75rem;
    transform: none;
  }

  .lightbox__arrow--prev {
    left: calc(50% - 3.25rem);
  }

  .lightbox__arrow--next {
    right: calc(50% - 3.25rem);
  }

  .footer__inner--site {
    grid-template-columns: 1fr;
  }

  .footer__inner--site > p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-card img {
    transform: none !important;
  }
}

/* Version 9: reviews, off-site events, camp and the live 2GIS map. */
.home-reviews {
  background: #f3f3ef;
}

.home-reviews .section-heading {
  align-items: end;
}

.home-reviews__all {
  grid-column: 1;
  justify-self: start;
  white-space: nowrap;
}

.home-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.review-card {
  display: flex;
  min-height: 22rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.review-card--sand {
  background: #e9e2d6;
}

.review-card--olive {
  background: var(--graphite);
  color: #ffffff;
}

.review-card > p {
  margin: 0;
  font-size: clamp(1.5rem, 2.45vw, 2.4rem);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-card__avatar {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border: 1px solid currentcolor;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(0.97);
}

.review-card__byline {
  display: grid;
  gap: 0.2rem;
}

.review-card__byline small {
  font: inherit;
  opacity: 0.58;
}

.event-outings {
  background: #ffffff;
}

.outing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.outing-card {
  display: flex;
  min-height: 30rem;
  padding: clamp(2rem, 3.3vw, 3rem);
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.outing-card--sand {
  background: #f3f3ef;
}

.outing-card--clay {
  background: #e9e2d6;
}

.outing-card--olive {
  background: var(--graphite);
  color: #ffffff;
}

.outing-card > span,
.camp-card > span {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  opacity: 0.68;
  text-transform: uppercase;
}

.outing-card h3 {
  max-width: 12ch;
  margin-top: 3.5rem;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  line-height: 0.98;
}

.outing-card > p {
  margin: 1rem 0 2.5rem;
  color: currentcolor;
  font-size: 0.82rem;
  line-height: 1.65;
  opacity: 0.7;
}

.outing-card dl {
  margin: auto 0 0;
  border-top: 1px solid currentcolor;
}

.outing-card dl > div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid currentcolor;
}

.outing-card dt,
.outing-card dd {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
}

.outing-card dt {
  font-weight: 650;
  text-transform: uppercase;
}

.outing-card dd {
  opacity: 0.68;
}

.outing-note {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.outing-note p {
  max-width: 45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.event-extras {
  background: #e9e2d6;
}

.event-extras__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(4rem, 10vw, 10rem);
}

.event-extras__heading h2 {
  max-width: 10ch;
  margin-top: 2rem;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 0.94;
}

.event-extras__heading > p:last-child {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.event-extras__list {
  border-top: 1px solid var(--line);
}

.event-extras__list article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.event-extras__list article > span {
  font-size: 0.64rem;
  font-weight: 650;
}

.event-extras__list h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: 1;
}

.event-extras__list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.map-card--live {
  min-height: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: #ecebe6;
}

.map-card--live::before,
.map-card--live::after {
  display: none;
}

.map-card--live iframe {
  display: block;
  width: 100%;
  min-height: 38rem;
  border: 0;
  filter: saturate(0.72) contrast(0.98);
}

.map-card__link--live {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  width: auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--graphite);
  background: #ffffff;
  color: var(--graphite);
  font-size: 0.68rem;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
}

.page-hero--camp {
  background: #f3f3ef;
}

.page-hero--camp .page-hero__media img {
  height: clamp(28rem, 44vw, 42rem);
  object-position: center 44%;
}

.camp-program {
  background: #ffffff;
}

.camp-program__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.camp-card {
  display: flex;
  min-height: 24rem;
  padding: clamp(2rem, 3vw, 2.75rem);
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.camp-card--sand {
  background: #e9e2d6;
}

.camp-card--olive {
  background: var(--graphite);
  color: #ffffff;
}

.camp-card--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--graphite);
}

.camp-card--photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 17, 0.12) 16%, rgba(18, 18, 17, 0.82) 100%);
  content: "";
}

.camp-card--photo > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade);
}

.camp-card--photo > :not(img) {
  position: relative;
  z-index: 2;
}

.camp-card--ceramics > img {
  object-position: center 45%;
}

.camp-card--project > img {
  object-position: center 58%;
}

.camp-card--photo p {
  opacity: 0.86;
}

.camp-card h3 {
  margin-top: auto;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1;
}

.camp-card p {
  margin: 1rem 0 0;
  color: currentcolor;
  font-size: 0.8rem;
  line-height: 1.65;
  opacity: 0.7;
}

.camp-day {
  background: #f3f3ef;
}

.camp-day__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
}

.camp-day__image {
  margin: 0;
}

.camp-video {
  position: relative;
}

.camp-day__image img,
.camp-day__image video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 34rem;
  aspect-ratio: 714 / 1280;
  object-fit: cover;
  filter: var(--photo-grade);
}

.camp-day__image video {
  background: #d6d8d1;
}

.camp-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(4.75rem, 8vw, 6.5rem);
  padding: 0;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(251, 249, 244, 0.84);
  box-shadow: 0 1rem 3rem rgba(20, 20, 18, 0.18);
  color: var(--graphite);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.camp-video__play[hidden] {
  display: none;
}

.camp-video__play::before {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 0.9rem solid currentcolor;
  content: "";
}

.camp-video__play:hover,
.camp-video__play:focus-visible {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(255, 255, 255, 0.96);
}

.camp-video__play:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.camp-video.is-playing .camp-video__play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  .camp-video__play {
    transition: none;
  }
}

.camp-day__copy > h2 {
  max-width: 10ch;
  margin-top: 2rem;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.camp-status {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--graphite);
  color: #ffffff;
}

.camp-status__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.camp-status .eyebrow {
  color: #ffffff;
  opacity: 0.62;
}

.camp-status h2 {
  max-width: 9ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.94;
}

.camp-status__inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  line-height: 1.7;
}

@media (max-width: 73rem) {
  .outing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .camp-program__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .camp-status__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .camp-status__inner > p {
    grid-column: 1;
  }

  .camp-status__inner > .button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 54rem) {
  .home-reviews__grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 18rem;
  }

  .event-extras__inner,
  .camp-day__inner {
    grid-template-columns: 1fr;
  }

  .camp-day__image {
    width: 82%;
  }

}

@media (max-width: 38rem) {
  .home-reviews .section-heading {
    align-items: start;
  }

  .home-reviews__all {
    justify-self: start;
  }

  .outing-grid,
  .camp-program__grid {
    grid-template-columns: 1fr;
  }

  .outing-card {
    min-height: 27rem;
  }

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

  .map-card--live,
  .map-card--live iframe {
    min-height: 30rem;
  }

  .camp-day__image {
    width: 100%;
  }

  .camp-day__image img,
  .camp-day__image video {
    min-height: 25rem;
  }

  .camp-status__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .camp-status__inner > p,
  .camp-status__inner > .button {
    grid-row: auto;
    grid-column: auto;
  }

  .camp-status__inner > .button {
    width: 100%;
  }
}

/* Итерация по свежим пометкам арт-директора от 21 июля. */
.home-gallery__grid figure:nth-child(2) img {
  object-position: center 10%;
}

.home-gallery__grid figure:nth-child(3) img {
  object-position: center 48%;
}

.home-next__card:not(.home-next__card--image) h3 {
  margin-bottom: 2rem;
}

.page--directions .page-hero__media img {
  object-position: center 45%;
}

.page--schedule .page-hero__media img {
  object-position: center 40%;
}

.direction-card--image .direction-card__content,
.direction-card--event .direction-card__content {
  display: flex;
  min-height: 100%;
  padding-bottom: 0;
  flex: 1;
  flex-direction: column;
}

#clay .directions-grid--compact .direction-card h3,
#clay .directions-grid--compact .direction-card__content h3 {
  min-height: 2em;
}

#clay .directions-grid--compact .direction-card p,
#clay .directions-grid--compact .direction-card__content p {
  min-height: 5em;
}

#groups .directions-grid--compact .direction-card h3,
#groups .directions-grid--compact .direction-card__content h3 {
  min-height: 3em;
}

#groups .directions-grid--compact .direction-card p,
#groups .directions-grid--compact .direction-card__content p {
  min-height: 5em;
}

#kids .direction-card--image > img {
  object-position: center 24%;
}

#kids .direction-card--camp > img {
  object-position: center 45%;
}

#kids .direction-card--camp .direction-card__content h3 {
  max-width: 8ch;
}

.direction-card--art-photo > img {
  object-position: center 48%;
}

.direction-card--art-photo {
  margin: 0;
}

.direction-card--art-photo figcaption {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentcolor;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#groups .direction-card--event > img {
  object-position: center 22%;
}

.direction-card--development h3 {
  max-width: none;
  font-size: clamp(2.15rem, 3.15vw, 3.4rem);
}

@media (min-width: 54.01rem) {
  .direction-card--development h3 .editorial-line {
    white-space: nowrap;
  }
}

.page--gallery .page-hero__copy {
  align-items: start;
}

.page--gallery .page-hero__copy .eyebrow,
.page--gallery .page-hero__copy h1 {
  justify-self: start;
  text-align: left;
}

.page--gallery .photo-wall {
  display: block;
  column-count: 3;
  column-gap: 4px;
}

.page--gallery .photo-card:nth-child(n) {
  display: inline-block;
  width: 100%;
  margin: 0 0 4px;
  break-inside: avoid;
  vertical-align: top;
}

.page--gallery .photo-card:nth-child(n) .photo-card__link {
  display: block;
  aspect-ratio: auto;
  overflow: hidden;
}

.page--gallery .photo-card__picture {
  display: block;
}

.page--gallery .photo-card:nth-child(n) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.page--gallery .photo-card:nth-child(n) .photo-card__link:hover img {
  transform: scale(1.012);
}

.page--gallery .photo-card figcaption {
  display: none;
}

@media (max-width: 54rem) {
  .page--gallery .photo-wall {
    column-count: 2;
  }

  #clay .directions-grid--compact .direction-card h3,
  #clay .directions-grid--compact .direction-card__content h3,
  #groups .directions-grid--compact .direction-card h3,
  #groups .directions-grid--compact .direction-card__content h3,
  #clay .directions-grid--compact .direction-card p,
  #clay .directions-grid--compact .direction-card__content p,
  #groups .directions-grid--compact .direction-card p,
  #groups .directions-grid--compact .direction-card__content p {
    min-height: 0;
  }
}

@media (max-width: 38rem) {
  .page--gallery .photo-wall {
    column-count: 1;
  }

  .direction-card--development h3 .editorial-line {
    white-space: normal;
  }
}

/* Version 11: summer camp calendar, signature events and canonical navigation. */
@media (min-width: 73.001rem) {
  .nav {
    gap: clamp(0.8rem, 1.75vw, 1.7rem);
    padding-inline: 8.5rem;
  }
}

.camp-themes {
  background: #f3f3ef;
}

.camp-month-jumps {
  display: flex;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}

.camp-month-jumps a {
  display: flex;
  min-height: 4.5rem;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  border-right: 1px solid var(--graphite);
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.camp-month-jumps a:hover {
  background: var(--graphite);
  color: #ffffff;
}

.camp-month + .camp-month {
  margin-top: clamp(6rem, 11vw, 10rem);
}

.camp-month__heading {
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-top: 1rem;
  grid-template-columns: 5rem minmax(0, 0.7fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
}

.camp-month__heading > span {
  align-self: start;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.camp-month__heading h3 {
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.camp-month__heading p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.camp-themes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.camp-theme-card {
  display: flex;
  min-height: 27rem;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  grid-column: auto;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.camp-theme-card--wide {
  grid-column: 1 / -1;
}

.camp-theme-card--sand {
  background: #e9e2d6;
}

.camp-theme-card--clay {
  background: #c6987f;
}

.camp-theme-card--olive {
  background: var(--graphite);
  color: #ffffff;
}

.camp-theme-card time {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.camp-theme-card--eco time {
  margin-bottom: 0;
}

.event-mood__grid figure:last-child {
  overflow: hidden;
}

.event-mood__grid figure:last-child img {
  object-position: 26% 58%;
  transform: scale(1.18);
  transform-origin: 26% 58%;
}

.camp-theme-card h4 {
  max-width: 15ch;
  margin-top: clamp(3rem, 4.5vw, 4.5rem);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.camp-theme-card p {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: currentcolor;
  font-size: 0.82rem;
  line-height: 1.68;
  opacity: 0.76;
}

@media (min-width: 54.01rem) {
  .camp-themes__grid:not(.camp-themes__grid--august) .camp-theme-card > p {
    min-block-size: 6.72em;
  }
}

.camp-themes__grid--august .camp-theme-card {
  min-height: 34rem;
  grid-column: auto;
}

.camp-theme-card__missions {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.76;
}

.event-signatures {
  background: #ffffff;
}

.event-signatures__list {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.event-signature {
  display: grid;
  min-height: 36rem;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-signature__visual {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  color: #ffffff;
  isolation: isolate;
}

.event-signature__visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 13, 0.32), rgba(14, 15, 13, 0.05) 48%, rgba(14, 15, 13, 0.72));
  content: "";
}

.event-signature__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-signature__visual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  padding: clamp(2rem, 4vw, 4rem);
  flex-direction: column;
  justify-content: space-between;
}

.event-signature__visual-copy > span {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 450;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.event-signature__visual-copy > p {
  margin: auto 0 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.event-signature__body {
  display: flex;
  padding: clamp(2.5rem, 5vw, 5rem);
  flex-direction: column;
}

.event-signature__body > span {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.68;
}

.event-signature__body h3 {
  max-width: 12ch;
  margin-top: auto;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.event-signature__body > p {
  max-width: 43rem;
  margin: 1.5rem 0 2rem;
  color: currentcolor;
  font-size: 0.88rem;
  line-height: 1.72;
  opacity: 0.74;
}

.event-signature__body dl {
  display: grid;
  margin: 0 0 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid currentcolor;
}

.event-signature__body dl > div {
  padding: 1rem 1rem 0 0;
}

.event-signature__body dt {
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.58;
}

.event-signature__body dd {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.event-signature__body > a {
  width: max-content;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentcolor;
  color: currentcolor;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.event-signature--date {
  background: var(--graphite);
  color: #ffffff;
}

.event-signature--date .event-signature__visual {
  background: #875a4d;
}

.event-signature--date .event-signature__visual > img {
  object-position: 51% center;
}

.event-signature--picnic {
  background: #f3f3ef;
  color: var(--graphite);
}

.event-signature--picnic .event-signature__visual {
  background: #aeb9a9;
}

.event-signature--picnic .event-signature__visual > img {
  object-position: center 54%;
}

@media (max-width: 73rem) {
  .camp-month__heading {
    grid-template-columns: 4rem minmax(0, 0.7fr) minmax(16rem, 1fr);
  }

  .camp-theme-card,
  .camp-themes__grid--august .camp-theme-card {
    min-height: 28rem;
    grid-column: auto;
  }

  .camp-theme-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 54rem) {
  .camp-themes__grid:not(.camp-themes__grid--august) .camp-theme-card > p {
    min-block-size: 0;
  }

  .camp-themes__grid:not(.camp-themes__grid--august) .camp-theme-card h4 {
    margin-top: 2.5rem;
  }

  .camp-month__heading {
    grid-template-columns: 3rem 1fr;
    align-items: start;
  }

  .camp-month__heading p {
    grid-column: 2;
  }

  .event-signature {
    grid-template-columns: 1fr;
  }

  .event-signature__visual {
    min-height: 20rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 38rem) {
  .camp-month-jumps a {
    width: 50%;
    justify-content: center;
  }

  .camp-month__heading {
    gap: 1rem;
  }

  .camp-month__heading h3 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .camp-themes__grid {
    grid-template-columns: 1fr;
  }

  .camp-theme-card,
  .camp-theme-card--wide,
  .camp-themes__grid--august .camp-theme-card {
    min-height: 24rem;
    grid-column: 1;
  }

  .event-signature__visual-copy,
  .event-signature__body {
    padding: 2rem;
  }

  .event-signature__body h3 {
    margin-top: 5rem;
  }

  .event-signature__body dl {
    grid-template-columns: 1fr;
  }

  .event-signature__body > a {
    width: 100%;
  }
}

/* Service landing pages */
.landing-facts {
  border-block: 1px solid var(--line);
  background: var(--graphite);
  color: #ffffff;
}

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

.landing-facts__grid > div {
  min-height: 9rem;
  padding: 2rem clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.landing-facts__grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.landing-facts__grid span,
.landing-facts__grid strong {
  display: block;
}

.landing-facts__grid > div > span {
  margin-bottom: 1.6rem;
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  opacity: 0.62;
  text-transform: uppercase;
}

.landing-facts__grid strong {
  max-width: 22ch;
  font-family: var(--body);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.landing-card-grid .outing-card {
  min-height: 25rem;
}

.landing-card-grid .text-link {
  width: max-content;
  margin-top: 1.25rem;
  color: currentcolor;
}

.page--kids-landing .landing-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-price-list {
  margin: 0 0 1.5rem;
  border-top: 1px solid currentcolor;
}

.landing-price-list > div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid currentcolor;
}

.landing-price-list dt,
.landing-price-list dd {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
}

.landing-price-list dt {
  font-weight: 700;
  text-transform: uppercase;
}

.landing-price-list dd {
  opacity: 0.72;
}

.landing-flow {
  background: #f3f3ef;
}

.landing-flow__inner,
.landing-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.landing-flow h2,
.landing-faq h2 {
  max-width: 12ch;
  margin: 1rem 0 2.5rem;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.landing-faq__intro {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.landing-flow__image {
  margin: 0;
}

.landing-flow__image img {
  width: 100%;
  height: clamp(31rem, 48vw, 46rem);
  object-fit: cover;
  filter: var(--photo-grade);
}

.landing-faq {
  background: #ffffff;
}

.landing-faq__list {
  border-top: 1px solid var(--line);
}

.landing-faq details {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.landing-faq summary {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: start;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 1.5rem;
  font-weight: 350;
  line-height: 1;
}

.landing-faq details[open] summary::after {
  content: "−";
}

.landing-faq details p {
  max-width: 42rem;
  margin: 1rem 3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.demo-note--stacked {
  flex-direction: column;
  gap: 0.45rem;
}

.demo-note--stacked span {
  color: var(--muted);
  line-height: 1.55;
}

.page--price .page-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.page--price .page-hero__copy {
  max-width: 52rem;
}

.price-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  align-items: center;
}

.price-hero__summary {
  display: grid;
  gap: 1.2rem;
  align-self: stretch;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: #f5f5f2;
}

.price-hero__summary > span {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-hero__summary strong {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.price-hero__summary p {
  align-self: end;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.price-index {
  border-block: 1px solid var(--line);
  background: #ffffff;
}

.price-index__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.price-index a {
  padding: 1rem clamp(1.1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  color: var(--graphite);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.price-index a:first-child {
  border-left: 1px solid var(--line);
}

.price-section--tint,
.price-terms {
  background: #f3f3ef;
}

.price-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 43rem;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table thead th {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table tbody th {
  font-size: 0.94rem;
  font-weight: 600;
}

.price-table tbody td {
  color: var(--muted);
  font-size: 0.85rem;
}

.price-table th:nth-last-child(-n + 3),
.price-table td:nth-last-child(-n + 3) {
  text-align: right;
  white-space: nowrap;
}

.price-section__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.price-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.price-package {
  display: grid;
  gap: 2.5rem;
  min-height: 12rem;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-package span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-package strong {
  align-self: end;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.price-terms__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.72fr);
  gap: 2rem clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.price-terms h2 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.price-terms ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-terms li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.price-terms__inner > p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 54rem) {
  .page--kids-landing .landing-card-grid {
    grid-template-columns: 1fr;
  }

  .page--price .page-hero__inner,
  .landing-facts__grid,
  .landing-flow__inner,
  .landing-faq__inner,
  .price-terms__inner {
    grid-template-columns: 1fr;
  }

  .price-package-grid {
    grid-template-columns: 1fr;
  }

  .price-terms__inner > p {
    grid-column: 1;
  }

  .landing-facts__grid > div,
  .landing-facts__grid > div:first-child {
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .landing-facts__grid > div:last-child {
    border-bottom: 0;
  }

  .landing-flow__image img {
    height: clamp(28rem, 100vw, 42rem);
  }
}

@media (max-width: 38rem) {
  .page--date-landing #options-title {
    max-width: none;
    font-size: clamp(2.25rem, 8.6vw, 3.25rem);
  }

  .page--date-landing #options-title .editorial-line {
    display: block;
  }

  .page--date-landing #options-title .editorial-line + .editorial-line::before {
    content: none;
  }

  .page--events #event-mood-title {
    font-size: clamp(2rem, 10.7vw, 2.75rem);
  }

  .page--events #event-mood-title .editorial-line {
    display: block;
  }

  .page--events #event-mood-title .editorial-line:last-child {
    white-space: nowrap;
  }

  .page--events #event-mood-title .editorial-line + .editorial-line::before {
    content: none;
  }

  .page--events .event-mood__grid figure {
    overflow: hidden;
  }

  .page--events .event-mood__grid img,
  .page--events .event-mood__grid figure:last-child img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .landing-card-grid .outing-card {
    min-height: 22rem;
  }

  .page--kids-landing .outing-card dl > div {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .page--camp .section-heading h2 {
    max-width: none;
    font-size: clamp(2.25rem, 9.4vw, 3.6rem);
  }

  .page--camp #camp-program-title {
    font-size: clamp(2.05rem, 8.4vw, 3.2rem);
  }

  .page--camp #camp-day-title,
  .page--camp #camp-status-title {
    max-width: none;
    font-size: clamp(2.25rem, 9.4vw, 3.6rem);
  }

  .page--camp .camp-theme-card h4 {
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 2.5rem);
  }

  .price-table-wrap {
    overflow-x: visible;
    border-top: 0;
  }

  .price-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .price-table tbody {
    display: grid;
    gap: 1rem;
  }

  .price-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
  }

  .price-table tbody th {
    grid-column: 1 / -1;
    padding: 1rem;
    background: #f3f3ef;
    font-size: 1rem;
  }

  .price-table tbody td {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    text-align: left;
    white-space: normal;
  }

  .price-table tbody td::before {
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  #kids-prices .price-table td:nth-of-type(1)::before {
    content: "Возраст";
  }

  #kids-prices .price-table td:nth-of-type(2)::before,
  #adult-prices .price-table td:nth-of-type(1)::before {
    content: "Разовое";
  }

  #kids-prices .price-table td:nth-of-type(3)::before,
  #adult-prices .price-table td:nth-of-type(2)::before {
    content: "4 занятия";
  }

  #kids-prices .price-table td:nth-of-type(4)::before,
  #adult-prices .price-table td:nth-of-type(3)::before {
    content: "8 занятий";
  }
}

/* Keep the approved corrected picnic frame free of extra colour grading. */
.page--gallery img[src$="yulia-picnic-setup-corrected.jpg"] {
  filter: none;
}

.page--picnic-landing .page-hero__media img {
  object-position: 50% 65%;
}

/* Approved navigation and responsive layout cleanup. */
.page-hero__copy,
.page-hero__media,
.section-heading > *,
.page-cta__inner > *,
.landing-flow__inner > *,
.landing-faq__inner > *,
.contact-photo__inner > *,
.event-signature,
.event-signature > *,
.camp-theme-card,
.camp-card,
.outing-card,
.schedule-card > * {
  min-width: 0;
}

.nav-directions {
  position: relative;
}

.nav-directions summary {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #454542;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-directions summary::-webkit-details-marker {
  display: none;
}

.nav-directions summary::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentcolor;
  content: "";
  transition: transform 180ms ease;
}

.nav-directions summary i {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-right: 1px solid currentcolor;
  border-bottom: 1px solid currentcolor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-directions[open] summary i {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.nav-directions:hover summary::after,
.nav-directions:focus-within summary::after,
.nav-directions.is-current summary::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-directions.is-current summary {
  color: var(--graphite);
}

.nav-directions__menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: 50%;
  display: grid;
  width: min(23rem, calc(100vw - 2rem));
  padding: 0.55rem;
  transform: translate(-50%, 0.45rem);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1.4rem 3.5rem rgba(24, 24, 23, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-directions[open] > .nav-directions__menu,
.nav-directions:focus-within > .nav-directions__menu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav .nav-directions__menu a {
  display: block;
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.nav .nav-directions__menu a:last-child {
  border-bottom: 0;
}

.nav .nav-directions__menu a::after {
  display: none;
}

.nav .nav-directions__menu a:hover,
.nav .nav-directions__menu a:focus-visible,
.nav .nav-directions__menu a[aria-current="page"] {
  background: var(--sand);
}

.schedule-offer {
  display: grid;
  grid-template-columns: minmax(9rem, 0.32fr) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}

.schedule-offer strong {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-offer span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

.schedule-card__meta div {
  align-content: start;
}

.page--kids-landing .outing-card dl > div {
  grid-template-columns: 8.25rem minmax(0, 1fr);
  align-items: start;
}

.page--kids-landing .outing-card dd {
  min-width: 0;
  text-align: left;
}

.page--corporate-landing .landing-hero .page-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.72fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.page--corporate-landing .landing-hero .page-hero__copy h1 {
  max-width: 14ch;
  font-size: clamp(3.7rem, 5.45vw, 6rem);
  line-height: 0.92;
}

.page--birthday-landing .page-cta__inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.55fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
}

.page--birthday-landing .page-cta h2 {
  max-width: 14ch;
  font-size: clamp(3rem, 4.4vw, 4.9rem);
}

@media (hover: hover) and (min-width: 73.01rem) {
  .nav-directions:hover {
    z-index: 61;
  }

  .nav-directions:hover > .nav-directions__menu {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 73rem) {
  .nav-directions {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-directions summary {
    justify-content: space-between;
    width: 100%;
    padding-block: 1rem;
    color: var(--graphite);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.045em;
    text-transform: none;
  }

  .nav-directions summary::after {
    display: none;
  }

  .nav-directions summary i {
    width: 0.7rem;
    height: 0.7rem;
    margin-right: 0.2rem;
  }

  .nav-directions:not([open]) > .nav-directions__menu {
    display: none;
  }

  .nav-directions__menu {
    position: static;
    width: 100%;
    padding: 0 0 0.8rem 1rem;
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-directions[open] > .nav-directions__menu,
  .nav-directions:focus-within > .nav-directions__menu {
    transform: none;
  }

  .js .nav .nav-directions__menu a,
  html:not(.js) .nav .nav-directions__menu a {
    padding: 0.72rem 0.8rem;
    border-bottom: 0;
    font-family: var(--body);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
  }

  .schedule-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page--birthday-landing .page-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page--birthday-landing .page-cta__inner > p {
    grid-column: 1;
  }

  .page--birthday-landing .page-cta__inner > .button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 70rem) {
  .page--corporate-landing .landing-hero .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .page--corporate-landing .landing-hero .page-hero__media {
    width: 100%;
    margin-top: 1rem;
  }

  .page--corporate-landing .landing-hero .page-hero__copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 38rem) {
  .schedule-offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .schedule-card__meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-card__meta div {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    justify-content: initial;
  }

  .schedule-card__meta dd {
    max-width: none;
    text-align: left;
  }

  .page--kids-landing .outing-card dl > div {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 1rem;
  }

  #adult-prices .price-table tr,
  #kids-prices .price-table tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #kids-prices .price-table tbody td:nth-of-type(1) {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  #adult-prices .price-table tbody td,
  #kids-prices .price-table tbody td:not(:nth-of-type(1)) {
    padding-inline: 0.72rem;
    border-left: 1px solid var(--line);
  }

  #adult-prices .price-table tbody td:first-of-type,
  #kids-prices .price-table tbody td:nth-of-type(2) {
    border-left: 0;
  }

  .price-table tbody td {
    align-content: start;
    text-align: left;
  }

  .page--corporate-landing .landing-hero .page-hero__copy h1 {
    max-width: none;
    font-size: clamp(2.55rem, 10.7vw, 3.6rem);
    line-height: 0.96;
  }

  .page--birthday-landing .page-cta h2 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 11.8vw, 3.75rem);
  }

  .page--birthday-landing .page-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }

  .page--birthday-landing .page-cta__inner > p,
  .page--birthday-landing .page-cta__inner > .button {
    grid-column: auto;
    grid-row: auto;
  }

  .event-signature {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-photo__copy h2 {
    font-size: clamp(2.8rem, 15vw, 3.25rem);
  }
}

/* Final editorial and alignment pass. */
.landing-facts {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--graphite);
  color: #ffffff;
}

.landing-facts__grid > div,
.landing-facts__grid > div:first-child {
  border-color: rgba(255, 255, 255, 0.22);
}

.schedule-cta__link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid currentcolor;
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.035em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.schedule-cta__link:hover {
  color: var(--muted);
}

.home-paths__grid .path-card__body strong {
  display: flex;
  min-block-size: 2em;
  flex-direction: column;
  justify-content: flex-end;
}

.home-paths__grid .path-card--paper .path-card__body strong {
  max-width: 100%;
  font-size: clamp(2.25rem, 3.25vw, 3.45rem);
}

.page--directions .page-hero__media img {
  object-position: center 50%;
}

.page--price .price-terms {
  border-block: 1px solid rgba(24, 24, 23, 0.14);
  background: #dfeaf0;
}

.page--price .price-terms ul,
.page--price .price-terms li {
  border-color: rgba(24, 24, 23, 0.22);
}

.page--price .page-cta {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.contact-guide__card h3 {
  margin-top: 3.5rem;
}

.contact-guide__card a {
  margin-top: auto;
}

.schedule-card__meta {
  grid-auto-rows: minmax(4.75rem, auto);
}

.schedule-card__meta div {
  display: grid;
  grid-template-rows: 1.2rem minmax(0, 1fr);
}

.page--kids-landing .landing-card-grid .outing-card > h3 {
  min-block-size: 2em;
}

.page--kids-landing .landing-card-grid .outing-card > p {
  min-block-size: 5em;
}

.page--kids-landing .landing-card-grid .outing-card dl {
  margin-top: 0;
}

.page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(1),
.page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(5) {
  min-block-size: 3.25rem;
}

.page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(2) {
  min-block-size: 5.25rem;
}

.page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(3) {
  min-block-size: 7rem;
}

.page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(4) {
  min-block-size: 4.5rem;
}

.page--corporate-landing .landing-card-grid .outing-card h3 {
  display: flex;
  min-block-size: 2em;
  align-items: flex-end;
}

.page--corporate-landing .landing-card-grid .outing-card > p {
  min-block-size: 5em;
}

.page--birthday-landing .birthday-options-grid .direction-card > span {
  margin-bottom: 0;
}

.page--birthday-landing .birthday-options-grid .direction-card__content > span {
  margin-bottom: 0;
}

.page--birthday-landing .birthday-options-grid .direction-card h3 {
  margin-top: clamp(3rem, 5vw, 5rem);
}

.page--birthday-landing .birthday-option-card--image > img {
  object-position: center 58%;
}

.camp-theme-card--professor h4 {
  margin-top: clamp(3rem, 4.5vw, 4.5rem);
}

@media (min-width: 54.01rem) {
  .page--events .event-outings .outing-card h3 {
    min-block-size: 1.96em;
  }
}

@media (min-width: 54.01rem) {
  .page--ceramics #formats .direction-card h3 {
    min-block-size: 1em;
    white-space: nowrap;
  }

  .page--birthday-landing .birthday-options-grid .direction-card:first-child h3 {
    max-width: none;
  }

  .page--birthday-landing .birthday-options-grid .direction-card:first-child h3 .editorial-line {
    white-space: nowrap;
  }
}

@media (max-width: 54rem) {
  .landing-facts__grid > div,
  .landing-facts__grid > div:first-child {
    border-color: rgba(255, 255, 255, 0.22);
  }

  .page--kids-landing .landing-card-grid .outing-card > h3,
  .page--kids-landing .landing-card-grid .outing-card > p,
  .page--kids-landing .landing-card-grid .outing-card dl > div:nth-child(n) {
    min-block-size: 0;
  }

  .camp-theme-card--professor h4 {
    margin-top: 2.5rem;
  }

  .page--camp .camp-theme-card h4 {
    margin-top: 2.5rem;
  }

  .page--events .event-outings .outing-card h3 {
    min-block-size: 0;
  }

  .page--birthday-landing .birthday-option-card--image {
    min-height: clamp(27rem, 122vw, 36rem);
  }

  .page--events .event-mood__grid figure {
    overflow: hidden;
  }

  .page--events .event-mood__grid img,
  .page--events .event-mood__grid figure:last-child img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

@media (max-width: 38rem) {
  .schedule-card__meta {
    grid-auto-rows: auto;
  }

  .schedule-card__meta div {
    grid-template-rows: none;
  }

}

/* Version 34: confirmed photo replacements from the 17 August review. */
.page--price .page-hero__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.72fr);
  align-items: stretch;
}

.page--price .page-hero__copy {
  align-self: center;
}

.price-hero__media {
  margin: 0;
}

.price-hero__media img {
  height: 100%;
  min-height: clamp(30rem, 43vw, 42rem);
  object-position: center 46%;
}

.page--ceramics .landing-hero .page-hero__media img {
  object-position: center 56%;
}

/* Version 35: camp hero framing and bounded July feature card. */
@media (min-width: 54.01rem) {
  .page--camp .page-hero--camp .page-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 27rem);
  }
}

.page--camp .page-hero--camp .page-hero__media {
  justify-self: end;
}

.page--camp .page-hero--camp .page-hero__media img {
  height: clamp(34rem, 46vw, 42rem);
  object-position: center 24%;
}

.page--events .page-hero__media img {
  object-position: center 58%;
}

.camp-theme-card--space {
  display: grid;
  height: 32rem;
  min-height: 32rem;
  padding: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.82fr);
}

.camp-theme-card--space .camp-theme-card__body {
  display: flex;
  min-width: 0;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  flex-direction: column;
}

.camp-theme-card--space .camp-theme-card__body > p {
  margin-top: auto;
  padding-top: 2rem;
}

.camp-theme-card--space > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 43%;
  filter: var(--photo-grade);
}

.camp-card--showcase > img {
  object-position: center 58%;
}

@media (max-width: 54rem) {
  .page--price .page-hero__inner,
  .camp-theme-card--space {
    grid-template-columns: 1fr;
  }

  .page--camp .page-hero--camp .page-hero__media {
    width: min(100%, 32rem);
  }

  .page--camp .page-hero--camp .page-hero__media img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .price-hero__media img {
    height: clamp(24rem, 88vw, 36rem);
    min-height: 0;
  }

  .camp-theme-card--space .camp-theme-card__body {
    min-height: 22rem;
  }

  .camp-theme-card--space {
    height: auto;
  }

  .camp-theme-card--space > img {
    height: clamp(19rem, 72vw, 30rem);
    min-height: 0;
  }
}

/* Version 36: keep the art-picnic closing CTA inside its grid at every width. */
.page--picnic-landing .page-cta h2 {
  max-width: 16ch;
  font-size: clamp(3rem, 4.4vw, 4.9rem);
  text-wrap: wrap;
}

@media (min-width: 73.01rem) {
  .page--picnic-landing .page-cta__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.6fr) auto;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

@media (max-width: 54rem) {
  .page--picnic-landing .page-cta h2 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 11.8vw, 3.75rem);
  }
}

/* Version 37: show the events and camp hero photos at their native ratios. */
@media (min-width: 54.01rem) {
  .page--events .page-hero__inner,
  .page--camp .page-hero--camp .page-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.page--events .page-hero__copy h1 {
  font-size: clamp(3rem, 5.15vw, 5.4rem);
}

.page--events .page-hero__media,
.page--camp .page-hero--camp .page-hero__media {
  width: 100%;
  margin-top: 0;
  justify-self: stretch;
}

.page--events .page-hero__media img,
.page--camp .page-hero--camp .page-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* Version 38: match events and camp hero frames to the approved price hero. */
@media (min-width: 54.01rem) {
  .page--events .page-hero__inner,
  .page--camp .page-hero--camp .page-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.72fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
  }

  .page--events .page-hero__media img,
  .page--camp .page-hero--camp .page-hero__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 54rem) {
  .page--events .page-hero__media img,
  .page--camp .page-hero--camp .page-hero__media img {
    height: clamp(24rem, 88vw, 36rem);
    min-height: 0;
    object-fit: cover;
    object-position: center top;
  }
}

/* Version 39: gated, accessible Website lead form. */
body.lead-dialog-open {
  overflow: hidden;
}

.lead-dialog {
  width: min(48rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(52rem, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
  color: var(--graphite);
}

.lead-dialog::backdrop {
  background: rgba(18, 18, 17, 0.72);
  backdrop-filter: blur(5px);
}

.lead-dialog__surface {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: #ffffff;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.3);
}

.lead-dialog__close {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lead-dialog h2 {
  max-width: 12ch;
  margin: 1.15rem 0;
  font-size: clamp(2.75rem, 7vw, 4.8rem);
  line-height: 0.94;
}

.lead-dialog__description {
  max-width: 36rem;
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.lead-form__preview-note {
  display: grid;
  gap: 0.3rem;
  margin: -0.5rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--clay);
  background: #f8eee9;
  font-size: 0.78rem;
  line-height: 1.5;
}

.lead-form__preview-note[hidden] {
  display: none;
}

.lead-form__preview-note strong {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form {
  display: grid;
  gap: 1.15rem;
}

.lead-form__field {
  display: grid;
  gap: 0.45rem;
}

.lead-form label,
.lead-form legend {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.045em;
}

.lead-form label > span {
  color: var(--muted);
  font-weight: 450;
}

.lead-form__control {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18, 18, 17, 0.32);
  border-radius: 0;
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
  font-size: 1rem;
}

textarea.lead-form__control {
  min-height: 7rem;
  resize: vertical;
}

.lead-form__control:focus {
  border-color: var(--graphite);
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.lead-form__control[aria-invalid="true"] {
  border-color: #9f3528;
}

.lead-form__channels {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form__channels > p,
.lead-form__hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.lead-form__channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.lead-form__error {
  min-height: 1.1em;
  color: #8a2c22;
  font-size: 0.72rem;
  line-height: 1.45;
}

.lead-form__honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__consent {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.25rem 0.7rem;
  align-items: start;
}

.lead-form__consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--graphite);
}

.lead-form__consent label {
  font-size: 0.72rem;
  font-weight: 450;
  line-height: 1.55;
}

.lead-form__consent a,
.lead-form__actions a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.lead-form__consent .lead-form__error {
  grid-column: 2;
}

.lead-form__status {
  padding: 0.85rem 1rem;
  border-left: 3px solid #9f3528;
  background: #f8eee9;
  color: #6c2018;
  font-size: 0.82rem;
  line-height: 1.55;
}

.lead-form__actions {
  display: flex;
  gap: 1rem 1.5rem;
  align-items: center;
}

.lead-form__actions .button {
  flex: 0 0 auto;
  border: 0;
}

.lead-form__actions .button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.lead-form__actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.lead-dialog__success {
  padding: clamp(2rem, 7vw, 5rem) 0 clamp(1rem, 4vw, 2rem);
}

.lead-dialog__success p:not(.eyebrow) {
  max-width: 32rem;
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.lead-dialog__close:focus-visible,
.lead-form a:focus-visible,
.lead-form button:focus-visible,
.lead-dialog__success button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

@media (max-width: 38rem) {
  .lead-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .lead-dialog__surface {
    padding: 1.4rem;
    padding-top: 3.25rem;
  }

  .lead-dialog h2 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

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

  .lead-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-form__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-dialog::backdrop {
    backdrop-filter: none;
  }
}

/* Version 42: align paired camp descriptions and balance the space-week photo. */
@media (min-width: 54.01rem) {
  .camp-themes__grid--august .camp-theme-card:nth-child(-n + 2) h4 {
    min-block-size: 3.92em;
  }

  .camp-themes__grid--august .camp-theme-card:nth-child(n + 3) h4 {
    min-block-size: 1.96em;
  }

  .camp-theme-card--space {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr);
  }
}

/* The after-school page intentionally reuses the shared landing-page system. */
.page--prodlenka .page-hero__media img {
  object-position: center 44%;
}

.page--prodlenka .landing-flow__image img {
  object-position: center 58%;
}

.page--prodlenka .landing-facts__range {
  display: inline;
  white-space: nowrap;
}
