@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/inter-display-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --forest: #142e26;
  --forest-light: #264a3d;
  --ink: #17342a;
  --paper: #f5f7f1;
  --sage: #e7ede2;
  --muted: #4d6255;
  --orange: #ffa06a;
  --rule: #c6d2c5;
  --link-underline-width: 2px;
  --gutter: clamp(18px, 5.2vw, 86px);
  --header: 76px;
  --display: "Inter Display", system-ui, sans-serif;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: calc(var(--header) + 16px);
}

* { box-sizing: border-box }
body, figure, p, h1, h2, h3 { margin: 0 }
main { position: relative; isolation: isolate }
[hidden] { display: none !important }
a { color: inherit; text-underline-offset: .25em }
button, input, textarea { font: inherit; color: inherit }
button { cursor: pointer }
img { display: block; max-width: 100% }
::selection { color: var(--forest); background: #ffc394 }
:focus-visible { outline: 3px solid #ba5926; outline-offset: 4px }
header :focus-visible, footer :focus-visible, .meeting-hero :focus-visible, .case-band :focus-visible { outline-color: var(--orange) }
.wrap { width: min(1344px, calc(100% - 2 * var(--gutter))); margin-inline: auto }
.section { padding-block: clamp(58px, 7.8vw, 116px) }
h1, h2, h3, .case-result { font: 500 1em/1.03 var(--display); letter-spacing: -.035em }
h1 { font-size: clamp(2.8rem, 6.4vw, 6rem) }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.55rem) }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem) }
.dot { color: var(--orange) }
.heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(27px, 3.5vw, 54px) }
.skip { position: fixed; top: -8rem; left: 12px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px }
.skip:focus { top: 12px }
header { position: sticky; top: 0; z-index: 20; background: var(--forest); color: var(--paper); border-bottom: 1px solid #42584c }
.home header { margin-bottom: calc(-1 * (var(--header) + 1px)) }
.top { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px }
.logo { display: inline-flex; width: clamp(136px, 12vw, 166px); flex: none }
.logo img { width: 100%; height: auto }
.top nav, footer nav { display: flex; gap: clamp(16px, 2.4vw, 38px) }
nav a, .top-phone { text-decoration: none; font-size: .95rem }
nav a[aria-current="page"] { color: var(--orange) }
.top-phone, .menu { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #5a6e63; border-radius: 99px; padding: 9px 16px; min-height: 44px; background: transparent; color: inherit }
.top-phone:hover, .menu:hover { background: var(--forest-light) }
.top-phone svg { color: var(--orange) }
.menu, #mobile-nav { display: none }
.menu-mark { width: 15px; height: 7px; border-block: 1.5px solid currentColor }
.btn, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; font-weight: 600; text-decoration: none }
.btn { min-height: 49px; padding: 12px 22px; border: 0; border-radius: 999px }
.primary, form .btn { background: var(--orange); color: #202c23 }
.primary:hover, form .btn:hover { background: #ffb98f }
.text-link { min-height: 44px; text-decoration: none }
.home :is(.primary, .actions .text-link, .section-link, .top-phone, .menu) {
  border: 1px solid var(--glass-rim, rgb(255 255 255 / .31));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 3px 9px rgb(14 39 29 / .1);
  background-image: linear-gradient(160deg, rgb(255 255 255 / .14), transparent 72%);
}
.home .section-link { padding: 7px 16px; border-radius: 999px; background-color: rgb(230 239 226 / .72); --glass-rim: rgb(41 79 60 / .22) }
.home .section-link:hover { background-color: #e2ecdf }
.home .case-band .section-link { background-color: rgb(255 255 255 / .08); --glass-rim: rgb(255 255 255 / .31) }
.home .case-band .section-link:hover { background-color: rgb(255 255 255 / .18) }
@supports (backdrop-filter: blur(1px)) {
  .home header {
    background-color: rgb(17 44 35 / .82);
    border-color: rgb(239 251 239 / .26);
    backdrop-filter: blur(15px) saturate(1.2);
  }
  .home header.is-scrolled, .home header:has(.menu[aria-expanded="true"]) { background-color: rgb(17 44 35 / .91) }
  .home #mobile-nav { background-color: transparent }
  .home .section-link { backdrop-filter: blur(8px) }
  .home .primary { background-color: rgb(255 160 106 / .79); backdrop-filter: blur(9px) saturate(1.15) }
  .home .primary:hover { background-color: rgb(255 179 134 / .94) }
  .home .actions .text-link { background-color: rgb(30 61 48 / .81); backdrop-filter: blur(9px) saturate(1.15) }
  .home .actions .text-link:hover { background-color: rgb(23 51 39 / .94) }
  @media (max-width: 860px) {
    .home header { background-color: rgb(17 44 35 / .68); backdrop-filter: blur(10px) saturate(1.16) }
    .home header.is-scrolled { background-color: rgb(17 44 35 / .77) }
    .home header:has(.menu[aria-expanded="true"]) { background-color: rgb(17 44 35 / .91) }
  }
}

.meeting-hero {
  --left-edge: max(var(--gutter), calc((100% - 1344px) / 2));
  --hero-top: clamp(26px, 5vh, 60px);
  min-height: 100svh; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: clamp(24px, 3.5vh, 38px); padding: calc(var(--header) + var(--hero-top)) var(--left-edge) clamp(40px, 10vh, 95px);
  color: var(--forest); background: #c7c4bc;
}
.meeting-frame { --crop-x: 62%; --crop-y: 52%; position: absolute; inset: 0; z-index: -2; margin: 0 }
.meeting-scene { position: absolute; inset: 0; overflow: hidden; container-type: size }
/* The lettering, the occlusion mask and the photo share one set of image coordinates. */
.meeting-plane {
  position: absolute; left: var(--crop-x); top: var(--crop-y);
  width: max(100cqw, calc(100cqh * 1672 / 941)); aspect-ratio: 1672 / 941;
  translate: calc(0% - var(--crop-x)) calc(0% - var(--crop-y));
  container-type: inline-size;
}
.meeting-photo { width: 100%; height: 100% }
.wall-lettering {
  position: absolute; inset: 0; pointer-events: none;
  font: 500 146px/1 var(--display); letter-spacing: -.035em; fill: #163d32; opacity: .34;
  mask: url("/assets/meeting-wall-mask.png") center / 100% 100% no-repeat,
        linear-gradient(90deg, black 39%, transparent 41%);
}
.wall-lettering svg { position: absolute; inset: 0; height: 100% }
.wall-window { width: 100%; clip-path: inset(0 0 0 50%) }
.wall-side {
  width: 50%; clip-path: inset(0 0 0 40%);
  /* Anchor both walls at the corner and align the side wall with the floorboards. */
  transform-origin: right 51.75%;
  transform: skewY(-32.5deg) perspective(44.7cqw) rotateY(49.5deg) scaleX(1.54);
}
.wall-near-focus { filter: blur(.45px) }
.wall-soft-focus { filter: blur(3.8px) }
.wall-drift { transform: translateX(-2030px) }
@media (prefers-reduced-motion: no-preference) {
  .wall-drift { animation: wall-flow 54s linear -43.85s infinite paused }
  .meeting-frame.wall-running .wall-drift { animation-play-state: running }
  @keyframes wall-flow { from { transform: translateX(0) } to { transform: translateX(-2500px) } }
}
.wall-control {
  display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; padding: 0;
  border: 0; border-inline-start: 1px solid #82948a; color: inherit; background: transparent;
}
.wall-control:hover { color: var(--orange) }
.wall-control:focus-visible { outline-offset: -3px }
.wall-control .play-mark, .wall-control.is-paused .pause-mark { display: none }
.wall-control.is-paused .play-mark { display: inline }
.meeting-caption {
  display: flex; align-items: center; gap: 8px;
  position: absolute; right: var(--gutter); bottom: 24px; padding: 5px 10px 5px 13px;
  border-radius: 99px; color: #fff; background: rgb(24 43 34 / .78); font-size: .87rem;
}
.hero-panel { width: min(40.5vw, 665px) }
.practice-note { margin: 0 0 16px; font-size: .94rem; font-weight: 550 }
.practice-note::before { content: ""; display: inline-block; vertical-align: .25em; width: 1.6rem; height: 2px; background: var(--orange); margin-right: .65rem }
.hero-copy h1 { font-size: clamp(2.36rem, 4.65vw, 4.75rem); line-height: 1.02; letter-spacing: -.04em }
.hero-lead { max-width: 37ch; margin-top: 18px; font-size: clamp(1rem, 1.22vw, 1.18rem); line-height: 1.45 }
.actions { display: grid; justify-content: start; gap: 9px }
.actions .text-link { padding: 10px 19px; min-height: 49px; color: #f5f7f1; background-color: #294338; border-radius: 99px }
.actions .text-link:hover { background-color: #1c3027 }
.practice-index { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 76px) }
.practice-title .text-link { margin-top: 21px }
.service-list { border-top: 1px solid var(--rule) }
.service-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 12px 28px; border-bottom: 1px solid var(--rule); align-items: baseline; padding: 23px 4px; text-decoration: none }
.service-link h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.14 }
.service-link p { color: var(--muted) }
.practice-index .service-link { grid-template-columns: minmax(0, 1fr) auto }

.case-band { background: var(--forest); color: var(--paper) }
.case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 46px) }
.case-preview { border-top: 1px solid #63776a; padding: 19px 0 5px; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start }
.case-preview h3 { font: 500 clamp(1.05rem, 1.55vw, 1.45rem)/1.25 var(--display); max-width: 24ch; letter-spacing: -.015em; min-height: 2.5em }
.case-result { font-size: clamp(2.2rem, 3.8vw, 4rem); line-height: 1.02; font-variant-numeric: lining-nums }
.case-preview .case-result { margin-top: clamp(26px, 4vw, 62px); color: var(--orange) }
.case-preview span { color: #d2dfd3; margin-top: 7px }

.case { border-top: 1px solid var(--rule); padding: 32px 0 42px; display: grid; gap: 20px; grid-template-columns: 1.2fr .8fr }
.case h2 { font-size: clamp(1.7rem, 3.5vw, 3rem) }
.case h2 + p { color: var(--muted); max-width: 54ch; margin-top: 18px }
.case .case-result { color: var(--forest-light) }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px) }
.person { container-type: inline-size; min-width: 0 }
.portrait-frame { box-shadow: 0 10px 22px -11px rgb(25 48 37 / .37), 0 2px 5px rgb(25 48 37 / .08); aspect-ratio: 4/5; overflow: hidden; background: var(--sage); border-radius: 4px 4px 24px 4px }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 29%; transform: scale(var(--portrait-scale,1)); transform-origin: 50% var(--portrait-origin,28%); filter: var(--portrait-tone,none) }
.portrait-frame img[src$="savichev-pine.webp"] { --portrait-tone: brightness(1.025) saturate(.91) }
.portrait-frame img[src$="mironov-ink.webp"] { --portrait-scale: 1.15; --portrait-origin: 17%; --portrait-tone: saturate(.9) }
.portrait-frame img[src$="kisly-graphite.webp"] { --portrait-scale: 1.08; --portrait-origin: 19% }
.portrait-frame img[src$="yundin-smile-front.webp"] { --portrait-scale: 1.23; --portrait-origin: 13% }
.portrait-frame img[src$="zavaliev-stone.webp"] { --portrait-scale: 1.24; --portrait-origin: 0% }
.person-copy { padding-top: 16px }
.person h3 { font-size: clamp(.95rem, 10cqi, 1.45rem); line-height: 1.2 }
.person .role { margin-top: 7px; font-size: .9rem; font-weight: 600; line-height: 1.4; min-height: 2.8em }
.person-description { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.45 }
.subhero { background: var(--forest); color: var(--paper); padding-block: clamp(26px, 3.4vw, 50px) clamp(40px, 5vw, 75px) }
.crumb { color: #c3d2c4; font-size: .9rem; margin-bottom: clamp(24px, 3vw, 44px) }
.subhero h1 { max-width: 22ch; text-wrap: balance; overflow-wrap: break-word }
.lead { max-width: 54ch; margin-top: 18px; color: #d3e1d4; font-size: clamp(1.05rem, 1.5vw, 1.3rem) }
.detail, .office-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start }
.detail h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin: 32px 0 12px }
.detail h2:first-child { margin-top: 0 }
.detail h3 { margin: 20px 0 10px }
.detail p { max-width: 58ch }
.detail .btn { margin-top: 20px }
.topic-list { padding-inline-start: 1.2em }
.topic-list li { margin: 8px 0 }
aside, .request { padding: clamp(20px, 2.5vw, 38px); border-radius: 14px; background: var(--sage) }
aside a { display: block; padding-block: 5px }
aside h3:first-child { margin-top: 0 }
form label { display: block; margin-top: 14px; font-weight: 550 }
input, textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #809583; border-radius: 6px; background: var(--paper); padding: 10px 12px; caret-color: var(--ink) }
textarea { resize: vertical }
form [role="status"], .contact p + p { margin-top: 12px }
.soft { background: var(--sage) }
.office-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center }
.office-copy h2 { display: flex; gap: .24em; align-items: center; white-space: nowrap; font-size: clamp(1.85rem, 3.8vw, 4.2rem) }
.office-copy h2 .line-icon { width: .72em; height: .72em; flex: none; color: #975027 }
.office-copy address { margin-top: 22px; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.4 var(--display) }
.office-copy p { margin-top: 16px; color: var(--muted); max-width: 46ch }
.office-copy .text-link { margin-top: 14px }
.office-views figure img, #office-location iframe { aspect-ratio: 1.65; width: 100%; height: auto; object-fit: cover; object-position: 90% 52%; display: block; border: 0; border-radius: 3px 3px 32px 3px }
.view-switch { display: flex; gap: 3px; justify-content: center; width: fit-content; margin: 12px auto 0; padding: 3px; background: #d8e2d5; border-radius: 30px }
.view-switch button { border: 0; border-radius: 30px; min-height: 44px; padding: 6px 16px; background: none }
.view-switch button[aria-pressed="true"] { color: white; background: var(--forest) }
footer { background: var(--forest); color: var(--paper); padding-block: clamp(34px, 5vw, 76px); border-top: 1px solid #445b4f }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .65fr) minmax(0, 1.14fr); gap: clamp(20px, 3vw, 50px) }
.foot nav { align-content: start; align-items: start; justify-items: start; gap: 10px; display: grid }
.footer-identity p { color: #dae4d8; font-size: .92rem }
.footer-identity p { margin: 15px 0 }
address { font-style: normal }
.footer-map { width: min(100%, 370px); justify-self: end }
.footer-map iframe { width: 100%; height: 218px; display: block; border: 0; border-radius: 6px; background: var(--sage) }


.journey {
  --drop: clamp(16px, 2vw, 30px);
  --arrow-size: clamp(24px, 3.6vw, 58px);
  --journey-gap: calc(var(--arrow-size) + clamp(8px, .8vw, 16px));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--journey-gap);
  list-style: none; padding: 0; margin: 28px 0 0;
}
.journey-step { position: relative }
.journey-step:nth-child(2) { margin-top: var(--drop) }
.journey-step:nth-child(3) { margin-top: calc(2 * var(--drop)) }
.journey-circle {
  display: grid; place-items: center; text-align: center; aspect-ratio: 1; border-radius: 50%; padding: 9%;
  background: #edf2e9; border: 1px solid #c9d6c6; box-shadow: 0 16px 30px -23px rgb(31 62 46 / .32);
}
.journey-step:nth-child(2) .journey-circle { background: #caded0; border-color: #afc6b3 }
.journey-step:nth-child(3) .journey-circle { background: #244538; color: var(--paper); border-color: #244538 }
.journey-copy .line-icon { color: #92502d; margin-bottom: 7px; width: 30px; height: 30px }
.journey-step:last-child .line-icon { color: var(--orange) }
.journey-copy { max-width: 29ch }
.journey-copy h3 { font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.13 }
.journey-copy p { margin-top: 8px; font-size: clamp(.87rem, 1.2vw, 1rem); line-height: 1.39 }
.journey-arrow {
  position: absolute; top: calc(50% + var(--drop) / 2);
  left: calc(100% + (var(--journey-gap) - var(--arrow-size)) / 2);
  width: var(--arrow-size); height: auto; transform: translateY(-50%);
  fill: none; stroke: #aa512d; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.journey-step:nth-child(2) .journey-arrow { stroke: #d77f4b }
@media (prefers-reduced-motion: no-preference) {
  .journey-step.is-visible .journey-circle { animation: enter-circle .85s cubic-bezier(.2,.75,.25,1) both }
  .journey-step.is-visible .journey-arrow path { stroke-dasharray: 100; animation: draw-arrow .7s ease-out .23s both }
  @keyframes enter-circle { from { opacity: .35; transform: translateY(24px) scale(.94) } }
  @keyframes draw-arrow { from { stroke-dashoffset: 100 } to { stroke-dashoffset: 0 } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .journey-copy { transition: scale .25s ease-out }
  .journey-circle { transition: translate .25s ease-out }
  .journey-circle:hover { translate: 0 -7px }
  .journey-circle:hover .journey-copy { scale: 1.06 }
}
@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px }
}
@media (max-width: 860px) {
  :root { --header: 64px; --gutter: clamp(18px, 4vw, 30px) }
  .top nav, .top-phone { display: none }
  .menu { display: inline-flex; padding: 6px 14px }
  #mobile-nav { display: grid; background: var(--forest); padding: 6px var(--gutter) 18px; max-height: calc(100svh - var(--header)); overflow: auto }
  #mobile-nav a { padding: 11px 0; border-top: 1px solid #455c4e }
}
/* Keep the original wall for the heading across desktop and tablet widths. */
@media (min-width: 690px) and (max-aspect-ratio: 6/5),
       (min-width: 690px) and (max-width: 860px) and (max-aspect-ratio: 7/5) {
  .meeting-hero { --hero-top: clamp(48px, 10svh, 100px); background: #c7c4bc; justify-content: flex-start }
  .hero-panel { width: min(64vw, 580px) }
  .actions .btn, .actions .text-link { min-height: 45px; padding: 9px 13px; gap: 6px; font-size: .93rem }
  .actions .btn svg { display: none }
  .meeting-frame { --crop-x: 53%; --crop-y: 51%; background: url("/assets/meeting-hero-retouched.webp") left top / 320% auto no-repeat }
  .meeting-scene { top: auto; height: min(76%, 88vw); mask-image: linear-gradient(transparent, black 23%) }
}
@media (max-width: 689px) {
  .meeting-hero {
    --photo-height: clamp(260px, 51svh, 94vw);
    --hero-top: clamp(24px, 5svh, 55px);
    display: grid; align-items: start; justify-content: stretch; grid-template-rows: auto auto minmax(calc(var(--photo-height) * .64), 1fr);
    gap: 0; padding-inline: var(--gutter); padding-bottom: 16px;
  }
  .meeting-frame { --crop-x: 91%; background: #c7c4bc url("/assets/meeting-hero-retouched.webp") left top / 330% auto no-repeat }
  .meeting-scene {
    top: auto; height: var(--photo-height);
    mask-image: linear-gradient(transparent, black 24%);
  }
  .hero-panel { width: min(100%, 490px); grid-row: 1 }
  .hero-copy h1 { font-size: clamp(2.02rem, 8.1vw, 3.35rem) }
  .hero-lead { margin-top: 13px; font-size: 1rem; max-width: 42ch }
  .practice-note { font-size: .84rem; margin-bottom: 12px }
  .actions { grid-row: 2; align-self: start; gap: 7px; justify-self: stretch; margin-top: clamp(32px, 6svh, 56px) }
  .actions .btn, .actions .text-link { min-height: 45px; font-size: .93rem; padding: 8px 13px; gap: 6px }
  .meeting-caption { right: var(--gutter); bottom: 11px; padding: 3px 10px; font-size: .77rem }
}
@media (max-width: 750px) {
  .practice-index, .detail, .office-section, .case { grid-template-columns: 1fr }
  .practice-title { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px }
  .practice-title .text-link { flex-shrink: 0; margin: 0 }
  .practice-index { gap: 24px }
  .service-link { grid-template-columns: 1fr; gap: 6px; padding: 16px 0 }
  .case-list { grid-template-columns: 1fr; gap: 8px }
  .case-preview { padding: 16px 0 21px }
  .case-preview h3 { min-height: 0; max-width: none }
  .case-preview .case-result { margin-top: 13px }
  .case { gap: 14px }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .person .role { font-size: .86rem }
  .journey { --arrow-size: clamp(22px, 8vw, 34px); --journey-gap: clamp(34px, 10vw, 48px); grid-template-columns: minmax(0, 1fr); justify-items: center }
  .journey-step { width: min(100%, clamp(220px, 69vw, 300px)) }
  .journey-step:nth-child(n+2) { margin-top: 0 }
  .journey-circle { padding: 12% }
  .journey-copy p { font-size: .95rem }
  .journey-arrow { top: calc(100% + var(--journey-gap) / 2); left: 50%; transform: translate(-50%, -50%) rotate(90deg) }
  .foot { grid-template-columns: 1fr; gap: 28px }
  .foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px }
  .footer-map { width: 100%; max-width: 430px; justify-self: start }
}
@media (max-width: 360px) {

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

.footer-contacts { display: grid; justify-items: start; gap: 8px }
.footer-contacts a { display: inline-flex; align-items: baseline; gap: 10px; max-width: 100% }
.footer-contacts svg { width: 18px; height: 18px; flex: none; align-self: flex-start; margin-top: 4px; color: var(--orange) }
.footer-contacts span { min-width: 0 }
a { text-decoration: none }
:where(nav a, .text-link, .footer-contacts span, .crumb a, .contact p a, .contact div > a, aside a, .service-link h3, .case-preview h3) {
  --underline: #ac542d;
  background-image: linear-gradient(var(--underline),var(--underline));
  background-size: 0% var(--link-underline-width);
  background-position: center bottom;
  background-repeat: no-repeat;
}
header, footer, .subhero, .meeting-hero, .case-band { --link-on-dark: var(--orange) }
:is(header, footer, .subhero, .meeting-hero, .case-band) :where(nav a, .text-link, .footer-contacts span, .crumb a, .case-preview h3) { --underline: var(--link-on-dark) }
.text-link { background-position: center calc(50% + .8em) }
aside a { width: fit-content }
.service-link h3, .case-preview h3 { width: fit-content; padding-bottom: .15em }
:is(nav a, .text-link, .crumb a, .contact p a, .contact div > a, aside a):is(:hover,:focus-visible),
a:is(:hover,:focus-visible) :is(.footer-contacts span, h3) { background-size: 100% var(--link-underline-width) }
@media (prefers-reduced-motion: no-preference) {
  :where(nav a, .text-link, .footer-contacts span, .crumb a, .contact p a, .contact div > a, aside a, .service-link h3, .case-preview h3) { transition: background-size .22s ease-out }
}

.diagonal { display: inline-block; aspect-ratio: 1; flex: none; width: 1em; height: 1em }
.service-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) auto }
.service-link .diagonal { align-self: center; justify-self: end; color: #99502b; font-size: 1.15rem }
.case-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; width: 100% }
.case-top .diagonal { margin-top: 3px; color: var(--orange) }
.section-end { display: flex; justify-content: flex-end; margin-top: clamp(21px, 3.3vw, 47px) }
.section-link { padding-inline: 20px; background-color: #f8d9c5; color: #512e1c; border-radius: 99px }
.case-band .section-link { background-color: var(--orange); color: var(--forest) }
.section-link:hover { background-color: #ffc29d }
.person-copy { border-bottom: 1px solid var(--rule); padding-block: 15px 18px; flex: 1 }
.person { display: flex; flex-direction: column }
.person .role { color: var(--forest-light) }
.footer-heading { font-size: 1.18rem; line-height: 1.2; margin-bottom: 12px }
footer { padding-bottom: 0 }
.footer-base {
  display: flex; align-items: center; gap: 24px; white-space: nowrap; overflow-x: auto;
  margin-top: clamp(28px, 4vw, 56px); padding-block: 12px; border-top: 1px solid #496052;
  color: #cdd8ce; scrollbar-width: thin; scrollbar-color: #718477 var(--forest);
}
.footer-base p, .footer-base a { font-size: clamp(.76rem, .95vw, .84rem) }
.footer-base p, .footer-base nav { flex: none }
.footer-base nav { display: flex; flex-flow: row nowrap; align-items: center; margin-left: auto; gap: clamp(16px, 1.6vw, 28px) }
.footer-base nav a { display: inline-flex; align-items: center; min-height: 36px }
.legal-text { max-width: 76ch }
.legal-text h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; margin-bottom: .6em }
.legal-text p + h2 { margin-top: 1.5em }
.legal-text p + p { margin-top: .85em }
.legal-text a, .consent-field a { color: #8d4829; font-weight: 550 }
.legal-date { padding-top: 22px; border-top: 1px solid var(--rule); color: var(--muted) }
.consent-field { margin-top: 18px; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px }
.consent-field input { padding: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--forest) }
.consent-field label { margin: 0; font-weight: 450; cursor: pointer }
.consent-field a { display: inline-block; padding-block: 3px; font-size: .92rem }
.callback-band { background: var(--sage); border-top: 1px solid var(--rule) }
.callback-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); align-items: start }
.callback-copy h2 { max-width: 13ch }
.callback-copy p { max-width: 43ch; margin-top: 16px; color: var(--muted) }
.callback-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.callback-fields label { margin-top: 0 }
.callback-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
#callback-form .btn { margin-top: 16px }
#callback-form .btn:disabled { opacity: .68; cursor: wait }
.callback-privacy { margin-top: 10px; color: var(--muted); font-size: .88rem }
.callback-privacy a { text-decoration: underline; text-decoration-thickness: var(--link-underline-width); text-underline-offset: .2em }
@media (max-width: 750px) {
  .callback-layout { grid-template-columns: 1fr }
  .service-link { grid-template-columns: minmax(0, 1fr) auto }
  .service-link p { grid-row: 2; grid-column: 1 }
  .service-link .diagonal { grid-row: 1; grid-column: 2 }
  .footer-base { padding-block: 8px 12px }
}
@media (prefers-reduced-motion: no-preference) {
  .subhero .wrap { animation: subhero-arrival .78s cubic-bezier(.2,.7,.25,1) both }
  @keyframes subhero-arrival { from { opacity: .35; translate: 0 24px } }
  .home header { transition: background-color .48s ease-out, border-color .48s ease-out }
  .home .top > * { animation: header-arrival .86s cubic-bezier(.25,.5,.25,1) both }
  .home .top > .logo { --header-entry-y: -14px; --header-entry-x: -14px }
  .home .top > :nth-child(2) { animation-delay: 110ms }
  .home .top > :is(.top-phone, .menu) { --header-entry-x: 15px; animation-delay: 180ms }
  .home .top :focus-visible { animation: none }
  @keyframes header-arrival { from { opacity: .35; translate: var(--header-entry-x, 0) var(--header-entry-y, -16px) } }
  .btn, .section-link, .view-switch button { transition: background-color .2s ease-out, scale .17s ease-out }
  .home main { overflow-x: clip }
  .home-reveal {
    --entry-delay: var(--reveal-delay, 0ms);
    transition: opacity .84s ease-out var(--entry-delay),
                translate 1.05s cubic-bezier(.22,.65,.28,1) var(--entry-delay),
                rotate .95s cubic-bezier(.22,.65,.28,1) var(--entry-delay),
                scale .95s cubic-bezier(.22,.65,.28,1) var(--entry-delay),
                background-color .2s ease-out,
                transform .26s ease-out;
  }
  .home-reveal.reveal-pending:not(:focus-within) {
    opacity: .12;
    translate: var(--reveal-x, 0px) var(--reveal-y, 25px);
    rotate: var(--reveal-rotation, 0deg);
    scale: var(--reveal-scale, 1);
    transition: none;
  }
  .hero-copy h1 { --reveal-x: clamp(-40px, -4vw, -22px); --reveal-y: 0px }
  .hero-lead { --reveal-y: 24px }
  .actions .home-reveal { --reveal-y: 32px; --reveal-scale: .94 }
  .practice-index .home-reveal { --reveal-x: clamp(26px, 4vw, 56px); --reveal-y: 0px }
  .practice-index .practice-title { --reveal-x: clamp(-56px, -4vw, -26px) }
  .case-band .home-reveal { --reveal-y: 46px }
  .case-band .case-preview { --reveal-scale: .97 }
  #komanda .home-reveal { --reveal-y: 0px }
  #komanda .heading.home-reveal {
    filter: blur(0);
    transition: opacity .9s ease-out var(--entry-delay), filter .96s ease-out var(--entry-delay);
  }
  #komanda .heading.home-reveal.reveal-pending:not(:focus-within) { filter: blur(8px); transition: none }
  #komanda .person { --reveal-y: 31px; --reveal-rotation: -2.5deg; --reveal-scale: .96 }
  #komanda .person:nth-child(even) { --reveal-rotation: 2.5deg }
  .callback-copy .home-reveal { --reveal-x: -28px; --reveal-y: 0px }
  #callback-form.home-reveal { --reveal-y: 35px }
  .home-reveal:focus-within { transition: none }
  .screen-entered { animation: arrive-softly .48s cubic-bezier(.2,.75,.25,1) both }
  #mobile-nav:not([hidden]), .office-views > :is(figure, #office-location):not([hidden]) { animation: arrive-softly .22s ease-out }
  .home #mobile-nav:not([hidden]) { animation-duration: .45s }
  @keyframes arrive-softly { from { opacity: .78; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }
  .diagonal { transition: transform .2s ease-out }
  a:is(:hover,:focus-visible) .diagonal { transform: translate(2px, -2px) }
  :is(.btn, .section-link, .view-switch button):active { scale: .97 }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-link h3 { transition: background-size .22s ease-out, translate .25s ease-out }
  .service-link:is(:hover, :focus-visible) h3 { translate: 6px 0 }
  .case-preview:is(:hover, :focus-visible) { transform: translateY(-5px); background-color: rgb(255 255 255 / .05) }
  .person .portrait-frame { transition: box-shadow .3s ease-out }
  .person .portrait-frame img { transition: scale .35s ease-out }
  .person:hover .portrait-frame { box-shadow: 0 16px 25px -9px rgb(25 48 37 / .4) }
  .person:hover .portrait-frame img { scale: 1.045 }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto }
  header { view-transition-name: site-header }
  ::view-transition-group(root), ::view-transition-group(site-header) { animation-duration: .2s }
}
@media (max-width: 420px) {
  .actions .btn, .actions .text-link { padding-inline: 12px; font-size: .9rem }
  .actions .btn svg { display: none }
}
@media (max-width: 350px) {
  .actions .text-link .diagonal { display: none }
}
