@font-face {
  font-family: "Saans";
  src:
    url("../fonts/Saans-Regular.woff2") format("woff2"),
    url("../fonts/Saans-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Saans";
  src:
    url("../fonts/Saans-Medium.woff2") format("woff2"),
    url("../fonts/Saans-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --surface: #f9f6f0;
  --beige:#F6F5F3;
  --card: #efe8de;
  --ink: #1c1b1a;
  --muted: #6d665f;
  --gold: #d9a317;
  --gold-deep: #bd8504;
  --brick: #8f1d0b;
  --salmon: #ff7449;
  --sky: #aed7de;
  --line: rgba(28, 27, 26, 0.08);
  --shadow: 0 24px 70px rgba(57, 34, 13, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1440px;
  --header-offset: 116px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:white;
  color: var(--ink);
  font-family: "Saans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

body.has-open-menu {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}

.page-home,
.page-detail {
  width: 100%;
}

.section__inner,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 18px 16px 0;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 16px), var(--container));
  margin: 0 auto;
  padding: 12px 16px;
  pointer-events: auto;
}

.site-header--light .site-header__inner {
  color: #f6f5f3;
}

.site-header--dark .site-header__inner {
  color: var(--ink);
}

.site-header__menu {
  display: contents;
}

.site-header__menu-panel {
  display: contents;
}

.hero {
  width: 100%;
}

.hero__card {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: #b7d5e7;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 60px;
  height: 78px;
  background-color: #f6f5f3;
  -webkit-mask: url("../images/logo-ev-litigation.svg") center / contain no-repeat;
  mask: url("../images/logo-ev-litigation.svg") center / contain no-repeat;
}

.site-header--dark .brand__logo,
.site-footer .brand__logo {
  background-color: var(--ink);
}

.template-home .site-header .brand__logo {
  background-color: var(--beige);
  transition: background-color 180ms ease;
}

.template-home.is-scrolled-past-hero .site-header .brand__logo {
  background-color: var(--ink);
}

.brand__wordmark {
  display: grid;
  font-size: 0.88rem;
  line-height: 1;
}

.brand__logo--footer {
  width: 46px;
  height: 60px;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a,
.nav__cta {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  transition: all .2s ease-in-out;
}

.nav a.is-active {
  background: var(--ink);
  color: #f6f5f3;
}

.nav a:hover {
  background: var(--ink);
  color: var(--beige);
}

.nav__cta,
.button {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(28, 27, 26, 0.18);
}

.nav__cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: inherit;
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.site-header--dark .nav-toggle {
  background: rgba(28, 27, 26, 0.04);
  border-color: rgba(28, 27, 26, 0.08);
}

.nav-toggle__line {
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle__line:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle__line:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-menu-open .nav-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle__line:nth-child(3) {
  transform: rotate(-45deg);
}

.site-header--light .nav__cta {
  background: rgba(246, 245, 243, 0.14);
  border: 1px solid rgba(246, 245, 243, 0.22);
  color: #f6f5f3;
  box-shadow: none;
}

.hero__visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 38, 0.28) 0%, rgba(10, 22, 38, 0.12) 36%, rgba(10, 22, 38, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.16) 100%),
    var(--hero-image, url("../images/hero-ev-litigation.jpg")) center center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 32px 16px;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 500;
}

h1 {
  font-size: clamp(3rem, 9vw, 7.8rem);
  color: var(--beige);
  text-wrap: balance;
  text-align: left;
}

.section {
  padding: 140px 0;
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

.section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  flex: none;
}

.section h2 {
  font-size: clamp(3rem, 5vw, 4.6rem);
}

.section--intro {
  padding-top: 140px;
  padding-bottom: 140px;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    gap: 128px;
    align-items: start;
}

.intro__heading {
  align-self: start;
  margin-bottom: 2rem;
  padding-top: 10px;
}

.intro__copy {
  margin-left: auto;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.30;
  letter-spacing: -0.01em;
}

.intro__copy p {
  margin: 0 0 18px;
}

.intro__actions {
  margin-top: 28px;
}

.section--expertises {
  padding-top: 140px;
  padding-bottom: 140px;
  background-color: var(--beige);
}

.expertises-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.expertises-heading {
  align-self: start;
  margin-bottom: 0;
  padding-top: 10px;
}

.expertises-list {
  display: grid;
  grid-column: span 2;
  gap: 28px;
  padding-top: 14px;
}

.expertises-list__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}

.expertises-list__item:hover,
.expertises-list__item:focus-visible {
  color: var(--gold);
  transform: translateX(3px);
}

.expertises-list__number {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.expertises-list__label {
  font-size: clamp(1.2rem, 3.6vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.section--team {
  padding-top: 140px;
  padding-bottom: 140px;
}

.section__heading.team-heading {
    margin: 0;
}

.team-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.team-heading {
  align-self: start;
  margin-bottom: 0;
  padding-top: 10px;
}

.team-grid {
  display: contents;
}

.member {
  display: grid;
  gap: 18px;
  align-content: start;
  color: inherit;
  transition: transform 0.2s ease, color 0.2s ease;
}

.member:hover {
  transform: translateY(-4px);
}

.member__photo {
  overflow: hidden;
  aspect-ratio: 0.72;
  border-radius: 12px;
  background: linear-gradient(180deg, #ddd8d0, #a39d95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.member__photo img,
.member__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(26, 25, 24, 0.1), transparent 34%),
    radial-gradient(circle at top center, #f4efe7 0%, #d8d3cb 45%, #8b867f 100%);
}

.member__placeholder span {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 2rem;
  font-weight: 500;
}

.member__name {
  display: grid;
  gap: 0;
  font-size: clamp(2.8rem, 3.8vw, 4rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin:0;
}

.member__name-accent {
  color: var(--gold);
}

.member p {
  margin: 0;
  color: var(--gold);
  font-size: 0.95rem;
}

.profile-page,
.cabinet-page,
.expertise-page {
  padding: 198px 0 56px;
}

.profile-page__inner {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 114px;
  align-items: start;
}

.cabinet-page__inner {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 114px;
  align-items: start;
}

.cabinet-page__inner--text-only {
  grid-template-columns: minmax(0, 1fr);
}

h3 {
    margin-bottom: 20px;
    margin-top: 50px;
}

ul li p {
    margin: 0 !important;
}

.profile-page__media {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #ddd8d0, #a39d95);
}

.profile-page__media img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

.profile-page__title {
  display: grid;
  gap: 0;
  color: var(--ink);
  font-size: clamp(3rem, 4.8vw, 5rem);
}

.profile-page__title-accent {
  color: var(--gold);
}

.profile-page__role {
  margin: 10px 0 28px;
  color: var(--gold);
  font-size: 0.9rem;
}

.profile-page__intro,
.profile-page__text,
.cabinet-page__text,
.expertise-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.profile-page__intro {
  margin: 0 0 22px;
}

.profile-page__text p,
.cabinet-page__text p,
.expertise-body__text p {
  margin: 0 0 18px;
}

@media (min-width: 961px) {
  .page-home p,
  .page-home li,
  .page-detail p,
  .page-detail li,
  .intro__copy,
  .profile-page__intro,
  .profile-page__text,
  .cabinet-page__text,
  .expertise-body,
  .fact-card__value,
  .contact-card__lead,
  .contact-card__text,
  .site-footer__brand p,
  .site-footer__cols p,
  .site-footer__cols li {
    text-align: justify;
  }
}

.cabinet-page__media {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #ddd8d0, #a39d95);
}

.cabinet-page__media img {
  width: 100%;
  object-fit: cover;
}

.cabinet-page__media--primary img {
  aspect-ratio: 0.78;
}

.cabinet-page__media--secondary {
  margin: 42px 0 0;
}

.cabinet-page__media--secondary img {
  aspect-ratio: 16 / 9;
}

.profile-page__facts {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.fact-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(28, 27, 26, 0.04);
}

.fact-card__label {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.fact-card__value,
.fact-card__value p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.expertise-page__title {
  color: var(--ink);
  font-size: clamp(3rem, 4.8vw, 4.5rem);
}

.section__heading--page {
  margin-bottom: 54px;
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.expertise-index {
  display: grid;
  gap: 18px;
}

.expertise-index__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.expertise-index__number {
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1.5;
}

.expertise-index__label {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.expertise-index__item.is-active .expertise-index__label {
  color: var(--gold);
}

.expertise-body__intro {
  margin: 0 0 28px;
  color: var(--muted);
}

.expertise-body__text {
  position: relative;
  padding-left: 20px;
}

.expertise-body__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  overflow: hidden;
  border-radius: 48px;
  background: #d79a00;
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.contact-card__art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact-card__art img{
  height: 350px;
}

.contact-card__art span {
  position: relative;
  right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12rem, 24vw, 22rem);
  font-weight: 700;
  line-height: 0.8;
  color: #d79a00;
  letter-spacing: -0.08em;
}

.contact-card__content {
  padding: 46px 42px 50px 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card__content h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(4rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.contact-card__lead,
.contact-card__text {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 251, 244, 0.9);
  font-size: 1.05rem;
  line-height: 1.45;
}

.contact-card__text {
  margin-top: 4px;
}

.contact-card__actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: #272727;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: none;
}

.site-footer {
  padding: 30px 0 56px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__brand p,
.site-footer__cols p,
.site-footer__cols li,
.site-footer__cols a {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: span 3;
  gap: 28px;
}

.site-footer__label {
  margin-bottom: 8px;
  color: var(--ink) !important;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 960px) {
  .site-header__inner,
  .nav {
    flex-wrap: wrap;
  }

  .hero__content {
    padding: 54px 28px 34px;
  }

  .intro,
  .contact-card,
  .site-footer__cols,
  .profile-page__inner,
  .cabinet-page__inner,
  .expertise-layout,
  .team-layout,
  .expertises-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    display: grid;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .team-layout {
    gap: 56px;
  }

  .intro__copy {
    max-width: none;
    margin-left: 0;
    font-size: 1.2rem;
  }

  .expertises-list {
    grid-column: auto;
    gap: 20px;
    padding-top: 0;
  }

  .fact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {

.intro {
    gap: 56px;
}
  .section__inner,
  .site-footer__inner {
    width: min(calc(100% - 18px), var(--container));
  }

  .site-header {
    padding: 10px 9px 0;
  }

  .site-header__inner {
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 12px;
  }

  .brand {
    position: relative;
    z-index: 2;
    width: auto;
    justify-content: flex-start;
  }

  .site-header.is-menu-open .site-header__inner {
    color: var(--ink);
  }

  .template-home .site-header.is-menu-open .brand__logo {
    background-color: var(--ink);
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-header__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 112px 18px 28px;
    overflow: auto;
    background: rgba(249, 246, 240, 0.82);
    color: var(--ink);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 220ms ease,
      visibility 0s linear 220ms;
  }

  .site-header.is-menu-open .site-header__menu {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
      opacity 220ms ease,
      visibility 0s linear;
  }

  .site-header__menu-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    width: 100%;
  }

  .site-header__menu-panel > .nav,
  .site-header__menu-panel > .nav__cta {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-menu-open .site-header__menu-panel > .nav,
  .site-header.is-menu-open .site-header__menu-panel > .nav__cta {
    opacity: 1;
    transform: translateY(0);
  }

  .nav {
    display: grid;
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    gap: 8px;
    justify-content: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 0;
    border-radius: 0;
    font-size: clamp(2rem, 12vw, 4.25rem);
    line-height: 0.95;
    text-align: center;
  }

  .nav a.is-active,
  .nav a:hover {
    background: transparent;
    color: var(--brick);
  }

  .site-header__menu .nav__cta {
    margin-top: 28px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    box-shadow: none;
  }

  .nav__cta {
    width: 100%;
    padding: 15px 18px;
    text-align: center;
  }

  .hero__card {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__content {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    width: min(calc(100% - 18px), var(--container));
    padding: 48px 9px 28px;
  }

  .section {
    padding: 56px 0;
  }

  .section h2,
  .member h3,
  .profile-page__title,
  .expertise-page__title,
  .contact-card__content h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .expertises-card {
    padding: 22px;
    gap: 10px;
  }

  .expertises-card__link,
  .expertise-index__label {
    font-size: 1.4rem;
  }

  .contact-card__content {
    padding: 52px 22px;
  }

  .contact-card__art span {
    right: 0;
    font-size: clamp(8rem, 34vw, 12rem);
  }

  .contact-card__lead,
  .contact-card__text {
    max-width: none;
  }

  .profile-page,
  .cabinet-page,
  .expertise-page {
    padding-top: 116px;
  }
}
