:root {
  --gutter: clamp(24px,7vw,108px);
  --column-gap: clamp(24px,3vw,48px);
  --ink: #151a22;
  --navy: #232b36;
  --blue: #3e5268;
  --brand: #2d5592;
  --paper: #f5f7fa;
  --white: #fff;
  --muted: #667085;
  --line: rgba(21,26,34,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; }
a { color: inherit; text-decoration: none; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.site { min-height: 100svh; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Shared header */
.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 102px; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); backdrop-filter: blur(18px); }
.brand-link { display: inline-flex; width: max-content; height: 80px; align-items: center; gap: 15px; overflow: hidden; color: var(--brand); font-size: 16px; font-weight: 400; line-height: 1.02; }
.brand-mark { width: 64px; height: 78px; object-fit: cover; object-position: center; filter: contrast(1.28) saturate(1.04); mix-blend-mode: multiply; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(26px,3vw,50px); font-size: 16px; font-weight: 400; }
.desktop-nav a { position: relative; padding: 15px 0; transition: color .22s ease; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--navy); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover,.desktop-nav a:focus-visible { color: var(--brand); }
.desktop-nav a:hover::after,.desktop-nav a:focus-visible::after,.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta,.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: 15px; font-weight: 400; }
.header-cta,.button-primary { transition: background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease; }
.header-cta:hover,.button-primary:hover { border-color: var(--brand); background: var(--brand); transform: translateY(-2px); }
.button-primary span,.text-link span { transition: transform .22s ease; }
.button-primary:hover span,.text-link:hover span { transform: translate(3px,-3px); }
.practice-list b,.contact-link b,.button-primary > span,.text-link > span,.footer-form-actions button > span { position: relative; display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; overflow: hidden; color: inherit; font-size: 0; }
.practice-list b::before,.contact-link b::before,.button-primary > span::before,.text-link > span::before,.footer-form-actions button > span::before { position: absolute; bottom: 3px; left: 2px; width: 12px; height: 1px; background: currentColor; content: ""; transform: rotate(-45deg); transform-origin: left center; }
.practice-list b::after,.contact-link b::after,.button-primary > span::after,.text-link > span::after,.footer-form-actions button > span::after { position: absolute; top: 2px; right: 1px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; content: ""; }
.header-cta { min-height: 50px; padding: 0 22px; justify-self: end; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; width: 44px; height: 44px; place-content: center; gap: 7px; border: 1px solid var(--navy); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 19px; height: 1px; background: var(--navy); transition: transform .22s ease; }
.mobile-menu nav { position: absolute; top: 54px; right: 0; display: grid; width: 250px; padding: 14px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 45px rgba(10,23,53,.13); }
.mobile-menu[open] nav { transform-origin: top right; animation: mobile-menu-in .22s ease both; }
.mobile-menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.mobile-menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu nav a { padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 16px; transition: background-color .18s ease,color .18s ease; }
.mobile-menu nav a:hover,.mobile-menu nav a:focus-visible { background: rgba(45,85,146,.08); color: var(--brand); }
.mobile-menu nav a:last-child { border-bottom: 0; }
@keyframes mobile-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Home */
.hero { display: grid; min-height: min(740px,calc(100svh - 96px)); grid-template-columns: repeat(2,minmax(0,1fr)); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px,7vw,108px) var(--gutter); }
.eyebrow,.section-number { margin: 0; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow,.hero h1 { color: var(--brand); }
.hero h1 { max-width: 650px; margin: 24px 0 0; font-size: clamp(52px,5vw,76px); font-weight: 300; letter-spacing: -.052em; line-height: .93; }
.motto { margin: 34px 0 0; font-size: clamp(16px,1.35vw,19px); letter-spacing: .01em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 48px; }
.button-primary { min-height: 52px; padding: 0 24px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 400; }
.city-frame { position: relative; min-height: 620px; margin: 0; overflow: hidden; background: #d7dbe1; }
.city-frame::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg,rgba(23,27,34,.08),transparent 38%); content: ""; pointer-events: none; }
.city-frame img,.city-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; filter: grayscale(1) brightness(1.1) contrast(1.02); }
.city-frame img,.city-frame video,.person-photo-frame,.lawyer-photo-frame,.editorial-photo-aside img,.business-media img,.contact-office-photo img { transition: transform .55s cubic-bezier(.2,.7,.2,1),filter .4s ease; }
.city-frame:hover img,.city-frame:hover video,.editorial-photo-aside:hover img,.business-media figure:hover img,.contact-office-photo:hover img,.team-grid article:hover .person-photo-frame,.lawyer-card:hover .lawyer-photo-frame { transform: scale(1.018); }
.city-poster { z-index: 0; }
.city-video { z-index: 1; }

.section { padding: clamp(84px,10vw,150px) var(--gutter); }
.about-home { border-top: 1px solid var(--line); }
.about-home-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 64px; }
.about-home h2,.section-heading-row h2,footer h2 { margin: 0; font-size: clamp(42px,4.6vw,68px); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.about-home-copy { max-width: 760px; font-size: clamp(18px,1.5vw,23px); line-height: 1.62; }
.about-home-copy p { margin: 0 0 30px; }
.practices { background: var(--ink); color: var(--white); }
.practices .section-number { color: #aeb6c2; }
.section-heading-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 0; padding-bottom: 56px; }
.practice-list { border-top: 1px solid rgba(255,255,255,.24); }
.practice-list a { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; min-height: 98px; border-bottom: 1px solid rgba(255,255,255,.24); }
.practice-list span { color: #aeb6c2; font-size: 11px; }
.practice-list h3 { margin: 0; font-size: clamp(24px,2.7vw,38px); font-weight: 300; letter-spacing: -.025em; }
.practice-list b { font-size: 24px; font-weight: 300; transition: transform .2s ease; }
.practice-list a:hover b { transform: translate(4px,-4px); }
.practice-list a { transition: background-color .22s ease,padding .22s ease; }
.practice-list a:hover,.practice-list a:focus-visible { padding-right: 16px; padding-left: 16px; background: rgba(255,255,255,.04); }
.service-note { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 88px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.24); }
.service-note h3 { margin: 0; font-size: 24px; font-weight: 400; }
.service-note p { max-width: 780px; margin: 0; color: #d7dbe1; font-size: 17px; line-height: 1.7; }
.team-home { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.team-grid article { min-height: 500px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person-index { color: var(--muted); font-size: 11px; }
.person-monogram { display: grid; width: 156px; height: 195px; place-items: center; margin: 42px 0; border: 1px solid var(--navy); color: var(--navy); font-size: 52px; font-weight: 300; }
.person-photo-frame { display: block; width: 156px; height: 195px; margin: 42px 0; overflow: hidden; background: #eef0f2; }
.person-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--portrait-position,15%); filter: grayscale(1); transform: translateY(var(--portrait-shift,0)) scale(var(--portrait-scale,1)); transform-origin: 50% var(--portrait-origin,20%); }
.team-grid h3 { max-width: 290px; margin: 0; font-size: 24px; font-weight: 400; line-height: 1.18; }
.person-role { margin: 14px 0 0; color: var(--blue); font-size: 14px; }
.person-specialization { margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
footer { padding: clamp(78px,9vw,132px) var(--gutter) 28px; background: var(--navy); color: var(--white); }
footer .section-number { color: #c8ced7; }
.footer-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 0; }
footer h2 { margin-top: 38px; }
.footer-heading p { max-width: 420px; margin: 28px 0 0; color: #c8ced7; font-size: 16px; font-weight: 400; line-height: 1.6; }
.footer-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.45); }
.footer-form label { display: grid; gap: 8px; }
.footer-form label > span { color: #c8ced7; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.footer-form input,.footer-form textarea { width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,.42); border-radius: 0; background: transparent; color: var(--white); font: inherit; font-size: 17px; font-weight: 300; outline: none; }
.footer-form textarea { min-height: 74px; resize: vertical; }
.footer-form input:focus,.footer-form textarea:focus { border-bottom-color: var(--white); }
.footer-message,.footer-form-actions,.footer-form-status { grid-column: 1 / -1; }
.footer-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-form-actions a { color: #d7dbe2; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.footer-form-actions button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid var(--white); background: var(--white); color: var(--navy); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .22s ease,color .22s ease,transform .22s ease; }
.footer-form-actions button:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.footer-form-status { min-height: 20px; margin: -10px 0 0; color: #c8ced7; font-size: 12px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 76px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); color: #d7dbe2; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-details { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.footer-details a { color: inherit; }
.private-phone { appearance: none; border-radius: 0; font: inherit; cursor: pointer; }
.footer-phone { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; }

/* Inner pages */
.inner { overflow: visible; background: var(--white); }
.original-page { min-height: calc(100svh - 96px); margin: 0 auto; padding: 64px 0 90px; background: var(--white); }
.logo-large,.logo-small { display: block; background: url("/assets/kpg-logo.jpg") center/contain no-repeat; }
.logo-large { width: 190px; height: 190px; }
.logo-small { width: 140px; height: 140px; }
.logo-large img,.logo-small img { display: none; }
.about-page { width: min(1180px,calc(100% - 60px)); }
.about-copy { display: flex; flex-direction: column; margin-top: 38px; color: #344267; }
.about-copy p { margin: 0 0 28px; font-size: clamp(16px,1.25vw,19px); line-height: 1.62; text-align: justify; }
.outline-action { display: inline-flex; min-width: 178px; min-height: 52px; align-items: center; justify-content: center; align-self: flex-end; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.outline-action:hover { background: var(--navy); color: var(--white); }
.team-page { width: min(970px,calc(100% - 60px)); }
.advocates { margin-top: 28px; color: #2e3347; }
.advocate { margin-bottom: 29px; }
.advocate h2 { margin: 0 0 4px; font-size: 18px; font-weight: 400; line-height: 1.35; }
.advocate p { margin: 0; font-size: 15px; line-height: 1.54; }
.advocate .role { margin-bottom: 4px; color: #8b93a6; }
.services-page { display: grid; grid-template-columns: minmax(250px,.7fr) minmax(0,1.3fr); gap: clamp(54px,7vw,104px); width: min(1180px,calc(100% - 60px)); padding-top: 72px; }
.disputes h1,.legal h2,.form h3 { margin: 0; font-size: 17px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.disputes h1 { color: #9d1117; }
.legal h2 { color: var(--blue); }
.disputes ul { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.disputes li { display: grid; grid-template-columns: 58px 1fr; align-items: center; min-height: 60px; color: #344267; font-size: 16px; }
.service-number { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #111; border-radius: 50%; color: #111; font-size: 12px; }
.legal-copy { margin-top: 30px; color: #1f1f24; }
.legal-copy p { margin: 0 0 24px; font-size: 15px; line-height: 1.62; text-align: justify; }
.form { margin-top: 34px; color: #24252b; }
.form h3 { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: grid; gap: 7px; margin-bottom: 9px; font-size: 14px; }
.form input,.form textarea { width: 100%; border: 1px solid #2d2e33; border-radius: 0; background: var(--white); color: #1f1f24; font: inherit; outline: none; }
.form input { min-height: 48px; padding: 10px 12px; }
.form textarea { min-height: 118px; padding: 12px; resize: vertical; }
.form button { width: 50%; min-height: 50px; border: 1px solid #2d2e33; background: var(--white); color: #2d2e33; font: inherit; cursor: pointer; }
.form button:hover { background: var(--navy); color: var(--white); }
.contacts-page { width: min(970px,calc(100% - 60px)); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 22px; }
.contact-details a { display: flex; align-items: center; gap: 12px; color: #11152b; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.contact-symbol { font-size: 20px; text-decoration: none; }
.map { width: 100%; height: 285px; overflow: hidden; background: #eef1f4; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.72); }
.feedback { margin-top: 26px; }
.feedback h2 { margin: 0 0 20px; color: #25262b; font-size: 14px; font-weight: 400; text-transform: uppercase; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.feedback label { display: grid; gap: 8px; color: #2b2c31; font-size: 12px; }
.feedback input { min-height: 42px; padding: 8px 4px; border: 0; border-bottom: 1px solid #23242a; border-radius: 0; background: transparent; font: inherit; outline: none; }
.feedback button { align-self: end; min-height: 42px; border: 0; border-radius: 999px; background: #050505; color: var(--white); font: inherit; cursor: pointer; }
.office { position: relative; width: 100%; height: 320px; margin: 30px 0 0; overflow: hidden; background: #e7e8eb; }
.office img { position: absolute; top: -995px; left: -1094px; width: 3090px; max-width: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; min-height: 90px; }
  .brand-link { height: 72px; font-size: 14px; }
  .brand-mark { width: 52px; height: 64px; }
  .desktop-nav { display: none; }
  .header-cta { margin-right: 18px; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 570px; }
  .city-frame { min-height: 520px; }
  .about-home-body,.section-heading-row,.service-note,.footer-main { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .services-page { grid-template-columns: 1fr; gap: 64px; }
  .disputes ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 78px; padding: 4px 16px; }
  .brand-link { width: auto; height: 68px; gap: 9px; font-size: 12px; }
  .brand-mark { width: 42px; height: 54px; }
  .header-cta { display: none; }
  .hero-copy { min-height: 500px; padding: 62px 22px 52px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px,12.2vw,52px); letter-spacing: -.045em; line-height: .98; }
  .motto { max-width: 280px; line-height: 1.55; }
  .hero-actions { align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
  .city-frame { min-height: 340px; }
  .city-frame img { object-position: 50% 56%; }
  .section { padding: 76px 22px; }
  .about-home-body { gap: 34px; margin-top: 48px; }
  .about-home-copy { font-size: 17px; }
  .section-heading-row { padding-bottom: 38px; }
  .practice-list a { grid-template-columns: 48px 1fr auto; min-height: 82px; }
  .practice-list h3 { font-size: 23px; }
  .service-note { gap: 24px; margin-top: 66px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { min-height: 370px; }
  footer { padding: 74px 22px 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 72px; }
  .footer-details { flex-direction: column; }
  .footer-form { grid-template-columns: 1fr; }
  .footer-message,.footer-form-actions,.footer-form-status { grid-column: 1; }
  .original-page { width: calc(100% - 44px); padding: 44px 0 68px; }
  .logo-large { width: 150px; height: 150px; }
  .logo-small { width: 120px; height: 120px; }
  .about-copy p { font-size: 16px; line-height: 1.65; text-align: left; }
  .outline-action { width: 100%; align-self: stretch; }
  .advocate { margin-bottom: 34px; }
  .advocate h2 { font-size: 17px; }
  .advocate p { font-size: 15px; line-height: 1.58; }
  .disputes ul { grid-template-columns: 1fr; }
  .form-row,.contact-details,.feedback-grid { grid-template-columns: 1fr; }
  .form button { width: 100%; }
  .map { height: 260px; }
  .office { height: 240px; }
  .office img { top: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .city-video { display: none; }
  .motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Unified editorial system */
.page-hero { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: start; min-height: 350px; padding: clamp(76px,8vw,112px) 0 64px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero .section-number { align-self: start; margin-top: 0; padding: 3px var(--gutter) 0; }
.page-hero h1 { max-width: 900px; margin: 0; padding-right: var(--gutter); font-size: clamp(50px,5.2vw,80px); font-weight: 300; letter-spacing: -.052em; line-height: .96; }
.page-hero-compact { min-height: 310px; }
.page-lead { grid-column: 2; max-width: 740px; margin: 28px 0 0; padding-right: var(--gutter); color: var(--muted); font-size: clamp(18px,1.45vw,22px); font-weight: 400; line-height: 1.5; }
.editorial-section { padding: clamp(82px,10vw,148px) var(--gutter); background: var(--white); }
.about-editorial { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
.editorial-aside { position: sticky; top: 130px; display: flex; width: 100%; min-height: 520px; justify-content: flex-start; justify-self: stretch; align-self: start; margin: 0; padding: 0 var(--column-gap) 0 0; border-right: 1px solid var(--brand); }
.editorial-aside img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center; }
.editorial-photo-aside { overflow: hidden; }
.editorial-photo-aside img { filter: saturate(.78) contrast(1.03); }
.editorial-copy { max-width: 790px; padding-left: var(--column-gap); }
.editorial-copy p { margin: 0 0 28px; color: #3f4349; font-size: 18px; font-weight: 400; line-height: 1.75; }
.editorial-copy .editorial-intro { color: var(--ink); font-size: clamp(24px,2.35vw,36px); font-weight: 300; letter-spacing: -.02em; line-height: 1.42; }
.editorial-copy blockquote { margin: 70px 0 36px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); font-size: clamp(30px,3.2vw,48px); font-weight: 300; letter-spacing: -.035em; }
.team-directory { display: grid; grid-template-columns: repeat(2,1fr); padding-top: 0; border-left: 1px solid var(--line); }
.lawyer-card { display: flex; min-height: 690px; flex-direction: column; padding: clamp(28px,4vw,58px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lawyer-card-head { display: grid; min-height: 300px; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.lawyer-index { grid-column: 2; grid-row: 1; justify-self: end; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.lawyer-monogram { display: grid; width: 240px; height: 300px; grid-column: 1; grid-row: 1; place-items: center; justify-self: start; border: 1px solid var(--navy); color: var(--navy); font-size: 42px; font-weight: 300; }
.lawyer-photo-frame { display: block; width: 240px; height: 300px; grid-column: 1; grid-row: 1; justify-self: start; overflow: hidden; background: #eef0f2; }
.lawyer-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--portrait-position,15%); filter: grayscale(1); transform: translateY(var(--portrait-shift,0)) scale(var(--portrait-scale,1)); transform-origin: 50% var(--portrait-origin,20%); }
.portrait-ukrainets { --portrait-scale: 1.07; --portrait-position: 12%; }
.portrait-bakhmatiuk { --portrait-scale: 1.06; --portrait-position: 12%; }
.portrait-oksymchuk { --portrait-scale: 1.54; --portrait-position: 18%; --portrait-origin: 50% 18%; --portrait-shift: 51px; background: #eef0f2; }
.portrait-nikolaieva { --portrait-scale: 1; --portrait-position: 18%; }
.portrait-drevko { --portrait-scale: 1.25; --portrait-position: 10%; }
.person-photo-frame.portrait-ukrainets { --portrait-scale: 1.16; }
.person-photo-frame.portrait-bakhmatiuk { --portrait-scale: .98; }
.person-photo-frame.portrait-oksymchuk { --portrait-scale: 1.54; --portrait-position: 18%; --portrait-origin: 50% 18%; --portrait-shift: 43px; }
.lawyer-card h2 { min-height: 96px; max-width: 470px; margin: 54px 0 10px; font-size: clamp(30px,3vw,46px); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; }
.lawyer-role { min-height: 23px; margin: 0; color: var(--blue); font-size: 15px; font-weight: 500; }
.lawyer-card dl { margin: 44px 0 0; border-top: 1px solid var(--line); }
.lawyer-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lawyer-card dt { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lawyer-card dd { margin: 0; color: #3f4349; font-size: 14px; font-weight: 400; line-height: 1.45; }
.services-index { padding: clamp(82px,10vw,148px) var(--gutter); background: var(--ink); color: var(--white); }
.services-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: start; margin-bottom: 56px; }
.services-intro .section-number { margin-top: 10px; }
.services-index .section-number,.business-service .section-number { color: #aeb6c2; }
.services-intro h2,.business-service h2 { max-width: 830px; margin: 0; font-size: clamp(42px,4.8vw,70px); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24); }
.service-card { min-height: 174px; padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.service-card span { color: #aeb6c2; font-size: 11px; }
.service-card h3 { margin: 56px 0 0; font-size: clamp(24px,2.7vw,38px); font-weight: 300; letter-spacing: -.025em; }
.business-service { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding: clamp(86px,10vw,150px) var(--gutter); background: var(--blue); color: var(--white); }
.business-media { display: flex; min-width: 0; flex-direction: column; gap: 42px; padding-right: var(--column-gap); }
.business-media figure { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.business-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.65) contrast(1.04); }
.business-service h2 { margin-bottom: 42px; }
.business-service > div:last-child { padding-left: var(--column-gap); }
.business-service p:not(.section-number) { max-width: 780px; margin: 0 0 24px; color: #e2e5ea; font-size: 17px; font-weight: 400; line-height: 1.7; }
.business-points { display: grid; max-width: 780px; margin: 34px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.32); list-style: none; }
.business-points li { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.32); font-size: 17px; font-weight: 400; }
.business-service .button-primary { margin-top: 22px; border-color: var(--white); background: var(--white); color: var(--navy); }
.business-service .button-primary:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.contact-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 760px; background: var(--white); }
.contact-panel { padding: clamp(76px,8vw,120px) clamp(24px,7vw,108px); }
.contact-link { display: grid; grid-template-columns: 28px 1fr auto; gap: 18px; align-items: center; max-width: 650px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: clamp(18px,2vw,29px); font-weight: 300; }
.contact-link.private-phone { width: 100%; border-top: 0; border-right: 0; border-left: 0; background: transparent; text-align: left; }
.contact-link:first-of-type { margin-top: 46px; border-top: 1px solid var(--line); }
.contact-link small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-link b { font-weight: 300; }
.contact-hours { display: grid; grid-template-columns: 28px 1fr; gap: 18px; align-items: center; max-width: 650px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: clamp(18px,2vw,29px); font-weight: 300; }
.contact-hours small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-icon { color: var(--navy); font-size: 20px; }
.contact-panel > .button-primary { margin-top: 36px; }
.contact-visuals { display: grid; grid-template-rows: max-content 300px; align-content: start; gap: 48px; min-width: 0; padding: clamp(76px,8vw,120px) var(--gutter) clamp(76px,8vw,120px) var(--column-gap); border-left: 1px solid var(--line); background: var(--white); }
.contact-office-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); background: #d7dbe1; }
.contact-office-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.contact-map-large { min-height: 300px; border: 1px solid var(--line); background: #e5e7e7; }
.contact-map-large iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(1) contrast(.96); }

/* Team summaries and individual profiles share the same column rhythm. */
.profile-link { display: inline-flex; width: fit-content; align-items: center; gap: 12px; padding: 12px 0; color: var(--brand); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.profile-link svg { width: 20px; height: 20px; flex: 0 0 20px; }
.profile-link:hover { color: var(--ink); }
.lawyer-card-summary { min-width: 0; min-height: 0; }
.lawyer-card-summary h2 { min-height: 2.08em; }
.lawyer-card-summary .lawyer-role { min-height: 3em; line-height: 1.5; }
.lawyer-card-summary dl { margin-top: 24px; }
.lawyer-card-summary dl div { grid-template-columns: 100px minmax(0,1fr); gap: 18px; min-height: 82px; }
.lawyer-card-summary .profile-link { margin-top: auto; padding-top: 28px; }
.team-grid article { display: flex; flex-direction: column; min-width: 0; }
.team-grid h3 { min-height: 2.36em; }
.person-experience { margin: 28px 0 0; color: var(--blue); font-size: 14px; line-height: 1.5; }
.team-grid .person-specialization { margin-top: 12px; margin-bottom: 20px; }
.team-grid .profile-link { margin-top: auto; }
.member-profile { padding: 40px var(--gutter) 100px; background: var(--white); }
.profile-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.profile-breadcrumb a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.profile-portrait { align-self: start; padding-right: var(--column-gap); }
.profile-portrait .lawyer-photo-frame { margin: 0; }
.profile-experience { max-width: 300px; margin: 24px 0 0; color: var(--blue); font-size: 16px; line-height: 1.6; }
.profile-content { min-width: 0; padding-left: var(--column-gap); border-left: 1px solid var(--line); }
.profile-heading h1 { margin: 22px 0 18px; font-size: clamp(38px,4vw,64px); font-weight: 300; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: break-word; }
.profile-role { margin: 0; color: var(--blue); font-size: 18px; font-weight: 400; line-height: 1.5; }
.profile-full-name { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.profile-intro { margin: 36px 0 0; font-size: 21px; line-height: 1.6; }
.profile-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.profile-section h2 { margin: 0 0 20px; font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.profile-section p { margin: 0 0 18px; color: #3f4349; font-size: 17px; font-weight: 400; line-height: 1.75; }
.profile-section p:last-child { margin-bottom: 0; }
.profile-practices { display: grid; gap: 12px; margin: 0; padding-left: 20px; font-size: 17px; font-weight: 400; line-height: 1.5; }
.profile-practices li::marker { color: var(--brand); }
.profile-section .profile-certificate { color: var(--muted); font-size: 14px; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
@media (min-width:981px) and (max-width:1200px) {
  .desktop-nav { gap: 22px; font-size: 14px; }
  .brand-link { gap: 10px; font-size: 14px; }
  .header-cta { padding: 0 16px; font-size: 14px; }
}
@media (max-width:820px) {
  .profile-layout { grid-template-columns: 240px minmax(0,1fr); gap: 28px; }
  .profile-portrait { padding: 0; }
  .profile-content { padding-left: 28px; }
}
@media (max-width:640px) {
  .lawyer-card-summary h2,.lawyer-card-summary .lawyer-role,.team-grid h3 { min-height: 0; }
  .lawyer-card-summary dl div { grid-template-columns: 1fr; gap: 7px; min-height: 0; }
  .member-profile { padding: 28px 22px 72px; }
  .profile-breadcrumb { margin-bottom: 32px; font-size: 13px; }
  .profile-layout { grid-template-columns: 1fr; gap: 38px; }
  .profile-portrait .lawyer-photo-frame { width: 240px; height: 300px; }
  .profile-experience { max-width: 100%; }
  .profile-content { padding: 0; border: 0; }
  .profile-heading h1 { font-size: 40px; }
  .profile-role { font-size: 17px; }
  .profile-intro { margin-top: 26px; font-size: 19px; }
  .profile-section p,.profile-practices { font-size: 16px; }
}

/* Quiet interaction layer */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .62s ease,transform .62s cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.back-to-top { position: fixed; z-index: 18; right: clamp(16px,2.5vw,36px); bottom: clamp(16px,2.5vw,34px); display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.34); background: var(--navy); color: var(--white); font: inherit; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .22s ease,transform .22s ease,background-color .22s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--brand); }
.phone-status { position: fixed; z-index: 30; right: clamp(16px,3vw,42px); bottom: clamp(74px,7vw,96px); max-width: 340px; margin: 0; padding: 14px 18px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 400; line-height: 1.45; box-shadow: 0 18px 45px rgba(10,23,53,.2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .22s ease,transform .22s ease; }
.phone-status.is-visible { opacity: 1; transform: none; }

@media (max-width:820px) {
  .page-hero,.about-editorial,.services-intro,.business-service { grid-template-columns: 1fr; }
  .page-hero { min-height: 330px; gap: 24px; align-items: start; padding-right: var(--gutter); padding-left: var(--gutter); }
  .page-hero .section-number { padding: 3px 0 0; }
  .page-hero h1,.page-lead { padding-right: 0; }
  .page-hero-compact { min-height: 280px; }
  .page-lead { grid-column: 1; }
  .about-editorial,.services-intro,.business-service { gap: 48px; }
  .editorial-aside { position: static; width: 100%; min-height: auto; justify-content: flex-start; justify-self: stretch; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--brand); }
  .editorial-copy { padding-left: 0; }
  .editorial-aside img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: center 48%; }
  .team-directory,.service-grid { grid-template-columns: 1fr; }
  .lawyer-card { min-height: 520px; }
  .contact-section { grid-template-columns: 1fr; min-height: auto; }
  .business-media,.business-service > div:last-child { padding-right: 0; padding-left: 0; }
  .contact-visuals { grid-template-rows: max-content 360px; gap: 28px; padding: 48px var(--gutter); border-top: 1px solid var(--line); border-left: 0; }
  .contact-map-large,.contact-map-large iframe { min-height: 360px; }
}
@media (max-width:640px) {
  .page-hero { min-height: 300px; gap: 24px; padding: 64px 22px 48px; }
  .page-hero h1 { font-size: clamp(44px,13vw,58px); }
  .page-lead { font-size: 17px; }
  .editorial-section,.services-index { padding: 72px 22px; }
  .about-editorial { gap: 50px; }
  .editorial-copy p { font-size: 16px; line-height: 1.68; }
  .editorial-copy .editorial-intro { font-size: 24px; }
  .team-directory { padding: 0; }
  .lawyer-card { min-height: auto; padding: 32px 22px 44px; }
  .lawyer-card-head { min-height: 190px; grid-template-columns: 150px 1fr; gap: 20px; }
  .lawyer-monogram { width: 150px; height: 190px; font-size: 30px; }
  .lawyer-photo-frame { width: 150px; height: 190px; }
  .lawyer-card h2 { min-height: auto; margin-top: 42px; font-size: 32px; }
  .lawyer-role { min-height: auto; }
  .lawyer-card dl { margin-top: 42px; }
  .lawyer-card dl div { grid-template-columns: 1fr; gap: 7px; }
  .services-intro { gap: 24px; margin-bottom: 42px; }
  .service-card { min-height: 132px; padding: 20px; }
  .service-card h3 { margin-top: 38px; font-size: 25px; }
  .business-service { gap: 48px; padding: 72px 22px; }
  .business-media { gap: 24px; }
  .contact-panel { padding: 72px 22px; }
  .contact-link { grid-template-columns: 24px minmax(0,1fr) auto; gap: 12px; font-size: 17px; overflow-wrap: anywhere; }
  .contact-hours { grid-template-columns: 24px minmax(0,1fr); gap: 12px; font-size: 17px; }
  .contact-visuals { grid-template-rows: auto 330px; }
  .contact-map-large,.contact-map-large iframe { min-height: 330px; }
}
