:root {
    --bg: #f6f8f7;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --text: #1b2f47;
    --muted: #5a6b78;
    --line: rgba(19, 40, 61, 0.12);
    --primary: #1f3863;
    --primary-2: #014e8d;
    --accent: #247a5b;
    --accent-soft: #dff2e8;
    --success: #d8ebe0;
    --shadow: 0 24px 70px rgba(14, 31, 48, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, #f9fbfa 0%, #eef5f7 48%, #ffffff 100%);
    line-height: 1.65;
}

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

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

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary-2);
}

.page-shell {
    min-height: 100vh;
}

.topbar {
    background: #11273d;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}

.topbar__info,
.topbar__social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand .custom-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(13, 34, 54, 0.18));
}

.brand__mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #0d2236);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
}

.brand__mark--image {
    width: auto;
    height: 42px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.brand__text {
    display: none;
}

.brand__text strong,
.brand__text span {
    display: block;
}

.brand__text strong {
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}

.brand__text span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.site-nav a {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(19, 40, 61, 0.76);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent);
}

.button,
.button-secondary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    text-transform: uppercase;
    transition: 180ms ease;
}

.button {
    background: var(--accent);
    color: #fff;
}

.button:hover {
    transform: translateY(-1px);
    background: #1f6f50;
}

.button-secondary {
    background: var(--primary);
    color: #fff;
}

.button-secondary:hover {
    background: var(--primary-2);
}

.button-ghost {
    border: 1px solid rgba(229, 231, 235, 0.48);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(229, 231, 235, 0.14);
}

.button-ghost--light {
    border-color: rgba(19, 40, 61, 0.16);
    color: var(--primary);
    background: rgba(19, 40, 61, 0.04);
}

.button-ghost--light:hover {
    background: rgba(19, 40, 61, 0.08);
}

.contact-card .button-ghost {
    border-color: rgba(19, 40, 61, 0.16);
    color: var(--primary);
    background: rgba(19, 40, 61, 0.04);
}

.contact-card .button-ghost:hover {
    background: rgba(19, 40, 61, 0.08);
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(17, 39, 61, 0.94)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 36px 36px, 36px 36px;
}

.hero--front-image {
    min-height: 76vh;
    background: #10263c;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    background: #10263c;
}

.hero__background img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.hero--front-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(10, 24, 39, 0.82), rgba(17, 43, 66, 0.76)),
        linear-gradient(180deg, rgba(10, 24, 39, 0.18), rgba(10, 24, 39, 0.38));
    pointer-events: none;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(47, 155, 112, 0.18), transparent 34%),
        linear-gradient(180deg, transparent 58%, rgba(31, 56, 99, 0.2));
    pointer-events: none;
}

.hero .container,
.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    min-height: 84vh;
    padding: 4.5rem 0 5rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    grid-template-areas:
        "content media"
        "panel media";
}

.hero__content {
    grid-area: content;
}

.hero--front-image .hero__grid {
    min-height: 76vh;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    grid-template-areas: "content panel";
    align-items: stretch;
}

.hero--front-image .hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hero--front-image .hero__panel {
    display: flex;
    align-self: start;
    margin-top: 2.15rem;
    min-height: calc(100% - 2.15rem);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero--front-image .hero__stats {
    margin-top: auto;
    padding-top: 2.4rem;
}

.hero--front-image .hero__panel__inner {
    width: 100%;
}

.hero__content h1,
.page-hero h1,
.section-title,
.card h3,
.profile-intro h2 {
    font-family: "Merriweather", serif;
    letter-spacing: -0.04em;
}

.hero__content h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3.2rem, 7vw, 5.9rem);
    line-height: 0.95;
}

.hero__content p {
    max-width: 46rem;
    margin: 1.5rem 0 0;
    font-size: 1.08rem;
    color: #e5e7eb;
}

.hero__actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero__actions br,
.cta-actions br {
    display: none;
}

.hero__panel,
.glass-card,
.card,
.contact-card,
.profile-intro,
.reference-card,
.process-card,
.faq-item {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero__panel {
    border-radius: var(--radius-xl);
    color: var(--text);
    padding: 1.4rem;
    grid-area: panel;
    max-width: 46rem;
}

.hero__panel__inner {
    border-radius: 26px;
    background: #fff;
    padding: 1.5rem;
}

.hero-panel-title {
    margin-bottom: 0.9rem;
}

.hero__media {
    grid-area: media;
    border-radius: 30px;
    overflow: hidden;
    min-height: 100%;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.16);
    align-self: stretch;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 26, 42, 0.03), rgba(11, 26, 42, 0.24)),
        linear-gradient(90deg, rgba(11, 26, 42, 0.12), transparent 42%);
    pointer-events: none;
}

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

.hero__media--building img {
    object-position: center 42%;
}

.hero--front-image .hero__media {
    display: none;
}

.hero__stats,
.quick-points {
    display: grid;
    gap: 1rem;
}

.hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.4rem;
}

.hero__stat,
.mini-card {
    border-radius: 24px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat strong {
    display: block;
    font-size: 1.9rem;
}

.hero__stat span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e5e7eb;
}

.fri-logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 154px);
    padding: 0.55rem 0.7rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(10, 24, 39, 0.18);
}

.fri-logo-chip img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__stat .fri-logo-chip + span {
    color: #e5e7eb;
}

.section {
    padding: 4.5rem 0;
}

.entry-content .section + .section:not(.split--dark) {
    padding-top: 2.75rem;
}

.section--tight {
    padding-top: 2rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
}

.section-intro {
    max-width: 54rem;
    margin-top: 1rem;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 1.4rem;
}

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

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

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

.card {
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
}

.card .kicker {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.card h3 {
    margin: 0.9rem 0 0;
    font-size: 1.7rem;
}

.card p,
.card li,
.reference-card p,
.contact-card p,
.faq-item p,
.prose p,
.prose li {
    color: var(--muted);
}

.card ul,
.check-list,
.link-list,
.contact-list,
.feature-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.card li,
.check-list li,
.feature-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-top: 0.75rem;
}

.card li::before,
.check-list li::before,
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card__action {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card__action .button-secondary {
    text-align: center;
}

.panel-band {
    margin-top: -2rem;
}

.panel-band--front {
    margin-top: 1rem;
}

.panel-band .container {
    padding: 0;
}

.panel-band__inner {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.split {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.split--dark {
    background: #0f172a;
    color: #fff;
}

.split--dark .section-intro,
.split--dark p,
.split--dark li {
    color: #e5e7eb;
}

.split--dark .card {
    color: var(--text);
}

.split--dark .card h3 {
    color: var(--primary);
}

.split--dark .card p,
.split--dark .card li {
    color: var(--muted);
}

.split--dark .text-link {
    color: #fff;
    text-decoration-color: rgba(229, 231, 235, 0.72);
}

.split--dark .text-link:hover {
    color: #e5e7eb;
    text-decoration-color: #fff;
}

.prose {
    max-width: 70ch;
}

.metric-strip {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.metric {
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
}

.metric span {
    color: #e5e7eb;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.section.split--dark,
.section.split--dark * {
    color: #e5e7eb !important;
}

.section.split--dark h1,
.section.split--dark h2,
.section.split--dark h3,
.section.split--dark h4,
.section.split--dark .eyebrow,
.section.split--dark .kicker,
.section.split--dark strong {
    color: #fff !important;
}

.section.split--dark p,
.section.split--dark li,
.section.split--dark span {
    color: #e5e7eb !important;
}

.section.split--dark .card,
.section.split--dark .panel {
    color: var(--text) !important;
}

.section.split--dark .card *,
.section.split--dark .panel * {
    color: inherit !important;
}

.section.split--dark .card h1,
.section.split--dark .card h2,
.section.split--dark .card h3,
.section.split--dark .card h4,
.section.split--dark .panel h1,
.section.split--dark .panel h2,
.section.split--dark .panel h3,
.section.split--dark .panel h4 {
    color: var(--primary) !important;
}

.section.split--dark .card .kicker,
.section.split--dark .panel .kicker {
    color: var(--accent) !important;
}

.section.split--dark .card p,
.section.split--dark .card li,
.section.split--dark .panel p,
.section.split--dark .panel li {
    color: var(--muted) !important;
}

.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(17, 39, 61, 0.94));
    color: #fff;
}

.page-hero--image {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(17, 39, 61, 0.76)),
        var(--hero-image) center/cover no-repeat;
}

.page-hero--building {
    background-position: center 40%;
}

.page-hero--water {
    background-position: center 48%;
}

.page-hero--road {
    background-position: center 52%;
}

.page-hero--technical {
    background-position: center 44%;
}

.page-hero--comfort {
    background-position: center 46%;
}

.page-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.97;
}

.page-hero p {
    max-width: 52rem;
    margin-top: 1.2rem;
    color: #e5e7eb;
}

.breadcrumbs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.breadcrumbs span:last-child {
    color: #fff;
}

.contact-card {
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 251, 0.86));
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.contact-list li,
.link-list li {
    margin-top: 0.65rem;
    color: var(--muted);
}

.contact-list a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(19, 40, 61, 0.22);
    text-underline-offset: 0.14em;
}

.contact-list a:hover {
    color: var(--accent);
    text-decoration-color: rgba(200, 108, 66, 0.5);
}

.reference-card {
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    border: 1px solid rgba(19, 40, 61, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.reference-card--project {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.reference-card--project:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 74px rgba(14, 31, 48, 0.16);
}

.reference-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe7ed;
}

.reference-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.reference-card--project:hover .reference-card__image img {
    transform: scale(1.025);
}

.reference-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.reference-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.reference-card .meta {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.reference-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1.45rem;
}

.reference-card dl {
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.8rem;
    font-size: 0.95rem;
}

.reference-card dt {
    color: var(--primary);
    font-weight: 800;
}

.reference-card dd {
    margin: 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--primary-2);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: rgba(1, 78, 141, 0.24);
    text-underline-offset: 0.18em;
}

.text-link:hover {
    color: var(--accent);
    text-decoration-color: rgba(36, 122, 91, 0.52);
}

.reference-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.reference-filter__button {
    border: 1px solid rgba(19, 40, 61, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.72rem 1rem;
    text-transform: uppercase;
    transition: 160ms ease;
}

.reference-filter__button:hover,
.reference-filter__button.is-active {
    border-color: transparent;
    background: var(--primary);
    color: #fff;
}

.reference-grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.reference-related {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0 2.75rem;
}

.reference-related .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.5rem;
    align-items: start;
    overflow: hidden;
}

.reference-related .eyebrow,
.reference-related .section-title {
    grid-column: 1;
}

.reference-related .section-title {
    font-size: clamp(2rem, 3vw, 3.1rem);
    max-width: 56rem;
}

.reference-related .section-intro {
    grid-column: 1;
    max-width: 56rem;
}

.reference-related__action {
    display: flex;
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-content: flex-end;
    margin-top: 0.15rem;
}

.reference-related .reference-grid--compact {
    grid-column: 1 / -1;
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    margin-top: 1.35rem;
    margin-right: calc(-1 * max(1rem, (100vw - var(--max)) / 2));
    padding: 0 1rem 0.75rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 0;
    scroll-snap-type: inline mandatory;
    scrollbar-color: rgba(31, 56, 99, 0.28) transparent;
    scrollbar-width: thin;
}

.reference-related .reference-card--project {
    flex: 0 0 clamp(260px, 28vw, 335px);
    min-height: 0;
    border-radius: 18px;
    scroll-snap-align: start;
}

.reference-related .reference-card__image {
    aspect-ratio: 16 / 7.5;
}

.reference-related .reference-card__body {
    padding: 0.95rem;
}

.reference-related .reference-card__tags {
    flex-wrap: nowrap;
    max-height: 1.72rem;
    overflow: hidden;
}

.reference-related .reference-card__tags .meta:nth-child(n + 3) {
    display: none;
}

.reference-related .reference-card .meta {
    padding: 0.38rem 0.58rem;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.reference-related .reference-card h3 {
    display: -webkit-box;
    min-height: 2.9em;
    margin: 0.8rem 0 0.45rem;
    overflow: hidden;
    font-size: 1.08rem;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.reference-related .reference-card p {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.reference-related .reference-card dl {
    display: none;
}

.reference-related .text-link {
    padding-top: 0.9rem;
    font-size: 0.74rem;
}

.reference-card.is-hidden {
    display: none;
}

.reference-detail__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    align-items: start;
}

.project-facts {
    position: sticky;
    top: 112px;
    border: 1px solid rgba(19, 40, 61, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.project-facts h2,
.project-facts h3 {
    margin: 0;
}

.project-facts h2 {
    font-size: 1.45rem;
}

.project-facts h3 {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.project-facts dl {
    display: grid;
    gap: 1rem;
    margin: 1.2rem 0 0;
}

.project-facts__item {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.9rem;
}

.project-facts__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.project-facts dt {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-facts dd {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.service-tag {
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.5rem 0.72rem;
}

.project-pdf {
    width: 100%;
    margin-top: 1.5rem;
}

.project-contact {
    margin-top: 1.4rem;
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
}

.project-contact p {
    margin: 0.35rem 0 0;
}

.project-contact a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(19, 40, 61, 0.22);
    text-underline-offset: 0.14em;
}

.reference-detail__body {
    max-width: 76ch;
}

.reference-detail__body .lead {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 650;
}

.team-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 40, 61, 0.08);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 74px rgba(14, 31, 48, 0.16);
}

.team-card__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #dfe7ed;
    position: relative;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 220ms ease;
}

.team-card:hover .team-card__image img {
    transform: scale(1.02);
}

.team-card__body {
    padding: 1.05rem 1.05rem 1.2rem;
}

.team-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.team-role {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.contact-persons {
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(238, 244, 248, 0.78), rgba(255, 255, 255, 0.96));
}

#kontaktpersoner {
    scroll-margin-top: 7rem;
}

.contact-persons__layout {
    align-items: center;
}

.contact-persons__cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.expert-byline {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.55;
    margin: 1rem 0 0.65rem;
}

.expert-byline__label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.expert-byline a {
    color: var(--accent);
    text-decoration: none;
}

.expert-byline a:hover {
    text-decoration: underline;
}

.contact-person-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
    box-shadow: 0 24px 64px rgba(14, 31, 48, 0.12);
}

.contact-person-card__image {
    aspect-ratio: auto;
    min-height: 100%;
    border-right: 1px solid rgba(19, 40, 61, 0.08);
}

.contact-person-card__image img {
    object-position: center 18%;
}

.contact-person-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 1rem;
}

.contact-person-card h3 {
    font-size: 1.06rem;
}

.contact-person-card .team-role {
    margin-top: 0.35rem;
    font-size: 0.7rem;
}

.contact-person-card .contact-list {
    margin-top: 0.7rem;
}

.contact-person-card .contact-list li {
    margin-top: 0.38rem;
    font-size: 0.95rem;
}

.contact-person-card__actions {
    margin-top: auto;
    padding-top: 0.85rem;
    gap: 0.55rem;
}

.contact-person-card__actions .button-secondary,
.contact-person-card__actions .button-ghost {
    padding: 0.68rem 0.78rem;
    font-size: 0.86rem;
}

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

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

.process-card {
    border-radius: var(--radius-md);
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.process-card h3 {
    margin: 0.7rem 0 0.45rem;
}

.process-card strong {
    display: block;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.split--dark .process-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.split--dark .process-card h3 {
    color: #fff;
}

.split--dark .process-card p {
    color: #e5e7eb;
}

.faq-item {
    border-radius: var(--radius-md);
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.faq-item h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.technical-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.technical-figure,
.technical-video {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 40, 61, 0.08);
    background: #fff;
    box-shadow: 0 16px 40px rgba(19, 40, 61, 0.08);
}

.technical-figure img,
.technical-video video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e8edf2;
}

.technical-video video {
    aspect-ratio: 5 / 4;
}

.technical-figure--diagram img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 0.8rem;
}

.technical-figure figcaption,
.technical-video figcaption {
    padding: 0.9rem 1rem 1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.before-after {
    --position: 50%;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 40, 61, 0.08);
    background: #fff;
    box-shadow: 0 16px 40px rgba(19, 40, 61, 0.08);
}

.before-after--wide {
    margin: 2rem 0;
}

.before-after__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8edf2;
}

.before-after__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after__image--before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
    z-index: 2;
}

.before-after__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    z-index: 3;
    width: 2px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(19, 40, 61, 0.18), 0 0 18px rgba(19, 40, 61, 0.22);
    transform: translateX(-50%);
    pointer-events: none;
}

.before-after__handle {
    position: absolute;
    top: 50%;
    left: var(--position);
    z-index: 4;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 2px solid #fff;
    background: rgba(19, 40, 61, 0.88);
    box-shadow: 0 10px 24px rgba(19, 40, 61, 0.28);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.before-after__handle::before,
.before-after__handle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.before-after__handle::before {
    left: 0.55rem;
    transform: translateY(-50%) rotate(-45deg);
}

.before-after__handle::after {
    right: 0.55rem;
    transform: translateY(-50%) rotate(135deg);
}

.before-after__range {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.before-after__label {
    position: absolute;
    top: 0.8rem;
    z-index: 4;
    max-width: calc(50% - 1rem);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    background: rgba(19, 40, 61, 0.82);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.before-after__label--before {
    left: 0.8rem;
}

.before-after__label--after {
    right: 0.8rem;
}

.before-after figcaption {
    padding: 0.9rem 1rem 1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.before-after:focus-within .before-after__handle {
    outline: 3px solid rgba(27, 133, 184, 0.35);
    outline-offset: 3px;
}

.cta {
    padding: 1.5rem 0 5rem;
}

.cta__box {
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    color: #fff;
    background: linear-gradient(135deg, #1f3863, #014e8d 58%, #2f9b70 145%);
    box-shadow: var(--shadow);
}

.cta__box .section-title,
.cta__box p {
    color: #fff;
}

.cta__box .cta__lead {
    max-width: 58rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.08rem;
    line-height: 1.7;
    text-shadow: 0 1px 1px rgba(10, 24, 39, 0.2);
}

.cta__box .eyebrow {
    color: #e5e7eb !important;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
}

.floating-contact {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: 999px;
    background: rgba(19, 40, 61, 0.9);
    box-shadow: 0 22px 48px rgba(13, 34, 54, 0.22);
    backdrop-filter: blur(14px);
    transform: translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.floating-contact.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cmplz-banner-active .floating-contact {
    opacity: 0;
    pointer-events: none;
}

.floating-contact__primary,
.floating-contact__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: 180ms ease;
}

.floating-contact__primary {
    background: var(--accent);
    color: #fff;
}

.floating-contact__primary:hover {
    background: #277f5c;
}

.floating-contact__secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.floating-contact__secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-footer .container {
    display: grid;
    gap: 1.05rem;
    padding: 1.35rem 0 1.7rem;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.4rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.footer-brand {
    max-width: 62rem;
}

.footer-brand p {
    margin: 0.2rem 0 0;
}

.footer-contactline {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    min-width: min(100%, 24rem);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-contactline a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

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

.footer-grid {
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer h3 {
    margin: 0 0 0.45rem;
    font-size: 0.96rem;
}

.site-footer p,
.site-footer li {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer .link-list li {
    margin-top: 0.42rem;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-cert {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-cert img {
    width: 74px;
    height: auto;
}

.fri-membership {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.fri-membership img {
    display: block;
    width: min(100%, 170px);
    height: auto;
}

.fri-membership span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.fri-membership--footer {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
}

.fri-membership--footer img {
    width: 156px;
}

.fri-membership--card {
    box-shadow: none;
}

.skip-link {
    position: absolute;
    left: -999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 99;
    background: #fff;
    color: var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 14px;
}

.entry-content {
    overflow: hidden;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: "Merriweather", serif;
    letter-spacing: -0.04em;
}

.entry-content p,
.entry-content li {
    color: var(--muted);
}

.entry-content > p:not(.eyebrow),
.entry-content > h2,
.entry-content > h3,
.entry-content > ul,
.entry-content > ol {
    width: min(calc(100% - 2rem), 760px);
    margin-left: auto;
    margin-right: auto;
}

.entry-content > p:first-child {
    margin-top: 0;
}

#cmplz-manage-consent-container-nojavascript {
    display: none;
}

#cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent {
    display: none !important;
}

.cmplz-cookiebanner .cmplz-categories summary {
    list-style: none;
}

.cmplz-cookiebanner .cmplz-categories summary::marker {
    content: "";
    font-size: 0;
}

.cmplz-cookiebanner .cmplz-categories summary::-webkit-details-marker {
    display: none;
}

.entry-content .cmplz-manage-consent-container,
.entry-content #cmplz-cookies-overview {
    margin-top: 1.25rem;
}

.entry-content .cmplz-manage-consent-container,
.entry-content #cmplz-cookies-overview,
.entry-content #cmplz-cookies-overview table {
    width: 100%;
}

.entry-content #cmplz-cookies-overview table {
    border-collapse: collapse;
}

.entry-content #cmplz-cookies-overview th,
.entry-content #cmplz-cookies-overview td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.entry-content #cmplz-cookies-overview th {
    color: var(--text);
    font-weight: 800;
}

.entry-content #cmplz-cookies-overview td,
.entry-content #cmplz-cookies-overview li,
.entry-content .cmplz-manage-consent-container {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .split,
    .footer-grid,
    .reference-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .process-grid,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .topbar__info,
    .topbar__social {
        justify-content: center;
    }

    .site-header .container {
        min-height: 78px;
        gap: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 46px;
        height: 46px;
        padding: 0 0.9rem;
        border-radius: 14px;
        background: rgba(19, 40, 61, 0.06);
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow);
        border: 1px solid rgba(19, 40, 61, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .site-nav a {
        width: 100%;
        padding: 0.85rem 0.3rem;
        border-bottom: 1px solid rgba(19, 40, 61, 0.08);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .floating-contact {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        justify-content: stretch;
        gap: 0.6rem;
    }

    .floating-contact__primary,
    .floating-contact__secondary {
        flex: 1 1 0;
        min-width: 0;
    }

    .hero__grid,
    .hero--front-image .hero__grid {
        min-height: auto;
        padding: 4rem 0 4.25rem;
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "media"
            "panel";
    }

    .hero--front-image .hero__grid {
        grid-template-areas:
            "content"
            "panel";
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: 12ch;
        font-size: clamp(2.9rem, 7vw, 4.7rem);
    }

    .hero__content p,
    .page-hero p {
        max-width: 44rem;
        font-size: 1rem;
    }

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

    .hero__panel {
        max-width: none;
    }

    .hero__media {
        max-width: 44rem;
    }

    .page-hero {
        padding: 4.25rem 0 3.4rem;
    }

    .panel-band {
        margin-top: 0;
    }

    .panel-band--front {
        margin-top: 0;
    }

    .reference-detail__grid {
        grid-template-columns: 1fr;
    }

    .project-facts {
        position: static;
    }
}

@media (max-width: 820px) {
    .reference-related .container {
        display: block;
    }

    .reference-related__action {
        justify-content: flex-start;
        margin-top: 1.2rem;
    }

    .site-header .container {
        min-height: 74px;
    }

    .footer-top {
        display: grid;
        gap: 0.8rem;
    }

    .footer-contactline {
        justify-content: flex-start;
        min-width: 0;
    }

    .hero__grid,
    .footer-grid,
    .reference-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .process-grid,
    .team-grid,
    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        padding: 3.4rem 0 3.8rem;
        grid-template-areas:
            "content"
            "media"
            "panel";
    }

    .hero--front-image .hero__grid {
        grid-template-areas:
            "content"
            "panel";
    }

    .hero__media img {
        min-height: 320px;
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.4rem, 9vw, 3.6rem);
    }

    .hero__actions,
    .cta-actions {
        gap: 0.75rem;
    }

    .footer-grid {
        gap: 1.35rem;
    }

    .panel-band {
        margin-top: 0;
    }

    .brand__mark--image {
        height: 36px;
    }

    .team-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--max));
    }

    .topbar {
        font-size: 0.82rem;
    }

    .topbar .container {
        padding: 0.65rem 0;
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: none;
    }

    .hero__content p,
    .page-hero p {
        font-size: 0.96rem;
    }

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

    .hero__stat strong {
        font-size: 1.65rem;
    }

    .button,
    .button-secondary,
    .button-ghost {
        width: 100%;
    }

    .site-nav {
        left: 0.65rem;
        right: 0.65rem;
    }

    .team-grid--compact {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .team-grid--compact .team-card {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: stretch;
    }

    .team-grid--compact .team-card__image {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .team-grid--compact .team-card__image img {
        object-position: center 18%;
    }

    .team-grid--compact .team-card__body {
        padding: 0.9rem 0.95rem 1rem;
    }

    .team-grid--compact .team-card h3 {
        font-size: 1.05rem;
    }

    .team-grid--compact .contact-list li {
        margin-top: 0.45rem;
        font-size: 0.92rem;
    }

    .floating-contact {
        padding: 0.55rem;
        gap: 0.5rem;
    }

    .floating-contact__primary,
    .floating-contact__secondary {
        min-height: 46px;
        padding: 0.8rem 0.85rem;
        font-size: 0.72rem;
    }
}
