/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary: #3D5A6E;
    --color-primary-dark: #2C4455;
    --color-primary-light: #4A6B7F;
    --color-accent: #C4923E;
    --color-accent-light: #D4A54A;
    --color-accent-hover: #B3832F;
    --color-green: #5B7B6A;
    --color-bg: #FAFAF8;
    --color-bg-warm: #F5F2ED;
    --color-bg-section: #F0EDE7;
    --color-text: #2D2D2D;
    --color-text-light: #5A5A5A;
    --color-white: #FFFFFF;
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --max-width: 1100px;
    --section-padding: 5rem 1.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary-dark);
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }

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

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(61, 90, 110, 0.1);
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary-dark);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 146, 62, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-text {
    background: none;
    color: var(--color-accent);
    padding: 0;
    font-weight: 600;
}

.btn-text:hover { color: var(--color-accent-hover); }

.btn-arrow::after { content: ' \2192'; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(196, 146, 62, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(91, 123, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background:
        linear-gradient(135deg, transparent 33%, rgba(250, 250, 248, 0.03) 33%, rgba(250, 250, 248, 0.03) 40%, transparent 40%),
        linear-gradient(160deg, transparent 25%, rgba(250, 250, 248, 0.05) 25%, rgba(250, 250, 248, 0.05) 45%, transparent 45%),
        linear-gradient(145deg, transparent 40%, rgba(250, 250, 248, 0.04) 40%, rgba(250, 250, 248, 0.04) 55%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero h1 span { color: var(--color-accent-light); }

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
    padding: 8rem 1.5rem 3.5rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header .subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SERVICES SNAPSHOT (home) ========== */
.services-snapshot {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(61, 90, 110, 0.08);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.08);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.service-card-icon.accounting {
    background: rgba(61, 90, 110, 0.08);
    color: var(--color-primary);
}

.service-card-icon.ai {
    background: rgba(196, 146, 62, 0.1);
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    padding: 4rem 1.5rem;
    background: var(--color-bg-warm);
}

.social-proof .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial { max-width: 600px; }

.testimonial blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent);
}

.testimonial .attribution {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    padding-left: 1.5rem;
}

.trust-signals {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-badge {
    padding: 0.6rem 1.2rem;
    background: var(--color-white);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border: 1px solid rgba(61, 90, 110, 0.1);
}

.geo-badge {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-primary);
}

/* ========== BIO TEASER ========== */
.bio-teaser {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.bio-teaser .container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.bio-photo { flex-shrink: 0; }

.bio-photo .photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.15);
}

/* When Scott adds his headshot image */
.bio-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.15);
}

.bio-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bio-text p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========== CONTENT SECTIONS (inner pages) ========== */
.content-section {
    padding: var(--section-padding);
}

.content-section.alt {
    background: var(--color-bg-warm);
}

.content-section.light {
    background: var(--color-bg);
}

.content-section .container {
    max-width: 750px;
    margin: 0 auto;
}

.content-section.wide .container {
    max-width: var(--max-width);
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.content-section h3:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ========== SERVICE ITEMS (services page) ========== */
.service-items {
    display: grid;
    gap: 2.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(61, 90, 110, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.service-item-text h3 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-item-text p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== EXCLUSION SECTION ========== */
.exclusion-section {
    padding: var(--section-padding);
    background: var(--color-bg-section);
}

.exclusion-section .container {
    max-width: 750px;
    margin: 0 auto;
}

.exclusion-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.exclusion-section p {
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* ========== TIER COMPARISON (AI consulting page) ========== */
.tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.tier-card {
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(61, 90, 110, 0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.tier-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(196, 146, 62, 0.12);
}

.tier-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.tier-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.tier-price-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.tier-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tier-best-for {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.tier-includes {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.tier-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.tier-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
}

/* ========== TCO TABLES ========== */
.tco-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.tco-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.tco-table th:first-child {
    border-radius: 6px 0 0 0;
}

.tco-table th:last-child {
    border-radius: 0 6px 0 0;
}

.tco-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(61, 90, 110, 0.08);
    color: var(--color-text);
}

.tco-table tr:last-child td {
    border-bottom: none;
}

.tco-table tr:nth-child(even) td {
    background: rgba(61, 90, 110, 0.02);
}

.tco-table .total {
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* ========== PULL QUOTE / FIRST PERSON VOICE ========== */
.voice-shift {
    background: var(--color-bg-warm);
    border-radius: 10px;
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--color-accent);
}

.voice-shift p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    padding: 8rem 1.5rem 3rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    text-align: center;
}

.about-hero .photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-hero h1 {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 0;
}

.about-bio {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.about-bio .container {
    max-width: 720px;
    margin: 0 auto;
}

.about-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text);
}

.about-how {
    padding: var(--section-padding);
    background: var(--color-bg-warm);
}

.about-how .container {
    max-width: 720px;
    margin: 0 auto;
}

.about-how h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.about-how p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text);
}

/* ========== CONTACT FORM ========== */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.contact-info-item .icon {
    flex-shrink: 0;
    width: 20px;
    color: var(--color-primary);
    margin-top: 0.15rem;
}

.contact-info-item a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-info-item p {
    color: var(--color-text-light);
}

.contact-form {
    background: var(--color-white);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid rgba(61, 90, 110, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.form-group .optional {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(61, 90, 110, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(61, 90, 110, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2.5rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.form-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 146, 62, 0.3);
}

/* Success message (shown after form submission) */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-green);
}

.form-success p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========== CTA STRIP ========== */
.cta-strip {
    padding: 4rem 1.5rem;
    background: var(--color-primary-dark);
    text-align: center;
}

.cta-strip h2 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-strip .btn-primary {
    font-size: 1rem;
    padding: 1rem 2.2rem;
}

/* ========== FOOTER ========== */
.footer {
    padding: 3rem 1.5rem;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.footer-location {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== SOCIAL PROOF PLACEHOLDER (inner pages) ========== */
.proof-placeholder {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px dashed rgba(61, 90, 110, 0.15);
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    :root { --section-padding: 3.5rem 1.25rem; }

    .nav-links { display: none; }
    .hamburger { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(61, 90, 110, 0.1);
        gap: 0.8rem;
    }

    .hero { min-height: 70vh; padding: 7rem 1.25rem 4rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }

    .page-header { padding: 7rem 1.25rem 2.5rem; }
    .page-header h1 { font-size: 2rem; }

    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 1.8rem; }

    .social-proof .container { flex-direction: column; text-align: center; }
    .testimonial blockquote { padding-left: 0; border-left: none; border-top: 3px solid var(--color-accent); padding-top: 1rem; }
    .testimonial .attribution { padding-left: 0; }

    .bio-teaser .container { flex-direction: column; text-align: center; }
    .bio-photo .photo-placeholder { width: 160px; height: 160px; margin: 0 auto; }
    .bio-photo img { width: 160px; height: 160px; margin: 0 auto; }

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

    .tco-table { font-size: 0.85rem; }
    .tco-table th, .tco-table td { padding: 0.6rem 0.5rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    .service-item { flex-direction: column; gap: 0.75rem; }

    .about-hero { padding: 7rem 1.25rem 2.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.6rem; }
    body { font-size: 16px; }
    .tier-card { padding: 1.8rem; }
    .contact-form { padding: 1.5rem; }
}

/* ========== IAC-ALIGNED STYLES ========== */

/* Hero dark */
.hero-dark { background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a2e3a 100%); color: #fff; padding: 8rem 1.5rem 5rem; text-align: center; }
.hero-dark h1 { color: #fff; font-size: 3rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero-dark .hero-sub { color: rgba(255,255,255,0.85); font-size: 1.15rem; line-height: 1.7; max-width: 700px; margin: 0 auto 2rem; }
.hero-badge { display: inline-block; background: rgba(196,146,62,0.2); border: 1px solid var(--color-accent); color: var(--color-accent); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 2px; margin-bottom: 1.5rem; }
.hero-stat { color: var(--color-accent); font-weight: 700; }
.hero-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* Section labels IAC */
.section-label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.5rem; }
.section-subtitle { color: var(--color-text-light); font-size: 1rem; margin-bottom: 2rem; max-width: 700px; }
.narrow { max-width: 800px; }

/* Thesis text */
.thesis-text { font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.stat-inline { color: var(--color-primary-dark); font-weight: 700; background: rgba(196,146,62,0.12); padding: 0.1rem 0.4rem; border-radius: 2px; }

/* Callout */
.callout { background: var(--color-bg-warm); border-left: 4px solid var(--color-accent); padding: 1.25rem 1.5rem; margin: 2rem 0; font-size: 1.05rem; line-height: 1.6; }
.callout strong { color: var(--color-primary-dark); }

/* 5 Wedges */
.wedges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0 3rem; }
.wedge-card { background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 1.8rem; transition: transform 0.2s, box-shadow 0.2s; }
.wedge-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,68,85,0.08); }
.wedge-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--color-accent); margin-bottom: 0.5rem; }
.wedge-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.wedge-target { color: var(--color-text-light); font-size: 0.88rem; margin-bottom: 0.2rem; }
.wedge-rev { color: var(--color-primary-dark); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.wedge-play { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.55; }
.sub-label { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-light); margin: 2rem 0 1rem; }

/* Targets table */
.targets-table { overflow-x: auto; margin: 1.5rem 0; }
.targets-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.targets-table th { background: var(--color-primary-dark); color: #fff; padding: 0.75rem 1rem; text-align: left; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.targets-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(61,90,110,0.1); }
.targets-table tr:last-child td { border-bottom: none; }
.targets-table tr:hover { background: rgba(196,146,62,0.04); }

/* Hexis 6-Lens */
.hexis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.hexis-card { background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 1.8rem; border-top: 3px solid var(--color-primary); }
.hexis-num { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 0.4rem; }
.hexis-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.hexis-q { font-size: 0.82rem; color: var(--color-accent); font-style: italic; margin-bottom: 0.6rem; }
.hexis-card p { font-size: 0.9rem; line-height: 1.55; color: var(--color-text-light); }

/* Roadmap */
.roadmap { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.roadmap-stage { flex: 1 1 180px; background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 1.5rem; border-top: 3px solid var(--color-primary); }
.roadmap-badge { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; padding: 0.25rem 0.6rem; border-radius: 2px; margin-bottom: 0.75rem; display: inline-block; }
.roadmap-badge.v0 { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.roadmap-badge.v2 { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.roadmap-badge.v4 { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.roadmap-badge.v6 { background: #fce4ec; color: #c62828; border: 1px solid #f48fb1; }
.roadmap-badge.v8 { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; }
.roadmap-stage h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.roadmap-acv { color: var(--color-accent); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.roadmap-stage p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.5; }

/* Product Portfolio */
.portfolio-collections { margin-top: 2rem; }
.portfolio-collection { background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 2rem; margin-bottom: 1.5rem; }
.portfolio-collection h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.collection-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); background: rgba(196,146,62,0.12); padding: 0.2rem 0.5rem; border-radius: 2px; margin-right: 0.5rem; }
.collection-sub { color: var(--color-text-light); font-size: 0.88rem; margin-bottom: 1.5rem; }
.portfolio-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.portfolio-item { padding: 1.25rem; background: var(--color-bg); border-radius: 4px; border: 1px solid rgba(61,90,110,0.06); }
.portfolio-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.sku-flag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--color-accent); color: #fff; padding: 0.15rem 0.4rem; border-radius: 2px; margin-left: 0.4rem; vertical-align: middle; }
.portfolio-item p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; }
.y5-target { color: var(--color-primary-dark); font-weight: 600; margin-top: 0.3rem; }

/* Competitive Quadrant */
.section-dark { background: linear-gradient(135deg, #1a2e3a 0%, #0f1f28 100%); color: #fff; }
.section-dark .section-label { color: var(--color-accent); }
.section-dark p { color: rgba(255,255,255,0.8); }
.quad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.quad-cell { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 2rem; }
.quad-cell h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.quad-who { color: var(--color-accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.quad-why { font-size: 0.9rem; margin-bottom: 0.5rem; }
.quad-gap { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.quad-unclaimed { background: rgba(196,146,62,0.15); border: 2px solid var(--color-accent); }
.quad-fire { font-size: 1.5rem; margin-bottom: 0.5rem; }
.quad-unclaimed h3 { color: var(--color-accent); font-size: 1.3rem; }
.quad-unclaimed .quad-who { font-size: 1rem; }
.quad-unclaimed .quad-gap { color: #fff; }
.frontline-label { text-align: center; margin-top: 2rem; color: rgba(255,255,255,0.5); font-size: 0.85rem; font-family: var(--font-heading); letter-spacing: 0.08em; }

/* Deal cards */
.section-accent { background: var(--color-bg-warm); }
.deal-card { background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 2rem; margin-bottom: 1.5rem; }
.deal-card h3 { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1.25rem; }
.deal-terms { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.deal-term { text-align: center; }
.deal-value { display: block; font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--color-primary-dark); }
.deal-label { display: block; font-size: 0.82rem; color: var(--color-text-light); margin-top: 0.2rem; }
.deal-note { font-size: 0.92rem; color: var(--color-text-light); }

/* Sprint grid */
.sprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.sprint-block { background: #fff; border: 1px solid rgba(61,90,110,0.1); border-radius: 4px; padding: 1.5rem; border-left: 4px solid var(--color-accent); }
.sprint-week { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.4rem; }
.sprint-task { font-weight: 600; margin-bottom: 0.3rem; }
.sprint-result { color: var(--color-primary-dark); font-size: 0.88rem; }
.sprint-result::before { content: "→ "; color: var(--color-accent); }

/* Close section */
.section-dark.center { text-align: center; }
.center { text-align: center; }
.close-text { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 550px; margin: 0 auto 2rem; }
.close-sub { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-top: 1.5rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* Source footer */
.footer-source { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-align: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* IAC responsive */
@media (max-width: 768px) {
    .hero-dark h1 { font-size: 2.2rem; }
    .hero-dark .hero-sub { font-size: 1rem; }
    .hero-row { flex-direction: column; align-items: center; }
    .hexis-grid { grid-template-columns: 1fr; }
    .quad-grid { grid-template-columns: 1fr; }
    .sprint-grid { grid-template-columns: 1fr; }
    .wedges-grid { grid-template-columns: 1fr; }
    .deal-terms { flex-direction: column; gap: 1rem; }
    .deal-term { text-align: left; }
    .portfolio-items { grid-template-columns: 1fr; }
    .roadmap-stage { flex: 1 1 100%; }
}
