:root {
  --ink: #090b10;
  --ink-2: #10131a;
  --paper: #f1f0ec;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(9,11,16,.2);
  --muted: #9ca1ad;
  --accent: #8aa4d5;
  --max: 1720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #fff; background: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.site-header { height: 112px; max-width: var(--max); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-dark); position: relative; z-index: 20; }
.brand { display: inline-flex; flex-direction: column; width: max-content; }
.brand__name { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: .08em; }
.brand__name span { color: var(--accent); }
.brand__caption { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.nav { display: flex; gap: 36px; color: #b8bbc3; font-size: 13px; }
.nav a, .phone, .text-link { transition: color .2s ease; }
.nav a:hover, .phone:hover, .text-link:hover { color: var(--accent); }
.phone--header { justify-self: end; border: 1px solid #6f737c; border-radius: 2px; padding: 14px 18px; font-size: 14px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px 0; background: #fff; }

.hero { max-width: var(--max); min-height: 560px; margin: 0 auto; padding: 48px 28px 20px; display: grid; grid-template-columns: 58% 42%; grid-template-rows: 1fr auto; position: relative; overflow: hidden; }
.hero__content { position: relative; z-index: 2; padding-bottom: 28px; }
.eyebrow { color: #b5b8c0; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { color: #fff; margin-right: 22px; }
.eyebrow span::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 12px 3px 0; background: var(--accent); }
h1 { max-width: 820px; margin: 38px 0 24px; font-size: clamp(54px, 6.3vw, 94px); line-height: .93; letter-spacing: -.055em; font-weight: 600; text-transform: uppercase; }
h1 em, h2 i { color: transparent; -webkit-text-stroke: 1px #777c86; font-style: normal; }
.hero__lead { margin: 0 0 34px; color: #b8bbc2; font-size: 18px; line-height: 1.55; }
.hero__actions, .cta__actions { display: flex; gap: 26px; align-items: center; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; justify-content: center; align-items: center; gap: 34px; border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: #0a0c11; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.button:hover { background: #afc2e3; }
.text-link { display: inline-flex; gap: 14px; border-bottom: 1px solid currentColor; padding-bottom: 5px; color: #d0d2d7; font-size: 13px; }
.hero__actions .text-link { min-height: 54px; padding: 0 22px; align-items: center; border: 1px solid var(--accent); border-radius: 2px; }
.hero__portrait { position: absolute; z-index: 1; right: 8px; top: 0; bottom: 0; width: 39%; height: auto; }
.hero__photo-wrap { position: absolute; right: 4%; top: 0; bottom: 0; width: 82%; height: auto; overflow: hidden; background: #5c5d62; }
.hero__photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, transparent 14%), linear-gradient(to right, #1d1e1e 29px, transparent 85px); mix-blend-mode: multiply; }
.hero__photo-wrap img { width: 100%; height: 122%; max-width: none; object-fit: cover; object-position: 0% 0%; transform: translateX(36px); filter: grayscale(.5); }
.hero__note { position: absolute; z-index: 2; right: 0; bottom: 25%; padding-left: 45px; color: #a8abb3; font-size: 10px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }
.hero__facts { z-index: 3; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.hero__facts p { margin: 0; padding: 25px 28px 5px 0; display: flex; align-items: flex-start; gap: 18px; border-right: 1px solid var(--line-dark); }
.hero__facts p:last-child { border-right: 0; padding-left: 28px; }
.hero__facts p:nth-child(2) { padding-left: 28px; }
.hero__facts b { color: var(--accent); font-size: 11px; }
.hero__facts span { color: #c6c8ce; font-size: 12px; line-height: 1.5; text-transform: uppercase; }

.section { padding: 120px max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.section-label { margin: 0; color: #858991; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.intro { color: var(--ink); background: var(--paper); }
.intro__copy { margin-top: 68px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; }
.intro h2, .section-head h2, .principles h2, .cta h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; }
.intro h2 i { -webkit-text-stroke-color: #6a6d74; }
.intro__text { max-width: 640px; padding-top: 8px; }
.intro__text p { margin: 0 0 24px; color: #444850; font-size: 16px; line-height: 1.75; }
.extra-block.is-empty { display: none; }
.edit-entry { display: none; }
body.logged-in .edit-entry { display: inline-block; margin-top: 24px; color: var(--accent); font-size: 13px; }
.intro .text-link { margin-top: 20px; color: var(--ink); }

.services { background: var(--ink); }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; margin-bottom: 70px; }
.section-head h2 { font-size: clamp(40px, 4.6vw, 68px); }
.service-list { border-top: 1px solid var(--line-dark); }
.service-card { min-height: 145px; display: grid; grid-template-columns: 90px 1fr 50px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-dark); transition: padding .25s, background .25s; }
.service-card:hover { padding: 0 20px; background: rgba(255,255,255,.035); }
.service-card__number { color: var(--accent); font-size: 11px; }
.service-card h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; }
.service-card p { max-width: 690px; margin: 0; color: #8f939d; font-size: 14px; line-height: 1.6; }
.service-card__arrow { justify-self: end; color: #878b95; font-size: 25px; }
.service-card.is-empty { display: none; }
.service-card--toggle { display: block; min-height: 0; padding: 0; }
.service-card--toggle:hover { padding: 0; background: transparent; }
.service-card__toggle { width: 100%; min-height: 145px; display: grid; grid-template-columns: 90px 1fr 50px; align-items: center; gap: 24px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; transition: padding .45s ease, background .45s ease; }
.service-card__toggle:hover { padding: 0 20px; background: rgba(255,255,255,.035); }
.service-card__title { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; line-height: 1.15; }
.service-card__arrow { transition: transform .45s ease; }
.service-card__body { display: grid; grid-template-rows: 0fr; max-width: 760px; transition: grid-template-rows .45s ease; }
.service-card__body-inner { overflow: hidden; min-height: 0; padding: 0 70px 0 114px; opacity: 0; transition: padding .45s ease, opacity .35s ease; }
.service-card__body p { max-width: none; margin: 0 0 14px; color: #c6c8ce; font-size: 15px; line-height: 1.6; }
.service-card__body p:last-child { margin-bottom: 0; }
.service-card--toggle.is-open .service-card__body { grid-template-rows: 1fr; }
.service-card--toggle.is-open .service-card__body-inner { padding-bottom: 28px; opacity: 1; }
.service-card--toggle.is-open .service-card__arrow { transform: rotate(90deg); }


.principles { color: var(--ink); background: #dfe3ea; }
.principles__grid { margin-top: 48px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.principles h2 { margin-top: 70px; font-size: clamp(28px, 5.2vw, 62px); white-space: nowrap; }
.principles__cards { display: grid; grid-template-columns: 1fr 1fr; }
.principles__cards article { min-height: 250px; padding: 28px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.principles__cards article:nth-child(even) { border-right: 1px solid var(--line-light); }
.principles__cards article:nth-child(n+3) { border-bottom: 1px solid var(--line-light); }
.principles__cards span { color: #6c7180; font-size: 11px; }
.principles__cards h3 { margin: 50px 0 14px; font-size: 21px; font-weight: 600; }
.principles__cards p { margin: 0; color: #51555f; font-size: 14px; line-height: 1.6; }
.principles__text p { margin: 0 0 22px; color: #2c313b; font-size: 16px; line-height: 1.75; }
.principles__text p:last-child { margin-bottom: 0; }

.cta { text-align: center; background: #111722; }
.cta .eyebrow { margin-bottom: 38px; }
.cta h2 { margin-bottom: 46px; }
.cta__actions { justify-content: center; }
.button--light { background: #fff; border-color: #fff; }
.button--outline { color: #fff; background: transparent; border-color: #717682; }
.button--outline:hover { color: var(--ink); background: #fff; }

.footer { max-width: var(--max); margin: 0 auto; padding: 80px 28px 40px; }
.footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.footer h2 { margin: 0 0 28px; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.footer__cta p { margin: 0; color: #c6c8ce; font-size: 16px; line-height: 1.45; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 36px; }
.footer__nav a { color: #c6c8ce; font-size: 15px; }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.footer__contacts h3 { margin: 0 0 8px; color: #8f939d; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.footer__contacts p { margin: 0; color: #c6c8ce; font-size: 15px; line-height: 1.5; }
.footer__contacts > div > a { font-size: 18px; }
.footer__social { display: flex; gap: 16px; margin-top: 10px; }
.footer__social a { color: var(--accent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer__legal { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line-dark); color: #62666f; font-size: 12px; line-height: 1.55; }
.footer__map { min-height: 520px; background: #12151c; border: 1px solid var(--line-dark); }
.edit-entry { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 13px; }

.modal { display: none; position: fixed; z-index: 100; inset: 0; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(5px); }
.modal__panel { position: absolute; top: 0; right: 0; width: min(520px, 100%); height: 100%; padding: 70px 55px; overflow-y: auto; background: #f1f0ec; color: var(--ink); }
.modal__close { position: absolute; top: 24px; right: 28px; padding: 0; background: none; border: 0; color: var(--ink); font-size: 34px; cursor: pointer; }
.modal h2 { margin: 38px 0 16px; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.modal__panel > p:not(.section-label) { color: #60636a; line-height: 1.5; }
.modal form { margin-top: 38px; display: grid; gap: 20px; }
.modal label { color: #52555d; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.modal input, .modal textarea { width: 100%; margin-top: 9px; padding: 13px 0; border: 0; border-bottom: 1px solid #9b9da3; outline: none; background: transparent; color: var(--ink); resize: vertical; }
.modal input:focus, .modal textarea:focus { border-color: var(--ink); }
.modal small { color: #7b7e85; font-size: 10px; line-height: 1.5; }
.toast { position: fixed; z-index: 110; right: 25px; bottom: 25px; max-width: 360px; padding: 17px 20px; background: var(--accent); color: var(--ink); font-size: 13px; transform: translateY(140%); transition: transform .3s; }
.toast.is-visible { transform: translateY(0); }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-header { height: auto; padding: 16px 28px 14px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; }
  .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .phone--header { display: inline-flex; grid-column: 1; grid-row: 2; justify-self: start; margin-top: 12px; padding: 8px 12px; font-size: 13px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 28px; flex-direction: column; gap: 20px; background: var(--ink-2); border-bottom: 1px solid var(--line-dark); }
  .nav.is-open { display: flex; }
  .hero { min-height: auto; padding-top: 58px; grid-template-columns: 1fr; grid-template-rows: auto; overflow: visible; }
  .hero__content { padding-bottom: 0; }
  .hero__portrait { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 520px; margin: 28px 0 12px; }
  .hero__photo-wrap { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 100%; } .hero__photo-wrap img { width: 100%; height: 100%; max-width: none; object-position: 50% 12%; transform: none; } .hero__photo-wrap::after { background: linear-gradient(to top, var(--ink) 0%, transparent 14%), linear-gradient(to right, var(--ink) 0px, transparent 22px); }
  .hero__note { display: none; }
  .intro__copy, .section-head, .principles__grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 600px) {
  .site-header { height: auto; padding: 14px 20px 12px; }
  .brand__name { font-size: 20px; }
  .brand__caption { letter-spacing: .12em; }
  .hero { padding: 44px 20px 25px; }
  .eyebrow { line-height: 1.7; }
  .eyebrow span { display: block; margin-bottom: 5px; }
  h1 { margin-top: 25px; font-size: 49px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__content { padding-bottom: 0; }
  .hero__portrait { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 480px; margin: 24px 0 8px; }
  .hero__photo-wrap { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 100%; } .hero__photo-wrap img { width: 100%; height: 100%; max-width: none; object-position: 50% 12%; transform: none; } .hero__photo-wrap::after { background: linear-gradient(to top, var(--ink) 0%, transparent 14%), linear-gradient(to right, var(--ink) 0px, transparent 22px); }
  .hero__note { display: none; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts p, .hero__facts p:nth-child(2), .hero__facts p:last-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .section { padding: 85px 20px; }
  .intro__copy, .section-head, .principles__grid { margin-top: 45px; }
  .service-card { grid-template-columns: 36px 1fr 24px; gap: 10px; padding: 25px 0; }
  .service-card__toggle { grid-template-columns: 36px 1fr 24px; gap: 10px; min-height: 0; padding: 25px 0; }
  .service-card__toggle:hover { padding: 25px 8px; }
  .service-card__body-inner { padding: 0 8px 0 46px; }
  .service-card--toggle.is-open .service-card__body-inner { padding-bottom: 22px; }
  .service-card:hover { padding: 25px 8px; }
  .principles__cards { grid-template-columns: 1fr; }
  .principles__cards article, .principles__cards article:nth-child(even) { min-height: 220px; border-right: 1px solid var(--line-light); border-bottom: 0; }
  .principles__cards article:last-child { border-bottom: 1px solid var(--line-light); }
  .cta__actions { flex-direction: column; }
  .footer { padding: 60px 20px 30px; }
.footer__main { grid-template-columns: 1fr; gap: 28px; }
.footer__cta { align-items: flex-start; flex-direction: column; }
.footer__contacts { grid-template-columns: 1fr; }
.footer__map { min-height: 320px; }
  
  .modal__panel { padding: 65px 25px; }
  .modal h2 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.practice-list{display:flex;flex-direction:column}
.practice-row{position:relative;display:grid;grid-template-columns:269px 1fr;gap:22px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line-dark);transition:background .45s ease}
.practice-row:hover{background:rgba(255,255,255,.035)}
.practice-row__shot{position:relative;z-index:1;width:269px;height:289px;padding:0;border:0;background:#12151c;cursor:zoom-in;overflow:hidden}
.practice-row__shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.practice-row__link{color:inherit;text-decoration:none}
.practice-row__link::after{content:"";position:absolute;inset:0}
.practice-row__link h3{margin:0 0 8px;font-size:clamp(18px,2vw,28px);font-weight:500;line-height:1.25}
.practice-row__link p{margin:0;max-width:760px;color:#c6c8ce;font-size:15px;line-height:1.55}
.practice-lightbox{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.86)}
.practice-lightbox[hidden]{display:none}
.practice-lightbox img{max-width:min(980px,94vw);max-height:88vh;background:#fff}
.practice-lightbox__close{position:absolute;top:16px;right:16px;border:0;background:transparent;color:#fff;font:inherit;cursor:pointer}
.case-page{max-width:none;padding-top:48px;padding-bottom:72px}
.case-page h1{margin:12px 0 18px;font-size:clamp(28px,4vw,46px);font-weight:500;line-height:1.15}
.case-lead,.case-by{color:#c6c8ce;font-size:16px;line-height:1.6}
.case-body h2{margin:28px 0 12px;font-size:22px;font-weight:500}
.case-body p{margin:0 0 14px;color:#c6c8ce;font-size:16px;line-height:1.65}
.case-doc{width:min(100%,420px);height:auto;margin-top:12px}
.case-doc img{height:auto;object-fit:contain}
.case-page figcaption{margin-top:10px;color:#c6c8ce}
.case-back{color:inherit}
@media(max-width:600px){.practice-row{grid-template-columns:1fr;gap:14px;padding:22px 0}.practice-row__shot{width:100%;height:220px}}

.case-photo{display:block;width:800px;max-width:100%;height:auto;margin:8px 0 28px}

.intro__lead { padding-top: 8px; }
.intro__lead p { margin: 0 0 12px; color: #444850; font-size: 16px; line-height: 1.45; }
.intro__text { max-width: none; margin-top: 56px; }
.intro__text p { margin: 0 0 12px; line-height: 1.45; }
.copy-list li { line-height: 1.45; }
@media (max-width: 900px) {
  .intro__text { margin-top: 32px; }
}
.certs__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; margin-bottom: 36px; }
.certs__head .section-label { grid-area: 1 / 1; }
.certs__head h2 { grid-area: 2 / 1; }
.certs__head .certs__nav { grid-area: 1 / 2 / 3 / 3; align-self: end; }
.certs__head .section-label { margin-bottom: 12px; }
.certs h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.certs__nav { display: flex; gap: 8px; }
.certs__prev, .certs__next { width: 44px; height: 44px; border: 1px solid #8aa4d5; background: transparent; color: #8aa4d5; font-size: 18px; cursor: pointer; }
.certs__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.cert-card { flex: 0 0 auto; height: 255px; padding: 0; border: 0; background: transparent; cursor: zoom-in; scroll-snap-align: start; }
.cert-card img { display: block; height: 255px; width: auto; }
@media (max-width: 600px) {
  .certs__nav { display: none; }
  .certs__head { display: block; }
  .certs h2 { white-space: nowrap; font-size: clamp(16px, 5.4vw, 22px); letter-spacing: -.03em; }
}
.certs__track { scrollbar-width: none; -ms-overflow-style: none; }
.certs__track::-webkit-scrollbar { display: none; }
.copy-list { margin: 0 0 24px; padding: 0; list-style: none; }
.copy-list li { position: relative; margin: 0 0 10px; padding-left: 20px; font-size: 16px; line-height: 1.6; }
.copy-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #8aa4d5; }
.intro__text .copy-list li { color: #444850; }

#practice .section-head h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.02em; max-width: 900px; }

.header-contacts { justify-self: end; display: flex; align-items: center; gap: 10px; }
.mail--header { border: 1px solid #6f737c; border-radius: 2px; padding: 14px 18px; font-size: 14px; font-weight: 700; color: inherit; }
.mail--header:hover { color: var(--accent); }
@media (max-width: 900px) {
  .header-contacts { grid-area: 2 / 1 / 2 / 3; justify-self: start; margin-top: 12px; flex-wrap: wrap; }
  .site-header .phone--header { grid-area: auto; margin-top: 0; }
  .mail--header { padding: 8px 12px; font-size: 13px; }
}

.intro__experience { margin-top: 28px; }
.intro__experience h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
.intro__experience h4 { margin: 20px 0 12px; font-size: 16px; line-height: 1.3; letter-spacing: 0; font-weight: 700; }

.faq { color: var(--ink); background: var(--paper); }
.faq h2 { margin: 16px 0 28px; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.faq__list { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(9,11,16,.16); padding-bottom: 12px; }
.faq summary { cursor: pointer; font-size: 18px; line-height: 1.35; }
.faq details p { margin: 10px 0 0; color: #444850; line-height: 1.55; }

.principles__photo { margin: 0; }
.principles__photo img { display: block; width: 100%; height: auto; filter: saturate(50%); }
