:root {
    --forest-dark: #1a432b;
    --forest-mid: #2d6a4f;
    --forest-light: #d8f3dc;
    --earth-paper: #f4f1ea;
    --earth-bark: #2c2a29;
    --accent-amber: #d4a373;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--earth-bark);
    background-color: var(--earth-paper);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--forest-mid);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-amber);
}

/* Typography */
h1, h2, h3, h4, .tmb-brand-mark {
    font-family: var(--font-heading);
    color: var(--forest-dark);
}

.tmb-section-crown {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

/* Structural Layouts */
.tmb-bound-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.tmb-header-mast {
    background-color: var(--earth-paper);
    border-bottom: 1px solid rgba(45, 106, 79, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.tmb-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tmb-brand-mark a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--forest-dark);
}

.tmb-brand-mark span {
    color: var(--accent-amber);
    font-size: 1.8rem;
}

.tmb-nav-cluster {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.tmb-nav-node {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tmb-highlight-node {
    background-color: var(--forest-dark);
    color: var(--earth-paper) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.tmb-highlight-node:hover {
    background-color: var(--forest-mid);
}

/* Hero Section */
.tmb-hero-expanse {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--earth-paper) 0%, #e8e3d6 100%);
}

.hero-offset-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 2rem;
}

.hero-typography-pane {
    grid-column: 1 / 8;
    grid-row: 1;
    background: rgba(244, 241, 234, 0.95);
    padding: 3rem;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(26, 67, 43, 0.08);
    border-left: 6px solid var(--accent-amber);
}

.hero-visual-pane {
    grid-column: 6 / 13;
    grid-row: 1;
    z-index: 1;
}

.hero-visual-pane img {
    aspect-ratio: 4/3;
    border-radius: 4px;
}

.tmb-micro-badge {
    display: inline-block;
    background: var(--forest-light);
    color: var(--forest-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
}

.hero-primary-chant {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub-chant {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.tmb-action-trigger {
    display: inline-block;
    background-color: var(--accent-amber);
    color: var(--forest-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s;
}

.tmb-action-trigger:hover {
    background-color: #c29161;
    transform: translateY(-2px);
    color: var(--forest-dark);
}

/* About Sector (Deep Content) */
.tmb-deep-story-sector {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background-color: var(--forest-dark);
    color: var(--earth-paper);
}

.tmb-deep-story-sector .tmb-section-crown {
    color: var(--accent-amber);
}

.about-asym-flow {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.about-text-density p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tmb-time-signal {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--forest-light);
    margin-bottom: 2rem !important;
    border-bottom: 1px solid rgba(216, 243, 220, 0.2);
    padding-bottom: 1rem;
}

.tmb-inline-ref {
    color: var(--accent-amber);
    border-bottom: 1px dotted var(--accent-amber);
}

.tmb-inline-ref:hover {
    color: var(--earth-paper);
}

.tmb-core-pillars {
    list-style: none;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--forest-mid);
}

.tmb-core-pillars li {
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.about-visual-cluster {
    position: relative;
}

.primary-story-img {
    height: 400px;
    border-radius: 4px;
}

.secondary-story-img {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 60%;
    height: 250px;
    border: 8px solid var(--forest-dark);
    border-radius: 4px;
}

/* Services Matrix (Tabs) */
.tmb-solutions-matrix {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.matrix-header {
    margin-bottom: 3rem;
}

.tmb-data-point {
    font-size: 1.2rem;
    color: var(--forest-mid);
    border-left: 4px solid var(--accent-amber);
    padding-left: 1rem;
}

.matrix-interactive-zone {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.matrix-tab-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tmb-tab-switch {
    background: none;
    border: none;
    text-align: left;
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--earth-bark);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.tmb-tab-switch:hover {
    background: var(--earth-paper);
}

.tmb-tab-switch.active-switch {
    border-left-color: var(--forest-mid);
    background: var(--forest-light);
    color: var(--forest-dark);
    font-weight: 800;
}

.matrix-tab-content {
    padding: 1rem;
}

.tmb-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tmb-tab-panel.active-panel {
    display: block;
}

.tmb-tab-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.benefit-list {
    margin-top: 1.5rem;
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-amber);
    font-weight: bold;
}

.matrix-visual img {
    height: 100%;
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Testimonials */
.tmb-client-echoes {
    padding: 5rem 0;
    background: var(--forest-light);
}

.echoes-scatter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.echo-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(26,67,43,0.05);
}

.echo-offset-2 { transform: translateY(2rem); }
.echo-offset-3 { transform: translateY(-1rem); }
.echo-offset-4 { transform: translateY(1rem); }

.echo-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--forest-dark);
}

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

.echo-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-amber);
}

.echo-author strong {
    display: block;
    color: var(--earth-bark);
}

.echo-author span {
    font-size: 0.85rem;
    color: var(--forest-mid);
}

/* Contact Hub */
.tmb-connect-hub {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.hub-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tmb-form-struct {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tmb-input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tmb-input-group input,
.tmb-input-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    background: #fff;
}

.tmb-input-group input:focus,
.tmb-input-group textarea:focus {
    outline: none;
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 2px var(--forest-light);
}

.hub-visual-area img {
    border-radius: 4px;
    aspect-ratio: 1/1;
}

/* Footer */
.tmb-footer-base {
    background-color: var(--earth-bark);
    color: #a09e9a;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tmb-footer-base h3, .tmb-footer-base h4 {
    color: var(--earth-paper);
    margin-bottom: 1rem;
}

.tmb-footer-base a {
    color: #a09e9a;
}

.tmb-footer-base a:hover {
    color: var(--accent-amber);
}

.foot-noise {
    display: block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-style: italic;
}

.foot-contact p, .foot-legal ul li {
    margin-bottom: 0.5rem;
}

.foot-legal ul {
    list-style: none;
}

.foot-hours {
    margin-top: 1rem;
    color: var(--accent-amber);
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

/* Responsive Leakage */
@media (max-width: 950px) {
    .hero-offset-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .hero-typography-pane {
        margin-top: -3rem;
        margin-inline: 1rem;
        padding: 2rem;
    }
    .about-asym-flow {
        grid-template-columns: 1fr;
    }
    .secondary-story-img {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin-top: 1rem;
        border-width: 4px;
    }
    .matrix-interactive-zone {
        grid-template-columns: 1fr;
    }
    .matrix-tab-controls {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    .tmb-tab-switch {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    .tmb-tab-switch.active-switch {
        border-left-color: transparent;
        border-bottom-color: var(--forest-mid);
    }
    .echoes-scatter-grid {
        grid-template-columns: 1fr;
    }
    .echo-offset-2, .echo-offset-3, .echo-offset-4 {
        transform: none;
    }
    .hub-split {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tmb-nav-cluster {
        display: none; /* Simplified for mobile demo */
    }
    .tmb-section-crown {
        font-size: 2rem;
    }
}