
/* =====================================================
   AMPONG'S COMPANY
   ARMY BROWN EXECUTIVE DESIGN SYSTEM
   MILESTONE 150C
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* ================= ROOT ================= */

:root {
    --army-brown: #514735;
    --deep-brown: #332E24;
    --darkest-brown: #252119;
    --sand-gold: #C7B48E;
    --gold-light: #E5D3AA;
    --warm-ivory: #F7F1E5;
    --white: #FFFFFF;
    --text-dark: #302B22;
    --text-muted: #716959;
    --border-light: #DED5C5;

    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --container-width: 1220px;
    --header-height: 94px;

    --transition: 0.3s ease;
}

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--warm-ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(90%, var(--container-width));
    margin-inline: auto;
}

::selection {
    background: var(--sand-gold);
    color: var(--deep-brown);
}

/* ================= TYPOGRAPHY ================= */

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
}

h2 span {
    display: block;
    color: var(--army-brown);
}

p {
    font-size: 1rem;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 46px;
}

.section-heading p {
    max-width: 620px;
    margin-top: 20px;
    color: var(--text-muted);
}

.section-label {
    display: inline-block;
    margin-bottom: 24px;
    color: #75613D;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.19em;
}

/* ================= BUTTONS ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 14px 27px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.81rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-align: center;
    transition: background var(--transition),
                color var(--transition),
                border-color var(--transition),
                transform var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--sand-gold);
    outline-offset: 4px;
}

.btn-primary {
    background: var(--sand-gold);
    color: var(--deep-brown);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(247, 241, 229, 0.55);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--army-brown);
    font-weight: 800;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.text-link:hover {
    color: #987744;
}

/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(51, 46, 36, 0.98);
    border-bottom: 1px solid rgba(199, 180, 142, 0.23);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-shrink: 0;
}

.brand-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-text strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.025em;
    color: var(--warm-ivory);
}

.brand-text small {
    margin-top: 6px;
    color: var(--sand-gold);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.3em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 27px);
}

.nav-links a {
    color: #E6DECE;
    font-size: 0.79rem;
    font-weight: 700;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-links .nav-cta {
    display: inline-flex;
    padding: 12px 17px;
    border: 1px solid var(--sand-gold);
    border-radius: 4px;
    color: var(--gold-light);
}

.nav-links .nav-cta:hover {
    background: var(--sand-gold);
    color: var(--deep-brown);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(199, 180, 142, 0.4);
    border-radius: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--gold-light);
    transition: transform var(--transition),
                opacity var(--transition);
}

/* ================= HERO ================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(148, 125, 78, 0.18),
            transparent 35%
        ),
        linear-gradient(
            130deg,
            #28241C 0%,
            #332E24 54%,
            #514735 100%
        );
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        );
    background-size: 68px 68px;
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 65px;
    min-height: 690px;
    padding-top: 90px;
    padding-bottom: 105px;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero h1 {
    margin: 27px 0;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.hero h1 span {
    display: block;
    color: var(--sand-gold);
}

.hero-content > p {
    max-width: 580px;
    color: #DED5C6;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 60px;
}

.hero-rule {
    width: 42px;
    height: 2px;
    flex-shrink: 0;
    background: var(--sand-gold);
}

.hero-bottom > span:last-child {
    color: #D9CEB9;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
    min-height: 420px;
    padding: 35px;
    border: 1px solid rgba(199, 180, 142, 0.35);
    border-radius: 12px;
    background:
        radial-gradient(
            circle,
            rgba(199, 180, 142, 0.12),
            rgba(37, 33, 25, 0.6)
        );
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(199, 180, 142, 0.15);
    border-radius: 6px;
    pointer-events: none;
}

.hero-logo {
    width: min(100%, 360px);
    max-height: 345px;
    object-fit: contain;
    border-radius: 8px;
}

.hero-visual-label {
    color: var(--sand-gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-align: center;
}

/* ================= INTRO STRIP ================= */

.intro-strip {
    background: var(--sand-gold);
    color: var(--deep-brown);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.intro-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 29px 15px;
    text-align: center;
}

.intro-grid > div + div {
    border-left: 1px solid rgba(51, 46, 36, 0.2);
}

.intro-grid strong {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
    font-weight: 900;
}

.intro-grid span {
    font-size: 0.75rem;
    font-weight: 700;
}

/* ================= ABOUT ================= */

.about-section {
    background: var(--warm-ivory);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 85px;
}

.about-layout .section-heading {
    margin-bottom: 0;
}

.about-content .lead {
    color: var(--deep-brown);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.55;
}

.about-content p + p {
    margin-top: 18px;
}

.about-content p:not(.lead) {
    color: var(--text-muted);
}

/* ================= VISION ================= */

.vision-section {
    background: #E9E1D3;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.vision-card {
    padding: 45px;
    border: 1px solid #CEC3B1;
    border-radius: 9px;
    background: var(--warm-ivory);
    transition: transform var(--transition),
                box-shadow var(--transition);
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(51, 46, 36, 0.1);
}

.card-number {
    display: inline-block;
    margin-bottom: 36px;
    color: #8A7653;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
}

.vision-card h3 {
    margin-bottom: 18px;
    color: var(--deep-brown);
    font-size: 1.45rem;
}

.vision-card p {
    color: var(--text-muted);
}

/* ================= BUSINESSES ================= */

.businesses-section {
    background: var(--warm-ivory);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.business-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 40px;
    border: 1px solid #D7CCB9;
    border-radius: 9px;
    background: #FFFFFF;
    transition: transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
}

.business-card:hover {
    transform: translateY(-5px);
    border-color: var(--sand-gold);
    box-shadow: 0 20px 45px rgba(51, 46, 36, 0.1);
}

.business-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 58px;
}

.business-number {
    color: #A28E69;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
}

.business-category {
    color: #77694F;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
}

.business-card h3 {
    margin-bottom: 17px;
    color: var(--deep-brown);
    font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.business-card p {
    color: var(--text-muted);
}

.business-card .text-link,
.business-bottom {
    margin-top: auto;
    padding-top: 30px;
}

.business-bottom {
    display: block;
    color: #907951;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* ================= LEADERSHIP ================= */

.leadership-section {
    background: var(--army-brown);
    color: var(--white);
}

.leadership-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

.leadership-section .section-label {
    color: var(--gold-light);
}

.leadership-section h2 span {
    color: var(--gold-light);
}

.leadership-layout .section-heading {
    margin-bottom: 0;
}

.leadership-content {
    padding-left: 32px;
    border-left: 3px solid var(--sand-gold);
}

.leadership-role {
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.leadership-content h3 {
    margin: 17px 0;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.leadership-content p {
    color: #E4DCCF;
}

/* ================= PARTNERSHIPS ================= */

.partnerships-section {
    position: relative;
    overflow: hidden;
    background: var(--deep-brown);
    color: var(--white);
}

.partnerships-section::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    top: -150px;
    right: -100px;
    border: 80px solid rgba(199, 180, 142, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.partnerships-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.partnerships-section .section-label {
    color: var(--gold-light);
}

.partnerships-section h2 span {
    color: var(--sand-gold);
}

.partnerships-content p {
    max-width: 650px;
    margin: 26px 0 32px;
    color: #E0D8C9;
    font-size: 1.08rem;
}

/* ================= CONTACT ================= */

.contact-section {
    background: #EEE7DA;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 65px;
}

.contact-card {
    padding: 42px;
    background: var(--warm-ivory);
    border: 1px solid #D6C9B4;
    border-radius: 9px;
}

.contact-label {
    color: #806942;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.contact-card h3 {
    margin: 18px 0;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: var(--darkest-brown);
    color: var(--warm-ivory);
    padding: 58px 0 24px;
}

.footer-layout {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.footer-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-identity strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
}

.footer-identity p {
    margin-top: 6px;
    color: #C5B89D;
    font-size: 0.88rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(199, 180, 142, 0.2);
    color: #C5B89D;
    font-size: 0.75rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
    :root {
        --header-height: 82px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 5% 25px;
        background: var(--deep-brown);
        border-bottom: 1px solid var(--sand-gold);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 10px;
    }

    .nav-links .nav-cta {
        display: block;
        margin-top: 10px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 80px 0;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 75px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 4.3rem);
    }

    .hero-visual {
        min-height: 330px;
    }

    .about-layout,
    .leadership-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .vision-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        min-height: 310px;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 76px;
    }

    .container {
        width: 90%;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-text strong {
        font-size: 0.94rem;
    }

    .brand-text small {
        font-size: 0.55rem;
    }

    .hero-layout {
        padding-top: 64px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(2.05rem, 8.2vw, 3.1rem);
        overflow-wrap: anywhere;
    }

    .hero-content > p {
        font-size: 0.97rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-bottom {
        margin-top: 35px;
    }

    .hero-bottom > span:last-child {
        font-size: 0.59rem;
    }

    .hero-visual {
        min-height: 265px;
        padding: 27px;
    }

    .hero-logo {
        max-height: 250px;
    }

    .section {
        padding: 68px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    h2 {
        font-size: clamp(1.9rem, 7vw, 2.7rem);
    }

    .intro-grid strong {
        font-size: 1.02rem;
    }

    .intro-grid span {
        font-size: 0.65rem;
    }

    .vision-card,
    .business-card,
    .contact-card {
        padding: 27px;
    }

    .business-top {
        margin-bottom: 35px;
    }

    .leadership-content {
        padding-left: 20px;
    }

    .footer-identity {
        align-items: flex-start;
    }

    .footer-logo {
        width: 66px;
        height: 66px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
