/* Preserve the reference composition proportionally on large and ultrawide screens. */
@media (min-width: 1600px) {
    .revenue-bar {
        height: 3.66vw;
        min-height: 58px;
        padding: .4vw 3.18vw .32vw 1.27vw;
    }

    .revenue-copy small {
        margin-bottom: .24vw;
        font-size: max(9px, .56vw);
    }

    .revenue-copy strong {
        font-size: 1.35vw;
    }

    .revenue-bars {
        width: 1.11vw;
        height: 1.03vw;
        margin-right: .4vw;
        gap: .16vw;
    }

    .revenue-bars i {
        width: .16vw;
    }

    .revenue-bars i:nth-child(1) { height: .48vw; }
    .revenue-bars i:nth-child(2) { height: .8vw; }
    .revenue-bars i:nth-child(3) { height: 1.03vw; }

    .top-phone {
        gap: .64vw;
        font-size: 1.43vw;
    }

    .phone-icon {
        width: 1.83vw;
        height: 1.83vw;
        border-radius: .48vw;
    }

    .phone-icon svg {
        width: 1.27vw;
        height: 1.27vw;
    }

    .site-header {
        top: 3.66vw;
    }

    .hero-container {
        max-width: none;
        padding-inline: 5.8vw;
    }

    .site-header .hero-container {
        height: 8.27vw;
    }

    .brand {
        left: 5.8vw;
        top: 2.46vw;
        width: 8.59vw;
    }

    .main-nav {
        min-width: 32.22vw;
        height: 3.5vw;
        padding-inline: 1.75vw;
        gap: 2.47vw;
        border-radius: 10vw;
    }

    .main-nav a {
        font-size: 1.19vw;
    }

    .hero {
        height: 44.71vw;
        min-height: 0;
        background-position: center 54%;
    }

    .hero-copy {
        padding-top: 13.6vw;
    }

    .hero h1 {
        font-size: 5.17vw;
        letter-spacing: -.2vw;
    }

    .call-button {
        height: 3.34vw;
        margin-top: 7vw;
        padding: .24vw 1.19vw .24vw .32vw;
        gap: .56vw;
        font-size: 1.03vw;
    }

    .call-button span {
        width: 2.7vw;
        height: 2.7vw;
        font-size: 1.43vw;
    }

    .orbit-mark {
        top: 13.84vw;
        right: -1.59vw;
        width: auto;
        height: 39.78vw;
    }

    .services-section {
        padding-top: 100px;
        padding-inline: 6.15vw;
        padding-bottom: 100px;
    }

    .services-heading {
        max-width: 62.5vw;
    }

    .section-label {
        min-width: 5.47vw;
        height: 1.46vw;
        padding-inline: .68vw;
        font-size: .73vw;
    }

    .services-heading h2 {
        margin: .78vw 0 1.3vw;
        font-size: 2.45vw;
        letter-spacing: -.09vw;
    }

    .services-heading > p {
        font-size: 1.27vw;
    }

    .services-grid {
        margin-top: 5.26vw;
        gap: 2.08vw;
    }

    .service-card {
        min-height: 19.11vw;
        border-radius: .83vw;
    }

    .service-card-content {
        padding: .89vw 1.46vw 1.46vw;
    }

    .service-icon {
        width: 4.17vw;
        height: 3.91vw;
        border-radius: .36vw;
    }

    .service-icon svg {
        width: 1.56vw;
        height: 1.56vw;
    }

    .service-card h3 {
        margin: 2.19vw 0 2.03vw;
        font-size: 1.25vw;
    }

    .service-card p {
        font-size: .83vw;
    }

    .about-stats {
        min-height: 31.19vw;
        padding: 4.77vw 1.91vw 4.93vw;
    }

    .about-stats-inner {
        max-width: 57.28vw;
    }

    .about-label {
        height: 1.51vw;
        padding-inline: .72vw;
        font-size: .8vw;
    }

    .about-stats h2 {
        margin: .64vw 0 1.43vw;
        font-size: 2.47vw;
        letter-spacing: -.08vw;
    }

    .about-summary {
        font-size: 1.59vw;
    }

    .stats-grid {
        margin-top: 2.23vw;
        gap: .95vw;
    }

    .stat-card {
        height: 4.85vw;
        padding: .4vw;
        border-radius: .72vw;
    }

    .stat-icon {
        width: 4.22vw;
        height: 3.98vw;
        flex-basis: 4.22vw;
        border-radius: .4vw;
    }

    .stat-icon svg {
        width: 1.75vw;
        height: 1.75vw;
    }

    .stat-copy {
        padding-left: .8vw;
    }

    .stat-copy small {
        font-size: .8vw;
    }

    .stat-copy strong {
        font-size: 1.19vw;
    }

    .case-studies {
        padding: 100px 0 2.81vw 100px;
    }

    .case-studies::before {
        background-position: left 3.96vw;
        background-size: 51.04vw auto;
    }

    .case-label {
        height: 1.46vw;
        padding-inline: .68vw;
        font-size: .73vw;
    }

    .case-section-heading h2 {
        margin-top: .78vw;
        font-size: 2.45vw;
        letter-spacing: -.08vw;
    }

    .case-slider {
        margin-top: 4.17vw;
    }

    .case-track {
        gap: 1.15vw;
    }

    .case-card {
        flex-basis: calc((93.65vw - 3.45vw) / 3.5);
        padding: 1.35vw 1.25vw 1.67vw;
        border-radius: .83vw;
    }

    .case-image {
        height: 11.93vw;
        border-radius: .83vw;
    }

    .case-card-body {
        padding: 2.03vw .31vw 0;
    }

    .case-card h3 {
        font-size: 1.25vw;
    }

    .case-intro,
    .outcome-list li {
        font-size: .83vw;
    }

    .case-intro {
        margin: .83vw 0 1.3vw;
    }

    .case-card h4 {
        margin-bottom: .73vw;
        font-size: 1.04vw;
    }

    .outcome-list {
        margin-bottom: 1.67vw;
        gap: .78vw;
    }

    .outcome-list li {
        padding-left: 1.61vw;
    }

    .outcome-list li::before {
        width: .89vw;
        height: .89vw;
        font-size: .47vw;
    }

    .case-actions {
        gap: .36vw;
    }

    .case-btn {
        min-height: 2.08vw;
        padding: .42vw .83vw;
        font-size: .73vw;
    }

    .case-slider-control {
        margin-top: 2.5vw;
        padding-right: 6.35vw;
        gap: 1.82vw;
    }

    .case-progress {
        height: .42vw;
    }

    .case-next {
        width: 4.38vw;
        height: 4.38vw;
    }

    .case-next svg {
        width: 1.61vw;
        height: 1.61vw;
    }

    .fortune-cta {
        padding: 3.8vw 6.2vw 3.07vw;
    }

    .fortune-panel {
        min-height: 16.5vw;
        border-radius: .73vw;
    }

    .fortune-content {
        padding: 1.82vw 1.04vw;
    }

    .fortune-content h2 {
        margin-bottom: 1.72vw;
        font-size: 2.4vw;
        letter-spacing: -.08vw;
    }

    .fortune-button {
        min-width: 0;
        height: 42px;
        padding: 4px 15px 4px 4px;
        gap: 7px;
        font-size: 14px;
    }

    .fortune-button span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 18px;
    }

    .client-logos {
        min-height: 49.96vw;
        padding: 5.81vw 6.25vw 5.41vw;
        border-radius: .64vw .64vw 0 0;
    }

    .client-logos-heading {
        max-width: 75.58vw;
    }

    .client-logos-heading h2 {
        margin-bottom: 1.67vw;
        font-size: 2.47vw;
        letter-spacing: -.08vw;
    }

    .client-logos-heading p {
        font-size: 1.27vw;
    }

    .client-logo-grid {
        max-width: 1100px;
        height: 360px;
        margin-top: 42px;
    }

    .scroll-features {
        min-height: 94vw;
    }

    .features-pin {
        min-height: 94vw;
        max-height: none;
        padding: 5.81vw 6.3vw 3.82vw;
        grid-template-columns: minmax(0, .95fr) minmax(39.78vw, 1.1fr);
        gap: 9.9vw;
    }

    .features-label {
        height: 1.51vw;
        padding-inline: .72vw;
        font-size: .72vw;
    }

    .features-copy {
        top: 5.81vw;
    }

    .features-copy h2 {
        margin: .95vw 0 1.67vw;
        font-size: 2.86vw;
        letter-spacing: -.11vw;
    }

    .features-copy > p {
        max-width: 35.4vw;
        font-size: 1.27vw;
    }

    .features-button {
        height: 3.26vw;
        margin-top: 3.34vw;
        padding: .24vw 1.19vw .24vw .32vw;
        gap: .56vw;
        font-size: 1.11vw;
    }

    .features-button span {
        width: 2.7vw;
        height: 2.7vw;
        font-size: 1.43vw;
    }

    .features-list {
        top: 5.81vw;
        gap: .8vw;
    }

    .feature-card {
        min-height: 10.1vw;
        padding: 1.35vw 1.43vw;
        grid-template-columns: 4.22vw 1fr;
        gap: 3.66vw;
        border-radius: .95vw;
    }

    .feature-card.is-active {
        transform: translateX(-1.43vw);
    }

    .feature-icon {
        width: 4.22vw;
        height: 3.98vw;
        border-radius: .4vw;
    }

    .feature-icon svg {
        width: 1.83vw;
        height: 1.83vw;
    }

    .feature-card-copy h3 {
        margin-bottom: .88vw;
        font-size: 1.27vw;
    }

    .feature-card-copy p {
        max-width: 28.64vw;
        font-size: .88vw;
    }

    .team-section {
        min-height: 58.07vw;
        padding: 4.85vw 9vw 5.73vw;
    }

    .team-label {
        height: 1.51vw;
        min-width: 4.53vw;
        padding-inline: .72vw;
        font-size: .8vw;
    }

    .team-heading h2 {
        margin: .72vw 0 1.59vw;
        font-size: 2.47vw;
        letter-spacing: -.08vw;
    }

    .team-heading p {
        font-size: 1.59vw;
    }

    .team-grid {
        max-width: 82.34vw;
        margin-top: 1.91vw;
        gap: 1.19vw;
    }

    .team-photo {
        height: 26.09vw;
        border-radius: .95vw .95vw 0 0;
    }

    .team-meta-row {
        margin-top: 1.03vw;
        gap: 1.19vw;
        font-size: 1.03vw;
    }

    .team-socials {
        gap: .56vw;
    }

    .team-socials a {
        width: 1.27vw;
        height: 1.27vw;
    }

    .team-card h3 {
        margin: .56vw 0 .64vw;
        font-size: 1.27vw;
    }

    .team-card > p {
        font-size: .88vw;
    }

    .secondary-cta {
        padding: 5.73vw 6.15vw 5.41vw;
    }

    .secondary-cta-panel {
        min-height: 19.48vw;
        padding: 3.08vw 7.6vw 3.08vw 4.85vw;
        grid-template-columns: 5.09vw minmax(27.6vw, 1fr) auto;
        gap: 4.25vw;
        border-radius: .74vw;
    }

    .secondary-cta-icon {
        width: 5.09vw;
        height: 5.09vw;
        border-radius: .53vw;
    }

    .secondary-cta-icon svg {
        width: 2.07vw;
        height: 2.07vw;
    }

    .secondary-cta-copy h2 {
        margin-bottom: 1.43vw;
        font-size: 2.4vw;
        letter-spacing: -.08vw;
    }

    .secondary-cta-copy p {
        font-size: 1.11vw;
    }

    .secondary-cta-button {
        min-width: 0;
        height: 42px;
        padding: 4px 15px 4px 4px;
        gap: 7px;
        font-size: 14px;
    }

    .secondary-cta-button span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 18px;
    }

    .contact-section {
        min-height: 56.72vw;
        padding: 3.74vw 6.25vw 6.29vw;
        grid-template-columns: minmax(25.46vw, 29.2vw) minmax(0, 52.51vw);
        gap: 6.05vw;
    }

    .contact-details {
        min-height: 46.7vw;
        padding: 4.85vw 4.77vw;
        border-radius: .64vw;
    }

    .contact-details h2 {
        margin-bottom: 1.75vw;
        font-size: 2.15vw;
    }

    .contact-details address,
    .contact-links span {
        font-size: 1.27vw;
    }

    .contact-links a {
        font-size: 2.07vw;
    }

    .contact-links a + span {
        margin-top: 2.78vw;
    }

    .contact-form-wrap h2 {
        margin-bottom: 2.78vw;
        font-size: 4.38vw;
        letter-spacing: -.16vw;
    }

    .contact-field {
        margin-bottom: 3.66vw;
        gap: 1.35vw;
    }

    .contact-field span {
        font-size: 1.27vw;
    }

    .contact-field input {
        padding-bottom: 1.11vw;
        font-size: 1.67vw;
    }

    .contact-submit {
        height: 3.26vw;
        padding: .24vw 1.19vw .24vw .32vw;
        gap: .56vw;
        font-size: 1.11vw;
    }

    .contact-submit span {
        width: 2.7vw;
        height: 2.7vw;
        font-size: 1.43vw;
    }

    .site-footer {
        padding: 4.62vw 4.8vw 5.17vw;
    }

    .footer-top {
        padding-bottom: 5.25vw;
        gap: 3.58vw;
    }

    .footer-logo {
        width: 15.12vw;
    }

    .footer-column {
        gap: .88vw;
    }

    .footer-column h3 {
        margin-bottom: .56vw;
        font-size: 1.35vw;
    }

    .footer-column a,
    .footer-about,
    .footer-contact-list a,
    .footer-contact-list span {
        font-size: 1.19vw;
    }

    .footer-bottom {
        padding-top: 5.33vw;
        gap: 5.57vw;
    }

    .footer-about {
        max-width: 34.21vw;
    }

    .footer-contact-list {
        gap: 1.19vw;
    }

    .footer-contact-list a,
    .footer-contact-list span {
        gap: 1.27vw;
    }

    .footer-contact-list svg {
        width: 1.51vw;
        height: 1.51vw;
        flex-basis: 1.51vw;
    }

    .footer-socials {
        gap: 1.67vw;
    }

    .footer-socials a {
        width: 1.43vw;
        height: 1.43vw;
        font-size: 1.19vw;
    }
}

@media (max-width: 991.98px) {
    .about-numbers-section {
        padding: 85px 10px 100px;
    }

    .about-numbers {
        max-width: calc(100% - 36px);
        column-gap: 35px;
    }

    .about-numbers-grid.stats-grid {
        margin-top: 65px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .about-intro {
        max-width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-intro-image {
        height: clamp(360px, 34vw, 620px);
    }

    .hero-container {
        padding-inline: 28px;
    }

    .brand {
        left: 28px;
    }

    .main-nav {
        min-width: 355px;
        gap: 23px;
    }

    .hero {
        background-position: 58% center;
    }

    .orbit-mark {
        right: -60px;
    }

    .services-section {
        padding-inline: 28px;
    }

    .services-grid {
        margin-top: 70px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .case-card {
        flex-basis: calc((93.65vw - 44px) / 2.5);
    }

    .client-logos {
        padding-inline: 28px;
    }

    .client-logo-grid {
        height: 420px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .client-logo-cell,
    .client-logo-cell:nth-child(5n) {
        border-right: 1px solid rgba(0, 0, 0, .24);
        border-bottom: 1px solid rgba(0, 0, 0, .24);
    }

    .client-logo-cell:nth-child(3n) {
        border-right: 0;
    }

    .client-logo-cell:nth-child(n + 4) {
        border-bottom: 0;
    }

    .scroll-features {
        height: auto;
        min-height: 0;
    }

    .features-pin {
        position: relative;
        min-height: 0;
        height: auto;
        max-height: none;
        padding: 75px 28px;
        grid-template-columns: 1fr;
        gap: 60px;
        overflow: visible;
    }

    .features-list {
        position: relative;
        top: auto;
    }

    .features-copy {
        position: relative;
        top: auto;
    }

    .features-copy h2 {
        font-size: 44px;
    }

    .features-copy > p {
        max-width: 620px;
    }

    .feature-card.is-active {
        transform: none;
    }

    .team-section {
        padding-inline: 28px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .team-photo {
        height: 420px;
    }

    .secondary-cta {
        padding: 75px 28px;
    }

    .secondary-cta-panel {
        padding: 60px;
        grid-template-columns: 80px 1fr;
        gap: 35px;
    }

    .secondary-cta-icon {
        width: 80px;
        height: 80px;
    }

    .secondary-cta-button {
        grid-column: 2;
        justify-self: start;
    }

    .contact-section {
        padding: 70px 28px;
        grid-template-columns: minmax(280px, .8fr) 1.2fr;
        gap: 45px;
    }

    .contact-details {
        padding: 45px 35px;
    }

    .contact-form-wrap h2 {
        font-size: 48px;
    }

    .contact-links a {
        font-size: 22px;
    }

    .site-footer {
        padding-inline: 28px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 60px;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }

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

    .footer-socials {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .legal-process {
        padding: 55px 20px 65px;
    }

    .legal-process-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .legal-process-content > h2 {
        margin: 20px 0 28px;
        font-size: clamp(38px, 11vw, 52px);
        letter-spacing: -1.5px;
    }

    .legal-process-intro {
        margin-bottom: 44px;
        font-size: 17px;
    }

    .legal-process-steps li {
        min-height: 145px;
        padding: 0 0 30px 82px;
    }

    .legal-process-number {
        width: 50px;
        height: 50px;
    }

    .legal-process-steps li:not(:last-child)::before {
        top: 58px;
        left: 24px;
    }

    .legal-process-steps h3 {
        margin-top: 2px;
        font-size: 24px;
    }

    .legal-process-steps p {
        font-size: 15px;
    }

    .legal-process-image {
        order: -1;
        border-radius: 14px;
    }

    .service-detail-section {
        padding: 20px 10px;
    }

    .service-detail {
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .service-detail-reverse .service-detail-copy,
    .service-detail-reverse .service-detail-image {
        grid-column: auto;
        grid-row: auto;
    }

    .service-detail-image {
        height: min(110vw, 500px);
    }

    .service-content-section {
        padding: 20px 10px;
    }

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

    .about-numbers-section {
        padding: 65px 10px 85px;
    }

    .about-numbers {
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .about-numbers-heading h2 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.16;
    }

    .about-numbers-heading h2 br {
        display: none;
    }

    .about-numbers-description {
        padding-top: 25px;
    }

    .about-numbers-description p {
        font-size: 17px;
        line-height: 1.4;
    }

    .about-numbers-grid.stats-grid {
        margin-top: 45px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-numbers-grid .stat-card {
        min-height: 61px;
        height: 61px;
    }

    .about-numbers-grid .stat-icon {
        width: 53px;
        height: 50px;
        flex-basis: 53px;
    }

    .about-numbers-grid .stat-copy small {
        font-size: 12px;
    }

    .about-numbers-grid .stat-copy strong {
        font-size: 18px;
    }

    .about-intro-section {
        padding: 20px 10px;
    }

    .about-intro {
        max-width: 100%;
        gap: 35px;
    }

    .about-intro-copy h2 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.16;
    }

    .about-intro-copy h2 br {
        display: none;
    }

    .about-intro-copy > p {
        font-size: 17px;
        line-height: 1.4;
    }

    .about-intro-copy > p + p {
        margin-top: 24px;
    }

    .about-intro-actions {
        margin-top: 35px;
        gap: 20px;
    }

    .about-contact-phone {
        font-size: 18px;
    }

    .about-intro-image {
        height: min(110vw, 500px);
        border-radius: 14px;
    }

    .about-hero {
        height: 360px;
        background-position: 53% top;
    }

    .about-hero h1 {
        margin-top: 68px;
        font-size: 48px;
    }

    .revenue-bar {
        padding-right: 16px;
    }

    .revenue-copy small {
        display: none;
    }

    .revenue-copy strong,
    .top-phone {
        font-size: 13px;
    }

    .site-header .hero-container {
        height: 82px;
        justify-content: flex-end;
    }

    .brand {
        top: 21px;
        width: 92px;
        z-index: 3;
    }

    .menu-toggle {
        position: relative;
        z-index: 3;
        width: 42px;
        height: 42px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 50%;
        background: rgba(20, 13, 10, .45);
    }

    .menu-toggle span {
        width: 100%;
        height: 1px;
        display: block;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 2;
        min-width: 0;
        width: 100vw;
        height: 100dvh;
        padding: 135px 35px 55px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 25px;
        border: 0;
        border-radius: 0;
        background: rgba(12, 8, 6, .98);
        backdrop-filter: blur(14px);
        opacity: 1;
        visibility: hidden;
        transform: translateX(-100%);
        transition: visibility .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    }

    .main-nav.open {
        visibility: visible;
        transform: translateX(0);
    }

    .main-nav a {
        width: 100%;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        font-family: "Rounded Elegance", "Urbanist", sans-serif;
        font-size: 24px;
        line-height: 1;
    }

    .hero {
        height: 399px;
        background-position: 63% center;
    }

    .hero-copy {
        padding-top: 175px;
    }

    .hero h1 {
        font-size: clamp(43px, 12vw, 62px);
        letter-spacing: -2.5px;
        transform: none;
    }

    .call-button {
        margin-top: 75px;
    }

    .orbit-mark {
        top: 220px;
        right: -105px;
        height: 430px;
        opacity: .82;
    }

    .services-section {
        padding: 62px 20px 32px;
    }

    .services-heading h2 {
        margin: 16px 0 22px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.12;
        letter-spacing: -1.4px;
    }

    .services-heading > p {
        font-size: 17px;
        line-height: 1.35;
    }

    .services-grid {
        margin-top: 52px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .service-card-content {
        padding: 20px 24px 25px;
    }

    .service-card h3 {
        margin: 38px 0 28px;
    }

    .about-stats {
        padding: 60px 20px;
    }

    .about-stats h2 {
        font-size: 38px;
    }

    .about-summary {
        font-size: 17px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        width: min(100%, 330px);
        margin-inline: auto;
    }

    .case-studies {
        padding: 55px 0 25px 20px;
    }

    .case-section-heading h2 {
        font-size: 39px;
    }

    .case-slider {
        margin-top: 48px;
    }

    .case-track {
        gap: 16px;
    }

    .case-card {
        flex-basis: calc((100vw - 36px) / 1.15);
        padding: 18px 16px 22px;
    }

    .case-image {
        height: 210px;
    }

    .case-card-body {
        padding: 28px 2px 0;
    }

    .case-card h3 {
        font-size: 22px;
    }

    .case-actions {
        grid-template-columns: 1fr;
    }

    .case-slider-control {
        margin-top: 34px;
        padding-right: 20px;
        gap: 16px;
    }

    .case-progress {
        height: 6px;
    }

    .fortune-cta {
        padding: 45px 20px;
    }

    .fortune-panel {
        min-height: 330px;
        border-radius: 12px;
        background-image: url("../images/Frame 1171276773.png");
        background-position: center;
        background-size: cover;
    }

    .fortune-content h2 {
        margin-bottom: 35px;
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .fortune-button {
        min-width: 205px;
        height: 56px;
        font-size: 18px;
    }

    .fortune-button span {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .client-logos {
        min-height: auto;
        padding: 60px 20px 50px;
    }

    .client-logos-heading h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .client-logos-heading p {
        font-size: 16px;
        line-height: 1.35;
    }

    .client-logo-grid {
        height: 480px;
        margin-top: 40px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }

    .client-logo-cell,
    .client-logo-cell:nth-child(3n),
    .client-logo-cell:nth-child(5n) {
        border-right: 1px solid rgba(0, 0, 0, .24);
        border-bottom: 1px solid rgba(0, 0, 0, .24);
    }

    .client-logo-cell:nth-child(2n) {
        border-right: 0;
    }

    .client-logo-cell:nth-child(n + 5) {
        border-bottom: 0;
    }

    .features-pin {
        padding: 62px 20px;
        gap: 45px;
    }

    .features-copy h2 {
        font-size: 36px;
    }

    .features-button {
        margin-top: 32px;
    }

    .feature-card {
        min-height: 150px;
        padding: 18px;
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-card-copy h3 {
        font-size: 17px;
    }

    .feature-card-copy p {
        font-size: 12px;
    }

    .team-section {
        padding: 60px 20px;
    }

    .team-heading h2 {
        font-size: 38px;
    }

    .team-heading p {
        font-size: 17px;
    }

    .team-grid {
        margin-top: 38px;
        grid-template-columns: 1fr;
    }

    .team-photo {
        height: min(120vw, 520px);
    }

    .team-meta-row {
        font-size: 14px;
    }

    .team-card h3 {
        font-size: 18px;
    }

    .team-card > p {
        font-size: 13px;
    }

    .secondary-cta {
        padding: 55px 20px;
    }

    .secondary-cta-panel {
        padding: 48px 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        background-position: 72% center;
    }

    .secondary-cta-panel::before {
        inset: 0;
        background: rgba(13, 13, 13, .68);
    }

    .secondary-cta-copy h2 {
        margin-bottom: 22px;
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .secondary-cta-copy p {
        font-size: 17px;
    }

    .secondary-cta-button {
        min-width: 205px;
        height: 56px;
        font-size: 18px;
    }

    .secondary-cta-button span {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .contact-section {
        min-height: auto;
        padding: 55px 20px;
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-details {
        min-height: 430px;
        padding: 40px 30px;
    }

    .contact-form-wrap h2 {
        font-size: 43px;
        letter-spacing: -1.5px;
    }

    .contact-field {
        margin-bottom: 40px;
    }

    .contact-field input {
        font-size: 18px;
    }

    .site-footer {
        padding: 52px 20px;
    }

    .footer-top {
        padding-bottom: 48px;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-logo {
        width: 175px;
        grid-column: auto;
    }

    .footer-bottom {
        padding-top: 48px;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-socials {
        grid-column: auto;
    }

    /* Keep the home page's pill CTAs consistent on phone screens. */
    .call-button,
    .fortune-button,
    .features-button,
    .secondary-cta-button,
    .contact-submit {
        width: max-content;
        min-width: 0;
        height: 48px;
        padding: 4px 18px 4px 4px;
        gap: 8px;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

    .call-button span,
    .fortune-button span,
    .features-button span,
    .secondary-cta-button span,
    .contact-submit span {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 20px;
    }

    .fortune-button,
    .secondary-cta-button {
        height: 40px;
        padding: 4px 14px 4px 4px;
        gap: 7px;
        font-size: 13px;
    }

    .fortune-button span,
    .secondary-cta-button span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 17px;
    }

    .case-btn {
        min-height: 48px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 419.98px) {
    .hero-container {
        padding-inline: 20px;
    }

    .brand {
        left: 20px;
    }

    .main-nav {
        padding-right: 20px;
        padding-left: 20px;
    }

    .revenue-bars {
        display: none;
    }

    .phone-icon {
        width: 21px;
        height: 21px;
    }

    .hero h1 {
        font-size: 42px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .legal-process-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .legal-process-image {
        width: min(100%, 684px);
        margin-inline: auto;
    }
}

/* Keep long-form section copy consistent across pages. */
main .services-heading > p,
main .service-detail-copy p,
main .service-content > p,
main .service-points li,
main .about-numbers-description p,
main .client-logos-heading p,
main .features-copy > p,
main .team-heading p,
main .secondary-cta-copy p,
main .contact-form-intro {
    font-size: 20px;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    main .services-heading > p,
    main .service-detail-copy p,
    main .service-content > p,
    main .service-points li,
    main .about-numbers-description p,
    main .client-logos-heading p,
    main .features-copy > p,
    main .team-heading p,
    main .secondary-cta-copy p,
    main .contact-form-intro {
        font-size: 17px;
    }
}

/* Shared section spacing; hero and CTA/banner sections retain their own layout. */
.services-section,
.blog-feature,
.case-studies,
.client-logos,
.scroll-features,
.team-section,
.contact-section,
.about-intro-section,
.about-numbers-section {
    padding: 50px 0;
}

.services-grid {
    width: 88%;
    margin-inline: auto;
}

.case-section-heading,
.case-slider,
.case-slider-control {
    margin-left: 6.15vw;
}

.features-pin {
    padding-block: 0;
}

.contact-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.contact-details {
    margin-left: 6.25vw;
}

.contact-form-wrap {
    margin-right: 6.25vw;
}

@media (max-width: 767.98px) {
    .nav-services {
        width: 100%;
    }

    .main-nav .nav-services-link,
    .services-mega {
        display: none;
    }

    .main-nav .nav-services-trigger {
        width: 100%;
        padding: 0 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        color: #fff;
        background: transparent;
        font-family: "Rounded Elegance", "Urbanist", sans-serif;
        font-size: 25px;
        line-height: 1;
        text-align: left;
        text-decoration: none;
    }

    .nav-services-trigger span {
        color: #d8aa7d;
        font-size: inherit;
    }

    .nav-services-trigger span svg {
        width: 28px;
        height: 28px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .services-submenu {
        position: absolute;
        inset: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        padding: 135px 35px 55px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        overflow-y: auto;
        color: #fff;
        background:
            radial-gradient(ellipse at 100% 10%, rgba(141, 100, 67, .23), transparent 55%),
            radial-gradient(ellipse at 0 95%, rgba(89, 115, 112, .22), transparent 60%),
            rgba(12, 8, 6, .98);
        backdrop-filter: blur(14px);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);
        transition: visibility .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    }

    .services-submenu.open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .services-submenu-back {
        margin-bottom: 20px;
        padding: 0;
        border: 0;
        color: #d8aa7d;
        background: none;
        font-size: 18px;
    }

    .services-submenu-back span {
        margin-right: 8px;
        font-size: 30px;
        line-height: 0;
        vertical-align: -2px;
    }

    .services-submenu-eyebrow {
        color: #d8aa7d;
        font-size: 13px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .services-submenu h2 {
        margin: 0 0 10px;
        font-size: 42px;
        font-weight: 500;
    }

    .main-nav .services-submenu a,
    .services-submenu-placeholder {
        width: 100%;
        padding: 12px 0 17px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        color: #fff;
        font-size: 25px;
        line-height: 1.1;
    }

    .main-nav .services-submenu a span {
        color: #d8aa7d;
        font-size: 22px;
    }

    .services-submenu-placeholder {
        color: rgba(255, 255, 255, .72);
    }

    .services-submenu-placeholder small {
        color: #d8aa7d;
        font-size: 12px;
        white-space: nowrap;
    }

    .mobile-service-groups {
        width: 100%;
    }

    .mobile-service-group {
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .mobile-service-group-toggle {
        width: 100%;
        padding: 15px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        border: 0;
        color: #fff;
        background: transparent;
        font-family: "Playfair Display", serif;
        font-size: 24px;
        line-height: 1.15;
        text-align: left;
    }

    .mobile-service-group-toggle span {
        position: static;
        padding-bottom: 0;
    }

    .mobile-service-group-toggle b {
        color: #d4a474;
        font-family: "Urbanist", sans-serif;
        font-size: 26px;
        font-weight: 400;
        transition: transform .3s ease;
    }

    .mobile-service-group.is-open .mobile-service-group-toggle b {
        transform: rotate(45deg);
    }

    .mobile-service-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .5s ease, opacity .35s ease;
    }

    .mobile-service-group.is-open .mobile-service-links {
        max-height: 900px;
        padding-bottom: 13px;
        opacity: 1;
    }

    .main-nav .services-submenu .mobile-service-links a {
        padding: 10px 0 10px 15px;
        border-bottom: 0;
        color: rgba(255, 255, 255, .86);
        font-family: "Urbanist", sans-serif;
        font-size: 16px;
        line-height: 1.25;
    }

    .main-nav .services-submenu .mobile-service-overview {
        color: #d4a474;
        font-weight: 600;
    }

    .main-nav .services-submenu .mobile-service-category {
        min-width: 0;
        padding: 24px 16px 24px 0;
        border-bottom: 0;
        font-size: 24px;
        font-weight: 500;
    }

    .mobile-service-category-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 52px;
        align-items: stretch;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .main-nav .services-submenu .mobile-service-category span {
        color: #fff;
        font-size: inherit;
    }

    .mobile-service-detail-trigger {
        display: grid;
        place-items: center;
        border: 0;
        color: #d4a474;
        background: transparent;
    }

    .mobile-service-detail-trigger svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-service-detail {
        position: absolute;
        inset: 0;
        z-index: 3;
        padding: 135px 28px 40px;
        overflow-y: auto;
        background:
            radial-gradient(ellipse at 100% 10%, rgba(141, 100, 67, .23), transparent 55%),
            radial-gradient(ellipse at 0 95%, rgba(89, 115, 112, .22), transparent 60%),
            rgba(12, 8, 6, .98);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: visibility .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
    }

    .mobile-service-detail.open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .mobile-service-detail-back {
        margin: 0 0 18px;
        padding: 0;
        border: 0;
        color: #d4a474;
        background: transparent;
        font-size: 18px;
    }

    .mobile-service-detail-back span {
        margin-right: 8px;
        font-size: 30px;
        vertical-align: -2px;
    }

    .mobile-service-detail h3 {
        margin: 12px 0 24px;
        color: #fff;
        font-family: "Urbanist", sans-serif;
        font-size: 32px;
        font-weight: 600;
    }

    .main-nav .services-submenu .mobile-service-detail a {
        padding: 15px 0;
        font-size: 18px;
    }

    .main-nav .services-submenu .mobile-service-detail .mobile-service-overview {
        color: #d4a474;
        font-weight: 600;
    }

    .services-section,
    .blog-feature,
    .case-studies,
    .client-logos,
    .scroll-features,
    .team-section,
    .contact-section,
    .about-intro-section,
    .about-numbers-section {
        padding: 20px 10px;
    }

    .services-grid {
        width: 100%;
    }

    .blog-feature-inner {
        max-width: 100%;
    }

    .blog-feature-image {
        height: 340px;
        margin-top: 30px;
        border-radius: 12px;
    }

    .case-section-heading,
    .case-slider,
    .case-slider-control {
        margin-left: 0;
    }

    .features-pin {
        padding: 0;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-details,
    .contact-form-wrap {
        margin-inline: 0;
    }
}

@media (max-width: 419.98px) {
    .services-submenu {
        padding-right: 20px;
        padding-left: 20px;
    }
}

.contact-form-wrap h2 {
    margin-bottom: 12px;
    font-size: clamp(36px, 2.7vw, 50px);
    line-height: 1.18;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.contact-form-intro {
    margin: 0 0 30px;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.45;
}

.page-shell .nav-services-trigger {
    font-family: "Urbanist", sans-serif;
}

@media (max-width: 767.98px) {
    .hero h1 {
        width: auto;
        max-width: 100%;
        font-size: clamp(30px, 7.7vw, 42px);
        line-height: 1.02;
        letter-spacing: -.05em;
        overflow-wrap: anywhere;
    }

    .services-heading h2 {
        font-size: clamp(29px, 8vw, 38px);
        overflow-wrap: anywhere;
    }
}
