body {
    --se-deep: #082432;
    --se-ocean: #113547;
    --se-air: #f1f6f6;
    --se-shore: #e8f1f2;
    --se-foot-ink: #09232f;
    --se-mint: #7fe0e7;
}

/* The shared entry screen uses the photograph and leaves its horizon visible. */
body:has(.se-entry) { margin: 0; background: #092530; }
body:has(.se-entry) .trx_addons_scroll_to_top { display: none !important; }
.se-entry, .se-entry * { box-sizing: border-box; }
.se-entry {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
    width: 100%;
    overflow: hidden;
    background: #092531;
    color: #fff;
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
}
.se-entry > .se-entry-photo {
    position: absolute; inset: 0; z-index: -3;
    width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 59% 55%; pointer-events: none;
}
.se-entry::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: linear-gradient(90deg, #061c2a 2%, #092534f5 24%, #082535d9 40%, #0a26358f 55%, #15344616 81%),
                linear-gradient(0deg, #061d2c91 0%, transparent 35%);
}
.se-entry::after {
    content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: clamp(66px, 8vw, 120px); pointer-events: none;
    background: #0a293ae0;
    -webkit-mask: url('group-waves.svg') center bottom / 144% 100% no-repeat;
    mask: url('group-waves.svg') center bottom / 144% 100% no-repeat;
}
.se-entry-inner {
    width: min(1240px, calc(100% - clamp(48px, 13vw, 200px)));
    min-height: inherit; margin-inline: auto; position: relative;
    display: grid; align-items: center;
}
.se-entry-content { width: min(452px, 100%); padding-block: clamp(102px, 14vh, 165px) clamp(74px, 12vh, 155px); }
.se-entry-marks { display: flex; width: max-content; max-width: 100%; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
.se-entry-marks > img { display: block; width: auto; height: clamp(76px, 7.2vw, 106px); object-fit: contain; }
.se-entry-marks > span { width: 1px; height: clamp(40px, 4vw, 56px); background: #d7e9ed66; }
.se-entry #se-entry-title {
    margin: clamp(35px, 5vh, 62px) 0 clamp(24px, 3.3vh, 41px);
    font: 540 clamp(44px, 4.6vw, 74px)/1.03 Inter, 'Segoe UI', Arial, sans-serif;
    color: #fff; letter-spacing: -.056em;
}
.se-entry-languages {
    position: absolute; z-index: 1; top: clamp(24px, 4.2vh, 50px); right: 0;
    display: inline-flex; align-items: center; gap: 2px; padding: 3px;
    border: 1px solid #e7f5f67a; border-radius: 40px; background: #0c2b3bd1;
}
.se-entry-languages a {
    display: grid; place-items: center; min-width: 39px; min-height: 34px; padding: 6px 9px; border-radius: 30px;
    text-decoration: none; color: #fff; font: 650 12px/1 Inter, 'Segoe UI', Arial, sans-serif;
}
.se-entry-languages a[aria-current="page"] { background: #f0f7f7; color: #113241; }
.se-entry-languages a:hover:not([aria-current]) { background: #365667; color: #fff; }
.se-entry .post-password-form { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.se-entry .post-password-form::before { content: none; }
.se-entry .post-password-form > p { margin: 0 0 14px; color: #eff7f7; font: 400 15px/1.55 Inter, 'Segoe UI', Arial, sans-serif; }
.se-entry .post-password-form > p:empty { display: none; }
.se-entry .post-password-form > p:has(input[type="password"]) {
    display: flex; align-items: flex-end; gap: 9px; flex-wrap: wrap; margin: 0;
}
.se-entry .post-password-form label {
    display: flex; flex: 1 1 195px; min-width: 0; flex-direction: column; gap: 8px; margin: 0;
    color: #e3eff0; font: 580 14px/1.35 Inter, 'Segoe UI', Arial, sans-serif;
}
.se-entry .post-password-form input[type="password"] {
    box-sizing: border-box; width: 100%; height: 49px; min-width: 0; margin: 0; padding: 11px 14px;
    border: 1px solid #b9d4da9c; border-radius: 5px; box-shadow: none;
    color: #fff; background: #123745b8; font: 500 18px/1.3 Inter, 'Segoe UI', Arial, sans-serif;
}
.se-entry .post-password-form input[type="submit"] {
    -webkit-appearance: none; appearance: none; min-height: 49px; min-width: 104px;
    margin: 0; padding: 10px 24px; border: 1px solid transparent; border-radius: 5px; box-shadow: none;
    color: #092a37 !important; background: #91e4e8 !important;
    font: 670 14px/1.35 Inter, 'Segoe UI', Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.se-entry .post-password-form input[type="submit"]:hover { background: #b1f0ef !important; }
.se-entry :is(input, a):focus-visible { outline: 2px solid #a5eff0; outline-offset: 4px; }
.se-entry .post-password-form :is(.post-password-form-invalid-password, [role="alert"]) {
    color: #fff4e6; border-left: 2px solid #ffcc92; padding-left: 12px; margin-bottom: 14px;
}

/* The reference uses Elementor's three-layer Waves at different widths and heights. */
body .se-section {
    --se-wave-fill: #fff;
    --se-wave-height: clamp(66px, 9.35vw, 126px);
    --se-wave-scale: 1;
    --se-wave-width: 122%;
    --se-wave-mobile-height: 57px;
}
body .se-section.se-hero {
    --se-wave-height: clamp(74px, 9vw, 120px); --se-wave-width: 144%; --se-wave-mobile-height: 68px;
}
body .se-section.se-expertise { --se-wave-fill: var(--se-deep); --se-wave-scale: -1; }
body .se-section.se-projects {
    background: var(--se-deep); --se-wave-fill: var(--se-air);
    --se-wave-height: clamp(102px, 15.45vw, 208px); --se-wave-width: 254%; --se-wave-mobile-height: 76px;
}
body .se-section.se-heritage {
    background: var(--se-air); --se-wave-fill: #38212a; --se-wave-scale: -1;
    --se-wave-height: clamp(55px, 6.8vw, 96px); --se-wave-width: 144%; --se-wave-mobile-height: 50px;
}
body .se-section.se-jack { --se-wave-fill: var(--se-ocean); --se-wave-height: clamp(57px, 7vw, 102px); --se-wave-width: 132%; }
body .se-section.se-method { background: var(--se-ocean); --se-wave-scale: -1; --se-wave-height: clamp(84px, 10.7vw, 144px); --se-wave-mobile-height: 64px; }
body .se-section.se-inservice { --se-wave-fill: var(--se-air); --se-wave-height: clamp(43px, 5vw, 72px); --se-wave-mobile-height: 38px; }
body .se-section.se-brochure {
    background: var(--se-air); --se-wave-fill: var(--se-shore); --se-wave-scale: -1;
    --se-wave-height: clamp(43px, 5vw, 72px); --se-wave-width: 144%; --se-wave-mobile-height: 38px;
}
body .se-section.se-contact {
    background: var(--se-shore); --se-wave-fill: var(--se-foot-ink);
    --se-wave-height: clamp(80px, 10.7vw, 144px); --se-wave-width: 120%; --se-wave-mobile-height: 63px;
}
body .se-section.se-case { --se-wave-fill: var(--se-foot-ink); --se-wave-width: 144%; }
body .se-foot { background: var(--se-foot-ink); }
@supports ((mask-image: url('group-waves.svg')) or (-webkit-mask-image: url('group-waves.svg'))) {
    body .se-section::after {
        content: ''; position: absolute !important; inset: auto 0 -1px !important; z-index: 1;
        display: block; width: 100% !important; height: var(--se-wave-height) !important; min-height: 0;
        margin: 0 !important; border: 0; padding: 0 !important; opacity: 1; pointer-events: none;
        transform: scaleX(var(--se-wave-scale));
        background: var(--se-wave-fill);
        -webkit-mask: url('group-waves.svg') center bottom / calc(var(--se-wave-width) + 1.3px) 100% no-repeat;
        mask: url('group-waves.svg') center bottom / calc(var(--se-wave-width) + 1.3px) 100% no-repeat;
    }
    body .se-section.se-hero .se-wavewidget { display: none !important; }
}

/* Typography, picture frames and actions share the same rhythm on both languages. */
body .se-section:not(.se-hero) {
    padding-block: clamp(62px, 6.8vw, 108px) max(clamp(80px, 7.8vw, 126px), calc(var(--se-wave-height) + 24px)) !important;
}
body .se-section .se-wrap, body .se-navinner, body .se-footinner { width: min(1240px, calc(100% - clamp(48px, 13vw, 200px))) !important; }
body .se-navinner { min-height: 88px; }
body .se-nav { border-bottom-color: #d8e5e7; }
body .se-mainnav a { position: relative; padding-block: 10px; }
body .se-mainnav a::after {
    content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: #147e90;
    transform: scaleX(0); transform-origin: left; transition: transform .16s ease-out;
}
body .se-mainnav a:is(:hover,:focus-visible)::after { transform: scaleX(1); }
body .se-section .se-hero-content {
    min-height: clamp(560px, 75svh, 790px); gap: clamp(15px, 1.4vw, 22px);
    padding-block: clamp(65px, 6.8vw, 108px) max(clamp(88px, 7.8vw, 128px), calc(var(--se-wave-height) + 18px)) !important;
}
body .se-section.se-hero::before {
    background: linear-gradient(90deg, #071c29ed 0%, #082332d4 30%, #0c2b3b72 58%, #0c324013 86%), linear-gradient(0deg, #0927387d, transparent 30%);
}
body .se-section .se-hero-title .elementor-heading-title { font-weight: 570 !important; font-size: clamp(55px, 6.4vw, 102px) !important; letter-spacing: -.058em; }
body .se-section .se-hero-lead p { max-width: 51ch; line-height: 1.55 !important; }
body .se-section .se-title .elementor-heading-title { font-weight: 560 !important; font-size: clamp(35px, 4.15vw, 65px) !important; line-height: 1.065 !important; }
body .se-section .se-lead p { max-width: 64ch; line-height: 1.58 !important; }
body .se-section .se-kicker p { letter-spacing: .115em !important; }
body .se-section .se-subtitle .elementor-heading-title { font-weight: 630 !important; }
body .se-section :is(.se-title, .se-subtitle, .se-casetitle) .elementor-heading-title { color: #113444 !important; }
body :is(.se-projects, .se-method) :is(.se-title, .se-subtitle) .elementor-heading-title { color: #f2f8f8 !important; }
body .se-section.se-jack .se-jacktitle .elementor-heading-title { color: #ffe5bd !important; }
body .se-section .se-partners {
    display: inline-flex !important; width: max-content !important; max-width: 100%;
    flex-wrap: wrap !important; column-gap: 20px !important; row-gap: 9px !important;
}
body .se-section .se-partners > .se-byline {
    flex: 0 0 188px !important; width: 188px !important; max-width: 100%;
}
body .se-section .se-byline p { max-width: none; }
body .se-section .se-partnerlogos { flex: 0 0 auto; width: max-content !important; flex-wrap: nowrap !important; gap: 13px !important; }
body .se-section .se-partnerlogos > .elementor-widget { flex: 0 0 auto; width: auto !important; }
body .se-btn .elementor-button, body .se-contactform button {
    border-radius: 5px !important; text-transform: none !important; letter-spacing: 0 !important;
}
body .se-btn .elementor-button { transition: background-color .18s, border-color .18s, color .18s; }
body .se-btn .elementor-button:hover { transform: none; }
body .se-btn-primary .elementor-button { background: #83dfe6 !important; color: #0b2937 !important; }
body .se-btn-primary .elementor-button:hover { background: #a2edf0 !important; }
body .se-btn-white .elementor-button { border-color: #aed2d9 !important; background: #0b2d3b78 !important; }
body .se-btn-text .elementor-button { border-radius: 0 !important; }
body .se-btn-text .elementor-button::after { content: '→'; transition: transform .18s; }
body .se-btn-text .elementor-button:hover::after { transform: translateX(3px); }
body .se-section .se-figure img, body .se-section .se-caseimage img { display: block; border-radius: 4px !important; }
body .se-section .se-figure .se-caption { border-left: 2px solid #8ebdc4; padding-left: 10px; margin-top: 11px; }
body .se-section .se-svc { border-top-color: #c8d8dc; }
body .se-section .se-icon .elementor-icon { border-radius: 50%; }
body .se-section .se-projectgrid { gap: clamp(18px, 2.4vw, 36px) !important; }
body .se-section .se-project {
    background: #102f40; color: #f6fafa; border: 1px solid #34525f;
    border-radius: 7px; transition: border-color .18s;
}
body .se-section .se-project:focus-within, body .se-section .se-project:hover { border-color: #719da5; }
body .se-project-image img { aspect-ratio: 1.84; }
body .se-p1 .se-project-image img { object-position: 50% 42%; }
body .se-projects .se-cardcopy { flex: 1; gap: 11px !important; padding: clamp(21px, 2.35vw, 35px) !important; }
body .se-projects .se-cardcopy .se-kicker p { color: #9cdce1; }
body .se-projects .se-cardcopy .se-body p { color: #d5e3e8; }
body .se-projects .se-cardtitle .elementor-heading-title, body .se-projects .se-cardtitle a { color: #fff !important; }
body .se-projects .se-btn-text { margin-top: auto; padding-top: 6px; }
body .se-projects .se-btn-text .elementor-button { color: #9de6e8 !important; }
body .se-section .se-heritagecard { background: #fff; border: 1px solid #d2e1e3; }
body .se-section .se-originlogo { background: #133747; padding: 11px 16px; border-radius: 4px; }
body .se-section .se-methodcard { background: #193f50; border: 1px solid #42606b; border-top: 2px solid #79cbd2; }
body .se-section.se-jack .se-jackart { box-shadow: 0 12px 24px #24121c5c; }
body .se-section.se-brochure { padding-top: clamp(29px, 4vw, 65px) !important; }
body .se-brochure .se-downloadgrid { background: #fff; border: 1px solid #cedfe2; border-radius: 6px; }
body .se-contactform { padding: clamp(19px, 2.4vw, 36px); background: #fafdfe; border: 1px solid #cddde0; border-radius: 6px; }
body .se-contactform label { font-weight: 580; }
body .se-contactform :is(input,textarea):focus-visible { outline: 2px solid #148597; outline-offset: 2px; }
body .se-contactform p[role="status"]:empty { display: none; }
body .se-section .se-specs { border-color: #b9cfd4; }
body .se-case .se-casestudy { max-width: 870px; }
body .se-footinner { padding-block: clamp(31px, 3.6vw, 54px); }

/* Consent stays accessible in the normal page flow, including on the entry screen. */
.se-privacy-footer { background: var(--se-foot-ink); }
body:not(:has(.cky-consent-container, .cky-modal, [data-cky-tag="notice"])) .se-privacy-footer { display: none; }
.se-privacy-inner {
    display: flex; align-items: center; min-height: 54px; margin-inline: auto; padding-block: 3px 7px;
    width: min(1240px, calc(100% - clamp(48px, 13vw, 200px))); box-sizing: border-box;
    border-top: 1px solid #36505a;
}
body .se-privacy-footer .se-cookie-link {
    display: inline-flex; align-items: center; min-height: 42px; margin: 0; padding: 3px 0;
    border: 0; border-radius: 0; box-shadow: none; background: transparent !important;
    color: #dbe9eb !important; font: 500 13px/1.5 Inter, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer;
}
body .se-privacy-footer .se-cookie-link:hover { color: #fff !important; }
body .se-privacy-footer .se-cookie-link:focus-visible { outline: 2px solid #96e5eb; outline-offset: 4px; }
body:has(.se-entry) .se-privacy-footer { position: relative; z-index: 1; margin-top: -56px; background: transparent; }
body:has(.se-entry) .se-privacy-inner { min-height: 56px; border: 0; }

@media (max-width: 850px) {
    body .se-navinner { min-height: 76px; }
    .se-entry-content { width: min(425px, 83%); }
    .se-entry::before { background: linear-gradient(90deg, #082331f5 3%, #082332da 36%, #0b2c3b77 73%, #0a29383d), linear-gradient(0deg, #0824327d, transparent 45%); }
}
@media (max-width: 600px) {
    .se-entry-inner, body .se-section .se-wrap, body .se-navinner, body .se-footinner { width: calc(100% - 44px) !important; }
    .se-entry-inner { align-items: end; }
    .se-entry > .se-entry-photo { object-position: 66% 50%; }
    .se-entry::before { background: linear-gradient(0deg, #071e2cfb 0%, #082433f0 26%, #092738ad 54%, #0b2a3842 88%), linear-gradient(90deg, #092b395c, transparent); }
    .se-entry::after { height: 62px; bottom: 0; opacity: .82; }
    .se-entry-content { width: min(425px, 100%); padding-block: 98px max(67px, 11svh); }
    .se-entry-marks { gap: 21px; }
    .se-entry-marks > img { height: clamp(65px, 17vw, 81px); }
    .se-entry #se-entry-title { font-size: clamp(43px, 10.6vw, 60px); margin-block: 27px 25px; }
    .se-entry-languages { top: 19px; }
    .se-entry .post-password-form label { flex-basis: 145px; }
    .se-entry .post-password-form input[type="submit"] { min-width: 86px; padding-inline: 16px; }
    body .se-section::after { height: var(--se-wave-mobile-height) !important; }
    body .se-section.se-projects { --se-wave-width: 158%; }
    body .se-section:not(.se-hero) { padding-block: 53px max(71px, calc(var(--se-wave-mobile-height) + 18px)) !important; }
    body .se-section .se-hero-content { min-height: 570px; padding-block: 54px calc(var(--se-wave-mobile-height) + 18px) !important; gap: 16px; }
    body .se-section.se-hero::before { background: linear-gradient(90deg, #072332e8, #092c3b8f), linear-gradient(0deg, #082636b0, transparent); }
    body .se-section .se-hero-title .elementor-heading-title { font-size: clamp(43px, 11.2vw, 65px) !important; }
    body .se-section .se-title .elementor-heading-title { font-size: clamp(33px, 8.2vw, 43px) !important; }
    body .se-section .se-partners > .se-byline { flex-basis: 156px !important; width: 156px !important; }
    body .se-section.se-brochure { padding-top: 27px !important; }
    body .se-footinner { column-gap: 11px; }
    .se-privacy-inner { width: calc(100% - 44px); }
}
@media (max-height: 600px) and (min-width: 601px) {
    .se-entry-content { padding-block: 46px; }
    .se-entry-marks > img { height: 64px; }
    .se-entry #se-entry-title { margin-block: 22px 16px; font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
    body .se-section *, body .se-nav * { transition: none !important; }
}
