@font-face {
  font-family: Optima;
  unicode-range: U+0-BF, U+100-10FFFF;
  src: url('/assets/fonts/Optima.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  unicode-range: U+0-BF, U+100-10FFFF;
  src: url('/assets/fonts/Gilroy-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  unicode-range: U+0-BF, U+100-10FFFF;
  src: url('/assets/fonts/Gilroy-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  unicode-range: U+0-BF, U+100-10FFFF;
  src: url('/assets/fonts/Gilroy-Semibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
/* Design tokens */
:root {
  --ink: #0b0a52;
  --text: #34345f;
  --paper: #f4f3fb;
  --lavender: #d7d4f5;
  --accent: #1e14c8;
  --line: #d8d5eb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8980ed;
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Optima, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  margin-bottom: 24px;
}
p {
  color: var(--text);
  margin-bottom: 22px;
}
svg {
  width: 46px;
  height: 46px;
}
.container {
  width: calc(100% - 120px);
  max-width: 1280px;
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 16px;
}
.skip:focus {
  top: 0;
}
/* Site navigation */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 243, 251, 0.97);
  border-bottom: 1px solid rgba(30, 20, 200, 0.08);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 90px;
  max-width: 1280px;
  width: calc(100% - 120px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand img {
  width: 90px;
  height: 80px;
  object-fit: contain;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-left: auto;
}
.header-inner nav a {
  font-size: 14px;
  padding: 12px 0;
  position: relative;
  white-space: nowrap;
}
.header-inner nav a:after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: 5px;
  background: var(--ink);
  transition: right 0.25s;
}
.header-inner nav a:hover:after,
.header-inner nav a.active:after {
  right: 0;
}
.menu summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 12px;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary span {
  display: block;
  width: 30px;
  height: 2.5px;
  background: var(--ink);
  transition: transform 0.25s;
}
.menu[open] summary span:first-child {
  transform: translateY(8.5px) rotate(45deg);
}
.menu[open] summary span:nth-child(2) {
  opacity: 0;
}
.menu[open] summary span:last-child {
  transform: translateY(-8.5px) rotate(-45deg);
}
.menu-panel {
  position: absolute;
  right: 5%;
  top: calc(100% + 10px);
  width: min(360px, 90vw);
  padding: 24px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 80px #0b0a5226;
  animation: appear 0.2s ease-out;
}
.menu-panel a {
  display: block;
  padding: 10px 0;
}
.menu-panel a:hover {
  color: var(--accent);
}
.menu-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 15px 0;
}
/* Homepage sections */
.hero {
  background:
    linear-gradient(0deg, rgba(1, 5, 19, 0.27), transparent 60%),
    url('/assets/hero.webp') center 52% / cover;
  color: #f4f1ff;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
  padding-top: 125px;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.1vw, 4rem);
  letter-spacing: 1px;
  margin-bottom: 14px;
  line-height: 1.02;
}
.hero-sub {
  font:
    clamp(1.3rem, 2.5vw, 2rem)/1.1 Optima,
    Arial,
    sans-serif;
  letter-spacing: 1.3px;
  color: #efecff;
}
.hero-free {
  font:
    clamp(1.2rem, 2.3vw, 1.8rem)/1.3 Optima,
    Arial,
    sans-serif;
  color: #f4f1ff;
  margin: 14px 0;
}
.short-rule {
  width: 70px;
  border-top: 1px solid #c4bff594;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--lavender);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 40px;
  padding: 15px 34px;
  font-weight: 600;
  min-height: 56px;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  background: #e6e2ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #10038120;
}
.button span {
  font-size: 25px;
  line-height: 1;
}
.hero .button {
  min-width: 263px;
  margin-top: 0;
}
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 0;
}
.feature {
  padding: 27px 15px 25px;
  min-height: 149px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 17px;
  border: 1px solid #8278d97a;
  background: linear-gradient(130deg, #302d77ec, #20195fea);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 35px #8474d510;
  transition:
    transform 0.35s,
    background 0.35s,
    border-color 0.35s;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: #c4b9ff;
  background: #363080ef;
}
.feature svg {
  width: 36px;
  height: 36px;
  color: #d7ccff;
}
.feature span {
  text-align: center;
  font:
    20px/1.4 Optima,
    Arial,
    sans-serif;
}
.hero-quote {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 65px 0 35px;
  margin-block: 0;
}
.hero-quote > span {
  width: 48px;
  flex-shrink: 0;
  border-top: 1px solid #d7d4f580;
}
.hero-quote p {
  font:
    italic 20px/1.4 Optima,
    Arial,
    sans-serif;
  color: #fff;
  margin: 0;
}
.hero-quote cite {
  font-style: normal;
}
.split {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 65px;
  align-items: start;
}
.about {
  padding: 55px 0 48px;
  background: linear-gradient(120deg, #f4f3fb, #f7f6fd);
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}
.about .eyebrow:after,
.consult .eyebrow:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  border-top: 1px solid #7770a3;
  margin-left: 20px;
}
.about h2 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  margin-bottom: 24px;
}
.about p {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 22px;
}
.about-art {
  height: 460px;
  border-radius: 17px;
  background:
    linear-gradient(180deg, #ffffff05, #0b0a5205),
    url('/assets/about.webp') center/cover;
  overflow: hidden;
  position: relative;
  color: #161440;
  transition: filter 0.5s;
}
.about-art:hover {
  filter: saturate(1.15);
}
.about-art > div {
  padding: 36px 40px;
  font:
    23px/1.13 Optima,
    Arial,
    sans-serif;
}
.about-art i,
.conversation-art i {
  display: block;
  width: 58px;
  border-top: 1px solid currentColor;
  margin-top: 25px;
}
.about-art > span {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 14px;
  letter-spacing: 3px;
  color: white;
}
.consult {
  padding: 50px 0 75px;
  background: linear-gradient(115deg, #fff, #f7f6ff);
}
.consultation-split {
  grid-template-columns: 1.5fr 0.95fr;
  gap: 70px;
}
.consult h2 {
  margin-bottom: 7px;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
}
.subheading {
  font:
    clamp(1.6rem, 2.5vw, 2.25rem)/1.2 Optima,
    Arial,
    sans-serif;
  color: #7667ac;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}
.consult p {
  font-size: 18px;
  line-height: 1.4;
}
.checklist {
  padding: 0;
  margin: 26px 0 28px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.checklist li {
  padding-left: 45px;
  position: relative;
  color: var(--text);
  font-size: 16px;
  min-height: 29px;
  display: flex;
  align-items: center;
}
.checklist li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--ink);
  background: #c7beff;
  font-size: 22px;
}
.conversation-art {
  border-radius: 18px;
  padding: 48px 25px 120px;
  text-align: center;
  min-height: 525px;
  background: #efedff url('/assets/soft.webp') center bottom/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.conversation-art:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px #0b0a5210;
}
.conversation-art svg {
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
}
.conversation-art h3 {
  font-size: 28px;
  line-height: 1.08;
  margin: 0;
}
.conversation-art i {
  width: 44px;
  margin: 30px 0 24px;
}
.conversation-art p {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
}
.page-intro {
  padding-top: 70px;
  padding-bottom: 45px;
}
.page-intro h1 {
  max-width: 1020px;
  margin-bottom: 24px;
}
.lead {
  font-size: 21px;
  max-width: 760px;
  line-height: 1.55;
  margin-bottom: 0;
}
/* Services and pricing */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  background: white;
  border: 1px solid #dedbed;
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px #0b0a520b;
}
.service-card > img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.service-card-body {
  padding: 28px;
}
.service-card h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.service-card p {
  font-size: 16px;
}
.service-card .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
}
.text-link {
  color: var(--accent);
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover {
  border-color: currentColor;
}
.section-space {
  padding-top: 65px;
  padding-bottom: 65px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}
caption {
  text-align: left;
  padding: 20px 24px;
  font-size: 18px;
  color: var(--ink);
  background: #ebe8f8;
}
th,
td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid #e6e2ef;
}
th {
  font-weight: 400;
}
thead th {
  font-size: 14px;
  color: #625989;
}
td {
  white-space: nowrap;
  color: var(--ink);
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f9f8fe;
}
.small {
  font-size: 14px !important;
  color: #6d668b;
  margin-top: 16px;
}
.program-strip {
  background: var(--ink);
  padding: 52px 0;
  color: var(--paper);
}
.program-strip > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.program-strip h2 {
  font-size: 40px;
  margin: 12px 0;
}
.program-strip p {
  color: var(--lavender);
  margin: 0;
}
.program-strip .button {
  flex-shrink: 0;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  padding-bottom: 85px;
}
.article-content {
  font-size: 18px;
  line-height: 1.65;
}
.article-content h2 {
  font-size: 30px;
  margin: 35px 0 16px;
}
.article-content > h2:first-child {
  margin-top: 0;
}
.article-content .button {
  font-size: 16px;
  margin: 0 8px 30px 0;
}
.article-content .service-card {
  margin-bottom: 20px;
}
.article-content .service-card h2 {
  margin-top: 0;
}
.booking-aside {
  position: sticky;
  top: 125px;
  align-self: start;
  background: #eae6fa url('/assets/paper.webp') center/cover;
  padding: 30px;
  border-radius: 18px;
}
.booking-aside h2 {
  font-size: 32px;
}
.booking-aside p {
  font-size: 16px;
}
.booking-aside .button {
  width: 100%;
  padding: 14px 24px;
  margin: 10px 0 24px;
}
.booking-aside > a:not(.button) {
  display: block;
  text-align: center;
}
.notice {
  padding: 24px;
  border-left: 3px solid #8173c7;
  background: #e9e5f8;
  border-radius: 0 10px 10px 0;
  margin-bottom: 28px;
  font-size: 17px;
}
.emergency {
  background: #f1e9ed;
  border-color: #9b667b;
}
.notice a {
  text-decoration: underline;
}
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.program-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  transition: transform 0.3s;
}
.program-card:nth-child(2) {
  background: #eeebfc;
}
.program-card:nth-child(3) {
  background: var(--ink);
  color: white;
}
.program-card:nth-child(3) p,
.program-card:nth-child(3) .text-link {
  color: #d7d4f5;
}
.program-card:hover {
  transform: translateY(-5px);
}
.program-card h2 {
  font-size: 36px;
}
.program-card p {
  min-height: 72px;
}
.price {
  font:
    36px/1.2 Optima,
    Arial,
    sans-serif;
  margin: 24px 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 80px;
}
/* Specialist profiles */
.specialist-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.specialist-card > img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s;
}
.specialist-card:hover > img {
  transform: scale(1.025);
}
.specialist-details {
  padding: 28px;
}
.specialist-card h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
.specialist-role {
  color: #7765a1;
  font-size: 14px;
  margin-bottom: 20px;
}
.specialist-card p {
  font-size: 16px;
}
.portrait-placeholder {
  height: 320px;
  display: grid;
  place-items: center;
  background: #e9e6f5;
  color: #8f83ad;
  font:
    80px Optima,
    Arial,
    sans-serif;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 90px;
}
.contact-primary {
  padding: 40px;
  border-radius: 18px;
  background: #eeebfb url('/assets/soft.webp') center/cover;
  align-self: start;
  min-height: 390px;
}
.contact-primary h2 {
  font-size: 42px;
}
.contact-email {
  font:
    32px Optima,
    Arial,
    sans-serif;
  display: inline-block;
  margin-bottom: 26px;
}
.contact-person {
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--line);
}
.contact-person:first-child {
  padding-top: 0;
}
.contact-person h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.contact-person > a {
  display: block;
  font-size: 20px;
  margin-top: 8px;
}
.contact-person .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
}
.blog-empty {
  padding: 55px;
  background: #ebe8f8 url('/assets/soft.webp') center/cover;
  border-radius: 20px;
  margin-bottom: 90px;
}
.blog-empty h2 {
  font-size: 42px;
}
footer {
  background: var(--ink);
  color: var(--lavender);
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}
.footer-brand {
  font:
    28px Optima,
    Arial,
    sans-serif;
  color: #efedff;
}
.footer-grid p {
  color: #bcb8df;
  font-size: 14px;
  margin-top: 14px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-grid a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #d7d4f526;
  margin-top: 35px;
  padding: 22px 0;
  color: #a5a0cc;
  font-size: 12px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-copy {
  animation: appear 0.7s both;
}
.hero-features {
  animation: appear 0.85s 0.1s both;
}
.page-intro {
  animation: appear 0.6s both;
}
@media (min-width: 1500px) {
  .hero-main {
    padding-top: 135px;
  }
  .hero {
    min-height: 760px;
  }
  .feature {
    min-height: 170px;
  }
  .hero h1 {
    font-size: 64px;
  }
}
@media (max-width: 1150px) {
  .container,
  .header-inner {
    width: calc(100% - 90px);
  }
  .header-inner {
    height: 78px;
    gap: 20px;
  }
  .brand img {
    width: 77px;
    height: 70px;
  }
  .header-inner nav {
    gap: 26px;
  }
  .header-inner nav a {
    font-size: 13px;
  }
  .hero {
    min-height: 625px;
  }
  .hero-main {
    padding-top: 110px;
    gap: 30px;
    grid-template-columns: 1.3fr 1fr;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-sub {
    font-size: 26px;
  }
  .hero-free {
    font-size: 25px;
  }
  .hero .button {
    min-width: 235px;
  }
  .feature {
    min-height: 133px;
    padding: 20px 10px;
    gap: 12px;
  }
  .feature span {
    font-size: 18px;
  }
  .feature svg {
    width: 32px;
    height: 32px;
  }
  .hero-quote {
    padding: 70px 0 30px;
  }
  .hero-quote p {
    font-size: 18px;
  }
  .split {
    gap: 45px;
  }
  .about-art {
    height: 410px;
  }
  .about p {
    font-size: 16px;
  }
  .about-art > div {
    font-size: 20px;
    padding: 34px;
  }
  .consultation-split {
    gap: 50px;
    grid-template-columns: 1.55fr 1fr;
  }
  .consult p {
    font-size: 16px;
  }
  .consult h2 {
    font-size: 43px;
  }
  .checklist li {
    font-size: 14px;
    padding-left: 40px;
  }
  .conversation-art {
    min-height: 465px;
    padding: 40px 22px 85px;
  }
  .conversation-art h3 {
    font-size: 25px;
  }
  .conversation-art p {
    font-size: 16px;
  }
  .article-grid {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .service-grid {
    gap: 18px;
  }
  .service-card-body {
    padding: 23px;
  }
  .service-card h2 {
    font-size: 25px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 850px) {
  .header-inner nav {
    display: none;
  }
  .container,
  .header-inner {
    width: calc(100% - 48px);
  }
  .hero-main {
    grid-template-columns: 1fr;
    padding-top: 65px;
    gap: 40px;
  }
  .hero {
    background-position: 50% center;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-sub {
    font-size: 28px;
  }
  .hero-features {
    max-width: 600px;
  }
  .feature {
    min-height: 140px;
  }
  .hero-quote {
    padding-top: 45px;
  }
  .hero-quote p {
    font-size: 16px;
  }
  .hero-quote .desktop {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-art {
    height: 420px;
  }
  .about {
    padding-top: 45px;
  }
  .about p {
    font-size: 17px;
  }
  .consultation-split {
    grid-template-columns: 1fr;
  }
  .conversation-art {
    min-height: 450px;
    padding-bottom: 80px;
  }
  .checklist li {
    font-size: 16px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .booking-aside {
    position: static;
    max-width: none;
  }
  .booking-aside .button {
    max-width: 300px;
  }
  .booking-aside > a:not(.button) {
    text-align: left;
  }
  .program-strip > .container {
    flex-direction: column;
    align-items: start;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .page-intro {
    padding-top: 45px;
  }
  .hero .button {
    margin-top: 4px;
  }
}
@media (max-width: 520px) {
  .container,
  .header-inner {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 76px;
  }
  .brand img {
    height: 67px;
    width: 73px;
  }
  .hero-main {
    padding-top: 52px;
  }
  .hero h1 {
    font-size: 35px;
    letter-spacing: 0.2px;
  }
  .hero-sub {
    font-size: 22px;
    letter-spacing: 0.3px;
  }
  .hero-free {
    font-size: 22px;
    max-width: 320px;
  }
  .hero-features {
    gap: 10px;
  }
  .feature {
    min-height: 126px;
    padding: 18px 10px;
    border-radius: 13px;
  }
  .feature span {
    font-size: 17px;
  }
  .hero-quote {
    gap: 14px;
    padding: 38px 0 28px;
  }
  .hero-quote > span {
    width: 22px;
  }
  .hero-quote p {
    font-size: 15px;
    line-height: 1.45;
  }
  .about h2 {
    font-size: 40px;
  }
  .about-art {
    height: 390px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
  }
  .consult h2 {
    font-size: 36px;
  }
  .subheading {
    font-size: 26px;
  }
  .consult .eyebrow:after {
    width: 30px;
    margin-left: 12px;
  }
  .consult p {
    font-size: 17px;
  }
  .checklist {
    gap: 15px;
  }
  .checklist li {
    font-size: 15px;
  }
  .conversation-art h3 {
    font-size: 30px;
  }
  .conversation-art p {
    font-size: 18px;
  }
  .consult {
    padding-bottom: 50px;
  }
  .service-grid,
  .program-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .service-card > img {
    height: 190px;
  }
  .page-intro h1 {
    font-size: 39px;
    overflow-wrap: anywhere;
  }
  .lead {
    font-size: 18px;
  }
  .article-content {
    font-size: 17px;
  }
  .article-content h2 {
    font-size: 29px;
  }
  .program-card {
    padding: 30px;
  }
  .program-card h2 {
    font-size: 32px;
  }
  .contact-primary {
    padding: 27px;
  }
  .contact-email {
    font-size: 27px;
  }
  .blog-empty {
    padding: 30px;
  }
  .blog-empty h2 {
    font-size: 31px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .specialist-card > img {
    height: 360px;
  }
  .article-grid {
    padding-bottom: 50px;
  }
  .button {
    padding: 14px 25px;
    font-size: 15px;
  }
  .section-space {
    padding-block: 45px;
  }
  th,
  td {
    padding: 14px 18px;
  }
  table {
    font-size: 14px;
  }
  .program-strip h2 {
    font-size: 34px;
  }
}
footer .text-link {
  color: var(--lavender);
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.language-switch a {
  padding: 8px 0;
  opacity: 0.65;
  border-bottom: 1px solid transparent;
}
.language-switch a:hover,
.language-switch a[aria-current='page'] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.header-inner {
  gap: 22px;
}
.header-inner nav {
  gap: 22px;
}
html:not([lang='ru']) h1,
html:not([lang='ru']) h2,
html:not([lang='ru']) h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}
html:not([lang='ru']) .hero h1 {
  line-height: 1.1;
}
html:not([lang='ru']) .hero-sub {
  line-height: 1.2;
  letter-spacing: 0.3px;
}
html:not([lang='ru']) .hero-free {
  line-height: 1.35;
}
html:not([lang='ru']) .hero-quote br.desktop {
  display: none;
}
html:not([lang='ru']) .button {
  gap: 18px;
  white-space: normal;
}
html:not([lang='ru']) .feature span {
  hyphens: auto;
  overflow-wrap: break-word;
}
html:not([lang='ru']) .article-content,
html:not([lang='ru']) .contact-primary {
  overflow-wrap: break-word;
}
/* Responsive layouts */
@media (max-width: 1100px) {
  .header-inner nav {
    display: none;
  }
  .language-switch {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .header-inner {
    gap: 15px;
  }
  .language-switch {
    gap: 12px;
    font-size: 14px;
  }
  html:not([lang='ru']) .hero h1 {
    font-size: 35px;
  }
  html:not([lang='ru']) .hero-sub {
    font-size: 21px;
  }
  html:not([lang='ru']) .hero-free {
    font-size: 21px;
  }
  html:not([lang='ru']) .feature span {
    font-size: 16px;
  }
  html:not([lang='ru']) .page-intro h1 {
    font-size: 35px;
  }
}
.feature span {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.contact-primary h2:not(:first-of-type) {
  font-size: 28px;
  margin-top: 32px;
  margin-bottom: 16px;
}
.contact-portal {
  margin-top: 30px;
}
.contact-form-section {
  padding-top: 0;
  max-width: 900px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 145px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid #8980ed;
  outline-offset: 3px;
}
.contact-form .form-wide {
  grid-column: 1/-1;
}
.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}
@media (max-width: 520px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}
/* Keep the homepage benefit grid near one third of the desktop viewport. */
@media (min-width: 851px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 36%);
    gap: 48px;
  }
  .hero-features {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature {
    min-height: 136px;
    padding: 22px 12px;
    gap: 12px;
  }
  .feature span {
    font-size: 18px;
    line-height: 1.35;
  }
  .feature svg {
    width: 33px;
    height: 33px;
  }
}
@media (min-width: 851px) and (max-width: 1150px) {
  .hero-main {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(306px, 36%);
  }
  .feature {
    min-height: 124px;
    padding: 18px 10px;
  }
  .feature span {
    font-size: 16px;
  }
}
.conversation-art .conversation-icon {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: -12px 0 14px;
  flex-shrink: 0;
}
.header-inner nav a:after,
.menu summary span {
  background: currentColor;
}
.menu-panel {
  color: var(--ink);
}
@keyframes header-scroll {
  from {
    background-color: rgba(244, 243, 251, 0.97);
    color: #0b0a52;
    border-bottom-color: rgba(30, 20, 200, 0.08);
  }
  to {
    background-color: #0b0a52;
    color: #d7d4f5;
    border-bottom-color: #292773;
  }
}
@supports (animation-timeline: scroll()) {
  header {
    animation: header-scroll 1s linear both !important;
    animation-timeline: scroll(root block) !important;
    animation-range: 0px 100px !important;
  }
}
/* Native transitions preserve the persistent header between documents. */
@view-transition {
  navigation: auto;
}
header {
  view-transition-name: site-header;
}
::view-transition-old(root) {
  animation: page-out 0.22s ease-in both;
}
::view-transition-new(root) {
  animation: page-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
::view-transition-group(site-header) {
  animation-duration: 0.35s;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scroll-reveal {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes image-reveal {
  from {
    opacity: 0;
    translate: 0 36px;
    scale: 0.97;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@supports (animation-timeline: view()) {
  .about .eyebrow,
  .about h2,
  .about p,
  .consult .eyebrow,
  .consult h2,
  .consult .subheading,
  .consult p,
  .checklist li,
  .article-content > h2,
  .article-content > p,
  .section-space > h2,
  .section-space > .eyebrow,
  .contact-person,
  .program-strip h2,
  .program-strip p {
    animation: scroll-reveal 1s linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 95%;
  }
  .about-art,
  .conversation-art,
  .service-card,
  .specialist-card,
  .program-card,
  .table-wrap,
  .contact-primary,
  .blog-empty {
    animation: image-reveal 1s linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  @supports (animation-timeline: scroll()) {
    header {
      animation: header-scroll 1s steps(1, end) both !important;
      animation-timeline: scroll(root block) !important;
      animation-range: 0px 1px !important;
    }
  }
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(site-header) {
    animation: none !important;
  }
}

@media (min-width: 851px) and (max-width: 1150px) {
  .feature span {
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: normal;
    hyphens: manual;
  }
}

/* Keep service photography proportional at every card width. */
.service-grid .service-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.specialist-card > img {
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
}
.about-art {
  height: auto;
  aspect-ratio: 4/5;
  background-position: center;
  max-height: 560px;
}
@media (max-width: 600px) {
  .about-art {
    max-height: none;
  }
  .service-grid .service-card > img {
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* Supplied photographs have white margins inside the files. Crop those within the frame. */
.card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-photo > img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
  width: 119%;
  height: 119%;
  left: -9.5%;
  top: -9.5%;
}
.photo-in-person > img {
  width: 114%;
  height: 114%;
  left: -5.1%;
  top: -7%;
}
.photo-home-support > img {
  width: 120%;
  height: 120%;
  left: -5.7%;
  top: -10%;
}
