@font-face {
    font-family: "Montauk";
    src: url("/Montauk.woff2") format("woff2"),
        url("/Montauk.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN";
    src: url("/fonts/D-DIN.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN";
    src: url("/fonts/D-DIN-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN Condensed";
    src: url("/fonts/D-DINCondensed-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --page: #010711;
    --surface: #fbfcfd;
    --surface-muted: #edf1f5;
    --ink: #101827;
    --muted: #536071;
    --quiet: #7a8492;
    --line: #d9dee6;
    --line-soft: rgba(190, 199, 212, 0.54);
    --line-strong: #bdc6d3;
    --blue: #0c4f91;
    --blue-dark: #071c34;
    --blue-soft: #edf3f8;
    --gold: #a9864d;
    --gold-soft: #e4d8c3;
    --green-soft: #edf7f1;
    --shadow-soft: 0 34px 90px rgba(16, 24, 39, 0.09);
    --shadow-deep: 0 48px 110px rgba(7, 28, 52, 0.16);
    --max: 1248px;
    --anchor-offset: 84px;
    --font-body: "D-DIN", "Helvetica Neue", Arial, sans-serif;
    --font-display: "D-DIN", "Helvetica Neue", Arial, sans-serif;
    --font-logo: "Montauk", "ITC Benguiat", Georgia, serif;
}

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

html {
    color: var(--ink);
    background: var(--page);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--page);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.56;
    text-rendering: optimizeLegibility;
    hyphens: none;
}

a,
button,
.button,
.button *,
.site-nav a,
.language-switch a {
    cursor: pointer;
}

a {
    color: var(--blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:visited,
a:hover,
a:focus,
a:focus-visible,
a:active {
    color: var(--blue-dark);
}

.obfuscated-email,
.obfuscated-email:visited {
    color: var(--blue-dark);
    text-decoration: none;
}

.obfuscated-email:hover,
.obfuscated-email:focus,
.obfuscated-email:focus-visible,
.obfuscated-email:active {
    color: var(--blue-dark);
    text-decoration: underline;
}

img,
svg {
    display: block;
}

svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.site-main {
    width: min(100% - 40px, 820px);
    margin: 0 auto;
    padding: 72px 0;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    line-height: 1.12;
    font-weight: 720;
}

.site-main h1 {
    font-size: 42px;
}

.site-main h2 {
    margin-top: 30px;
    font-size: 28px;
}

.site-main h3 {
    margin-top: 34px;
    font-size: 22px;
}

.site-main p {
    margin: 18px 0 0;
    color: var(--muted);
}

.site-main hr {
    width: 44px;
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--line-strong);
}

.site-main address {
    font-style: normal;
}

.site-main nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.site-main nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--blue-dark);
    background: var(--surface);
    font-family: var(--font-display);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.home-main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.hero__content,
.hero__visual-stack,
.hero-visual,
.assurance-panel,
.section__intro,
.service-grid,
.quality-grid,
.quality-story,
.memo-grid,
.case-list,
.method-list,
.closing-grid,
.closing-grid > *,
.principal > div,
.contact-panel > div,
.legal-page__intro > *,
.legal-content {
    min-width: 0;
}

.legal-page {
    width: min(100% - 56px, var(--max));
    margin: 0 auto;
    padding: 56px 0 0;
}

.legal-page__intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding: 32px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--surface);
}

.legal-page__intro h2 {
    margin: 0;
    color: var(--ink);
    font-size: 42px;
    font-weight: 760;
    line-height: 1.08;
}

.legal-page__meta {
    display: block;
    margin-top: 0;
}

.legal-page__meta p,
.legal-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.legal-page__meta p + p {
    margin-top: 16px;
}

.legal-page__meta strong,
.legal-block h3 {
    color: var(--ink);
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-left: 0;
    padding-top: 18px;
}

.legal-block {
    grid-column: span 6;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line-soft);
    border-radius: 2px;
    background: rgba(251, 252, 253, 0.7);
}

.legal-block--compact {
    grid-column: span 6;
}

.legal-block h3 {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 720;
    line-height: 1.22;
}

.legal-block p + p {
    margin-top: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 24px max(30px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(244, 245, 247, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    color: var(--ink);
    text-decoration: none;
}

.brand:visited,
.brand:hover,
.brand:focus,
.brand:focus-visible,
.brand:active {
    color: var(--ink);
}

.brand h1 {
    margin: 0;
    font-family: var(--font-logo);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.site-nav a {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 640;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:visited,
.site-nav a:hover,
.site-nav a:focus,
.site-nav a:focus-visible,
.site-nav a:active {
    color: var(--blue-dark);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.language-switch a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 740;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.language-switch a[aria-current="true"] {
    color: var(--blue-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.32em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 72px;
    width: min(100% - 56px, var(--max));
    min-height: 700px;
    align-items: center;
    margin: 0 auto;
    padding: 96px 0 84px;
}

.hero,
.section,
.page-hero,
.contact-panel {
    scroll-margin-top: calc(var(--anchor-offset) - 1px);
}

.hero__content::before {
    display: block;
    width: 72px;
    height: 2px;
    margin-bottom: 28px;
    background: var(--gold);
    content: "";
}

.hero__content h2 {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-size: 64px;
    font-weight: 780;
    line-height: 1.01;
    text-wrap: balance;
}

.hero__content h2,
.assurance-panel h3,
.principal h2,
.contact-panel h2,
.legal-page__intro h2 {
    overflow-wrap: anywhere;
    hyphens: none;
}

.hero__content p {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__visual-stack {
    display: grid;
    align-content: center;
}

.hero-visual {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--blue-dark);
    box-shadow: var(--shadow-deep);
}

.hero-visual::after {
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(7, 28, 52, 0), rgba(7, 28, 52, 0.3));
    content: "";
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.button {
    display: inline-flex;
    min-width: 252px;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.button:visited,
.button:hover,
.button:focus,
.button:focus-visible,
.button:active {
    text-decoration: none;
}

a.button.button--primary,
a.button.button--primary:visited {
    color: var(--surface);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

a.button.button--primary:hover,
a.button.button--primary:focus,
a.button.button--primary:focus-visible,
a.button.button--primary:active {
    color: var(--surface);
    background: var(--ink);
    border-color: var(--ink);
}

a.button.button--secondary,
a.button.button--secondary:visited {
    color: var(--blue-dark);
    background: rgba(251, 252, 253, 0.7);
    border-color: var(--line-strong);
}

a.button.button--secondary:hover,
a.button.button--secondary:focus,
a.button.button--secondary:focus-visible,
a.button.button--secondary:active {
    color: var(--blue-dark);
    border-color: var(--gold);
    background: var(--surface);
}

.assurance-panel {
    position: relative;
    padding: 34px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero__visual-stack .assurance-panel {
    z-index: 1;
    width: calc(100% - 48px);
    margin: -46px 0 0 auto;
}

.assurance-panel h3 {
    margin: 0;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.12;
}

.assurance-panel p {
    margin: 16px 0 0;
    color: var(--muted);
}

.assurance-panel ul {
    display: grid;
    gap: 18px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.assurance-panel li {
    position: relative;
    padding: 0 0 0 28px;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.45;
}

.checkmark {
    position: absolute;
    top: 0.12em;
    left: 0;
    display: block;
    width: 18px;
    height: 18px;
    color: inherit;
    background: transparent;
}

.checkmark svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    width: min(100% - 56px, var(--max));
    align-items: end;
    margin: 0 auto;
    padding: 112px 0 76px;
}

.page-hero h2 {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: 56px;
    font-weight: 780;
    line-height: 1.04;
    text-wrap: balance;
}

.page-hero p {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.56;
}

.page-section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.section {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.8fr);
    gap: 72px;
    width: min(100% - 56px, var(--max));
    margin: 0 auto;
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.section--tinted {
    width: 100%;
    max-width: none;
    padding-right: max(28px, calc((100vw - var(--max)) / 2));
    padding-left: max(28px, calc((100vw - var(--max)) / 2));
    background: var(--surface);
}

#method {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

#quality {
    border-top: 0;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 0;
}

.section__intro h2,
.principal h2,
.contact-panel h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 39px;
    font-weight: 760;
    line-height: 1.08;
}

.section__intro h2 {
    overflow-wrap: break-word;
    hyphens: none;
    text-wrap: balance;
}

.principal h2,
.contact-panel h2 {
    font-size: 36px;
    letter-spacing: 0;
}

.section__intro p,
.principal p,
.contact-panel p {
    margin: 18px 0 0;
    color: var(--muted);
}

.service-grid,
.quality-grid,
.memo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-grid {
    gap: 52px 56px;
}

.service-grid article,
.quality-grid article,
.memo-grid article {
    min-height: 210px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--surface);
}

.service-grid article {
    min-height: 178px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.service-grid article:nth-child(n + 3) {
    padding-top: 0;
}

.section--tinted .service-grid article,
.section--tinted .quality-grid article {
    background: var(--page);
}

.service-grid span,
.memo-grid span,
.method-list span {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 780;
}

.service-grid span {
    font-size: 14px;
}

.service-grid h3,
.quality-grid h3,
.memo-grid h3,
.case-list h3,
.method-list h3 {
    margin: 14px 0 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 720;
    line-height: 1.24;
}

.service-grid p,
.quality-grid p,
.memo-grid p,
.case-list p,
.method-list p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.52;
}

.memo-grid article {
    min-height: 188px;
    background: var(--surface);
}

.case-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.case-list article {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-soft);
}

.case-list span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 780;
}

.case-list h3 {
    margin-top: 0;
}

.method-list {
    display: grid;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.method-list li {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
    padding: 0;
}

.method-list li + li {
    padding-top: 0;
}

.method-list li:last-child {
    padding-bottom: 0;
}

.method-list h3 {
    margin-top: 0;
}

.quality-grid article {
    min-height: 0;
    padding: 32px 28px;
    background: var(--surface-muted);
}

.quality-grid h3 {
    margin-top: 0;
}

#quality .quality-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.quality-story {
    display: grid;
    grid-column: 2;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: stretch;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--surface);
    box-shadow: 0 22px 60px rgba(16, 24, 39, 0.05);
}

.quality-story img {
    width: 100%;
    height: 100%;
    min-height: 224px;
    object-fit: cover;
}

.quality-story figcaption {
    display: grid;
    align-content: center;
    padding: 28px;
}

.quality-story h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 730;
    line-height: 1.16;
}

.quality-story p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.52;
}

.closing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 28px;
    width: min(100% - 56px, var(--max));
    align-items: stretch;
    margin: 72px auto 0;
}

.principal {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    height: 100%;
    align-items: stretch;
    margin: 0;
    padding: 38px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(16, 24, 39, 0.05);
}

.principal > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 760px;
}

.principal h2 {
    white-space: nowrap;
}

.principal img {
    width: 112px;
    height: 112px;
    align-self: start;
    object-fit: cover;
    border-radius: 2px;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 30px;
    width: 100%;
    height: 100%;
    align-content: start;
    align-items: start;
    margin: 0;
    padding: 38px;
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    background: var(--blue-dark);
}

.contact-panel h2,
.contact-panel p,
.contact-panel a {
    color: var(--surface);
}

.contact-panel h2 {
    color: rgba(251, 252, 253, 0.93);
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.78);
    max-width: none;
}

.contact-panel .button {
    justify-self: start;
}

.contact-panel--compact {
    margin-top: 76px;
}

.contact-panel a.button.button--primary {
    color: var(--blue-dark);
    background: var(--surface);
    border-color: var(--surface);
}

.contact-panel a.button.button--primary:hover,
.contact-panel a.button.button--primary:focus,
.contact-panel a.button.button--primary:focus-visible,
.contact-panel a.button.button--primary:active {
    color: var(--blue-dark);
    background: #eef5ff;
    border-color: #eef5ff;
}

.site-footer {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    width: min(100% - 56px, var(--max));
    margin: 0 auto;
    padding: 34px 0 46px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer a {
    color: var(--muted);
    font-family: var(--font-display);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--blue-dark);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1100px) and (min-width: 981px) {
    .section {
        grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.64fr);
        gap: 48px;
    }

    .section__intro h2 {
        font-size: 35px;
    }
}

@media (max-width: 1280px) {
    .closing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        display: none;
    }

    .hero,
    .section,
    .page-hero,
    .contact-panel {
        grid-template-columns: 1fr;
    }

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

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

    .hero__content h2 {
        font-size: 48px;
    }

    .hero__content::before {
        margin-bottom: 24px;
    }

    .section__intro {
        max-width: 720px;
    }

    .page-hero {
        align-items: start;
        padding-top: 72px;
    }

    .page-hero h2 {
        font-size: 44px;
    }

    .legal-content {
        width: 100%;
    }

    .legal-page__intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .legal-block,
    .legal-block--compact {
        grid-column: span 12;
    }

    .contact-panel {
        align-items: start;
    }

    .hero__visual-stack .assurance-panel {
        width: min(100%, 640px);
        margin-top: -34px;
    }

    #quality .quality-grid,
    .quality-story {
        grid-column: auto;
    }

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

}

@media (max-width: 700px) {
    :root {
        --anchor-offset: 72px;
    }

    body {
        font-size: 16px;
    }

    .site-main {
        width: min(100% - 32px, 820px);
        padding: 48px 0;
    }

    .site-header {
        padding: 18px 20px;
    }

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

    .hero,
    .section,
    .legal-page,
    .page-hero,
    .closing-grid,
    .principal,
    .contact-panel,
    .site-footer {
        width: min(100% - 40px, var(--max));
    }

    .hero {
        gap: 34px;
        padding: 50px 0 58px;
    }

    .hero__content h2 {
        font-size: 38px;
    }

    .hero__content p {
        font-size: 18px;
    }

    .hero__actions,
    .button,
    .contact-panel .button {
        width: 100%;
    }

    .button {
        min-width: 0;
    }

    .section {
        gap: 30px;
        padding: 58px 0;
    }

    .page-hero {
        gap: 28px;
        padding: 58px 0;
    }

    .page-hero h2 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .legal-page {
        padding: 32px 0 0;
    }

    .legal-page__intro {
        padding: 26px;
    }

    .legal-page__intro h2 {
        font-size: 32px;
    }

    .legal-page__meta {
        margin-top: 18px;
    }

    .legal-content {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 14px;
    }

    .legal-block,
    .legal-block--compact {
        grid-column: auto;
        padding: 24px;
    }

    .section.section--tinted {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero__visual-stack {
        gap: 20px;
    }

    .hero__visual-stack .assurance-panel {
        width: 100%;
        margin-top: 0;
    }

    .section__intro h2,
    .principal h2,
    .contact-panel h2 {
        font-size: 31px;
    }

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

    #quality .quality-grid {
        grid-template-columns: 1fr;
    }

    .service-grid article,
    .quality-grid article,
    .memo-grid article {
        min-height: 0;
        padding: 22px;
    }

    .service-grid article {
        padding: 0;
    }

    .quality-grid article {
        padding: 24px;
    }

    .quality-story {
        grid-template-columns: 1fr;
    }

    .quality-story img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .quality-story figcaption {
        padding: 24px;
    }

    .method-list li {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .case-list article {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .method-list {
        gap: 30px;
    }

    .principal {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .principal h2 {
        white-space: normal;
    }

    .principal img {
        width: 112px;
        height: 112px;
    }

    .contact-panel {
        padding: 30px;
    }

    .closing-grid .principal,
    .closing-grid .contact-panel {
        width: 100%;
    }

}

@media (max-width: 380px) {
    .hero,
    .section,
    .legal-page,
    .page-hero,
    .closing-grid,
    .principal,
    .contact-panel,
    .site-footer {
        width: min(100% - 32px, var(--max));
    }

    .site-header {
        padding: 16px;
    }

    .closing-grid .principal,
    .closing-grid .contact-panel {
        width: 100%;
    }

    .language-switch {
        gap: 12px;
    }

    .hero {
        padding-top: 44px;
    }

    .hero__content h2 {
        font-size: 33px;
    }

    .page-hero h2 {
        font-size: 32px;
    }

    .button {
        gap: 14px;
        min-height: 0;
        padding: 16px 18px;
        line-height: 1.2;
    }

    .assurance-panel,
    .contact-panel {
        padding: 24px;
    }
}

/* Minimal dark landing concept */
.home-body--void {
    --void-bg: #010711;
    --void-ink: #f7f9fc;
    --void-muted: rgba(247, 249, 252, 0.72);
    --void-line: rgba(247, 249, 252, 0.14);
    --void-gold: #a9864d;
    min-height: 100vh;
    background: var(--void-bg);
    color: var(--void-ink);
}

.home-body--void .void-main {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--void-bg);
}

.void-header {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 34px max(28px, calc((100vw - var(--max)) / 2));
    background: transparent;
    border: 0;
}

.void-brand {
    color: #fff;
    text-decoration: none;
}

.void-brand h1 {
    margin: 0;
    color: #fff;
    font-family: var(--font-logo);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
}

.void-language {
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
}

.void-language details {
    position: relative;
}

.void-language summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 42px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    list-style: none;
}

.void-language summary::-webkit-details-marker {
    display: none;
}

.void-language summary::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.78;
}

.void-language__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    min-width: 136px;
    max-width: calc(100vw - 40px);
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: #102239;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[dir="rtl"] .void-language__menu {
    right: auto;
    left: 0;
    text-align: right;
}

.void-language__menu a {
    border-radius: 9px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    white-space: nowrap;
}

.void-language__menu a:hover,
.void-language__menu a:focus,
.void-language__menu a[aria-current="true"] {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.void-landing {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: 148px max(28px, calc((100vw - var(--max)) / 2)) 96px;
    overflow: hidden;
}

.void-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 13%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.4px),
        radial-gradient(circle at 91% 31%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.6px),
        radial-gradient(ellipse at 72% 12%, rgba(210, 228, 255, 0.15), transparent 34%),
        linear-gradient(90deg, rgba(1, 7, 17, 0.98) 0%, rgba(1, 7, 17, 0.9) 34%, rgba(1, 7, 17, 0.58) 58%, rgba(1, 7, 17, 0.78) 100%),
        linear-gradient(180deg, rgba(1, 7, 17, 0.08), rgba(1, 7, 17, 0.66)),
        radial-gradient(circle at 78% 38%, rgba(80, 130, 190, 0.24), transparent 34%),
        radial-gradient(circle at 18% 84%, rgba(169, 134, 77, 0.13), transparent 30%),
        url("/visuals/skyyware-void-hero.webp") 72% 50% / cover no-repeat;
    transform: scale(1.02);
}

.void-landing::after {
    content: none;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image:
        linear-gradient(90deg, transparent, #000 18%, #000 70%, transparent),
        linear-gradient(180deg, transparent, #000 20%, #000 86%, transparent);
    opacity: 0.45;
}

.void-landing__inner {
    width: min(100%, 1040px);
}

.void-kicker {
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.void-kicker::before {
    content: "";
    display: block;
    width: 89px;
    height: 1px;
    margin: 0 0 30px;
    background: var(--void-gold);
}

.void-landing h2 {
    max-width: 1040px;
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: 92px;
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: 0;
    text-wrap: balance;
}

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

.home-body--void a.button.button--primary.void-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-width: 218px;
    min-height: 56px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    background: #f7f9fc;
    color: #010711;
    box-shadow: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
}

.home-body--void a.button.button--primary.void-button:visited {
    color: #010711;
}

.home-body--void a.button.button--primary.void-button:hover,
.home-body--void a.button.button--primary.void-button:focus,
.home-body--void a.button.button--primary.void-button:focus-visible,
.home-body--void a.button.button--primary.void-button:active {
    transform: none;
    border-color: #fff;
    background: #fff;
    color: #010711;
    box-shadow: none;
}

.home-body--void .void-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

[dir="rtl"] .home-body--void .void-button svg {
    transform: scaleX(-1);
}

.void-mail {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--void-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    unicode-bidi: isolate;
}

.void-mail:visited {
    color: var(--void-muted);
}

.void-mail:hover,
.void-mail:focus {
    color: var(--void-muted);
}

.void-footer {
    position: absolute;
    z-index: 11;
    right: max(28px, calc((100vw - var(--max)) / 2));
    bottom: 30px;
    display: flex;
    gap: 24px;
    margin: 0;
}

.void-footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}

.void-footer a:hover,
.void-footer a:focus {
    color: #fff;
}

.home-body--void .void-main--legal {
    min-height: 100vh;
    overflow: visible;
}

.void-header--legal {
    position: sticky;
    background: rgba(1, 7, 17, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.void-legal-page {
    min-height: 100vh;
    padding: 96px max(28px, calc((100vw - var(--max)) / 2)) 44px;
    background:
        radial-gradient(circle at 78% 8%, rgba(80, 130, 190, 0.22), transparent 32%),
        radial-gradient(circle at 16% 96%, rgba(169, 134, 77, 0.12), transparent 28%),
        var(--void-bg);
    color: var(--void-ink);
}

.void-legal-shell {
    width: min(100%, var(--max));
    margin: 0 auto;
}

.void-legal-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
    gap: 64px;
    padding: 34px 0 54px;
    border-top: 1px solid var(--void-gold);
    border-bottom: 0;
}

.void-kicker--legal {
    margin-bottom: 22px;
}

.void-kicker--legal::before {
    display: none;
}

.void-legal-hero h2 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
}

.void-legal-meta {
    display: grid;
    gap: 18px;
    color: var(--void-muted);
    font-size: 15px;
    line-height: 1.65;
}

.void-legal-meta p {
    margin: 0;
}

.void-legal-meta strong,
.void-legal-card h3 {
    color: #fff;
}

.void-legal-page a,
.void-legal-page a:visited {
    color: #fff;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.24em;
}

.void-legal-page a:hover,
.void-legal-page a:focus,
.void-legal-page a:focus-visible,
.void-legal-page a:active {
    color: #fff;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.void-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 0 0;
}

.void-legal-card {
    padding: 28px;
    border: 1px solid var(--void-line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--void-muted);
    line-height: 1.7;
}

.void-legal-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.void-legal-card p {
    margin: 0;
}

.void-legal-card p + p {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .void-landing::before {
        background-position: 64% 50%;
    }

    .void-landing h2 {
        font-size: 64px;
        line-height: 1;
    }

    .void-legal-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .void-legal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .void-header {
        gap: 20px;
        padding: 28px 26px;
    }

    .void-brand h1 {
        font-size: 24px;
    }

    .void-landing {
        align-items: end;
        min-height: 100dvh;
        padding: 126px 26px 104px;
    }

    .void-landing::before {
        background:
            radial-gradient(circle at 64% 10%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px),
            radial-gradient(circle at 78% 17%, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.5px),
            radial-gradient(ellipse at 72% 8%, rgba(210, 228, 255, 0.12), transparent 34%),
            linear-gradient(180deg, rgba(1, 7, 17, 0.68) 0%, rgba(1, 7, 17, 0.92) 50%, #010711 100%),
            radial-gradient(circle at 72% 24%, rgba(80, 130, 190, 0.25), transparent 32%),
            url("/visuals/skyyware-void-hero.webp") 58% 50% / cover no-repeat;
        transform: scale(1.02);
    }

    .void-landing::after {
        background-size: 88px 88px;
    }

    .void-kicker {
        margin-bottom: 28px;
        font-size: 17px;
    }

    .void-language summary {
        font-size: 12px;
    }

    .void-language__menu {
        right: 0;
        left: auto;
    }

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

    .void-kicker::before {
        width: 72px;
        margin-bottom: 26px;
    }

    .void-landing h2 {
        max-width: 12ch;
        font-size: 47px;
        line-height: 1.02;
    }

    .void-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-top: 42px;
    }

    .home-body--void .void-button {
        width: 100%;
    }

    .void-mail {
        width: 100%;
        justify-content: flex-start;
    }

    .void-footer {
        right: auto;
        bottom: 28px;
        left: 26px;
    }

    .void-legal-page {
        padding: 40px 24px 36px;
    }

    .void-legal-hero {
        gap: 28px;
        padding: 22px 0 36px;
    }

    .void-legal-hero h2 {
        font-size: 40px;
        line-height: 1.04;
    }

    .void-legal-card {
        padding: 22px;
    }
}
