/* Firm6102 - Sovereign Brand Design System */
/* "Quiet Power" - Minimal, Institutional, Timeless */

/* ========================================
   Design Tokens
   ======================================== */
:root {
    /* Colors: Minimal Palette */
    --white: #ffffff;
    --black: #1a1a1a;
    --gold: #d4a574;          /* Muted gold, not orange */
    --gray-light: #f5f5f5;
    --gray-medium: #666666;

    /* Typography */
    --font-serif: 'IBM Plex Serif', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;

    /* Font Sizes - Responsive & Elegant */
    --fs-hero: clamp(2.5rem, 6vw, 5rem);
    --fs-h1: clamp(2rem, 4vw, 3.5rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2.5vw, 1.75rem);
    --fs-body: clamp(1.0625rem, 1.5vw, 1.125rem);
    --fs-small: 0.9375rem;

    /* Spacing - Generous Whitespace */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Layout */
    --max-width: 1100px;
    --content-width: 42rem;
    --padding: 1.5rem;

    /* No transitions - instant, decisive */
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--black);
    background-color: var(--white);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
    margin-bottom: var(--space-md);
    max-width: 65ch;
}

a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

a:hover {
    border-bottom-color: var(--black);
}

strong {
    font-weight: 500;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
}

/* ========================================
   Layout Components
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

.content {
    max-width: var(--content-width);
    margin: 0 auto;
}

/* ========================================
   Navigation - Minimal
   ======================================== */
.nav {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.logo a {
    border: none;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    font-size: var(--fs-small);
    letter-spacing: 0.02em;
    border: none;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.hero-title {
    font-size: var(--fs-hero);
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: var(--space-md);
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: var(--fs-body);
    color: var(--gray-medium);
    max-width: 50ch;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.hero-cta {
    margin-top: var(--space-lg);
}

/* ========================================
   Buttons - Minimal
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: var(--fs-small);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--black);
    background: transparent;
    cursor: pointer;
    border-bottom: 1px solid var(--black);
}

.btn:hover {
    background: var(--black);
    color: var(--white);
    border-bottom-color: var(--black);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--black);
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--space-2xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-intro {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto var(--space-xl);
    color: var(--gray-medium);
}

/* ========================================
   Service Cards - Minimal Grid
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    padding: var(--space-lg);
    border-top: 1px solid var(--gray-light);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--gray-medium);
    font-size: var(--fs-small);
}

/* ========================================
   Who We Serve - Simple List
   ======================================== */
.clients-list {
    list-style: none;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
}

.clients-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: var(--fs-body);
}

.clients-list li:last-child {
    border-bottom: none;
}

/* ========================================
   Footer - Minimal
   ======================================== */
.footer {
    margin-top: var(--space-2xl);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--gray-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-text {
    font-size: var(--fs-small);
    color: var(--gray-medium);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    font-size: var(--fs-small);
    color: var(--gray-medium);
    border: none;
}

.footer-links a:hover {
    color: var(--black);
}

/* ========================================
   Signature Line - Brand Statement
   ======================================== */
.signature {
    text-align: center;
    padding: var(--space-xl) 0;
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    font-style: italic;
    color: var(--gray-medium);
}

/* ========================================
   Lead Magnet - Email Capture
   ======================================== */
.lead-magnet {
    background: var(--gray-light);
    padding: var(--space-2xl);
    text-align: center;
    margin: var(--space-2xl) 0;
}

.lead-magnet h2 {
    font-family: var(--font-serif);
    margin-bottom: var(--space-sm);
}

.lead-magnet p {
    color: var(--gray-medium);
    max-width: 50ch;
    margin: 0 auto var(--space-lg);
}

.email-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: var(--fs-small);
    border: 1px solid var(--gray-medium);
    background: var(--white);
    font-family: var(--font-sans);
}

.email-input:focus {
    outline: none;
    border-color: var(--black);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    :root {
        --padding: 1.25rem;
        --space-lg: 2.5rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }

    .nav {
        padding: var(--space-md) 0;
    }

    .nav-container {
        gap: var(--space-md);
    }

    .nav-links {
        gap: var(--space-md);
        font-size: 0.875rem;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .section-title {
        margin-bottom: var(--space-lg);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .service-card {
        padding: var(--space-md);
    }

    .email-form {
        flex-direction: column;
    }

    .lead-magnet {
        padding: var(--space-lg) var(--padding);
    }

    .signature {
        padding: var(--space-lg) 0;
    }

    .footer {
        margin-top: var(--space-xl);
        padding: var(--space-lg) 0 var(--space-md);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    :root {
        --padding: 1rem;
    }

    .nav-links {
        gap: var(--space-sm);
    }

    .hero-cta .btn,
    .lead-magnet .btn {
        font-size: 0.875rem;
        padding: 1rem 1.5rem;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-links a,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 0;
    }
}

/* ========================================
   Print Styles - Professional
   ======================================== */
@media print {
    body {
        background: white;
        color: black;
    }

    .nav, .footer, .btn {
        display: none;
    }
}
