:root {
    --navy: #111a25;
    --navy-light: #182532;
    --blue: #08afe9;
    --paper: #f5f5f1;
    --ink: #17202a;
    --muted: #68747c;
    --line: #d8dde0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 35px;
    height: 82px;
    padding: 0 clamp(22px, 5vw, 78px);
    background: #ffffff;
    border-bottom: 1px solid #e4e8ea;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 16px;
    letter-spacing: 0.18em;
}

.brand-text small {
    margin-top: 5px;
    color: #758089;
    font-size: 9px;
    letter-spacing: 0.12em;
}

.brand-mark {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 37px;
    flex: 0 0 auto;
}

.brand-mark i,
.brand-mark b {
    position: absolute;
    top: 2px;
    width: 16px;
    height: 32px;
    transform: skewY(-27deg);
}

.brand-mark i {
    left: 1px;
    background: #e6e9e7;
}

.brand-mark b {
    right: 1px;
    background: var(--blue);
}

.brand-mark-light i {
    background: #ffffff;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 700;
}

.desktop-nav a {
    padding: 30px 0;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    color: #0784b2;
}

.header-call {
    padding: 13px 18px;
    background: var(--navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

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

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 8vw;
    min-height: 660px;
    padding:
        clamp(72px, 9vw, 130px)
        clamp(24px, 7vw, 110px);
    overflow: hidden;
    background: var(--navy);
    color: #ffffff;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    opacity: 0.09;

    background-image:
        linear-gradient(
            #ffffff 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            #ffffff 1px,
            transparent 1px
        );

    background-size: 46px 46px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000000
        );
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow i {
    width: 26px;
    height: 2px;
    background: var(--blue);
}

.eyebrow.dark {
    color: #087fa9;
}

h1,
h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(54px, 6.2vw, 94px);
    line-height: 0.95;
}

.hero em,
.quote em {
    color: var(--blue);
    font-weight: 400;
}

.lede {
    max-width: 610px;
    margin: 28px 0 34px;
    color: #c8d0d6;
    font-size: 17px;
    line-height: 1.75;
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 17px 23px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    transition:
        transform 0.25s,
        background-color 0.25s,
        color 0.25s;
}

.button-primary {
    background: var(--blue);
    color: #07141b;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #ffffff;
    transform: translateY(-2px);
}

.text-link {
    padding: 12px 0;
    border-bottom: 1px solid #61707b;
    font-size: 12px;
    font-weight: 700;
}

.proof {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 55px;
    color: #929da6;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.proof i {
    width: 30px;
    height: 1px;
    background: #45525d;
}

.drawing-sheet {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1.15;
    padding: 28px;
    background: #edf1ef;
    color: #11202b;
    box-shadow: 25px 25px 0 #09aee924;
    transform: rotate(-2deg);
}

.drawing-sheet small {
    font-size: 8px;
    letter-spacing: 0.18em;
}

.rooms {
    position: absolute;
    inset: 65px 42px 52px;
    border: 3px solid #314957;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 29px,
            #3149571f 30px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 29px,
            #3149571f 30px
        );
}

.rooms i {
    position: absolute;
    border: 2px solid #314957;
    background: #edf1ef;
}

.rooms i:nth-child(1) {
    top: 0;
    left: 0;
    width: 47%;
    height: 55%;
}

.rooms i:nth-child(2) {
    top: 0;
    right: 0;
    width: 52%;
    height: 40%;
}

.rooms i:nth-child(3) {
    right: 0;
    bottom: 0;
    width: 36%;
    height: 59%;
}

.rooms i:nth-child(4) {
    bottom: 0;
    left: 0;
    width: 65%;
    height: 44%;
}

.rooms i:nth-child(5) {
    top: 26%;
    left: 34%;
    width: 27%;
    height: 33%;
    border-radius: 50%;
}

.drawing-sheet > b {
    position: absolute;
    right: 28px;
    bottom: 24px;
    font-size: 7px;
    letter-spacing: 0.15em;
}

.dimension {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 0 12%;
    padding-top: 11px;
    border-top: 1px solid #78909e;
    color: #8da0ac;
    font-size: 8px;
    letter-spacing: 0.2em;
}

.dimension b {
    color: var(--blue);
    font-size: 14px;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 6vw, 90px);
    padding: 24px;
    background: var(--blue);
    color: #08202d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-section {
    padding:
        110px
        clamp(24px, 7vw, 110px);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 8vw;
    margin-bottom: 55px;
}

.content-section h2,
.process h2 {
    font-size: clamp(43px, 5vw, 67px);
    line-height: 1.03;
}

.section-heading > p,
.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 35px 28px 32px;
    background: #ffffff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        transform 0.25s,
        background-color 0.25s,
        color 0.25s;
}

.service-card:hover {
    background: var(--navy);
    color: #ffffff;
    transform: translateY(-7px);
}

.service-card > span {
    color: var(--blue);
    font: italic 22px Georgia, serif;
}

.service-card h3 {
    margin: 42px 0 18px;
    font: 25px Georgia, serif;
}

.service-card p {
    margin: 0;
    color: #6c7880;
    font-size: 14px;
    line-height: 1.75;
}

.service-card:hover p {
    color: #b8c2c8;
}

.service-card a {
    margin-top: auto;
    padding-top: 25px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card a b {
    float: right;
    color: var(--blue);
}

.process {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 10vw;
    padding:
        110px
        clamp(24px, 7vw, 110px);
    background: var(--navy-light);
    color: #ffffff;
}

.process-intro > p:not(.eyebrow) {
    color: #aeb9c0;
    line-height: 1.7;
}

.button-outline {
    margin-top: 22px;
    border: 1px solid #6e7b84;
}

.button-outline:hover,
.button-outline:focus-visible {
    border-color: var(--blue);
    background: var(--blue);
    color: #07141b;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 25px;
    padding: 30px 0;
    border-top: 1px solid #43515b;
}

.process-list li:last-child {
    border-bottom: 1px solid #43515b;
}

.process-list li > span {
    color: var(--blue);
    font: italic 18px Georgia, serif;
}

.process-list h3 {
    margin: 0 0 8px;
    font: 27px Georgia, serif;
}

.process-list p {
    margin: 0;
    color: #aeb9c0;
    font-size: 14px;
    line-height: 1.65;
}

.about {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 9vw;
}

.about-art {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 0.85;
    padding: 40px;
    background: var(--blue);
    color: #052331;
}

.about-art strong {
    font: 42px/1.04 Georgia, serif;
}

.about-art > span:last-child {
    align-self: flex-end;
    color: #087da8;
    font: italic 60px/0.75 Georgia, serif;
    text-align: right;
}

.reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 38px;
}

.reasons div {
    padding-top: 14px;
    border-top: 2px solid var(--blue);
}

.reasons b {
    font-size: 14px;
}

.reasons p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.quote {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 9vw;
    padding:
        100px
        clamp(24px, 8vw, 130px);
    background: #0c141d;
    color: #ffffff;
}

.quote h2 {
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
}

.quote > div > p:not(.eyebrow) {
    color: #9eabb4;
    line-height: 1.7;
}

.quote-card {
    padding: 40px;
    background: var(--blue);
    color: #052330;
}

.quote-card small {
    font-weight: 800;
    letter-spacing: 0.16em;
}

.phone-number {
    display: block;
    margin: 15px 0 6px;
    font: clamp(30px, 4vw, 48px) Georgia, serif;
}

.quote-card p {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-card hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #042d4b4d;
}

.quote-card > a:last-child {
    font-size: 13px;
    font-weight: 800;
}

.quote-card > a:last-child b {
    float: right;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 30px;
    padding:
        65px
        clamp(24px, 7vw, 110px)
        35px;
    background: #080e14;
    color: #ffffff;
    border-top: 1px solid #29333b;
}

.site-footer .brand {
    margin: 0;
}

.site-footer .brand-text small {
    color: #84919a;
}

.site-footer > p {
    max-width: 330px;
    color: #89969f;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer nav {
    display: flex;
    gap: 24px;
    font-size: 12px;
    font-weight: 700;
}

.site-footer > small {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid #29333b;
    color: #59666e;
    font-size: 10px;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

/* Tablet navigation and layout */

@media (max-width: 900px) {

    .desktop-nav,
    .header-call {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 0;
        background: #ffffff;
        border: 1px solid #d8dcdf;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 17px;
        height: 2px;
        background: var(--navy);

        transition:
            transform 0.2s,
            opacity 0.2s;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-navigation:not([hidden]) {
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        padding: 15px 24px 25px;
        background: #ffffff;
        box-shadow: 0 12px 22px #00000022;
    }

    .mobile-navigation a {
        padding: 14px 0;
        border-bottom: 1px solid #e6eaec;
        font-weight: 700;
    }

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

    .hero-visual {
        display: none;
    }

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

    .process,
    .about,
    .quote {
        grid-template-columns: 1fr;
    }

    .about-art {
        aspect-ratio: 1.4;
    }

    .quote {
        gap: 50px;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer nav {
        justify-content: flex-end;
    }
}

/* Smartphone layout */

@media (max-width: 600px) {

    body {
        padding-bottom: 67px;
    }

    .site-header {
        height: 70px;
        padding: 0 18px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .brand-mark {
        width: 30px;
        transform: scale(0.82);
        transform-origin: left;
    }

    .mobile-navigation:not([hidden]) {
        top: 70px;
    }

    .hero {
        min-height: auto;
        padding: 75px 22px 70px;
    }

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

    .lede {
        font-size: 15px;
    }

    .actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .button-primary {
        width: 100%;
    }

    .proof {
        margin-top: 42px;
    }

    .trust-bar {
        justify-content: flex-start;
        padding: 18px 22px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .content-section,
    .process,
    .quote {
        padding: 78px 22px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .process-list li {
        grid-template-columns: 40px 1fr;
    }

    .about-art {
        aspect-ratio: 1;
    }

    .reasons {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .quote-card {
        padding: 28px 22px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 55px 22px 30px;
    }

    .site-footer nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mobile-call {
        position: fixed;
        z-index: 30;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 67px;
        background: var(--blue);
        color: #061c27;
        box-shadow: 0 -8px 25px #00000033;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .service-card,
    .button,
    .menu-toggle span {
        transition: none;
    }
}