:root {
    --night: #081621;
    --navy: #102735;
    --ink: #10212b;
    --muted: #4c626d;
    --line: #d6e1e4;
    --pale: #edf3f3;
    --accent: #c8f77b;
    --white: #fff;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
p, dd { text-wrap: pretty; }
:focus-visible { outline: 3px solid #327036; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * clamp(1.25rem, 5.5vw, 5.5rem), 78rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.catalog, .request, .request-grid { scroll-margin-top: -16px; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 5; padding: .75rem; background: var(--accent); transform: translateY(-110%); }
.skip-link:focus { transform: translateY(0); }

@supports (grid-template-rows: subgrid) {
    .home-page {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: [header] auto [hero] 1fr [facts] auto [content] auto [footer] auto;
    }
    /* The spanning item sets the viewport minimum for the first three rows. */
    .home-page::before {
        content: "";
        grid-area: header / 1 / content;
        width: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .home-page > .header { grid-area: header / 1; }
    .home-page > main { grid-area: hero / 1 / footer; display: grid; grid-template-rows: subgrid; }
    .home-page > .footer { grid-area: footer / 1; }
}

.header, .hero, .request, .footer { color: var(--white); background: var(--night); }
.header :focus-visible, .hero :focus-visible, .request-copy :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
.header { border-bottom: 1px solid #ffffff25; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; white-space: nowrap; font-size: 1.3rem; font-weight: 740; letter-spacing: -.055em; }
.brand-cloud { color: #cbdae2; font-weight: 510; }
.brand-symbol { display: grid; flex: none; width: 24px; height: 24px; }
.brand-symbol::before, .brand-symbol::after { content: ""; grid-area: 1 / 1; background: var(--accent); }
.brand-symbol::before { clip-path: polygon(2% 10%, 26% 10%, 46% 48%, 35% 69%); }
.brand-symbol::after { clip-path: polygon(73% 10%, 98% 10%, 55% 90%, 46% 90%, 38% 76%); }
.header nav { display: flex; align-items: center; gap: clamp(1rem, 3.6vw, 3rem); }
.header nav a, .header-cta { text-decoration: none; font-size: .94rem; font-weight: 600; white-space: nowrap; }
.header nav a { color: #cedce3; padding-block: .6rem; }
.header nav a:hover, .header-cta:hover { color: var(--accent); }
.header-cta { border: 1px solid #667b87; padding: .57rem .94rem; border-radius: 5px; }

.hero { position: relative; isolation: isolate; display: grid; }
.hero-image, .hero-image img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: 50% 47%; }
.hero::after {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, #081621f5 0%, #081621c4 28%, #08162151 56%, transparent 84%),
        linear-gradient(0deg, #08162199 0%, transparent 36%);
}
.hero-inner { position: relative; display: grid; align-items: center; padding-block: 4.75rem 5.5rem; }
.hero-copy { max-width: 41rem; }
.eyebrow { display: flex; gap: .7rem; align-items: center; font-size: .875rem; font-weight: 710; letter-spacing: .095em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.35rem; height: 2px; flex: none; background: #5b8050; }
.hero .eyebrow::before, .request-copy .eyebrow::before { background: var(--accent); }
.hero h1 { font-size: clamp(4.1rem, 7.5vw, 7.25rem); font-weight: 750; line-height: .94; margin-block: 1.2rem 1.45rem; letter-spacing: -.018em; }
.hero-description { max-width: 27rem; color: #e9f1f6; font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 690; line-height: 1.25; cursor: pointer; transition: background-color .18s, border-color .18s; }
.button-primary { color: #14241d; background: var(--accent); }
.button-primary:hover { background: #ddffa9; }
.button-ghost { color: var(--white); border-color: #c5d4e09c; background: #11273573; }
.button-ghost:hover { background: #213d50; border-color: var(--white); }
.image-credit { position: absolute; right: 0; bottom: 1.05rem; color: #e3edf2; background: #081621c4; border-radius: 3px; padding: .21rem .49rem; font-size: .8rem; }

.facts { background: var(--night); color: var(--white); border-top: 1px solid #ffffff24; }
.facts-grid { display: grid; grid-template-columns: .95fr .9fr 1.15fr; }
.facts-grid > div { padding: 1.35rem clamp(1rem, 3vw, 2.5rem); border-right: 1px solid #ffffff24; }
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div:last-child { border-right: 0; padding-right: 0; }
.facts dt { font-size: .875rem; color: #becfd9; margin-bottom: .3rem; }
.facts dd { font-weight: 650; font-size: clamp(1.14rem, 2.1vw, 1.8rem); letter-spacing: -.035em; line-height: 1.2; }
.facts strong { color: var(--accent); font-size: 1.12em; font-weight: 730; }
.fact-detail { display: block; margin-top: .4rem; color: #becfd9; font-size: .875rem; font-weight: 500; letter-spacing: normal; line-height: 1.4; }

h2 { font-size: clamp(2.25rem, 4.45vw, 4.05rem); font-weight: 735; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3.75vw, 3rem); }
.section-head > p { color: var(--muted); font-size: 1.04rem; max-width: 23rem; }

.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 2.9rem minmax(0, 1.26fr) minmax(0, .9fr) auto; align-items: center; gap: clamp(.85rem, 2.4vw, 2.15rem); padding-block: 1.42rem; border-bottom: 1px solid var(--line); }
.service-copy h3 { font-size: clamp(1.29rem, 2vw, 1.85rem); margin-bottom: .32rem; text-wrap: pretty; }
.service-copy p { max-width: 31rem; color: var(--muted); }
.service-row .service-spec { grid-column: 3; color: #304b49; font-size: .94rem; }
.service-icon { position: relative; display: grid; place-items: center; align-self: start; width: 2.9rem; height: 2.9rem; border-radius: 6px; background: #e6efdd; color: #315737; }
:is(.icon-server, .icon-rack, .icon-backup) i { width: 23px; height: 9px; border: 2px solid; border-radius: 3px; position: relative; transform: translateY(-5px); }
:is(.icon-server, .icon-rack, .icon-backup) i::before, :is(.icon-server, .icon-rack, .icon-backup) i::after { position: absolute; content: ""; }
:is(.icon-server, .icon-rack, .icon-backup) i::before { width: 23px; height: 9px; border: 2px solid; border-radius: 3px; left: -2px; top: 9px; }
:is(.icon-server, .icon-rack, .icon-backup) i::after { width: 3px; height: 3px; border-radius: 50%; background: currentColor; left: 3px; top: 1px; box-shadow: 0 11px currentColor; }
.icon-cloud i { position: relative; width: 26px; height: 13px; margin-top: 5px; border: 2px solid; border-radius: 12px; }
.icon-cloud i::before { content: ""; width: 15px; height: 9px; position: absolute; top: -7px; left: 4px; border: 2px solid; border-bottom: 0; border-radius: 12px 12px 0 0; background: #e6efdd; }
.icon-chip i { width: 19px; height: 19px; border: 2px solid; border-radius: 3px; position: relative; }
.icon-chip i::before { content: ""; width: 7px; height: 7px; border: 1px solid; position: absolute; inset: 4px; }
.icon-chip i::after { content: ""; width: 3px; height: 2px; background: currentColor; position: absolute; left: -5px; top: 3px; box-shadow: 0 6px currentColor, 22px 0 currentColor, 22px 6px currentColor; }
.icon-rack i { width: 18px; height: 23px; transform: none; }
.icon-rack i::before { width: 11px; height: 2px; border: 0; background: currentColor; left: 2px; top: 4px; box-shadow: 0 5px currentColor, 0 10px currentColor; }
.icon-rack i::after { content: none; }
.icon-backup i { height: 19px; border-radius: 50% / 23%; transform: none; }
.icon-backup i::before { top: 2px; left: -2px; height: 5px; border-width: 0 0 2px; border-radius: 50%; }
.icon-backup i::after { width: 3px; height: 3px; top: 10px; box-shadow: none; }
.service-link { grid-column: 4; justify-self: end; color: #203c30; padding: .58rem .85rem; border: 1px solid #c0d0c3; border-radius: 5px; text-decoration: none; font-size: .94rem; font-weight: 690; }
.service-link:hover { border-color: #7f9d84; background: #eaf3e6; }
.empty-catalog { padding-block: 1.4rem; }
.personal-service { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .28rem 1.25rem; margin-top: 1.15rem; padding: .88rem 1.15rem; border-radius: 5px; background: #f1f5f4; }
.personal-service p { color: var(--muted); }
.personal-service a { font-weight: 650; text-underline-offset: .23em; }

.project { background: var(--pale); }
.project-grid, .project-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.2rem, 5vw, 4rem); }
.project-grid { align-items: start; row-gap: clamp(1.2rem, 8vw, 7rem); }
.project h2 { margin-top: .63rem; }
.section-intro { max-width: 36rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.project-details { row-gap: 1.4rem; margin-top: clamp(1.8rem, 5vw, 3.5rem); }
.project-details > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.project-details dt { font-size: clamp(1.12rem, 1.8vw, 1.38rem); font-weight: 690; line-height: 1.25; }
.project-details dd { margin-top: .35rem; color: var(--muted); }

.request { min-height: 100dvh; }
.request-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: start; gap: clamp(1.9rem, 6vw, 6rem); }
.request-copy { padding-top: .4rem; }
.request-copy h2 { margin-block: .8rem 1.1rem; }
.request-copy p:not(.eyebrow) { max-width: 29rem; color: #c8d9e2; font-size: 1.06rem; }
.form-panel { min-width: 0; color: var(--ink); background: var(--white); padding: clamp(1.15rem, 3vw, 2.4rem); border-radius: 8px; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.03rem; }
.form-field.wide { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: .29rem; font-size: .94rem; font-weight: 670; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 45px; border: 1px solid #94aab3; border-radius: 4px; padding: .5rem .65rem; background: var(--white); color: var(--ink); font-size: 1rem; }
.form-field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #38555d 50%), linear-gradient(135deg, #38555d 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field textarea { resize: vertical; display: block; }
.form-field textarea::placeholder { color: #586d75; }
.form-field.has-error :is(input, select, textarea) { border-color: #a83a2f; }
.consent { margin-block: 1.12rem 1.25rem; color: var(--muted); font-size: .875rem; }
.consent-row { display: flex; align-items: flex-start; gap: .58rem; }
.consent-row input { width: 1.14rem; height: 1.14rem; margin: .1rem 0 0; flex: none; accent-color: #315a3b; }
.consent a { text-underline-offset: .18em; }
.policy-link { display: inline-block; margin: .3rem 0 0 1.72rem; }
.form-error-summary, .form-success { padding: .75rem; margin-bottom: 1rem; border-radius: 4px; }
.form-error-summary { background: #ffece7; color: #792719; }
.form-success { background: #e9f8df; color: #254c2a; }
.errorlist { padding: 0; list-style: none; margin: .25rem 0 0; color: #8d2e22; font-size: .875rem; }
.form-error-summary .errorlist { margin: 0; font-size: 1rem; }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: #254654; }

.footer { border-top: 1px solid #ffffff25; color: #c8d9e2; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; padding-block: 1.6rem 1.2rem; }
.footer .brand, .footer-mail { color: var(--white); }
.footer-mail { text-underline-offset: .2em; overflow-wrap: anywhere; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; padding-block: 1.1rem 1.55rem; border-top: 1px solid #ffffff25; font-size: .875rem; }
.footer-legal a { text-underline-offset: .2em; }
.legal { max-width: 50rem; padding-block: clamp(3rem, 8vw, 6rem); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.35rem, 5.5vw, 4.25rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); margin-block: 1.65rem .6rem; }
.legal p + p { margin-top: .75rem; }
.document-version { color: var(--muted); }

@media (max-width: 900px) {
    .service-row { grid-template-columns: 2.9rem minmax(0, 1fr) minmax(0, .7fr) auto; gap: .95rem; }
    .section-head { align-items: start; flex-direction: column; }
    .request-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 800px) {
    .header-inner { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding-block: .65rem .15rem; }
    .header .brand { justify-self: start; }
    .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid #ffffff26; margin-top: .06rem; gap: .55rem; }
    .header nav a { padding-block: .52rem; }
    .header-cta { grid-column: 2; grid-row: 1; font-size: .875rem; padding: .52rem .65rem; }
}

@media (max-width: 730px) {
    .hero h1 { font-size: clamp(2.9rem, 7vw + 1.5rem, 4.1rem); }
    .hero-inner { padding-block: 3.55rem 4.75rem; }
    .hero-image img { object-position: 61% 49%; }
    .hero::after { background: linear-gradient(90deg, #081621ed, #081621a3 59%, #08162147), linear-gradient(0deg, #0816216c, transparent 45%); }
    .hero-location { font-size: .79rem; }
    .service-row { grid-template-columns: 2.9rem minmax(0, 1fr) auto; row-gap: .45rem; }
    .service-row .service-spec { grid-column: 2; }
    .service-link { grid-column: 3; grid-row: 1 / span 2; }
    .project-grid, .project-details { grid-template-columns: minmax(0, 1fr); }
    .request-copy h2 { max-width: 13em; }
}

@media (max-width: 485px) {
    .facts-grid { grid-template-columns: 1fr 1fr; }
    .facts-grid > div { padding: .93rem 0 .93rem .9rem; }
    .facts-grid > div:nth-child(2) { border-right: 0; }
    .facts-grid > div:last-child { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid #ffffff24; }
    .hero-actions { gap: .62rem; margin-top: 1.35rem; }
    .hero-actions .button { flex-basis: 100%; }
    .image-credit { bottom: .8rem; }
    .service-row { grid-template-columns: 2.45rem minmax(0, 1fr); column-gap: .82rem; padding-block: 1.15rem; }
    .service-icon { width: 2.45rem; height: 2.45rem; }
    .service-link { grid-column: 2; grid-row: auto; justify-self: start; margin-top: .42rem; min-height: 44px; }
    .form-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .form-panel .button { width: 100%; }
}

@media (max-width: 360px) {
    .header-inner { column-gap: .4rem; }
    .header .brand { font-size: 1.1rem; gap: .45rem; }
    .header-cta { font-size: .825rem; padding-inline: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    .button { transition: none; }
}
