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

:root {
    --am-bg: #ffffff;
    --am-text-main: #1a1a1a;
    --am-text-muted: #666666;
    --am-accent: #000000;
    --am-surface: #f5f5f5;
    --am-border: #e0e0e0;
    --am-font: 'Inter', sans-serif;
}

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

body {
    font-family: var(--am-font);
    background-color: var(--am-bg);
    color: var(--am-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Global Typography */
.am-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.am-center-text {
    text-align: center;
}

/* Header */
.am-global-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--am-border);
    z-index: 1000;
    padding: 1.25rem 5%;
}

.am-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.am-brand-mark {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.am-link-cluster {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.am-nav-item {
    text-decoration: none;
    color: var(--am-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.am-nav-item:hover {
    color: var(--am-text-main);
}

/* Buttons */
.am-action-trigger {
    display: inline-block;
    background-color: var(--am-accent);
    color: #fff;
    padding: 0.85rem 1.75rem;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.am-action-trigger:hover {
    opacity: 0.85;
}

/* Hero Section (Split Layout) */
.am-intro-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    border-bottom: 1px solid var(--am-border);
}

.am-intro-text-pane {
    padding: 15% 10% 10% 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-headline-jumbo {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.am-subtext-lead {
    font-size: 1.25rem;
    color: var(--am-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.am-intro-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.am-trust-signal {
    font-size: 0.85rem;
    color: var(--am-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.am-intro-visual-pane img {
    height: 100%;
}

/* About / Methodology */
.am-deep-dive-origin {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 6rem;
    align-items: center;
}

.am-prose-heavy {
    font-size: 1.1rem;
    color: var(--am-text-muted);
    margin-bottom: 1.5rem;
}

.am-prose-heavy strong {
    color: var(--am-text-main);
}

.am-inline-link {
    color: var(--am-text-main);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.am-stats-ribbon {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--am-border);
}

.am-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.am-stat-label {
    font-size: 0.9rem;
    color: var(--am-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials */
.am-client-voices-wrap {
    background-color: var(--am-surface);
    padding: 6rem 5%;
}

.am-voice-grid {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.am-voice-card {
    background: var(--am-bg);
    padding: 3rem;
    border: 1px solid var(--am-border);
}

.am-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--am-text-muted);
}

.am-voice-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.am-voice-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.am-author-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.am-author-role {
    font-size: 0.85rem;
    color: var(--am-text-muted);
}

/* Solutions / Services */
.am-tactical-solutions {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.am-process-strip {
    background: var(--am-text-main);
    color: var(--am-bg);
    padding: 3rem;
    margin: 3rem 0 5rem;
}

.am-micro-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #a0a0a0;
}

.am-deployment-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.am-deployment-list li {
    font-size: 1rem;
    color: #e0e0e0;
}

.am-deployment-list strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
}

.am-solution-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.am-sol-node img {
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
}

.am-sol-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.am-sol-desc {
    color: var(--am-text-muted);
}

/* FAQ Module inside Solutions */
.am-qa-module {
    background: var(--am-surface);
    padding: 2rem;
    height: 100%;
}

.am-qa-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--am-border);
}

.am-qa-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    font-family: var(--am-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--am-text-main);
}

.am-qa-panel {
    display: none;
    padding-bottom: 1rem;
    color: var(--am-text-muted);
    font-size: 0.95rem;
}

/* Contact */
.am-inquiry-zone {
    background-color: var(--am-surface);
    padding: 6rem 5%;
}

.am-inquiry-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--am-bg);
    padding: 4rem;
    border: 1px solid var(--am-border);
}

.am-inquiry-sub {
    color: var(--am-text-muted);
    margin-bottom: 2.5rem;
}

.am-input-group {
    margin-bottom: 1.5rem;
}

.am-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.am-field {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--am-border);
    font-family: var(--am-font);
    font-size: 1rem;
    background: var(--am-surface);
}

.am-field:focus {
    outline: none;
    border-color: var(--am-text-main);
}

.am-textarea {
    resize: vertical;
}

.am-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.am-site-tail {
    background: #000;
    color: #fff;
    padding: 5rem 5% 2rem;
}

.am-tail-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid #333;
    padding-bottom: 4rem;
}

.am-tail-brand {
    margin-bottom: 1.5rem;
}

.am-tail-address {
    color: #888;
    font-size: 0.95rem;
}

.am-tail-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 1.5rem;
}

.am-tail-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.am-tail-link:hover {
    color: #fff;
}

.am-tail-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.am-micro-disclaimer {
    max-width: 400px;
    text-align: right;
}

/* Responsive Leakage & Inconsistencies */
@media (max-width: 1024px) {
    .am-intro-stage {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .am-intro-text-pane {
        padding: 8rem 5% 5%;
    }
    .am-deep-dive-origin {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .am-voice-grid, .am-solution-matrix, .am-deployment-list {
        grid-template-columns: 1fr;
    }
    .am-tail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .am-tail-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .am-micro-disclaimer {
        text-align: left;
    }
    .am-link-cluster {
        display: none; /* Simplistic mobile handling for realism */
    }
}
