@font-face {
  font-family: "DejaVu Sans";
  src: url("assets/fonts/DejaVuSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans";
  src: url("assets/fonts/DejaVuSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Serif";
  src: url("assets/fonts/DejaVuSerif.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Serif";
  src: url("assets/fonts/DejaVuSerif-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f3f0;
  --surface: #fffdfb;
  --ink: #414247;
  --plum: #705363;
  --rose: #bf8993;
  --sage: #858f80;
  --taupe: #a58f83;
  --line: #d8d1cd;
  --plum-soft: #eee8eb;
  --rose-soft: #f2e4e6;
  --sage-soft: #e6e9e4;
  --taupe-soft: #ebe5e1;
  --serif: "DejaVu Serif", Georgia, serif;
  --sans: "DejaVu Sans", Arial, sans-serif;
  --shadow: 0 22px 60px rgba(65, 66, 71, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.container {
  width: min(1200px, calc(100% - 10vw));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--plum);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 240, 0.96);
}

.site-header__inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(210px, 23vw, 285px);
}

.site-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px 25px;
}

.site-nav a,
.footer-nav a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.site-nav a {
  padding-block: 10px;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--plum);
}

.site-nav__contact {
  padding: 10px 17px !important;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: var(--plum);
}

.site-nav__contact:hover {
  color: #fff !important;
  background: var(--plum);
}

.nav-toggle {
  display: none;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .site-header__inner {
    min-height: 84px;
  }

  .js .nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-toggle__label {
    font-size: 13px;
  }

  .nav-toggle__icon {
    display: flex;
    width: 26px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-toggle__icon span {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }

  .site-nav {
    width: 100%;
    padding: 18px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 14px 5vw 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(65, 66, 71, 0.1);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav__contact {
    margin-top: 12px;
    padding: 12px 17px !important;
    border-bottom: 1px solid var(--plum) !important;
    text-align: center;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7.5vw, 112px) 0 0;
}

.hero::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 310px;
  height: 310px;
  border: 54px solid rgba(191, 137, 147, 0.13);
  border-radius: 50%;
  content: "";
}

.hero__route {
  position: absolute;
  top: 96px;
  left: -145px;
  width: 330px;
  height: 150px;
  border: solid rgba(112, 83, 99, 0.16);
  border-width: 3px 3px 0 0;
  border-radius: 0 140px 0 0;
  transform: rotate(12deg);
}

.hero__route::after {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.hero__content,
.hero__photo,
.experience__content {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.eyebrow {
  max-width: 65ch;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, 4.25vw, 4.2rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 3.8vw, 4rem);
}

.hero__lead {
  max-width: 59ch;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 25px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--plum);
  border-radius: 2px;
  color: #fff;
  background: var(--plum);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #5e4553;
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--plum);
  background: transparent;
}

.button--secondary:hover {
  color: #fff;
  background: var(--plum);
}

.hero__photo {
  position: relative;
  margin: 0 0 36px;
}

.hero__photo-underlay {
  position: absolute;
  z-index: -1;
  inset: 34px -28px -28px 42px;
  border-radius: 48% 48% 4px 4px;
  background: var(--taupe-soft);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 0.9;
  border-radius: 48% 48% 4px 4px;
  object-fit: cover;
  object-position: 56% center;
  box-shadow: var(--shadow);
}

.hero__photo figcaption {
  width: min(88%, 380px);
  margin: -30px 0 0 auto;
  padding: 18px 21px;
  color: #fff;
  background: var(--plum);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  transform: translateX(22px);
}

.trust-line {
  position: relative;
  display: grid;
  margin-top: clamp(70px, 8vw, 116px);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-line p {
  display: flex;
  min-height: 122px;
  margin: 0;
  padding: 25px clamp(16px, 3vw, 40px);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-line p:first-child {
  padding-left: 0;
}

.trust-line p:last-child {
  border-right: 0;
}

.trust-line strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.trust-line span {
  margin-top: 3px;
  font-size: 13px;
}

.section {
  padding: clamp(76px, 8vw, 124px) 0;
}

.section-heading {
  display: grid;
  margin-bottom: 45px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  column-gap: 45px;
  align-items: end;
}

.section-heading .section-kicker,
.section-heading h2 {
  grid-column: 1;
}

.section-heading > p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: end;
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 355px;
  padding: clamp(28px, 4vw, 52px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::after {
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 172px;
  height: 172px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.2;
  content: "";
}

.service-card--plum { color: #fff; background: var(--plum); }
.service-card--sage { background: var(--sage-soft); border-color: #cbd0c8; }
.service-card--rose { background: var(--rose-soft); border-color: #e2cdd1; }
.service-card--taupe { background: var(--taupe-soft); border-color: #d9ccc5; }

.service-card__number {
  margin-bottom: 40px;
  font-family: var(--serif);
  font-size: 14px;
  opacity: 0.75;
}

.service-card h3,
.case-card h3,
.route-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

.service-card h3 {
  max-width: 17ch;
  font-size: clamp(27px, 2.5vw, 38px);
}

.service-card p {
  max-width: 52ch;
  margin: 20px 0 30px;
  font-size: 15px;
}

.service-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.service-card a span,
.text-link span {
  transition: transform 0.2s ease;
}

.service-card a:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.experience {
  background: var(--paper);
}

.experience__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.experience__photo {
  position: relative;
  margin: 0;
  padding: 0 0 24px 24px;
}

.experience__photo::before {
  position: absolute;
  z-index: 0;
  inset: 46px 45px 0 0;
  background: var(--sage);
  content: "";
}

.experience__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center;
}

.experience__intro {
  max-width: 59ch;
  margin: 25px 0 0;
  font-size: 17px;
}

.facts {
  margin: 38px 0 30px;
}

.facts div {
  display: grid;
  padding: 18px 0;
  grid-template-columns: minmax(145px, 0.35fr) minmax(0, 0.65fr);
  gap: 22px;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

.facts dd {
  margin: 0;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 6px;
}

.route {
  color: #fff;
  background: var(--plum);
}

.route .section-kicker {
  color: #e4c9cf;
}

.section-heading--wide {
  display: block;
}

.section-heading--wide h2 {
  max-width: 20ch;
}

.route-steps {
  position: relative;
  display: grid;
  margin: 60px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  list-style: none;
}

.route-steps::before {
  position: absolute;
  top: 27px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.route-steps li {
  position: relative;
}

.route-steps__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--plum);
  font-family: var(--serif);
  font-size: 20px;
}

.route-steps h3 {
  margin-top: 25px;
  font-size: clamp(23px, 2.2vw, 31px);
}

.route-steps p {
  margin: 15px 0 0;
  color: #eee7eb;
  font-size: 14px;
}

.route__result {
  max-width: 72ch;
  margin: 52px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--rose);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
}

.cases-preview {
  background: var(--surface);
}

.section-heading--row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.section-heading--row .text-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  min-height: 330px;
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-card:nth-child(2) {
  background: var(--plum-soft);
}

.case-card:nth-child(3) {
  background: var(--sage-soft);
}

.case-card__tag {
  min-height: 40px;
  margin: 0 0 38px;
  color: var(--plum);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 30px;
}

.case-card p:last-child {
  margin: 17px 0 0;
  font-size: 14px;
}

.note {
  margin: 20px 0 0;
  color: #6d6e72;
  font-size: 12px;
}

.recognition {
  background: var(--paper);
}

.recognition__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(45px, 8vw, 115px);
}

.recognition__heading {
  position: sticky;
  top: 40px;
  align-self: start;
}

.recognition__heading h2 {
  max-width: none;
  font-size: clamp(2rem, 2.7vw, 3rem);
}

.recognition__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.recognition__list li {
  display: grid;
  padding: 25px 0;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.recognition__list strong {
  color: var(--plum);
  font-family: var(--serif);
  font-weight: 400;
}

.recognition__list span {
  font-size: 14px;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--sage);
}

.contact-cta::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  content: "";
}

.contact-cta__route {
  position: absolute;
  right: 10%;
  bottom: -90px;
  width: 400px;
  height: 150px;
  border: solid rgba(255, 255, 255, 0.28);
  border-width: 2px 0 0 2px;
  border-radius: 140px 0 0;
  transform: rotate(-10deg);
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
}

.contact-cta .section-kicker {
  color: #f3e9eb;
}

.contact-cta h2 {
  max-width: 14ch;
}

.contact-cta p:not(.section-kicker) {
  max-width: 63ch;
  margin: 23px 0 0;
}

.contact-cta__actions {
  display: flex;
  width: 270px;
  flex-direction: column;
  gap: 11px;
}

.button--light {
  border-color: var(--surface);
  color: var(--plum);
  background: var(--surface);
}

.button--light:hover {
  color: var(--plum);
  background: #f0e9e5;
}

.button--outline-light {
  border-color: #fff;
  background: transparent;
}

.button--outline-light:hover {
  color: var(--sage);
  background: #fff;
}

.contact-cta__choice {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 54px 0 25px;
  background: var(--surface);
}

.site-footer__top {
  display: flex;
  padding-bottom: 45px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.site-brand--footer {
  width: min(260px, 50vw);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 16px 35px;
}

.site-footer__bottom {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: #707176;
  font-size: 12px;
}

.site-footer__bottom a {
  text-underline-offset: 4px;
}

@media (max-width: 1040px) {
  .site-header__inner {
    min-height: 90px;
  }

  .site-brand {
    width: 220px;
  }

  .site-nav {
    gap: 8px 17px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: 45px;
  }

  h1 {
    font-size: clamp(2.85rem, 4.7vw, 3.5rem);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 48px, 720px);
  }

  .site-header__inner {
    min-height: 84px;
  }

  .js .nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-toggle__label {
    font-size: 13px;
  }

  .nav-toggle__icon {
    display: flex;
    width: 26px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-toggle__icon span {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }

  .site-nav {
    width: 100%;
    padding: 18px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 14px 5vw 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(65, 66, 71, 0.1);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav__contact {
    margin-top: 12px;
    padding: 12px 17px !important;
    border-bottom: 1px solid var(--plum) !important;
    text-align: center;
  }

  .hero__grid,
  .experience__grid,
  .recognition__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__photo {
    width: min(90%, 560px);
    margin: 20px 0 32px auto;
  }

  .hero__photo img {
    aspect-ratio: 1.08;
  }

  .service-card {
    min-height: 375px;
  }

  .experience__photo {
    width: min(86%, 560px);
  }

  .recognition__heading {
    position: static;
  }

  .contact-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-cta__actions {
    width: min(100%, 380px);
  }
}

@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-brand {
    width: 190px;
  }

  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero {
    padding-top: 52px;
  }

  .hero::before {
    width: 220px;
    height: 220px;
  }

  h1 {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__photo {
    width: calc(100% - 10px);
  }

  .hero__photo-underlay {
    inset: 24px -10px -16px 25px;
  }

  .hero__photo figcaption {
    width: 92%;
    margin-top: -20px;
    font-size: 12px;
    transform: translateX(8px);
  }

  .trust-line {
    grid-template-columns: 1fr;
  }

  .trust-line p,
  .trust-line p:first-child {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-line p:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .section-heading--row {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p:not(.section-kicker) {
    margin-top: 20px;
  }

  .section-heading--row .text-link {
    margin-top: 22px;
  }

  .service-grid,
  .case-grid,
  .route-steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card__number {
    margin-bottom: 25px;
  }

  .experience__photo {
    width: 100%;
    padding: 0 0 16px 16px;
  }

  .facts div,
  .recognition__list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .route-steps {
    gap: 32px;
  }

  .route-steps::before {
    top: 20px;
    bottom: 20px;
    left: 21px;
    width: 1px;
    height: auto;
  }

  .route-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
  }

  .route-steps__number {
    width: 44px;
    height: 44px;
  }

  .route-steps h3 {
    margin-top: 0;
  }

  .case-card {
    min-height: 0;
  }

  .case-card__tag {
    min-height: 0;
    margin-bottom: 24px;
  }

  .site-footer__top {
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 370px) {
  .site-brand {
    width: 165px;
  }

  h1 {
    font-size: 2rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Внутренняя страница «С чего начать» */
.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.inner-hero {
  position: relative;
  min-height: 570px;
  padding: 30px 0 clamp(80px, 10vw, 145px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.inner-hero::after {
  position: absolute;
  right: 8%;
  bottom: -65px;
  width: 360px;
  height: 195px;
  border: solid rgba(112, 83, 99, 0.2);
  border-width: 2px 0 0 2px;
  border-radius: 180px 0 0;
  content: "";
  transform: rotate(-11deg);
}

.inner-hero__circle {
  position: absolute;
  top: 70px;
  right: 9%;
  width: clamp(180px, 23vw, 330px);
  height: clamp(180px, 23vw, 330px);
  border: 1px solid rgba(191, 137, 147, 0.45);
  border-radius: 50%;
}

.inner-hero__circle::before,
.inner-hero__circle::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.inner-hero__circle::before {
  inset: 16%;
  border: 1px solid rgba(165, 143, 131, 0.34);
}

.inner-hero__circle::after {
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--rose);
  transform: translate(-50%, -50%);
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #77777b;
  font-size: 12px;
}

.breadcrumbs a {
  text-underline-offset: 4px;
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  width: min(76%, 840px);
  margin-top: clamp(66px, 9vw, 115px);
}

.inner-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
}

.inner-hero__lead {
  max-width: 65ch;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
}

.choice-section {
  background: var(--surface);
}

.choice-grid {
  display: grid;
  gap: 16px;
}

.choice-card {
  display: grid;
  min-height: 280px;
  padding: clamp(28px, 4vw, 52px);
  grid-template-columns: 52px minmax(0, 1.1fr) minmax(270px, 0.75fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  border: 1px solid transparent;
}

.choice-card--plum {
  color: #fff;
  background: var(--plum);
}

.choice-card--sage {
  border-color: #cbd0c8;
  background: var(--sage-soft);
}

.choice-card--rose {
  border-color: #e2cdd1;
  background: var(--rose-soft);
}

.choice-card--taupe {
  border-color: #d9ccc5;
  background: var(--taupe-soft);
}

.choice-card__number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  opacity: 0.8;
}

.choice-card__body h3 {
  max-width: 19ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.45vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}

.choice-card__body > p {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 14px;
}

.choice-card__footer {
  height: 100%;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid currentColor;
}

.choice-card__footer p {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
}

.choice-card__footer p span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.choice-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.choice-card__footer a span {
  transition: transform 0.2s ease;
}

.choice-card__footer a:hover span {
  transform: translateX(5px);
}

.contact-cta--compact h2 {
  max-width: 16ch;
}

@media (max-width: 860px) {
  .inner-hero {
    min-height: 520px;
  }

  .inner-hero__content {
    width: 84%;
  }

  .choice-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .choice-card__footer {
    grid-column: 2;
    height: auto;
    padding: 25px 0 0;
    border-top: 1px solid currentColor;
    border-left: 0;
  }
}

@media (max-width: 650px) {
  .inner-hero {
    min-height: 0;
    padding-bottom: 78px;
  }

  .inner-hero__circle {
    top: 95px;
    right: -80px;
    opacity: 0.55;
  }

  .inner-hero__content {
    width: 100%;
    margin-top: 58px;
  }

  .inner-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.35rem);
  }

  .inner-hero__lead {
    font-size: 16px;
  }

  .choice-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .choice-card__footer {
    grid-column: 1;
  }

  .choice-card__footer p {
    margin-bottom: 24px;
  }
}

/* Страница услуги «Профориентация взрослых» */
.service-hero {
  min-height: 690px;
}

.service-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: clamp(60px, 8vw, 105px);
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.38fr);
  gap: clamp(45px, 8vw, 115px);
  align-items: end;
}

.service-hero__content h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 4.7vw, 4.8rem);
}

.service-hero__content .button {
  margin-top: 32px;
}

.service-summary {
  padding: 12px 32px;
  color: #fff;
  background: var(--plum);
  box-shadow: 20px 20px 0 var(--rose-soft);
}

.service-summary p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.service-summary p:last-child {
  border-bottom: 0;
}

.service-summary span,
.service-summary strong {
  display: block;
}

.service-summary span {
  margin-bottom: 5px;
  color: #e9dce1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-summary strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.service-signs {
  background: var(--surface);
}

.check-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-grid li {
  position: relative;
  min-height: 105px;
  padding: 25px 0 25px 46px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.check-grid li::before {
  position: absolute;
  top: 27px;
  left: 4px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--rose);
  border-radius: 50%;
  color: var(--plum);
  content: "✓";
  font-size: 12px;
  font-weight: 700;
}

.research {
  background: var(--sage-soft);
}

.research__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 9vw, 130px);
}

.research__lead {
  max-width: 42ch;
  margin: 25px 0 0;
  font-size: 15px;
}

.topic-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(65, 66, 71, 0.24);
  list-style: none;
}

.topic-list li {
  display: grid;
  min-height: 74px;
  padding: 18px 0;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(65, 66, 71, 0.24);
}

.topic-list span {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 13px;
}

.service-process {
  background: var(--paper);
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  padding: clamp(25px, 3vw, 39px) 0;
  grid-template-columns: 80px minmax(220px, 0.58fr) minmax(0, 0.9fr);
  gap: clamp(18px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
}

.process-list__number {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.process-list li > div {
  display: contents;
}

.process-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.3;
}

.process-list p {
  max-width: 62ch;
  margin: 0;
  font-size: 14px;
}

.outcomes {
  color: #fff;
  background: var(--plum);
}

.outcomes .section-kicker {
  color: #e4c9cf;
}

.outcomes__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 130px);
}

.outcomes__grid > div > p:last-child {
  margin: 25px 0 0;
  color: #eadfe4;
}

.outcome-list {
  margin: 0;
  padding: 0;
  counter-reset: outcome;
  list-style: none;
}

.outcome-list li {
  position: relative;
  padding: 20px 0 20px 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.45;
  counter-increment: outcome;
}

.outcome-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.outcome-list li::before {
  position: absolute;
  top: 22px;
  left: 0;
  color: #dfbbc4;
  content: "0" counter(outcome);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.result-note {
  max-width: 72ch;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--rose);
  color: #eadfe4;
  font-size: 12px;
}

.format-section {
  background: var(--surface);
}

.format-card {
  display: grid;
  padding: clamp(35px, 6vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(245px, 0.42fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 24px 24px 0 var(--taupe-soft);
}

.format-card__main h2 {
  max-width: 17ch;
}

.format-card__main > p:last-child {
  max-width: 52ch;
  margin: 23px 0 0;
}

.format-card__price {
  padding-left: clamp(25px, 4vw, 50px);
  border-left: 1px solid var(--line);
}

.format-card__price > span,
.format-card__price > strong {
  display: block;
}

.format-card__price > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-card__price > strong {
  margin: 8px 0 26px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

.next-service {
  background: var(--paper);
}

.next-service__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.next-service h2 {
  max-width: 21ch;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
}

.next-service p:not(.section-kicker) {
  max-width: 68ch;
  margin: 24px 0 0;
}

@media (max-width: 860px) {
  .service-hero {
    min-height: 0;
  }

  .service-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-summary {
    width: min(100%, 580px);
  }

  .research__grid,
  .outcomes__grid {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .process-list li > div {
    display: block;
  }

  .process-list p {
    margin-top: 12px;
  }

  .format-card {
    grid-template-columns: 1fr;
  }

  .format-card__price {
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .next-service__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 650px) {
  .service-hero__grid {
    margin-top: 55px;
  }

  .service-hero__content h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.25rem);
  }

  .service-hero__content .button {
    width: 100%;
  }

  .service-summary {
    padding-inline: 24px;
    box-shadow: 10px 10px 0 var(--rose-soft);
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-grid li {
    min-height: 0;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
  }

  .process-list__number {
    font-size: 30px;
  }

  .format-card {
    padding: 28px 22px;
    box-shadow: 10px 10px 0 var(--taupe-soft);
  }

  .format-card__price .button {
    width: 100%;
  }
}

/* Дополнительный блок страницы профориентации подростков */
.parent-section {
  background: var(--sage-soft);
}

.parent-section__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 9vw, 130px);
  align-items: center;
}

.parent-note {
  position: relative;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid rgba(65, 66, 71, 0.22);
  background: var(--surface);
}

.parent-note::before {
  display: block;
  margin-bottom: 20px;
  color: var(--rose);
  content: "“";
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.55;
}

.parent-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .parent-section__grid {
    grid-template-columns: 1fr;
  }
}

/* Страница корпоративных решений */
.corporate-hero .inner-hero__circle::after {
  background: var(--sage);
}

.corporate-summary {
  background: var(--sage);
  box-shadow: 20px 20px 0 var(--sage-soft);
}

.corporate-summary span {
  color: #eef0ed;
}

.service-signs__button {
  margin-top: 36px;
}

.evidence {
  background: var(--paper);
}

.evidence .section-heading--wide h2 {
  max-width: 22ch;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.evidence-card {
  display: flex;
  min-height: 390px;
  padding: clamp(30px, 5vw, 62px);
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
}

.evidence-card--accent {
  background: var(--sage-soft);
}

.evidence-card strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.evidence-card p {
  max-width: 58ch;
  margin: 28px 0 34px;
  font-size: 14px;
}

.evidence-card a {
  margin-top: auto;
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.evidence-copy {
  display: grid;
  margin-top: 44px;
  padding-top: 35px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  border-top: 1px solid var(--line);
}

.evidence-copy p {
  margin: 0;
  font-size: 15px;
}

.scope {
  background: var(--sage-soft);
}

.scope-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  border-top: 1px solid rgba(65, 66, 71, 0.24);
  counter-reset: scope;
  list-style: none;
}

.scope-list li {
  position: relative;
  min-height: 94px;
  padding: 24px 0 24px 47px;
  border-bottom: 1px solid rgba(65, 66, 71, 0.24);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  counter-increment: scope;
}

.scope-list li::before {
  position: absolute;
  top: 26px;
  left: 0;
  color: var(--plum);
  content: counter(scope, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
}

.scope-note,
.project-condition {
  max-width: 82ch;
  margin: 40px 0 0;
  padding: 23px 28px;
  border-left: 3px solid var(--rose);
  background: var(--surface);
  font-size: 14px;
}

.corporate-process {
  background: var(--surface);
}

.project-condition {
  background: var(--rose-soft);
}

.corporate-outcomes {
  background: var(--sage);
}

.corporate-outcomes .outcome-list li::before {
  color: #f2dce1;
}

.corporate-email {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 23px);
  text-underline-offset: 6px;
}

@media (max-width: 860px) {
  .evidence-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 650px) {
  .corporate-summary {
    box-shadow: 10px 10px 0 var(--sage-soft);
  }

  .service-signs__button {
    width: 100%;
  }

  .evidence-grid,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    min-height: 0;
  }

  .scope-list li {
    min-height: 0;
  }

  .scope-note,
  .project-condition {
    padding: 20px;
  }
}

/* Страница кейсов */
.cases-hero {
  min-height: 630px;
}

.cases-hero .inner-hero__content {
  width: min(70%, 760px);
}

.cases-hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 820px);
  margin-top: 60px;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.cases-hero__facts p {
  display: flex;
  margin: 0;
  padding: 18px 30px;
  align-items: baseline;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.cases-hero__facts p:first-child {
  padding-left: 0;
}

.cases-hero__facts p:last-child {
  border-right: 0;
}

.cases-hero__facts strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.cases-hero__facts span {
  font-size: 12px;
}

.case-group {
  background: var(--surface);
}

.case-group--teen {
  background: var(--sage-soft);
}

.case-group .section-heading--wide h2 {
  max-width: 21ch;
}

.case-stories {
  display: grid;
  gap: 24px;
}

.case-story {
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-group--teen .case-story {
  background: var(--surface);
}

.case-story__header {
  display: grid;
  padding: clamp(28px, 5vw, 58px);
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.case-story__avatar {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.cases-hero__illustration-note {
  margin: 20px 0 0;
  color: var(--plum);
  font-size: 13px;
  line-height: 1.6;
}

.case-story__header p {
  margin: 0 0 10px;
  color: var(--plum);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-story__header h3 {
  max-width: 27ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.case-story__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-story__content section {
  min-height: 230px;
  padding: clamp(25px, 4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-story__content section:nth-child(even) {
  border-right: 0;
}

.case-story__content section:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.case-story__content h4 {
  margin: 0 0 20px;
  color: var(--plum);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-story__content p {
  margin: 0;
  font-size: 14px;
}

.case-story__content .case-story__result {
  background: var(--plum-soft);
}

.case-group--teen .case-story__content .case-story__result {
  background: var(--rose-soft);
}

.case-story__result p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.publication-rules {
  background: var(--plum-soft);
}

.publication-rules__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(45px, 9vw, 130px);
  align-items: start;
}

.publication-rules__grid h2 {
  max-width: none;
  font-size: clamp(2.1rem, 2.6vw, 2.9rem);
}

.publication-rules__lead {
  max-width: 54ch;
  margin: 25px 0 0;
  font-size: 14px;
}

.publication-rules__grid ul {
  margin: 0;
  padding: clamp(12px, 2vw, 22px) clamp(25px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
  list-style: none;
}

.publication-rules__grid li {
  position: relative;
  padding: 22px 0 22px 42px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.publication-rules__grid li:last-child {
  border-bottom: 0;
}

.publication-rules__grid li::before {
  position: absolute;
  top: 22px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--rose);
  border-radius: 50%;
  color: var(--plum);
  content: "✓";
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .cases-hero .inner-hero__content {
    width: 86%;
  }

  .publication-rules__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .cases-hero {
    min-height: 0;
  }

  .cases-hero .inner-hero__content {
    width: 100%;
  }

  .cases-hero__facts {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .cases-hero__facts p,
  .cases-hero__facts p:first-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cases-hero__facts p:last-child {
    border-bottom: 0;
  }

  .case-story__header {
    grid-template-columns: 1fr;
  }

  .case-story__avatar {
    width: 80px;
    height: 80px;
  }

  .case-story__content {
    grid-template-columns: 1fr;
  }

  .case-story__content section {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .case-story__content section:last-child {
    border-bottom: 0 !important;
  }
}

/* Страница «Обо мне» */
.about-hero {
  position: relative;
  padding: 30px 0 0;
  overflow: hidden;
  background: var(--paper);
}

.about-hero::before {
  position: absolute;
  top: 120px;
  left: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(112, 83, 99, 0.22);
  border-radius: 50%;
  content: "";
}

.about-hero__grid {
  position: relative;
  display: grid;
  margin-top: clamp(55px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(45px, 8vw, 105px);
  align-items: center;
}

.about-hero__content {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.about-hero__lead {
  max-width: 62ch;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
}

.about-hero__photo {
  position: relative;
  margin: 0;
  padding: 0 20px 20px 0;
}

.about-hero__photo::before {
  position: absolute;
  inset: 38px 0 0 34px;
  background: var(--rose-soft);
  content: "";
}

.about-hero__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center;
}

.about-hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: clamp(65px, 8vw, 105px);
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.about-hero__facts p {
  display: flex;
  min-height: 120px;
  margin: 0;
  padding: 22px clamp(14px, 2.6vw, 34px);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.about-hero__facts p:first-child {
  padding-left: 0;
}

.about-hero__facts p:last-child {
  border-right: 0;
}

.about-hero__facts strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.2;
}

.about-hero__facts span {
  margin-top: 5px;
  font-size: 11px;
}

.professional-path {
  background: var(--surface);
}

.professional-path__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 45px;
}

.professional-path__heading {
  position: static;
}

.professional-path__heading h2 {
  max-width: 18ch;
}

.professional-path__copy {
  width: min(100%, 900px);
  margin-left: auto;
  border-top: 1px solid var(--line);
}

.professional-path__copy p {
  margin: 0;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.professional-path__copy p:first-child {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
}

.industries {
  display: flex;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 9px;
}

.industries-intro {
  max-width: 72ch;
  margin: 58px 0 0 auto;
  padding-left: 24px;
  border-left: 3px solid var(--rose);
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.6;
}

.industries span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
}

.about-method {
  color: #fff;
  background: var(--plum);
}

.about-method .section-kicker {
  color: #e4c9cf;
}

.about-method__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.about-method__grid article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.about-method__grid span {
  display: block;
  margin-bottom: 45px;
  color: #dfbbc4;
  font-family: var(--serif);
  font-size: 28px;
}

.about-method__grid p {
  max-width: 57ch;
  margin: 0;
  color: #f1eaed;
  font-size: 14px;
}

.credentials {
  background: var(--paper);
}

.credentials__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(45px, 8vw, 105px);
  align-items: start;
}

.credential-groups {
  display: grid;
  gap: 38px;
}

.credential-group h3 {
  margin: 0 0 14px;
  color: var(--plum);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.credential-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.credential-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.credential-list li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  color: var(--rose);
  content: "◆";
  font-size: 9px;
}

.credential-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-gallery a {
  display: flex;
  min-width: 0;
  padding: 12px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.credential-gallery a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.credential-gallery img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f2f0ed;
}

.credential-gallery span {
  padding: 15px 4px 4px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
}

/* Contact page */
.contact-hero .inner-hero__content {
  max-width: 830px;
}

.direct-contact {
  background: var(--surface);
}

.direct-contact__grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

.direct-contact__intro h2 {
  margin-bottom: 24px;
}

.direct-contact__intro > p:last-child {
  max-width: 38ch;
  margin: 0;
}

.direct-contact__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-link-card {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 30px;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-link-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-link-card--telegram {
  background: var(--plum);
}

.contact-link-card--max {
  background: var(--sage);
}

.contact-link-card > span:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link-card strong {
  max-width: 8ch;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.04;
}

.contact-link-card__arrow {
  position: absolute;
  top: 25px;
  right: 28px;
  font-size: 24px;
}

.consultation-details {
  background: var(--paper);
}

.consultation-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.consultation-details__grid article {
  min-height: 245px;
  padding: 28px 30px 34px;
  border-right: 1px solid var(--line);
}

.consultation-details__grid article:first-child {
  border-left: 1px solid var(--line);
}

.consultation-details__grid article > span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
}

.consultation-details__grid h3 {
  margin: 58px 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.consultation-details__grid p {
  margin: 0;
}

.contact-channels {
  background: var(--surface);
}

.contact-channels__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel-card {
  display: flex;
  min-height: 340px;
  padding: clamp(28px, 4vw, 48px);
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--paper);
}

.channel-card__label {
  margin: 0 0 42px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.channel-card h3 {
  max-width: 15ch;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.channel-card p:not(.channel-card__label) {
  max-width: 48ch;
  margin: 0;
}

.channel-card__links {
  display: flex;
  gap: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.channel-card__links a {
  padding: 11px 18px;
  border: 1px solid var(--plum);
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.channel-card__links a:hover {
  background: var(--plum);
  color: #fff;
}

.contact-news {
  display: flex;
  margin-top: 20px;
  padding: 34px 40px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #ebe7e3;
}

.contact-news .section-kicker {
  margin-bottom: 8px;
}

.contact-news p:last-child {
  max-width: 65ch;
  margin: 0;
}

@media (max-width: 860px) {
  .direct-contact__grid {
    grid-template-columns: 1fr;
  }

  .direct-contact__intro > p:last-child {
    max-width: 55ch;
  }

  .consultation-details__grid {
    grid-template-columns: 1fr;
  }

  .consultation-details__grid article,
  .consultation-details__grid article:first-child {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .consultation-details__grid h3 {
    margin-top: 28px;
  }
}

@media (max-width: 680px) {
  .direct-contact__actions,
  .contact-channels__grid {
    grid-template-columns: 1fr;
  }

  .contact-link-card {
    min-height: 190px;
  }

  .channel-card {
    min-height: 0;
  }

  .contact-news {
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.about-recognition {
  background: var(--sage-soft);
}

.about-portrait {
  background: var(--surface);
}

.about-portrait__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(45px, 9vw, 130px);
  align-items: center;
}

.about-portrait figure {
  position: relative;
  margin: 0;
  padding: 18px 0 0 18px;
}

.about-portrait figure::before {
  position: absolute;
  inset: 0 45px 45px 0;
  background: var(--taupe-soft);
  content: "";
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
}

.about-portrait blockquote {
  margin: 0;
}

.about-portrait blockquote::before {
  color: var(--rose);
  content: "“";
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.65;
}

.about-portrait blockquote p {
  max-width: 18ch;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.3;
}

@media (max-width: 860px) {
  .about-hero__grid,
  .professional-path__grid,
  .credentials__layout,
  .about-portrait__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__content {
    max-width: 680px;
  }

  .about-hero__photo,
  .about-portrait figure {
    width: min(82%, 540px);
  }

  .about-hero__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero__facts p:nth-child(2) {
    border-right: 0;
  }

  .about-hero__facts p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .professional-path__heading {
    position: static;
  }
}

@media (max-width: 650px) {
  .about-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
  }

  .about-hero__photo,
  .about-portrait figure {
    width: 100%;
  }

  .about-hero__facts {
    grid-template-columns: 1fr;
  }

  .about-hero__facts p,
  .about-hero__facts p:first-child {
    min-height: auto;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-hero__facts p:last-child {
    border-bottom: 0;
  }

  .about-method__grid,
  .credential-gallery {
    grid-template-columns: 1fr;
  }

  .about-method__grid article {
    min-height: 0;
  }

  .about-method__grid span {
    margin-bottom: 25px;
  }

  .credential-gallery img {
    height: 240px;
  }

  .about-portrait blockquote p {
    font-size: 32px;
  }
}
/* FAQ page */
.faq-hero .inner-hero__content { max-width: 850px; }
.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); gap: clamp(45px, 8vw, 110px); align-items: start; }
.faq-layout__intro { position: sticky; top: 120px; }
.faq-layout__intro h2 { margin-bottom: 24px; }
.faq-layout__intro > p:last-child { max-width: 31ch; margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 28px 70px 28px 0; color: var(--graphite); cursor: pointer; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 8px; width: 36px; height: 36px; border: 1px solid var(--rose); border-radius: 50%; color: var(--plum); content: "+"; font-family: var(--sans); font-size: 24px; line-height: 32px; text-align: center; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
.faq-item__answer { max-width: 70ch; padding: 0 70px 30px 0; }
.faq-item__answer p { margin: 0 0 16px; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ul { margin: 0 0 18px; padding-left: 22px; }
.faq-item__answer li + li { margin-top: 8px; }

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout__intro { position: static; }
}

@media (max-width: 680px) {
  .faq-item summary { padding: 24px 54px 24px 0; }
  .faq-item summary::after { right: 2px; width: 32px; height: 32px; font-size: 21px; line-height: 28px; }
  .faq-item__answer { padding-right: 0; }
}
/* Resources page */
.resources-hero .inner-hero__content { max-width: 900px; }
.resources-channels { background: var(--surface); }
.publications { background: var(--paper); }
.publications__layout { display: grid; grid-template-columns: minmax(230px, .5fr) minmax(0, 1.5fr); gap: clamp(45px, 8vw, 110px); align-items: start; }
.publications__intro { position: sticky; top: 120px; }
.publications__intro h2 { margin-bottom: 24px; }
.publications__intro > p:last-child { max-width: 38ch; margin: 0; }
.publications__groups { display: grid; gap: 52px; }
.publication-group h3 { margin: 0 0 18px; color: var(--plum); font-size: 13px; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.publication-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: publications; }
.publication-list li { counter-increment: publications; }
.publication-list a { position: relative; display: grid; min-height: 92px; padding: 23px 54px 23px 54px; align-items: center; border-bottom: 1px solid var(--line); color: var(--graphite); text-decoration: none; }
.publication-list a::before { position: absolute; left: 3px; color: var(--rose); content: counter(publications, decimal-leading-zero); font-size: 11px; font-weight: 700; }
.publication-list a::after { position: absolute; right: 4px; color: var(--plum); content: "↗"; font-size: 20px; }
.publication-list a:hover span { color: var(--plum); }
.publication-list span { max-width: 60ch; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.3; transition: color .2s ease; }
.publication-list small { margin-top: 7px; color: #77777b; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.speaking { color: #fff; background: var(--plum); }
.speaking .section-kicker { color: #e4c9cf; }
.speaking .section-heading > p:not(.section-kicker) { color: #eee6e9; }
.speaking__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.24); }
.speaking-year { padding: clamp(30px, 4vw, 52px); border-right: 1px solid rgba(255,255,255,.24); }
.speaking-year:last-child { border-right: 0; }
.speaking-year h3 { margin: 0 0 34px; color: #e4c9cf; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.speaking-year ul { margin: 0; padding: 0; list-style: none; }
.speaking-year li { position: relative; padding: 0 0 22px 26px; line-height: 1.65; }
.speaking-year li::before { position: absolute; top: .55em; left: 2px; color: var(--rose); content: "◆"; font-size: 8px; }
.speaking__partners { margin: 0; padding: 34px clamp(30px, 4vw, 52px); border-top: 1px solid rgba(255,255,255,.24); color: #eee6e9; }
.text-link--light { display: inline-block; margin-top: 22px; color: #fff; }

@media (max-width: 860px) {
  .publications__layout { grid-template-columns: 1fr; }
  .publications__intro { position: static; }
  .speaking__grid { grid-template-columns: 1fr; }
  .speaking-year { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
}

@media (max-width: 680px) {
  .publication-list a { min-height: 0; padding: 22px 42px 22px 38px; }
  .publication-list a::before { left: 0; }
  .speaking-year { padding-inline: 24px; }
  .speaking__partners { padding-inline: 24px; }
}

/* Типографика для самых узких экранов */
@media (max-width: 350px) {
  .container {
    width: calc(100% - 28px);
  }

  h1,
  .inner-hero h1,
  .service-hero__content h1,
  .about-hero h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .choice-card {
    padding: 24px 20px;
  }

  .choice-card__body h3 {
    font-size: 22px;
    line-height: 1.22;
  }
}

/* Имя эксперта — главный акцент первого экрана. */
.hero .eyebrow,
.about-hero .eyebrow {
  margin-bottom: 24px;
}

.hero__identity span {
  display: block;
}

.hero__name {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-transform: none;
}

.hero__role {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero h1,
.about-hero h1 {
  max-width: 30ch;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.hero__lead,
.about-hero__lead {
  font-size: 17px;
}

@media (max-width: 650px) {
  .hero .eyebrow,
  .about-hero .eyebrow {
    margin-bottom: 20px;
  }

  .hero__name {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero__role {
    margin-top: 12px;
    font-size: 12px;
  }

  .hero h1,
  .about-hero h1 {
    font-size: 21px;
  }

  .hero__lead,
  .about-hero__lead {
    font-size: 16px;
  }
}

/* Длинные слова не расширяют блоки на узких экранах. */
@media (max-width: 680px) {
  h2,
  h3,
  h4,
  p {
    overflow-wrap: anywhere;
  }
}
