/* Shared palette, typography and spacing for every public page. */
:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --surface: #fff;
  --ink: #252225;
  --muted: #66615e;
  --line: #ded8cf;
  --panel: #ede9e2;
  --navy: #252225;
  --accent: #6f263d;
  --accent-hover: #581c2f;
  --line-strong: #a59b92;
  --dark-line: #51464a;
  --on-dark: #f2e9e5;
  --ice: var(--panel);
  --sand: var(--panel);
  --pine: var(--navy);
  --clay: var(--muted);
  --gold: var(--on-dark);
  --radius: 22px;
  --gap: 16px;
  --font: 'Manrope', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { background: var(--ice); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; overflow-wrap: anywhere; }
.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.tile { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.section { padding-block: clamp(48px, 4.5vw, 64px); }
.section-tint { background: var(--panel); }
.eyebrow, .card-kicker, .lawyer-title { display: block; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: .015em; }
.lead { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.section-copy { max-width: 630px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.section-heading, .section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 44px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .section-head h2, .section-title, .about-content-grid h2 { max-width: 780px; margin-top: 10px; font-size: clamp(34px, 3.5vw, 46px); line-height: 1.14; letter-spacing: -.055em; text-wrap: balance; }
.section-heading > p, .section-head > p { max-width: 460px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.accent-text { color: inherit; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 650; line-height: 1.35; transition: background .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.text-link, .profile-link, .card-link { display: inline-block; width: fit-content; font-size: 14px; font-weight: 650; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.text-link:hover, .profile-link:hover, .card-link:hover { text-decoration-color: currentColor; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px 10px; margin-bottom: 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span::before { content: '/'; margin-right: 10px; color: var(--line-strong); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(247,245,240,.96); backdrop-filter: blur(16px); }
.nav { position: relative; display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.home-link, .footer-home { color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.3; letter-spacing: -.05em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a { font-size: 14px; font-weight: 550; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta { padding: 13px 20px; border: 1px solid var(--navy); border-radius: 11px; background: var(--navy); color: #fff; }
.menu-toggle { display: none; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }

/* The opening mosaic */
.home-bento { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); padding-block: 24px 14px; }
.hero-copy { color: #fff; border-color: var(--accent); display: flex; grid-column: 1 / span 7; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 3.1vw, 44px); background: var(--accent); }
.hero-copy h1 { max-width: 740px; margin: 22px 0 20px; font-size: clamp(48px, 4.8vw, 68px); line-height: 1.055; letter-spacing: -.065em; text-wrap: balance; }
.hero-copy .eyebrow { color: var(--on-dark); }
.hero-copy .lead { color: var(--on-dark); max-width: 600px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.hero-note { max-width: 500px; margin-top: 21px; color: var(--on-dark); font-size: 13px; line-height: 1.65; }
.hero-photo { grid-column: 8 / -1; grid-row: 1; overflow: hidden; padding: 0; aspect-ratio: 1.65 / 1; background: var(--navy); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.hero-contact { position: relative; isolation: isolate; display: flex; grid-column: 8 / -1; grid-row: 2; min-height: 145px; flex-direction: column; justify-content: center; overflow: hidden; padding: 25px 28px; border-color: var(--navy); background: var(--navy); color: #fff; }
.hero-contact::before { position: absolute; z-index: -2; inset: 0; background: url('assets/meeting-room-editorial.webp') 68% 55% / cover; content: ''; }
.hero-contact::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(37,34,37,.88), rgba(37,34,37,.53)); content: ''; }
.hero-contact .eyebrow { color: var(--on-dark); }
.hero-phone { display: block; margin-top: 6px; font-size: 23px; font-weight: 650; letter-spacing: -.045em; line-height: 1.35; }
.hero-contact > a:not(.hero-phone) { width: fit-content; margin-top: 9px; color: var(--on-dark); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.hero-quote { display: grid; grid-column: 1 / span 7; grid-row: 3; grid-template-columns: 1fr 1fr; min-height: 160px; align-items: center; gap: 7px 24px; padding: 24px 30px; background: var(--ice); }
.hero-quote .eyebrow { grid-column: 1; grid-row: 1; }
.hero-quote strong { grid-column: 1; grid-row: 2; font-size: 20px; font-weight: 600; letter-spacing: -.035em; }
.hero-quote p { grid-column: 2; grid-row: 1 / span 3; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-quote > a { grid-column: 1; grid-row: 3; width: fit-content; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.hero-proof { position: relative; display: flex; grid-column: 8 / -1; grid-row: 3; min-height: 160px; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 28px; border-color: var(--navy); background: var(--navy); color: #fff; }
.hero-proof .eyebrow { color: var(--on-dark); }
.hero-proof strong { font-size: 32px; line-height: 1.15; font-weight: 650; letter-spacing: -.05em; }
.proof-caption { color: var(--on-dark); font-size: 13px; line-height: 1.55; }
.hero-proof:hover { background: #352f33; }

/* Practice areas: each composition has a purpose within a shared grid. */
.service-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--gap); align-items: stretch; }
.service-card { position: relative; isolation: isolate; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s; }
.service-card:hover { border-color: var(--line-strong); }
.service-card .card-kicker { margin-bottom: 10px; }
.service-card h3 { max-width: 540px; margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 31px); font-weight: 600; line-height: 1.18; letter-spacing: -.05em; }
.service-card p { max-width: 530px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.service-card ul { display: grid; gap: 7px; margin: 19px 0 23px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-card li { padding-top: 7px; }
.service-card .card-link { margin-top: auto; padding-top: 5px; }
.service-card--business { grid-column: span 7; min-height: 390px; padding-right: 15%; border-color: transparent; background: var(--navy); color: #fff; }
.service-card--business::before, .service-card--auto::before { position: absolute; z-index: -2; inset: 0; background: center / cover; content: ''; }
.service-card--business::before { background-image: url('assets/meeting-room-editorial.webp'); background-position: center 60%; }
.service-card--business::after, .service-card--auto::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(37,34,37,.93), rgba(37,34,37,.78) 55%, rgba(37,34,37,.35)); content: ''; }
.service-card--business .card-kicker, .service-card--auto .card-kicker { color: var(--on-dark); }
.service-card--business p, .service-card--business ul, .service-card--auto p, .service-card--auto ul { color: var(--on-dark); }
.service-card--business .card-link, .service-card--auto .card-link { text-decoration-color: var(--on-dark); }
.service-card--tax { grid-column: span 5; min-height: 390px; padding-bottom: 110px; background: var(--ice); }
.service-card--tax::before { position: absolute; z-index: -1; right: 0; bottom: 0; width: 46%; height: 116px; background: url('assets/civic-architecture-editorial.webp') 66% 52% / cover; border-top-left-radius: 35px; content: ''; }
.service-card--tax .card-link { max-width: 53%; }
.service-card--court { grid-column: span 5; min-height: 330px; border-color: var(--navy); background: var(--navy); color: #fff; }
.service-card--court .card-kicker { color: var(--on-dark); }
.service-card--court p, .service-card--court ul { color: var(--on-dark); }
.service-card--court .card-link { text-decoration-color: var(--line-strong); }
.service-card--property { grid-column: span 7; min-height: 330px; padding-right: 44%; }
.service-card--property::before { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 39%; background: url('assets/property-street-editorial-20261028.webp') 61% center / cover; content: ''; }
.service-card--family, .service-card--housing, .service-card--auto { grid-column: span 4; min-height: 430px; }
.service-card--family { padding-bottom: 165px; background: var(--sand); }
.service-card--family::before { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 135px; background: url('assets/family-consultation-editorial-20261028.webp') center 60% / cover; content: ''; }
.service-card--housing::before { display: block; flex: 0 0 130px; width: calc(100% + 60px); height: 130px; margin: -30px -30px 24px; background: url('assets/housing-interior-editorial-20261028.webp') center 58% / cover; content: ''; }
.service-card--auto { border-color: transparent; background: var(--navy); color: #fff; }
.service-card--auto::before { background-image: url('assets/auto-editorial-20261028.webp'); background-position: 63% center; }
.service-card--auto::after { background: linear-gradient(100deg, rgba(37,34,37,.92), rgba(37,34,37,.72) 60%, rgba(37,34,37,.62)); }
.service-card--military { display: grid; grid-column: 1 / -1; grid-template-columns: .85fr 1.15fr; grid-template-areas: 'label description' 'title items' 'link items'; align-items: start; gap: 10px 36px; min-height: 255px; padding-right: 29%; background: var(--ice); }
.service-card--military::before { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 25%; background: url('assets/military-documents-editorial-20261028.webp') 62% center / cover; content: ''; }
.service-card--military .card-kicker { grid-area: label; }
.service-card--military h3 { grid-area: title; margin: 0; }
.service-card--military p { grid-area: description; }
.service-card--military ul { grid-area: items; margin: 0; }
.service-card--military .card-link { grid-area: link; margin: 15px 0 0; }

/* The approach to work */
.process-bento { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: var(--gap); }
.process-intro { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 36px; border-radius: var(--radius); background: var(--ice); }
.process-intro h2 { margin: 14px 0 20px; font-size: clamp(32px,3vw,43px); line-height: 1.17; letter-spacing: -.055em; }
.process-intro p { margin-bottom: 25px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.process-intro .text-link { margin-top: auto; }
.process-list { display: flex; flex-direction: column; justify-content: center; padding: 12px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-list article { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.process-list article:last-child { border-bottom: 0; }
.process-list h3 { font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; }
.process-list p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Specialists and verified proof */
.team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(210px,auto)); gap: var(--gap); }
.contact-people { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); }
.person-card { display: grid; min-width: 0; grid-template-columns: minmax(0,1fr) minmax(95px,.32fr) 128px; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, background .2s; }
.person-card:hover { border-color: var(--accent); }
.person-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.person-copy .card-kicker { color: var(--muted); font-size: 13px; line-height: 1.6; }
.person-copy h3 { margin: 19px 0 24px; font-size: clamp(23px,2vw,29px); line-height: 1.24; letter-spacing: -.045em; }
.person-proof { display: grid; align-content: center; gap: 18px; }
.person-proof span { display: flex; flex-direction: column; color: var(--muted); font-size: 12px; line-height: 1.5; }
.person-proof strong { margin-top: 3px; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -.055em; line-height: 1.15; }
.person-copy .card-link { margin-top: auto; }
.person-card--artur { grid-column: 1; grid-row: 1 / span 2; display: flex; padding: 36px; border-color: var(--accent); background: var(--accent); color: #fff; }
.person-card--artur:hover { background: var(--accent-hover); }
.person-card--artur .person-copy { flex: 1; }
.person-card--artur .card-kicker, .person-card--artur .person-proof span { color: var(--on-dark); }
.person-card--artur h3 { margin: 24px 0 30px; font-size: clamp(30px,3vw,42px); line-height: 1.16; }
.person-card--artur .person-proof strong { color: #fff; font-size: 39px; }
.person-card--artur .card-link { margin-top: 24px; text-decoration-color: var(--on-dark); }
.person-feature { display: grid; width: 100%; grid-template-columns: 1fr 170px; gap: 20px; align-items: end; margin-top: auto; }
.person-photo { position: relative; display: block; min-width: 0; width: 100%; height: 156px; overflow: hidden; border-radius: 12px; background: var(--navy); }
.person-photo img { position: absolute; top: 0; width: 550%; height: auto; max-width: none; }
.person-photo--mikhail img { width: 650%; left: -135%; }
.person-photo--vladimir img { left: -175%; }
.person-photo--artur img { left: -273%; }
.person-card--artur .person-photo { height: 196px; }
.person-card--mikhail { background: var(--panel); }
.contact-person { display: flex; min-width: 0; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-person h3 { margin-bottom: 18px; font-size: 23px; line-height: 1.35; letter-spacing: -.05em; }
.contact-person > span { margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-person > a { display: block; width: fit-content; margin: 6px 0; font-size: 13px; line-height: 1.6; }
.contact-person > a[data-lawyer-phone] { font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.contact-person .profile-link { margin-top: auto; padding-top: 24px; }

/* Contact and forms */
.contact-bento { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: var(--gap); align-items: stretch; }
.contact-intro { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 38px; border-color: var(--navy); background: var(--navy); color: #fff; }
.contact-intro .eyebrow, .contact-panel .eyebrow, .contact-strip .eyebrow { color: var(--on-dark); }
.contact-intro h2, .contact-panel .section-title, .contact-strip h2 { color: #fff; font-size: clamp(34px,3.3vw,46px); line-height: 1.14; letter-spacing: -.055em; }
.contact-intro h2 { margin: 17px 0 23px; }
.contact-intro > p { max-width: 460px; color: var(--on-dark); font-size: 15px; line-height: 1.75; }
.contact-details { display: grid; gap: 8px; margin-top: 28px; }
.contact-details a:not(.hero-phone) { width: fit-content; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.contact-intro .contact-address { margin-top: auto; padding-top: 40px; color: var(--on-dark); font-size: 13px; }
.contact-review { margin: 27px 0 0; padding-top: 23px; border-top: 1px solid var(--dark-line); }
.contact-review p { color: var(--on-dark); font-family: var(--font); font-size: 18px; line-height: 1.5; }
.contact-review footer { margin-top: 12px; color: var(--on-dark); font-size: 13px; line-height: 1.55; }
.contact-review a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.contact-form-tile { padding: 36px; background: #fff; }
.form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
.field { display: grid; grid-column: 1 / -1; min-width: 0; gap: 8px; }
.field:nth-of-type(1), .field:nth-of-type(2) { grid-column: span 1; }
.field label, .field > span { color: var(--muted); font-size: 13px; font-weight: 550; line-height: 1.55; }
.field input, .field textarea { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; color: var(--ink); font-size: 16px; outline: none; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px #f2e2e7; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.consent { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form > .btn { grid-column: 1 / -1; justify-self: start; min-width: 210px; }
.form-status { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.form button:disabled { cursor: wait; opacity: .6; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 32px; padding: 35px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.contact-strip h2 { margin: 10px 0 14px; font-size: 36px; }
.contact-strip p { max-width: 700px; color: var(--on-dark); font-size: 15px; line-height: 1.7; }
.contact-strip .btn { flex-shrink: 0; background: #fff; color: var(--ink); }

/* Shared internal-page mosaics */
.about-lead, .contacts-lead, .service-lead { padding-block: 26px 18px; }
.about-bento, .contacts-bento, .page-bento, .service-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: var(--gap); }
.page-bento { padding-top: 26px; }
.about-intro, .contacts-intro, .page-intro { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px; border-color: var(--accent); background: var(--accent); color: #fff; }
.about-intro h1, .contacts-intro h1, .page-intro h1 { max-width: 100%; margin: 16px 0 24px; font-size: clamp(40px,4.3vw,60px); line-height: 1.12; letter-spacing: -.06em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.about-intro .btn, .contacts-intro .btn { margin-top: 26px; }
.about-aside, .contacts-details, .service-side-tile, .service-visual, .sitemap-aside, .privacy-aside { position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 320px; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 32px; background: var(--ice); }
.about-aside h2, .service-visual h2 { margin: 16px 0 20px; font-size: 30px; line-height: 1.25; letter-spacing: -.05em; }
.about-aside p, .service-visual p { margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.contacts-details { background: var(--navy); color: #fff; }
.contacts-details .eyebrow { color: var(--on-dark); }
.contacts-details address { margin: 22px 0; font-size: 31px; line-height: 1.35; font-weight: 550; font-style: normal; letter-spacing: -.045em; }
.contacts-details .text-link, .contacts-details .contact-details { color: var(--on-dark); }
.about-content-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: start; gap: 40px; }
.about-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.about-points article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.about-points h3 { margin-bottom: 15px; font-size: 18px; line-height: 1.4; letter-spacing: -.035em; }
.about-points p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.mini-service-grid a { display: flex; min-width: 0; min-height: 174px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mini-service-grid a span { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; }
.mini-service-grid small { margin-top: 19px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mini-service-grid a:hover { border-color: var(--line-strong); }
.service-hero .page-intro { min-height: 410px; }
.service-visual { justify-content: flex-end; min-height: 410px; border-color: transparent; background: var(--navy); color: #fff; }
.service-visual::before { position: absolute; z-index: -2; inset: 0; background: url('assets/meeting-room-editorial.webp') center / cover; content: ''; }
.service-visual::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(37,34,37,.94), rgba(37,34,37,.67) 65%, rgba(37,34,37,.2)); content: ''; }
.service-visual .eyebrow { color: var(--on-dark); }
.service-visual h2 { color: #fff; }
.service-visual p { color: var(--on-dark); }
.service-visual--tax::before { background-image: url('assets/civic-architecture-editorial.webp'); background-position: 65% center; }
.service-visual--court::before { background-image: url('assets/courtroom-editorial-20261028.webp'); }
.service-visual--civil::before { background-image: url('assets/property-street-editorial-20261028.webp'); }
.service-visual--family::before { background-image: url('assets/family-consultation-editorial-20261028.webp'); }
.service-visual--housing::before { background-image: url('assets/housing-interior-editorial-20261028.webp'); }
.service-visual--military::before { background-image: url('assets/military-documents-editorial-20261028.webp'); }
.service-visual--auto::before { background-image: url('assets/auto-editorial-20261028.webp'); }
.service-detail-grid { display: grid; grid-template-columns: minmax(0,1fr); }
.service-list-tile { padding: 35px; }
.service-list-tile h2 { margin: 14px 0 25px; font-size: 34px; line-height: 1.25; letter-spacing: -.05em; }
.detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.detail-list li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-faq-section { padding-top: 10px; }
.service-faq-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); }
.service-faq-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.service-faq-card h3 { margin-bottom: 17px; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.035em; }
.service-faq-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* Individual profiles: real evidence, no decorative stock backdrop. */
.lawyer-hero { padding-block: 28px 20px; }
.lawyer-hero-content { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); grid-template-areas: 'crumb stats' 'title stats' 'name stats' 'lead stats' 'cta stats'; column-gap: 60px; padding: 40px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: #fff; }
.lawyer-hero .breadcrumb { grid-area: crumb; margin-bottom: 23px; }
.lawyer-title { grid-area: title; }
.lawyer-hero .display { grid-area: name; margin: 15px 0 22px; font-size: clamp(40px,4.4vw,61px); font-weight: 550; line-height: 1.15; letter-spacing: -.06em; }
.lawyer-hero .section-copy { grid-area: lead; font-size: 16px; }
.lawyer-hero .hero-actions { grid-area: cta; }
.hero-stats { display: grid; grid-area: stats; gap: 14px; margin: 0; }
.hero-stat { color: var(--ink); display: flex; min-height: 175px; flex-direction: column; justify-content: center; padding: 28px; border-radius: 18px; background: #fff; }
.hero-stat:first-child { background: var(--navy); color: #fff; }
.hero-stat strong { font-size: 62px; font-weight: 500; line-height: 1.1; letter-spacing: -.075em; }
.hero-stat span { margin-top: 16px; font-size: 13px; line-height: 1.5; }
.lawyer-hero-media { display: none; }
.expertise-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 50px; align-items: start; }
.expertise-grid .section-copy { margin-top: 24px; font-size: 15px; }
.expertise-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.expertise-item { display: flex; min-width: 0; min-height: 136px; align-items: center; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 17px; font-weight: 550; line-height: 1.5; letter-spacing: -.025em; }
.docs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); }
.doc-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.doc-card img { width: 100%; height: 285px; object-fit: contain; border-radius: 9px; background: var(--panel); }
.doc-card span { margin: 16px 0 0; font-size: 14px; font-weight: 550; line-height: 1.6; }
.doc-pdf-link { width: fit-content; margin-top: 10px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); }
.review { display: flex; min-width: 0; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.review p { margin: 0 0 24px; color: var(--ink); font-family: var(--font); font-size: 19px; line-height: 1.55; }
.review strong { margin-top: auto; color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 600; }
.contact-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 36px; padding: 36px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.contact-panel .section-title { margin: 17px 0 22px; font-size: 38px; }
.contact-panel .section-copy { color: var(--on-dark); font-size: 15px; }
.contact-panel .contact-details { color: var(--on-dark); }
.contact-panel .form { padding: 28px; border-radius: 16px; background: #fff; color: var(--ink); }

/* Supporting pages, footer and privacy notice */
.sitemap-aside, .privacy-aside { min-height: 260px; gap: 20px; background: var(--ice); }
.sitemap-aside a, .privacy-aside a { width: fit-content; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.privacy-document { max-width: 1040px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.privacy-document h2 { margin: 35px 0 18px; font-size: 26px; line-height: 1.35; letter-spacing: -.04em; }
.privacy-document p, .privacy-document li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.privacy-document p + p { margin-top: 18px; }
.privacy-document ul { padding-left: 22px; }
.privacy-document li { margin-block: 8px; }
.privacy-document a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-meta { margin-top: 30px; font-size: 13px !important; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); align-items: start; }
.sitemap-group { display: flex; min-width: 0; flex-direction: column; padding: 28px; }
.sitemap-group h2 { margin: 15px 0 22px; font-size: 26px; line-height: 1.35; letter-spacing: -.04em; }
.sitemap-group a { padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.65; }
.footer { padding-block: 35px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: .9fr 1.1fr auto; gap: 22px 36px; align-items: start; }
.footer-inner > p { max-width: 500px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-inner > small { grid-column: 3; grid-row: 1; color: var(--muted); font-size: 12px; }
.cookie-notice { display: flex; position: static; width: 100%; align-items: center; justify-content: center; gap: 18px; padding: 15px 24px; border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); }
.cookie-notice p { font-size: 12px; line-height: 1.7; }
.cookie-notice a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-button { flex-shrink: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }

/* Runtime contracts used by script.js */
.modal, .lightbox { position: fixed; z-index: 120; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open, .lightbox.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(37,34,37,.7); backdrop-filter: blur(5px); }
.modal-card { position: relative; z-index: 1; width: min(680px,100%); max-height: 90dvh; overflow: auto; padding: 36px; border-radius: 20px; background: #fff; }
.modal-card h2 { margin: 15px 38px 28px 0; font-size: 34px; line-height: 1.25; letter-spacing: -.055em; }
.modal-close, .lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; }
.lightbox { background: rgba(37,34,37,.86); backdrop-filter: blur(5px); }
.lightbox img { max-width: min(92vw,1300px); max-height: 88dvh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; }
.reveal { opacity: 1; transform: none; }


/* The burgundy accent introduces the subject; supporting surfaces stay neutral. */
.hero-copy .btn-primary, .about-intro .btn-primary, .contacts-intro .btn-primary, .page-intro .btn-primary, .lawyer-hero-content .btn-primary { background: #fff; color: var(--accent); }
.hero-copy .btn-primary:hover, .about-intro .btn-primary:hover, .contacts-intro .btn-primary:hover, .page-intro .btn-primary:hover, .lawyer-hero-content .btn-primary:hover { background: #f5e9ed; }
.about-intro .eyebrow, .contacts-intro .eyebrow, .page-intro .eyebrow, .lawyer-hero .lawyer-title { color: var(--on-dark); }
.about-intro .lead, .contacts-intro .lead, .page-intro .lead, .lawyer-hero .section-copy { color: var(--on-dark); }
.about-intro .breadcrumb, .contacts-intro .breadcrumb, .page-intro .breadcrumb, .lawyer-hero .breadcrumb { color: var(--on-dark); }
.about-intro .breadcrumb span::before, .contacts-intro .breadcrumb span::before, .page-intro .breadcrumb span::before { color: var(--on-dark); }
.about-intro .text-link, .contacts-intro .text-link, .page-intro .text-link, .lawyer-hero .text-link { color: #fff; text-decoration-color: var(--on-dark); }

/* Useful content has its own hierarchy, within the same bento rhythm. */
.service-scenarios, .lawyer-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); }
.service-scenarios--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.scenario-card, .lawyer-focus-card { min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.scenario-card h3, .lawyer-focus-card h3 { margin-bottom: 17px; font-size: 23px; font-weight: 650; line-height: 1.35; letter-spacing: -.045em; }
.scenario-card p, .lawyer-focus-card p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.service-work-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; align-items: start; }
.service-scope { min-width: 0; padding: 12px 0; }
.service-scope > h2, .preparation-card h2 { margin: 13px 0 20px; font-size: clamp(30px,3vw,40px); line-height: 1.2; letter-spacing: -.05em; }
.scope-intro { color: var(--muted); font-size: 16px; line-height: 1.8; }
.service-scope-list { margin-top: 28px; }
.service-scope-list article { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.service-scope-list h3 { font-size: 17px; line-height: 1.55; letter-spacing: -.025em; }
.service-scope-list p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.preparation-card { padding: 32px; }
.preparation-card h2 { font-size: 29px; }
.preparation-list, .profile-preparation > ul { margin: 26px 0 0; padding: 0; list-style: none; }
.preparation-list li, .profile-preparation > ul li { padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1.75; }
.preparation-note { margin: 19px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.related-practices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); }
.related-practices--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.related-practices--1 { grid-template-columns: 1fr; }
.related-practices > a { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.related-practices > a:hover { border-color: var(--accent); }
.related-practices h3, .related-practices > a > span:first-child { margin-bottom: 17px; font-size: 23px; font-weight: 650; line-height: 1.35; letter-spacing: -.045em; }
.related-practices p, .related-practices small { display: block; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.related-practices .card-link { margin-top: auto; color: var(--accent); text-decoration-color: var(--accent); }
.related-practices--1 > a { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr) auto; align-items: center; gap: 28px; }
.related-practices--1 h3, .related-practices--1 p, .related-practices--1 .card-link { margin: 0; }
.profile-preparation { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 25px 48px; padding: 35px; border-radius: var(--radius); background: var(--panel); }
.profile-preparation .section-copy { margin-top: 24px; font-size: 15px; }
.profile-preparation > ul { margin: 0; }
.profile-preparation > p.profile-note { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.expertise-grid > div.profile-note { padding: 12px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.expertise-grid .profile-note > div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.expertise-grid .profile-note > div:last-child { border-bottom: 0; }
.expertise-grid .profile-note h3 { font-size: 17px; line-height: 1.55; letter-spacing: -.025em; }
.expertise-grid .profile-note p { color: var(--muted); font-size: 14px; line-height: 1.8; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 40px); }
  .hero-copy { padding: 30px; }
  .hero-copy h1 { font-size: clamp(45px,5.1vw,61px); }
  .hero-quote { grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; }
  .hero-quote strong { font-size: 17px; }
  .hero-quote p { padding-left: 16px; font-size: 13px; }
  .hero-contact { padding: 22px; }
  .hero-phone { font-size: 20px; }
  .service-card { padding: 25px; }
  .service-card--business { padding-right: 10%; }
  .service-card--property { padding-right: 43%; }
  .service-card--family { padding-bottom: 165px; }
  .service-card--tax { padding-bottom: 110px; }
  .service-card--housing::before { width: calc(100% + 50px); margin: -25px -25px 22px; }
  .service-card--military { padding-right: 29%; gap: 10px 24px; }
  .service-card h3 { font-size: 25px; }
  .person-card, .contact-person { padding: 23px; }
  .person-card:not(.person-card--artur) { grid-template-columns: minmax(0,1fr) 94px 108px; gap: 14px; }
  .person-proof strong { font-size: 26px; }
  .about-content-grid, .expertise-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-points { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mini-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-intro, .contacts-intro, .page-intro { padding: 32px; }
  .lawyer-hero-content { gap: 0 35px; padding: 32px; }
  .contact-intro, .contact-form-tile { padding: 29px; }
  .contact-panel { grid-template-columns: 1fr 1.25fr; padding: 28px; gap: 25px; }
}
@media (max-width: 820px) {
  .nav { min-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--paper); box-shadow: 0 15px 24px rgba(37,34,37,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; }
  .section-heading, .section-head { grid-template-columns: 1fr; gap: 17px; }
  .section-heading > p, .section-head > p { max-width: 650px; }
  .home-bento { grid-template-columns: repeat(12,minmax(0,1fr)); }
  .hero-copy { grid-column: 1 / -1; grid-row: 1; }
  .hero-copy h1 { max-width: 690px; font-size: 55px; }
  .hero-photo { grid-column: 1 / span 7; grid-row: 2; aspect-ratio: 1.45 / 1; align-self: stretch; }
  .hero-contact { grid-column: 8 / -1; grid-row: 2; }
  .hero-quote { grid-row: 3; grid-template-columns: 1fr; }
  .hero-quote .eyebrow { display: none; }
  .hero-quote > a { grid-column: 1; grid-row: 3; }
  .hero-quote p { grid-column: 1; grid-row: 2; padding-left: 0; border-left: 0; }
  .hero-quote strong { grid-column: 1; grid-row: 1; }
  .hero-proof { padding-right: 24px; padding-left: 24px; }
  .hero-proof strong { font-size: 27px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card--business, .service-card--tax, .service-card--court, .service-card--property, .service-card--family, .service-card--housing, .service-card--auto { grid-column: span 1; }
  .service-card--property { padding-right: 25px; padding-bottom: 165px; }
  .service-card--property::before { inset: auto 0 0; width: 100%; height: 135px; }
  .service-card--military { grid-column: 1 / -1; }
  .process-bento, .contact-bento, .about-bento, .contacts-bento, .page-bento, .service-hero, .contact-panel { grid-template-columns: 1fr; }
  .process-intro { padding: 30px; }
  .team-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .person-card--artur { grid-column: auto; grid-row: auto; min-height: 360px; }
  .contact-people { grid-template-columns: 1fr; }
  .about-aside, .contacts-details, .service-visual { min-height: 310px; }
  .service-hero .page-intro { min-height: 0; }
  .service-faq-grid { grid-template-columns: 1fr; }
  .service-faq-card { padding: 25px; }
  .lawyer-hero-content { grid-template-columns: 1fr; grid-template-areas: 'crumb' 'title' 'name' 'lead' 'cta' 'stats'; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .hero-stat { min-height: 160px; }
  .contact-panel .form { padding: 26px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1.3fr; gap: 24px; }
  .footer-inner > small { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (max-width: 600px) {
  :root { --radius: 20px; --gap: 10px; }
  html { scroll-padding-top: 82px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 24px); }
  .section { padding-block: 45px; }
  .nav { min-height: 68px; gap: 16px; }
  .home-link, .footer-home { font-size: 14px; }
  .menu-toggle { padding: 10px 13px; }
  .home-bento { padding-block: 13px; }
  .hero-copy { padding: 27px 23px; }
  .hero-copy h1 { margin: 22px 0; font-size: clamp(36px,9.5vw,48px); line-height: 1.12; letter-spacing: -.06em; }
  .hero-copy .lead { font-size: 15px; line-height: 1.75; }
  .hero-note { font-size: 13px; margin-top: 19px; }
  .hero-actions { margin-top: 23px; gap: 14px 20px; }
  .hero-photo { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4 / 3; }
  .hero-contact { grid-column: 1 / -1; grid-row: 3; min-height: 148px; padding: 24px; }
  .hero-quote { display: flex; grid-column: 1 / -1; grid-row: 4; min-height: 0; flex-direction: column; align-items: flex-start; gap: 13px; padding: 23px; }
  .hero-quote .eyebrow { display: block; }
  .hero-quote strong { font-size: 22px; }
  .hero-quote p { padding-left: 0; border-left: 0; font-size: 14px; }
  .hero-quote > a { margin-top: 3px; }
  .hero-proof { grid-column: 1 / -1; grid-row: 5; padding: 24px; }
  .hero-proof strong { font-size: 28px; }
  .hero-phone { font-size: 23px; }
  .section-heading, .section-head { margin-bottom: 23px; gap: 15px; }
  .section-heading h2, .section-head h2, .section-title, .about-content-grid h2 { font-size: clamp(30px,8vw,38px); line-height: 1.2; letter-spacing: -.055em; }
  .section-heading > p, .section-head > p { font-size: 14px; line-height: 1.75; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card, .service-card--business, .service-card--tax, .service-card--court, .service-card--property, .service-card--family, .service-card--housing, .service-card--auto, .service-card--military { grid-column: 1 / -1; padding: 25px; min-height: 0; }
  .service-card h3 { font-size: 27px; line-height: 1.22; }
  .service-card p { font-size: 15px; }
  .service-card ul { font-size: 14px; }
  .service-card--business { min-height: 360px; }
  .service-card--tax { min-height: 335px; padding-bottom: 100px; }
  .service-card--court { min-height: 330px; }
  .service-card--property, .service-card--family { padding-bottom: 177px; }
  .service-card--property::before, .service-card--family::before { height: 147px; }
  .service-card--housing::before { width: calc(100% + 50px); margin: -25px -25px 24px; height: 160px; flex-basis: 160px; }
  .service-card--auto { min-height: 380px; }
  .service-card--military { display: flex; padding-bottom: 177px; gap: 0; }
  .service-card--military::before { top: auto; width: 100%; height: 147px; }
  .service-card--military ul { margin: 19px 0 23px; }
  .service-card--military h3 { margin-bottom: 14px; }
  .service-card--military .card-link { margin: auto 0 0; }
  .process-intro { padding: 27px; }
  .process-intro h2 { font-size: 34px; }
  .process-list { padding: 5px 24px; }
  .process-list article { grid-template-columns: 1fr; gap: 9px; padding: 22px 0; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .person-card { padding: 25px; }
  .person-card:not(.person-card--artur) { grid-template-columns: minmax(0,1fr) 105px; gap: 22px 14px; }
  .person-card:not(.person-card--artur) .person-copy { grid-column: 1 / -1; }
  .person-card:not(.person-card--artur) .person-proof { grid-template-columns: 1fr; }
  .person-feature { grid-template-columns: minmax(0,1fr) 120px; }
  .person-card--artur .person-photo { height: 156px; }
  .person-copy h3 { font-size: 23px; margin-block: 18px 24px; }
  .person-proof { gap: 16px; }
  .person-proof strong { font-size: 28px; }
  .person-card--artur h3 { font-size: 32px; }
  .person-card--artur .person-proof strong { font-size: clamp(26px,7vw,34px); white-space: nowrap; }
  .contact-intro, .contact-form-tile { padding: 27px 23px; }
  .contact-intro h2 { font-size: 37px; }
  .contact-intro .contact-address { padding-top: 32px; }
  .form { grid-template-columns: 1fr; gap: 18px; }
  .field:nth-of-type(1), .field:nth-of-type(2), .field { grid-column: 1 / -1; }
  .form > .btn { width: 100%; min-width: 0; }
  .field input, .field textarea { font-size: 16px; }
  .contact-strip { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; }
  .contact-strip h2 { font-size: 32px; }
  .contact-strip p { font-size: 14px; }
  .about-lead, .contacts-lead, .service-lead { padding-block: 16px 6px; }
  .page-bento { padding-top: 16px; }
  .about-intro, .contacts-intro, .page-intro { padding: 27px 23px; }
  .about-intro h1, .contacts-intro h1, .page-intro h1 { margin: 17px 0 23px; font-size: clamp(34px,9.2vw,42px); line-height: 1.18; }
  .lead { font-size: 16px; }
  .breadcrumb { margin-bottom: 23px; font-size: 11px; }
  .about-aside, .contacts-details, .service-visual, .privacy-aside, .sitemap-aside { padding: 27px; min-height: 280px; }
  .about-aside h2, .service-visual h2 { font-size: 29px; }
  .contacts-details address { font-size: 28px; }
  .about-content-grid { gap: 25px; }
  .about-points { grid-template-columns: 1fr; gap: 10px; }
  .about-points article { padding: 24px; }
  .mini-service-grid { grid-template-columns: 1fr; gap: 10px; }
  .mini-service-grid a { min-height: 0; padding: 24px; }
  .mini-service-grid small { margin-top: 13px; }
  .detail-list { grid-template-columns: 1fr; }
  .service-list-tile { padding: 27px 23px; }
  .service-list-tile h2 { font-size: 30px; }
  .service-faq-card { padding: 24px; }
  .service-faq-card h3 { font-size: 18px; }
  .lawyer-hero { padding-top: 16px; }
  .lawyer-hero-content { padding: 27px 23px; }
  .lawyer-hero .display { font-size: clamp(34px,9.2vw,43px); line-height: 1.2; }
  .lawyer-hero .section-copy { font-size: 15px; }
  .hero-stats { gap: 10px; margin-top: 27px; }
  .hero-stat { min-height: 145px; padding: 20px; }
  .hero-stat strong { font-size: 45px; }
  .hero-stat span { margin-top: 12px; font-size: 12px; }
  .expertise-grid { gap: 27px; }
  .expertise-list { grid-template-columns: 1fr; gap: 10px; }
  .expertise-item { min-height: 100px; padding: 24px; font-size: 17px; }
  .docs-grid, .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .doc-card { padding: 16px; }
  .doc-card img { height: 245px; }
  .review { padding: 27px; }
  .review p { font-size: 17px; }
  .contact-panel { padding: 27px 23px; gap: 27px; }
  .contact-panel .section-title { font-size: 32px; }
  .contact-panel .form { padding: 22px 18px; }
  .contact-person { padding: 25px; }
  .privacy-document { padding: 25px 22px; }
  .privacy-document h2 { font-size: 23px; margin-top: 28px; }
  .privacy-document p, .privacy-document li { font-size: 15px; }
  .sitemap-group { padding: 27px; }
  .footer { padding-block: 29px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner > small { grid-column: auto; grid-row: auto; justify-self: start; }
  .footer-links { gap: 12px 20px; }
  .cookie-notice { justify-content: space-between; gap: 12px; padding: 15px 12px; }
  .cookie-notice p { font-size: 11px; }
  .modal, .lightbox { padding: 12px; }
  .modal-card { padding: 27px 23px; border-radius: 18px; }
  .modal-card h2 { font-size: 29px; }
}
@media (max-width: 360px) {
  .hero-copy, .about-intro, .contacts-intro, .page-intro { padding: 24px 20px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-proof strong { font-size: 25px; }
  .hero-phone { font-size: 21px; }
  .person-proof strong { font-size: 28px; }
  .hero-stat { padding: 17px; }
  .hero-stat strong { font-size: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 1000px) {
  .service-work-grid { grid-template-columns: 1fr; gap: 24px; }
  .lawyer-focus-grid { grid-template-columns: 1fr; }
  .lawyer-focus-card { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 30px; }
  .lawyer-focus-card h3 { margin-bottom: 0; }
}
@media (max-width: 820px) {
  .service-scenarios { grid-template-columns: 1fr; }
  .service-scenarios--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .related-practices { grid-template-columns: 1fr; }
  .related-practices--1 > a { display: flex; align-items: flex-start; gap: 18px; }
  .profile-preparation { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
}
@media (max-width: 600px) {
  .service-scenarios--4 { grid-template-columns: 1fr; }
  .scenario-card, .lawyer-focus-card, .related-practices > a { padding: 24px; }
  .scenario-card h3, .lawyer-focus-card h3, .related-practices h3, .related-practices > a > span:first-child { font-size: 22px; }
  .lawyer-focus-card { grid-template-columns: 1fr; gap: 16px; }
  .service-scope > h2 { font-size: 32px; }
  .service-scope-list article, .expertise-grid .profile-note > div { grid-template-columns: 1fr; gap: 12px; }
  .preparation-card { padding: 26px 23px; }
  .preparation-card h2 { font-size: 27px; }
  .profile-preparation { padding: 27px 23px; }
  .expertise-grid > div.profile-note { padding: 6px 24px; }
}

/* Editorial bento: text, photographs and information share the same grid. */
.person-card, .person-card:not(.person-card--artur) { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(170px,.9fr); gap: 0; padding: 0; overflow: hidden; }
.person-card--artur { grid-column: 1; grid-row: 1 / span 2; }
.person-card .person-copy { padding: 30px; justify-content: flex-start; }
.person-card--artur .person-copy { padding: 38px; }
.person-card .person-copy h3 { margin: 20px 0 24px; font-size: clamp(21px,1.7vw,27px); }
.person-card--artur .person-copy h3 { font-size: clamp(30px,2.8vw,40px); }
.person-card .person-proof { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: auto 0 22px; }
.person-card .person-proof strong { font-size: clamp(25px,2vw,31px); white-space: nowrap; }
.person-card--artur .person-proof strong { font-size: clamp(31px,2.7vw,38px); }
.person-card .card-link { margin-top: 0; }
.person-card .person-photo { grid-column: 2; grid-row: 1; align-self: stretch; height: 100%; min-height: 240px; border-radius: 0; }
.person-card--artur .person-photo { height: 100%; min-height: 460px; }
.person-card--mikhail .person-copy { grid-column: 2; grid-row: 1; }
.person-card--mikhail .person-photo { grid-column: 1; grid-row: 1; }

.lawyer-hero-content { grid-template-columns: minmax(0,1fr) minmax(380px,.9fr); }
.hero-stats { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); grid-template-rows: repeat(2,minmax(145px,1fr)); }
.hero-stats .profile-photo { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; height: 100%; min-height: 320px; border-radius: 18px; }
.hero-stat { min-height: 145px; }
.hero-stat:nth-child(2) { background: var(--navy); color: #fff; }
.hero-stat:nth-child(3) { background: #fff; color: var(--ink); }

.lawyer-focus-grid, .service-scenarios--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.scenario-card, .lawyer-focus-card { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.scenario-card h3, .lawyer-focus-card h3 { margin: 0; max-width: 24ch; }
.scenario-card p, .lawyer-focus-card p { margin-top: auto; max-width: 45ch; }
.scenario-card:first-child, .lawyer-focus-card:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.scenario-card:first-child p, .lawyer-focus-card:first-child p { color: var(--on-dark); }
.scenario-card:nth-child(2), .lawyer-focus-card:nth-child(2) { background: var(--panel); }
.service-scope-list article, .expertise-grid .profile-note > div { align-items: start; }
.detail-list { gap: 10px 30px; }
.detail-list li { padding: 8px 0; border: 0; }
.service-lawyers { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,350px),1fr)); gap: var(--gap); }
.service-lawyer { display: grid; grid-template-columns: minmax(0,1fr) minmax(105px,.7fr); min-height: 250px; overflow: hidden; }
.service-lawyer > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 27px; }
.service-lawyer h3 { margin: 16px 0 24px; font-size: 22px; line-height: 1.28; letter-spacing: -.04em; }
.service-lawyer .card-link { margin-top: auto; }
.service-lawyer .person-photo { height: 100%; min-height: 250px; border-radius: 0; }
.service-lawyer:nth-child(2) { background: var(--panel); }
.person-photo--mikhail img { top: -20%; }

@media (max-width: 1000px) {
  .person-card, .person-card:not(.person-card--artur) { grid-template-columns: minmax(0,1fr) minmax(145px,.75fr); }
  .person-card .person-copy, .person-card--artur .person-copy { padding: 26px; }
  .lawyer-focus-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lawyer-focus-card { display: flex; gap: 24px; }
}
@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .person-card--artur { grid-column: auto; grid-row: auto; }
  .person-card--artur .person-photo { min-height: 330px; }
  .lawyer-hero-content { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); margin-top: 30px; }
  .service-scenarios--3, .lawyer-focus-grid { grid-template-columns: 1fr; }
  .scenario-card, .lawyer-focus-card { min-height: 0; }
}
@media (max-width: 600px) {
  .person-card, .person-card:not(.person-card--artur) { grid-template-columns: minmax(0,1fr) minmax(105px,.8fr); gap: 0; }
  .person-card .person-copy, .person-card--artur .person-copy { grid-column: 1; grid-row: 1; padding: 24px 18px; }
  .person-card--mikhail .person-copy { grid-column: 2; }
  .person-card:not(.person-card--artur) .person-copy { grid-column: 1; }
  .person-card--mikhail:not(.person-card--artur) .person-copy { grid-column: 2; }
  .person-card--mikhail .person-photo { grid-column: 1; }
  .person-card .person-copy h3, .person-card--artur .person-copy h3 { font-size: clamp(20px,5.2vw,25px); margin: 16px 0 20px; overflow-wrap: normal; word-break: normal; }
  .person-card .card-kicker { font-size: 12px; }
  .person-card .person-proof { grid-template-columns: 1fr; gap: 12px; margin: auto 0 18px; }
  .person-card .person-proof strong, .person-card--artur .person-proof strong { font-size: 25px; }
  .person-card .person-photo, .person-card--artur .person-photo { height: 100%; min-height: 300px; }
  .hero-stats { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); grid-template-rows: repeat(2,minmax(120px,1fr)); }
  .hero-stats .profile-photo { min-height: 270px; }
  .hero-stat { min-height: 120px; padding: 18px; }
  .hero-stat strong { font-size: 42px; }
  .scenario-card, .lawyer-focus-card { padding: 25px; gap: 16px; }
  .service-lawyer { grid-template-columns: minmax(0,1fr) 38%; }
  .service-lawyer > div { padding: 23px; }
  .service-lawyer h3 { font-size: 20px; overflow-wrap: normal; }
}
@media (max-width: 520px) {
  .person-card, .person-card:not(.person-card--artur) { grid-template-columns: 1fr; }
  .person-card .person-copy, .person-card--artur .person-copy, .person-card:not(.person-card--artur) .person-copy, .person-card--mikhail:not(.person-card--artur) .person-copy { grid-column: 1; grid-row: 1; padding: 25px; }
  .person-card .person-copy h3, .person-card--artur .person-copy h3 { font-size: 24px; }
  .person-card .person-proof, .person-card:not(.person-card--artur) .person-proof { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; }
  .person-card .person-photo, .person-card--artur .person-photo, .person-card--mikhail .person-photo { grid-column: 1; grid-row: 2; height: 270px; min-height: 270px; }
  .person-card .person-photo img { width: 550%; }
  .person-card .person-photo--artur img { left: -273%; }
  .person-card .person-photo--vladimir img { left: -175%; }
  .person-card .person-photo--mikhail img { width: 650%; left: -135%; top: -12%; }
}

/* Editorial rhythm: a photographic introduction and distinct practical cards. */
.section-heading, .section-head { column-gap: clamp(28px,4vw,56px); }
.section-heading > p, .section-head > p { font-size: 16px; line-height: 1.7; }
.process-bento { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: stretch; }
.process-intro { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; justify-content: flex-end; background: var(--navy); color: #fff; }
.process-intro::before { position: absolute; z-index: -2; inset: 0; background: url('assets/meeting-room-editorial.webp') center / cover; content: ''; }
.process-intro::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(37,34,37,.97),rgba(37,34,37,.82) 55%,rgba(37,34,37,.45)); content: ''; }
.process-intro .eyebrow, .process-intro p { color: var(--on-dark); }
.process-intro h2 { max-width: 430px; }
.process-intro .text-link { margin-top: 0; color: #fff; text-decoration-color: var(--on-dark); }
.process-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); padding: 0; border: 0; background: transparent; }
.process-list article, .process-list article:last-child { display: flex; min-width: 0; min-height: 190px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-list article:first-child { grid-column: 1 / -1; min-height: 180px; justify-content: flex-end; border-color: var(--accent); background: var(--accent); color: #fff; }
.process-list article:first-child p { color: var(--on-dark); }
.process-list article:last-child { background: var(--panel); }
.process-list h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.04em; }
.process-list p { max-width: 440px; font-size: 15px; line-height: 1.65; }
.process-list article:not(:first-child) p { margin-top: auto; }
.service-card h3 { text-wrap: balance; }
.service-card ul { gap: 9px; }
.service-card li { padding-top: 0; }
.scenario-card, .lawyer-focus-card, .service-faq-card, .related-practices > a { min-width: 0; }
.service-faq-card { display: flex; flex-direction: column; gap: 16px; }
.service-faq-card h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.service-faq-card p { margin-top: auto; font-size: 15px; line-height: 1.7; }
.service-faq-card:nth-child(2) { background: var(--panel); }
.related-practices > a { transition: border-color .2s, background .2s; }
.related-practices > a:nth-child(2) { background: var(--panel); }
.related-practices > a:hover { border-color: var(--accent); }
.review:nth-child(even) { background: var(--panel); }
.review p { font-size: 18px; line-height: 1.7; }
.contact-person:nth-child(2) { background: var(--panel); }
.contact-person h3 { max-width: 20ch; }
@media (max-width: 820px) {
  .process-bento { grid-template-columns: 1fr; }
  .process-intro { min-height: 300px; }
}
@media (max-width: 600px) {
  .section-heading > p, .section-head > p { font-size: 15px; }
  .process-intro { min-height: 285px; padding: 27px; }
  .process-list { grid-template-columns: 1fr; gap: 10px; }
  .process-list article, .process-list article:last-child, .process-list article:first-child { grid-column: auto; min-height: 0; padding: 25px; gap: 13px; }
  .process-list article:not(:first-child) p { margin-top: 0; }
  .process-list h3 { font-size: 20px; }
  .review p { font-size: 17px; }
}

/* Photographs belong to the content grid and stay separate from readable text. */
.hero-proof { isolation: isolate; overflow: hidden; border-color: var(--navy); }
.process-icon { flex: 0 0 auto; width: 30px; height: 30px; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process-list article:first-child .process-icon { stroke: #fff; }
.hero-proof::before { position: absolute; z-index: -2; inset: 0; background: url('assets/documents-editorial-20261028.webp') 65% center / cover; content: ''; }
.hero-proof::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(37,34,37,.96) 0%,rgba(37,34,37,.88) 54%,rgba(37,34,37,.48)); content: ''; }
.service-card--court { isolation: isolate; border-color: var(--navy); }
.service-card--court::before { position: absolute; z-index: -2; inset: 0; background: url('assets/courtroom-editorial-20261028.webp') center / cover; content: ''; }
.service-card--court::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(37,34,37,.96),rgba(37,34,37,.8) 70%,rgba(37,34,37,.65)); content: ''; }
.service-card--tax { padding-right: 42%; padding-bottom: 30px; }
.service-card--tax::before { top: 0; right: 0; bottom: 0; width: 36%; height: auto; border-radius: 0; background-position: 60% center; }
.service-card--tax .card-link { max-width: none; }
.service-card--family { padding-bottom: 200px; }
.service-card--family::before { height: 165px; }
.service-card--housing::before { flex-basis: 160px; height: 160px; }
.service-detail-grid { grid-template-columns: minmax(0,1.55fr) minmax(220px,.65fr); gap: var(--gap); align-items: stretch; }
.service-detail-photo { min-width: 0; min-height: 280px; overflow: hidden; background: var(--panel); }
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.profile-preparation > p.profile-note { position: relative; min-height: 100px; display: flex; align-items: center; overflow: hidden; padding: 22px 28px 22px 31%; border: 0; border-radius: 16px; background: #fff; color: var(--muted); }
.profile-preparation > p.profile-note::before { position: absolute; top: 0; bottom: 0; left: 0; width: 27%; background: url('assets/documents-editorial-20261028.webp') center / cover; content: ''; }
.about-aside { border-color: var(--navy); background: var(--navy); color: #fff; }
.about-aside::before { position: absolute; z-index: -2; inset: 0; background: url('assets/civic-architecture-editorial.webp') center / cover; content: ''; }
.about-aside::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(37,34,37,.97),rgba(37,34,37,.83) 60%,rgba(37,34,37,.62)); content: ''; }
.about-aside .eyebrow, .about-aside p { color: var(--on-dark); }
.about-aside .text-link { color: #fff; text-decoration-color: var(--on-dark); }
@media (max-width: 1000px) {
  .service-card--tax { padding-right: 42%; }
}
@media (max-width: 820px) {
  .service-card--tax { padding-right: 25px; padding-bottom: 140px; }
  .service-card--tax::before { top: auto; left: auto; width: 46%; height: 110px; border-top-left-radius: 20px; }
  .service-card--family { padding-bottom: 190px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-photo { min-height: 210px; max-height: 270px; }
}
@media (max-width: 600px) {
  .service-card--tax { padding-bottom: 145px; }
  .service-card--family { padding-bottom: 200px; }
  .service-card--family::before { height: 165px; }
  .service-card--housing::before { height: 170px; flex-basis: 170px; }
  .service-detail-photo { min-height: 190px; height: 190px; }
  .profile-preparation > p.profile-note { min-height: 0; display: block; padding: 142px 22px 22px; }
  .profile-preparation > p.profile-note::before { top: 0; right: 0; bottom: auto; width: auto; height: 120px; }
}

/* Questions and related services: one grid, different proportions and real imagery. */
.service-faq-section { padding-block: 40px 28px; }
.service-related { padding-block: 28px 56px; }
.service-faq-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: var(--gap); align-items: stretch; }
.service-faq-card, .service-faq-card:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 0; overflow: hidden; padding: 0; border-radius: var(--radius); background: #fff; }
.service-faq-card:first-child { grid-row: span 2; background: var(--panel); }
.service-faq-card:nth-child(3) { border-color: var(--accent); background: var(--accent); color: #fff; }
.faq-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 16px; padding: 29px 32px; }
.service-faq-card h3 { margin: 0; max-width: 38ch; font-size: 21px; font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
.service-faq-card p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-faq-card:nth-child(3) p { color: var(--on-dark); }
.faq-photo { width: 100%; height: 190px; min-height: 150px; overflow: hidden; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.related-practices, .related-practices--2, .related-practices--1 { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--gap); }
.related-practices > a.related-practice, .related-practices--1 > a.related-practice { display: flex; grid-column: span 3; min-width: 0; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; padding: 0; background: #fff; }
.related-practices > a.related-practice:first-child { display: grid; grid-column: span 6; grid-template-columns: minmax(0,1fr) minmax(135px,.8fr); }
.related-practices--2 > a.related-practice { grid-column: span 6; }
.related-practices--2 > a.related-practice:nth-child(2), .related-practices--1 > a.related-practice { display: grid; grid-template-columns: minmax(0,1fr) minmax(135px,.8fr); }
.related-practices--1 > a.related-practice:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) minmax(180px,.55fr); }
.related-practices > a.related-practice:nth-child(2) { background: var(--panel); }
.related-practices > a.related-practice:nth-child(3) { border-color: var(--navy); background: var(--navy); color: #fff; }
.related-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.related-copy h3, .related-practices--1 .related-copy h3 { margin: 0 0 15px; font-size: 21px; line-height: 1.32; letter-spacing: -.04em; }
.related-copy p, .related-practices--1 .related-copy p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.related-copy .card-link, .related-practices--1 .related-copy .card-link { margin: auto 0 0; }
.related-practice:nth-child(3) .related-copy p { color: var(--on-dark); }
.related-practice:nth-child(3) .related-copy .card-link { color: #fff; text-decoration-color: var(--on-dark); }
.related-photo { min-width: 0; min-height: 135px; overflow: hidden; }
.related-photo img { width: 100%; height: 100%; min-height: 135px; object-fit: cover; }
.related-practice:first-child .related-photo, .related-practices--2 .related-practice .related-photo, .related-practices--1 .related-photo { height: 100%; min-height: 250px; }
.related-practices > a.related-practice:first-child, .related-practices--1 > a.related-practice:first-child { position: relative; isolation: isolate; display: flex; min-height: 320px; border-color: var(--navy); background: var(--navy); color: #fff; }
.related-practices > a.related-practice:first-child .related-copy { position: relative; z-index: 1; max-width: 72%; justify-content: flex-end; }
.related-practices > a.related-practice:first-child .related-copy p { color: var(--on-dark); }
.related-practices > a.related-practice:first-child .related-copy .card-link { margin-top: 0; color: #fff; text-decoration-color: var(--on-dark); }
.related-practices > a.related-practice:first-child .related-photo { position: absolute; z-index: -1; inset: 0; height: 100%; }
.related-practices > a.related-practice:first-child .related-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(37,34,37,.95),rgba(37,34,37,.78) 58%,rgba(37,34,37,.36)); content: ''; }
.related-practices > a.related-practice:not(:first-child) .related-photo { flex: 0 0 145px; height: 145px; min-height: 145px; }
@media (max-width: 820px) {
  .service-faq-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-faq-card:first-child { display: grid; grid-column: 1 / -1; grid-row: auto; grid-template-columns: minmax(0,1.1fr) minmax(150px,.9fr); }
  .service-faq-card:first-child .faq-photo { height: 100%; min-height: 190px; }
  .related-practices > a.related-practice:first-child { grid-column: 1 / -1; }
  .related-practices > a.related-practice { grid-column: span 6; }
  .related-practices--2 > a.related-practice:first-child, .related-practices--2 > a.related-practice { grid-column: span 6; }
  .related-practices--2 > a.related-practice:first-child, .related-practices--2 > a.related-practice:nth-child(2) { display: flex; }
  .related-practices--2 .related-practice .related-photo { height: 160px; min-height: 160px; }
  .related-practices--2 > a.related-practice:first-child { min-height: 320px; }
}
@media (max-width: 600px) {
  .service-faq-section { padding-block: 28px 22px; }
  .service-related { padding-block: 22px 45px; }
  .service-faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-faq-card:first-child { display: flex; grid-column: auto; }
  .service-faq-card:first-child .faq-photo { height: 155px; min-height: 155px; }
  .faq-copy { padding: 24px; gap: 13px; }
  .service-faq-card h3 { font-size: 19px; }
  .related-practices > a.related-practice, .related-practices > a.related-practice:first-child, .related-practices--2 > a.related-practice:first-child, .related-practices--2 > a.related-practice:nth-child(2), .related-practices--1 > a.related-practice:first-child { display: flex; grid-column: 1 / -1; }
  .related-copy { padding: 24px; }
  .related-copy h3 { font-size: 21px; }
  .related-practice .related-photo, .related-practice:first-child .related-photo, .related-practices--2 .related-practice .related-photo, .related-practices--1 .related-photo { height: 155px; min-height: 155px; }
  .related-practices > a.related-practice:first-child, .related-practices--1 > a.related-practice:first-child { min-height: 0; }
  .related-practices > a.related-practice:first-child .related-copy { max-width: none; }
  .related-practices > a.related-practice:first-child .related-photo { position: relative; z-index: auto; inset: auto; height: 155px; min-height: 155px; }
  .related-practices > a.related-practice:first-child .related-photo::after { display: none; }
  .related-practices > a.related-practice:not(:first-child) .related-photo { flex-basis: 155px; height: 155px; min-height: 155px; }
}

/* Lists use spacing instead of internal separator lines. */
.preparation-list li, .profile-preparation > ul li, .service-scope-list article,
.expertise-grid .profile-note > div, .sitemap-group a,
.contact-review, .hero-quote p { border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
.preparation-list li, .profile-preparation > ul li { padding: 9px 0; }
.service-scope-list article, .expertise-grid .profile-note > div { padding-block: 17px; }

/* The source photo stays unchanged; the frame is centred on each specialist. */
.service-lawyer .person-photo img { top: 0; left: 50%; width: auto; height: 250%; max-width: none; }
.service-lawyer .person-photo--mikhail img { transform: translateX(-28.4%); }
.service-lawyer .person-photo--vladimir img { transform: translateX(-41.2%); }
.service-lawyer .person-photo--artur img { transform: translateX(-58.6%); }
.service-lawyers:has(.service-contact-card) { grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); }
.service-lawyers:has(.service-contact-card) .service-lawyer { grid-template-columns: minmax(0,1fr) minmax(180px,230px); }
.service-contact-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--accent); color: #fff; }
.service-contact-card .eyebrow, .service-contact-card p { color: var(--on-dark); }
.service-contact-card h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.04em; }
.service-contact-card p { font-size: 15px; line-height: 1.65; }
.service-contact-card > a[data-global-phone] { margin-top: auto; font-size: 21px; font-weight: 650; }
.service-contact-card .text-link { color: #fff; text-decoration-color: var(--on-dark); }
@media (min-width: 821px) {
  .related-practices--2 > a.related-practice:nth-child(2) .related-photo { position: relative; align-self: stretch; height: auto; min-height: 250px; }
  .related-practices--2 > a.related-practice:nth-child(2) .related-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 820px) { .service-lawyers:has(.service-contact-card) { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .service-lawyer .person-photo img { height: 200%; }
  .service-lawyers:has(.service-contact-card) .service-lawyer { grid-template-columns: minmax(0,1fr) 38%; }
  .service-contact-card { min-height: 220px; padding: 24px; }
}

/* Shared header contacts and a consistent type scale for cards. */
.nav { gap: clamp(12px,1.5vw,22px); }
.nav-links { gap: clamp(14px,1.7vw,25px); }
.header-contacts { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; margin-left: 0; line-height: 1.35; }
.header-contacts a { white-space: nowrap; }
.header-phone { font-size: 14px; font-weight: 650; }
.header-email { color: var(--muted); font-size: 13px; font-weight: 500; }
.header-contacts a:hover { color: var(--accent); }
.service-faq-card h3, .scenario-card h3, .lawyer-focus-card h3,
.related-copy h3, .service-lawyer h3, .contact-person h3 { font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.service-faq-card p, .scenario-card p, .lawyer-focus-card p,
.related-copy p, .contact-person-copy > span { font-size: 15px; font-weight: 400; line-height: 1.7; }

/* Contact cards: real photographs and concise contact information. */
.contact-person { display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,.62fr); overflow: hidden; padding: 0; }
.contact-person-photo { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 280px; border-radius: 0; }
.contact-person .contact-person-photo img { top: 0; left: 50%; width: auto; height: 260%; max-width: none; }
.contact-person .person-photo--artur img { transform: translateX(-58.6%); }
.contact-person .person-photo--vladimir img { transform: translateX(-41.2%); }
.contact-person .person-photo--mikhail img { transform: translateX(-28.4%); }
.contact-person-copy { display: flex; grid-column: 1; grid-row: 1; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; gap: 13px; padding: 26px 25px 28px; }
.contact-person-copy h3 { max-width: none; margin: 0; }
.contact-person-copy > span { color: var(--muted); }
.contact-person-copy > a { display: block; width: fit-content; font-size: 14px; line-height: 1.6; }
.contact-person-copy > a[data-lawyer-phone] { margin-top: 7px; font-size: 18px; font-weight: 600; }
.contact-person-copy .profile-link { margin-top: 4px; padding-top: 0; }

@media (min-width: 821px) and (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--paper); box-shadow: 0 15px 24px rgba(37,34,37,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; }
  .contact-people { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-person:last-child { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) 220px; }
}
@media (max-width: 820px) {
  .header-contacts { margin-left: auto; }
  .contact-person { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.7fr); }
  .contact-person-photo { grid-column: 2; grid-row: 1; height: 100%; min-height: 260px; }
  .contact-person .contact-person-photo img { height: 350%; }
  .contact-person-copy { grid-column: 1; grid-row: 1; }
}
@media (min-width: 821px) and (max-width: 1100px) { .header-contacts { margin-left: auto; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 118px; }
  .nav { flex-wrap: wrap; min-height: 0; padding-block: 9px 10px; row-gap: 8px; }
  .home-link { order: 1; }
  .menu-toggle { order: 2; margin-left: auto; }
  .header-contacts { order: 3; flex: 1 0 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
  .header-phone, .header-email { font-size: 13px; }
  .service-faq-card h3, .scenario-card h3, .lawyer-focus-card h3,
  .related-copy h3, .service-lawyer h3, .contact-person h3 { font-size: 20px; }
  .contact-person { display: flex; }
  .contact-person-photo { flex-basis: 210px; height: 210px; min-height: 210px; }
  .contact-person .contact-person-photo img { height: 400%; }
  .contact-person-copy { padding: 24px; }
}

/* City imagery behind office details. */
.hero-quote { background: linear-gradient(90deg, rgba(30,25,28,.91), rgba(30,25,28,.72)), url("assets/rostov-don-river-20261028.webp") center 52% / cover; color: #fff; }
.hero-quote .eyebrow, .hero-quote p, .hero-quote > a { color: #fff; }
.contacts-details { background: linear-gradient(90deg, rgba(30,25,28,.87), rgba(30,25,28,.58)), url("assets/rostov-evening-street-20261028.webp") 68% center / cover; }
.contacts-details .eyebrow, .contacts-details .text-link, .contacts-details .contact-details { color: #fff; }

/* About page: compact editorial bento with images tied to each practice. */
.about-content-grid { grid-template-columns: minmax(220px,.55fr) minmax(0,1.45fr); }
.about-points { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); }
.about-points article { min-width: 0; padding: 27px; }
.about-points article:first-child { grid-row: span 2; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(0deg,rgba(31,25,29,.94),rgba(31,25,29,.38) 86%),url("assets/documents-editorial-20261028.webp") center / cover; }
.about-points article:first-child p { color: #fff; }
.about-points article:nth-child(2) { background: #eae5df; }
.about-points article:nth-child(3) { background: #f9f7f3; }
.about-points h3 { font-size: 20px; }
.about-points p { font-size: 15px; line-height: 1.65; }
.mini-service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.mini-service-grid a { min-height: 205px; padding: 26px; }
.mini-service-grid a:nth-child(1), .mini-service-grid a:nth-child(6), .mini-service-grid a:nth-child(7), .mini-service-grid a:nth-child(8) { grid-column: span 2; }
.mini-service-grid a:nth-child(1), .mini-service-grid a:nth-child(3), .mini-service-grid a:nth-child(6), .mini-service-grid a:nth-child(8) { color: #fff; background-position: center; background-size: cover; }
.mini-service-grid a:nth-child(1) { background-image: linear-gradient(90deg,rgba(30,25,28,.93),rgba(30,25,28,.60)),url("assets/meeting-room-editorial.webp"); }
.mini-service-grid a:nth-child(3) { background-image: linear-gradient(0deg,rgba(30,25,28,.96),rgba(30,25,28,.65)),url("assets/courtroom-editorial-20261028.webp"); }
.mini-service-grid a:nth-child(6) { background-image: linear-gradient(90deg,rgba(30,25,28,.92),rgba(30,25,28,.56)),url("assets/housing-interior-editorial-20261028.webp"); }
.mini-service-grid a:nth-child(8) { background-image: linear-gradient(90deg,rgba(30,25,28,.93),rgba(30,25,28,.60)),url("assets/auto-editorial-20261028.webp"); }
.mini-service-grid a:nth-child(1) small, .mini-service-grid a:nth-child(3) small, .mini-service-grid a:nth-child(6) small, .mini-service-grid a:nth-child(8) small { color: #fff; }
.mini-service-grid a:nth-child(2), .mini-service-grid a:nth-child(5), .mini-service-grid a:nth-child(7) { background: #f8f5f0; }
.mini-service-grid a:nth-child(4) { background: #eee7e4; }
.mini-service-grid small { max-width: 34ch; font-size: 14px; line-height: 1.65; }
.field textarea { resize: none; overflow-y: auto; scrollbar-width: none; }
.field textarea::-webkit-scrollbar { display: none; }
@media (min-width: 821px) and (max-width: 1100px) { .about-content-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
 .about-content-grid { grid-template-columns: 1fr; }
 .about-points { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mini-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mini-service-grid a:nth-child(n) { grid-column: span 1; }
}
@media (max-width: 600px) {
 .about-points, .mini-service-grid { grid-template-columns: 1fr; }
 .about-points article:first-child { grid-row: auto; min-height: 260px; }
 .about-points article { padding: 24px; }
 .mini-service-grid a:nth-child(n) { min-height: 165px; padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
 @keyframes content-arrive { from { opacity: .68; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
 .motion-revealed { animation: content-arrive .55s cubic-bezier(.2,.7,.2,1) both; }
 .mini-service-grid a, .service-card, .btn { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease; }
 @media (hover: hover) { .mini-service-grid a:hover, .service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(36,26,31,.10); } .btn:hover { transform: translateY(-2px); } }
}

.mini-service-grid a:nth-child(7) { background: linear-gradient(90deg,#f8f5f0 0%,#f8f5f0 47%,rgba(248,245,240,.2) 100%),url("assets/military-documents-editorial-20261028.webp") right center / cover; }
.mini-service-grid a:nth-child(7) small, .mini-service-grid a:nth-child(7) span { max-width: 52%; }
@media (max-width: 600px) { .about-points { grid-template-rows: auto; } .mini-service-grid a:nth-child(7) small, .mini-service-grid a:nth-child(7) span { max-width: 65%; } }

/* Dark fallback keeps light text legible if a background image is unavailable. */
.hero-quote, .contacts-details, .about-points article:first-child, .mini-service-grid a:nth-child(1), .mini-service-grid a:nth-child(3), .mini-service-grid a:nth-child(6), .mini-service-grid a:nth-child(8) { background-color: #211c1f; }

/* Practice cards: meaningful topics fill the lower part of each card. */
.mini-service-grid a { min-height: 230px; }
.mini-service-grid a > small { margin-top: 13px; }
.mini-service-grid a .practice-topics { display: flex; max-width: 100%; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 22px; }
.mini-service-grid a .practice-topics span { display: inline-block; max-width: none; padding: 5px 9px; border-radius: 5px; background: rgba(84,60,62,.075); color: #473a3d; font-size: 12px; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
.mini-service-grid a:nth-child(1) .practice-topics span, .mini-service-grid a:nth-child(3) .practice-topics span, .mini-service-grid a:nth-child(6) .practice-topics span, .mini-service-grid a:nth-child(8) .practice-topics span { color: #fff; background: rgba(25,20,24,.68); }
.mini-service-grid a:nth-child(7) .practice-topics { max-width: 58%; }
@media(max-width:820px) { .mini-service-grid a { min-height: 215px; } }
@media(max-width:600px) { .mini-service-grid a:nth-child(n) { min-height: 190px; } .mini-service-grid a:nth-child(7) .practice-topics { max-width: 72%; } }

/* Service work and meeting details: grouped, readable information. */
.service-work-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 18px; align-items: stretch; }
.service-scope { min-width: 0; padding: 10px 12px 0 0; }
.service-scope > h2 { max-width: 24ch; }
.service-scope .scope-intro { max-width: 58ch; }
.service-scope-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 25px; }
.service-scope-list article { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 23px; border: 0; border-radius: 16px; background: #fff; }
.service-scope-list article:first-child { grid-column: 1 / -1; padding-right: 34%; background: linear-gradient(90deg,#fff 0%,#fff 50%,rgba(255,255,255,.4) 100%),var(--scope-image) right center / cover; }
.service-scope-list article:nth-child(3) { background: #f7f4ef; }
.service-scope-list h3, .expertise-grid .profile-note h3 { font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -.03em; }
.service-scope-list p, .expertise-grid .profile-note p { font-size: 15px; line-height: 1.65; }
.preparation-card { align-self: start; padding: 30px; background: #fff; }
.preparation-list { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 24px; }
.preparation-list li { padding: 10px 13px; border: 0; border-radius: 8px; background: #f5f2ed; font-size: 14px; line-height: 1.55; }
.preparation-note { margin: 20px 0; font-size: 14px; line-height: 1.65; }
.expertise-grid > div.profile-note { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; border: 0; background: transparent; }
.expertise-grid .profile-note > div, .expertise-grid .profile-note > div:last-child { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 23px; border: 0; border-radius: 16px; background: #fff; }
.expertise-grid .profile-note > div:first-child { grid-column: 1 / -1; padding-right: 35%; background: linear-gradient(90deg,#fff 0%,#fff 52%,rgba(255,255,255,.42) 100%),url("assets/meeting-room-editorial.webp") right center / cover; }
.expertise-grid .profile-note > div:nth-child(3) { background: #ebe6e0; }
/* Testimonials are quotations, with the author and purpose visible on every card. */
.review { margin: 0; padding: 28px 30px; }
.review-label { align-self: flex-start; margin-bottom: 18px; color: #7b314c; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .025em; }
.review p { margin: 0 0 24px; font-size: 17px; line-height: 1.65; }
.review footer { margin-top: auto; color: var(--ink); font-size: 14px; font-weight: 650; }
.review:nth-child(even) { background: #eee9e3; }
@media(max-width: 820px) { .service-work-grid { grid-template-columns: 1fr; gap: 20px; } .service-scope { padding: 0; } }
@media(max-width: 600px) {
 .service-scope-list, .expertise-grid > div.profile-note { grid-template-columns: 1fr; }
 .service-scope-list article:first-child, .expertise-grid .profile-note > div:first-child { grid-column: auto; padding: 22px; background: #fff; }
 .service-scope-list article, .expertise-grid .profile-note > div, .expertise-grid .profile-note > div:last-child { padding: 22px; }
 .preparation-card { padding: 25px 23px; }
 .review { padding: 24px; } .review p { font-size: 16px; line-height: 1.6; }
}

/* Keep document thumbnails at their original proportions. */
.docs-grid { align-items: start; }
.doc-card img { display: block; width: 100%; height: auto; object-fit: contain; background: transparent; }
.home-contact-intro { background: linear-gradient(0deg, rgba(37,34,37,.95), rgba(37,34,37,.83)), url("assets/rostov-evening-street-20261028.webp") center / cover; }

/* Review ratings: a restrained accent consistent with the site's palette. */
.review-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.review-header .review-label { margin: 0; }
.review-stars { color: #80344f; font-family: Arial, sans-serif; font-size: 17px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.review footer { margin-top: auto; }
@media(max-width:600px) { .review-stars { font-size: 16px; } }

.footer-inner > p.footer-requisites { grid-column: 1 / -1; max-width: none; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
/* Static profile content remains readable when JavaScript is unavailable. */
.fallback-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 18px; }
.fallback-nav, .fallback-related { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.fallback-nav a, .fallback-related a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.fallback-related a { flex: 1 1 260px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }

.fallback-header .home-link { order: 0; }
.fallback-header .fallback-nav { order: 1; }

/* Contact details use the same type size for the phone and email in each block. */
.header-contacts .header-email { font-size: 14px; font-weight: 650; }
.hero-contact > a[data-global-email], .home-contact-intro .contact-details > a[data-global-email] { max-width: 100%; overflow-wrap: anywhere; font-size: 23px; font-weight: 650; letter-spacing: -.045em; line-height: 1.35; }
.contact-person-copy > a[data-lawyer-email] { max-width: 100%; overflow-wrap: anywhere; font-size: 18px; font-weight: 600; line-height: 1.6; }
.contact-panel .contact-details > a[data-lawyer-phone], .contact-panel .contact-details > a[data-lawyer-email] { max-width: 100%; overflow-wrap: anywhere; font-size: 18px; font-weight: 600; line-height: 1.5; }
.contacts-details .contact-details > a[data-global-email] { max-width: 100%; overflow-wrap: anywhere; font-size: 18px; font-weight: 600; line-height: 1.5; }
@media(max-width:1100px) { .hero-contact > a[data-global-email], .home-contact-intro .contact-details > a[data-global-email] { font-size: 20px; } }
@media(max-width:600px) { .header-contacts .header-email { font-size: 13px; } .hero-contact > a[data-global-email], .home-contact-intro .contact-details > a[data-global-email] { font-size: 23px; } }
@media(max-width:360px) { .hero-contact > a[data-global-email], .home-contact-intro .contact-details > a[data-global-email] { font-size: 21px; } }


/* The cookie notice is a compact, dismissible viewport banner. */
.cookie-notice {
  position: fixed;
  z-index: 110;
  inset: auto max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) auto;
  display: flex;
  width: min(520px, calc(100vw - 36px));
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(32, 28, 24, .17);
}
.cookie-notice p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-button { flex: 0 0 auto; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.cookie-notice-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 640px) {
  .cookie-notice { inset: auto 12px max(12px, env(safe-area-inset-bottom)); width: auto; gap: 12px; padding: 13px 14px; }
  .cookie-notice p { font-size: 12px; }
}

/* Brand mark in the shared header and footer. */
.home-link, .footer-home { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
@media (max-width: 600px) { .home-link, .footer-home { gap: 8px; } .brand-mark { width: 28px; height: 28px; flex-basis: 28px; } }
