:root {
    --blue: #073a72;
    --blue-2: #0c508b;
    --coral: #ff6268;
    --coral-soft: #ffa6a8;
    --ink: #123d67;
    --muted: #6b93b5;
    --paper: #fafafa;
    --white: #fff;
    --line: #e7eef5;
    --overlay: rgba(8, 69, 125, 0.8);
    --radius: 16px;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
}

html {
    overflow-x: hidden;
}

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

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

.section-wrap {
    width: min(100% - 36px, 1220px);
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 80px;
    background-color: var(--blue);
    color: var(--paper);
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
    transition:
        transform 0.35s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    will-change: transform;
}

.site-header .mobile-logo {
    display: none;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    background: var(--paper);
    box-shadow: 0 16px 44px rgba(8, 69, 125, 0.11);
    color: var(--blue);
}

.site-header.is-scrolled .menu-toggle span {
    background: var(--blue);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 4vw, 58px);
    font-size: 12px;
    font-weight: 700;
}

.nav-links a {
    padding: 10px 2px;
    min-width: 92px;
    text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    min-width: 92px;
    text-align: center;
    color: var(--white) !important;
    background: var(--coral);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 98, 104, 0.24);
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(48px, 6vw, 120px);
    padding-top: 90px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy p {
    margin: 0px 0px 32px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
}

.hero-logo {
    width: min(640px, 85%);
    margin-bottom: 40px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.pill-row span {
    padding: 9px 15px;
    border: 1px solid #d8e5ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    min-width: 180px;
}

.button.primary {
    color: var(--white);
    background: var(--coral);
    /*box-shadow: 0 18px 34px rgba(255, 98, 104, .28);*/
    box-shadow: none;
}

.button.secondary {
    color: var(--coral);
    border: 1px solid var(--coral-soft);
    background: rgba(255, 255, 255, 0.62);
}

.hero-art {
    position: relative;
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-art::after {
    left: 6%;
    top: 12%;
    width: 48px;
    height: 48px;
    background: var(--blue);
    opacity: 0.48;
    animation: hero-dot-drift 6.4s ease-in-out infinite;
}

.hero-art img {
    width: min(480px, 100%);
    max-height: 590px;
    object-fit: contain;
    margin: auto;
    opacity: 0.82;
    transform-origin: 54% 48%;
    animation: hero-float 7.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes hero-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    45% {
        transform: translate3d(0, -16px, 0) rotate(-1.2deg) scale(1.015);
    }
    70% {
        transform: translate3d(10px, -6px, 0) rotate(0.7deg) scale(1.006);
    }
}

@keyframes hero-dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.48;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.66;
    }
}

@keyframes hero-dot-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(8px, -10px, 0);
    }
}

.trust-band {
    background: var(--blue);
    color: var(--white);
    padding: 40px 18px;
    text-align: center;
    overflow: hidden;
}

.trust-band p {
    margin: 0 0 40px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.partner-carousel {
    position: relative;
    width: min(100%, 1180px);
    margin-inline: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
}

.partner-carousel:hover .partner-row {
    animation-play-state: paused;
}

.partner-row {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(54px, 8vw, 116px);
    color: rgba(255, 255, 255, 0.44);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 800;
    animation: partner-marquee 24s linear infinite;
    will-change: transform;
}

.partner-row img {
    flex: 0 0 auto;
    height: 24px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

.partner-row > span {
    flex: 0 0 auto;
    min-width: 142px;
    text-align: center;
}

.partner-row span span {
    font-weight: 600;
}

@keyframes partner-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-50% - clamp(27px, 4vw, 58px)), 0, 0);
    }
}

.about {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    min-height: 100dvh;
    padding-top: 65px;
    padding-bottom: 65px;
    background-image: url("../assets/bg-people.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    margin: 0 auto;
}

.section-dots {
    position: absolute;
    left: 0;
    top: 28px;
    width: 130px;
    height: 190px;
}

.section-dots::before {
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
}

.section-dots::after {
    left: 0;
    bottom: 0;
    width: 54px;
    height: 54px;
}

.about-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    height: 100%;
    color: var(--blue);
    font-size: clamp(16px, 1.35vw, 21px);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.58;
    padding: 0;
}

.about-copy p {
    margin: 0 0 28px;
}

.about-media {
    position: relative;
    aspect-ratio: 1/1;
    /*display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  max-height:700px;
  max-width: 620px;*/
}

.people-shadow {
    position: absolute;
    inset: 4% auto auto -18%;
    width: 56%;
    height: 88%;
    opacity: 0.12;
    background: linear-gradient(
        90deg,
        transparent 0 6%,
        #2b3540 6% 13%,
        transparent 13% 18%,
        #2b3540 18% 28%,
        transparent 28% 34%,
        #2b3540 34% 43%,
        transparent 43% 49%,
        #2b3540 49% 58%,
        transparent 58% 64%,
        #2b3540 64% 73%,
        transparent 73%
    );
    border-radius: 40% 40% 0 0;
}

.photo-main,
.photo-tall {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.photo-main {
    top: 0%;
    aspect-ratio: 4 / 5;
    left: 52px;
    width: 60%;
    transform: translateY(-58%);
}

.photo-tall {
    right: 0px;
    bottom: 0%;
    width: 60%;
    aspect-ratio: 4 / 5;
    transform: translateY(-58%);
}

.about-media {
    overflow: hidden;
}

.photo-main,
.photo-tall {
    opacity: 0;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.9s ease;
}

.photo-main {
    transform: translateX(-70px);
}

.photo-tall {
    transform: translateX(70px);
    transition-delay: 0.2s;
}

.about-media.is-visible .photo-main,
.about-media.is-visible .photo-tall {
    opacity: 1;
    transform: translateX(0);
}

.section-heading {
    text-align: center;
    margin-bottom: 62px;
    width: 100%;
}

.section-heading.left {
    text-align: left;
    margin-bottom: 32px;
}

h2 {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1;
}

.section-heading p,
.scope-heading p {
    margin: 0;
    color: var(--blue);
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 400;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue);
    box-shadow: 0 16px 36px rgba(8, 69, 125, 0.1);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:not(.featured)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 69, 125, 0),
        rgba(8, 69, 125, 0.62)
    );
}

.service-card div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    color: var(--white);
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.1;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    background: var(--coral);
    color: var(--white);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 900;
}

.scope {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    color: var(--paper);
    min-height: 100vh;
}

.scope-inner {
    padding: 82px 0 96px;
}

.scope-heading {
    text-align: center;
}

.scope-heading h2,
.contact-inner h2 {
    color: var(--white);
}

.scope-heading p {
    color: rgba(255, 255, 255, 0.86);
}

.metrics {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 6vw, 96px);
    margin: 36px 0 32px;
    font-size: 15px;
}

.metrics strong {
    font-weight: 800;
}

.metrics span {
    margin-right: 8px;
    color: var(--coral);
    font-size: 34px;
    line-height: 1;
}

.map-wrap {
    position: relative;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.map-wrap img {
    width: 100%;
    opacity: 0.52;
    mix-blend-mode: screen;
}

.pin {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 8px rgba(255, 98, 104, 0.1);
}

.pin-medan {
    left: 7%;
    top: 12%;
}
.pin-jakarta {
    left: 25%;
    bottom: 26%;
}
.pin-makasar {
    left: 53%;
    top: 64%;
}
.pin-balikpapan {
    left: 46%;
    top: 42%;
}
.pin-surabaya {
    left: 39%;
    top: 79%;
}
.pin-denpasar {
    left: 43%;
    top: 83%;
}
.pin-jayapura {
    right: 1%;
    top: 49%;
}

.map-label {
    position: absolute;
    left: 47%;
    top: 63%;
    transform: translate(-50%, -50%);
    padding: 11px 16px;
    border-radius: 4px;
    background: var(--white);
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
}

.scope-map {
    position: relative;
    display: inline-block;
    margin: 40px auto;
}

.indonesia-map {
    display: block;
    max-width: 100%;
}

.map-popup {
    position: absolute;
    display: none;
    min-width: 180px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -120%);
    z-index: 20;
}

.map-popup.active {
    display: block;
}

.map-popup h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #0d4f8b;
}

.map-popup p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.projects {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.projects::before,
.projects::after {
    top: 48px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.projects::before {
    right: 116px;
}

.projects::after {
    right: 34px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, clamp(120px, 11vw, 120px));
    gap: 24px;
}

.project-1 {
    grid-area: 1 / 1 / 3 / 3;
}

.project-2 {
    grid-area: 1 / 3 / 3 / 7;
}

.project-3 {
    grid-area: 3 / 1 / 5 / 3;
}

.project-4 {
    grid-area: 3 / 3 / 5 / 5;
}

.project-5 {
    grid-area: 3 / 5 / 5 / 7;
}

.project-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue);
    cursor: pointer;

    isolation: isolate;
}

.project-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 58, 114, 0.75);
    opacity: 0;
    transition: 0.45s ease;
    z-index: 1;
}

.project-tile:hover {
    transform: translateZ(0);
}

.project-tile.wide {
    grid-column: 2;
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.project-tile:hover img,
.project-tile.active img {
    transform: scale(1.12);
}

.project-tile.wide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 69, 125, 0.86),
        rgba(8, 69, 125, 0.18)
    );
}

.project-tile.wide div {
    position: absolute;
    left: 32px;
    bottom: 30px;
    z-index: 1;
    width: min(420px, 70%);
    color: var(--white);
}

.project-tile h3 {
    margin: 0 0 8px;
    font-size: 34px;
    color: var(--paper);
}

.project-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    z-index: 2;
    background: rgba(7, 58, 114, 0.75);

    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);

    pointer-events: none;

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

.project-tile:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin-top: 20px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--paper);
    background: none;
    color: var(--paper);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}

.project-btn:hover {
    background: var(--coral);
    border: 1px solid var(--coral);
}

.project-tile:hover .project-overlay,
.project-tile.active .project-overlay {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.testimonials {
    padding: 65px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quote-card {
    min-height: 280px;
    padding: 34px 32px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    box-shadow: 0 15px 46px rgba(8, 69, 125, 0.05);
}

.avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    font-weight: 900;
}

.quote-card h3 {
    margin: 0 0 13px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 500;
}

.quote-card p {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.quote-card strong,
.quote-card small {
    display: block;
}

.quote-card strong {
    color: var(--blue);
    font-size: 14px;
    margin-bottom: 4px;
}

.quote-card small {
    color: #9fb5c9;
    font-weight: 500;
}

.contact-band {
    position: relative;
    overflow: hidden;
    background: var(--blue);
}

.contact-band::before {
    left: 6.8%;
    top: -28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 250px;
    color: var(--white);
}

.contact-inner h2 {
    margin-bottom: 20px;
}

.contact-inner p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    font-weight: 400;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 310px;
    min-height: 74px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    min-height: 112px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 500;
}

.site-footer nav,
.socials {
    display: flex;
    align-items: center;
    gap: 24px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #d7e2ec;
    color: var(--blue);
    font-size: 18px;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
    /*transform:translateY(-3px);*/
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .site-header {
        color: var(--paper);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
    }

    .site-header.is-scrolled {
        background: var(--blue);
    }

    .site-header.is-scrolled .menu-toggle span {
        background: var(--paper);
    }

    .site-header .mobile-logo {
        display: flex;
        align-items: center;
    }

    .site-header .mobile-logo img {
        height: 34px;
        width: auto;
        display: block;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        padding: 0;
    }

    .menu-toggle span {
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 999px;
        transition: 0.35s ease;
    }

    .menu-toggle span:nth-child(1) {
        transform: translateY(-5px);
    }

    .menu-toggle span:nth-child(2) {
        transform: translateY(5px);
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        background: var(--blue);
        padding: 12px 0;
        z-index: 999;
        color: var(--paper);
    }

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

    .nav-links a {
        width: 100%;
        padding: 16px 24px;
        text-align: center;
        border-radius: 0;
    }

    .nav-links a:hover {
        background-color: var(--coral);
        color: var(--paper);
        box-shadow: none;
        border-radius: 0px;
    }

    .hero {
        position: relative;
        display: flex;
        max-height: 100%;
        padding: 0;
    }

    .hero-copy {
        position: relative;
        z-index: 2;
        padding-top: 0;
        text-align: center;
        display: flex;
        align-content: center;
    }

    .hero-art {
        display: none;
    }

    .hero-art img {
        display: none;
    }

    .hero-logo {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 40px;
    }

    .button.primary {
        box-shadow: none;
    }

    .about,
    .service-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-copy p {
        font-size: 14px;
    }

    .about-media {
        min-height: 560px;
    }

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

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

    .projects .section-heading h2 {
        text-align: center;
    }

    .projects .section-heading p {
        text-align: center;
    }

    .testimonials .section-heading h2 {
        text-align: center;
    }

    .testimonials .section-heading p {
        text-align: center;
    }

    .contact-band h2 {
        text-align: center;
    }

    .contact-band p {
        text-align: center;
    }

    .contact-inner,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
        padding-block: 46px;
    }

    .site-footer p {
        text-align: center;
    }

    .site-footer nav,
    .socials {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    /*.section-wrap {
    width: min(100% - 28px, 1220px);
  }*/

    .hero {
        max-height: 100%;
        display: flex;
        padding: 0;
    }

    .hero-logo {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 40px;
    }

    .hero-art {
        display: none;
    }

    .hero-copy {
        display: flex;
        align-content: center;
    }

    .button,
    .support-button {
        width: 100%;
    }

    .button.primary {
        box-shadow: none;
    }

    .about {
        scroll-margin-top: 90px;
        background-position: center top;
        padding: 40px 0;
        min-height: 100vh;
        height: auto;
    }

    .about-media {
        min-height: 100%;
        width: 100%;
    }

    .about-media .photo-main {
        top: 0;
        left: 0;
        width: 65%;
        height: 65%;
    }

    .about-media .photo-tall {
        bottom: 0;
        right: 0;
        width: 65%;
        height: 65%;
    }

    .photo-main {
        left: 0;
        width: 58%;
    }

    .photo-tall {
        width: 47%;
    }

    .services,
    .projects,
    .testimonials {
        padding-block: 64px;
    }

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

    .service-card {
        min-height: 430px;
    }

    .scope {
        min-height: 100%;
    }

    .projects {
        min-height: auto;
        display: block;
    }
    .project-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .project-tile img {
        aspect-ratio: 4/5;
    }

    .project-tile h3 {
        font-size: 24px;
    }

    .project-1,
    .project-2,
    .project-3,
    .project-4,
    .project-5 {
        grid-area: auto;
    }

    .scope .metrics {
        display: flex;
        justify-content: center;
        padding: 24px 0;
        gap: 40px;
    }

    .scope .metrics strong {
        font-weight: 700;
        width: min-content;
    }

    .scope .metrics span {
        margin: 0;
    }

    .scope .scope-map .pin {
        width: 8px;
        height: 8px;
    }

    .project-tile,
    .project-tile.wide {
        grid-column: auto;
        min-height: 300px;
    }

    .projects::before,
    .projects::after {
        display: none;
    }

    .scope-inner {
        padding: 62px 0 70px;
    }

    .map-wrap {
        width: 150%;
        margin-left: -25%;
    }

    .map-label {
        font-size: 10px;
    }

    .support-button {
        min-width: 0;
        min-height: 62px;
        font-size: 15px;
    }

    .site-footer nav {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}

.services {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.services-head {
    text-align: center;
    margin-bottom: 72px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.subhead {
    margin: 20px auto 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    position: relative;
    aspect-ratio: 0.65/1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    isolation: isolate;
    cursor: pointer;
}

.card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.card:hover img,
.card:focus-within img {
    transform: scale(1.12);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.card:hover::after,
.card:focus-within::after {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.4s ease 0.05s,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    z-index: 2;
}

.card:hover .card-overlay,
.card:focus-within .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-index {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 14px;
}

.card-title {
    font-size: 23px;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.25;
    margin-bottom: 10px;
}

.card-copy {
    font-size: 14px;
    line-height: 1.55;
    color: #d7dcea;
    max-width: 220px;
    margin-bottom: 26px;
}

.card-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fdfdfc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.card-btn:hover {
    background: var(--coral);
    color: var(--paper);
    border: none;
}

.card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px;
    background: linear-gradient(
        to top,
        rgba(9, 14, 32, 0.75),
        rgba(9, 14, 32, 0)
    );
    color: #fdfdfc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover .card-caption,
.card:focus-within .card-caption {
    opacity: 0;
}

.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.4s ease,
        visibility 0s linear 0.4s;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--paper);
}

.modal-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    width: 100%;
    height: 100%;
}

.modal-media {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
}

.modal-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.modal-media img.fade {
    opacity: 0;
}

.modal.is-open .modal-media img {
    transform: scale(1);
    opacity: 1;
}

.modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px;
    overflow-y: auto;
}

.modal-index {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease 0.15s,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.modal-title {
    font-weight: 700;
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease 0.22s,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.modal-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 440px;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease 0.36s,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
}

.modal.is-open .modal-index,
.modal.is-open .modal-title,
.modal.is-open .modal-body {
    opacity: 1;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 28px;
    right: 32px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(18, 33, 69, 0.18);
    background: var(--paper);
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.modal-close:hover {
    background: var(--blue);
    color: var(--paper);
    transform: rotate(180deg);
}

@media (max-width: 860px) {
    .modal-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 38vh 1fr;
    }
    .modal-text {
        padding: 44px 28px 60px;
    }
    .modal-body {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-media img,
    .modal-index,
    .modal-title,
    .modal-subtitle,
    .modal-body,
    .modal-close {
        transition: none !important;
    }
}

/* =========================================================
   LIGHTBOX
========================================================= */

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    flex-direction: column;

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

    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.gallery-content {
    width: min(900px, 90vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

/* =========================
   HEADER
========================= */

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    color: #fff;
}

.close-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.gallery-counter {
    font-size: 18px;
    color: #fff;
}

/* =========================
   BODY
========================= */

.lightbox-body {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    gap: 28px;
    flex: 1;
}

/* =========================
   IMAGE
========================= */

.image-frame {
    width: 100%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame img {
    width: 100%;
    height: 100%;
    /*max-height:65vh;*/
    object-fit: cover;
}

/* =========================
   INFO
========================= */

.gallery-info {
    margin-top: 28px;
}

.gallery-info h2 {
    margin-bottom: 16px;
    color: var(--paper);
    font-size: 42px;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

/* =========================
   ARROW
========================= */

.nav-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: var(--paper);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
}

.nav-arrow:hover {
    background: var(--paper);
    color: #111;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .gallery-content {
        padding: 24px;
    }
    .gallery-info h2 {
        font-size: 34px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .gallery-content {
        padding: 20px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .lightbox-header {
        margin-bottom: 20px;
    }

    .lightbox-body {
        display: block;
    }

    .image-frame {
        height: 280px;
        margin-bottom: 20px;
    }

    .image-frame img {
        max-height: 45vh;
    }

    .gallery-info {
        margin-top: 0;
    }

    .gallery-info h2 {
        font-size: 30px;
    }

    .gallery-info p {
        font-size: 16px;
        text-align: justify;
    }

    .nav-arrow {
        position: fixed;
        bottom: 24px;
        width: 52px;
        height: 52px;
        z-index: 5;
    }

    .nav-arrow.prev {
        left: 20px;
    }

    .nav-arrow.next {
        right: 20px;
    }
}

@media (max-width: 1080px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card {
        aspect-ratio: 1.1/1;
    }
}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .card {
        aspect-ratio: 1.2/1;
    }
}
