@font-face {
  font-family: Prata;
  src: url("assets/prata-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Prata;
  src: url("assets/prata-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Golos;
  src: url("assets/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Golos;
  src: url("assets/golos-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #182527;
  --deep: #142023;
  --paper: #f6f3eb;
  --cream: #ece7db;
  --white: #f9f6ed;
  --gold: #dacaab;
  --gold-dark: #735d3e;
  --muted: #525b58;
  --muted-dark: #d5d5c9;
  --rule: #cdc7ba;
  --dark-rule: #ffffff30;
  --serif: Prata, Georgia, serif;
  --body: Golos, Arial, sans-serif;
  --gutter: clamp(1.3rem, 5.6vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.05vw, 4.15rem); letter-spacing: -.026em; line-height: 1.14; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a57739; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - 2 * var(--gutter), 82rem); margin-inline: auto; }

.skip-link { position: absolute; z-index: 10; left: 1rem; top: 1rem; padding: .65rem 1rem; color: var(--ink); background: var(--white); }
.skip-link:not(:focus) { clip-path: inset(50%); }

.header { position: relative; z-index: 2; color: var(--white); background: var(--ink); border-bottom: 1px solid var(--dark-rule); }
.header-inner { min-height: 5.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; }
.brand { display: inline-flex; align-items: center; flex: none; gap: .75rem; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding-top: .12rem; border: 1px solid #c9b38e95; color: var(--gold); font: 1.35rem/1 var(--serif); }
.brand-word { font: 1.32rem/1 var(--serif); }
.brand-word small { display: block; margin-top: .38rem; color: var(--muted-dark); font: .735rem/1 var(--body); letter-spacing: .035em; }
.navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1rem, 2.8vw, 2.7rem); }
.navigation a, .header-phone { text-decoration: none; font-size: .9rem; }
.navigation a:hover, .header-phone:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .35em; }
.header-phone { flex: none; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; z-index: -1; inset: 0 0 0 49%; overflow: hidden; background: #394446; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; filter: saturate(.35) contrast(1.03) brightness(.83); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 67%, #111a1ce0 100%), linear-gradient(90deg, #19252792, #14202209 40%); }
.hero-media figcaption { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - 82rem) / 2)); bottom: 1.3rem; display: flex; align-items: center; gap: .5rem; color: var(--white); font-size: .81rem; }
.hero-media figcaption span { width: 1.2rem; height: 1px; background: var(--gold); }
.hero-inner { display: flex; align-items: center; min-height: clamp(33rem, 44vw, 42rem); }
.hero-copy { width: 50%; padding: 3rem clamp(1.4rem, 4vw, 4.1rem) 3rem 0; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; color: var(--gold-dark); font-size: .825rem; font-weight: 600; letter-spacing: .105em; text-transform: uppercase; line-height: 1.4; }
.hero .eyebrow, .about .eyebrow, .contacts .eyebrow { color: var(--gold); }
.line { width: 1.65rem; height: 1px; background: currentColor; }
.eyebrow-dot { width: .23rem; height: .23rem; border-radius: 50%; background: currentColor; }
.hero h1 { margin-top: 1.18rem; font-size: clamp(4.4rem, 8vw, 8rem); line-height: 1.08; letter-spacing: -.045em; }
.hero-lead { margin-top: 1.05rem; font: 400 clamp(1.42rem, 2.35vw, 2.32rem)/1.32 var(--serif); letter-spacing: -.03em; }
.hero-text { max-width: 24rem; margin-top: 1.25rem; color: var(--muted-dark); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .78rem 1.32rem; border: 1px solid transparent; font-size: .95rem; font-weight: 600; text-align: center; text-decoration: none; transition: color .18s, background-color .18s; }
.button-gold { margin-top: 1.55rem; background: var(--gold); color: var(--deep); }
.button-gold:hover { background: var(--white); }
.hero-foot { position: relative; display: flex; min-height: 3.95rem; align-items: center; border-top: 1px solid var(--dark-rule); font-size: .85rem; color: var(--muted-dark); }

.section { padding-block: clamp(4.4rem, 8vw, 8rem); }
.columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.1rem, 6.5vw, 8rem); }
.section h2 { margin-top: .85rem; }
.section-intro > p:last-child { max-width: 24rem; margin-top: 1.2rem; color: var(--muted); }
.practice-list { align-self: start; border-top: 1px solid var(--rule); }
.practice-list details { border-bottom: 1px solid var(--rule); }
.practice-list summary { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 4.15rem; padding: 1rem .15rem; list-style: none; font-size: clamp(1rem, 1.5vw, 1.23rem); font-weight: 500; cursor: pointer; }
.practice-list summary::-webkit-details-marker { display: none; }
.practice-list summary::after { content: ""; flex: none; width: 1.05rem; height: 1.05rem; background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat; color: var(--gold-dark); }
.practice-list details[open] summary::after { background-size: 100% 1px, 1px 0; }
.practice-list summary:hover { color: var(--gold-dark); }
.practice-list p { max-width: 37rem; padding: 0 2rem 1.27rem .15rem; color: var(--muted); }

.about { background: var(--ink); color: var(--white); }
.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2.5rem, 8vw, 9rem); }
.about-copy p:not(.eyebrow) { max-width: 38rem; margin-top: 1.35rem; color: var(--muted-dark); }
.about-year { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 13rem; padding: 1.2rem 0 1.2rem 1.2rem; border-left: 1px solid var(--dark-rule); color: var(--gold); }
.about-year strong { font: 400 clamp(3.85rem, 7.6vw, 7.35rem)/1.1 var(--serif); letter-spacing: -.06em; }
.about-year span { margin-top: .65rem; font-size: .9rem; }

.team { background: #f0ece2; }
.team-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.5rem); margin: 2.25rem 0 0; padding: 0; list-style: none; }
.portrait { display: grid; place-items: end center; aspect-ratio: 1.3; overflow: hidden; background: #e2dbcd; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-list li:nth-child(2) .portrait { background: #dfd8ca; }
.team-list li:nth-child(3) .portrait { background: #e4ddcf; }
.team h3 { margin-top: 1.1rem; font-size: clamp(1.27rem, 2.15vw, 2rem); letter-spacing: -.026em; line-height: 1.25; }
.team-list p { margin-top: .4rem; color: var(--muted); font-size: .94rem; }

.contacts { background: var(--ink); color: var(--white); }
.contacts .section-intro > p:last-child { color: var(--muted-dark); }
.contacts address { display: grid; align-self: start; gap: 1.2rem; font-style: normal; border-top: 1px solid var(--dark-rule); }
.contacts address div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--dark-rule); }
.contacts address span { display: block; margin-bottom: .45rem; color: var(--gold); font-size: .875rem; }
.contact-phone { font: 400 clamp(1.5rem, 3vw, 2.75rem)/1.3 var(--serif); letter-spacing: -.026em; text-decoration: none; }
.contact-phone:hover { color: var(--gold); }
.map-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--gold); text-underline-offset: .26em; font-size: .92rem; }
.map-link:hover { color: var(--white); }
.footer { background: var(--deep); color: var(--white); border-top: 1px solid var(--dark-rule); }
.footer-inner { min-height: 6.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.credit { color: var(--muted-dark); font-size: .8rem; }
.credit a { text-underline-offset: .22em; }

@media (max-width: 920px) {
  .header-phone { display: none; }
  .hero-copy { width: 54%; }
  .hero-media { left: 52%; }
}

@media (max-width: 670px) {
  .header-inner { flex-wrap: wrap; min-height: 4.5rem; gap: 0; }
  .menu-toggle { display: flex; align-items: center; gap: .65rem; min-height: 2.65rem; padding: .45rem 0 .45rem .7rem; border: 0; color: var(--white); background: transparent; font-size: .9rem; cursor: pointer; }
  .menu-toggle span { width: 1.05rem; height: .55rem; border-block: 1px solid var(--gold); }
  .navigation { order: 3; width: 100%; justify-content: flex-start; gap: .25rem 1.4rem; padding: .55rem 0 .85rem; border-top: 1px solid var(--dark-rule); }
  .menu-toggle:not([hidden]) + .navigation:not(.is-open) { display: none; }
  .navigation a { display: inline-flex; align-items: center; min-height: 2.55rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 1; min-height: 0; }
  .hero-copy { width: 100%; padding: 2.7rem 0 2rem; }
  .hero h1 { font-size: clamp(3.55rem, 14.5vw, 6rem); }
  .hero-text { font-size: 1rem; }
  .hero-media { position: relative; z-index: 0; inset: auto; order: 3; aspect-ratio: 1.65; }
  .hero-media img { position: absolute; inset: 0; object-position: 50% 48%; }
  .hero-media figcaption { bottom: .75rem; }
  .hero-foot { order: 2; min-height: 3.05rem; font-size: .83rem; }
  .columns, .about-layout { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
  .about-year { align-items: flex-start; min-height: 0; padding: 1.35rem 0 0; border-left: 0; border-top: 1px solid var(--dark-rule); }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .team-list p { font-size: .88rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
