:root {
    --ink: #1f2629;
    --muted: #677176;
    --line: #e7e0d8;
    --paper: #ffffff;
    --soft: #f7f3ef;
    --navy: #173c47;
    --navy-dark: #102a32;
    --teal: #21a99a;
    --gold: #c6a46a;
    --shadow: 0 18px 45px rgba(17, 42, 49, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.utility-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.utility-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand-row {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1;
}

.brand strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
}

.brand em {
    display: block;
    margin-top: -4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    color: var(--navy-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.main-nav a {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    border-color: var(--teal);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy-dark);
}

.hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 42, 50, 0.84), rgba(16, 42, 50, 0.36) 48%, rgba(16, 42, 50, 0.08)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
    transform: scale(1.02);
}

.hero-panel {
    position: relative;
    width: min(760px, calc(100% - 40px));
    margin-left: max(20px, calc((100vw - 1120px) / 2));
    padding: 72px 0;
    color: var(--paper);
}

.hero-panel p,
.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-panel h1 {
    max-width: 690px;
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 400;
    line-height: 1.05;
}

.hero-actions,
.quick-links,
.footer-grid nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.btn-primary {
    background: var(--teal);
    color: var(--paper);
}

.btn-secondary {
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.62);
}

.quick-links {
    position: relative;
    z-index: 4;
    width: min(1040px, calc(100% - 40px));
    margin: -52px auto 0;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.quick-links a {
    flex: 1 1 260px;
    padding: 26px 30px;
    border-right: 1px solid var(--line);
}

.quick-links a:last-child {
    border-right: 0;
}

.quick-links span {
    display: block;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.quick-links strong {
    display: block;
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.section {
    padding: 96px 0;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: center;
}

.split.top {
    align-items: start;
}

h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.14;
}

.intro-copy p,
.feature-copy p,
.contact-section p {
    margin: 0 0 18px;
    color: var(--muted);
}

.center,
.center-heading {
    text-align: center;
}

.practice {
    background: var(--soft);
}

.practice-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.practice-card {
    min-height: 280px;
    padding: 36px 30px 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: center;
}

.card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 50%;
    font-size: 28px;
}

.practice-card h3,
.attorney-card h3,
.post-list h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.practice-card p,
.attorney-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.practice-card a,
.text-link,
.post-list a {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.feature-band {
    padding: 0;
    background: var(--navy);
    color: var(--paper);
}

.feature-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.feature-image {
    min-height: 520px;
    background: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 0 70px 72px;
}

.feature-copy p {
    color: rgba(255, 255, 255, 0.78);
}

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

.attorney-card {
    text-align: center;
}

.portrait {
    aspect-ratio: 4 / 5;
    margin-bottom: 22px;
    background:
        linear-gradient(rgba(23, 60, 71, 0.08), rgba(23, 60, 71, 0.08)),
        url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=80") center / cover;
}

.attorney-card:nth-child(2) .portrait {
    background-image:
        linear-gradient(rgba(23, 60, 71, 0.08), rgba(23, 60, 71, 0.08)),
        url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=700&q=80");
}

.attorney-card:nth-child(3) .portrait {
    background-image:
        linear-gradient(rgba(23, 60, 71, 0.08), rgba(23, 60, 71, 0.08)),
        url("https://images.unsplash.com/photo-1556157382-97eda2d62296?auto=format&fit=crop&w=700&q=80");
}

.attorney-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial {
    padding: 86px 0;
    background: var(--soft);
    text-align: center;
}

.testimonial-inner {
    max-width: 860px;
}

.quote-mark {
    margin: 0;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 96px;
    line-height: 0.7;
}

blockquote {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
}

.quote-credit {
    margin: 22px 0 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 12px;
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-list article {
    padding: 0 0 22px;
    border-bottom: 1px solid var(--line);
}

.post-list time {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.contact-section {
    padding: 96px 0;
    color: var(--paper);
    background: var(--navy-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
}

.contact-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 34px;
    color: var(--ink);
    background: var(--paper);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form label:nth-child(4),
.contact-form button {
    grid-column: 1 / -1;
}

input,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.site-footer {
    padding: 46px 0;
    color: rgba(255, 255, 255, 0.78);
    background: #0b1c21;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 32px;
    align-items: center;
}

.footer-brand strong,
.footer-brand em {
    color: var(--paper);
}

.footer-grid nav {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-grid p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 980px) {
    .utility-inner {
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .brand-inner {
        min-height: 78px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 16px 20px 22px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
        gap: 5px;
    }

    .main-nav a {
        padding: 11px 0;
    }

    .hero {
        min-height: 590px;
    }

    .split,
    .feature-inner,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

    .feature-copy {
        padding: 58px 0;
    }
}

@media (max-width: 640px) {
    .container,
    .hero-panel,
    .quick-links {
        width: min(100% - 28px, 1120px);
    }

    .utility-inner span {
        display: none;
    }

    .brand strong {
        font-size: 22px;
    }

    .brand em {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        font-size: 27px;
    }

    .hero {
        min-height: 620px;
        align-items: end;
    }

    .hero-photo {
        background:
            linear-gradient(180deg, rgba(16, 42, 50, 0.24), rgba(16, 42, 50, 0.9) 68%),
            url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=80") center / cover;
    }

    .hero-panel {
        margin: 0 auto;
        padding: 0 0 52px;
    }

    .hero-actions .btn,
    .contact-form .btn {
        width: 100%;
    }

    .quick-links {
        margin-top: 0;
    }

    .quick-links a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section,
    .contact-section {
        padding: 68px 0;
    }

    .practice-grid,
    .attorney-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form label:nth-child(4),
    .contact-form button {
        grid-column: auto;
    }

    .feature-image {
        min-height: 330px;
    }
}

/* Oxalis/MyCase-style multi-page refinements */
.wide {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
}

.utility-left,
.utility-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.utility-links a {
    color: var(--paper);
    font-weight: 700;
}

.language-pill {
    min-height: 30px;
    padding: 5px 12px;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    font: inherit;
}

.language-menu {
    position: relative;
}

.language-list {
    position: absolute;
    right: 0;
    top: 100%;
    width: 190px;
    display: none;
    padding: 8px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 45;
}

.language-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.language-list a {
    display: block;
    padding: 8px 14px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 400;
}

.language-menu:hover .language-list,
.language-menu:focus-within .language-list,
.language-menu.is-open .language-list {
    display: block;
}

[dir="rtl"] .language-list {
    left: 0;
    right: auto;
}

[dir="rtl"] .hero-card {
    margin-left: 0;
    margin-right: max(21px, calc((100vw - 1180px) / 2));
}

[dir="rtl"] .band-copy {
    padding-left: 0;
    padding-right: 70px;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 280px;
    display: none;
    transform: translateX(-50%);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 30;
    text-align: left;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav-dropdown.compact {
    width: 220px;
}

.nav-dropdown a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.8px;
}

.nav-dropdown a:last-child {
    border-bottom: 0;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    display: block;
}

.replica-hero {
    min-height: 690px;
    align-items: end;
}

.replica-hero .hero-photo {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 42%, rgba(255, 255, 255, 0.12) 100%),
        url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&w=1900&q=80") center / cover;
}

.hero-card {
    position: relative;
    width: min(650px, calc(100% - 42px));
    margin-left: max(21px, calc((100vw - 1180px) / 2));
    margin-bottom: 74px;
    padding: 34px 0;
    color: var(--ink);
}

.hero-card h1 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.08;
}

.hero-card > p:not(.eyebrow) {
    max-width: 560px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 18px;
}

.portal-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(1020px, calc(100% - 42px));
    margin: -58px auto 0;
    position: relative;
    z-index: 5;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.portal-row a {
    min-height: 118px;
    padding: 28px 30px;
    border-right: 1px solid var(--line);
}

.portal-row a:last-child {
    border-right: 0;
}

.portal-row span,
.role {
    display: block;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.portal-row strong {
    display: block;
    margin-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    align-items: center;
}

.intro-grid.top {
    align-items: start;
}

.practice-shell {
    background: #f8fbfb;
}

.practice-columns {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.practice-tile {
    min-height: 265px;
    padding: 34px 24px 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: center;
}

.tile-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}

.practice-tile h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.practice-tile p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.practice-tile a {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}

.image-copy-band {
    background: var(--navy);
    color: var(--paper);
}

.band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.band-image {
    background: center / cover;
}

.band-image.office {
    background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80");
}

.band-copy {
    align-self: center;
    padding: 68px 0 68px 70px;
}

.band-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.attorneys-section {
    background: var(--paper);
}

.contact-strip {
    padding: 68px 0;
    color: var(--paper);
    background: var(--navy-dark);
}

.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.inner-hero {
    padding: 92px 0;
    color: var(--paper);
    background:
        linear-gradient(90deg, rgba(16, 42, 50, 0.92), rgba(16, 42, 50, 0.68)),
        url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.inner-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.08;
}

.inner-hero p:not(.eyebrow) {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.content-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 58px;
    align-items: start;
}

.main-content {
    font-size: 17px;
}

.main-content h2,
.main-content h3 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.main-content h2 {
    font-size: 42px;
}

.main-content h3 {
    margin-top: 30px;
    font-size: 28px;
}

.main-content p {
    color: var(--muted);
}

.side-card {
    position: sticky;
    top: 118px;
    padding: 26px;
    border: 1px solid var(--line);
    background: #f9f7f3;
}

.side-card h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.side-card > a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 14px;
}

.side-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.btn-outline {
    border-color: var(--teal);
    color: var(--navy);
    background: transparent;
}

.contact-form.full {
    margin-top: 24px;
    border: 1px solid var(--line);
    box-shadow: none;
}

.contact-details {
    margin-top: 28px;
    padding: 24px;
    background: #f9f7f3;
    border: 1px solid var(--line);
}

.review-stack {
    display: grid;
    gap: 20px;
}

.review-stack blockquote {
    margin: 0;
    padding: 30px;
    background: #f9f7f3;
    border-left: 4px solid var(--teal);
    font-size: 25px;
}

.steps,
.check-list {
    display: grid;
    gap: 13px;
    margin: 24px 0;
    padding-left: 22px;
    color: var(--muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: start;
}

.profile-photo {
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(rgba(23, 60, 71, 0.08), rgba(23, 60, 71, 0.08)),
        url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=700&q=80") center / cover;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.sitemap-list a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
}

@media (max-width: 1020px) {
    .nav-item {
        padding: 0;
    }

    .nav-dropdown {
        position: static;
        width: 100%;
        display: none;
        transform: none;
        border: 0;
        box-shadow: none;
        background: #f9f7f3;
    }

    .nav-item.is-open .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        display: grid;
    }

    .intro-grid,
    .band-grid,
    .content-sidebar,
    .profile-layout {
        grid-template-columns: 1fr;
    }

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

    .band-copy {
        padding: 54px 0;
    }

    .side-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .wide {
        width: min(100% - 28px, 1180px);
    }

    .utility-left span {
        display: none;
    }

    .utility-links {
        gap: 12px;
        justify-content: center;
    }

    .replica-hero {
        min-height: 620px;
    }

    .replica-hero .hero-photo {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.95) 70%),
            url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&w=900&q=80") center / cover;
    }

    .hero-card {
        margin: 0 auto 26px;
    }

    .portal-row,
    .practice-columns,
    .sitemap-list {
        grid-template-columns: 1fr;
    }

    .portal-row {
        margin-top: 0;
    }

    .portal-row a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .contact-strip-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-strip .btn {
        width: 100%;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    .utility-bar {
        font-size: 12px;
    }

    .utility-inner.wide {
        min-height: 0;
        padding: 8px 0;
        justify-content: space-between;
        gap: 8px;
    }

    .utility-left {
        gap: 0;
    }

    .utility-left a {
        white-space: nowrap;
    }

    .utility-links {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .utility-links > a {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language-pill {
        max-width: 132px;
        min-height: 32px;
        padding: 5px 9px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language-list {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 48px;
        width: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 80;
    }

    [dir="rtl"] .language-list {
        left: 14px;
        right: 14px;
    }

    .brand-inner.wide {
        min-height: 70px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand > span:last-child {
        min-width: 0;
    }

    .brand strong {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        flex: 0 0 44px;
    }

    .main-nav {
        max-height: calc(100vh - 118px);
        overflow-y: auto;
        padding: 10px 18px 18px;
    }

    .main-nav a {
        min-height: 42px;
        display: flex;
        align-items: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .nav-dropdown a {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .replica-hero {
        min-height: auto;
        padding-top: 330px;
    }

    .hero-card {
        width: min(100% - 28px, 620px);
        margin: 0 auto 28px;
        padding: 20px 0 0;
    }

    .hero-card h1,
    .inner-hero h1 {
        font-size: 36px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .hero-card > p:not(.eyebrow),
    .inner-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .btn,
    .btn {
        width: 100%;
        min-height: 46px;
        padding: 12px 14px;
        text-align: center;
        white-space: normal;
    }

    .portal-row {
        width: 100%;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .portal-row a {
        min-height: 86px;
        padding: 18px 20px;
    }

    .portal-row strong {
        font-size: 20px;
    }

    .section,
    .contact-section,
    .inner-page {
        padding: 56px 0;
    }

    .intro-grid,
    .content-sidebar {
        gap: 28px;
    }

    h2,
    .main-content h2 {
        font-size: 32px;
        overflow-wrap: anywhere;
    }

    .practice-tile {
        min-height: 0;
        padding: 26px 20px;
    }

    .practice-tile h3,
    .attorney-card h3,
    .post-list h3 {
        font-size: 23px;
        overflow-wrap: anywhere;
    }

    .band-grid {
        min-height: 0;
    }

    .band-image {
        min-height: 260px;
    }

    .band-copy,
    [dir="rtl"] .band-copy {
        padding: 42px 0;
    }

    .attorney-grid {
        grid-template-columns: 1fr;
    }

    .portrait {
        max-height: 420px;
    }

    .testimonial {
        padding: 58px 0;
    }

    blockquote {
        font-size: 28px;
    }

    .inner-hero {
        padding: 62px 0;
    }

    .contact-form.full,
    .contact-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .side-card {
        padding: 22px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-grid nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
    }
}

@media (max-width: 380px) {
    .utility-links > a {
        max-width: 72px;
    }

    .language-pill {
        max-width: 96px;
    }

    .brand strong {
        max-width: 170px;
    }

    .hero-card h1,
    .inner-hero h1 {
        font-size: 32px;
    }
}
