@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap");

.atppl-page,
.atppl-page * {
    box-sizing: border-box;
}

.atppl-page {
    --atppl-ink: #1c2225;
    --atppl-paper: #fefdfd;
    --atppl-brand: #183787;
    --atppl-gold: #f5bd35;
    background: var(--atppl-paper);
    color: var(--atppl-ink);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    min-height: 100vh;
}

.atppl-page a {
    color: inherit;
    text-decoration: none;
}

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

.atppl-header,
.atppl-main {
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
}

.atppl-header {
    padding: 32px 80px;
}

.atppl-header-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.atppl-logo img {
    height: 40px;
    object-fit: contain;
    width: 38px;
}

.atppl-nav {
    align-items: center;
    display: flex;
    gap: 2px;
}

.atppl-nav a {
    align-items: center;
    border-radius: 8px;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    gap: 6px;
    letter-spacing: 0.02em;
    line-height: 1.6;
    padding: 6px 12px;
}

.atppl-nav a:hover,
.atppl-nav a.is-active {
    background: rgba(28, 34, 37, 0.1);
}

.atppl-nav a.is-active {
    font-weight: 600;
}

.atppl-nav svg,
.atppl-menu-toggle svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

.atppl-header-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.atppl-button,
.atppl-menu-toggle {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 0 24px;
    text-transform: uppercase;
    transition: background 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.atppl-button-primary {
    background: var(--atppl-ink);
    border: 0;
    box-shadow: 0 1px 2px rgba(84, 64, 0, 0.25);
    color: var(--atppl-paper);
}

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

.atppl-button-outline {
    background: transparent;
    border: 2px solid var(--atppl-ink);
    box-shadow: 0 1px 4px rgba(84, 64, 0, 0.25);
    color: var(--atppl-ink);
}

.atppl-button-outline:hover {
    background: rgba(28, 34, 37, 0.05);
}

.atppl-menu-toggle {
    background: #fff;
    border: 1px solid rgba(28, 34, 37, 0.15);
    color: var(--atppl-ink);
    display: none;
    padding: 0;
    width: 44px;
}

.atppl-nav-mobile {
    background: #fff;
    border: 1px solid rgba(28, 34, 37, 0.1);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(28, 34, 37, 0.08);
    display: none;
    margin-top: 16px;
    padding: 8px;
}

.atppl-main {
    padding: 0 80px 56px;
}

.atppl-showcase-hero {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    text-align: center;
}

.atppl-pill {
    background: #fff;
    border: 1.5px solid var(--atppl-ink);
    border-radius: 32px;
    box-shadow: 0 1px 2px rgba(84, 64, 0, 0.25);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
    margin-bottom: 8px;
    padding: 4px 16px;
    text-transform: uppercase;
}

.atppl-heading-wrap {
    position: relative;
}

.atppl-heading-wrap h1 {
    color: var(--atppl-ink);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
}

.atppl-heading-wrap h1 span {
    color: var(--atppl-brand);
}

.atppl-heading-wrap i {
    border-bottom: 10px solid var(--atppl-gold);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    height: 0;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
}

.atppl-showcase-hero p {
    color: rgba(28, 34, 37, 0.8);
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin: 8px 0 0;
}

.atppl-projects-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.atppl-feature-project {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.atppl-feature-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.08fr 1fr;
}

.atppl-feature-main {
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
}

.atppl-feature-details {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 500px;
}

.atppl-feature-details img {
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.atppl-projects-stack hr {
    border: 0;
    border-top: 1px solid rgba(28, 34, 37, 0.2);
    margin: 0;
}

.atppl-project-grid {
    display: grid;
    gap: 48px 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atppl-project-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.atppl-project-card > img {
    border-radius: 8px;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.atppl-project-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.atppl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.atppl-tags span {
    background: #fff;
    border: 1px solid rgba(28, 34, 37, 0.7);
    border-radius: 4px;
    color: var(--atppl-ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.6;
    padding: 2px 8px;
    text-transform: uppercase;
}

.atppl-project-title-block {
    color: var(--atppl-ink);
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.3;
}

.atppl-project-title-block h1,
.atppl-project-title-block h3 {
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.atppl-project-title-block p {
    color: rgba(28, 34, 37, 0.6);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}

.atppl-detail-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 24px 0;
}

.atppl-detail-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.atppl-detail-images {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.atppl-detail-images img {
    border-radius: 8px;
    height: 800px;
    object-fit: cover;
    width: 100%;
}

.atppl-footer {
    background: var(--atppl-paper);
    color: rgba(28, 34, 37, 0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 32px 80px;
}

.atppl-footer > div {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
}

.atppl-footer p {
    margin: 0;
}

@media (max-width: 1199px) {
    .atppl-header,
    .atppl-main,
    .atppl-footer {
        padding-left: 32px;
        padding-right: 32px;
    }

    .atppl-nav-desktop,
    .atppl-enquire {
        display: none;
    }

    .atppl-menu-toggle {
        display: inline-flex;
    }

    .atppl-nav-mobile.is-open {
        display: grid;
        gap: 8px;
    }

    .atppl-feature-grid {
        grid-template-columns: 1fr;
    }

    .atppl-feature-main {
        height: 430px;
    }

    .atppl-feature-details {
        gap: 24px;
        height: auto;
    }

    .atppl-feature-details img {
        height: 208px;
    }

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

    .atppl-detail-images img {
        height: 520px;
    }
}

@media (max-width: 640px) {
    .atppl-header,
    .atppl-main,
    .atppl-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .atppl-header {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .atppl-showcase-hero {
        padding-bottom: 40px;
    }

    .atppl-heading-wrap h1 {
        font-size: 36px;
    }

    .atppl-heading-wrap i {
        display: none;
    }

    .atppl-showcase-hero p {
        font-size: 16px;
    }

    .atppl-feature-main {
        height: 340px;
    }

    .atppl-feature-details {
        gap: 16px;
    }

    .atppl-feature-details img {
        height: 160px;
    }

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

    .atppl-project-card > img {
        height: 224px;
    }

    .atppl-detail-images img {
        height: 320px;
    }

    .atppl-footer > div {
        flex-direction: column;
        gap: 12px;
    }
}
