* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.navbar-menu a {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    border-bottom: 0%;
    transition: 1ms ease-in;
}
.navbar-menu a span {
    position: relative;
    display: inline-block;
}

.navbar-menu a span::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background-color: #fff;

    transition: width 0.35s ease;
}

.navbar-menu a:hover span::after {
    width: 100%;
}
body.menu-open {
    overflow: hidden;
}

.navbar-menu a:hover {
    border-bottom: #e5e5e5;
    border-bottom: 100%;
}


/* ---- HEADER ---- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: transparent;
}
/* Navbar */
.navbar {
    width: 100%;
    height: 90px;

    padding-left: 20px;
    padding-right: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-logo {
    display: flex;
    align-items: center;
}
.menu-open .navbar {
    position: relative;
    z-index: 1100;
    background: #111520;
}
.navbar-logo img {
    width: 55px;
    height: auto;
    display: block;
    z-index: 1100;
}
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;

    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-menu a{
    text-decoration: none;
    
    color: white;
    font-size: 1rem;

    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.navbar-menu a:focus,
.navbar-menu a:focus-visible,
.navbar-menu a:active {
  outline: none;
  box-shadow: none;
}

.hamburger {
    display: none;
    position: relative;
    z-index: 1100;

    flex-direction: column;
    gap: 6px;

    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 108px 24px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: radial-gradient(ellipse at 100% 100%, #243553 0%, transparent 65%), #111520;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;

    z-index: 1000;
}
.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}
.mobile-menu-inner {
    width: 100%;
    max-width: 680px;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.mobile-menu-label {
    display: block;
    color: #a7b4ca;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mobile-menu-content {
    display: flex;
    flex-direction: column;
}
.mobile-menu-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #f2f5fb;
    text-decoration: none;
    font-size: clamp(23px, 4vw, 34px);
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s ease;
}
/* .mobile-menu-content a::after {
    content: "↗";
    color: #78a7ff;
    font-size: 20px;
    flex-shrink: 0;
} */
.mobile-menu-content a:hover,
.mobile-menu-content a[aria-current="page"] {
    color: #78a7ff;
}
.mobile-menu-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 36px;
}
.mobile-menu-contact a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}
.mobile-menu-contact a span {
    color: #78a7ff;
    margin-left: 8px;
}
.mobile-language {
    display: flex;
    padding: 4px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}
.mobile-language button {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    font: 500 13px "Poppins", sans-serif;
    color: #c1cde0;
    background: transparent;
    cursor: pointer;
}
.mobile-language button[aria-pressed="true"] {
    background: #78a7ff;
    color: #101827;
}
.hamburger:focus-visible,
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible {
    outline: 2px solid #a8c5ff;
    outline-offset: 4px;
}
@media (min-width: 1025px) {
    .mobile-menu { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-menu, .hamburger span { transition: none; }
}
.switch{
    position: relative;
    display: inline-block;
    height: 30px;
    width: 56px;

    /* border: 1px solid transparent; */
    border-radius: 15px;
}
.switch-border {
    position: absolute;

    top: 0;
    left: 0;

    width: 56px;
    height: 30px;

    pointer-events: none;
    z-index: 10;
}

.switch-border rect {
    fill: none;

    stroke: #fff;
    stroke-width: 1.5;

    stroke-dasharray: 100;
    stroke-dashoffset: 100;

    transition: stroke-dashoffset 0.6s ease;
}

.switch:hover .switch-border rect {
    stroke-dashoffset: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
  position: absolute;
  inset: 0;

  background-color: transparent;
  border-radius: 999px;

  cursor: pointer;
  transition: 0.3s;
}
.slider-icon {
  position: absolute;

  width: 22px;
  height: 22px;

  left: 4px;
  top: 4px;

  border-radius: 50%;
  overflow: hidden;

  transition: transform 0.3s ease;
}

.slider-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.switch input:checked + .slider .slider-icon {
  transform: translateX(26px);
}
.lang-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    font-size: 10px;
    font-weight: 600;
    color: white;

    pointer-events: none;
    user-select: none;
}

.lang-hr {
    left: 7px;
}

.lang-en {
    right: 7px;
}
/* .slider::before {
  content: "";

  position: absolute;

  width: 22px;
  height: 22px;

  left: 4px;
  top: 4px;

  background-color: white;

  border-radius: 50%;

  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #ffffff;
}

.switch input:checked + .slider::before {
  transform: translateX(26px);
  background-color: #222; */
/* } */
.switch,
.switch input,
.slider {
  -webkit-tap-highlight-color: transparent;
}
.switch input:focus,
.switch input:focus-visible {
  outline: none;
  box-shadow: none;
}
.switch input:not(:checked) + .slider .lang-hr {
    opacity: 0;
}

.switch input:not(:checked) + .slider .lang-en {
    opacity: 1;
}
.switch input:checked + .slider .lang-hr {
    opacity: 1;
}

.switch input:checked + .slider .lang-en {
    opacity: 0;
}
.lang-text {
    transition: opacity 0.2s ease;
}

#hero {
    min-height: 100vh;

    background:
        radial-gradient(
            ellipse at 15% 100%,
            rgba(55, 100, 175, 0.65) 0%,
            rgba(30, 55, 105, 0.35) 30%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 85% 100%,
            rgba(130, 115, 165, 0.55) 0%,
            rgba(70, 65, 110, 0.25) 35%,
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #111016 0%,
            #151827 45%,
            #202742 100%
        );
}

.hero {
    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(1rem, 5vw, 4rem);
    margin: 0;
}

.hero p {
    font-size: clamp(1rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.75);
}




/* ABOUT SECTION */
.about-section {
    width: 100%;
    padding: 100px 5%;
    overflow: hidden;
}

.about-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 80px;
}


/* =========================
   LIJEVA STRANA - SLIKA
========================= */

.about-left {
    width: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.about-image {
    width: 80%;
    max-width: 460px;
    height: auto;

    display: block;

    border-radius: 10px;

    opacity: 0;

    /* kreće s lijeve strane */
    transform: translateX(-100%);

    transition:
        opacity 1.2s ease,
        transform 1.4s ease;
}


/* =========================
   DESNA STRANA - TEKST
========================= */

.about-right {
    width: 50%;
}


.about-label {
    display: block;

    opacity: 0;
    transform: translateX(80px);

    transition:
        opacity 1.1s ease,
        transform 1.3s ease;
}

.about-label h2 {
    margin: 0;

    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;

    color: #222;
}


/* =========================
   LINIJA
========================= */

.about-label-line {
    width: 180px;
    height: 3px;

    margin: 18px 0 24px;

    background: #333;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.8s ease;
    transition-delay: 0.5s;
}


/* =========================
   PARAGRAFI
========================= */

.about-right p {
    margin-top: 0;

    font-size: 16px;
    line-height: 1.7;
    opacity: 0;
    transform: translateX(80px);

    transition:
        opacity 1.1s ease,
        transform 1.3s ease;

    transition-delay: 0.25s;
    color: #666;
}


/* =========================
   AKTIVNA ANIMACIJA
========================= */

.about-section.animate .about-image {
    opacity: 1;
    transform: translateX(0);
}

.about-section.animate .about-label {
    opacity: 1;
    transform: translateX(0);
}

.about-section.animate .about-label-line {
    transform: scaleX(1);
}

.about-section.animate .about-right p {
    opacity: 1;
    transform: translateX(0);
}
/* .about-section {
    padding: 0px 5%;
    width: 100%;
}

.about-container {
    width: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.about-left {
    width: 50%;
    min-height: 500px;
    position: relative;

    overflow: hidden;
}


.about-image {
    width: 75%;
    height: auto;
    object-fit: contain;

    border-radius: 10px;

    position: absolute;

    z-index: 2;
    opacity: 0;
    transform: translateX(-100%);
    transition:
        opacity 1.5s ease,
        transform 1.7s ease;
}

.about-right {
    width: 50%;
}

.about-label {
    display: block;

    margin-bottom: 10px;
}

.about-label h2 {
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.2;

    color: #222;

    margin: 0 0 25px;
}

.about-right p {
 font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    color: #6b6b6b;
    margin: 0;
}

.about-label,
.about-right h2,
.about-right p {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 1.2s ease,
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* O NAMA */

/* .about-right.is-visible .about-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Naša priča */

.hero-stats {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);

    width: min(650px, 85%);

    display: flex;
    justify-content: center;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    padding: 3px 25px;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;

    right: 0;
    top: 5px;

    width: 1px;
    height: 55px;

    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);

    margin-bottom: 10px;
}

.stat-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 1.5px;

    color: rgba(255, 255, 255, 0.65);
}


/* ABOUT OFFER */
.services-section {
    padding: 100px 5%;
    background: #fff;
}

.services-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-label {
    display: block;
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #777;
}

.services-header h2 {
    margin: 0;

    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.2;

    color: #222;

    opacity: 0;
    transform: translateY(-30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.services-line {
    width: 180px;
    height: 3px;
    margin: 22px auto;

    background: #333;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.8s ease 0.4s;
}

.services-header p {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    color: #6b6b6b;

    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease 0.7s,
        transform 0.8s ease 0.7s;
}

.services-grid {
    width: 100%;
    max-width: 1300px;

    margin: 70px auto 0;

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(260px, 1fr)
    );

    gap: 30px;
}


.service-card {
    min-width: 0;
    background: #fff;

    border-radius: 14px;
    overflow: hidden;

    padding-bottom: 20px;
    padding-top: 10px;

    border: 1px solid rgba(0, 0, 0, 0.035);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.09),
        0 2px 6px rgba(0, 0, 0, 0.04);

    opacity: 0;
    transform: translateX(50px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.3s ease;
}


.service-card h3 {
    margin: 0 0 18px;

    text-align: center;

    font-size: 21px;
    font-weight: 600;

    color: #222;
}


.service-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

}


.service-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform 0.5s ease;
}


.service-card:hover .service-image img {
    transform: scale(1.03);
}

.services-grid.animate .service-card {
    opacity: 1;
    transform: translateX(0);
}

.services-grid.animate .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid.animate .service-card:nth-child(2) {
    transition-delay: 0.25s;
}

.services-grid.animate .service-card:nth-child(3) {
    transition-delay: 0.4s;
}

.services-grid.animate .service-card:nth-child(4) {
    transition-delay: 0.55s;
}


.service-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #6b6b6b;

    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}



/* Aktivacija animacija */

.services-header.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.services-header.animate .services-line {
    transform: scaleX(1);
}

.services-header.animate p {
    opacity: 1;
    transform: translateY(0);
}













.projects-section {
    padding: 100px 5%;
    overflow: hidden;
}

.projects-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* HEADER */

.projects-heading {
    padding: 0 30px;
    margin-bottom: 45px;
}

.projects-label {
    display: inline-block;
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.projects-heading h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
}


/* HORIZONTAL SCROLL */

.projects-scroll {
    display: flex;

    gap: 25px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 30px 30px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;
}

.projects-scroll::-webkit-scrollbar {
    display: none;
}


/* CARD */

.project-card {
    flex: 0 0 calc((100% - 25px) / 2);

    display: grid;
    grid-template-columns: 45% 55%;

    min-height: 300px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;

    overflow: hidden;

    scroll-snap-align: start;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.project-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.09);
}


/* IMAGE */

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}


/* CONTENT */

.project-content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;
}

.project-number {
    position: absolute;

    top: 25px;
    right: 30px;

    font-size: 13px;
    opacity: 0.4;
}

.project-content h3 {
    margin: 0 0 15px;

    font-size: 27px;
    line-height: 1.2;
}

.project-content p {
    margin: 0 0 25px;

    font-size: 15px;
    line-height: 1.7;

    opacity: 0.7;
}

.project-link {
    width: fit-content;

    color: inherit;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
}



.site-footer {
    background: #0b0f17;
    color: #fff;
    padding: 70px 0 25px;
    margin-top: 100px;
}

.footer-container {
    width: min(90%, 1400px);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-brand p {
    max-width: 320px;
    color: #9da6b5;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.footer-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    color: #fff;
}

.footer-column p {
    margin: 0 0 12px;
    color: #9da6b5;
    font-size: 13px;
    line-height: 1.7;
}

.footer-column strong {
    color: #dce1e8;
    font-weight: 500;
}

.footer-muted {
    font-size: 12px !important;
    color: #737d8c !important;
}


/* Registracijski tekst */

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-legal p {
    margin: 0;
    color: #6f7886;
    font-size: 12px;
    line-height: 1.7;
}


/* Donji dio */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.footer-bottom p {
    margin: 0;
    color: #687180;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #687180;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
}





/* ---- RESPONSIVE ---- */
/* Tablet */
@media (min-width: 768px) {
    
}

/* Laptop / manji desktop */
@media (min-width: 1024px) {

}

/* Desktop */
@media (min-width: 1280px) {
    
}

/* Veliki monitor */
@media (min-width: 1536px) {
    
}

@media (max-width: 900px) {
  .about-section {
        padding: 70px 5%;
    }

    .about-container {
        flex-direction: column;
        gap: 45px;
    }

    .about-left,
    .about-right {
        width: 100%;
    }

    .about-left {
        justify-content: center;
    }

    .about-image {
        width: 75%;
        max-width: 420px;
    }

    .about-right {
        max-width: 700px;
    }

    .project-card {
        flex: 0 0 100%;
    }

    .project-content {
        padding: 32px;
    }

}

@media (max-width: 1024px) {
    
    .navbar-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-brand {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
}

@media (max-width: 600px) {

    .projects-section {
        padding: 70px 0;
    }

    .projects-heading {
        padding: 0 18px;
        margin-bottom: 30px;
    }

    .projects-scroll {
        gap: 16px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .project-card {
        flex: 0 0 92%;
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .project-image {
        height: 220px;
    }

    .project-content {
        padding: 28px 25px;
    }

    .project-content h3 {
        font-size: 23px;
    }

    .site-footer {
        padding-top: 50px;
        margin-top: 70px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-links {
        gap: 18px;
    }

}



/* About page */
.about-page {
    color: #222;
    background: #fff;
}
.about-page-container {
    width: min(90%, 1250px);
    margin-inline: auto;
}
.about-page-section {
    padding-block: 100px;
    scroll-margin-top: 32px;
}
.about-page h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.22;
    letter-spacing: -1px;
}
.about-page p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}
.about-page p + p {
    margin-top: 20px;
}
.about-page .about-lead {
    color: #333;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.7;
}
.about-eyebrow {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #66758c;
}
.about-heading-line {
    width: 100px;
    height: 3px;
    margin-block: 24px 30px;
    background: #333;
    transform-origin: left;
    transition: transform 0.8s ease 0.25s;
}
.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #07101f;
}
.about-page #hero {
    min-height: 0;
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 85% 35%, rgba(60, 120, 255, 0.18), transparent 60%);
}
.about-hero-container {
    min-height: 660px;
    padding-block: 170px 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: end;
    gap: 60px;
}
.about-hero .about-eyebrow {
    color: #78a7ff;
}
.about-hero h1 {
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.15;
    letter-spacing: -2px;
    color: #fff;
}
.about-hero h1 > span {
    display: block;
}
.about-hero .about-title-accent {
    color: #78a7ff;
}
.about-hero-content > p {
    max-width: 600px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
}
.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    margin-top: 36px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.about-text-link:hover {
    color: #78a7ff;
    border-color: #78a7ff;
}
.about-hero-note {
    padding: 8px 0 8px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.about-experience-number {
    color: #fff;
    font-size: 66px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -3px;
}
.about-experience-number > span {
    color: #78a7ff;
    font-size: 40px;
    vertical-align: top;
}
.about-hero-note p {
    margin-top: 14px;
    font-size: 13px;
    color: #a4afbf;
}
.about-mission-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 80px;
}
.about-mission-visual {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
}
.about-mission-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.08;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-mission-visual:hover img {
    transform: scale(1.03);
}
.about-mission-visual figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 60px 28px 24px;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(transparent, rgba(7, 16, 31, 0.85));
}
.about-story {
    background: #f5f6f8;
}
.about-story-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 60px;
}
.about-value {
    padding-top: 26px;
    border-top: 1px solid #d8dde5;
}
.about-value-number {
    display: block;
    margin-bottom: 22px;
    color: #66758c;
    font-size: 13px;
    letter-spacing: 2px;
}
.about-value h3 {
    margin-bottom: 12px;
    font-size: 22px;
}
.about-value p {
    font-size: 15px;
}
.about-certificates-heading {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}
.about-certificates-heading .about-heading-line {
    margin-inline: auto;
    transform-origin: center;
}
.about-certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin-inline: auto;
}
.about-certificate {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.about-certificate-preview,
.about-certificate-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 210 / 297;
    border-radius: 5px;
    background: #f5f6f8;
    overflow: hidden;
}
.about-certificate-preview {
    display: block;
    aspect-ratio: auto;
    color: #fff;
    text-decoration: none;
}
.about-certificate-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 210 / 297;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.about-certificate-preview:hover img {
    transform: scale(1.03);
}
.about-certificate-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: #07101f;
    font-size: 12px;
}
.about-certificate-placeholder {
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    color: #66758c;
    text-align: center;
    font-size: 13px;
    border: 1px dashed #d1d8e2;
}
.about-certificate-placeholder svg {
    opacity: 0.6;
}
.about-certificate > figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    flex-wrap: wrap;
}
.about-certificate-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #375f9e;
    font-size: 13px;
    text-decoration: none;
    text-underline-offset: 4px;
}
.about-certificate-download:hover {
    text-decoration: underline;
}

.footer-column {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-contact {
    font-style: normal;
}

.footer-contact-label {
    display: block;
    color: #dce1e8;
    font-weight: 500;
}

.footer-contact a {
    color: #a8c5ff;
    text-decoration: none;
    text-underline-offset: 4px;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer a:focus-visible {
    outline: 2px solid #78a7ff;
    outline-offset: 4px;
}
.about-certificate > figcaption > span:last-child {
    color: #66758c;
    font-weight: 300;
}
.about-page a:focus-visible {
    outline: 3px solid #78a7ff;
    outline-offset: 5px;
}
.about-page + .site-footer {
    margin-top: 0;
}
/* Content remains visible when JavaScript or IntersectionObserver is unavailable. */
.about-page [data-about-reveal].reveal-ready {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-page [data-about-reveal].reveal-ready .about-heading-line {
    transform: scaleX(0);
}
.about-page [data-about-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.about-page [data-about-reveal].is-visible .about-heading-line {
    transform: scaleX(1);
}
@media (min-width: 901px) {
    .about-page .about-values > .reveal-ready:nth-child(2),
    .about-page .about-certificates-grid > .reveal-ready:nth-child(2) {
        transition-delay: 0.12s;
    }
    .about-page .about-values > .reveal-ready:nth-child(3),
    .about-page .about-certificates-grid > .reveal-ready:nth-child(3) {
        transition-delay: 0.24s;
    }
}
@media (max-width: 1100px) {
    .about-hero-container {
        gap: 30px;
        grid-template-columns: minmax(0, 1fr) 165px;
    }
    .about-mission-grid,
    .about-story-grid {
        gap: 40px;
    }
}
@media (max-width: 900px) {
    .about-page-section {
        padding-block: 70px;
    }
    .about-hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 150px 70px;
        gap: 45px;
    }
    .about-hero-note {
        max-width: 360px;
        display: flex;
        align-items: center;
        gap: 22px;
        padding-left: 20px;
    }
    .about-hero-note p {
        margin: 0;
    }
    .about-experience-number {
        flex-shrink: 0;
        font-size: 50px;
    }
    .about-mission-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }
    .about-mission-visual img {
        aspect-ratio: 3 / 2;
    }
    .about-values,
    .about-certificates-grid {
        gap: 20px;
    }
    .about-certificate {
        padding: 12px;
    }
}
@media (max-width: 600px) {
    .about-hero h1 {
        font-size: clamp(30px, 7.6vw, 44px);
        letter-spacing: -1px;
    }
    .about-hero-content > p {
        font-size: 16px;
    }
    .about-page-section {
        padding-block: 60px;
    }
    .about-values,
    .about-certificates-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-values {
        margin-top: 40px;
    }
    .about-value-number {
        margin-bottom: 14px;
    }
    .about-certificate {
        width: 100%;
        max-width: 380px;
        margin-inline: auto;
        padding: 20px;
    }
    .about-mission-visual figcaption {
        padding-inline: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .about-page [data-about-reveal].reveal-ready {
        opacity: 1;
        transform: none;
    }
    .about-page [data-about-reveal].reveal-ready .about-heading-line {
        transform: none;
    }
    .about-mission-visual:hover img,
    .about-certificate-preview:hover img {
        transform: none;
    }
}

/* Projects page */
.projects-page {
    background: #fff;
    color: #222;
}
.portfolio-container {
    width: min(90%, 1250px);
    margin-inline: auto;
}
.projects-page #hero {
    min-height: 0;
}
.portfolio-hero {
    padding-block: 165px 60px;
    color: #fff;
}
.portfolio-hero-copy {
    max-width: 900px;
}
.portfolio-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #66758c;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.portfolio-hero .portfolio-eyebrow,
.portfolio-accent {
    color: #78a7ff;
}
.portfolio-hero h1 {
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.15;
    letter-spacing: -2px;
}
.portfolio-hero h1 > span {
    display: block;
}
.portfolio-hero p {
    max-width: 620px;
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}
.portfolio-index {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 70px;
}
.portfolio-index a {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 12px;
    align-content: start;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.portfolio-index-number {
    grid-column: 1 / -1;
    color: #9faec6;
    font-size: 12px;
    letter-spacing: 2px;
}
.portfolio-index-arrow {
    color: #78a7ff;
    transition: transform 0.3s ease;
}
.portfolio-index a:hover {
    border-color: #78a7ff;
    color: #78a7ff;
}
.portfolio-index a:hover .portfolio-index-arrow {
    transform: translate(2px, -2px);
}
.portfolio-project {
    padding-block: 90px;
    scroll-margin-top: 24px;
}
.portfolio-project:nth-child(even) {
    background: #f5f6f8;
}
.portfolio-project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 90px;
}
.portfolio-visual {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
.portfolio-visual img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: contain;
    transition: transform 0.6s ease;
}
.portfolio-visual:hover img {
    transform: scale(1.03);
}
.portfolio-image-number {
    position: absolute;
    top: 24px;
    left: 26px;
    color: #66758c;
    font-size: 13px;
    letter-spacing: 2px;
}
.portfolio-copy h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.2;
    letter-spacing: -1px;
    overflow-wrap: break-word;
}
.portfolio-heading-line {
    width: 100px;
    height: 3px;
    margin-block: 24px 30px;
    background: #333;
    transform-origin: left;
    transition: transform 0.8s ease 0.25s;
}
.portfolio-copy p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}
.portfolio-copy .portfolio-lead {
    color: #333;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.7;
    margin-bottom: 20px;
}
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    list-style: none;
}
.portfolio-tags li {
    padding: 8px 13px;
    border: 1px solid #dce3ee;
    border-radius: 6px;
    color: #4d6282;
    font-size: 12px;
    line-height: 1.5;
}
.portfolio-end {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 40px;
    color: #66758c;
    font-size: 14px;
}
.portfolio-end a {
    flex-shrink: 0;
    display: inline-flex;
    gap: 18px;
    padding-block: 8px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #dce3ee;
    transition: border-color 0.3s ease;
}
.portfolio-end a:hover {
    border-color: #222;
}
.projects-page a:focus-visible {
    outline: 3px solid #78a7ff;
    outline-offset: 5px;
}
.projects-page + .site-footer {
    margin-top: 0;
}
.projects-page [data-reveal].reveal-ready {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.projects-page [data-reveal].reveal-ready .portfolio-heading-line {
    transform: scaleX(0);
}
.projects-page [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.projects-page [data-reveal].is-visible .portfolio-heading-line {
    transform: scaleX(1);
}
@media (min-width: 901px) {
    .portfolio-project:nth-child(even) .portfolio-visual {
        grid-column: 2;
        grid-row: 1;
    }
    .portfolio-project:nth-child(even) .portfolio-copy {
        grid-column: 1;
        grid-row: 1;
    }
    .projects-page .portfolio-copy.reveal-ready {
        transition-delay: 0.15s;
    }
}
@media (max-width: 1100px) {
    .portfolio-project-grid {
        gap: 45px;
    }
    .portfolio-index {
        gap: 20px;
    }
}
@media (max-width: 900px) {
    .portfolio-hero {
        padding-block: 140px 45px;
    }
    .portfolio-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 45px;
        gap: 10px 28px;
    }
    .portfolio-project {
        padding-block: 65px;
    }
    .portfolio-project-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .portfolio-visual img {
        height: 440px;
    }
}
@media (max-width: 600px) {
    .portfolio-hero h1 {
        font-size: clamp(30px, 7.6vw, 44px);
        letter-spacing: -1px;
    }
    .portfolio-hero p {
        font-size: 16px;
    }
    .portfolio-index {
        gap: 8px 18px;
    }
    .portfolio-index a {
        font-size: 12px;
    }
    .portfolio-project {
        padding-block: 50px;
    }
    .portfolio-visual img {
        height: 360px;
    }
    .portfolio-end {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
    .projects-page *,
    .projects-page *::before,
    .projects-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .projects-page [data-reveal].reveal-ready {
        opacity: 1;
        transform: none;
    }
    .projects-page [data-reveal].reveal-ready .portfolio-heading-line {
        transform: none;
    }
    .portfolio-visual:hover img,
    .portfolio-index a:hover .portfolio-index-arrow {
        transform: none;
    }
}

/* EU projects: preserve all source content and uncropped funding images. */
.eu-page {
    background: #fff;
    color: #222;
}
.eu-container {
    width: min(90%, 1250px);
    margin-inline: auto;
}
.eu-page #hero {
    min-height: 0;
}
.eu-hero {
    padding-block: 155px 60px;
    color: #fff;
}
.eu-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #78a7ff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.eu-hero h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.15;
    letter-spacing: -2px;
}
.eu-heading-line {
    width: 100px;
    height: 3px;
    margin-top: 28px;
    background: #78a7ff;
    transform-origin: left;
    transition: transform 0.8s ease 0.25s;
}
.eu-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-top: 60px;
}
.eu-index a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
    padding-block: 22px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.eu-index-number {
    color: #a7b4cc;
    font-size: 12px;
}
.eu-index-arrow {
    color: #78a7ff;
    transition: transform 0.3s ease;
}
.eu-index a:hover {
    color: #78a7ff;
    border-color: #78a7ff;
}
.eu-index a:hover .eu-index-arrow {
    transform: translateY(3px);
}
.eu-index a:focus-visible {
    outline: 3px solid #78a7ff;
    outline-offset: 6px;
}
.eu-project {
    padding-block: 90px;
    scroll-margin-top: 28px;
}
.eu-project:nth-of-type(odd) {
    background: #f5f6f8;
}
.eu-project-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    max-width: 1120px;
}
.eu-project-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: 4px;
    border: 1px solid #dce3ee;
    border-radius: 50%;
    color: #66758c;
    font-size: 13px;
}
.eu-project-heading h2 {
    font-size: clamp(27px, 2.7vw, 38px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.8px;
    overflow-wrap: break-word;
}
.eu-funding-images {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr 0.85fr 0.85fr;
    align-items: center;
    gap: 32px;
    padding: 30px;
    margin-block: 40px;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    background: #fff;
}
.eu-funding-image {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eu-funding-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 115px;
    object-fit: contain;
}
.eu-project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: 60px;
}
.eu-project-description {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    overflow-wrap: anywhere;
}
.eu-project-description > p + p {
    margin-top: 22px;
}
.eu-project-description > p:first-child {
    color: #333;
    font-size: 18px;
    line-height: 1.8;
}
.eu-project-description .eu-funding-statement {
    padding: 22px 24px;
    margin-top: 30px;
    border-left: 3px solid #78a7ff;
    background: #edf3fc;
    color: #344766;
}
.eu-activities-intro {
    color: #333;
    font-weight: 500;
}
.eu-activities {
    margin-top: 18px;
    padding-left: 22px;
}
.eu-activities li {
    padding-left: 6px;
}
.eu-activities li + li {
    margin-top: 12px;
}
.eu-activities li::marker {
    color: #577fbd;
}
.eu-project-facts {
    padding: 8px 28px;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    overflow-wrap: anywhere;
}
.eu-project-fact {
    padding-block: 20px;
}
.eu-project-fact + .eu-project-fact {
    border-top: 1px solid #e8ecf2;
}
.eu-project-fact dt {
    margin-bottom: 7px;
    color: #66758c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}
.eu-project-fact dd {
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}
.eu-page + .site-footer {
    margin-top: 0;
}
.eu-page [data-reveal].reveal-ready {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.eu-page [data-reveal].reveal-ready .eu-heading-line {
    transform: scaleX(0);
}
.eu-page [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
.eu-page [data-reveal].is-visible .eu-heading-line {
    transform: scaleX(1);
}
@media (max-width: 1000px) {
    .eu-project-grid {
        gap: 35px;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
    .eu-index {
        gap: 24px;
    }
    .eu-funding-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 40px;
    }
    .eu-funding-image img {
        max-height: 125px;
    }
}
@media (max-width: 760px) {
    .eu-hero {
        padding-block: 135px 45px;
    }
    .eu-index {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 40px;
    }
    .eu-project {
        padding-block: 60px;
    }
    .eu-project-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .eu-project-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .eu-project-number {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    .eu-project-heading h2 {
        font-size: clamp(26px, 5.3vw, 34px);
        letter-spacing: -0.5px;
    }
    .eu-project-facts {
        padding-inline: 22px;
    }
}
@media (max-width: 480px) {
    .eu-funding-images {
        gap: 26px 22px;
        padding: 24px;
        margin-block: 30px;
    }
    .eu-funding-image:first-child,
    .eu-funding-image:nth-child(2) {
        grid-column: 1 / -1;
    }
    .eu-funding-image:nth-child(2) img {
        max-width: 240px;
    }
    .eu-funding-image img {
        max-height: 100px;
    }
    .eu-project-description .eu-funding-statement {
        padding: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .eu-page *,
    .eu-page *::before,
    .eu-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .eu-page [data-reveal].reveal-ready {
        opacity: 1;
        transform: none;
    }
    .eu-page [data-reveal].reveal-ready .eu-heading-line,
    .eu-index a:hover .eu-index-arrow {
        transform: none;
    }
}

/* Contact page */
.contact-page { background: #fff; color: #222; }
.contact-container { width: min(90%, 1250px); margin-inline: auto; }
.contact-page #hero { min-height: 0; }
.contact-hero { padding-block: 155px 90px; color: #fff; }
.contact-eyebrow { display: block; margin-bottom: 18px; color: #66758c; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.contact-hero .contact-eyebrow, .contact-accent { color: #78a7ff; }
.contact-hero h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.15; letter-spacing: -2px; }
.contact-hero h1 > span { display: block; }
.contact-hero p { max-width: 620px; margin-top: 28px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.7); }
.contact-main { padding-block: 90px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 90px; align-items: start; }
.contact-page h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.8px; }
.contact-heading-line { width: 100px; height: 3px; margin-block: 24px 28px; background: #333; transform-origin: left; transition: transform 0.8s ease 0.25s; }
.contact-details > p { max-width: 380px; font-size: 16px; line-height: 1.8; color: #666; }
.contact-methods { display: grid; gap: 28px; margin-top: 40px; font-style: normal; }
.contact-method { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid #dce3ee; border-radius: 12px; color: #567ab4; }
.contact-icon svg { width: 23px; height: 23px; }
.contact-method > div { min-width: 0; }
.contact-method-label { display: block; margin-bottom: 5px; font-size: 12px; color: #66758c; }
.contact-method a, .contact-method div > span:not(.contact-method-label) { display: block; font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; color: #222; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.contact-method a:hover { color: #3b64a3; }
.contact-text-link { display: inline-flex; align-items: center; gap: 24px; width: fit-content; padding-bottom: 9px; border-bottom: 1px solid #cbd4e3; color: #222; text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.3s ease, border-color 0.3s ease; }
.contact-details > .contact-text-link { margin-top: 38px; }
.contact-text-link:hover { color: #3b64a3; border-color: #3b64a3; }
.contact-form-panel { padding: 40px; border: 1px solid #e4e8ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.contact-form-panel h2 { font-size: clamp(25px, 2.3vw, 32px); }
.contact-form-intro { margin-block: 15px 28px; font-size: 14px; line-height: 1.75; color: #66758c; }
.contact-privacy-notice { margin-top: 22px; color: #536580; font-size: 12px; line-height: 1.8; }
.contact-privacy-notice a { color: #315f9f; text-underline-offset: 3px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: #333; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #dce3ee; border-radius: 6px; background: #f8f9fb; color: #222; font: inherit; font-size: 16px; line-height: 1.5; transition: background 0.2s ease, border-color 0.2s ease; }
.contact-field textarea { min-height: 150px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { background: #fff; border-color: #6c92ce; outline: 2px solid #dbe7fa; outline-offset: 1px; }
.contact-field [aria-invalid="true"] { border-color: #a83737; }
.contact-field-error { display: block; margin-top: 7px; color: #a12e2e; font-size: 12px; line-height: 1.6; }
.contact-submit { display: flex; justify-content: space-between; align-items: center; gap: 30px; width: 100%; margin-top: 28px; padding: 17px 22px; border: 1px solid #172742; border-radius: 6px; background: #172742; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }
.contact-submit:hover { background: #2b456e; transform: translateY(-2px); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-verification { margin-top: 24px; }
.contact-verification [hidden] { display: none; }
.contact-verification-info { margin-top: 10px; color: #66758c; font-size: 12px; line-height: 1.7; }
.contact-verification-info a { color: #3b64a3; text-underline-offset: 3px; }
.contact-notice { padding: 16px 18px; margin-bottom: 24px; border: 1px solid; border-radius: 6px; font-size: 14px; line-height: 1.7; }
.contact-notice-success { background: #eff8f3; border-color: #bedbca; color: #24573b; }
.contact-notice-error { background: #fff4f3; border-color: #eccac7; color: #8b302b; }
.contact-trap { display: none; }
#contact-form, .contact-location { scroll-margin-top: 28px; }
.contact-location { padding-block: 75px 90px; background: #f5f6f8; }
.contact-location-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 36px; }
.contact-location-heading .contact-text-link { flex-shrink: 0; }
.contact-map { overflow: hidden; border: 1px solid #dce3ee; border-radius: 14px; background: #e9edf3; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-page a:focus-visible, .contact-submit:focus-visible { outline: 3px solid #78a7ff; outline-offset: 5px; }
.contact-page + .site-footer { margin-top: 0; }
.contact-page [data-reveal].reveal-ready { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-page [data-reveal].reveal-ready .contact-heading-line { transform: scaleX(0); }
.contact-page [data-reveal].is-visible { opacity: 1; transform: none; }
.contact-page [data-reveal].is-visible .contact-heading-line { transform: scaleX(1); }
@media (max-width: 1100px) {
    .contact-grid { gap: 45px; }
    .contact-form-panel { padding: 30px; }
}
@media (max-width: 900px) {
    .contact-hero { padding-block: 140px 70px; }
    .contact-main { padding-block: 65px; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-details > p { max-width: 550px; }
    .contact-location-heading { flex-direction: column; align-items: flex-start; gap: 25px; }
    .contact-location { padding-block: 60px; }
}
@media (max-width: 600px) {
    .contact-hero h1 { font-size: clamp(30px, 7.6vw, 44px); letter-spacing: -1px; }
    .contact-hero p { font-size: 16px; }
    .contact-form-panel { padding: 25px 20px; }
    .contact-fields { grid-template-columns: 1fr; gap: 20px; }
    .contact-map iframe { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-page *, .contact-page *::before, .contact-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .contact-page [data-reveal].reveal-ready { opacity: 1; transform: none; }
    .contact-page [data-reveal].reveal-ready .contact-heading-line, .contact-submit:hover { transform: none; }
}

/* Management policy */
.policy-page { background: #fff; color: #222; }
.policy-container { width: min(90%, 1250px); margin-inline: auto; }
.policy-page #hero { min-height: 0; }
.policy-hero { padding-block: 155px 75px; color: #fff; }
.policy-eyebrow { display: block; margin-bottom: 18px; color: #66758c; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.policy-hero .policy-eyebrow { color: #78a7ff; }
.policy-hero h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.15; letter-spacing: -2px; }
.policy-hero p { max-width: 650px; margin-top: 24px; color: rgba(255,255,255,0.75); font-size: 18px; line-height: 1.8; }
.policy-hero-link { display: inline-flex; gap: 28px; align-items: center; margin-top: 30px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.35); color: #fff; text-decoration: none; font-size: 14px; transition: color 0.3s ease, border-color 0.3s ease; }
.policy-hero-link:hover { color: #78a7ff; border-color: #78a7ff; }
.policy-main { padding-block: 90px; }
.policy-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 85px; }
.policy-intro { color: #444; font-size: 18px; line-height: 1.85; }
.policy-content > h2 { margin-top: 40px; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -0.5px; }
.policy-heading-line { width: 100px; height: 3px; margin-block: 24px 8px; background: #333; }
.policy-principles { list-style: none; }
.policy-principle { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding-block: 27px; border-bottom: 1px solid #e4e8ef; }
.policy-principle-number { padding-top: 4px; color: #66758c; font-size: 12px; letter-spacing: 1px; }
.policy-principle h3 { margin-bottom: 10px; color: #222; font-size: 21px; line-height: 1.4; font-weight: 500; }
.policy-principle p { color: #666; font-size: 16px; line-height: 1.8; }
.policy-review { margin-top: 32px; padding: 24px; border-left: 3px solid #78a7ff; background: #f0f4fa; color: #536580; font-size: 15px; line-height: 1.8; }
.policy-document { position: sticky; top: 30px; padding: 28px; border: 1px solid #e4e8ef; border-radius: 14px; background: #f8f9fb; scroll-margin-top: 30px; }
.policy-document .policy-eyebrow { margin-bottom: 10px; }
.policy-document h2 { font-size: 25px; line-height: 1.3; }
.policy-document-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: #66758c; font-size: 12px; }
.policy-document-preview { display: block; margin-top: 24px; overflow: hidden; border: 1px solid #e4e8ef; border-radius: 6px; background: #fff; color: #536580; text-decoration: none; transition: box-shadow 0.3s ease; }
.policy-document-preview:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.policy-document-preview img { display: block; width: 100%; height: auto; }
.policy-document-open { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; border-top: 1px solid #e4e8ef; font-size: 12px; }
.policy-document-description { margin-top: 24px; color: #66758c; font-size: 14px; line-height: 1.75; }
.policy-download { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; padding: 16px 20px; border-radius: 6px; background: #172742; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: background 0.3s ease, transform 0.3s ease; }
.policy-download svg { flex-shrink: 0; }
.policy-download:hover { background: #2b456e; transform: translateY(-2px); }
.policy-page a:focus-visible { outline: 3px solid #78a7ff; outline-offset: 5px; }
.policy-page + .site-footer { margin-top: 0; }
.policy-page [data-reveal].reveal-ready { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.policy-page [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
    .policy-grid { gap: 40px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .policy-document { padding: 22px; }
}
@media (max-width: 900px) {
    .policy-hero { padding-block: 140px 65px; }
    .policy-main { padding-block: 65px; }
    .policy-grid { grid-template-columns: 1fr; gap: 45px; }
    .policy-document { position: static; max-width: 520px; width: 100%; margin-inline: auto; padding: 28px; }
}
@media (max-width: 600px) {
    .policy-hero h1 { font-size: clamp(30px, 7.6vw, 44px); letter-spacing: -1px; }
    .policy-hero p { font-size: 16px; }
    .policy-intro { font-size: 17px; }
    .policy-principle { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
    .policy-principle h3 { font-size: 20px; }
    .policy-review, .policy-document { padding: 22px; }
}
@media (max-height: 800px) {
    .policy-document { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .policy-page *, .policy-page *::before, .policy-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .policy-page [data-reveal].reveal-ready { opacity: 1; transform: none; }
    .policy-download:hover { transform: none; }
}

/* Front page */
.home-page { background: #fff; color: #222; }
.home-container { width: min(90%, 1250px); margin-inline: auto; }
.home-section { padding-block: 90px; scroll-margin-top: 30px; }
.home-page h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -1px; }
.home-page p { color: #666; font-size: 16px; line-height: 1.8; }
.home-eyebrow { display: block; margin-bottom: 18px; color: #66758c; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.home-page #hero { min-height: min(820px, 100svh); }
.home-hero { display: flex; align-items: center; padding-block: 155px 55px; color: #fff; }
.home-hero-content { max-width: 960px; margin-inline: auto; text-align: center; }
.home-hero .home-eyebrow, .home-accent { color: #78a7ff; }
.home-hero h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.15; letter-spacing: -2px; }
.home-hero h1 > span { display: block; }
.home-hero-content > p { max-width: 640px; margin: 28px auto 0; color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.8; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; }
.home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; background: #78a7ff; border: 1px solid #78a7ff; border-radius: 6px; color: #10213b; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.3s ease, transform 0.3s ease; }
.home-button:hover { background: #a1c1ff; transform: translateY(-2px); }
.home-text-link { display: inline-flex; align-items: center; gap: 24px; width: fit-content; padding-block: 6px 9px; border-bottom: 1px solid #cbd4e3; color: #222; font-size: 14px; font-weight: 400; line-height: 1.6; text-decoration: none; transition: color 0.3s ease, border-color 0.3s ease; }
.home-text-link:hover { color: #3b64a3; border-color: #3b64a3; }
.home-hero .home-text-link { color: #fff; border-color: rgba(255,255,255,0.35); }
.home-hero .home-text-link:hover { color: #78a7ff; border-color: #78a7ff; }
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 680px); margin: 65px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); }
.home-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 20px; }
.home-stat + .home-stat { border-left: 1px solid rgba(255,255,255,0.15); }
.home-stat-number { font-size: 38px; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.home-stat-label { color: #a7b4cc; font-size: 10px; font-weight: 400; letter-spacing: 1.5px; line-height: 1.6; }
.home-section-heading { max-width: 800px; }
.home-section-heading-centered { margin-inline: auto; text-align: center; }
.home-section-heading > p { max-width: 650px; margin-inline: auto; }
.home-heading-line { width: 100px; height: 3px; margin-block: 24px 28px; background: #333; transform-origin: left; transition: transform 0.8s ease 0.25s; }
.home-section-heading-centered .home-heading-line { margin-inline: auto; transform-origin: center; }
.home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.home-service-card { min-width: 0; overflow: hidden; padding: 26px 20px; border: 1px solid #e4e8ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.04); }
.home-service-card h3 { min-height: 54px; font-size: 20px; font-weight: 500; line-height: 1.35; text-align: center; }
.home-service-image { aspect-ratio: 4 / 3; margin-block: 8px 20px; }
.home-service-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.home-service-card:hover img { transform: scale(1.03); }
.home-service-card p { font-size: 14px; text-align: center; }
.home-story { background: #f5f6f8; }
.home-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.home-story-visual { overflow: hidden; border: 1px solid #e4e8ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.04); }
.home-story-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; transition: transform 0.6s ease; }
.home-story-visual:hover img { transform: scale(1.03); }
.home-story-copy p + p { margin-top: 20px; }
.home-story-copy .home-text-link { margin-top: 28px; }
.home-projects-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.home-projects-heading > div { max-width: 700px; }
.home-projects-heading > .home-text-link { flex-shrink: 0; }
.home-projects-heading .home-heading-line { margin-bottom: 0; }
.home-projects-scroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #cbd4e3 #f5f6f8; padding-block: 10px 24px; }
.home-project-card { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); min-height: 330px; border: 1px solid #e4e8ef; border-radius: 14px; overflow: hidden; background: #fff; scroll-snap-align: start; box-shadow: 0 8px 25px rgba(0,0,0,0.04); transition: box-shadow 0.3s ease, transform 0.4s ease; }
.home-project-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.07); }
.home-project-image { min-width: 0; overflow: hidden; }
.home-project-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.home-project-card:hover img { transform: scale(1.03); }
.home-project-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 24px; }
.home-project-content h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; letter-spacing: -0.4px; }
.home-project-content p { margin-top: 16px; font-size: 14px; }
.home-project-content .home-text-link { margin-top: 22px; font-size: 13px; }
.home-carousel-controls:not([hidden]) { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.home-carousel-controls button { width: 46px; height: 46px; border: 1px solid #cbd4e3; border-radius: 50%; background: #fff; color: #222; font: inherit; font-size: 20px; cursor: pointer; transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.home-carousel-controls button:hover:not(:disabled) { background: #172742; border-color: #172742; color: #fff; }
.home-carousel-controls button:disabled { opacity: 0.35; cursor: default; }
.home-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-projects-scroll:focus-visible { outline: 3px solid #78a7ff; outline-offset: 4px; }
.home-page + .site-footer { margin-top: 0; }
.home-page [data-reveal].reveal-ready { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.home-page [data-reveal].reveal-ready .home-heading-line { transform: scaleX(0); }
.home-page [data-reveal].is-visible { opacity: 1; transform: none; }
.home-page [data-reveal].is-visible .home-heading-line { transform: scaleX(1); }
@media (min-width: 1101px) {
    .home-page .home-service-card.reveal-ready:nth-child(2) { transition-delay: 0.1s; }
    .home-page .home-service-card.reveal-ready:nth-child(3) { transition-delay: 0.2s; }
    .home-page .home-service-card.reveal-ready:nth-child(4) { transition-delay: 0.3s; }
}
@media (max-width: 1100px) {
    .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-service-card { padding: 28px; }
    .home-service-card h3 { min-height: auto; }
    .home-service-image { max-width: 280px; margin-inline: auto; margin-top: 20px; }
    .home-story-grid { gap: 40px; }
    .home-project-card { flex-basis: 78%; }
}
@media (max-width: 900px) {
    .home-section { padding-block: 65px; }
    .home-hero { padding-block: 140px 50px; }
    .home-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-story-visual { max-width: 600px; width: 100%; margin-inline: auto; }
    .home-projects-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
    .home-project-card { flex-basis: 88%; }
}
@media (max-width: 600px) {
    .home-hero h1 { font-size: clamp(30px, 7.6vw, 44px); letter-spacing: -1px; }
    .home-hero-content > p { font-size: 16px; }
    .home-hero-actions { flex-direction: column; gap: 20px; }
    .home-stats { margin-top: 45px; padding-top: 24px; }
    .home-stat { padding-inline: 8px; }
    .home-stat-number { font-size: 29px; }
    .home-stat-label { font-size: 9px; letter-spacing: 1px; }
    .home-service-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 35px; }
    .home-service-card { padding: 26px; }
    .home-project-card { flex-basis: 92%; grid-template-columns: 1fr; }
    .home-project-image { height: 230px; }
    .home-project-content { padding: 26px; justify-content: flex-start; }
    .home-project-content .home-text-link { margin-top: auto; padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .home-page [data-reveal].reveal-ready { opacity: 1; transform: none; }
    .home-page [data-reveal].reveal-ready .home-heading-line, .home-button:hover, .home-service-card:hover img, .home-story-visual:hover img, .home-project-card:hover, .home-project-card:hover img { transform: none; }
}
