/* ==========================================================================
   Aram Systems theme
   Values come from the Figma file "Aram.Systems" (page "Final", frames
   Home 94:381, Service detail 94:823, Contact 94:1021), designed at 1345px.
   ========================================================================== */

@font-face {
    font-family: "Orbitron";
    src: url("../fonts/orbitron-var.5d281085f727.woff2") format("woff2");
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("../fonts/public-sans-var.e4c9b081863a.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    /* Palette */
    --navy-950: #071a33;
    --navy-900: #0b2545;
    --navy-glass: rgba(11, 37, 69, 0.9);
    --royal: #1e3a8a;
    --royal-80: rgba(30, 58, 138, 0.8);
    --royal-60: rgba(30, 58, 138, 0.6);
    --royal-50: rgba(30, 58, 138, 0.5);
    --accent: #2563eb;
    --accent-50: rgba(37, 99, 235, 0.5);
    --accent-40: rgba(37, 99, 235, 0.4);
    --accent-30: rgba(37, 99, 235, 0.3);
    --surface: #f8faff;
    --line: #eaf2ff;
    --line-strong: #d7e3f4;
    --ink: #0b2545;
    --slate-700: #334155;
    --text: #475569;
    --text-muted: #64748b;
    --white: #ffffff;

    /* Contact page palette (the Figma contact frame uses its own shades) */
    --contact-accent: #1d4ed8;
    --contact-ink: #0f2747;
    --contact-body: #3e5a7d;
    --contact-label: #6b82a3;
    --contact-muted: #5b7396;
    --contact-surface: #f8fbff;
    --contact-line: #d8e6f8;

    /* Type */
    --font-display: "Orbitron", "Eurostile", "Arial Black", sans-serif;
    --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Layout */
    --container: 1280px;
    --gutter: 24px;
    --header-h: 65px;
    --section-y: 96px;

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

p {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
}

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

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--surface {
    background: var(--surface);
}

.section--ruled {
    border-top: 1px solid var(--line-strong);
}

/* --------------------------------------------------------------------------
   Type primitives
   -------------------------------------------------------------------------- */

.eyebrow {
    display: block;
    margin: 0;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 16.5px;
    text-transform: uppercase;
}

.eyebrow--muted {
    color: var(--royal-50);
}

.section-head {
    margin-bottom: 64px;
    text-align: center;
}

.section-head__title {
    padding-top: 12px;
    font-size: 42px;
    line-height: 52.5px;
}

.section-head__lead {
    padding-top: 16px;
    font-size: 15px;
    line-height: 22.5px;
}

.rule {
    width: 48px;
    height: 2px;
    margin: 24px 0 0;
    border: 0;
    background: var(--accent);
}

.display-number {
    color: var(--accent-40);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid var(--accent-30);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 13.5px;
    text-transform: uppercase;
}

.link-more {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: var(--accent-50);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.55px;
    line-height: 16.5px;
    transition: color 0.2s, gap 0.2s var(--ease);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: none;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.65px;
    line-height: 19.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn__arrow {
    color: var(--accent);
    transition: transform 0.2s var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* Small outlined blue button (header, footer) */
.btn--outline {
    padding: 8px 19px;
    border-color: var(--accent);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 18px;
}

.btn--outline:hover {
    background: var(--accent);
    color: var(--white);
}

/* Large outlined button on dark (hero) */
.btn--ghost {
    padding: 16px 31px;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

/* Solid white on dark (CTA band) */
.btn--light {
    min-width: 246px;
    padding: 16px 40px;
    background: var(--white);
    color: var(--navy-900);
}

.btn--light:hover {
    background: var(--line);
}

/* Solid royal, full width (forms) */
.btn--solid {
    width: 100%;
    padding: 16px 24px;
    background: var(--royal);
    color: var(--white);
    letter-spacing: 2px;
}

.btn--solid:hover {
    background: var(--accent);
}

.btn--auto {
    width: auto;
    padding-inline: 40px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* On the home page the header sits over the hero image. */
.template-homepage .site-header {
    margin-bottom: calc(-1 * var(--header-h));
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__inner.container {
    padding-inline: calc(var(--gutter) + 24px);
}

.logo {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 28px;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo__dot {
    color: var(--accent);
}

.site-nav {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.65px;
    line-height: 19.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current] {
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle__bars::before {
    top: -7px;
}

.nav-toggle__bars::after {
    top: 7px;
}

.nav-open .nav-toggle__bars {
    background: transparent;
}

.nav-open .nav-toggle__bars::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--white);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(11, 37, 69) 0%, rgba(11, 37, 69, 0.5) 50%, rgba(11, 37, 69, 0) 100%),
        rgba(11, 37, 69, 0.75);
    content: "";
}

.hero__inner {
    position: relative;
    padding-top: 166px;
    padding-bottom: 102px;
}

.hero__content {
    width: fit-content;
    max-width: 768px;
    margin-inline: auto;
}

.hero__title {
    padding-top: 24px;
    color: var(--white);
    font-size: 80px;
    line-height: 80px;
}

.hero__intro {
    max-width: 512px;
    padding: 24px 0 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    line-height: 27.625px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 64px 0 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.65px;
    line-height: 19.5px;
}

.hero__badges li {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero__badges li::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-900);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__list {
    display: flex;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.marquee__item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-inline: 32px;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 19.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee__item::after {
    color: var(--accent);
    font-size: 8px;
    line-height: 12px;
    content: "\25CF";
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   About / Who we are
   -------------------------------------------------------------------------- */

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

.about__title {
    padding-top: 12px;
    font-size: 42px;
    line-height: 52.5px;
}

.about__body {
    max-width: 512px;
    padding-top: 32px;
    color: var(--slate-700);
    font-size: 17px;
    line-height: 30.6px;
}

/* Stats are <dt>label</dt><dd>value</dd>; show the value first. */
.stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.stat dd {
    margin: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    background: var(--line);
}

.stat-grid__item {
    padding: 40px;
    background: var(--white);
}

.stat-grid__value {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    line-height: 38px;
}

.stat-grid__label {
    padding-top: 8px;
    font-size: 15px;
    letter-spacing: 0.375px;
    line-height: 22.5px;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--white);
    transition: box-shadow 0.25s;
}

.service-card:hover {
    z-index: 1;
    box-shadow: 0 18px 40px -24px rgba(11, 37, 69, 0.35);
}

.service-card:hover .display-number {
    color: var(--accent);
}

.service-card:hover .link-more {
    gap: 8px;
    color: var(--accent);
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
}

.service-card .display-number {
    font-size: 28px;
    line-height: 28px;
    transition: color 0.25s;
}

.service-card__title {
    padding-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.325px;
    line-height: 17.875px;
}

.service-card__title a::after {
    /* Whole card is clickable */
    position: absolute;
    inset: 0;
    content: "";
}

.service-card__summary {
    flex: 1;
    font-size: 14px;
    line-height: 22.75px;
}

.service-card__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-strong);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.55px;
    line-height: 16.5px;
}

.service-card .link-more {
    padding-top: 16px;
}

/* Compact variant used for "Other services" */
.section--compact {
    padding-block: 64px;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 32px;
    background: var(--line-strong);
}

.service-strip .service-card {
    padding: 24px;
    background: var(--surface);
}

.service-strip .service-card__top {
    padding-bottom: 12px;
}

.service-strip .service-card .display-number {
    color: var(--accent-30);
    font-size: 22px;
    line-height: 22px;
}

.service-strip .service-card__title {
    padding-bottom: 0;
    color: var(--royal);
}

.service-strip .service-card .link-more {
    padding-top: 12px;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Project tiles
   -------------------------------------------------------------------------- */

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

.project-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 424 / 224;
    background: var(--navy-900);
    color: var(--white);
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-tile::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0b2545 0%, rgba(11, 37, 69, 0.3) 50%, rgba(11, 37, 69, 0) 100%);
    content: "";
}

.project-tile:hover img {
    transform: scale(1.05);
}

.project-tile__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 20px;
}

.project-tile__title {
    color: var(--white);
    font-size: 16px;
    line-height: 24px;
}

.project-tile__status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--navy-glass);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 13.5px;
    text-transform: uppercase;
}

.project-tile__location {
    padding-top: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 19.5px;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats-band {
    padding-block: 40px;
    background: var(--navy-900);
    color: var(--white);
}

.stats-band__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    text-align: center;
}

.stats-band__value {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 32px;
}

.stats-band__label {
    padding-top: 8px;
    color: var(--line);
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 21px;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq {
    max-width: 896px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--line-strong);
}

.faq__item:last-child {
    border-bottom: 0;
}

.faq__heading {
    margin: 0;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.faq__question {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 700 16px/24px var(--font-body);
    text-align: left;
    cursor: pointer;
}

.faq__icon {
    position: relative;
    flex: none;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(11, 37, 69, 0.2);
    transition: border-color 0.2s, background-color 0.2s;
}

.faq__icon::before,
.faq__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 1px;
    background: rgba(11, 37, 69, 0.6);
    transform: translate(-50%, -50%);
    transition: transform 0.25s var(--ease), background-color 0.2s;
    content: "";
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__question:hover .faq__icon {
    border-color: var(--accent);
}

.faq__question[aria-expanded="true"] .faq__icon {
    border-color: var(--accent);
    background: var(--accent);
}

.faq__question[aria-expanded="true"] .faq__icon::before,
.faq__question[aria-expanded="true"] .faq__icon::after {
    background: var(--white);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease);
}

.faq__answer > div {
    overflow: hidden;
}

.faq__answer p {
    max-width: 760px;
    padding-bottom: 24px;
    font-size: 15px;
    line-height: 25px;
}

.faq__item.is-open .faq__answer,
.no-js .faq__answer {
    grid-template-rows: 1fr;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    padding-block: 64px;
    background: var(--navy-900);
    color: var(--white);
    text-align: center;
}

.cta-band__kicker {
    color: var(--line);
    font-size: 15px;
    letter-spacing: 1.5px;
    line-height: 22.5px;
}

.cta-band__title {
    padding: 8px 0 32px;
    color: var(--white);
    font-size: 42px;
    line-height: 63px;
}

/* --------------------------------------------------------------------------
   Page intro (inner pages)
   -------------------------------------------------------------------------- */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--royal-50);
    font-size: 12px;
    line-height: 18px;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    content: "/";
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb [aria-current="page"] {
    color: var(--royal);
}

.page-intro,
.service-hero {
    padding-block: 64px;
    border-bottom: 1px solid var(--line-strong);
}

.page-intro .breadcrumb {
    margin-bottom: 32px;
}

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

.service-hero .page-intro__grid {
    padding-top: 32px;
}

.page-intro__title {
    padding-top: 12px;
    font-size: 48px;
    line-height: 60px;
}

.page-intro__body {
    max-width: 608px;
    padding-top: 32px;
    font-size: 17px;
    line-height: 30.6px;
}

.page-intro__body p + p {
    margin-top: 1em;
}

/* Service detail */
.service-hero__meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.service-hero__meta .display-number {
    font-size: 48px;
    line-height: 48px;
}

.service-hero__meta .tag {
    padding: 4px 12px;
    border-color: var(--accent-40);
    font-size: 10px;
    line-height: 15px;
}

.service-hero .page-intro__title {
    padding-top: 24px;
    color: var(--royal);
}

.service-hero .page-intro__body {
    color: var(--royal-80);
    line-height: 31.45px;
}

.template-service .section-head {
    margin-bottom: 48px;
}

.template-service .section-head__title {
    font-size: 36px;
    line-height: 54px;
    color: var(--royal);
}

.template-service .section-head__lead {
    color: var(--royal-60);
}

.included {
    padding: 32px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.included .eyebrow {
    letter-spacing: 3px;
}

.included ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 24px 0 0;
    list-style: none;
}

.included li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--royal-80);
    font-size: 15px;
    line-height: 24.375px;
}

.included li::before {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border: 1px solid var(--accent);
    background: linear-gradient(var(--accent), var(--accent)) center / 6px 6px no-repeat;
    content: "";
}

.included a:hover {
    color: var(--accent);
}

/* Contact */
.contact-hero {
    --accent: var(--contact-accent);

    padding-block: 64px;
    border-bottom: 1px solid var(--contact-line);
    background: var(--contact-surface);
}

.contact-hero .page-intro__title {
    color: var(--contact-ink);
    font-size: 56px;
    line-height: 70px;
}

.contact-hero .page-intro__body {
    max-width: 448px;
    color: var(--contact-body);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--line);
}

.partner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 111.5px;
    padding: 32px;
    background: var(--white);
}

.partner__name {
    padding-bottom: 4px;
    color: var(--contact-ink);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.partner__role {
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 19.5px;
}

.contact-list {
    display: grid;
    gap: 24px;
    margin: 0;
    padding-top: 48px;
}

.contact-list dt {
    color: var(--contact-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 16.5px;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    padding-top: 4px;
    color: var(--contact-ink);
    font-size: 15px;
    line-height: 22.5px;
}

.contact-list a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Quote form
   Default = service page style; --tinted = contact page style.
   -------------------------------------------------------------------------- */

.quote-form {
    --field-label: var(--royal-50);
    --field-bg: var(--white);
    --field-line: var(--line-strong);
    --field-text: var(--royal);
    --field-placeholder: var(--royal-60);

    max-width: 768px;
    margin: 0 auto;
}

.quote-form--tinted {
    --field-label: var(--contact-ink);
    --field-bg: var(--contact-surface);
    --field-line: var(--contact-line);
    --field-text: var(--contact-ink);
    --field-placeholder: var(--contact-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    padding-bottom: 8px;
    color: var(--field-label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 18px;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--field-line);
    border-radius: 0;
    background-color: var(--field-bg);
    color: var(--field-text);
    font: 400 15px/22.5px var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input {
    height: 48.5px;
}

.field select {
    height: 45.5px;
    padding: 0 40px 0 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath stroke='%230b2545' stroke-width='1.5' d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 13px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    min-height: 138.5px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--field-placeholder);
    opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #dc2626;
}

.field__error {
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
}

.field--honeypot {
    position: absolute;
    left: -10000px;
}

.quote-form .btn--solid {
    margin-top: 30px;
}

.alert {
    max-width: 768px;
    margin: 0 auto 28px;
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
    background: var(--line);
    color: var(--ink);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Project detail
   -------------------------------------------------------------------------- */

.project-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 460px;
    background: var(--navy-900);
    color: var(--white);
}

.project-hero .hero__media::after {
    background: linear-gradient(0deg, #0b2545 0%, rgba(11, 37, 69, 0.3) 50%, rgba(11, 37, 69, 0) 100%),
        rgba(11, 37, 69, 0.35);
}

.project-hero__inner {
    position: relative;
    padding-block: 120px 56px;
}

.project-hero .breadcrumb {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
}

.project-hero .breadcrumb [aria-current="page"],
.project-hero .breadcrumb a:hover {
    color: var(--white);
}

.project-hero__title {
    max-width: 900px;
    color: var(--white);
    font-size: 48px;
    line-height: 60px;
}

.project-hero__location {
    padding-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 22.5px;
}

.prose {
    color: var(--slate-700);
    font-size: 17px;
    line-height: 30.6px;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose ul {
    padding-left: 1.2em;
}

.tag--light {
    margin-top: 16px;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.project-scope__title {
    padding-top: 16px;
    font-size: 20px;
    line-height: 28px;
}

.project-scope {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
}

.project-scope__group h3 {
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 22.5px;
}

.project-scope__group ul {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 25px;
}

/* --------------------------------------------------------------------------
   Partners and certificates (home)
   -------------------------------------------------------------------------- */

.partner-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 32px;
    justify-content: center;
}

.partner-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    max-width: 100%;
    margin: 0;
}

.partner-group__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin: 0;
    padding: 16px 28px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--white);
    list-style: none;
    transition: border-color 0.25s, box-shadow 0.25s var(--ease);
}

.partner-group:hover .partner-group__logos {
    border-color: var(--accent-30);
    box-shadow: 0 12px 32px -20px var(--royal-50);
}

.partner-group__logos img {
    width: auto;
    max-width: 128px;
    height: 30px;
    object-fit: contain;
}

.partner-group__label {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text);
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.partner-group__label span {
    max-width: 180px;
}

.partner-group__badge {
    width: auto;
    height: 26px;
    padding-right: 10px;
    border-right: 1px solid var(--accent-50);
    box-sizing: content-box;
}

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

.certificate {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.certificate__doc {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--white);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.certificate__doc:hover {
    box-shadow: 0 20px 40px -24px var(--royal-60);
    transform: translateY(-4px);
}

.certificate__doc img {
    width: 100%;
    aspect-ratio: 306 / 431;
    border-radius: 10px;
    object-fit: cover;
}

.certificate__logo {
    width: auto;
    max-width: 140px;
    height: 32px;
    object-fit: contain;
}

.certificate__issuer {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
}

.team-certificates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 24px;
}

.team-certificates__group {
    position: relative;
    margin: 0;
    padding: 40px 16px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--white);
}

.team-certificates__issuer {
    position: absolute;
    top: 0;
    left: 50%;
    padding-inline: 12px;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.team-certificates__issuer img {
    width: auto;
    max-width: 160px;
    height: 40px;
    object-fit: contain;
}

.team-certificates__docs {
    display: grid;
    gap: 12px;
}

.team-certificates__docs a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.team-certificates__docs img {
    width: 100%;
    transition: transform 0.6s var(--ease);
}

.team-certificates__docs a:hover img {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */

.error-page {
    display: grid;
    place-items: center;
    padding-block: 128px;
    background: var(--surface);
    text-align: center;
}

.error-page .display-number {
    font-size: clamp(5rem, 14vw, 9rem);
}

.error-page__title {
    padding-top: 24px;
    font-size: 36px;
    line-height: 54px;
}

.error-page p {
    max-width: 460px;
    margin: 16px auto 0;
    font-size: 15px;
    line-height: 22.5px;
}

.error-page .btn {
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    padding-block: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.site-footer__blurb {
    max-width: 320px;
    padding-top: 16px;
    line-height: 24.375px;
}

.site-footer__heading {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 21px;
}

.site-footer__links {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 24px 0 0;
    list-style: none;
    font-weight: 500;
    line-height: 22.5px;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer__email {
    display: inline-block;
    padding-top: 24px;
    line-height: 24.375px;
}

.site-footer .btn--outline {
    margin-top: 24px;
}

.site-footer .btn--outline:hover {
    color: var(--white);
}

.site-footer__bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 19.5px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Inner pages
   The Figma service and contact frames use a lighter navy chrome than Home.
   -------------------------------------------------------------------------- */

body:not(.template-homepage) {
    --chrome-accent: #60a5fa;
}

body.template-service {
    --chrome-accent: #93c5fd;
}

body:not(.template-homepage) .site-header {
    background: rgba(15, 39, 71, 0.9);
}

body:not(.template-homepage) .site-header .btn--outline {
    border-color: var(--chrome-accent);
    color: var(--chrome-accent);
}

body:not(.template-homepage) .logo__dot {
    color: #60a5fa;
}

body:not(.template-homepage) .site-footer {
    background: #0f2747;
    color: var(--line-strong);
}

body:not(.template-homepage) .site-footer .btn--outline {
    border-color: #60a5fa;
    color: #60a5fa;
}

body:not(.template-homepage) .site-footer .btn--outline:hover {
    background: #60a5fa;
    color: var(--navy-900);
}

body:not(.template-homepage) .site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
    color: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Responsive (the Figma file is desktop-only; these reflow its layout)
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__title {
        font-size: 64px;
        line-height: 66px;
    }
}

@media (max-width: 960px) {
    :root {
        --section-y: 80px;
    }

    .site-header__inner.container {
        padding-inline: var(--gutter);
    }

    .nav-toggle {
        display: block;
        margin-right: -10px;
    }

    .site-header__nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 36px;
        padding: 40px var(--gutter);
        background: var(--navy-950);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
    }

    .nav-open .site-header__nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.25s, transform 0.25s var(--ease);
    }

    .site-nav {
        flex-direction: column;
        gap: 0;
    }

    .site-nav a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-family: var(--font-display);
        font-size: 18px;
    }

    .site-header__nav .btn--outline {
        align-self: flex-start;
    }

    .hero__inner {
        padding-top: 140px;
        padding-bottom: 88px;
    }

    .hero__content {
        width: auto;
        margin-inline: 0;
    }

    .hero__title {
        font-size: 52px;
        line-height: 56px;
    }

    .about,
    .page-intro__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .section-head__title,
    .about__title,
    .cta-band__title {
        font-size: 34px;
        line-height: 44px;
    }

    .page-intro__title,
    .contact-hero .page-intro__title,
    .project-hero__title {
        font-size: 40px;
        line-height: 50px;
    }

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

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

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

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

    .team-certificates {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        margin-inline: auto;
    }

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

    .site-footer__grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 961px) {
    .site-header__nav {
        display: contents;
    }
}

@media (max-width: 720px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 600px) {
    :root {
        --gutter: 16px;
        --section-y: 64px;
    }

    .eyebrow {
        letter-spacing: 3px;
    }

    .hero__inner {
        padding-top: 120px;
        padding-bottom: 64px;
    }

    .hero__title {
        font-size: 38px;
        line-height: 42px;
    }

    .hero__intro {
        font-size: 16px;
        line-height: 26px;
    }

    .hero__badges {
        padding-top: 48px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head__title,
    .about__title,
    .cta-band__title,
    .template-service .section-head__title {
        font-size: 28px;
        line-height: 36px;
    }

    .page-intro__title,
    .contact-hero .page-intro__title,
    .project-hero__title {
        font-size: 32px;
        line-height: 40px;
    }

    .service-grid,
    .project-grid,
    .service-strip,
    .form-grid,
    .partner-grid,
    .project-scope {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-group__logos {
        gap: 16px 24px;
        padding: 16px 20px;
    }

    .partner-group__logos img {
        max-width: 104px;
        height: 24px;
    }

    .certificate-grid {
        gap: 24px 16px;
    }

    .stat-grid__item {
        padding: 24px 16px;
    }

    .stat-grid__value {
        font-size: 30px;
        line-height: 30px;
    }

    .faq__question {
        gap: 16px;
        font-size: 15px;
    }

    .included,
    .partner {
        padding: 24px 20px;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .marquee__track {
        animation: none;
    }
}
