/* Override hero title size for longer name */
h1.home-page-title { font-size: 90px; }
@media only screen and (max-width: 1200px) { h1.home-page-title { font-size: 72px; } }
@media only screen and (max-width: 880px)  { h1.home-page-title { font-size: 60px; } }
@media only screen and (max-width: 640px)  { h1.home-page-title { font-size: 48px; } }

/* Remove shadow-number spacing in about section */
#about p { padding: 0; }
@media only screen and (max-width: 880px) { #about p { padding: 0; } }

/* Paragraph spacing within blocks */
.about-block p + p,
#projects p + p { margin-top: 12px; }

/* Welcome subtitle */
.home-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #000;
    opacity: 0.5;
    margin: 0 0 0 2px;
}
@media only screen and (max-width: 880px) { .home-subtitle { color: #fff; opacity: 0.7; } }

/* Activities: consistent gap between title and paragraph */
#activities .service-heading { margin-bottom: 8px; }

/* Shared label style for roles and project subtitles */
.role-label,
.project-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
}
.role-label    { margin: 4px 0 14px; }
.project-subtitle { margin: 4px 0 20px; }

/* Logo override */
.logo { width: auto; height: 32px; background: none !important; }
.logo img { height: 100%; width: auto; display: block; }
@media only screen and (max-width: 880px) {
    .logo img { filter: invert(1) brightness(2); }
}

/* Section image containers — generic version of the template's per-section containers */
.section-img-container,
.section-img-container.mobile {
    position: absolute !important;
    display: block;
    width: 0;
    height: 100vh;
    top: 0; left: 0;
    -webkit-transition: 1s cubic-bezier(0.67, 0.02, 0.2, 0.97);
            transition: 1s cubic-bezier(0.67, 0.02, 0.2, 0.97);
    background: #fff;
    overflow: hidden;
    z-index: 99;
}
@media only screen and (max-width: 880px) {
    .section-img-container.mobile { display: none; }
    .section-img-container,
    .section-img-container.img-poster { width: 100%; }
}
.section-img-container.img-poster { width: 100vw; }
.section-img-container .slide-img {
    position: absolute;
    left: -30vw;
    -webkit-transition: 1s cubic-bezier(0.67, 0.02, 0.2, 0.97);
            transition: 1s cubic-bezier(0.67, 0.02, 0.2, 0.97);
}
.page-loaded .section-img-container .slide-img { left: -30vw; }
@media only screen and (max-width: 880px) {
    .page-loaded .section-img-container .slide-img { left: 0; }
}
.page-loaded .section-img-container.img-poster .slide-img { left: 0; }

/* Mizibu credit */
.made-by {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin-top: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
}
.made-by span { opacity: 0.5; transition: opacity 0.25s ease; }
.made-by:hover { color: #000; }
.made-by:hover span { opacity: 1; }
.made-by img { height: 30px; width: auto; transition: transform 0.25s ease; }
.made-by:hover img { transform: rotate(-4deg) scale(1.06); }

/* Hero */
.home-slide-content-all { max-width: 460px; }
.home-slide-content-all h2 { margin-bottom: 18px; }
.right-side p.home-subline {
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
    opacity: 0.9;
    max-width: 100%;
    margin: 0 0 18px;
}
.home-words {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
.home-headline-mobile { display: none; }
.home-buttons { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 22px; }
.home-buttons a.button-link span { padding-left: 42px; }
@media only screen and (max-width: 880px) {
    .home-headline-mobile {
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.35;
        color: #fff;
        max-width: 320px;
        margin: 18px 0 0 2px;
    }
    .home-buttons { margin-top: 12px; }
}
@media only screen and (max-width: 640px) {
    .home-buttons a.button-link span { padding-left: 28px; }
}

/* Proof strip */
.proof-item { margin-bottom: 20px; }
.proof-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}
.proof-label {
    display: block;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.6;
    opacity: 0.55;
}

/* Content blocks */
.section-intro { font-size: 16px; line-height: 1.8; }
#about p + p,
.strand p + p { margin-top: 12px; }
.strand-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.35;
    margin-bottom: 6px;
}
.list-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 22px 0 10px;
}
.content-list { list-style: none; margin: 16px 0 0; padding: 0; }
.content-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    line-height: 1.7;
}
.content-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 12px;
    height: 2px;
    background: #000;
}
.cycle-row { margin-top: 24px; }
.services-block p, .about-block p { margin-bottom: 18px; }

/* Featured project */
.facts-table { width: 100%; margin: 26px 0 20px; border-collapse: collapse; font-size: 14px; }
.facts-table th,
.facts-table td { padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); vertical-align: top; text-align: left; }
.facts-table th {
    width: 32%;
    padding-right: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.eu-disclaimer { font-size: 12px; line-height: 1.6; opacity: 0.6; }

/* Contact */
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.contact-lines .icon { flex: none; }
.block-row + .block-row { margin-top: 36px; }
.button-note { margin: 10px 0 0 57px; }
@media only screen and (max-width: 640px) { .button-note { margin-left: 34px; } }

/* Icons (Tabler, inline SVG) */
.icon { display: inline-block; vertical-align: middle; }
ul.social-icons a { display: inline-flex; }
.social-icons-wrapper ul li { padding-left: 10px; }
.to-top-arrow { display: flex; align-items: center; justify-content: center; }
