:root {
    --green: #315b47;
    --green-dark: #123026;
    --green-soft: #6c8377;
    --cream: #ebe5d9;
    --cream-light: #fbf8f1;
    --ink: #101714;
    --muted: #65716b;
    --gold: #ad8d54;
    --line: rgba(16, 23, 20, 0.12);
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(18, 48, 38, 0.12);
    --serif: Cormorant, Georgia, "Times New Roman", serif;
    --sans: Inter, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream-light);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

button,
input,
textarea {
    font: inherit;
}

button,
a,
input,
textarea,
summary {
    outline-color: var(--gold);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1 {
    font-family: var(--serif);
    color: var(--green);
    font-size: 64px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 22px;
}

h2 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 22px;
}

h3 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.container {
    width: min(1160px, calc(100% - 56px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -120px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--green-dark);
    color: var(--white);
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 241, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(54, 94, 75, 0.12);
}

.site-header__inner {
    width: min(1160px, calc(100% - 56px));
    min-height: 70px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.site-nav__list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 14px;
    text-transform: none;
    color: var(--green-dark);
}

.site-nav {
    justify-self: center;
    min-width: 0;
}

.site-nav__list > li {
    position: relative;
}

.site-nav__list a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 650;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav__list a:hover {
    color: var(--green-dark);
    background: rgba(54, 94, 75, 0.08);
    border-color: rgba(54, 94, 75, 0.1);
}

.site-nav__list > .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.site-nav__list .sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 310px;
    padding: 10px;
    margin: 0;
    list-style: none;
    background: var(--white);
    border: 1px solid rgba(54, 94, 75, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(23, 52, 40, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav__list .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -11px;
    height: 11px;
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__list .sub-menu a {
    width: 100%;
    justify-content: flex-start;
    min-height: 38px;
    padding: 8px 10px;
    color: var(--green-dark);
    font-weight: 700;
}

.site-nav__list .sub-menu a:hover {
    background: var(--cream-light);
    color: var(--green);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green-dark);
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.brand-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-brand__text {
    display: grid;
    gap: 1px;
}

.site-brand__text strong {
    font-size: 15px;
    line-height: 1.1;
}

.site-brand__text small {
    color: var(--muted);
    font-size: 12px;
}

.site-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
}

.messenger,
.floating-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.messenger--telegram {
    background: #2aa8df;
}

.messenger--whatsapp {
    background: #25b56b;
}

.phone-pill,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.phone-pill {
    min-height: 34px;
    padding-inline: 18px;
    background: transparent;
    color: var(--green-dark);
    font-size: 14px;
}

.button:hover,
.phone-pill:hover {
    transform: translateY(-1px);
}

.button--small {
    min-height: 34px;
    padding-inline: 17px;
    font-size: 14px;
}

.button--ghost {
    background: transparent;
    color: var(--green-dark);
}

.button--ghost:hover {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.button--wide {
    width: 100%;
}

.menu-toggle,
.mobile-menu__close {
    display: none;
}

.mobile-menu[hidden] {
    display: none;
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero {
    padding: 72px 0 62px;
    background: var(--cream);
    position: relative;
    border-bottom: 1px solid rgba(16, 23, 20, 0.08);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    max-width: 690px;
}

.hero-lead,
.page-hero__content p,
.service-hero__copy p,
.about-copy p,
.contacts-copy p,
.section-head p {
    color: var(--muted);
    font-size: 19px;
}

.hero-actions,
.consult-actions,
.contact-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 36px 0 0;
    border-top: 1px solid rgba(49, 91, 71, 0.18);
    border-bottom: 1px solid rgba(49, 91, 71, 0.12);
}

.proof-strip div,
.about-facts div {
    border-top: 0;
    padding: 16px 20px 16px 0;
}

.proof-strip div:not(:first-child) {
    padding-left: 20px;
    border-left: 1px solid rgba(49, 91, 71, 0.12);
}

.about-facts div {
    border-top: 1px solid rgba(54, 94, 75, 0.22);
    padding: 16px 0 0;
}

.proof-strip dt,
.about-facts dt {
    color: var(--green-dark);
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
}

.proof-strip dd,
.about-facts dd {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    display: grid;
    gap: 14px;
    align-self: center;
    perspective: 900px;
}

.hero-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(54, 94, 75, 0.18);
    border-radius: 8px;
    background: var(--green-dark);
    box-shadow: var(--shadow);
    transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 48, 38, 0) 48%, rgba(18, 48, 38, 0.54));
    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 48%;
    transition: transform 650ms ease;
}

.hero-photo:hover {
    box-shadow: 0 24px 58px rgba(18, 48, 38, 0.16);
}

.hero-photo:hover img {
    transform: scale(1.035);
}

.hero-photo figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 13px 15px;
    border: 1px solid rgba(251, 248, 241, 0.58);
    border-radius: 8px;
    background: rgba(251, 248, 241, 0.9);
    color: var(--green-dark);
    backdrop-filter: blur(12px);
}

.hero-photo figcaption span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-photo figcaption strong {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.05;
    font-weight: 650;
}

.hero-intake--compact {
    padding: 22px;
}

.hero-intake--compact .hero-intake__top {
    padding-bottom: 14px;
}

.hero-intake--compact .hero-intake__top strong {
    font-size: 24px;
}

.hero-intake--compact ul {
    padding: 10px 0 14px;
}

.hero-intake--compact li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 10px 0;
}

.hero-intake--compact li p {
    font-size: 15px;
}

.hero-portrait {
    position: relative;
    align-self: stretch;
}

.hero-intake {
    position: relative;
    padding: 28px;
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        var(--green-dark);
    border: 1px solid rgba(251, 248, 241, 0.18);
    border-radius: 6px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-intake::before {
    content: "АЯ";
    position: absolute;
    right: -24px;
    top: -22px;
    color: rgba(251, 248, 241, 0.045);
    font-family: var(--serif);
    font-size: 148px;
    line-height: 1;
}

.hero-intake__top,
.hero-intake ul,
.hero-intake__actions,
.hero-intake__note {
    position: relative;
}

.hero-intake__top {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(251, 248, 241, 0.16);
}

.hero-intake__top p {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-intake__top strong {
    display: block;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.12;
    font-weight: 600;
}

.hero-intake ul {
    display: grid;
    gap: 0;
    padding: 16px 0 20px;
    margin: 0;
    list-style: none;
}

.hero-intake li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(251, 248, 241, 0.13);
}

.hero-intake li:last-child {
    border-bottom: 0;
}

.hero-intake li span {
    color: var(--gold);
    font-weight: 800;
}

.hero-intake li p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.hero-intake__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.hero-intake__actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(231, 225, 213, 0.32);
    border-radius: 999px;
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.hero-intake__actions a:first-child {
    background: var(--cream);
    color: var(--green-dark);
}

.hero-intake__note {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-intake__note span {
    padding: 7px 10px;
    border: 1px solid rgba(231, 225, 213, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

.hero-portrait img,
.about-photo img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-portrait__caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 18px;
    color: var(--white);
    background: rgba(23, 52, 40, 0.86);
    border-radius: 8px;
}

.hero-portrait__caption span {
    display: block;
    font-family: var(--serif);
    font-size: 27px;
}

.section {
    padding: 78px 0;
}

.section--services,
.section--precision,
.section--process,
.section--map {
    background: var(--white);
}

.section--split,
.section--price,
.section--consult {
    background: var(--cream);
}

.section--cases {
    background: var(--green-dark);
    color: var(--white);
}

.section--cases .eyebrow,
.section--cases h2,
.section--cases h3 {
    color: var(--cream);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section--precision {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}

.precision-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 54px;
    align-items: start;
}

.precision-copy {
    max-width: 430px;
    position: sticky;
    top: 104px;
}

.precision-copy p:last-child {
    color: var(--muted);
    font-size: 18px;
}

.precision-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.precision-content {
    display: grid;
    gap: 16px;
}

.precision-workbench {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    min-height: 290px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(54, 94, 75, 0.16);
    border-radius: 8px;
    background: var(--green-dark);
    box-shadow: 0 18px 48px rgba(18, 48, 38, 0.11);
    transition: box-shadow 260ms ease;
}

.precision-workbench img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    object-position: 50% 48%;
    transition: transform 720ms ease;
}

.precision-workbench::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 36, 27, 0.72), rgba(13, 36, 27, 0.12) 58%, rgba(13, 36, 27, 0));
    pointer-events: none;
}

.precision-workbench figcaption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 1;
    max-width: 360px;
    color: var(--cream);
}

.precision-workbench figcaption span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.precision-workbench figcaption strong {
    display: block;
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.04;
    font-weight: 620;
}

.precision-workbench:hover {
    box-shadow: 0 24px 58px rgba(18, 48, 38, 0.16);
}

.precision-workbench:hover img {
    transform: scale(1.035);
}

.precision-card {
    min-height: 258px;
    padding: 22px;
    border: 1px solid rgba(54, 94, 75, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(251, 248, 241, 0.82), rgba(255, 255, 255, 0.96)),
        var(--white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.precision-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.precision-card h3 {
    color: var(--green-dark);
    font-size: 23px;
}

.precision-card p {
    color: var(--muted);
    font-size: 15px;
}

.precision-card:hover {
    transform: translateY(-3px);
    border-color: rgba(173, 141, 84, 0.58);
    box-shadow: 0 16px 40px rgba(18, 48, 38, 0.1);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-card,
.case-card,
.article-card a,
.credential-card,
.contact-card,
.detail-block,
.quote-panel,
.price-panel {
    border-radius: 8px;
}

.service-card {
    min-height: 238px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    color: var(--green-dark);
    background: var(--white);
    border: 1px solid var(--line);
    text-decoration: none;
}

.service-card span,
.case-card p,
.article-card p {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card p {
    color: var(--muted);
}

.service-card strong {
    margin-top: auto;
    color: var(--green);
}

.service-card:hover {
    background: var(--cream-light);
    border-color: rgba(173, 141, 84, 0.58);
    transform: translateY(-2px);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 64px;
    align-items: start;
}

.scenario-list {
    display: grid;
    gap: 14px;
}

.scenario-list div {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(54, 94, 75, 0.2);
}

.scenario-list span,
.process-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
}

.scenario-list p {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.inline-link {
    color: var(--green-dark);
    font-weight: 800;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    min-height: 318px;
    padding: 26px;
    border: 1px solid rgba(231, 225, 213, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.case-card span {
    color: rgba(255, 255, 255, 0.72);
}

.case-card a {
    display: inline-flex;
    margin-top: 22px;
    color: var(--cream);
    font-weight: 800;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-list li {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.process-list h3 {
    margin-top: 18px;
}

.process-list p {
    color: var(--muted);
}

.price-panel {
    padding: 44px;
    border: 1px solid rgba(54, 94, 75, 0.18);
    background: var(--cream-light);
}

.page-hero,
.service-hero,
.about-hero,
.contacts-hero {
    padding: 86px 0 76px;
    background: var(--cream);
}

.page-hero--image {
    position: relative;
    min-height: 560px;
    display: grid;
    align-items: center;
    color: var(--white);
    background: var(--green-dark);
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 19, 0.58);
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 30%;
}

.page-hero__content {
    position: relative;
    max-width: 860px;
}

.page-hero--image h1,
.page-hero--image .page-hero__content p {
    color: var(--white);
}

.service-index {
    display: grid;
    gap: 18px;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.service-row h2 {
    font-size: 34px;
}

.service-row ul,
.check-list,
.number-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-row li,
.check-list li,
.number-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--muted);
}

.service-row li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
}

.number-list {
    counter-reset: item;
}

.number-list li {
    counter-increment: item;
}

.number-list li::before {
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
}

.service-hero__grid,
.about-grid,
.contacts-grid,
.consult-grid,
.detail-grid,
.credentials-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 56px;
    align-items: center;
}

.service-hero__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.detail-grid {
    align-items: stretch;
}

.detail-block {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
}

.quote-panel {
    padding: 34px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(231, 225, 213, 0.22);
}

.quote-panel p {
    margin: 0;
    font-family: var(--serif);
    color: var(--cream);
    font-size: 32px;
    line-height: 1.2;
}

.faq-list {
    max-width: 900px;
}

.faq-item {
    border-top: 1px solid var(--line);
    padding: 22px 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    cursor: pointer;
    color: var(--green-dark);
    font-size: 22px;
    font-weight: 800;
}

.faq-item p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
}

.about-photo img {
    height: 680px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 40px 0 0;
}

.process-list--compact {
    grid-template-columns: 1fr;
}

.credentials-grid {
    align-items: stretch;
}

.credential-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
}

.credential-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
}

.credential-card h2,
.credential-card p {
    padding-inline: 26px;
}

.credential-card h2 {
    padding-top: 24px;
    font-size: 30px;
}

.credential-card p {
    padding-bottom: 28px;
    color: var(--muted);
}

.contact-methods {
    margin: 28px 0;
}

.phone-large {
    display: inline-flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid currentColor;
    color: var(--green-dark);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
}

.address-line {
    color: var(--green-dark);
    font-weight: 800;
}

.contact-card {
    padding: 34px;
    background: var(--green-dark);
    color: var(--white);
}

.contact-card__photo {
    position: relative;
    margin: -34px -34px 28px;
    overflow: hidden;
    aspect-ratio: 1.55;
    background: rgba(255, 255, 255, 0.08);
}

.contact-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 42%;
    transition: transform 650ms ease;
}

.contact-card:hover .contact-card__photo img {
    transform: scale(1.025);
}

.contact-card h2,
.contact-card li {
    color: var(--white);
}

.section--route {
    background: #edf0eb;
}

.route-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
    padding-block: 48px;
    border-block: 1px solid rgba(35, 76, 59, 0.18);
}

.route-panel h2 {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 40px;
}

.route-panel p {
    max-width: 720px;
}

.route-panel .button {
    white-space: nowrap;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    scroll-margin-top: 112px;
}

.article-card a {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: var(--cream);
    text-decoration: none;
}

.article-card img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
    object-position: 50% 50%;
    background: var(--cream-strong);
    filter: saturate(0.94) contrast(0.9) brightness(1.02);
}

.article-card p,
.article-card h2,
.article-card span,
.article-card strong {
    display: block;
    padding-inline: 22px;
}

.article-card p {
    padding-top: 22px;
}

.article-card h2 {
    color: var(--green-dark);
    font-size: 23px;
}

.article-card span {
    color: var(--muted);
}

.article-card strong {
    padding-top: 20px;
    padding-bottom: 26px;
    color: var(--green);
}

.single-article {
    padding: 92px 0;
    background: var(--white);
}

.single-article__inner {
    max-width: 820px;
}

.single-article figure {
    margin: 0 0 34px;
}

.entry-content {
    font-size: 20px;
}

.entry-content p,
.entry-content li {
    color: var(--ink);
}

.consult-grid {
    align-items: start;
}

.consult-copy {
    max-width: 620px;
}

.consult-actions {
    margin-top: 28px;
}

.lead-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid rgba(54, 94, 75, 0.24);
    border-radius: 6px;
    padding: 13px 14px;
    background: var(--cream-light);
    color: var(--ink);
}

.lead-form textarea {
    resize: vertical;
}

.lead-form .checkbox {
    grid-template-columns: 18px 1fr;
    align-items: start;
    color: var(--muted);
    font-weight: 500;
}

.lead-form .checkbox input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.form-note {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.site-footer {
    padding: 58px 0;
    color: var(--white);
    background: var(--green-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--cream);
    text-decoration: none;
}

.footer-logo img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    object-fit: contain;
}

.footer-logo__text {
    display: grid;
    gap: 5px;
}

.footer-logo__text strong {
    color: var(--cream);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1;
}

.footer-logo__text small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 650;
    text-transform: uppercase;
}

.site-footer h2 {
    color: var(--cream);
    font-size: 22px;
}

.site-footer p,
.footer-links li {
    color: rgba(255, 255, 255, 0.74);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: inherit;
}

.legal-note {
    font-size: 14px;
}

.floating-contact {
    display: none;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(54, 94, 75, 0.18);
    border-radius: 999px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.precision-workbench.is-visible {
    transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .service-card,
    .precision-card,
    .precision-workbench,
    .precision-workbench img,
    .hero-photo,
    .hero-photo img,
    .contact-card__photo img {
        transition: none;
    }

    .hero-photo,
    .precision-workbench.is-visible {
        transform: none;
    }
}

/* Contextual consultation actions and modal. */
body.consultation-open {
    overflow: hidden;
}

.context-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 42px;
    padding: 26px 30px;
    border: 1px solid rgba(49, 91, 71, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
}

.context-cta > div {
    display: grid;
    gap: 4px;
}

.context-cta span {
    color: var(--muted);
    font-size: 14px;
}

.context-cta strong {
    color: var(--green-dark);
    font-size: 20px;
    line-height: 1.3;
}

.context-cta .button {
    flex: 0 0 auto;
}

.context-cta--dark {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--green-dark);
}

.context-cta--dark span {
    color: rgba(255, 255, 255, 0.66);
}

.context-cta--dark strong {
    color: var(--white);
}

.service-preparation__cta {
    margin-top: 22px;
}

.page-hero__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
}

.practice-card__cta,
.article-author-note button {
    width: fit-content;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--green);
    font-weight: 750;
    cursor: pointer;
}

.practice-card__cta {
    max-width: 100%;
    margin-top: 18px;
    overflow-wrap: anywhere;
    text-align: left;
}

.article-author-note button {
    margin-left: 18px;
}

.article-consultation {
    margin: 52px 0 10px;
    padding: 30px;
    border-left: 4px solid var(--gold);
    background: var(--cream-light);
}

.article-consultation h2 {
    max-width: 620px;
    margin-bottom: 14px;
    font-size: 31px;
}

.article-consultation p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.consultation-modal {
    width: min(1020px, calc(100% - 32px));
    max-width: none;
    max-height: min(760px, calc(100dvh - 32px));
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    box-shadow: 0 32px 100px rgba(5, 21, 15, 0.32);
    overflow: hidden;
}

.consultation-modal::backdrop {
    background: rgba(7, 18, 14, 0.68);
    backdrop-filter: blur(7px);
}

.consultation-modal[open] {
    animation: consultation-enter 220ms ease-out both;
}

@keyframes consultation-enter {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.consultation-modal__shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    max-height: min(760px, calc(100dvh - 32px));
    overflow: auto;
    background: var(--white);
}

.consultation-modal__close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(49, 91, 71, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-dark);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.consultation-modal__aside {
    display: flex;
    min-height: 620px;
    flex-direction: column;
    padding: 46px 40px 38px;
    background: var(--green-dark);
    color: var(--white);
}

.consultation-modal__aside h2 {
    color: var(--white);
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 600;
}

.consultation-modal__aside > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.73);
    font-size: 15px;
}

.consultation-modal__prompts {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.consultation-modal__prompts button {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: transparent;
    color: var(--white);
    text-align: left;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.consultation-modal__prompts button:hover,
.consultation-modal__prompts button:focus-visible {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.09);
}

.consultation-modal__direct {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.consultation-modal__direct > span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.consultation-modal__direct > a {
    color: var(--white);
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 600;
    text-decoration: none;
}

.consultation-modal__direct > div {
    display: flex;
    gap: 18px;
}

.consultation-modal__direct > div a {
    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
}

.consultation-modal__content {
    padding: 46px 48px 40px;
}

.consultation-modal__content > h2 {
    max-width: 520px;
    margin-bottom: 12px;
    padding-right: 36px;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 45px;
    font-weight: 600;
}

.consultation-modal__content > p:not(.eyebrow) {
    max-width: 570px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

.lead-form.consultation-modal__form {
    gap: 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.consultation-modal__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.consultation-modal__form input,
.consultation-modal__form textarea {
    background: var(--cream-light);
}

.consultation-modal__form textarea {
    min-height: 104px;
}

.consultation-modal__form button[disabled] {
    opacity: 0.62;
    cursor: wait;
}

.consultation-modal__website {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.consultation-modal__error {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid #a33b32;
    background: #fff1ef;
    color: #7b241d;
    font-size: 13px;
}

.consultation-modal__success {
    display: grid;
    align-content: center;
    min-height: 350px;
    text-align: center;
}

.consultation-modal__success[hidden] {
    display: none;
}

.consultation-modal__success > span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    font-size: 27px;
}

.consultation-modal__success h3 {
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
}

.consultation-modal__success p {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 15px;
}

.consultation-modal__success > button {
    width: fit-content;
    margin: 16px auto 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--green);
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 760px) {
    .context-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding: 22px;
    }

    .context-cta .button,
    .page-hero__actions .button {
        width: 100%;
    }

    .page-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-author-note button {
        display: block;
        margin: 12px 0 0;
    }

    .article-consultation {
        margin-top: 38px;
        padding: 24px 20px;
    }

    .article-consultation h2 {
        font-size: 27px;
    }

    .consultation-modal {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
    }

    .consultation-modal__shell {
        display: block;
        max-height: calc(100dvh - 16px);
    }

    .consultation-modal__aside {
        min-height: 0;
        padding: 28px 22px 24px;
    }

    .consultation-modal__aside h2 {
        max-width: calc(100% - 48px);
        margin-bottom: 10px;
        font-size: 33px;
    }

    .consultation-modal__aside > p:not(.eyebrow),
    .consultation-modal__prompts {
        display: none;
    }

    .consultation-modal__direct {
        margin-top: 18px;
        padding-top: 18px;
    }

    .consultation-modal__direct > a {
        font-size: 27px;
    }

    .consultation-modal__content {
        padding: 26px 22px 24px;
    }

    .consultation-modal__content > h2 {
        padding-right: 0;
        font-size: 34px;
    }

    .consultation-modal__fields {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .consultation-modal[open] {
        animation: none;
    }
}

/* Guided legal intake */
.smart-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    font-family: var(--sans);
    letter-spacing: 0;
}

.smart-chat__launcher {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 238px;
    min-height: 60px;
    padding: 8px 15px 8px 9px;
    color: var(--cream-light);
    background: var(--green-dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(8, 25, 19, 0.24);
    cursor: pointer;
    text-align: left;
    transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.smart-chat__launcher:hover {
    background: #1a4435;
    transform: translateY(-2px);
}

.smart-chat__launcher:focus-visible {
    outline: 3px solid var(--gold);
}

.smart-chat.is-home-hero-visible .smart-chat__launcher {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.smart-chat__launcher-mark,
.smart-chat__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--cream);
    background: var(--green);
    font-family: var(--serif);
    font-weight: 700;
}

.smart-chat__launcher-mark {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    font-size: 19px;
}

.smart-chat__launcher span:last-child {
    display: grid;
    gap: 1px;
}

.blog .smart-chat__launcher,
.single-post .smart-chat__launcher {
    min-width: 56px;
    min-height: 56px;
    padding: 7px;
}

.blog .smart-chat__launcher span:last-child,
.single-post .smart-chat__launcher span:last-child {
    display: none;
}

.smart-chat__launcher strong {
    font-size: 14px;
    line-height: 1.2;
}

.smart-chat__launcher small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    line-height: 1.3;
}

.smart-chat.is-open .smart-chat__launcher {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.smart-chat__panel {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-rows: auto 3px minmax(0, 1fr) auto auto;
    width: min(394px, calc(100vw - 44px));
    height: min(672px, calc(100dvh - 44px));
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(18, 48, 38, 0.18);
    border-radius: 8px;
    box-shadow: 0 26px 72px rgba(7, 24, 18, 0.3);
}

.smart-chat__panel[hidden] {
    display: none;
}

.smart-chat__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 36px 36px;
    align-items: center;
    gap: 9px;
    min-height: 68px;
    padding: 10px 11px 10px 13px;
    color: var(--cream-light);
    background: var(--green-dark);
}

.smart-chat__avatar {
    width: 42px;
    height: 42px;
    border-radius: 5px;
    font-size: 18px;
}

.smart-chat__identity {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.smart-chat__identity strong {
    overflow: hidden;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smart-chat__identity small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smart-chat__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--cream);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.smart-chat__icon-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.smart-chat__progress {
    overflow: hidden;
    background: #e5e8e6;
}

.smart-chat__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 260ms ease;
}

.smart-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f4f2ec;
    overscroll-behavior: contain;
}

.smart-chat__message {
    width: fit-content;
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.48;
}

.smart-chat__message p {
    margin: 0;
}

.smart-chat__message--assistant {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid rgba(18, 48, 38, 0.1);
}

.smart-chat__message--user {
    align-self: flex-end;
    color: var(--white);
    background: var(--green);
}

.smart-chat__message--recommendation {
    border-left: 3px solid var(--gold);
}

.smart-chat__message--success {
    color: var(--green-dark);
    background: #e6efe9;
    border-color: rgba(49, 91, 71, 0.2);
}

.smart-chat__actions {
    display: grid;
    gap: 9px;
    max-height: min(320px, 54dvh);
    padding: 13px 16px 15px;
    overflow-x: hidden;
    overflow-y: auto;
    align-content: start;
    background: var(--white);
    border-top: 1px solid rgba(18, 48, 38, 0.1);
}

.smart-chat__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.smart-chat__choices--scenarios {
    grid-template-columns: 1fr;
}

.smart-chat__choice {
    min-height: 44px;
    padding: 9px 11px;
    color: var(--green-dark);
    background: var(--cream-light);
    border: 1px solid rgba(18, 48, 38, 0.18);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.smart-chat__choice:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.smart-chat__choice--compact {
    min-height: 42px;
    font-size: 11px;
}

.smart-chat__answer-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
}

.smart-chat__answer-form input,
.smart-chat__contact-form input[type="text"] {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(18, 48, 38, 0.2);
    border-radius: 5px;
    font-size: 12px;
}

.smart-chat__answer-form button {
    min-height: 42px;
    padding: 8px 11px;
    color: var(--green-dark);
    background: var(--cream);
    border: 1px solid rgba(18, 48, 38, 0.16);
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
}

.smart-chat__primary,
.smart-chat__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.smart-chat__primary {
    color: var(--white);
    background: var(--green);
    border: 1px solid var(--green);
}

.smart-chat__primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.smart-chat__primary:disabled {
    cursor: wait;
    opacity: 0.68;
}

.smart-chat__secondary {
    color: var(--green-dark);
    background: var(--cream-light);
    border: 1px solid rgba(18, 48, 38, 0.22);
}

.smart-chat__text-button {
    justify-self: center;
    padding: 3px 4px;
    color: var(--green);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.smart-chat__contact-form {
    display: grid;
    gap: 10px;
    align-content: start;
    align-self: start;
}

.smart-chat__contact-form > label:not(.smart-chat__consent) {
    display: grid;
    gap: 4px;
}

.smart-chat__contact-form > label > span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 750;
}

.smart-chat__consent {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    color: var(--muted);
    cursor: pointer;
    font-size: 9px;
    line-height: 1.4;
}

.smart-chat__consent input {
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: var(--green);
}

.smart-chat__consent a {
    color: var(--green);
}

.smart-chat__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.smart-chat__form-status {
    margin: 0;
    color: #8b2f24;
    font-size: 10px;
    line-height: 1.4;
}

.smart-chat__contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.smart-chat__contact-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    color: var(--green-dark);
    background: var(--cream-light);
    border: 1px solid rgba(18, 48, 38, 0.16);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.smart-chat__disclaimer {
    margin: 0;
    padding: 9px 16px 11px;
    color: #6b746f;
    background: var(--white);
    border-top: 1px solid rgba(18, 48, 38, 0.08);
    font-size: 9px;
    line-height: 1.35;
}

@media (max-width: 600px) {
    body.smart-chat-open {
        overflow: hidden;
    }

    .smart-chat {
        right: 12px;
        bottom: 12px;
    }

    .smart-chat__launcher {
        justify-content: center;
        width: 56px;
        min-width: 56px;
        min-height: 56px;
        padding: 6px;
    }

    .smart-chat__launcher span:last-child {
        display: none;
    }

    .blog .smart-chat__launcher,
    .single-post .smart-chat__launcher {
        width: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 6px;
    }

    .blog .smart-chat__launcher-mark,
    .single-post .smart-chat__launcher-mark {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .smart-chat__panel {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        height: min(700px, calc(100dvh - 20px));
    }

    .smart-chat__header {
        min-height: 64px;
        padding-left: 11px;
    }

    .smart-chat__messages {
        padding: 13px;
    }

    .smart-chat__actions {
        padding: 12px 13px 14px;
    }
}

@media (max-width: 370px) {
    .smart-chat__identity small {
        display: none;
    }

    .smart-chat__choices {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smart-chat__launcher,
    .smart-chat__progress span {
        transition: none;
    }
}

/* Detailed service and urgent-situation pages */
.service-detail-hero {
    padding: 34px 0 0;
    background: var(--cream);
    overflow: hidden;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: #647169;
    font-size: 13px;
    line-height: 1.35;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--green-dark);
}

.breadcrumbs [aria-current="page"] {
    max-width: 420px;
    overflow: hidden;
    color: var(--green-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
    gap: 64px;
    align-items: start;
}

.service-detail-hero__copy {
    padding: 36px 0 56px;
}

.service-detail-hero__copy h1 {
    max-width: 760px;
    font-size: 68px;
}

.service-detail-hero__lead {
    max-width: 730px;
    color: #4e5d55;
    font-size: 19px;
    line-height: 1.62;
}

.service-detail-hero__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 30px;
}

.service-detail-hero__phone {
    display: grid;
    gap: 1px;
    text-decoration: none;
}

.service-detail-hero__phone span {
    color: #69756f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-detail-hero__phone strong {
    color: var(--green-dark);
    font-size: 19px;
}

.service-alert {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 22px;
    margin-top: 36px;
    padding: 22px 0;
    border-top: 1px solid rgba(18, 48, 38, 0.22);
    border-bottom: 1px solid rgba(18, 48, 38, 0.22);
}

.service-alert > span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-alert p {
    margin: 0;
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 600;
}

.service-detail-hero__visual {
    position: relative;
    align-self: stretch;
    min-height: 650px;
    margin: 0;
}

.service-detail-hero__visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(10, 24, 18, 0.72));
    pointer-events: none;
}

.service-detail-hero__visual img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: 50% 38%;
}

.service-detail-hero__visual figcaption {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    color: var(--white);
}

.service-detail-hero__visual figcaption strong {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
}

.service-detail-hero__visual figcaption span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.service-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(18, 48, 38, 0.2);
}

.service-facts div {
    min-height: 118px;
    padding: 23px 28px 22px 0;
}

.service-facts div + div {
    padding-left: 28px;
    border-left: 1px solid rgba(18, 48, 38, 0.2);
}

.service-facts dt {
    margin-bottom: 5px;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 600;
    line-height: 1;
}

.service-facts dd {
    max-width: 270px;
    margin: 0;
    color: #68736d;
    font-size: 13px;
    line-height: 1.4;
}

.service-situations {
    background: var(--cream-light);
}

.service-situation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 42px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-situation-card {
    min-height: 250px;
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.service-situation-card > span,
.service-scope__grid article > span {
    display: block;
    margin-bottom: 34px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.service-situation-card h3 {
    max-width: 430px;
    color: var(--green-dark);
    font-size: 25px;
}

.service-situation-card p {
    max-width: 490px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.service-roadmap {
    background: #e4e8e5;
}

.service-roadmap__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: start;
}

.service-roadmap__intro {
    position: sticky;
    top: 120px;
}

.service-roadmap__intro p:last-child {
    color: var(--muted);
}

.service-roadmap__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.service-roadmap__list li {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 22px;
    padding: 26px 0;
    border-top: 1px solid #b9c2bd;
}

.service-roadmap__list li:last-child {
    border-bottom: 1px solid #b9c2bd;
}

.service-roadmap__list li > span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
}

.service-roadmap__list h3 {
    margin-bottom: 7px;
    color: var(--green-dark);
}

.service-roadmap__list p {
    margin: 0;
    color: #5e6a64;
    font-size: 15px;
}

.service-scope {
    color: var(--white);
    background: var(--green-dark);
}

.service-scope__head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
    gap: 60px;
    align-items: end;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.service-scope .eyebrow {
    color: #d0ae70;
}

.service-scope h2,
.service-scope h3 {
    color: var(--white);
}

.service-scope__head p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.service-scope__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-scope__grid article {
    min-height: 300px;
    padding: 34px 26px 28px 0;
}

.service-scope__grid article + article {
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.service-scope__grid article > span {
    color: #d0ae70;
}

.service-scope__grid h3 {
    font-size: 22px;
}

.service-scope__grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.service-preparation {
    background: var(--cream-light);
}

.service-preparation__grid,
.service-evidence__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.service-preparation__block {
    padding-top: 26px;
    border-top: 2px solid var(--green-dark);
}

.service-preparation__block h2 {
    max-width: 490px;
}

.service-preparation__note {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.service-evidence {
    background: var(--cream);
}

.service-source,
.service-proof {
    min-height: 330px;
    padding: 38px;
}

.service-source {
    color: var(--white);
    background: var(--green-dark);
}

.service-source .eyebrow {
    color: #d0ae70;
}

.service-source h2 {
    color: var(--white);
}

.service-source p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.7);
}

.service-source .text-link {
    color: var(--white);
}

.service-proof {
    border: 1px solid rgba(18, 48, 38, 0.2);
    background: rgba(255, 255, 255, 0.44);
}

.service-source h2,
.service-proof h2 {
    max-width: 480px;
    font-size: 31px;
}

.service-source p:not(.eyebrow),
.service-proof p:not(.eyebrow) {
    max-width: 500px;
}

.service-related {
    background: var(--white);
}

.service-related__grid {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.service-related__item {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    min-height: 104px;
    padding: 22px 2px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.service-related__item > span {
    display: grid;
    gap: 4px;
}

.service-related__item strong {
    color: var(--green-dark);
    font-size: 20px;
}

.service-related__item small {
    color: var(--muted);
    font-size: 14px;
}

.service-related__item i {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(18, 48, 38, 0.25);
    border-radius: 50%;
    color: var(--green-dark);
    font-style: normal;
    transition: color 160ms ease, background 160ms ease;
}

.service-related__item:hover i {
    color: var(--white);
    background: var(--green-dark);
}

.service-faq {
    background: var(--cream-light);
}

.service-faq__intro {
    max-width: 760px;
    color: var(--muted);
}

.faq-item__answer {
    max-width: 900px;
    padding: 10px 56px 6px 0;
}

.faq-item__answer p {
    margin: 0;
    line-height: 1.72;
}

@media (max-width: 720px) {
    .faq-item__answer {
        padding-right: 0;
    }
}

@media (max-width: 1020px) {
    .service-detail-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
        gap: 36px;
    }

    .service-detail-hero__copy h1 {
        font-size: 56px;
    }

    .service-detail-hero__visual,
    .service-detail-hero__visual img {
        height: 590px;
        min-height: 590px;
    }

    .service-roadmap__grid {
        gap: 48px;
    }

    .service-scope__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-scope__grid article:nth-child(3) {
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .service-scope__grid article:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 760px) {
    .service-detail-hero {
        padding-top: 20px;
    }

    .breadcrumbs {
        margin-bottom: 18px;
        overflow: hidden;
        white-space: nowrap;
    }

    .breadcrumbs [aria-current="page"] {
        display: none;
    }

    .service-detail-hero__grid,
    .service-roadmap__grid,
    .service-scope__head,
    .service-preparation__grid,
    .service-evidence__grid {
        grid-template-columns: 1fr;
    }

    .service-detail-hero__copy {
        padding: 20px 0 34px;
    }

    .service-detail-hero__copy h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .service-detail-hero__lead {
        font-size: 16px;
    }

    .service-detail-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .service-detail-hero__phone {
        padding: 4px 0;
    }

    .service-alert {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 28px;
    }

    .service-detail-hero__visual,
    .service-detail-hero__visual img {
        height: 440px;
        min-height: 440px;
    }

    .service-detail-hero__visual {
        margin-inline: -12px;
    }

    .service-facts {
        grid-template-columns: 1fr;
    }

    .service-facts div,
    .service-facts div + div {
        min-height: 0;
        padding: 18px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(18, 48, 38, 0.2);
    }

    .service-facts dt {
        font-size: 27px;
    }

    .service-situation-grid {
        grid-template-columns: 1fr;
    }

    .service-situation-card {
        min-height: 0;
        padding: 26px 22px;
    }

    .service-situation-card > span,
    .service-scope__grid article > span {
        margin-bottom: 22px;
    }

    .service-roadmap__grid {
        gap: 26px;
    }

    .service-roadmap__intro {
        position: static;
    }

    .service-roadmap__list li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .service-scope__head {
        gap: 10px;
    }

    .service-scope__grid {
        grid-template-columns: 1fr;
    }

    .service-scope__grid article,
    .service-scope__grid article + article,
    .service-scope__grid article:nth-child(3),
    .service-scope__grid article:nth-child(4) {
        min-height: 0;
        padding: 26px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .service-preparation__grid,
    .service-evidence__grid {
        gap: 34px;
    }

    .service-source,
    .service-proof {
        min-height: 0;
        padding: 28px 22px;
    }

    .service-source h2,
    .service-proof h2 {
        font-size: 27px;
    }

    .service-related__item {
        min-height: 92px;
    }

    .service-related__item small {
        font-size: 12px;
    }
}

/* Verified profile, case archive and editorial content. */
.about-profile-hero__lead,
.single-article__lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.55;
}

.about-verification,
.about-source-actions,
.practice-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.about-verification {
    margin: 28px 0;
}

.about-verification span,
.practice-card__meta span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.about-source-actions {
    margin-bottom: 34px;
}

.text-link,
.about-source-grid a,
.article-author-note a {
    color: var(--green);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.about-photo figcaption,
.about-photo-grid figcaption {
    padding-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.career-timeline {
    max-width: 980px;
    margin: 54px 0 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.career-timeline li {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 46px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.career-timeline li > span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.career-timeline h3,
.career-timeline p,
.credential-card__body p {
    margin-top: 0;
}

.about-principles h2,
.about-principles p,
.about-principles .process-list h3,
.about-principles .process-list p {
    color: var(--cream);
}

.about-principles {
    background: var(--green-dark);
}

.credential-card__body {
    padding: 28px;
}

.credential-card__body h2 {
    margin-top: 6px;
    font-size: 30px;
}

.about-photo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.85fr 0.85fr;
    gap: 18px;
    margin-top: 36px;
}

.about-photo-grid figure {
    margin: 0;
}

.about-photo-grid img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.about-photo-grid figure:nth-child(2) img,
.about-photo-grid figure:nth-child(3) img {
    height: 390px;
    margin-top: 80px;
}

.about-source-band {
    background: var(--cool);
}

.about-source-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.about-source-grid > div {
    padding: 30px;
    background: var(--white);
}

.about-source-grid h2 {
    font-size: 28px;
}

.practice-archive-hero .page-hero__content {
    max-width: 980px;
}

.practice-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.practice-card {
    display: flex;
    min-width: 0;
    min-height: 440px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--white);
}

.practice-card__meta span:last-child {
    border-color: rgba(54, 94, 75, 0.3);
    background: var(--cool);
}

.practice-card h2 {
    margin: 38px 0 18px;
    font-size: 34px;
}

.practice-card h2 a {
    color: var(--green-dark);
    text-decoration: none;
}

.practice-card p {
    color: var(--muted);
}

.practice-card dl {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.practice-card dt {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.practice-card dd {
    margin: 6px 0 18px;
    color: var(--ink);
}

.practice-method {
    background: var(--cool);
}

.case-detail__hero {
    padding: 82px 0;
    background: var(--cream);
}

.case-detail__hero-grid,
.case-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr);
    gap: 70px;
    align-items: start;
}

.case-detail__hero h1 {
    max-width: 780px;
}

.case-detail__hero p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 21px;
}

.case-passport {
    margin: 0;
    padding: 28px;
    background: var(--green-dark);
}

.case-passport div {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.case-passport div:last-child {
    border-bottom: 0;
}

.case-passport dt {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.case-passport dd {
    margin: 7px 0 0;
    color: var(--white);
    line-height: 1.45;
}

.case-detail__layout .entry-content {
    max-width: 760px;
}

.case-result {
    position: sticky;
    top: 110px;
    padding: 28px;
    border-top: 3px solid var(--gold);
    background: var(--cool);
}

.case-result strong {
    display: block;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.2;
}

.case-result p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.single-article__inner {
    max-width: 1180px;
}

.article-reading-progress {
    position: fixed;
    z-index: 120;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.article-reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
}

.single-article__header {
    max-width: 900px;
    margin: 46px 0 42px;
}

.single-article__header h1 {
    margin-bottom: 22px;
    font-size: clamp(46px, 5vw, 76px);
    line-height: 1.02;
}

.single-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.single-article__meta span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 18px 2px 0;
    border-radius: 50%;
    background: var(--gold);
}

.single-article__cover {
    overflow: hidden;
    aspect-ratio: 1.65;
    margin-bottom: 60px;
    border-radius: 4px;
    background: var(--cool);
}

.single-article__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.single-article__layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 760px);
    gap: 72px;
    align-items: start;
}

.article-toc {
    position: sticky;
    top: 118px;
    padding: 6px 0 6px 18px;
    border-left: 1px solid var(--line);
}

.article-toc strong {
    display: block;
    margin-bottom: 15px;
    color: var(--green-dark);
    font-size: 13px;
    text-transform: uppercase;
}

.article-toc ol {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
    color: var(--green);
}

.article-toc__level-3 {
    padding-left: 12px;
}

.article-longread {
    max-width: 760px;
    font-size: 19px;
    line-height: 1.78;
}

.article-longread > p:first-child {
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.42;
}

.article-longread h2 {
    scroll-margin-top: 110px;
    margin-top: 72px;
    margin-bottom: 22px;
    color: var(--green-dark);
    font-size: 40px;
    line-height: 1.12;
}

.article-longread h3 {
    scroll-margin-top: 110px;
    margin-top: 42px;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.25;
}

.article-longread p,
.article-longread ul,
.article-longread ol {
    margin-bottom: 24px;
}

.article-longread li + li {
    margin-top: 12px;
}

.article-longread blockquote {
    margin: 44px 0;
    padding: 28px 32px;
    border-left: 3px solid var(--gold);
    background: var(--cool);
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.4;
}

.article-summary,
.article-example,
.article-warning,
.article-checklist,
.article-sources {
    margin: 38px 0;
    padding: 28px 30px;
    border-radius: 4px;
}

.article-summary {
    border-top: 3px solid var(--gold);
    background: #f3f0e8;
}

.article-example {
    border-left: 3px solid var(--green);
    background: #eef3f0;
}

.article-warning {
    border-left: 3px solid #a96348;
    background: #f7efeb;
}

.article-checklist {
    border: 1px solid var(--line);
    background: var(--white);
}

.article-sources {
    background: var(--green-dark);
    color: var(--white);
}

.article-summary strong,
.article-example strong,
.article-warning strong,
.article-checklist strong,
.article-sources strong {
    display: block;
    margin-bottom: 12px;
    color: inherit;
    font-size: 14px;
    text-transform: uppercase;
}

.article-summary > :last-child,
.article-example > :last-child,
.article-warning > :last-child,
.article-checklist > :last-child,
.article-sources > :last-child {
    margin-bottom: 0;
}

.article-sources a {
    color: #f0d897;
    text-underline-offset: 4px;
}

.article-longread .article-sources p,
.article-longread .article-sources li {
    color: rgba(255, 255, 255, 0.82);
}

.article-longread .article-sources li::marker {
    color: #f0d897;
}

.article-longread table {
    width: 100%;
    margin: 34px 0;
    border-collapse: collapse;
    font-size: 16px;
}

.article-longread th,
.article-longread td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-longread th {
    color: var(--green-dark);
    font-size: 13px;
    text-transform: uppercase;
}

.article-author-note {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    margin-top: 64px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.article-author-note img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.article-author-note strong {
    color: var(--green-dark);
    font-size: 20px;
}

.article-author-note p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .single-article__header h1 {
        font-size: 48px;
    }

    .single-article__cover {
        aspect-ratio: 1.5;
    }

    .single-article__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .article-toc {
        position: static;
        columns: 2;
        padding: 20px 0 20px 18px;
    }
}

@media (max-width: 620px) {
    .single-article {
        padding-top: 54px;
    }

    .single-article__header {
        margin-top: 30px;
    }

    .single-article__header h1 {
        font-size: 39px;
    }

    .single-article__meta span + span::before {
        display: none;
    }

    .single-article__cover {
        aspect-ratio: 1.15;
        margin-bottom: 38px;
    }

    .article-toc {
        columns: 1;
    }

    .article-longread {
        font-size: 17px;
        line-height: 1.72;
    }

    .article-longread > p:first-child {
        font-size: 25px;
    }

    .article-longread h2 {
        margin-top: 56px;
        font-size: 31px;
    }

    .article-summary,
    .article-example,
    .article-warning,
    .article-checklist,
    .article-sources {
        padding: 22px 20px;
    }

    .article-longread blockquote {
        padding: 22px 20px;
        font-size: 23px;
    }
}

.editorial-case {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1020px) {
    .practice-card-grid,
    .about-source-grid {
        grid-template-columns: 1fr 1fr;
    }

    .practice-card-grid > :last-child,
    .about-source-grid > :last-child {
        grid-column: 1 / -1;
    }

    .case-detail__hero-grid,
    .case-detail__layout {
        grid-template-columns: 1fr;
    }

    .case-result {
        position: static;
    }
}

@media (max-width: 760px) {
    .about-verification,
    .about-source-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .career-timeline li {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-photo-grid,
    .about-source-grid,
    .practice-card-grid,
    .article-author-note {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-source-grid > :last-child,
    .practice-card-grid > :last-child {
        grid-column: auto;
    }

    .about-photo-grid img,
    .about-photo-grid figure:nth-child(2) img,
    .about-photo-grid figure:nth-child(3) img {
        height: 360px;
        margin-top: 0;
    }

    .practice-card {
        min-height: 0;
    }

    .case-detail__hero {
        padding: 54px 0;
    }

    .case-detail__hero h1 {
        font-size: 44px;
    }

    .entry-content h2 {
        font-size: 31px;
    }
}

.legal-hero {
    padding: 86px 0 72px;
    background: #f1ede4;
    border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
    max-width: 920px;
    margin-bottom: 16px;
    font-size: 58px;
}

.legal-hero > .container > p:last-child {
    margin: 0;
    color: var(--muted);
}

.legal-page {
    background: #fff;
}

.legal-page__grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    gap: 88px;
    justify-content: center;
    align-items: start;
}

.legal-page__aside {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 8px;
    padding-top: 20px;
    border-top: 2px solid #234c3b;
    color: var(--muted);
    font-size: 13px;
}

.legal-page__aside strong {
    color: #173127;
    font-family: var(--serif);
    font-size: 22px;
}

.legal-page__aside a,
.legal-page__content a,
.checkbox a {
    color: #234c3b;
}

.legal-page__content h2 {
    margin: 48px 0 14px;
    color: #173127;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 650;
}

.legal-page__content h2:first-child {
    margin-top: 0;
}

.legal-page__content p {
    color: #4f5c56;
}

.legal-page__content {
    min-width: 0;
}

.legal-page__content li {
    margin-bottom: 10px;
    color: #4f5c56;
    line-height: 1.65;
}

.legal-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
}

.legal-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.legal-table th,
.legal-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: #edf0eb;
    color: var(--green-dark);
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-page__note {
    margin-top: 48px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    font-weight: 650;
}

@media (max-width: 720px) {
    .legal-hero {
        padding: 58px 0 48px;
    }

    .legal-hero h1 {
        font-size: 38px;
    }

    .legal-page__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .legal-page__aside {
        position: static;
    }

    .legal-page__content h2 {
        margin-top: 38px;
        font-size: 28px;
    }

    .route-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .route-panel h2 {
        font-size: 32px;
    }

    .route-panel .button {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 1100px) {
    h1 {
        font-size: 62px;
    }

    .site-nav,
    .site-header__actions {
        display: none;
    }

    .site-header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 66px;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
        width: 48px;
        height: 48px;
        min-height: 0;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(54, 94, 75, 0.22);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.38);
        color: var(--green-dark);
        font-weight: 800;
    }

    .menu-toggle i {
        display: grid;
        gap: 4px;
    }

    .menu-toggle i span {
        display: block;
        width: 19px;
        height: 2px;
        background: currentColor;
    }

    .menu-toggle b {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 120;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        background: rgba(23, 52, 40, 0.44);
    }

    .mobile-menu__panel {
        margin-left: auto;
        width: min(360px, 88vw);
        min-height: 100vh;
        min-height: 100dvh;
        padding: 24px;
        background: var(--cream-light);
        box-shadow: var(--shadow);
    }

    .mobile-menu__close {
        display: inline-flex;
        float: right;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: var(--green-dark);
        font-size: 34px;
    }

    .mobile-menu__logo {
        margin-bottom: 28px;
    }

    .mobile-menu .site-nav__list {
        display: grid;
        justify-content: stretch;
        gap: 0;
        margin: 24px 0;
        font-size: 20px;
        text-transform: none;
    }

    .mobile-menu .site-nav__list > li {
        border-bottom: 1px solid rgba(54, 94, 75, 0.14);
    }

    .mobile-menu .site-nav__list > li > a {
        width: 100%;
        min-height: 52px;
        justify-content: flex-start;
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    .mobile-menu .site-nav__list > .menu-item-has-children > a::after {
        margin-left: auto;
    }

    .mobile-menu .site-nav__list .sub-menu {
        position: static;
        width: 100%;
        padding: 0 0 12px 16px;
        border: 0;
        border-left: 2px solid rgba(181, 155, 98, 0.55);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mobile-menu .site-nav__list .sub-menu::before {
        display: none;
    }

    .mobile-menu .site-nav__list .sub-menu a {
        min-height: 34px;
        padding: 4px 0;
        color: var(--muted);
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-menu__panel > .button {
        margin-top: 12px;
    }

    .mobile-menu__panel > .button + .button {
        margin-top: 10px;
    }

    .hero-grid,
    .precision-grid,
    .service-hero__grid,
    .about-grid,
    .contacts-grid,
    .consult-grid,
    .detail-grid,
    .credentials-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 640px;
    }

    .precision-copy {
        max-width: 720px;
        position: static;
    }

    .service-grid,
    .precision-list,
    .case-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .container,
    .site-header__inner {
        width: min(100% - 24px, 1180px);
    }

    h1 {
        font-size: 34px;
        line-height: 1.04;
    }

    h2 {
        font-size: 31px;
    }

    h3 {
        font-size: 21px;
    }

    .hero,
    .page-hero,
    .service-hero,
    .about-hero,
    .contacts-hero,
    .section {
        padding: 58px 0;
    }

    .brand-mark img {
        width: 44px;
        height: 44px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .site-brand__text strong {
        font-size: 15px;
    }

    .site-brand__text small {
        font-size: 11px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-visual {
        max-width: none;
    }

    .hero-photo {
        aspect-ratio: 1.05;
    }

    .hero-photo img {
        object-position: 58% 50%;
    }

    .hero-photo figcaption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
    }

    .hero-photo figcaption strong {
        font-size: 21px;
    }

    .hero-lead,
    .page-hero__content p,
    .service-hero__copy p,
    .about-copy p,
    .contacts-copy p,
    .section-head p {
        font-size: 17px;
    }

    .about-facts,
    .service-grid,
    .precision-list,
    .case-grid,
    .article-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 26px;
    }

    .proof-strip div,
    .proof-strip div:not(:first-child) {
        padding: 13px 10px 12px;
        border-bottom: 0;
    }

    .proof-strip div:first-child {
        padding-left: 0;
    }

    .proof-strip div:not(:first-child) {
        border-left: 1px solid rgba(49, 91, 71, 0.12);
    }

    .proof-strip div:nth-child(3) {
        grid-column: 1 / -1;
        padding-left: 0;
        border-top: 1px solid rgba(49, 91, 71, 0.12);
        border-left: 0;
    }

    .proof-strip dt {
        font-size: 19px;
        overflow-wrap: anywhere;
    }

    .proof-strip dd {
        font-size: 12px;
        line-height: 1.3;
    }

    .hero-portrait img,
    .about-photo img {
        height: 500px;
    }

    .hero-intake {
        padding: 22px;
    }

    .hero-intake__top strong {
        font-size: 27px;
    }

    .hero-intake__actions {
        grid-template-columns: 1fr;
    }

    .precision-workbench {
        min-height: 250px;
    }

    .precision-workbench img {
        min-height: 250px;
        object-position: 58% 50%;
    }

    .precision-workbench::after {
        background: linear-gradient(180deg, rgba(13, 36, 27, 0) 26%, rgba(13, 36, 27, 0.78));
    }

    .precision-workbench figcaption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .precision-workbench figcaption strong {
        font-size: 25px;
    }

    .service-hero__image img {
        height: 360px;
    }

    .page-hero--image {
        min-height: 480px;
    }

    .service-card {
        min-height: 230px;
    }

    .scenario-list div {
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .scenario-list p {
        font-size: 19px;
    }

    .detail-block,
    .quote-panel,
    .price-panel,
    .contact-card,
    .lead-form {
        padding: 22px;
    }

    .contact-card__photo {
        margin: -22px -22px 22px;
        aspect-ratio: 1.2;
    }

    .quote-panel p {
        font-size: 25px;
    }

    .credential-card img {
        height: 360px;
    }

    .phone-large {
        width: 100%;
        font-size: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .floating-contact {
        display: none;
    }
}

@media (max-width: 390px) {
    h1 {
        font-size: 32px;
    }

    .button,
    .phone-pill {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
    }
}

/* 2026 home concept: personal strategic practice. */
.site-header {
    background: rgba(248, 247, 242, 0.97);
    border-bottom-color: rgba(16, 23, 20, 0.1);
}

.site-header__inner {
    width: min(1280px, calc(100% - 64px));
    min-height: 82px;
    gap: 34px;
}

.site-brand {
    min-width: 210px;
    gap: 14px;
}

.brand-mark,
.brand-mark img {
    width: 48px;
    height: 48px;
}

.brand-mark {
    flex-basis: 48px;
}

.site-brand__text strong {
    color: #15251e;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

.site-brand__text small {
    margin-top: 3px;
    color: #6b746f;
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
}

.site-nav__list {
    gap: 14px;
    font-size: 13px;
}

.site-nav__list > li > a {
    position: relative;
    min-height: 44px;
    padding-inline: 4px;
    border: 0;
    border-radius: 0;
    color: #24342d;
}

.site-nav__list > li > a::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a:focus-visible {
    border: 0;
    background: transparent;
}

.site-nav__list > li > a:hover::before,
.site-nav__list > li > a:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.header-phone {
    display: grid;
    gap: 1px;
    color: #15251e;
    text-align: right;
    text-decoration: none;
}

.header-phone small {
    color: #7a817d;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.header-phone strong {
    font-size: 14px;
    line-height: 1.1;
}

.header-cta {
    min-height: 42px;
    padding-inline: 18px;
    border-radius: 4px;
    background: #234c3b;
}

.home-hero {
    position: relative;
    height: min(700px, calc(100svh - 112px));
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    background: #11231b;
}

.home-hero__image,
.home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__image {
    width: 112%;
    max-width: none;
    object-fit: cover;
    object-position: 58% 10%;
    transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.006);
    transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-hero__shade {
    z-index: 1;
    background: rgba(10, 23, 18, 0.61);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 42px;
    padding-bottom: 110px;
}

.home-hero__copy {
    width: min(790px, 72%);
}

.home-hero__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

.home-hero__status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5a45f;
    box-shadow: 0 0 0 0 rgba(197, 164, 95, 0.45);
    animation: status-pulse 2.6s ease-out infinite;
}

@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 164, 95, 0.45); }
    55%, 100% { box-shadow: 0 0 0 11px rgba(197, 164, 95, 0); }
}

.home-hero h1 {
    max-width: 810px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 76px;
    line-height: 0.94;
    font-weight: 560;
}

.home-hero h1 small {
    display: block;
    margin-bottom: 14px;
    color: #d2b36f;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 750;
    text-transform: uppercase;
}

.home-hero__lead {
    max-width: 650px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 20px;
    line-height: 1.55;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.button--light {
    min-height: 50px;
    border-color: #f7f2e7;
    border-radius: 4px;
    background: #f7f2e7;
    color: #173127;
}

.button--light:hover {
    border-color: #fff;
    background: #fff;
}

.home-hero__phone {
    display: grid;
    gap: 1px;
    color: #fff;
    text-decoration: none;
}

.home-hero__phone span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.home-hero__phone strong {
    font-size: 18px;
}

.home-hero__note {
    max-width: 610px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.home-hero__proof {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 0.7fr 0.8fr 1.35fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.home-hero__proof > div {
    min-height: 100px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero__proof > div:first-child {
    padding-left: 0;
}

.home-hero__proof > div:last-child {
    border-right: 0;
}

.home-hero__proof strong {
    color: #fff;
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
    font-weight: 650;
}

.home-hero__proof div > span {
    color: rgba(255, 255, 255, 0.63);
    font-size: 12px;
}

.section-intro {
    max-width: 720px;
    margin-bottom: 38px;
}

.section-intro--wide {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
    column-gap: 80px;
    max-width: none;
    align-items: end;
}

.section-intro--wide .eyebrow {
    grid-column: 1 / -1;
}

.section-intro--wide h2,
.editorial-cases__head h2 {
    margin-bottom: 0;
    font-family: var(--serif);
    font-size: 54px;
    font-weight: 620;
}

.section-intro--wide > p:last-child {
    margin: 0 0 4px;
    color: var(--muted);
}

.situation-navigator {
    padding: 92px 0 84px;
    background: #fbfaf7;
}

.situation-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #cfd4d0;
    border-bottom: 1px solid #cfd4d0;
}

.situation-tab {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px;
    border-right: 1px solid #d8dcda;
    color: #5f6863;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.situation-tab:last-child {
    border-right: 0;
}

.situation-tab span {
    color: #a48449;
    font-size: 11px;
}

.situation-tab:hover,
.situation-tab.is-active {
    color: #fff;
    background: #234c3b;
}

.situation-tab.is-active span {
    color: #d9bd7e;
}

.situation-stage {
    min-height: 348px;
    padding: 40px;
    color: #fff;
    background: #17241f;
}

.situation-panel {
    grid-template-columns: 72px minmax(0, 1.25fr) minmax(260px, 0.8fr);
    column-gap: 30px;
    align-items: start;
    animation: panel-in 320ms ease both;
}

.situation-panel.is-active {
    display: grid;
}

.situation-panel[hidden] {
    display: none;
}

@keyframes panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.situation-panel__index {
    color: #d2b36f;
    font-family: var(--serif);
    font-size: 54px;
    line-height: 0.9;
}

.situation-panel__main p {
    margin-bottom: 10px;
    color: #d2b36f;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.situation-panel__main h3 {
    max-width: 610px;
    color: #fff;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 620;
}

.situation-panel__main > span {
    display: block;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.67);
}

.situation-panel ul {
    padding: 2px 0 0;
    margin: 0;
    list-style: none;
}

.situation-panel li {
    position: relative;
    padding: 0 0 14px 22px;
    color: rgba(255, 255, 255, 0.79);
    font-size: 14px;
}

.situation-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 1px;
    background: #d2b36f;
}

.situation-panel__link,
.situation-panel__links {
    grid-column: 2 / -1;
    margin-top: 28px;
}

.situation-panel__link,
.situation-panel__links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.situation-panel__link {
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.situation-panel__links {
    display: flex;
    gap: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 24px;
    color: #6d746f;
    font-size: 13px;
}

.service-shortcuts > span {
    font-weight: 750;
}

.service-shortcuts a {
    color: #234c3b;
}

.home-method {
    padding: 96px 0;
    background: #eef1ed;
}

.home-method__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
    gap: 24px 70px;
    align-items: center;
}

.home-method__copy h2 {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 620;
}

.home-method__copy > p:last-of-type {
    color: #5f6c65;
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #234c3b;
    font-weight: 750;
    text-decoration: none;
}

.home-method__photo {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    min-height: 470px;
    margin: 0;
    overflow: hidden;
    transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
    transition: transform 260ms ease;
}

.home-method__photo img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: 50% 48%;
}

.home-method__photo figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(430px, 82%);
    padding: 22px 26px;
    color: #fff;
    background: #234c3b;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

.method-steps {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 38px;
    border-top: 1px solid #bdc7c1;
}

.method-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 28px 28px 0 0;
    border-right: 1px solid #bdc7c1;
}

.method-step + .method-step {
    padding-left: 28px;
}

.method-step:last-child {
    border-right: 0;
}

.method-step > span {
    color: #a48449;
    font-family: var(--serif);
    font-size: 28px;
}

.method-step p {
    margin: 0;
    color: #637069;
    font-size: 14px;
}

.editorial-cases {
    padding: 96px 0;
    color: #fff;
    background: #101916;
}

.editorial-cases__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 46px;
}

.editorial-cases__head h2 {
    color: #fff;
}

.editorial-cases__head > p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.61);
}

.editorial-case-list {
    margin-bottom: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.editorial-case {
    display: grid;
    grid-template-columns: 42px 130px minmax(260px, 0.8fr) minmax(300px, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 132px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    color: #fff;
}

.editorial-case__number,
.editorial-case__type {
    color: #d2b36f;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.editorial-case strong {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.05;
    font-weight: 620;
}

.editorial-case__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.button--outline-light {
    border-color: rgba(255, 255, 255, 0.48);
    border-radius: 4px;
    background: transparent;
    color: #fff;
}

.button--outline-light:hover {
    border-color: #fff;
    background: #fff;
    color: #15251e;
}

.home-personal {
    padding: 96px 0;
    background: #fff;
}

.home-personal__grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.78fr) minmax(0, 1.1fr);
    gap: 86px;
    align-items: center;
}

.home-personal__portrait {
    position: relative;
    margin: 0;
}

.home-personal__portrait img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: 50% 22%;
}

.home-personal__portrait figcaption {
    position: absolute;
    right: -28px;
    bottom: 32px;
    width: 250px;
    display: grid;
    gap: 2px;
    padding: 18px 22px;
    color: #fff;
    background: #234c3b;
}

.home-personal__portrait figcaption strong {
    font-family: var(--serif);
    font-size: 23px;
}

.home-personal__portrait figcaption span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.home-personal__copy blockquote {
    margin: 0 0 28px;
    color: #173127;
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 560;
}

.home-personal__copy > p:not(.eyebrow) {
    max-width: 660px;
    color: #65716b;
    font-size: 18px;
}

.home-personal__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 34px 0 28px;
    border-top: 1px solid #d8dcd9;
    border-bottom: 1px solid #d8dcd9;
}

.home-personal__facts div {
    padding: 20px 16px 20px 0;
}

.home-personal__facts div + div {
    padding-left: 16px;
    border-left: 1px solid #d8dcd9;
}

.home-personal__facts dt {
    color: #173127;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 650;
}

.home-personal__facts dd {
    margin: 4px 0 0;
    color: #78817c;
    font-size: 11px;
}

.home-process {
    padding: 84px 0 92px;
    background: #f1ede4;
}

.home-process__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid #cac2b5;
}

.home-process__list li {
    min-height: 240px;
    padding: 28px 32px 0 0;
    border-right: 1px solid #cac2b5;
}

.home-process__list li + li {
    padding-left: 32px;
}

.home-process__list li:last-child {
    border-right: 0;
}

.home-process__list > li > span {
    color: #a48449;
    font-family: var(--serif);
    font-size: 34px;
}

.home-process__list h3 {
    margin-top: 30px;
    color: #173127;
}

.home-process__list p {
    color: #69736e;
}

@media (max-width: 1100px) {
    .site-header__inner {
        width: min(100% - 40px, 1280px);
        min-height: 72px;
    }

    .home-hero {
        height: auto;
        min-height: 780px;
    }

    .home-hero__inner {
        padding-bottom: 190px;
    }

    .home-hero__proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero__proof > div {
        min-height: 82px;
        padding: 15px 20px;
    }

    .home-hero__proof > div:nth-child(odd) {
        padding-left: 0;
    }

    .home-hero__proof > div:nth-child(even) {
        border-right: 0;
    }

    .home-hero__proof > div:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .home-hero h1 {
        font-size: 66px;
    }

    .home-hero__copy {
        width: min(760px, 84%);
    }

    .section-intro--wide,
    .editorial-cases__head,
    .home-method__grid,
    .home-personal__grid {
        grid-template-columns: 1fr;
    }

    .section-intro--wide {
        gap: 18px;
    }

    .situation-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .situation-tab:nth-child(2) {
        border-right: 0;
    }

    .situation-tab:nth-child(-n + 2) {
        border-bottom: 1px solid #d8dcda;
    }

    .situation-panel {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .situation-panel ul {
        grid-column: 2;
        margin-top: 24px;
    }

    .home-method__photo {
        grid-row: 2;
        min-height: 540px;
    }

    .home-method__photo img {
        height: 540px;
    }

    .method-steps {
        grid-row: 3;
    }

    .editorial-cases__head {
        gap: 18px;
    }

    .editorial-case {
        grid-template-columns: 36px 110px minmax(240px, 0.85fr) 1fr;
    }

    .home-personal__portrait {
        max-width: 620px;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        width: min(100% - 24px, 1280px);
        min-height: 66px;
    }

    .site-brand {
        min-width: 0;
        gap: 10px;
    }

    .brand-mark,
    .brand-mark img {
        width: 42px;
        height: 42px;
    }

    .brand-mark {
        flex-basis: 42px;
    }

    .site-brand__text strong {
        font-size: 17px;
    }

    .site-brand__text small {
        max-width: 170px;
        font-size: 8px;
    }

    .home-hero {
        height: auto;
        min-height: calc(100svh - 110px);
    }

    .home-hero__image {
        width: 100%;
        object-position: 61% 50%;
    }

    .home-hero__shade {
        background: rgba(10, 23, 18, 0.67);
    }

    .home-hero__inner {
        justify-content: flex-start;
        padding-top: 46px;
        padding-bottom: 188px;
    }

    .home-hero__copy {
        width: 100%;
    }

    .home-hero__status {
        align-items: flex-start;
        margin-bottom: 20px;
        font-size: 10px;
    }

    .home-hero h1 {
        font-size: 45px;
        line-height: 0.98;
    }

    .home-hero h1 small {
        font-size: 12px;
    }

    .home-hero__lead {
        font-size: 17px;
    }

    .home-hero__actions {
        align-items: flex-start;
        gap: 18px;
    }

    .home-hero__actions .button {
        width: auto;
    }

    .home-hero__proof {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero__proof > div {
        min-height: 82px;
        padding: 15px 12px;
    }

    .home-hero__proof > div:nth-child(odd) {
        padding-left: 0;
    }

    .home-hero__proof strong {
        font-size: 21px;
    }

    .home-hero__proof div > span {
        font-size: 10px;
        line-height: 1.25;
    }

    .situation-navigator,
    .home-method,
    .editorial-cases,
    .home-personal,
    .home-process {
        padding: 64px 0;
    }

    .situation-navigator {
        padding-top: 28px;
    }

    .section-intro--wide h2,
    .editorial-cases__head h2,
    .home-method__copy h2 {
        font-size: 38px;
    }

    .situation-tabs {
        grid-template-columns: 1fr;
    }

    .situation-tab,
    .situation-tab:nth-child(2) {
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid #d8dcda;
    }

    .situation-stage {
        min-height: 0;
        padding: 26px 20px;
    }

    .situation-panel {
        grid-template-columns: 1fr;
    }

    .situation-panel__index {
        margin-bottom: 18px;
        font-size: 38px;
    }

    .situation-panel__main h3 {
        font-size: 29px;
    }

    .situation-panel ul,
    .situation-panel__link,
    .situation-panel__links {
        grid-column: 1;
    }

    .situation-panel__links {
        display: grid;
        gap: 14px;
    }

    .service-shortcuts {
        gap: 10px 14px;
    }

    .home-method__grid {
        gap: 32px;
    }

    .home-method__photo,
    .home-method__photo img {
        min-height: 350px;
        height: 350px;
    }

    .home-method__photo figcaption {
        width: 88%;
        padding: 16px 18px;
        font-size: 18px;
    }

    .method-steps,
    .home-process__list {
        grid-template-columns: 1fr;
        margin-top: 8px;
    }

    .method-step,
    .method-step + .method-step,
    .home-process__list li,
    .home-process__list li + li {
        min-height: 0;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid #bdc7c1;
    }

    .editorial-cases__head {
        margin-bottom: 28px;
    }

    .editorial-case {
        grid-template-columns: 36px 1fr;
        gap: 10px 14px;
        min-height: 0;
        padding: 24px 0;
    }

    .editorial-case__type {
        grid-column: 2;
    }

    .editorial-case strong,
    .editorial-case__text {
        grid-column: 2;
    }

    .editorial-case__text {
        font-size: 13px;
    }

    .home-personal__grid {
        gap: 48px;
    }

    .home-personal__portrait img {
        height: 490px;
    }

    .home-personal__portrait figcaption {
        right: 0;
        bottom: 18px;
        width: 220px;
    }

    .home-personal__copy blockquote {
        font-size: 34px;
    }

    .home-personal__facts {
        grid-template-columns: 1fr;
    }

    .home-personal__facts div,
    .home-personal__facts div + div {
        padding: 14px 0;
        border-left: 0;
        border-bottom: 1px solid #d8dcd9;
    }

    .home-personal__facts div:last-child {
        border-bottom: 0;
    }

    .home-process__list h3 {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__status span {
        animation: none;
    }

    .home-hero__image,
    .situation-panel {
        transition: none;
        animation: none;
    }
}

/* Image QA: stable rendering for client photos and article covers. */
.home-hero__image,
.page-hero__bg img,
.service-detail-hero__visual img,
.home-method__photo img,
.home-personal__portrait img,
.about-photo img,
.about-photo-grid img,
.contact-card__photo img,
.single-article__cover img,
.article-card img,
.article-author-note img {
    image-rendering: auto;
    backface-visibility: hidden;
}

.home-hero__shade {
    background:
        linear-gradient(90deg, rgba(10, 23, 18, 0.74) 0%, rgba(10, 23, 18, 0.58) 42%, rgba(10, 23, 18, 0.44) 100%),
        linear-gradient(180deg, rgba(10, 23, 18, 0.12) 0%, rgba(10, 23, 18, 0.56) 100%);
}

.service-detail-hero__visual img[src*="yashin-consultation-portrait"],
.about-photo-grid img[src*="yashin-consultation-portrait"],
.article-author-note img[src*="yashin-consultation-portrait"] {
    object-position: 50% 18%;
}

.service-detail-hero__visual img[src*="yashin-case-review"],
.about-photo-grid img[src*="yashin-case-review"] {
    object-position: 52% 36%;
}

.service-detail-hero__visual img[src*="yashin-phone-city"],
.contact-card__photo img[src*="yashin-phone-city"] {
    object-position: 48% 42%;
}

.service-detail-hero__visual img[src*="yashin-services-hero"],
.page-hero__bg img[src*="yashin-services-hero"] {
    object-position: 44% 32%;
}

@media (hover: none), (pointer: coarse) {
    .home-hero__image {
        transform: none;
        transition: none;
    }

    .home-method__photo,
    .precision-workbench,
    .hero-photo {
        transform: none;
    }
}

@media (max-width: 720px) {
    .home-hero__image {
        object-position: 42% 42%;
    }

    .home-hero__shade {
        background:
            linear-gradient(90deg, rgba(10, 23, 18, 0.78) 0%, rgba(10, 23, 18, 0.6) 58%, rgba(10, 23, 18, 0.46) 100%),
            linear-gradient(180deg, rgba(10, 23, 18, 0.18) 0%, rgba(10, 23, 18, 0.7) 100%);
    }

    .single-article__cover {
        aspect-ratio: 1.22;
    }

    .service-detail-hero__visual img[src*="yashin-consultation-portrait"],
    .about-photo-grid img[src*="yashin-consultation-portrait"] {
        object-position: 50% 16%;
    }
}
