/* Site foundation, preloader and navigation */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #1c2722;
  color: #f0eee6;
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #b5b096;
  outline-offset: 4px;
}

/* ---------- Preloader ---------- */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #1c2722;
}

/* Preloader timing */
.js .preloader {
  display: grid;
  animation:
    preloader-curtain 2.7s linear both,
    preloader-failsafe 0s 6s forwards;
}

.preloader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.27em;
  max-width: 100%;
  white-space: nowrap;
  color: #f0eee6;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 5.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f0eee6 0%, #b5b096 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: preloader-reveal 2.7s cubic-bezier(0.25, 1, 0.5, 1) both;
}

/* Wordmark reveal */
@keyframes preloader-reveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: scale(0.96);
  }
  18% {
    opacity: 1;
  }
  64% {
    clip-path: inset(0 0 0 0);
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes preloader-curtain {
  0%, 64% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Safety net if the JavaScript file cannot be loaded. */
@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ---------- Fixed header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  height: 65px;
  padding: 0 5%;
  background: rgba(22, 30, 26, 0.95);
  border-bottom: 1px solid rgba(240, 238, 230, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-header__brand {
  flex-shrink: 0;
  color: #f0eee6;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.js .site-header__brand {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: header-failsafe 0s 6s forwards;
}

@keyframes header-failsafe {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.js.is-ready .site-header__brand {
  animation: brand-reveal 1.4s cubic-bezier(0.25, 1, 0.5, 1) 200ms both;
}

@keyframes brand-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- Desktop navigation ---------- */
.site-nav {
  justify-self: center;
}

.site-nav__track,
.site-nav__panel--primary {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 40px);
}

.site-nav__panel--secondary,
.site-nav__caption,
.site-nav__languages,
.site-nav__chevron {
  display: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  background: transparent;
  border: 0;
  color: #d8d6ce;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 220ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #f0eee6;
}

/* ---------- Desktop actions ---------- */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}

.site-header__languages {
  display: flex;
  align-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.site-header__language--current,
.site-nav__language--current {
  color: #f0eee6;
}

.site-header__language--muted,
.site-nav__language--muted {
  color: #8a928e;
}

.site-header__language-divider,
.site-nav__language-divider {
  margin: 0 8px;
  color: rgba(240, 238, 230, 0.3);
}

.site-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 22px;
  border: 1px solid rgba(240, 238, 230, 0.2);
  border-radius: 100px;
  color: #d8d6ce;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.js .site-header__login {
  opacity: 0;
  animation: header-failsafe 0s 6s forwards;
}

.js.is-ready .site-header__login {
  animation: login-appear 900ms cubic-bezier(0.25, 1, 0.5, 1) 750ms both;
}

@keyframes login-appear {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header__login:hover {
  background: #b5b096;
  border-color: #b5b096;
  box-shadow: 0 4px 15px rgba(181, 176, 150, 0.2);
  color: #1c2722;
}

.site-header__mobile-action,
.site-header__burger {
  display: none;
}

@media (max-width: 900px) {
  /* ---------- Mobile header ---------- */
  .site-header {
    display: flex;
    justify-content: space-between;
    height: 60px;
    padding-inline: clamp(16px, 4.5vw, 32px);
    gap: 8px;
  }

  .site-header__brand {
    font-size: clamp(1.12rem, 4.7vw, 1.4rem);
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-header__languages,
  .site-header__login {
    display: none;
  }

  .site-header__mobile-action,
  .site-header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }

  .site-header__mobile-action {
    position: relative;
  }

  .site-header__mobile-login,
  .site-header__back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #f0eee6;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 280ms ease, transform 280ms ease, visibility 280ms;
  }

  .site-header__mobile-login {
    opacity: 1;
    visibility: visible;
  }

  .site-header__back {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
  }

  .site-header.is-submenu-open .site-header__mobile-login {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
  }

  .site-header.is-submenu-open .site-header__back {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .site-header__burger {
    flex-direction: column;
    gap: 5px;
    padding: 0;
    color: #f0eee6;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .site-header__burger span {
    width: 20px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 250ms ease;
  }

  .site-header.is-menu-open .site-header__burger span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.is-menu-open .site-header__burger span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ---------- Mobile two-panel navigation ---------- */
  .site-nav {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 900;
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    margin: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, #26362e 0%, #0f1612 100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms;
  }

  .site-header.is-menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 200%;
    height: 100%;
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header.is-submenu-open .site-nav__track {
    transform: translateX(-50%);
  }

  .site-nav__panel--primary,
  .site-nav__panel--secondary {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 0;
    height: 100%;
    padding: 24px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav__caption {
    display: block;
    margin-bottom: 13px;
    color: #b5b096;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
  }

  .site-nav__link {
    display: flex;
    justify-content: space-between;
    width: min(100%, 300px);
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(240, 238, 230, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    color: #f0eee6;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 450ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms ease;
  }

  .site-nav__link:hover {
    background: rgba(255, 255, 255, 0.09);
  }

  .site-nav__chevron {
    display: block;
    flex: 0 0 16px;
    margin-left: 10px;
    color: #b5b096;
  }

  .site-nav__languages {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 9px 24px;
    border: 1px solid rgba(240, 238, 230, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .site-nav__caption,
  .site-nav__link,
  .site-nav__languages {
    opacity: 0;
    transform: translateY(-20px);
  }

  .site-header.is-menu-open .site-nav__panel--primary > *,
  .site-header.is-submenu-open .site-nav__panel--secondary > * {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .site-nav__panel--primary > :nth-child(1),
  .site-header.is-submenu-open .site-nav__panel--secondary > :nth-child(1) {
    transition-delay: 90ms;
  }

  .site-header.is-menu-open .site-nav__panel--primary > :nth-child(2),
  .site-header.is-submenu-open .site-nav__panel--secondary > :nth-child(2) {
    transition-delay: 150ms;
  }

  .site-header.is-menu-open .site-nav__panel--primary > :nth-child(3),
  .site-header.is-submenu-open .site-nav__panel--secondary > :nth-child(3) {
    transition-delay: 210ms;
  }

  .site-header.is-menu-open .site-nav__panel--primary > :nth-child(4),
  .site-header.is-submenu-open .site-nav__panel--secondary > :nth-child(4) {
    transition-delay: 270ms;
  }

  .site-header.is-menu-open .site-nav__panel--primary > :nth-child(5),
  .site-header.is-submenu-open .site-nav__panel--secondary > :nth-child(5) {
    transition-delay: 330ms;
  }
}

@media (max-width: 600px) {
  /* Mobile wordmark */
  .preloader__title {
    flex-direction: row;
    align-items: baseline;
    gap: 0.19em;
    font-size: clamp(1.6rem, 8vw, 3.1rem);
    line-height: 1;
    letter-spacing: 0.055em;
  }
}

@media (max-height: 560px) and (max-width: 900px) {
  .site-nav__panel--primary,
  .site-nav__panel--secondary {
    justify-content: flex-start;
    padding-block: 16px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  .js.is-ready .site-header__brand,
  .js.is-ready .site-header__login {
    opacity: 1;
    clip-path: none;
  }
}


/* Main introduction */
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(720px, calc(100svh - 65px));
  margin-top: 65px;
  overflow: clip;
  background: #19231e;
  color: #f0eee6;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("../img/hero-back.jpg") center / cover no-repeat;
  opacity: 0.34;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(16, 24, 20, 0.7) 0%, rgba(16, 24, 20, 0.52) 53%, rgba(16, 24, 20, 0.06) 100%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-rows: auto auto auto auto 1fr auto;
  column-gap: clamp(22px, 4vw, 72px);
  width: min(100% - 10%, 1240px);
  min-height: inherit;
  margin-inline: auto;
  padding-top: clamp(68px, 9vh, 112px);
  padding-bottom: 28px;
}

.hero__eyebrow {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: #c7c4ad;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.09em;
}

.hero__eyebrow-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5b096;
}

.hero__title {
  grid-column: 1;
  grid-row: 2;
  max-width: 730px;
  margin: 0;
  color: #f6f3eb;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(45px, 4.1vw, 64px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.hero__description {
  grid-column: 1;
  grid-row: 3;
  max-width: 570px;
  margin: 30px 0 0;
  color: #d2d2c9;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(14px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.85;
}

.hero__actions {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid #b5b096;
  border-radius: 12px;
  background: #b5b096;
  color: #1c2722;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.hero__button:hover {
  border-color: #d1cdb6;
  background: #d1cdb6;
  transform: translateY(-2px);
}

.hero__button:active { transform: translateY(0); }
.hero__button svg { flex: 0 0 auto; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d3d4cd;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.hero__trust img {
  display: block;
  flex: 0 0 144px;
  width: 144px;
  height: auto;
  object-fit: contain;
}

.hero__trust strong { color: #f0eee6; font-weight: 600; }

.hero__portrait {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 6;
  align-self: stretch;
  min-height: 570px;
  margin: calc(-1 * clamp(68px, 9vh, 112px)) calc(-1 * max(5vw, (100vw - 1240px) / 2)) 0 -30px;
  overflow: hidden;
  pointer-events: none;
}

.hero__portrait-picture {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 27%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 27%, #000 100%);
}

.hero__portrait-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.hero__portrait::after {
  position: absolute;
  inset: 47% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent 0%, rgba(20, 29, 24, 0.7) 90%, #19231e 100%);
}

.hero__profile { display: none; }

.hero__specialties {
  grid-column: 1 / -1;
  grid-row: 6;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  min-height: 68px;
  margin: 32px 0 0;
  padding: 17px 0 18px;
  border-top: 1px solid rgba(240, 238, 230, 0.18);
  list-style: none;
}

.hero__specialties li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: #e9e9e2;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.hero__specialties li::before {
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #b5b096;
  border-radius: 50%;
  background: radial-gradient(circle at center, #b5b096 0 2px, transparent 2.5px);
  content: "";
}

@media (min-width: 901px) and (max-width: 1130px) {
  .hero__container {
    width: calc(100% - 8%);
    column-gap: 24px;
  }
  .hero__title { font-size: clamp(43px, 4.1vw, 55px); }
  .hero__portrait { margin-right: -4.35vw; }
  .hero__trust img { width: 120px; flex-basis: 120px; }
  .hero__actions { gap: 12px; }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    margin-top: 60px;
    overflow: hidden;
    background: #17211c;
  }

  .hero::before { opacity: 0.20; background-position: center top; }
  .hero::after { background: linear-gradient(180deg, rgba(13, 21, 17, 0.65), rgba(13, 21, 17, 0.45) 60%, #17211c 100%); }

  .hero__container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(100% - 36px, 650px);
    min-height: 0;
    padding-top: clamp(38px, 6vh, 68px);
    padding-bottom: 38px;
  }

  .hero__eyebrow {
    order: 1;
    margin-bottom: 18px;
    color: #d5d4c8;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.65;
    letter-spacing: 0.025em;
  }

  .hero__title {
    order: 2;
    max-width: 630px;
    font-size: clamp(36px, 7.9vw, 57px);
    line-height: 1.03;
    text-wrap: balance;
  }

  .hero__portrait {
    order: 3;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    margin: 30px 0 0;
    border-radius: 22px 22px 26px 26px;
    overflow: hidden;
    background: #fbfaf7;
    pointer-events: auto;
  }

  .hero__portrait::after { display: none; }

  .hero__portrait-picture {
    width: 100%;
    height: auto;
    aspect-ratio: 1.06 / 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__portrait-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 37%;
  }

  .hero__profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 26px clamp(22px, 5vw, 34px) 28px;
    color: #252d29;
    background: #fbfaf7;
  }

  .hero__profile-heading { display: flex; flex-direction: column; gap: 4px; }

  .hero__profile-name {
    color: #252d29;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(29px, 6vw, 39px);
    font-weight: 500;
    line-height: 1.08;
  }

  .hero__profile-role {
    color: #717a74;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(14px, 3vw, 17px);
    font-weight: 400;
    line-height: 1.5;
  }

  .hero__social-links { display: flex; align-items: center; gap: 12px; }

  .hero__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid #b5b096;
    border-radius: 50%;
    color: #8d917d;
    background: transparent;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
  }

  a.hero__social-icon:hover { background: #eaeade; color: #35483b; transform: translateY(-2px); }

  .hero__description {
    order: 4;
    max-width: 620px;
    margin-top: 29px;
    color: #d2d2c9;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero__actions {
    order: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 22px;
  }

  .hero__button { width: 100%; max-width: 500px; min-height: 55px; }
  .hero__trust { gap: 12px; }
  .hero__trust img { flex-basis: 132px; width: 132px; }

  .hero__specialties {
    order: 6;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 14px;
    min-height: 0;
    margin: 34px 0 0;
    padding: 26px 0 0;
  }

  .hero__specialties li {
    justify-content: flex-start;
    font-size: 12px;
  }
}

@media (max-width: 410px) {
  .hero__container { width: calc(100% - 32px); }
  .hero__title { font-size: clamp(34px, 8.75vw, 38px); }
  .hero__eyebrow { font-size: 11px; }
  .hero__portrait { margin-top: 26px; }
  .hero__profile { padding: 24px 22px 25px; }
  .hero__social-icon { width: 46px; height: 46px; flex-basis: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__button, .hero__social-icon { transition: none; }
}


/* Section introductions */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #929780;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-label__dot {
  display: block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* About */
.about {
  background: #fcfbf8;
  color: #262c28;
  padding: clamp(76px, 8.5vw, 128px) 0;
  scroll-margin-top: 65px;
}

.about__container {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(38px, 4.7vw, 74px);
  align-items: start;
  width: min(90%, 1240px);
  margin-inline: auto;
}

.about__header {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.about__visuals {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  grid-template-rows: 144px minmax(360px, 1fr);
  gap: 18px;
  min-height: 540px;
}

.about__rating {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(168, 170, 153, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, #f7f6f2 0%, #f1f0eb 100%);
  box-shadow: 0 20px 46px rgba(23, 30, 24, 0.05);
}

.about__stars {
  color: #a4a68d;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.about__rating-caption {
  margin: 0;
  color: #727871;
  font-size: 13px;
  line-height: 1.6;
}

.about__rating-caption strong {
  color: #2d332e;
  font-weight: 600;
}

.about__rating-people img {
  display: block;
  width: min(100%, 160px);
  height: auto;
}

.about__photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #d8ded4;
  box-shadow: 0 24px 54px rgba(23, 30, 24, 0.08);
}

.about__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo--portrait {
  grid-column: 2;
  grid-row: 1 / 3;
  border-radius: 30px;
}

.about__photo--portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  content: "";
  background: linear-gradient(180deg, rgba(252, 251, 248, 0) 0%, rgba(252, 251, 248, 0.08) 50%, rgba(252, 251, 248, 0.2) 100%);
  pointer-events: none;
}

.about__photo--portrait img {
  object-position: 52% 50%;
}

.about__photo--session {
  grid-column: 1;
  grid-row: 2;
  border-radius: 24px;
}

.about__photo--session img {
  object-position: center center;
}

.about__content {
  min-width: 0;
  padding-top: 6px;
}

.about__title {
  max-width: 660px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 3.4vw, 55px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #767c75;
  font-size: 14px;
  line-height: 1.86;
}

.about__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
  padding: 30px 0 32px;
  border-top: 1px solid #e4e6df;
  border-bottom: 1px solid #e4e6df;
  scroll-margin-top: 95px;
}

.about__detail {
  min-width: 0;
}

.about__detail-title {
  margin: 0 0 18px;
  color: #232824;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.about__detail-text {
  margin: 0;
  color: #777d76;
  font-size: 14px;
  line-height: 1.9;
}

.about__values {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #777d76;
  font-size: 14px;
  line-height: 1.82;
}

.about__values li::before {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3 10.5L7.1 14.4L17 4.8' stroke='%23959a81' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  content: "";
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  margin-top: 30px;
}

.about__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.about__button:hover {
  transform: translateY(-2px);
}

.about__button--primary {
  min-width: 164px;
  background: #a4a68d;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(164, 166, 141, 0.24);
}

.about__button--primary:hover {
  background: #92967b;
}

.about__button--secondary {
  min-width: 252px;
  border-color: #404740;
  background: #fcfbf8;
  color: #2e342f;
}

.about__button--secondary:hover {
  background: #f1f1ec;
  box-shadow: 0 10px 24px rgba(28, 39, 34, 0.08);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .about__container {
    width: 92%;
    gap: 30px;
  }

  .about__visuals {
    grid-template-rows: 132px minmax(330px, 1fr);
    min-height: 490px;
    gap: 14px;
  }

  .about__rating {
    padding: 18px 18px 16px;
    border-radius: 20px;
  }

  .about__rating-caption {
    font-size: 12px;
  }

  .about__photo--portrait {
    border-radius: 24px;
  }

  .about__photo--session {
    border-radius: 20px;
  }

  .about__title {
    font-size: clamp(36px, 3.6vw, 46px);
  }

  .about__detail-title {
    font-size: 25px;
  }
}

@media (max-width: 900px) {
  .about {
    padding: 76px 0 82px;
    scroll-margin-top: 60px;
  }

  .about__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: min(calc(100% - 36px), 650px);
  }

  .about__header {
    margin-bottom: 2px;
  }

  .about__visuals {
    order: 2;
    grid-template-columns: 1fr 1.06fr;
    grid-template-rows: clamp(116px, 27vw, 172px) clamp(252px, 60vw, 395px);
    gap: 12px;
    min-height: 0;
  }

  .about__content {
    order: 3;
    padding-top: 0;
  }

  .about__rating {
    padding: 14px 14px 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .about__stars {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .about__rating-caption {
    font-size: clamp(10px, 2.5vw, 12px);
    line-height: 1.45;
  }

  .about__rating-people img {
    width: min(100%, 148px);
  }

  .about__photo--portrait {
    border-radius: 22px;
  }

  .about__photo--portrait img {
    object-position: 54% center;
  }

  .about__photo--session {
    border-radius: 18px;
  }

  .about__title {
    max-width: 640px;
    font-size: clamp(36px, 7.2vw, 52px);
    line-height: 1.05;
  }

  .about__lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.86;
  }

  .about__details {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
    padding: 28px 0 30px;
  }

  .about__detail-title {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .about__detail-text,
  .about__values li {
    font-size: 14px;
    line-height: 1.86;
  }

  .about__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 26px;
  }

  .about__button,
  .about__button--primary,
  .about__button--secondary {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 64px 0 76px;
  }

  .about__container {
    width: calc(100% - 32px);
    gap: 28px;
  }

  .about__visuals {
    grid-template-rows: 104px clamp(220px, 65vw, 290px);
  }

  .about__rating {
    border-radius: 16px;
  }

  .about__photo--portrait {
    border-radius: 20px;
  }

  .about__photo--session {
    border-radius: 16px;
  }

  .about__title {
    font-size: clamp(34px, 9vw, 41px);
  }

  .about__button {
    min-height: 56px;
    font-size: 13px;
  }
}

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

