/* ============================================
   Бренд-палитра и переменные
   ============================================ */
:root {
  --bg:        #FBF8F4;  /* тёплый фон */
  --bg-soft:   #F2EDE6;  /* приглушённый блок */
  --ink:       #2C2A33;  /* основной текст */
  --ink-soft:  #5C5868;  /* вторичный текст */
  --accent:    #6E7E6B;  /* шалфейно-зелёный */
  --accent-dk: #56654F;
  --sand:      #C9B79C;  /* песочный акцент */
  --line:      #E4DDD2;
  --white:     #FFFFFF;

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 12px 40px rgba(44, 42, 51, 0.08);
  --shadow-sm: 0 4px 18px rgba(44, 42, 51, 0.06);

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-alt:  "Mulish", -apple-system, "Segoe UI", sans-serif;

  /* акцент hero: шалфей (вариант A) */
  --hero-bg:    #F4EDE2;
  --sage:       oklch(0.72 0.045 145);
  --sage-deep:  oklch(0.56 0.05 148);
  --sage-tint:  oklch(0.90 0.03 145);

  --maxw: 1120px;
}

/* ============================================
   Базовое
   ============================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent-dk); text-decoration: none; }
a:hover { color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.center { text-align: center; }
.eyebrow.center { display: block; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ============================================
   Кнопки
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); color: #fff; }
.btn-ghost { border-color: var(--accent); color: var(--accent-dk); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }

/* ============================================
   Шапка
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 244, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; font-weight: 600; line-height: 1.1; }
.logo-text small {
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dk); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   Hero — вариант A (шалфей)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 80px;
  background: var(--hero-bg);
}
.hero-branch {
  position: absolute;
  top: 10px;
  right: 6%;
  width: 280px;
  max-width: 34%;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* текстовая колонка */
.hx-label {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}
.hx-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.3vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 24px 0 22px;
  color: var(--ink);
}
.hx-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--sage-deep);
}
.hx-lead {
  font-family: var(--font-alt);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 0 2rem;
}
.hx-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.hx-btn--primary {
  background: var(--sage-deep);
  color: #fbf8f1;
  box-shadow: 0 14px 30px -12px color-mix(in oklch, var(--sage-deep) 70%, transparent);
}
.hx-btn--primary:hover { background: var(--sage-deep); color: #fbf8f1; transform: translateY(-2px); }
.hx-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.hx-btn--ghost:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.hx-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hx-tag {
  font-family: var(--font-alt);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
}
.hx-place {
  font-family: var(--font-alt);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

/* фото-колонка */
.hero-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.hero-halo {
  position: absolute;
  z-index: 1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--sage) 55%, transparent) 0%, transparent 62%);
  filter: blur(14px);
  pointer-events: none;
}
.hero-portrait {
  position: relative;
  z-index: 2;
  width: 360px;
  height: 480px;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(58, 50, 42, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-namecard {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  right: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 13px 22px;
  border-radius: 16px;
  box-shadow: 0 18px 40px -22px rgba(58, 50, 42, 0.45);
}
.hx-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.hx-name-sub {
  font-family: var(--font-alt);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ============================================
   Две колонки (Обо мне)
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-soft), var(--sand));
  display: grid; place-items: center;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.facts li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts li strong {
  min-width: 110px;
  color: var(--accent-dk);
  font-weight: 600;
}

/* ============================================
   Карточки
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.card-post .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--bg-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.read-more { display: inline-block; margin-top: 14px; font-weight: 600; }

/* ============================================
   Промо-блок (Нейрокиндеры)
   ============================================ */
.promo {
  background: linear-gradient(135deg, var(--bg-soft), var(--white));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}
.promo-text { max-width: 640px; }
.promo-text .facts { margin: 1.2rem 0 1.6rem; }

/* ============================================
   Аудитории (дети / подростки / взрослые)
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.5rem;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.audience-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.audience-card h3 { margin-bottom: 0.6em; }
.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex-grow: 1;
}
.audience-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.audience-card li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sand);
}
.audience-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--accent-dk);
  font-weight: 500;
}

/* ============================================
   Отзывы
   ============================================ */
.card-review { display: flex; flex-direction: column; }
.review-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  overflow: hidden;
}
.card-review.is-expanded .review-text {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.review-more {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dk);
  cursor: pointer;
}
.review-more:hover { text-decoration: underline; }
.review-more[hidden] { display: none; }
.review-meta {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dk);
}

/* Карусель отзывов */
.reviews-carousel { position: relative; margin-top: 2.5rem; }
.rc-viewport {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 8px;
}
.rc-viewport::-webkit-scrollbar { display: none; }
.rc-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
.rc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--accent-dk);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.rc-arrow:hover { background: var(--accent); color: #fff; }
.rc-arrow:disabled { opacity: 0; pointer-events: none; }
.rc-prev { left: -14px; }
.rc-next { right: -14px; }
.rc-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 18px; }
.rc-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.rc-dot.active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 900px) {
  .rc-slide { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 720px) {
  .rc-slide { flex-basis: 100%; }
  .rc-prev { left: -6px; }
  .rc-next { right: -6px; }
}

/* Stable small-screen layout. Keep content readable down to 320px. */
@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner {
    height: 64px;
  }

  .logo-word {
    font-size: 2.1rem;
  }

  .burger {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .nav {
    top: 64px;
    max-height: calc(100dvh - 64px);
    padding: 10px 16px 18px;
    overflow-y: auto;
  }

  .nav a {
    min-height: 44px;
    padding: 10px 8px;
    white-space: normal;
  }

  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero-text {
    padding: 38px 0 30px;
  }

  .hx-title {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 2.75rem;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hx-lead {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hx-btn--primary,
  .btn,
  .contact-links a {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hx-btn--primary {
    justify-content: space-between;
    text-align: left;
  }

  .hx-place {
    display: block;
    font-size: .9rem;
    line-height: 1.45;
  }

  .hero-photo {
    width: 100%;
    min-height: 400px;
    padding: 0;
    overflow: hidden;
  }

  .hero-portrait {
    width: min(82vw, 320px);
    max-width: calc(100vw - 40px);
    height: 390px;
  }

  .hero-scene {
    max-width: none;
    max-height: none;
  }

  .section {
    padding: 58px 0;
  }

  h2 {
    font-size: 2.25rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  h3 {
    font-size: 1.45rem;
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  p,
  li,
  label,
  .section-intro {
    overflow-wrap: break-word;
  }

  .two-col,
  .cards,
  .steps,
  .audience-grid,
  #audience .container {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .audience-grid {
    margin-top: 36px;
  }

  .audience-card,
  .audience-card:first-child,
  .card,
  .card:nth-child(3n),
  .step,
  .step:first-child {
    width: 100%;
    min-width: 0;
    padding: 24px 0;
  }

  .promo {
    padding: 34px 0;
  }

  .form {
    width: 100%;
    min-width: 0;
    padding: 20px 16px;
  }

  .field input,
  .field textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .contact-links {
    width: 100%;
    align-items: stretch;
  }

  html.motion-ready .reveal,
  html.motion-ready .hero-text.reveal,
  html.motion-ready .hero-photo.reveal,
  html.motion-ready .reveal.is-visible,
  html.motion-ready .hero-text.reveal.is-visible,
  html.motion-ready .hero-photo.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .hero-photo:hover .hero-portrait {
    transform: none;
  }
}

@media (max-width: 360px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hx-title {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-photo {
    min-height: 350px;
  }

  .hero-portrait {
    width: min(84vw, 280px);
    height: 350px;
  }

  .form {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* ============================================
   Шаги
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2.5rem;
}
.step {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--sand);
  display: block;
  margin-bottom: 12px;
}
.step p { color: var(--ink-soft); margin: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq { margin-top: 2rem; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; margin: 0; }

/* ============================================
   Форма / контакт
   ============================================ */
.section-contact { background: var(--bg-soft); }
.form {
  margin-top: 2rem;
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #E7EDE5;
  color: var(--accent-dk);
  font-size: 0.95rem;
}
.direct-contacts { text-align: center; margin-top: 28px; color: var(--ink-soft); }
.contact-links { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.contact-links a {
  font-weight: 600;
  padding: 8px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.contact-links a:hover { border-color: var(--accent); }

/* ============================================
   Подвал
   ============================================ */
.site-footer {
  padding: 48px 0;
  background: var(--ink);
  color: #C9C6CF;
}
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-text small { color: #9C98A6; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.site-footer .muted { color: #9C98A6; }

/* ============================================
   Адаптив
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; min-height: 0; }
  .hero-portrait { width: 280px; height: 380px; }
  .hero-halo { width: 380px; height: 380px; }
  .hero-branch { width: 200px; right: 4%; top: 4px; }
  .hero-namecard { right: auto; left: calc(50% + 70px); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards, .steps, .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .promo { padding: 32px 24px; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateY(0); }
  .burger { display: flex; }
  .cards, .steps, .audience-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* Variant 1: modern light */
:root {
  --bg: #F8FAF7;
  --bg-soft: #EEF5F1;
  --ink: #18211F;
  --ink-soft: #586863;
  --accent: #287767;
  --accent-dk: #14594E;
  --sand: #D8B66A;
  --line: #DCE7E1;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(22, 48, 44, 0.10);
  --shadow-sm: 0 8px 24px rgba(22, 48, 44, 0.08);
  --hero-bg: #F2F8F4;
  --sage: #65A894;
  --sage-deep: #287767;
  --sage-tint: #DCEFE8;
}

body {
  background:
    radial-gradient(circle at 82% 9%, rgba(216, 182, 106, .18), transparent 28rem),
    linear-gradient(180deg, #FAFCFA 0%, var(--bg) 42%, #FFFFFF 100%);
}

.site-header {
  background: rgba(248, 250, 247, .88);
  box-shadow: 0 10px 35px rgba(24, 33, 31, .05);
}

.logo-mark {
  border-radius: 10px;
  background: linear-gradient(135deg, #287767, #63A58F);
}

.nav-cta,
.btn-primary,
.hx-btn--primary {
  background: #287767;
  box-shadow: 0 14px 32px rgba(40, 119, 103, .18);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255,255,255,.88), rgba(242,248,244,.72)),
    var(--hero-bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(40, 119, 103, .13);
  border-radius: 24px;
  pointer-events: none;
}

.hero-branch { opacity: .22; }
.hx-title { max-width: 620px; letter-spacing: 0; }
.hx-lead { max-width: 520px; }
.hx-tag,
.hx-place {
  background: #FFFFFF;
  border-color: rgba(40, 119, 103, .16);
  box-shadow: var(--shadow-sm);
}

.hero-portrait {
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(22, 48, 44, .18);
}

.hero-portrait img { border-radius: 24px; }
.hero-halo {
  background: linear-gradient(145deg, rgba(40,119,103,.13), rgba(216,182,106,.22));
  filter: blur(2px);
}

.hero-namecard {
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(22, 48, 44, .12);
}

.audience-card,
.card,
.step,
.form,
.promo {
  border-color: rgba(40, 119, 103, .13);
  box-shadow: var(--shadow-sm);
}

.audience-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.promo {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,245,241,.78)),
    #FFFFFF;
}

.site-footer {
  background: #172521;
}

/* Mobile polish for Timeweb deploy */
.logo-mark {
  width: 48px;
  min-width: 48px;
  height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(40, 119, 103, .18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 48, 44, .08);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 34px 0 68px;
  }

  .hero::before {
    inset: 14px;
    border-radius: 18px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-photo {
    order: -1;
    min-height: 390px;
  }

  .hero-portrait {
    width: min(72vw, 300px);
    height: min(96vw, 390px);
    border-radius: 24px;
  }

  .hero-portrait img {
    border-radius: 20px;
  }

  .hero-halo {
    width: min(92vw, 390px);
    height: min(92vw, 390px);
  }

  .hero-namecard {
    left: 50%;
    right: auto;
    bottom: 6px;
    width: min(86vw, 320px);
    transform: translateX(-50%);
    text-align: center;
    align-items: center;
  }

  .hx-title,
  .hx-lead,
  .hero-text {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 64px;
  }

  .logo {
    min-width: 0;
    gap: 10px;
  }

  .logo-mark {
    width: 44px;
    min-width: 44px;
    height: 34px;
    padding: 6px 8px;
  }

  .logo-text {
    min-width: 0;
    max-width: calc(100vw - 116px);
  }

  .logo-text small {
    max-width: 100%;
    overflow: hidden;
    font-size: .62rem;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    inset: 64px 0 auto 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: rgba(248, 250, 247, .98);
    box-shadow: 0 20px 45px rgba(24, 33, 31, .12);
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
    text-align: center;
  }

  .nav-cta {
    padding: 13px 18px !important;
  }

  .hero {
    padding: 24px 0 58px;
  }

  .hero::before {
    display: none;
  }

  .hero-photo {
    min-height: 350px;
  }

  .hero-branch {
    width: 160px;
    max-width: 46%;
    opacity: .14;
  }

  .hx-label {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .1em;
  }

  .hx-title {
    margin: 18px 0 16px;
    font-size: clamp(2.25rem, 14vw, 3.35rem);
  }

  .hx-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hx-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn,
  .hx-cta-row .btn,
  .contact-links a {
    width: 100%;
    text-align: center;
  }

  .hx-tags {
    align-items: stretch;
  }

  .hx-tag,
  .hx-place {
    margin-left: 0;
    text-align: center;
  }

  .two-col,
  .cards,
  .steps,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .audience-card,
  .step {
    padding: 24px;
  }

  .promo {
    padding: 28px 20px;
  }

  .reviews-carousel {
    margin-inline: -6px;
  }

  .rc-arrow {
    display: none;
  }

  .form {
    padding: 22px;
  }

  .field input,
  .field textarea {
    font-size: 16px;
  }

  .contact-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 14px;
  }

  .logo-text {
    font-size: .92rem;
  }

  .logo-text small {
    display: none;
  }

  .hero-photo {
    min-height: 318px;
  }

  .hero-portrait {
    width: min(78vw, 260px);
    height: min(102vw, 340px);
  }

  .hero-namecard {
    bottom: -2px;
    padding: 11px 14px;
  }

  .hx-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .section {
    padding: 54px 0;
  }
}

/* Motion and spatial hero refresh */
:root {
  --motion-smooth: cubic-bezier(.22, 1, .36, 1);
  --motion-gentle: cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-padding-top: 86px;
}

body {
  background: #f8faf8;
}

.site-header {
  transition: background .45s var(--motion-smooth), box-shadow .45s var(--motion-smooth), border-color .45s var(--motion-smooth);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(40, 119, 103, .16);
  box-shadow: 0 10px 30px rgba(23, 48, 43, .08);
}

.nav a {
  position: relative;
  transition: color .25s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--motion-smooth);
}

.nav a:not(.nav-cta):hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  isolation: isolate;
  background: #f2f8f4;
}

.hero::before {
  inset: 18px 0;
  border-color: rgba(40, 119, 103, .11);
  border-radius: 0;
}

.hero-branch,
.hero-halo {
  display: none;
}

.hero-photo {
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  z-index: 1;
  top: -20%;
  right: -29%;
  bottom: -18%;
  left: -29%;
  width: 158%;
  height: 138%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--motion-gentle);
}

.scene-ready .hero-scene {
  opacity: 1;
}

.hero-portrait {
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 30px 72px rgba(22, 48, 44, .18);
  transition: transform .7s var(--motion-smooth), box-shadow .7s var(--motion-smooth);
}

.hero-photo:hover .hero-portrait {
  transform: translateY(-6px);
  box-shadow: 0 38px 80px rgba(22, 48, 44, .23);
}

.hero-namecard {
  z-index: 4;
  border: 1px solid rgba(40, 119, 103, .1);
}

.hx-label {
  background: transparent;
  border-color: rgba(40, 119, 103, .24);
}

.hx-tags {
  gap: 14px;
}

.hx-tag,
.hx-place {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hx-tag + .hx-tag::before,
.hx-place::before {
  content: "·";
  margin-right: 14px;
  color: var(--sand);
}

.btn,
.card,
.audience-card,
.step,
.promo,
.form,
.rc-arrow,
.contact-links a {
  transition-timing-function: var(--motion-smooth);
}

.btn {
  transition-duration: .32s;
}

.btn:focus-visible,
.nav a:focus-visible,
.burger:focus-visible,
.rc-arrow:focus-visible,
.rc-dot:focus-visible,
.contact-links a:focus-visible {
  outline: 3px solid rgba(201, 183, 156, .72);
  outline-offset: 4px;
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--motion-gentle), transform .8s var(--motion-gentle);
  transition-delay: var(--reveal-delay, 0ms);
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .hero-text.reveal {
  transform: translateX(-26px);
}

html.motion-ready .hero-text.reveal.is-visible {
  transform: translateX(0);
}

html.motion-ready .hero-photo.reveal {
  transform: translateX(26px) scale(.98);
}

html.motion-ready .hero-photo.reveal.is-visible {
  transform: translateX(0) scale(1);
}

@media (max-width: 720px) {
  .hero::before {
    display: none;
  }

  .hero-scene {
    top: -26%;
    right: -42%;
    bottom: -24%;
    left: -42%;
    width: 184%;
    height: 150%;
    opacity: .78;
  }

  .hero-photo:hover .hero-portrait {
    transform: none;
    box-shadow: 0 30px 72px rgba(22, 48, 44, .18);
  }

  .hx-tags {
    gap: 8px 12px;
  }

  .hx-tag + .hx-tag::before,
  .hx-place::before {
    margin-right: 12px;
  }

  html.motion-ready .hero-text.reveal,
  html.motion-ready .hero-photo.reveal {
    transform: translateY(18px);
  }

  html.motion-ready .hero-text.reveal.is-visible,
  html.motion-ready .hero-photo.reveal.is-visible {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-scene {
    display: none;
  }
}

/* Layout reconstructed from the approved art direction. */
:root {
  --bg: #fbfbf8;
  --bg-soft: #f2f4ef;
  --ink: #20352b;
  --ink-soft: #5a625d;
  --accent: #294b3e;
  --accent-dk: #1e392f;
  --line: #e2e7e0;
  --white: #ffffff;
  --maxw: 1450px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 28px 70px rgba(28, 48, 40, .09);
  --shadow-sm: 0 14px 36px rgba(28, 48, 40, .06);
}

body {
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

html {
  overflow-x: clip;
}

.container {
  max-width: var(--maxw);
  padding: 0 40px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border: 0;
  box-shadow: none;
}

.site-header.is-scrolled {
  position: sticky;
  background: rgba(251, 251, 248, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 48, 40, .05);
}

.header-inner {
  position: relative;
  height: 94px;
}

.logo {
  flex: 0 0 auto;
  color: var(--ink);
}

.site-header .logo-mark,
.site-header .logo-text {
  display: none;
}

.logo-word {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1;
}

.nav {
  position: absolute;
  top: 50%;
  left: 50%;
  gap: clamp(20px, 2.4vw, 40px);
  transform: translate(-50%, -50%);
}

.nav a {
  font-family: var(--font-alt);
  font-size: .95rem;
  font-weight: 500;
  color: #1d2923;
  white-space: nowrap;
}

.nav a:not(.nav-cta)::after {
  bottom: -9px;
  height: 1px;
  color: var(--accent);
}

.nav .nav-cta {
  display: none;
}

.header-location {
  margin-left: auto;
  color: #27352e;
  font-family: var(--font-alt);
  font-size: .93rem;
  white-space: nowrap;
}

.hero {
  min-height: min(780px, calc(100svh - 94px));
  padding: 0;
  background: var(--bg);
}

.hero::before {
  display: none;
}

.hero-grid {
  min-height: min(760px, calc(100svh - 94px));
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
  gap: 0;
}

.hero-grid > *,
.two-col > *,
#audience .container > * {
  min-width: 0;
}

.hero-text {
  z-index: 4;
  align-self: center;
  padding: 28px 0 78px;
}

.hx-label,
.hero-namecard {
  display: none;
}

.hx-title {
  max-width: 770px;
  margin: 0 0 34px;
  font-size: clamp(3.15rem, 4.2vw, 4.75rem);
  font-weight: 500;
  line-height: .98;
  color: var(--ink);
}

.hx-lead {
  max-width: 540px;
  margin: 0 0 36px;
  color: #39443d;
  font-size: 1.08rem;
  line-height: 1.6;
}

.hx-cta-row {
  display: block;
  margin: 0;
}

.hx-btn--primary {
  display: inline-flex;
  width: min(100%, 360px);
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 16px 28px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: none;
  color: #fff;
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.hx-btn--primary:hover {
  background: var(--accent-dk);
  box-shadow: 0 12px 26px rgba(30, 57, 47, .18);
  transform: translateY(-3px);
}

.hx-btn--primary svg {
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: #d89b72;
}

.hx-tags {
  display: block;
  margin-top: 18px;
}

.hx-tag {
  display: none;
}

.hx-place,
.hx-place::before {
  margin: 0;
  color: #91978f;
  font-size: .96rem;
}

.hx-place::before {
  content: none;
}

.hero-photo {
  min-height: min(760px, calc(100svh - 94px));
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: clamp(4px, 3vw, 56px);
}

.hero-scene {
  z-index: 1;
  top: -14%;
  right: -15%;
  bottom: -10%;
  left: -38%;
  width: 153%;
  height: 124%;
}

.hero-portrait {
  z-index: 2;
  width: min(36vw, 500px);
  height: min(650px, calc(100svh - 118px));
  border: 0;
  border-radius: 250px 250px 0 0;
  box-shadow: none;
}

.hero-portrait img {
  border-radius: inherit;
  object-position: center 20%;
}

.hero-photo:hover .hero-portrait {
  box-shadow: none;
  transform: translateY(-4px);
}

.section {
  padding: 128px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  color: #c78357;
  font-family: var(--font-alt);
  font-size: .7rem;
  letter-spacing: .2em;
}

.section-intro {
  color: var(--ink-soft);
}

.two-col {
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 10vw, 160px);
}

.portrait {
  width: 100%;
  min-height: 540px;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.facts {
  margin-top: 2.3rem;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

#audience .container {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .75fr);
  column-gap: clamp(56px, 13vw, 210px);
}

#audience .container > .eyebrow,
#audience .container > h2 {
  grid-column: 1;
  text-align: left;
}

#audience .container > .section-intro {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: none;
  margin: 0 0 .5rem;
  text-align: left;
}

.audience-grid {
  grid-column: 1 / -1;
  gap: 0;
  margin-top: 84px;
  border-top: 1px solid rgba(32, 53, 43, .2);
}

.audience-card {
  min-height: 100%;
  padding: 30px 34px 28px;
  border: 0;
  border-left: 1px solid rgba(32, 53, 43, .2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.audience-card:first-child {
  border-left: 0;
  padding-left: 0;
}

.audience-card:hover {
  box-shadow: none;
  transform: none;
}

.audience-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b06f4c;
  font-family: var(--font-alt);
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.audience-card h3 {
  font-size: 1.58rem;
  font-weight: 500;
}

.audience-card li::before {
  color: #c78357;
}

.promo {
  padding: 68px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cards {
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 100%;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card:nth-child(3n) {
  border-right: 0;
}

.card:hover {
  box-shadow: none;
  transform: none;
}

.card h3 {
  font-weight: 500;
}

.steps {
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step {
  padding: 32px 28px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.step:first-child {
  border-left: 0;
}

.card-review,
.form {
  border-radius: 0;
}

.site-footer {
  background: #1e392f;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .header-location {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
  }

  .hero-portrait {
    width: min(40vw, 465px);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled {
    position: sticky;
    top: 0;
  }

  .header-inner {
    height: 72px;
  }

  .logo-word {
    font-size: 2.35rem;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    gap: 0;
    transform: translateY(-120%);
  }

  .nav.open {
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 66px 0 42px;
  }

  .hero-photo {
    order: 0;
    min-height: 560px;
    padding-right: 5vw;
  }

  .hero-portrait {
    width: min(68vw, 430px);
    height: 540px;
  }

  .hero-scene {
    top: -14%;
    right: -12%;
    bottom: -12%;
    left: -22%;
    width: 134%;
    height: 126%;
  }

  #audience .container {
    grid-template-columns: 1fr;
  }

  #audience .container > .section-intro {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .audience-grid {
    margin-top: 54px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 22px;
  }

  .hero-text {
    padding: 48px 0 34px;
  }

  .hx-title {
    margin-bottom: 26px;
    font-size: clamp(2.75rem, 12vw, 4.1rem);
    line-height: 1.01;
  }

  .hx-lead {
    margin-bottom: 28px;
    font-size: 1rem;
  }

  .hx-btn--primary {
    width: 100%;
  }

  .hero-photo {
    min-height: 430px;
    padding-right: 0;
  }

  .hero-portrait {
    width: min(77vw, 330px);
    height: 420px;
    border-radius: 180px 180px 0 0;
  }

  .hero-scene {
    top: -18%;
    right: -28%;
    bottom: -12%;
    left: -35%;
    width: 168%;
    height: 130%;
  }

  .section {
    padding: 78px 0;
  }

  .two-col {
    gap: 38px;
  }

  .portrait {
    min-height: 420px;
  }

  .audience-card,
  .audience-card:first-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 53, 43, .2);
    border-left: 0;
  }

  .card,
  .card:nth-child(3n) {
    padding: 26px 0;
    border-right: 0;
  }

  .step,
  .step:first-child {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }
}

/* Final mobile safeguards: these must stay last in the cascade. */
@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner { height: 64px; }
  .logo-word { font-size: 2.1rem; }
  .burger { width: 44px; min-width: 44px; height: 44px; }

  .nav {
    top: 64px;
    max-height: calc(100dvh - 64px);
    padding: 10px 16px 18px;
    overflow-y: auto;
  }

  .nav a {
    min-height: 44px;
    padding: 10px 8px;
    white-space: normal;
  }

  .hero,
  .hero-grid { min-height: 0; }
  .hero-text { padding: 38px 0 30px; }

  .hx-title {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 2.75rem;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hx-lead {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hx-btn--primary,
  .btn,
  .contact-links a {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hx-btn--primary { justify-content: space-between; text-align: left; }
  .hx-place { display: block; font-size: .9rem; line-height: 1.45; }

  .hero-photo {
    width: 100%;
    min-height: 400px;
    padding: 0;
    overflow: hidden;
  }

  .hero-portrait {
    width: min(82vw, 320px);
    max-width: calc(100vw - 40px);
    height: 390px;
  }

  .hero-scene { max-width: none; max-height: none; }
  .section { padding: 58px 0; }

  h2 { font-size: 2.25rem; line-height: 1.08; overflow-wrap: break-word; }
  h3 { font-size: 1.45rem; line-height: 1.2; overflow-wrap: break-word; }
  p, li, label, .section-intro { overflow-wrap: break-word; }

  .two-col,
  .cards,
  .steps,
  .audience-grid,
  #audience .container {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait { width: 100%; min-height: 0; aspect-ratio: 4 / 5; }
  .audience-grid { margin-top: 36px; }

  .audience-card,
  .audience-card:first-child,
  .card,
  .card:nth-child(3n),
  .step,
  .step:first-child {
    width: 100%;
    min-width: 0;
    padding: 24px 0;
  }

  .promo { padding: 34px 0; }
  .form { width: 100%; min-width: 0; padding: 20px 16px; }
  .field input, .field textarea { width: 100%; min-width: 0; font-size: 16px; }
  .contact-links { width: 100%; align-items: stretch; }

  html.motion-ready .reveal,
  html.motion-ready .hero-text.reveal,
  html.motion-ready .hero-photo.reveal,
  html.motion-ready .reveal.is-visible,
  html.motion-ready .hero-text.reveal.is-visible,
  html.motion-ready .hero-photo.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .hero-photo:hover .hero-portrait { transform: none; }
}

@media (max-width: 360px) {
  .container { padding-right: 12px; padding-left: 12px; }
  .hx-title { font-size: 2.15rem; }
  h2 { font-size: 2rem; }
  .hero-photo { min-height: 350px; }
  .hero-portrait { width: min(84vw, 280px); height: 350px; }
  .form { padding-right: 12px; padding-left: 12px; }
}
