@font-face {
  font-family: "Batalin Sans";
  src: url("/assets/montserrat-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Batalin Sans";
  src: url("/assets/montserrat-semibold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Batalin Display";
  src: url("/assets/manrope-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light;
  font-family: "Batalin Sans", Arial, sans-serif;
  color: #20221d;
  background: #f4f0e8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f4f1eb;
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.hero__copy {
  max-width: 680px;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 18px;
}

.brand-line .eyebrow {
  margin: 0;
}

.brand-line a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #565950;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.case-deck {
  padding: 44px 0 34px;
  overflow: hidden;
  border-bottom: 1px solid rgb(32 34 29 / 12%);
}

.case-deck__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.case-deck__heading .eyebrow {
  margin-bottom: 0;
}

.case-deck__heading .eyebrow span {
  color: #777a71;
  letter-spacing: 0.06em;
}

.case-deck__heading h2 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 54px);
}

.case-deck__heading > span {
  padding-bottom: 8px;
  color: #62665c;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.case-stack {
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding: 18px 48px 32px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.case-stack::-webkit-scrollbar {
  display: none;
}

.case-card {
  position: relative;
  flex: 0 0 clamp(170px, 20vw, 225px);
  aspect-ratio: 1;
  margin: 0 0 0 -58px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 5px solid #fffdf8;
  border-radius: 18px;
  background: #e8e5de;
  box-shadow: 0 16px 36px rgb(32 34 29 / 18%);
  transform: rotate(-3deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-card:first-child {
  margin-left: 0;
}

.case-card:nth-child(2n) {
  transform: rotate(2.5deg) translateY(7px);
}

.case-card:nth-child(3n) {
  transform: rotate(-1deg) translateY(-5px);
}

.case-card:hover {
  z-index: 20;
  box-shadow: 0 20px 44px rgb(32 34 29 / 26%);
  transform: rotate(0) translateY(-8px) scale(1.03);
}

.case-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 22px;
  color: #4b6038;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

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

h1 {
  max-width: 760px;
  font-family: "Batalin Display", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 1.04;
}

.hero__lead {
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin: 32px 0 38px;
  color: #55584f;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.strike {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.strike::after {
  position: absolute;
  top: 54%;
  right: -2px;
  left: -2px;
  height: 2px;
  border-radius: 999px;
  background: #9a4f45;
  content: "";
  opacity: 0.82;
  transform: rotate(-1.5deg);
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait::before {
  display: none;
}

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.72) contrast(1.04);
}

.portrait figcaption {
  width: auto;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portrait figcaption strong {
  font-size: 17px;
}

.portrait__proof {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 8px 0 0;
  color: #20221d;
  font-size: 15px;
  line-height: 1.45;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(42px, 7vw, 92px);
  padding: 92px 0;
  border-top: 1px solid rgb(32 34 29 / 12%);
}

.about__content {
  max-width: 780px;
  padding-top: 8px;
}

.about__facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__facts li {
  position: relative;
  padding: 19px 0 19px 30px;
  border-top: 1px solid rgb(32 34 29 / 12%);
  color: #50534b;
  font-size: 16px;
  line-height: 1.65;
}

.about__facts li::before {
  position: absolute;
  top: 28px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b6038;
  content: "";
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.card__link:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.card__link:focus-visible {
  outline: 3px solid #a98cdc;
  outline-offset: 4px;
}

.button--dark {
  color: #fff;
  background: #20221d;
  box-shadow: 0 14px 30px rgb(32 34 29 / 20%);
}

.formats {
  padding: 96px 0;
  border-top: 1px solid rgb(32 34 29 / 12%);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin: 0;
}

h2 {
  max-width: 610px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  border: 1px solid rgb(32 34 29 / 10%);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 14px 40px rgb(52 57 44 / 7%);
}

.card > div {
  margin-top: 46px;
}

.card--women {
  background: #ebe8f2;
}

.card--coaching {
  background: #d6dfc9;
}

.card__number {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(32 34 29 / 20%);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}

.card__label {
  margin: 0 0 12px;
  color: #61655b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.08;
}

.card p:not(.card__label) {
  margin: 18px 0 0;
  color: #55584f;
  font-size: 16px;
  line-height: 1.55;
}

.card__link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid rgb(32 34 29 / 16%);
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease;
}

.card__link--disabled {
  color: #777a71;
  cursor: default;
}

.card__link--disabled::after {
  content: "В разработке";
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin: 20px 0 42px;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 24px;
  color: #fff;
  background: #20221d;
}

.contact .eyebrow {
  color: #cbdcb6;
}

.contact h2 {
  max-width: 560px;
}

.contact__links {
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button--telegram {
  color: #112334;
  background: #7cc4ef;
}

.button--light {
  border-color: rgb(255 255 255 / 26%);
  color: #fff;
  background: rgb(255 255 255 / 7%);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 36px;
  color: #6b6e65;
  font-size: 13px;
}

.legal-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px 22px;
}

.legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-underline-offset: 4px;
}

.legal-links a:hover {
  color: #20221d;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero__copy {
    padding-top: 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .portrait {
    width: min(100%, 560px);
  }

  .about__content {
    padding-top: 0;
    margin-left: 0;
  }

  .card {
    min-height: 300px;
  }

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

@media (max-width: 680px) {
  .page {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 10px;
    padding-bottom: 34px;
  }

  h1 {
    max-width: 440px;
    font-size: clamp(38px, 10.2vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  h1 span {
    display: block;
  }

  .hero__lead {
    margin: 20px 0 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    font-size: 16px;
    line-height: 1.48;
  }

  .strike::after {
    height: 1.5px;
  }

  .brand-line {
    padding: 18px 0 4px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .brand-line a {
    font-size: 13px;
  }

  .case-deck {
    padding: 18px 0 10px;
  }

  .case-deck__heading {
    align-items: start;
  }

  .case-deck__heading h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .case-deck__heading > span {
    padding-top: 0;
  }

  .case-stack {
    margin-top: 8px;
    padding: 10px 40px 14px 8px;
  }

  .case-card {
    flex-basis: 154px;
    margin-left: -45px;
    border-width: 4px;
    border-radius: 15px;
  }

  .hero .button,
  .contact .button {
    width: 100%;
  }

  .portrait img {
    max-height: 470px;
    border-radius: 18px;
    object-position: 50% 18%;
  }

  .portrait figcaption {
    padding-top: 13px;
  }

  .formats {
    padding: 32px 0 52px;
  }

  .about {
    gap: 24px;
    padding: 44px 0 28px;
  }

  .about__facts li {
    padding: 14px 0 14px 24px;
    font-size: 15px;
    line-height: 1.55;
  }

  .about__facts li::before {
    top: 22px;
    width: 6px;
    height: 6px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .card {
    min-height: 280px;
    padding: 24px;
    border-radius: 18px;
  }

  .card > div {
    margin-top: 30px;
  }

  .card h3 {
    font-size: 30px;
  }

  .contact {
    margin-bottom: 20px;
    padding: 26px 22px;
    border-radius: 18px;
  }

  .contact__links {
    width: 100%;
    min-width: 0;
  }

  footer {
    align-items: start;
    flex-direction: column;
  }

  .legal-links {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
