@font-face {
    font-family: "Open Sans";
    src: url("open-sans-regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("open-sans-bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

:root {
    --brand: #008aa3;
    --ink: #0e2a35;
    --body: #43434d;
    --silver: #d6d8d5;
    --pattern-gray: #a4a4a4;
    --line: #dce5e1;
    --wash: #f1f6f4;
    --error: #a22926;
    font-family: "Open Sans", system-ui, sans-serif;
    color: var(--ink);
    background: white;
    line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.shell { width: min(100% - 96px, 1240px); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 2;
    inset: 12px auto auto 12px;
    padding: 10px 16px;
    background: white;
    transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid #ebf0ed; }
.header-inner { display: flex; align-items: center; min-height: 104px; gap: 30px; }
.brand { margin-inline-start: -16px; margin-inline-end: auto; padding: 16px; }
.brand img { width: 88px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.site-nav a, .language-nav a, .language-nav summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
    font-size: .875rem;
    font-weight: 700;
}

.site-nav a { color: var(--ink); }
.site-nav a:hover { text-decoration-line: underline; }

.language-nav details { position: relative; }
.language-nav summary {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    min-width: 8.5rem;
    padding-inline: 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    list-style: none;
    cursor: pointer;
}
.language-nav summary::-webkit-details-marker { display: none; }
.language-nav summary::after {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
    content: "";
}
.language-nav [open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-nav summary:hover { background: var(--wash); }
.language-options {
    position: absolute;
    z-index: 3;
    inset: calc(100% + 5px) 0 auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    box-shadow: 0 6px 16px rgb(50 58 47 / 12%);
}
.language-nav a { display: flex; padding-inline: 10px; border-radius: 3px; }
.language-nav a:hover { background: var(--wash); text-decoration-line: underline; }
.language-nav [aria-current] {
    background: var(--silver);
    color: var(--ink);
    box-shadow: inset 0 -2px var(--brand);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    margin-block: 32px 76px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--silver);
}

.hero-copy { padding: clamp(28px, 4vw, 62px); align-self: center; }
.eyebrow, .section-index, .art-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow { margin-bottom: 20px; }
.eyebrow span { width: 20px; height: 3px; background: var(--brand); }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 {
    font-size: clamp(2.3rem, 4.25vw, 3.8rem);
    letter-spacing: -.052em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.044em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.035em; }

.hero-intro {
    max-width: 56ch;
    margin-block: 22px 28px;
    font-size: clamp(1rem, 1.45vw, 1.125rem);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--brand);
    color: white;
    font-size: max(19px, 1.1875rem);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.button:disabled { opacity: .7; cursor: wait; }
.button svg { flex: none; }

.hero-art {
    display: grid;
    align-items: end;
}

.hero-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 7px;
    /* Keep the diagonal outside the longer text lines on narrower screens. */
    background: url("pattern.svg") calc(100% + max(0px, 720px - 50vw)) center / auto 100% no-repeat;
}

.art-caption {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 18px;
    padding: 10px 13px;
    color: var(--ink);
    background: var(--silver);
    font-size: .65rem;
}

.services { margin-bottom: 76px; }
.section-index { margin-bottom: 20px; }
.section-index span {
    min-width: 30px;
    padding: 3px 4px;
    border: 1px solid var(--brand);
    border-radius: 2px;
    text-align: center;
    letter-spacing: .06em;
}

.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { padding: clamp(23px, 3.25vw, 42px); border: 1px solid var(--line); border-radius: 6px; }
.service-symbol {
    display: grid;
    width: 47px;
    height: 47px;
    margin-bottom: 21px;
    place-items: center;
    border-radius: 4px;
    background: var(--wash);
    color: var(--brand);
}

.service-card h2 { font-size: clamp(1.38rem, 2.5vw, 2.05rem); overflow-wrap: anywhere; hyphens: auto; }
.service-card p, .contact-copy > p:not(.section-index) { margin-top: 14px; color: var(--body); }

.about { background: var(--pattern-gray); }
.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
    padding-block: clamp(36px, 6vw, 78px);
}

.about .section-index span { border-color: currentColor; }
.about-copy > p:last-child { margin-top: 16px; max-width: 58ch; }
.experience {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 16px;
    padding: 12px 0 18px clamp(28px, 5vw, 64px);
    border-inline-start: 1px solid var(--ink);
    font-size: clamp(.875rem, 1.6vw, 1.125rem);
}

.experience-number {
    font-size: clamp(4rem, 8.5vw, 7rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.075em;
}

.experience-number span { font-size: .61em; vertical-align: top; }
.about-mark {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    width: clamp(44px, 6vw, 82px);
    height: auto;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(32px, 7vw, 112px);
    padding-block: clamp(45px, 6vw, 88px);
}

.contact-copy > p { max-width: 47ch; }
.contact-copy a { font-weight: 700; overflow-wrap: anywhere; }
.company { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.company dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 16px;
    margin-top: 14px;
    font-size: .9rem;
}
.company dd { font-variant-numeric: tabular-nums; }

.contact-form, .result-card {
    padding: clamp(18px, 3vw, 38px);
    border: 1px solid var(--line);
    border-radius: 6px;
}
.contact-form { background: var(--silver); }
.contact-form :focus-visible { outline-color: var(--ink); }
.contact-form h3 { margin-bottom: 22px; }

.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: grid; gap: 5px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 700; }
.field label .optional { font-weight: 400; color: var(--body); }
.field input, .field textarea {
    min-width: 0;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #6b746e;
    border-radius: 3px;
    color: var(--ink);
    background: white;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; }
.captcha-slot:not(:empty) { margin-top: 16px; }
#captcha-status:not(:empty) { margin-top: 12px; }
.contact-form button { margin-top: 16px; }

.form-result:not(:empty) {
    margin-top: 14px;
    padding: 10px 12px;
    border-inline-start: 3px solid var(--brand);
    background: white;
}

.form-result[data-state="error"] { color: var(--error); background: #fbece9; border-color: var(--error); }

.site-footer { border-top: 1px solid var(--silver); }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 24px;
    min-height: 72px;
    padding-block: 16px;
    font-size: .875rem;
}
.footer-brand { display: flex; align-items: center; gap: .45em; }
.footer-wordmark {
    position: relative;
    bottom: 3px;
    height: auto;
}
.footer-inner a { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-inner svg { transform: rotate(180deg); }
.result-card { max-width: 640px; margin-block: 50px; background: var(--wash); }
.result-card p, .result-card .button { margin-top: 16px; }

@media (min-width: 821px) {
    .hero h1:lang(bg) { font-size: clamp(2.1rem, 4.1vw, 3.375rem); }
}

@media (max-width: 1160px) {
    .hero-pattern {
        background-image: url("pattern.svg#compact");
        background-position: calc(100% + max(0px, 692px - 50vw)) center;
    }
}

@media (max-width: 1050px) {
    .shell { width: calc(100% - 64px); }
    .header-inner { gap: 16px; }
}

@media (max-width: 820px) {
    .shell { width: calc(100% - 40px); }
    .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
    .brand img { width: 72px; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; border-top: 1px solid #ebf0ed; }
    .hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); margin-block: 22px 56px; }
    .services { margin-bottom: 56px; }
    .contact { gap: 30px; }
}

@media (641px <= width <= 820px) {
    h1 { font-size: clamp(1.7rem, 4.2vw, 2.3rem); }
}

@media (max-width: 640px) {
    .shell { width: calc(100% - 32px); }
    .header-inner { gap: 0 4px; }
    .site-nav { flex-wrap: wrap; gap: 0 17px; }
    .hero, .services-grid, .about-inner, .contact { grid-template-columns: minmax(0, 1fr); }
    .hero { margin-block: 18px 42px; }
    .hero-copy { padding: 25px 20px 28px; }
    h1 { font-size: clamp(1.85rem, 7vw, 2.65rem); }
    .hero-art { position: relative; min-height: 190px; }
    .hero-pattern {
        border-radius: 0 0 7px 7px;
        background-image: url("pattern.svg");
        background-position: right center;
        background-size: max(460px, calc(100% + 150px)) auto;
    }
    .art-caption { margin: 13px; }
    .services { margin-bottom: 42px; }
    .experience { padding: 18px 0 0; border-inline-start: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 440px) {
    .form-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 365px) {
    :lang(nl) .hero h1 { font-size: clamp(1.4rem, 7.5vw, 1.85rem); }
}
